1 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
3 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
18 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19 (FLT_CHECK_FORCE_UFLOW): Likewise.
20 (DBL_CHECK_FORCE_UFLOW): Likewise.
21 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
32 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
33 (flt_min): Replace with use of DEFINE_FLT_MIN.
34 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
35 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
36 (dbl_min): Replace with use of DEFINE_DBL_MIN.
37 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
38 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
39 (flt_min): Replace with use of DEFINE_FLT_MIN.
40 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
41 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
42 (dbl_min): Replace with use of DEFINE_DBL_MIN.
43 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
44 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
45 (flt_min): Replace with use of DEFINE_FLT_MIN.
46 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
47 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
48 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
49 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
50 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
51 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
52 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
53 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
54 (dbl_min): Replace with use of DEFINE_DBL_MIN.
55 (__atan): Use DBL_CHECK_FORCE_UFLOW.
56 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
57 (flt_min): Replace with use of DEFINE_FLT_MIN.
58 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
59 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
60 (dbl_min): Replace with use of DEFINE_DBL_MIN.
61 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
63 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
64 (flt_min): Replace with use of DEFINE_FLT_MIN.
65 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
67 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
68 (dbl_min): Replace with use of DEFINE_DBL_MIN.
70 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
71 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
72 (flt_min): Replace with use of DEFINE_FLT_MIN.
74 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
75 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
79 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
80 $(config-cflags-nofma).
82 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
84 * sysdeps/aarch64/libm-test-ulps: Regenerated.
86 2015-09-23 Joseph Myers <joseph@codesourcery.com>
88 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
91 * sysdeps/generic/math_private.h (fabs_tg): New macro.
92 (min_of_type): Likewise.
93 (math_check_force_underflow): Likewise.
94 (math_check_force_underflow_nonneg): Likewise.
95 (math_check_force_underflow_complex): Likewise.
96 * math/e_exp2l.c (__ieee754_exp2l): Use
97 math_check_force_underflow_nonneg.
98 * math/k_casinh.c (__kernel_casinh): Likewise.
99 * math/k_casinhf.c (__kernel_casinhf): Likewise.
100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
101 * math/s_catan.c (__catan): Use
102 math_check_force_underflow_complex.
103 * math/s_catanf.c (__catanf): Likewise.
104 * math/s_catanh.c (__catanh): Likewise.
105 * math/s_catanhf.c (__catanhf): Likewise.
106 * math/s_catanhl.c (__catanhl): Likewise.
107 * math/s_catanl.c (__catanl): Likewise.
108 * math/s_ccosh.c (__ccosh): Likewise.
109 * math/s_ccoshf.c (__ccoshf): Likewise.
110 * math/s_ccoshl.c (__ccoshl): Likewise.
111 * math/s_cexp.c (__cexp): Likewise.
112 * math/s_cexpf.c (__cexpf): Likewise.
113 * math/s_cexpl.c (__cexpl): Likewise.
114 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
115 * math/s_clog10.c (__clog10): Likewise.
116 * math/s_clog10f.c (__clog10f): Likewise.
117 * math/s_clog10l.c (__clog10l): Likewise.
118 * math/s_clogf.c (__clogf): Likewise.
119 * math/s_clogl.c (__clogl): Likewise.
120 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
121 * math/s_csinf.c (__csinf): Likewise.
122 * math/s_csinh.c (__csinh): Likewise.
123 * math/s_csinhf.c (__csinhf): Likewise.
124 * math/s_csinhl.c (__csinhl): Likewise.
125 * math/s_csinl.c (__csinl): Likewise.
126 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
127 * math/s_csqrtf.c (__csqrtf): Likewise.
128 * math/s_csqrtl.c (__csqrtl): Likewise.
129 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
130 * math/s_ctanf.c (__ctanf): Likewise.
131 * math/s_ctanh.c (__ctanh): Likewise.
132 * math/s_ctanhf.c (__ctanhf): Likewise.
133 * math/s_ctanhl.c (__ctanhl): Likewise.
134 * math/s_ctanl.c (__ctanl): Likewise.
135 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
137 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
138 math_check_force_underflow.
139 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
140 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
141 volatile when forcing underflow.
142 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
143 math_check_force_underflow_nonneg.
144 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
146 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
147 math_check_force_underflow.
148 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
149 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
150 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
151 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
152 math_check_force_underflow_nonneg.
153 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
154 math_check_force_underflow.
155 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
158 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
159 math_check_force_underflow.
160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
161 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
162 math_check_force_underflow_nonneg.
163 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
164 math_check_force_underflow.
165 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
166 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
167 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
168 math_check_force_underflow_nonneg.
169 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
171 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
172 math_check_force_underflow.
173 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
174 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
175 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
176 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
177 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
178 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
179 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
180 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
181 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
182 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
183 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
184 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
186 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
187 math_check_force_underflow_nonneg.
188 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
190 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
191 math_check_force_underflow.
192 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
193 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
194 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
196 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
197 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
198 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
199 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
200 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
201 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
204 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
205 math_check_force_underflow.
206 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
208 math_check_force_underflow.
209 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
211 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
212 Use math_check_force_underflow_nonneg.
213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
214 math_check_force_underflow.
215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
219 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
220 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
221 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
222 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
224 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
225 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
226 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
228 math_check_force_underflow_nonneg.
229 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
230 math_check_force_underflow.
231 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
232 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
233 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
234 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
235 math_check_force_underflow_nonneg.
236 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
237 math_check_force_underflow.
238 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
241 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
242 math_check_force_underflow.
244 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
245 * stdlib/strtod_l.c: Include <math_private.h>.
246 (overflow_value): Use math_narrow_eval.
247 (underflow_value): Likewise.
248 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
249 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
250 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
251 (__ieee754_gamma_r): Likewise.
252 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
256 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
257 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
258 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
259 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
260 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
261 (__ieee754_gammaf_r): Likewise.
262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
264 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
265 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
266 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
267 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
268 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
270 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
275 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
277 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
279 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
281 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
282 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
286 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
289 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
291 * nptl/Versions: Remove ignored symbols.
293 2015-09-22 Florian Weimer <fweimer@redhat.com>
295 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
296 * nss/Makefile (tests): Update.
298 2015-09-22 Florian Weimer <fweimer@redhat.com>
300 * nss/bug18287.c: New file.
301 * nss/Makefile (tests): Add bug18287.
303 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
305 * mach/Versions (__mach_host_self_): Add symbol.
307 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
309 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
312 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
314 Really fix sysdeps/i386/fpu/s_scalbn.S build
316 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
317 (libc: GLIBC_2_22): Remove unused version set.
319 2015-09-18 Mike Frysinger <vapier@gentoo.org>
321 * config.make.in (enable-timezone-tools): New variable.
322 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
323 (enable_timezone_tools): Export to generated files.
324 * configure: Regenerate.
325 * INSTALL: Regenerate.
326 * manual/install.texi (--disable-timezone-tools): Document new flag.
327 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
328 ifeq ($(enable-timezone-tools),yes) check.
330 2015-09-18 Joseph Myers <joseph@codesourcery.com>
332 * timezone/Makefile: Revert previous change.
335 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
336 (DEFINE_DBL_MIN): Likewise.
337 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
338 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
339 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
340 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
341 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
342 (dbl_min): Replace with use of DEFINE_DBL_MIN.
343 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
344 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
345 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
346 (dbl_min): Replace with use of DEFINE_DBL_MIN.
347 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
348 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
349 (flt_min): Replace with use of DEFINE_FLT_MIN.
350 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
351 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
352 (dbl_min): Replace with use of DEFINE_DBL_MIN.
353 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
354 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
355 (flt_min): Replace with use of DEFINE_FLT_MIN.
356 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
357 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
358 (flt_min): Replace with use of DEFINE_FLT_MIN.
359 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
360 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
361 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
362 (__ieee754_hypot): Use DBL_NARROW_EVAL.
363 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
364 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
365 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
366 (__ieee754_pow): Use DBL_NARROW_EVAL.
367 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
368 (__ieee754_powf): Use FLT_NARROW_EVAL.
369 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
370 (__ieee754_expf_sse2): Convert double-precision result to single
372 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
376 * timezone/Makefile: Ignore unused variable errors due to private.h
377 (time_t_min) and (time_t_max).
378 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
381 2015-09-18 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/i386/fpu/i386-math-asm.h: New file.
385 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
386 (__ieee754_scalb): Use DBL_NARROW_EVAL.
387 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
388 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
389 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
390 (__scalbn): Use DBL_NARROW_EVAL.
391 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
392 (__scalbnf): Use FLT_NARROW_EVAL.
394 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
396 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
397 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
398 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
399 * stdio-common/printf_fp.c (___printf_fp):
400 Use signbit to get the sign. Use isinf macro to allow inlining.
401 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
402 * stdio-common/printf_size.c (__printf_size): Likewise.
404 2015-09-18 Mike Frysinger <vapier@gentoo.org>
406 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
408 2015-09-18 Joseph Myers <joseph@codesourcery.com>
411 * sysdeps/generic/math_private.h: Include <float.h>.
412 (math_narrow_eval): New macro.
413 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
414 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
415 math_narrow_eval on overflowing return value.
416 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
418 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
419 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
420 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
422 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
424 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
426 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
427 * math/Makefile: Remove isinf_ns.c.
428 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
429 * math/multc3.c (__multc3): Likewise.
430 * math/s_casin.c (__casin): Likewise.
431 * math/s_casinf.c (__casinf): Likewise.
432 * math/s_casinl.c (__casinl): Likewise.
433 * math/s_cproj.c (__cproj): Likewise.
434 * math/s_cprojf.c (__cprojf): Likewise.
435 * math/s_cprojl.c (__cprofl): Likewise.
436 * math/s_ctan.c (__ctan): Likewise.
437 * math/s_ctanf.c (__ctanf): Likewise.
438 * math/s_ctanh.c (__ctanh): Likewise.
439 * math/s_ctanhf.c (__ctanhf): Likewise.
440 * math/s_ctanhl.c (__ctanhl): Likewise.
441 * math/s_ctanl.c (__ctanl): Likewise.
442 * math/w_fmod.c (__fmod): Likewise.
443 * math/w_fmodf.c (__fmodf): Likewise.
444 * math/w_fmodl.c (_fmodl): Likewise.
445 * math/w_remainder.c (__remainder): Likewise.
446 * math/w_remainderf.c (__remainderf): Likewise.
447 * math/w_remainderl.c (__remainderl): Likewise.
448 * math/w_scalb.c (__scalb): Likewise.
449 * math/w_scalbf.c (__scalbf): Likewise.
450 * math/w_scalbl.c (__scalbl): Likewise.
451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
452 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
454 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
456 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
457 __isinf_nsf with isinf.
458 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
459 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
460 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
461 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
463 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
464 __isinf_nsl with isinf.
465 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
468 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
469 __isinf_nsl with isinf.
470 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
471 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
474 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
476 * resolv/base64.c (rcsid): Remove unused static.
477 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
478 static. (tqpi1): Likewise.
479 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
480 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
481 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
482 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
484 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
485 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
486 * timezone/private.h (time_t_min): Likewise. (time_t_max):
489 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
491 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
493 (_longjmp_unwind): Use __libc_ptf_call.
494 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
496 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
498 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
499 * sysdeps/arm/__longjmp.S: Likewise
501 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
503 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
504 Use __builtin_signbit.
505 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
506 Use __builtin_signbitf.
507 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
508 Use __builtin_signbitl.
509 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
510 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
512 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
517 * math/Makefile: Build test-snan.c with -fsignaling-nans.
518 * math/math.h (fpclassify): Use __builtin_fpclassify when
519 available. (signbit): Use __builtin_signbit(f/l).
520 (isfinite): Use__builtin_isfinite. (isnormal): Use
521 __builtin_isnormal. (isnan): Use __builtin_isnan.
522 (isinf): Use __builtin_isinf_sign.
524 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
526 * benchtests/Makefile: Add bench-math-inlines, link with libm.
527 * benchtests/bench-math-inlines.c: New benchmark.
528 * benchtests/bench-util.h: New file.
529 * benchtests/bench-util.c: New file.
530 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
532 2015-09-18 Carlos O'Donell <carlos@redhat.com>
534 * elf/tst-dlmopen1.c: Define TEST_SO.
535 (do_test): Use TEST_SO.
537 * elf/dl-load.c: Include libc-internal.h.
538 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
540 2015-09-18 Vincent Bernat <vincent@bernat.im>
543 * time/strptime_l.c (__strptime_internal): Make %z accept
544 [+-]HH:MM time zones.
546 2015-09-18 Vincent Bernat <vincent@bernat.im>
549 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
552 2015-09-17 Mike Frysinger <vapier@gentoo.org>
554 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
555 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
556 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
557 (__ASSUME_FDATASYNC): Delete.
559 2015-09-17 Joseph Myers <joseph@codesourcery.com>
561 * conform/linknamespace.pl: Require weak undefined symbols to be
562 in the standard namespace.
563 (%strong_syms): Rename to %seen_syms.
564 (%strong_seen): Rename to %seen_where.
566 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
569 * misc/error.c (error): Replace pthread_setcancelstate with
570 __pthread_setcancelstate.
571 (error_at_line): Likewise.
572 * posix/wordexp.c (parse_comm): Likewise.
573 * stdlib/fmtmsg.c (fmtmsg): Likewise.
574 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
575 (__pthread_setcancelstate): This.
576 (pthread_setcancelstate): Add an alias.
577 * nptl/nptl-init.c (pthread_functions): Replace
578 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
579 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
580 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
582 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
584 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
585 (pthread_setcancelstate): Renamed to ...
586 (__pthread_setcancelstate): This.
587 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
588 __libc_ptf_call with __pthread_setcancelstate.
590 2015-09-17 Joseph Myers <joseph@codesourcery.com>
591 Andreas Schwab <schwab@suse.de>
594 * math/s_ctan.c (__ctan): Determine sign of zero real part of
595 result when imaginary part of argument is infinite using sine and
597 * math/s_ctanf.c (__ctanf): Likewise.
598 * math/s_ctanl.c (__ctanl): Likewise.
599 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
600 of result when real part of argument is infinite using sine and
602 * math/s_ctanhf.c (__ctanhf): Likewise.
603 * math/s_ctanhl.c (__ctanhl): Likewise.
604 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
605 (ctanh_test_data): Add more tests of ctanh.
607 2015-09-17 Joseph Myers <joseph@codesourcery.com>
610 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
611 bit-mask as in subtraction.
612 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
614 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
615 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
619 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
620 underflow exception for small results.
621 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
623 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
625 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
627 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
629 * math/auto-libm-test-in: Add more tests of tgamma.
630 * math/auto-libm-test-out: Regenerated.
632 2015-09-17 Andreas Schwab <schwab@suse.de>
634 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
636 2015-09-16 Joseph Myers <joseph@codesourcery.com>
639 * math/bits/mathcalls.h
640 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
642 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
644 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
646 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
648 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
650 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
652 * conform/data/math.h-data
653 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
655 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
656 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
657 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
658 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
659 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
660 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
661 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
662 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
663 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
664 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
665 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
668 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
669 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
670 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
671 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
672 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
673 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
674 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
675 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
676 [NO_LONG_DOUBLE] (scalbnl): Likewise.
677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
679 [NO_LONG_DOUBLE] (scalbnl): Likewise.
680 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
681 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
682 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
683 long_double_symbol calls.
684 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
685 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
686 strong alias of __ldexpl.
687 (scalbnl): Define using long_double_symbol.
688 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
690 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
691 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
692 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
693 (scalbln_test_data): Add more errno expectations.
695 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
697 Cache the host port like we cache the task port. This way we do not
698 need to call the kernel just to get the port. Furthermore, we no
699 longer increase the reference count on every invocation of
702 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
703 Protect declarations against the macro expansion.
704 * mach/mach_init.c (__mach_host_self_): New variable.
705 (mach_init): Initialize `__mach_host_self_'.
706 * mach/mach_init.h (__mach_host_self_): New declaration.
707 (__mach_host_self, mach_host_self): New macros.
708 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
711 2015-09-16 Joseph Myers <joseph@codesourcery.com>
714 * po/de.po: Update from Translation Project.
717 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
718 (__expm1l): Remove code to handle positive infinity and overflow.
719 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
721 (__expm1l): Remove code to handle positive infinity and overflow.
723 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
724 Paul Pluzhnikov <ppluzhnikov@google.com>
727 * stdio-common/Makefile (tst-printf-bz18872): New test.
728 (tst-printf-bz18872-mem.out): Likewise.
729 * stdio-common/tst-printf-bz18872.sh: Generate new test.
730 * stdio-common/vfprintf.c: Fix memory leaks.
732 2015-09-16 Andreas Schwab <schwab@suse.de>
735 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
736 Remove extra va_start/va_end calls.
739 * posix/execl.c (execl): Add missing va_end.
740 * posix/execle.c (execle): Likewise.
741 * posix/execlp.c (execlp): Likewise.
743 2015-09-15 Roland McGrath <roland@hack.frob.com>
745 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
746 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
748 2015-09-15 Joseph Myers <joseph@codesourcery.com>
751 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
752 undefine around includes of <bits/mathcalls.h>.
753 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
754 not declare function.
755 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
756 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
758 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
760 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
762 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
763 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
764 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
767 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
768 return non-finite argument without doing ordered comparisons on
772 * math/fenv.h (fegetround): Use __attribute_pure__.
773 * include/fenv.h (__fegetround): Likewise.
776 * math/s_ctan.c (__ctan): Force underflow exception for results
777 whose real or imaginary part has small absolute value.
778 * math/s_ctanf.c (__ctanf): Likewise.
779 * math/s_ctanh.c (__ctanh): Likewise.
780 * math/s_ctanhf.c (__ctanhf): Likewise.
781 * math/s_ctanhl.c (__ctanhl): Likewise.
782 * math/s_ctanl.c (__ctanl): Likewise.
783 * math/auto-libm-test-in: Do not allow missing underflow for ctan
784 and ctanh. Add more tests of ctan and ctanh.
787 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
788 handling of cases where one argument is an infinity.
792 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
794 (__ieee754_exp10): For small results, force underflow exception
795 and remove excess range and precision from return value.
796 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
798 (__ieee754_exp10f): For small results, force underflow exception
799 and remove excess range and precision from return value.
800 * math/auto-libm-test-in: Add more tests of exp10.
801 * math/auto-libm-test-out: Regenerated.
803 2015-09-14 Joseph Myers <joseph@codesourcery.com>
807 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
809 (__ieee754_exp): For small results, force underflow exception and
810 remove excess range and precision from return value.
811 (__exp_finite): Likewise.
812 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
814 (__ieee754_expf): For small results, force underflow exception and
815 remove excess range and precision from return value.
816 (__expf_finite): Likewise.
817 * math/auto-libm-test-in: Add more tests of exp.
818 * math/auto-libm-test-out: Regenerated.
822 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
824 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
826 (__ieee754_exp2): For small results, force underflow exception and
827 remove excess range and precision from return value.
828 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
830 (__ieee754_exp2f): For small results, force underflow exception
831 and remove excess range and precision from return value.
832 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
834 (__ieee754_exp2l): Force underflow exception for small results.
835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
836 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
837 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
839 (__ieee754_exp2l): Force underflow exception for small results.
840 * math/auto-libm-test-in: Add more tests or exp2.
841 * math/auto-libm-test-out: Regenerated.
843 2015-09-14 Carlos O'Donell <carlos@redhat.com>
845 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
847 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
850 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
852 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
853 io fs process)): Drop spurious backslash.
855 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
858 Use sysinfo system call instead of parsing /proc/meminfo.
859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
862 2015-09-11 Mike Frysinger <vapier@gentoo.org>
865 * programs/localedef.c (main): Display argv[remaining] when
868 2015-09-11 Joseph Myers <joseph@codesourcery.com>
870 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
871 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
872 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
874 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
877 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880 2015-09-11 Roland McGrath <roland@hack.frob.com>
882 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
883 Use 'override' keyword to freeze the value here, preventing
884 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
886 2015-09-11 Joseph Myers <joseph@codesourcery.com>
889 * sysdeps/aarch64/bits/atomic.h: Move to ...
890 * sysdeps/aarch64/atomic-machine.h: ...here.
891 (_AARCH64_BITS_ATOMIC_H): Rename macro to
892 _AARCH64_ATOMIC_MACHINE_H.
893 * sysdeps/alpha/bits/atomic.h: Move to ...
894 * sysdeps/alpha/atomic-machine.h: ...here.
895 * sysdeps/arm/bits/atomic.h: Move to ...
896 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
897 * bits/atomic.h: Move to ...
898 * sysdeps/generic/atomic-machine.h: ...here.
899 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
900 * sysdeps/i386/bits/atomic.h: Move to ...
901 * sysdeps/i386/atomic-machine.h: ...here.
902 * sysdeps/ia64/bits/atomic.h: Move to ...
903 * sysdeps/ia64/atomic-machine.h: ...here.
904 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
905 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
906 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
907 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
908 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
909 * sysdeps/microblaze/bits/atomic.h: Move to ...
910 * sysdeps/microblaze/atomic-machine.h: ...here.
911 * sysdeps/mips/bits/atomic.h: Move to ...
912 * sysdeps/mips/atomic-machine.h: ...here.
913 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
914 * sysdeps/powerpc/bits/atomic.h: Move to ...
915 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
916 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
917 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
918 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
919 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
920 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
921 <atomic-machine.h> instead of <bits/atomic.h>.
922 * sysdeps/s390/bits/atomic.h: Move to ...
923 * sysdeps/s390/atomic-machine.h: ...here.
924 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
925 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
926 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
927 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
928 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
929 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
930 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
931 * sysdeps/tile/bits/atomic.h: Move to ...
932 * sysdeps/tile/atomic-machine.h: ...here.
933 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
934 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
935 <sysdeps/tile/atomic-machine.h> instead of
936 <sysdeps/tile/bits/atomic.h>.
937 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
938 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
939 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
940 <sysdeps/tile/atomic-machine.h> instead of
941 <sysdeps/tile/bits/atomic.h>.
942 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
943 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
944 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
945 <sysdeps/arm/atomic-machine.h> instead of
946 <sysdeps/arm/bits/atomic.h>.
947 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
948 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
949 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
950 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
951 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
952 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
953 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
954 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
955 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
956 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
957 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
958 * sysdeps/x86_64/bits/atomic.h: Move to ...
959 * sysdeps/x86_64/atomic-machine.h: ...here.
960 * include/atomic.h: Include <atomic-machine.h> instead of
963 * sysdeps/mips/mips32/libm-test-ulps: Update.
964 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
968 not convert non-integer negative arguments to int to determine the
970 * math/auto-libm-test-in: Add more tests of lgamma.
971 * math/auto-libm-test-out: Regenerated.
973 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
974 cosh, csqrt, erfc, expm1 and lgamma.
975 * math/auto-libm-test-out: Regenerated.
976 * sysdeps/i386/fpu/libm-test-ulps: Update.
977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
979 2015-09-10 Joseph Myers <joseph@codesourcery.com>
984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
985 __lgamma_neg for arguments from -28.0 to -2.0.
986 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
987 __lgamma_negf for arguments from -15.0 to -2.0.
988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
989 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
990 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
991 Call __lgamma_negl for arguments from -33.0 to -2.0.
992 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
993 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
994 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
995 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
996 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
997 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
998 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
999 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1000 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1001 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1002 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1003 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1004 (__lgamma_neg): Likewise.
1005 (__lgamma_negl): Likewise.
1006 (__lgamma_product): Likewise.
1007 (__lgamma_productl): Likewise.
1008 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1009 * math/auto-libm-test-in: Add more tests of lgamma.
1010 * math/auto-libm-test-out: Regenerated.
1011 * sysdeps/i386/fpu/libm-test-ulps: Update.
1012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1014 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1017 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1019 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1022 * bits/libc-lock.h: Move to ...
1023 * sysdeps/generic/libc-lock.h: ...here.
1024 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1025 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1026 * sysdeps/mach/hurd/libc-lock.h: ...here.
1027 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1028 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1029 * sysdeps/mach/bits/libc-lock.h: Move to ...
1030 * sysdeps/mach/libc-lock.h: ...here.
1031 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1032 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1033 * sysdeps/nptl/libc-lock.h: ...here.
1034 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1035 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1036 * sysdeps/nptl/libc-lockP.h: ...here.
1037 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1038 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1040 * dirent/scandir-tail.c: Likewise.
1041 * dlfcn/dlerror.c: Likewise.
1042 * elf/dl-close.c: Likewise.
1043 * elf/dl-iteratephdr.c: Likewise.
1044 * elf/dl-lookup.c: Likewise.
1045 * elf/dl-open.c: Likewise.
1046 * elf/dl-support.c: Likewise.
1047 * elf/dl-writev.h: Likewise.
1048 * elf/rtld.c: Likewise.
1049 * grp/fgetgrent.c: Likewise.
1050 * gshadow/fgetsgent.c: Likewise.
1051 * gshadow/sgetsgent.c: Likewise.
1052 * iconv/gconv_conf.c: Likewise.
1053 * iconv/gconv_db.c: Likewise.
1054 * iconv/gconv_dl.c: Likewise.
1055 * iconv/gconv_int.h: Likewise.
1056 * iconv/gconv_trans.c: Likewise.
1057 * include/link.h: Likewise.
1058 * inet/getnameinfo.c: Likewise.
1059 * inet/getnetgrent.c: Likewise.
1060 * inet/getnetgrent_r.c: Likewise.
1061 * intl/bindtextdom.c: Likewise.
1062 * intl/dcigettext.c: Likewise.
1063 * intl/finddomain.c: Likewise.
1064 * intl/gettextP.h: Likewise.
1065 * intl/loadmsgcat.c: Likewise.
1066 * intl/localealias.c: Likewise.
1067 * intl/textdomain.c: Likewise.
1068 * libidn/idn-stub.c: Likewise.
1069 * libio/libioP.h: Likewise.
1070 * locale/duplocale.c: Likewise.
1071 * locale/freelocale.c: Likewise.
1072 * locale/newlocale.c: Likewise.
1073 * locale/setlocale.c: Likewise.
1074 * login/getutent_r.c: Likewise.
1075 * login/getutid_r.c: Likewise.
1076 * login/getutline_r.c: Likewise.
1077 * login/utmp-private.h: Likewise.
1078 * login/utmpname.c: Likewise.
1079 * malloc/mtrace.c: Likewise.
1080 * misc/efgcvt.c: Likewise.
1081 * misc/error.c: Likewise.
1082 * misc/fstab.c: Likewise.
1083 * misc/getpass.c: Likewise.
1084 * misc/mntent.c: Likewise.
1085 * misc/syslog.c: Likewise.
1086 * nis/nis_call.c: Likewise.
1087 * nis/nis_callback.c: Likewise.
1088 * nis/nss-default.c: Likewise.
1089 * nis/nss_compat/compat-grp.c: Likewise.
1090 * nis/nss_compat/compat-initgroups.c: Likewise.
1091 * nis/nss_compat/compat-pwd.c: Likewise.
1092 * nis/nss_compat/compat-spwd.c: Likewise.
1093 * nis/nss_nis/nis-alias.c: Likewise.
1094 * nis/nss_nis/nis-ethers.c: Likewise.
1095 * nis/nss_nis/nis-grp.c: Likewise.
1096 * nis/nss_nis/nis-hosts.c: Likewise.
1097 * nis/nss_nis/nis-network.c: Likewise.
1098 * nis/nss_nis/nis-proto.c: Likewise.
1099 * nis/nss_nis/nis-pwd.c: Likewise.
1100 * nis/nss_nis/nis-rpc.c: Likewise.
1101 * nis/nss_nis/nis-service.c: Likewise.
1102 * nis/nss_nis/nis-spwd.c: Likewise.
1103 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1104 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1105 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1106 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1107 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1108 * nis/nss_nisplus/nisplus-network.c: Likewise.
1109 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1110 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1111 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1112 * nis/nss_nisplus/nisplus-service.c: Likewise.
1113 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1114 * nis/ypclnt.c: Likewise.
1115 * nptl/libc_pthread_init.c: Likewise.
1116 * nss/getXXbyYY.c: Likewise.
1117 * nss/getXXent.c: Likewise.
1118 * nss/getXXent_r.c: Likewise.
1119 * nss/nss_db/db-XXX.c: Likewise.
1120 * nss/nss_db/db-netgrp.c: Likewise.
1121 * nss/nss_db/nss_db.h: Likewise.
1122 * nss/nss_files/files-XXX.c: Likewise.
1123 * nss/nss_files/files-alias.c: Likewise.
1124 * nss/nsswitch.c: Likewise.
1125 * posix/regex_internal.h: Likewise.
1126 * posix/wordexp.c: Likewise.
1127 * pwd/fgetpwent.c: Likewise.
1128 * resolv/res_hconf.c: Likewise.
1129 * resolv/res_libc.c: Likewise.
1130 * shadow/fgetspent.c: Likewise.
1131 * shadow/lckpwdf.c: Likewise.
1132 * shadow/sgetspent.c: Likewise.
1133 * socket/opensock.c: Likewise.
1134 * stdio-common/reg-modifier.c: Likewise.
1135 * stdio-common/reg-printf.c: Likewise.
1136 * stdio-common/reg-type.c: Likewise.
1137 * stdio-common/vfprintf.c: Likewise.
1138 * stdio-common/vfscanf.c: Likewise.
1139 * stdlib/abort.c: Likewise.
1140 * stdlib/cxa_atexit.c: Likewise.
1141 * stdlib/fmtmsg.c: Likewise.
1142 * stdlib/random.c: Likewise.
1143 * stdlib/setenv.c: Likewise.
1144 * string/strsignal.c: Likewise.
1145 * sunrpc/auth_none.c: Likewise.
1146 * sunrpc/bindrsvprt.c: Likewise.
1147 * sunrpc/create_xid.c: Likewise.
1148 * sunrpc/key_call.c: Likewise.
1149 * sunrpc/rpc_thread.c: Likewise.
1150 * sysdeps/arm/backtrace.c: Likewise.
1151 * sysdeps/generic/ldsodefs.h: Likewise.
1152 * sysdeps/generic/stdio-lock.h: Likewise.
1153 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1154 * sysdeps/i386/backtrace.c: Likewise.
1155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1156 * sysdeps/m68k/backtrace.c: Likewise.
1157 * sysdeps/mach/hurd/cthreads.c: Likewise.
1158 * sysdeps/mach/hurd/dirstream.h: Likewise.
1159 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1160 * sysdeps/nptl/malloc-machine.h: Likewise.
1161 * sysdeps/nptl/stdio-lock.h: Likewise.
1162 * sysdeps/posix/dirstream.h: Likewise.
1163 * sysdeps/posix/getaddrinfo.c: Likewise.
1164 * sysdeps/posix/system.c: Likewise.
1165 * sysdeps/pthread/aio_suspend.c: Likewise.
1166 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1167 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1168 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1169 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1171 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1172 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1173 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1174 * sysdeps/unix/sysv/linux/system.c: Likewise.
1175 * sysdeps/x86_64/backtrace.c: Likewise.
1176 * time/alt_digit.c: Likewise.
1177 * time/era.c: Likewise.
1178 * time/tzset.c: Likewise.
1179 * wcsmbs/wcsmbsload.c: Likewise.
1180 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1181 instead of <bits/libc-lock.h> in comment.
1183 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1185 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1186 Only use .set mips2 if the current ISA is below mips2.
1187 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1189 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1190 mips32r2 if the current ISA is below mips32r2.
1191 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1192 (TLS_IE): Updated to use the TLD_RDHWR macro.
1194 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1195 __ASSEMBLER__ condition.
1197 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1199 Fix parallel build of before-compile targets.
1201 * sysdeps/mach/Makefile ($(patsubst
1202 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1203 mach-before-compile target.
1204 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1205 io fs process)): Move rule to dedicated hurd-before-compile target.
1207 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1209 Fix rules generating headers in hurd/ and mach/ when initial make call
1210 has subdir= explicitly set.
1212 * sysdeps/mach/Makefile ($(patsubst
1213 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1215 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1216 io fs process)): Force subdir to hurd when calling $(MAKE).
1217 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1218 subdir to mach when calling $(MAKE).
1220 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1222 Check sysheaders when looking for Mach and Hurd headers
1224 * sysdeps/mach/configure.ac: Add sysheaders check.
1225 * sysdeps/mach/configure: Regenerate.
1226 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1227 * sysdeps/mach/hurd/configure: Regenerate.
1229 2015-09-04 Roland McGrath <roland@hack.frob.com>
1232 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1233 Fix inverted sense of test of 'o_directory_works' value.
1234 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1235 Bernhard Voelker <mail@bernhard-voelker.de>.
1237 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1240 * bits/linkmap.h: Move to ...
1241 * sysdeps/generic/linkmap.h: ...here.
1242 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1243 * sysdeps/aarch64/linkmap.h: ...here.
1244 * sysdeps/arm/bits/linkmap.h: Move to ...
1245 * sysdeps/arm/linkmap.h: ...here.
1246 * sysdeps/hppa/bits/linkmap.h: Move to ...
1247 * sysdeps/hppa/linkmap.h: ...here.
1248 * sysdeps/ia64/bits/linkmap.h: Move to ...
1249 * sysdeps/ia64/linkmap.h: ...here.
1250 * sysdeps/mips/bits/linkmap.h: Move to ...
1251 * sysdeps/mips/linkmap.h: ...here.
1252 * sysdeps/s390/bits/linkmap.h: Move to ...
1253 * sysdeps/s390/linkmap.h: ...here.
1254 * sysdeps/sh/bits/linkmap.h: Move to ...
1255 * sysdeps/sh/linkmap.h: ...here.
1256 * sysdeps/x86/bits/linkmap.h: Move to ...
1257 * sysdeps/x86/linkmap.h: ...here.
1258 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1260 2015-09-04 Andreas Schwab <schwab@suse.de>
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1264 (__makecontext): Terminate FDE before return label.
1265 (__novec_makecontext): Likewise.
1267 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1269 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1270 first member of struct sv in syscall macro.
1272 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1275 * bits/stdio-lock.h: Move to ...
1276 * sysdeps/generic/stdio-lock.h: ...here.
1277 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1278 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1279 * sysdeps/nptl/stdio-lock.h: ...here.
1280 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1281 * include/libio.h: Include <stdio-lock.h> instead of
1282 <bits/stdio-lock.h>.
1283 * sysdeps/nptl/fork.c: Likewise.
1284 * sysdeps/pthread/flockfile.c: Likewise.
1285 * sysdeps/pthread/ftrylockfile.c: Likewise.
1286 * sysdeps/pthread/funlockfile.c: Likewise.
1289 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1290 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1291 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1292 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1293 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1294 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1295 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1297 2015-09-03 Roland McGrath <roland@hack.frob.com>
1299 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1300 (test-xfail-tst-protected1b): New variable.
1302 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1305 * bits/libc-tsd.h: Move to ...
1306 * sysdeps/generic/libc-tsd.h: ...here.
1307 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1308 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1309 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1310 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1311 * include/ctype.h: Include <libc-tsd.h> instead of
1313 * include/rpc/rpc.h: Likewise.
1314 * locale/localeinfo.h: Likewise.
1315 * sunrpc/rpc_thread.c: Likewise.
1316 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1317 * sysdeps/nptl/malloc-machine.h: Likewise.
1319 * Makefile (headers): Remove bits/libc-lock.h.
1320 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1322 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1323 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1324 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1325 <bits/stdio-lock.h>.
1326 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1327 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1329 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1332 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1333 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1336 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1338 * malloc/mtrace.pl: Filter out NULL entries.
1340 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1342 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1343 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1346 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1347 (TCP_CC_INFO): Likewise.
1348 (TCP_SAVE_SYN): Likewise.
1349 (TCP_SAVED_SYN): Likewise.
1351 2015-08-31 Brett Neumeier <brett@neumeier.us>
1354 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1356 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1359 Fix broken overflow check in posix_fallocate
1360 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1361 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1362 Fix parenthesization typo.
1364 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1367 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1368 tst-mntent-blank-passno.
1369 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1370 * misc/tst-mntent-blank-corrupt.c: New test.
1371 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1372 * misc/tst-mntent.c (do_test): ... here.
1374 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1377 * po/de.po: Fix SIGALRM typo.
1379 2015-08-28 James Perkins <james@loowit.net>
1381 * time/tst-strptime2.c (tests): Replace short list of test
1382 strings for strptime %z specifier with code which exhaustively
1383 tests every combination of sign and 0 to 5 digits. Tests for
1384 rejection of invalid strings.
1386 2015-08-28 James Perkins <james@loowit.net>
1389 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1390 calculation, removing incorrect decimal time rounding, so that
1391 all minute values result in a valid seconds value.
1392 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1393 offset range limits to UTC-99:59 through UTC+99:59 to parse
1394 current and historical use cases.
1395 * time/tst-strptime2.c (tests): Modify and add tests for the
1396 strptime %z input field descriptor, specifically conversion of
1397 minutes to seconds and validating an offset range of -9959 to
1400 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1401 Dmitry V. Levin <ldv@altlinux.org>
1404 * posix/Makefile (tests): Add tst-mmap-offset.
1405 * posix/tst-mmap.c: New file.
1406 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1407 offset calculation for negative values.
1409 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1411 * sysdeps/i386/init-arch.h: New file.
1412 * sysdeps/i386/i586/init-arch.h: Likewise.
1413 * sysdeps/i386/i686/init-arch.h: Likewise.
1414 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1415 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1416 * sysdeps/x86/cpu-features.h (bit_I586): New.
1417 (bit_I686): Likewise.
1418 (bit_CX8): Likewise.
1419 (bit_CMOV): Likewise.
1420 (index_CX8): Likewise.
1421 (index_CMOV): Likewise.
1422 (index_I586): Likewise.
1423 (index_I686): Likewise.
1424 (reg_CX8): Likewise.
1425 (reg_CMOV): Likewise.
1426 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1427 available at compile-time.
1428 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1429 available at compile-time.
1430 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1431 (USE_I686): Likewise.
1433 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1435 * sysdeps/i386/bcopy.S: New file.
1436 * sysdeps/i386/bzero.S: Likewise.
1437 * sysdeps/i386/memcpy.S: Likewise.
1438 * sysdeps/i386/memmove.S: Likewise.
1439 * sysdeps/i386/mempcpy.S: Likewise.
1440 * sysdeps/i386/memset.S: Likewise.
1441 * sysdeps/i386/bzero.c: Removed.
1442 * sysdeps/i386/memset.c: Likewise.
1443 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1444 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1445 * sysdeps/i386/i586/memset_chk.S: Likewise.
1446 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1447 * sysdeps/i386/memcpy_chk.S: Here.
1448 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1449 * sysdeps/i386/memmove_chk.S: Here.
1450 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1451 * sysdeps/i386/mempcpy_chk.S: Likewise.
1452 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1453 * sysdeps/i386/memset_chk.S: Likewise.
1455 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1457 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1458 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1459 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1460 * soft-fp/fmadf4.c: Ditto.
1461 * soft-fp/fmatf4.c: Ditto.
1463 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1465 * sysdeps/i386/i586/Implies: Removed.
1466 * sysdeps/i386/i686/Implies: Likewise.
1468 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1470 * sysdeps/i386/i486/strlen.S: Moved to ...
1471 * sysdeps/i386/strlen.S: Here.
1473 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1475 * sysdeps/i386/i486/strcat.S: Moved to ...
1476 * sysdeps/i386/strcat.S: Here.
1478 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1480 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1481 * sysdeps/i386/pthread_spin_trylock.S: Here.
1482 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1483 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1485 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1487 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1488 * sysdeps/i386/string-inlines.c: Here.
1490 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1492 * sysdeps/i386/i486/htonl.S: Moved ...
1493 * sysdeps/i386/htonl.S: here.
1495 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1497 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1498 * sysdeps/i386/bits/atomic.h: Here.
1500 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1502 * sysdeps/i386/i486/Versions: Removed.
1504 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1507 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1508 Based on patch by Aurelien Jarno.
1510 2015-08-26 Stan Shebs <stanshebs@google.com>
1512 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1513 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1515 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1517 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1518 * sysdeps/powerpc/dl-procinfo.c:
1519 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1520 feature so it shows when LD_SHOW_AUXV=1.
1522 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1524 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1525 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1526 definition. ISA 2.07B no longer requires full sync.
1528 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1531 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1532 (si_call_addr): Define.
1533 (si_syscall): Define.
1536 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1538 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1539 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1540 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1541 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1542 (__memset_zero_constant_len_parameter): New.
1543 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1544 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1545 (__memset_zero_constant_len_parameter): Don't define if
1546 __memset_chk or USE_AS_BZERO are defined.
1548 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1549 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1550 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1552 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1553 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1554 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1555 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1557 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1558 -mno-mmx for $(all-rtld-routines).
1559 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1560 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1563 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1565 * sysdeps/generic/unwind.h
1566 (_Unwind_Word): Use __mode__(__unwind_word__)
1567 instead of __mode__(__word__).
1568 (_Unwind_Sword): Likewise.
1570 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1571 (MAX_NEEDED_INPUT): New define.
1572 (MAX_NEEDED_OUTPUT): New define.
1574 * NEWS: New item for IBM z13 string optimizations.
1576 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1577 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1578 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1579 * sysdeps/s390/multiarch/Makefile
1580 (sysdep_routines): Add memrchr functions.
1581 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1582 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1584 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1585 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1586 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1587 * sysdeps/s390/multiarch/Makefile
1588 (sysdep_routines): Add wmemcmp functions.
1589 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1590 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1591 * benchtests/bench-wmemcmp.c: New File.
1592 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1594 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1595 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1596 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1597 * sysdeps/s390/multiarch/Makefile
1598 (sysdep_routines): Add wmemset functions.
1599 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1600 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1601 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1602 * string/test-memset.c: Add wmemset support.
1603 * wcsmbs/test-wmemset.c: New File.
1604 * wcsmbs/Makefile (strop-tests): Add wmemset.
1605 * benchtests/bench-memset.c: Add wmemset support.
1606 * benchtests/bench-wmemset.c: New File.
1607 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1609 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1610 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1611 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1612 * sysdeps/s390/multiarch/Makefile
1613 (sysdep_routines): Add memccpy functions.
1614 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1615 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1616 * string/memccpy.c: Use MEMCCPY if defined.
1618 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1619 * sysdeps/s390/multiarch/memchr.c: Likewise.
1620 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1621 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1622 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1623 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1624 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1625 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1626 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1627 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1628 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1629 and rawmemchr functions.
1630 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1631 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1633 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1634 * string/test-memchr.c: Add wmemchr support.
1635 * wcsmbs/test-wmemchr.c: New File.
1636 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1637 * benchtests/bench-memchr.c: Add wmemchr support.
1638 * benchtests/bench-wmemchr.c: New File.
1639 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1641 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1642 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1643 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1644 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1645 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1646 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1647 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1649 * sysdeps/s390/multiarch/ifunc-impl-list.c
1650 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1651 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1652 * string/test-strcspn.c: Add wcscspn support.
1653 * wcsmbs/test-wcscspn.c: New File.
1654 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1655 * benchtests/bench-strcspn.c: Add wcscspn support.
1656 * benchtests/bench-wcscspn.c: New File.
1657 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1659 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1660 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1661 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1662 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1663 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1664 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1665 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1667 * sysdeps/s390/multiarch/ifunc-impl-list.c
1668 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1669 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1670 * string/test-strpbrk.c: Add wcspbrk support.
1671 * wcsmbs/test-wcspbrk.c: New File.
1672 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1673 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1674 * benchtests/bench-wcspbrk.c: New File.
1675 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1677 * sysdeps/s390/multiarch/strspn-c.c: New File.
1678 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1679 * sysdeps/s390/multiarch/strspn.c: Likewise.
1680 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1681 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1682 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1683 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1684 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1686 * sysdeps/s390/multiarch/ifunc-impl-list.c
1687 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1688 * string/test-strspn.c: Add wcsspn support.
1689 * wcsmbs/test-wcsspn.c: New File.
1690 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1691 * benchtests/bench-strspn.c: Add wcsspn support.
1692 * benchtests/bench-wcsspn.c: New File.
1693 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1695 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1696 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1697 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1698 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1699 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1700 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1701 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1703 * sysdeps/s390/multiarch/ifunc-impl-list.c
1704 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1705 * benchtests/bench-wcsrchr.c: New File.
1706 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1708 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1709 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1710 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1711 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1712 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1713 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1714 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1715 wcschrnul functions.
1716 * sysdeps/s390/multiarch/ifunc-impl-list.c
1717 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1718 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1719 * string/test-strchr.c: Add wcschrnul support.
1720 * wcsmbs/test-wcschrnul.c: New File.
1721 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1722 * benchtests/bench-strchr.c: Add wcschrnul support.
1723 * benchtests/bench-wcschrnul.c: New File.
1724 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1726 * sysdeps/s390/multiarch/strchr-c.c: New File.
1727 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1728 * sysdeps/s390/multiarch/strchr.c: Likewise.
1729 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1730 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1731 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1732 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1734 * sysdeps/s390/multiarch/ifunc-impl-list.c
1735 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1736 * string/strchr.c (STRCHR): Define and use macro.
1737 * benchtests/bench-wcschr.c: New File.
1738 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1740 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1741 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1742 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1743 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1744 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1745 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1746 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1748 * sysdeps/s390/multiarch/ifunc-impl-list.c
1749 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1750 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1751 * benchtests/bench-strncmp.c: Add wcsncmp support.
1752 * benchtests/bench-wcsncmp.c: New File.
1753 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1755 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1756 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1757 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1758 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1759 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1760 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1761 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1762 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1764 * sysdeps/s390/multiarch/ifunc-impl-list.c
1765 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1766 * string/strcmp.c (STRCMP): Define and use macro.
1767 * benchtests/bench-wcscmp.c: New File.
1768 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1769 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1770 instead of _HAVE_STRING_ARCH_memchr.
1772 * sysdeps/s390/multiarch/strncat-c.c: New File.
1773 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1774 * sysdeps/s390/multiarch/strncat.c: Likewise.
1775 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1776 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1777 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1778 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1780 * sysdeps/s390/multiarch/ifunc-impl-list.c
1781 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1782 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1783 * string/test-strncat.c: Add wcsncat support.
1784 * wcsmbs/test-wcsncat.c: New File.
1785 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1786 * benchtests/bench-strncat.c: Add wcsncat support.
1787 * benchtests/bench-wcsncat.c: New File.
1788 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1790 * sysdeps/s390/multiarch/strcat-c.c: New File.
1791 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1792 * sysdeps/s390/multiarch/strcat.c: Likewise.
1793 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1794 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1795 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1796 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1798 * sysdeps/s390/multiarch/ifunc-impl-list.c
1799 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1800 * string/strcat.c (STRCAT): Define and use macro.
1801 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1802 * string/test-strcat.c: Add wcscat support.
1803 * wcsmbs/test-wcscat.c: New File.
1804 * wcsmbs/Makefile (strop-tests): Add wcscat.
1805 * benchtests/bench-strcat.c: Add wcscat support.
1806 * benchtests/bench-wcscat.c: New File.
1807 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1809 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1810 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1811 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1812 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1813 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1814 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1815 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1817 * sysdeps/s390/multiarch/ifunc-impl-list.c
1818 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1819 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1820 * string/test-stpncpy.c: Add wcpncpy support.
1821 * wcsmbs/test-wcpncpy.c: New File.
1822 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1823 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1824 * benchtests/bench-wcpncpy.c: New File.
1825 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1827 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1828 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1829 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1830 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1831 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1832 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1833 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1834 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1836 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1837 * sysdeps/s390/multiarch/ifunc-impl-list.c
1838 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1839 * string/test-strncpy.c: Add wcsncpy support.
1840 * wcsmbs/test-wcsncpy.c: New File.
1841 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1842 * benchtests/bench-strncpy.c: Add wcsncpy support.
1843 * benchtests/bench-wcsncpy.c: New File.
1844 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1846 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1847 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1848 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1849 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1850 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1851 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1852 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1854 * string/stpcpy.c: Use STPCPY if defined.
1855 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1856 * sysdeps/s390/multiarch/ifunc-impl-list.c
1857 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1858 * string/test-stpcpy.c: Add wcpcpy support.
1859 * wcsmbs/test-wcpcpy.c: New File.
1860 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1861 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1862 * benchtests/bench-wcpcpy.c: New File.
1863 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1865 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1866 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1867 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1868 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1869 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1870 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1871 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1872 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1874 * sysdeps/s390/multiarch/ifunc-impl-list.c
1875 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1876 * benchtests/bench-wcscpy.c: New File.
1877 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1879 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1880 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1881 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1882 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1883 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1884 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1885 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1887 * sysdeps/s390/multiarch/ifunc-impl-list.c
1888 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1889 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1890 * string/test-strnlen.c: Add wcsnlen support.
1891 * wcsmbs/test-wcsnlen.c: New File.
1892 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1893 * benchtests/bench-strnlen.c: Add wcsnlen support.
1894 * benchtests/bench-wcsnlen.c: New File.
1895 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1897 * sysdeps/s390/multiarch/Makefile: New File.
1898 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1899 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1900 * sysdeps/s390/multiarch/strlen.c: Likewise.
1901 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1902 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1903 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1904 * string/strlen.c (STRLEN): Define and use macro.
1905 * sysdeps/s390/multiarch/ifunc-impl-list.c
1906 (IFUNC_VX_IMPL): New macro function.
1907 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1908 * benchtests/Makefile (wcsmbs-bench): New variable.
1909 (string-bench-all): Added wcsmbs-bench.
1910 * benchtests/bench-wcslen.c: New File.
1912 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1913 s390_vx_libc_ifunc2): New macro function.
1915 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1916 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1918 * sysdeps/s390/configure: Regenerated.
1920 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1921 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1923 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1924 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1925 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1927 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1928 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1929 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1930 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1931 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1932 (memcmp, bcmp): Use __memcmp_default as alias source.
1933 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1934 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1935 Rename to __memcmp_default.
1936 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1937 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1938 (memcpy): Use __memcpy_default as alias source.
1939 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1940 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1941 Rename to __memcpy_default.
1942 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1943 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1944 (memset): Use __memset_default as alias source.
1945 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1946 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1947 Rename to __memset_default.
1948 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1949 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1950 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1951 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1952 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1953 (memcmp, bcmp): Use __memcmp_default as alias source.
1954 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1955 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1956 Rename to __memcmp_default.
1957 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1958 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1959 (memcpy): Use __memcpy_default as alias source.
1960 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1961 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1962 Rename to __memcpy_default.
1963 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1964 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1965 (memset): Use __memset_default as alias source.
1966 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1967 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1968 Rename to __memset_default.
1969 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1970 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1973 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1974 __ieee_instruction_pointer to __unused.
1975 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1976 __ieee_instruction_pointer.
1977 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1978 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1979 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1980 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1981 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1982 Mark dxc-field as reserved.
1984 2015-08-25 Roland McGrath <roland@hack.frob.com>
1986 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1987 if the weak reference is not null.
1989 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1991 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1994 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1996 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1998 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1999 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2000 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2001 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2002 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2003 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2004 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2005 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2006 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2007 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2008 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2009 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2010 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2011 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2012 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2013 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2014 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2015 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2017 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2019 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2020 register other than r0 for tabort, it has special meaning.
2021 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2022 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2023 transaction before starting syscall.
2025 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2027 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2029 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2031 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2033 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2034 * sysdeps/x86_64/rtld-memset.S: Likewise.
2035 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2036 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2037 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2038 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2040 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2042 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2044 * debug/strcpy_chk.c: Improve performance.
2045 * debug/stpcpy_chk.c: Likewise.
2046 * sysdeps/x86_64/strcpy_chk.S: Remove.
2047 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2050 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2052 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2055 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2057 (modules-names): Add ifuncmod8.
2058 ($(objpfx)ifuncmain8): New rule.
2059 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2061 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2062 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2063 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2064 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2065 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2066 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2067 * sysdeps/x86_64/ifuncmain8.c: New file.
2068 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2069 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2071 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2072 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2073 Change rtld_savespace_sse to __glibc_unused2.
2074 (RTLD_CHECK_FOREIGN_CALL): Removed.
2075 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2076 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2077 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2079 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2081 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2083 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2085 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2086 Unconditionally set __fpcr to avoid uninialized warning.
2087 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2089 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2091 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2094 * malloc/arena.c (arena_get2): Drop unused argument.
2095 (arena_lock): Adjust.
2096 (arena_get_retry): Likewise.
2098 2015-08-24 Andreas Schwab <schwab@suse.de>
2100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2102 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2103 (__ASSUME_IPC64): Don't undef.
2104 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2105 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2106 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2107 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2108 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2109 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2110 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2111 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2112 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2113 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2114 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2115 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2116 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2117 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2118 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2119 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2120 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2121 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2123 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2124 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2126 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2128 * manual/Makefile (install): Only build manual when perl is available.
2130 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2132 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2133 '#undef memcpy' by '#undef memchr'.
2135 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2137 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2138 memchr not point to the internal __GI_memchr implementation.
2140 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2142 * timezone/Makefile (CFLAGS-zdump.c): Remove
2143 -Wno-strict-prototypes.
2144 (CFLAGS-zic.c): Likewise.
2145 (CFLAGS-ialloc.c): Likewise.
2146 (CFLAGS-scheck.c): Likewise.
2148 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2151 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2153 * i386/i686/multiarch/strcasestr-c.c: Removed.
2154 * x86_64/multiarch/strcasestr.c: Likewise.
2155 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2158 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2160 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2163 variables for high and low parts before possibly modifying them.
2165 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2167 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2168 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2169 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2170 of "multiarch/init-arch.h".
2171 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2172 * sysdeps/x86/init-arch.h: This.
2174 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2176 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2177 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2179 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2182 * manual/macros.texi: Add twoexp macro.
2183 * manual/filesys.texi: Fix exponents.
2184 * manual/llio.texi: Likewise.
2185 * manual/stdio.texi: Likewise.
2187 2015-08-20 Florian Weimer <fweimer@redhat.com>
2189 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2192 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2195 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2196 whose real or imaginary part has small absolute value.
2197 * math/s_csqrtf.c (__csqrtf): Likewise.
2198 * math/s_csqrtl.c (__csqrtl): Likewise.
2199 * math/auto-libm-test-in: Add more tests of csqrt.
2200 * math/auto-libm-test-out: Regenerated.
2201 * sysdeps/i386/fpu/libm-test-ulps: Update.
2203 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2205 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2206 __ppc_set_ppr_very_low): New functions.
2207 * manual/platform.texi: Add documentation about
2208 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2210 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2212 * string/stpncpy.c (stpncpy): Improve performance using
2213 __strnlen/memcpy/memset.
2215 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2218 * scripts/test-installation.pl: Don't add -lmvec to build options if
2219 libmvec wasn't built.
2221 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2224 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2225 case when there is a gap between DT_REL and DT_JMPREL sections.
2226 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2227 (LDFLAGS-tst-split-dynreloc): New.
2228 (tst-split-dynreloc-ENV): Likewise.
2229 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2230 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2232 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2235 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2237 (__xstat64_conv): Likewise.
2238 (__xstat32_conv): Likewise.
2240 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2243 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2244 Don't load %ebx when calling __setcontext. Call __setcontext
2245 with HIDDEN_JUMPTARGET.
2246 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2249 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2251 * sysdeps/i386/i686/Makefile
2252 [$(subdir) == string] (sysdep_routines): Moved to ...
2253 * sysdeps/i386/Makefile: Here.
2254 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2255 * sysdeps/i386/cacheinfo.c: Here.
2256 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2257 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2259 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2261 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2263 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2264 __i586__ is defined.
2265 (HAS_I686): Defined to 1 if __i686__ is defined.
2267 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2269 * elf/Makefile [$(have-z-execstack) = yes]
2270 (CPPFLAGS-tst-execstack.c): New variable.
2272 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2273 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2274 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2275 UTMPX || _HAVE_UT_TV].
2276 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2277 UTMPX || _HAVE_UT_TV - 0].
2279 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2281 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2282 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2283 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2285 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2287 * sysdeps/powerpc/dl-procinfo.c:
2288 (_dl_powerpc_cap_flags): Added missing strings for some
2290 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2292 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2294 Port the 0x7efe...feff pattern to GCC 6.
2295 See Steve Ellcey's bug report in:
2296 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2297 * string/memrchr.c (MEMRCHR):
2298 * string/rawmemchr.c (RAWMEMCHR):
2299 * string/strchr.c (strchr):
2300 * string/strchrnul.c (STRCHRNUL):
2301 Rewrite code to avoid issues with signed shift overflow.
2303 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2305 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2306 whether cpuid is available only if HAS_CPUID is 0.
2307 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2308 (HAS_I586): Likewise.
2309 (HAS_I686): Likewise.
2311 2015-08-18 Zack Weinberg <zackw@panix.com>
2313 * misc/Versions (libc): Add GLIBC_2.23.
2315 2015-08-18 Alan Modra <amodra@gmail.com>
2318 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2320 (_start): Load %dp via .Lp__global.
2321 [!SHARED]: Use .section .rodata.
2323 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2325 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2326 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2328 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2330 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2331 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2333 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2335 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2336 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2338 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2340 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2341 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2343 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2345 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2346 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2348 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2350 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2351 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2353 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2355 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2357 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2359 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2360 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2361 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2362 (__ASSUME_LWS_CAS): Delete.
2364 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2366 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2367 * sysdeps/hppa/configure: Regenerated.
2368 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2369 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2370 * sysdeps/hppa/nptl/tls.h: Likewise.
2372 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2375 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2376 for scaling up small arguments.
2377 * math/s_csqrtf.c (__csqrtf): Likewise.
2378 * math/s_csqrtl.c (__csqrtl): Likewise.
2379 * math/auto-libm-test-in: Add more tests of csqrt.
2380 * math/auto-libm-test-out: Regenerated.
2382 2015-08-17 Andreas Schwab <schwab@suse.de>
2384 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2385 version set GLIBC_2.19.
2387 2015-08-16 Zack Weinberg <zackw@panix.com>
2390 * misc/regexp.h: This interface is no longer supported.
2391 Remove all contents, leaving only an #error directive.
2392 * misc/regexp.c (loc1, loc2, locs, step, advance):
2393 Demote to compatibility symbols.
2395 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2398 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2399 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2400 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2401 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2402 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2403 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2404 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2405 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2406 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2408 2015-08-15 Zack Weinberg <zackw@panix.com>
2411 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2412 buffer length is known to be too large, not if it's known to be
2414 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2415 overflow at runtime, involving a length parameter, twice: once
2416 with a compile-time constant length parameter, once without.
2418 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2422 scaling x * y up instead of down.
2423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2425 * math/auto-libm-test-in: Add more tests of fma.
2426 * math/auto-libm-test-out: Regenerated.
2428 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2432 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2434 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2436 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2439 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2441 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2442 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2443 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2445 * math/auto-libm-test-out: Regenerated.
2446 * sysdeps/i386/fpu/libm-test-ulps: Update.
2447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2450 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2451 (__tanh): Force underflow exception for arguments with small
2453 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2454 (__tanhf): Force underflow exception for arguments with small
2456 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2457 (__tanhl): Force underflow exception for arguments with small
2459 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2460 (__tanhl): Force underflow exception for arguments with small
2462 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2463 (__tanhl): Force underflow exception for arguments with small
2465 * math/auto-libm-test-in: Add more tests of tanh.
2466 * math/auto-libm-test-out: Regenerated.
2467 * sysdeps/i386/fpu/libm-test-ulps: Update.
2469 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2471 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2472 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2474 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2476 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2479 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2481 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2482 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2484 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2486 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2487 Remove $(objpfx)init-arch.o.
2488 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2490 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2491 (INIT_ARCH_EXT): Defined as empty.
2492 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2493 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2494 __init_cpu_features call. Replace HAS_XXX with
2495 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2496 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2497 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2498 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2499 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2500 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2501 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2502 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2503 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2504 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2505 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2506 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2507 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2508 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2510 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2511 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2512 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2513 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2514 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2515 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2516 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2517 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2518 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2519 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2520 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2521 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2522 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2523 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2524 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2526 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2527 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2528 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2529 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2530 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2532 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2534 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2535 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2536 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2537 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2539 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2540 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2541 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2542 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2543 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2544 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2545 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2546 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2547 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2548 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2549 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2550 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2551 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2552 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2553 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2554 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2555 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2556 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2557 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2558 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2559 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2561 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2562 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2564 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2565 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2566 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2567 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2568 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2570 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2571 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2572 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2573 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2576 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2578 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2581 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2584 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2585 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2587 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2588 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2591 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2592 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2593 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2594 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2595 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2596 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2597 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2598 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2599 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2601 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2602 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2603 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2604 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2605 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2606 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2607 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2608 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2609 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2610 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2611 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2612 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2613 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2614 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2615 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2616 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2617 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2618 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2619 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2620 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2621 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2622 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2624 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2626 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2627 (dl_platform_init): Call init_cpu_features.
2628 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2629 * sysdeps/i386/i686/cacheinfo.c
2630 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2631 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2632 * sysdeps/i386/i686/multiarch/Versions: Removed.
2633 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2635 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2636 * sysdeps/unix/sysv/linux/x86/Makefile
2637 (libpthread-sysdep_routines): Remove init-arch.
2638 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2639 <sysdeps/x86_64/dl-procinfo.c> instead of
2640 sysdeps/generic/dl-procinfo.c>.
2641 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2642 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2643 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2644 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2645 [$(subdir) == elf] (tests-static): Add
2646 tst-get-cpu-features-static.
2647 * sysdeps/x86/Versions: New file.
2648 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2649 * sysdeps/x86/cpu-features.c: Likewise.
2650 * sysdeps/x86/cpu-features.h: Likewise.
2651 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2652 * sysdeps/x86/libc-start.c: Likewise.
2653 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2654 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2655 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2656 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2657 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2658 Assume USE_MULTIARCH is defined and don't check it.
2659 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2661 (max_cpuid): Likewise.
2662 (intel_check_word): Likewise.
2663 (__cache_sysconf): Don't call __init_cpu_features.
2664 (__x86_preferred_memory_instruction): Removed.
2665 (init_cacheinfo): Don't call __init_cpu_features. Replace
2666 __cpu_features with GLRO(dl_x86_cpu_features).
2667 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2668 (dl_platform_init): Call init_cpu_features.
2669 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2670 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2671 * sysdeps/x86_64/multiarch/Versions: Removed.
2672 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2673 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2674 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2676 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2678 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2681 * libio/Makefile (test-fmemopen-mem): New test.
2682 * libio/test-fmemopen.c (do_bz18820): New test.
2683 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2684 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2686 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2689 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2691 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2692 * libio/genops.c (_IO_setb): Use malloc and free directly.
2693 (_IO_default_doallocate, _IO_default_finish): Likewise.
2694 ( _IO_unbuffer_all): Likewise.
2695 ( libc_freeres_fn): Likewise.
2696 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2697 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2698 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2699 (_IO_wdefault_doallocate): Likewise.
2701 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2704 * sysdeps/posix/nice.c (nice): Restore old errno.
2705 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2707 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2711 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2713 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2714 __bcopy and add a weak_alias to bcopy.
2715 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2718 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2719 cleanup macro usage.
2720 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2721 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2722 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2725 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2726 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2728 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2731 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2732 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2733 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2734 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2735 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2736 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2737 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2738 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2740 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2742 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2744 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2745 (sysdep_routines): Add strstr-ppc64.
2746 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2748 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2751 * elf/Makefile (tests): Add Add tst-nodelete2.
2752 (modules-names): Add tst-nodelete2mod.
2753 (tst-nodelete2mod.so-no-z-defs): New.
2754 ($(objpfx)tst-nodelete2): Likewise.
2755 ($(objpfx)tst-nodelete2.out): Likewise.
2756 (LDFLAGS-tst-nodelete2): Likewise.
2757 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2758 out of loop through all loaded libraries.
2759 * elf/tst-nodelete2.c: New file.
2760 * elf/tst-nodelete2mod.c: Likewise.
2761 * elf/tst-znodelete-zlib.cc: Delete.
2763 2015-08-11 Andreas Schwab <schwab@suse.de>
2765 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2766 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2767 (__openat64_nocancel): Likewise.
2769 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2771 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2772 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2773 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2774 * math/auto-libm-test-out: Regenerated.
2775 * sysdeps/i386/fpu/libm-test-ulps: Update.
2776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2782 threshold for returning +/- 1.
2783 * math/auto-libm-test-in: Add more tests of tanh.
2784 * math/auto-libm-test-out: Regenerated.
2785 * sysdeps/i386/fpu/libm-test-ulps: Update.
2787 2015-08-10 Andreas Schwab <schwab@suse.de>
2790 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2791 MORE_OFLAGS to oflag.
2792 * io/test-lfs.c (do_test): Test openat64.
2794 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2798 smaller threshold for returning the argument.
2799 * math/auto-libm-test-in: Add more tests of sinh.
2800 * math/auto-libm-test-out: Regenerated.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2806 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2809 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2811 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2812 (generated): Don't add $(addprefix z.,$(tzfiles)).
2814 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2816 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2817 * scripts/sysd-rules.awk: Likewise.
2819 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2821 * iconvdata/tst-tables.sh: Change echo -n to printf.
2822 * nss/db-Makefile: Likewise.
2823 * posix/tst-getconf.sh: Likewise.
2824 * stdio-common/tst-unbputc.sh: Likewise.
2826 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2828 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2829 MADV_*_PAGES defines behind this feature check.
2831 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2834 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2835 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2837 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2838 LOAD_REGS_5, LOAD_REGS_6): Update.
2839 (INTERNAL_SYSCALL): Update using new LOAD defines.
2840 (INTERNAL_SYSCALL_NCS): Likewise.
2841 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2843 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2846 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2848 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2851 * catgets/Makefile (tst-catgets-mem): New test.
2852 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2853 * catgets/open_catalog.c (__open_catalog): Likewise.
2854 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2856 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2859 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2861 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2862 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2863 Cast return to __typeof (oldval).
2865 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2867 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2868 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2869 and delete sys/syscall.h include.
2871 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2874 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2875 (tan): Force underflow exception for arguments with small absolute
2877 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2878 (__kernel_tanf): Force underflow exception for arguments with
2879 small absolute value.
2880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2881 (__kernel_tanl): Force underflow exception for arguments with
2882 small absolute value.
2883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2884 (__kernel_tanl): Force underflow exception for arguments with
2885 small absolute value.
2886 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2887 (__kernel_tanl): Force underflow exception for arguments with
2888 small absolute value.
2889 * math/auto-libm-test-in: Add more tests of tan.
2890 * math/auto-libm-test-out: Regenerated.
2892 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2894 Fix sysdeps/i386/fpu/s_scalbn.S build
2896 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2898 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2900 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2902 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2904 Fix gcrt0.o compilation
2906 When static-start-installed-name is different from
2907 start-installed-name, we must not use the shared objects.
2910 (extra-objs): Add gmon-start.o when building shared library and
2911 $(static-start-installed-name) is different from
2912 $(start-installed-name).
2913 $(objpfx)g$(static-start-installed-name): When building shared
2914 library and $(static-start-installed-name) is different from
2915 $(static-start-installed-name), revert to non-shared rule,
2916 i.e. using $(objpfx)% and gmon-start.o.
2918 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2921 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2922 (__ieee754_sinh): Force underflow exception for arguments with
2923 small absolute value.
2924 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2925 (__ieee754_sinhf): Force underflow exception for arguments with
2926 small absolute value.
2927 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2928 (__ieee754_sinhl): Force underflow exception for arguments with
2929 small absolute value.
2930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2931 (__ieee754_sinhl): Force underflow exception for arguments with
2932 small absolute value.
2933 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2934 (__ieee754_sinhl): Force underflow exception for arguments with
2935 small absolute value.
2936 * math/auto-libm-test-in: Add more tests of sinh.
2937 * math/auto-libm-test-out: Regenerated.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2942 * libio/oldfileops.c: Include unistd.h.
2944 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2946 * stdlib/isomac.c: Include ctype.h.
2948 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2950 * dirent/tst-seekdir.c (main): Converted to ...
2951 (do_test): ... this.
2952 (TEST_FUNCTION): New macro.
2953 Include test-skeleton.c.
2954 * elf/tst-dlmodcount.c (main): Converted to ...
2955 (do_test): ... this.
2956 (TEST_FUNCTION): New macro.
2957 Include test-skeleton.c.
2958 * elf/tst-order-main.c (main): Converted to ...
2959 (do_test): ... this.
2960 (TEST_FUNCTION): New macro.
2961 Include test-skeleton.c.
2962 * elf/tst-pie2.c (main): Converted to ...
2963 (do_test): ... this.
2964 (TEST_FUNCTION): New macro.
2965 Include test-skeleton.c.
2966 * inet/tst-ether_aton.c (main): Converted to ...
2967 (do_test): ... this.
2968 (TEST_FUNCTION): New macro.
2969 Include test-skeleton.c.
2970 * misc/tst-mntent.c (main): Converted to ...
2971 (do_test): ... this.
2972 (TEST_FUNCTION): New macro.
2973 Include test-skeleton.c.
2974 * misc/tst-tsearch.c (main): Converted to ...
2975 (do_test): ... this.
2976 (TEST_FUNCTION): New macro.
2977 Include test-skeleton.c.
2978 * posix/tst-regexloc.c (main): Converted to ...
2979 (do_test): ... this.
2980 (TEST_FUNCTION): New macro.
2981 Include test-skeleton.c.
2982 * resolv/tst-aton.c (main): Converted to ...
2983 (do_test): ... this.
2984 (TEST_FUNCTION): New macro.
2985 Include test-skeleton.c.
2986 * stdio-common/test-fwrite.c (main): Converted to ...
2987 (do_test): ... this.
2988 (TEST_FUNCTION): New macro.
2989 Include test-skeleton.c.
2990 * stdio-common/tst-ferror.c (main): Converted to ...
2991 (do_test): ... this.
2992 (TEST_FUNCTION): New macro.
2993 Include test-skeleton.c.
2994 * stdio-common/tst-printf.c (main): Converted to ...
2995 (do_test): ... this.
2996 (TEST_FUNCTION): New macro.
2997 Include test-skeleton.c.
2998 * stdio-common/tst-printfsz.c (main): Converted to ...
2999 (do_test): ... this.
3000 (TEST_FUNCTION): New macro.
3001 Include test-skeleton.c.
3002 * stdlib/tst-strtod.c (main): Converted to ...
3003 (do_test): ... this.
3004 (TEST_FUNCTION): New macro.
3005 Include test-skeleton.c.
3006 * string/tst-strlen.c (main): Converted to ...
3007 (do_test): ... this.
3008 (TEST_FUNCTION): New macro.
3009 Include test-skeleton.c.
3010 * string/tst-svc.c (main): Converted to ...
3011 (do_test): ... this.
3012 (TEST_FUNCTION): New macro.
3013 Include test-skeleton.c.
3014 * time/tst-strptime.c (main): Converted to ...
3015 (do_test): ... this.
3016 (TEST_FUNCTION): New macro.
3017 Include test-skeleton.c.
3018 * timezone/tst-timezone.c (main): Converted to ...
3019 (do_test): ... this.
3020 (TEST_FUNCTION): New macro.
3021 Include test-skeleton.c.
3023 2015-08-05 Zack Weinberg <zackw@panix.com>
3025 * misc/regexp.h: Update comments.
3027 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3030 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3031 before return label.
3033 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3036 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3037 when calling __errno_location.
3038 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3039 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3041 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3044 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3045 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3048 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3051 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3052 (__start_context): Don't use pop to restore %rdi so that stack
3053 is aligned to 16 bytes when calling __setcontext.
3055 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3057 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3059 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3061 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3063 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3064 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3065 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3067 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3069 * string/memccpy.c (memccpy):
3070 Improve performance by using memchr/memcpy/__mempcpy.
3072 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3074 * string/strncpy.c (strncpy):
3075 Improve performance by using __strnlen/memcpy.
3077 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3079 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3080 Optimize to avoid an unnecessary FPCR read.
3082 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3084 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3085 Optimize to reduce FPCR/FPSR accesses.
3087 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3089 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3090 dead->data[category] != NULL.
3092 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3095 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3096 and |x| close to 1, use absolute value of x when computing log.
3097 * math/auto-libm-test-in: Add more tests of pow.
3098 * math/auto-libm-test-out: Regenerated.
3100 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3102 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3103 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3104 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3106 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3109 * locales/km_KH: Remove timezone definition.
3110 * locales/lo_LA: Likewise.
3111 * locales/my_MM: Likewise.
3112 * locales/nan_TW@latin: Likewise.
3113 * locales/th_TH: Likewise.
3114 * locales/uk_UA: Likewise.
3116 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3119 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3120 (wcsncat): Likewise.
3122 (wcsncmp): Likewise.
3124 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3126 * test-skeleton.c (usage): New function.
3127 (main): Call usage when opt is '?'.
3129 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3131 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3134 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3136 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3137 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3140 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3142 * version.h (RELEASE): Set to "development".
3143 (VERSION): Set to "2.22.90"
3145 * version.h (RELEASE): Set to "stable".
3146 (VERSION): Set to "2.22"
3147 * include/features.h (__GLIBC_MINOR__): Set to 22.
3149 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3151 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3152 Restructure macro to avoid "value computed is not used" warning.
3153 (atomic_compare_and_exchange_val_acq): Likewise.
3155 2015-08-04 Andreas Schwab <schwab@suse.de>
3158 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3160 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3162 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3164 * po/pl.po: Updated translation.
3165 * po/uk.po: Likewise.
3166 * po/fi.po: Likewise.
3167 * po/ko.po: Likewise.
3168 * po/ru.po: Likewise.
3169 * po/vi.po: Likewise.
3171 2015-07-31 Zack Weinberg <zackw@panix.com>
3174 * regexp.h: Add unconditional #warning stating that this header
3175 will be removed soon. Revise banner comment to match.
3176 (compile): Consistently use ERROR instead of RETURN to report
3177 errors (partial fix for bz#18681).
3178 * regexp.c: Don't include regexp.h. Remove some unnecessary
3181 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3183 * po/libc.pot: Regenerated.
3185 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3188 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3189 float-vlen4-arch-ext-cflags): Removed.
3190 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3191 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3193 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3196 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3197 aligned to __aligned__.
3198 (pthread_cond_t, pthread_rwlock_t): Likewise.
3200 2015-07-30 Torvald Riegel <triegel@redhat.com>
3202 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3204 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3206 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3207 (struct sigaction): Change sa_flags from a long to an int, and add
3208 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3210 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3212 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3213 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3214 sysdeps/generic/sysdep.h include.
3215 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3216 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3217 sysdeps/hppa/sysdep.h.
3218 (ENTRY, PSEUDO): Undefine before defining.
3220 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3222 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3223 from scratch to use INTERNAL_SYSCALL.
3225 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3228 * scripts/check-localplt.awk: Support alternate relocations.
3229 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3231 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3232 malloc entries with + REL R_386_GLOB_DAT.
3233 * sysdeps/x86_64/localplt.data: New file.
3235 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3238 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3239 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3240 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3242 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3244 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3246 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3248 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3249 directly in terms of __sync_fetch_and_add and delete (int) cast.
3251 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3253 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3254 the -D_ASM_IA64_CURRENT_H flag.
3256 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3259 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3261 2015-07-27 Andreas Schwab <schwab@suse.de>
3263 * conform/conformtest.pl (checknamespace): Filter out string
3264 literals while tokenizing.
3266 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3268 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3269 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3270 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3272 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3274 * nptl/tst-join7mod.c: Add #include <string.h>.
3276 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3278 * sysdeps/nios2/libm-test-ulps: Update.
3280 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3282 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3283 Fix order of arguments to the rt_sigprocmask syscall.
3284 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3287 2015-07-24 Roland McGrath <roland@hack.frob.com>
3289 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3291 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * nptl/Makefile (tests): New test case tst-join7.
3295 (modules-names): New test case module tst-join7mod.
3296 * nptl/tst-join7.c: New file.
3297 * nptl/tst-join7mod.c: New file.
3298 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3299 all translation units in libc.so, libpthread.so and rtld.
3301 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3305 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3307 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3308 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3309 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3310 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3311 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3312 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3313 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3314 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3315 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3316 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3317 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3318 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3319 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3320 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3321 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3324 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3327 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3328 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3329 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3330 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3331 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3332 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3334 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3336 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3337 instead of just saying load lock in the comments.
3339 2015-07-23 Roland McGrath <roland@hack.frob.com>
3341 * sysdeps/unix/Subdirs: Moved ...
3342 * sysdeps/posix/Subdirs: ... here.
3343 * login/pty.h (struct termios, struct winsize): Add forward decls.
3344 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3345 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3346 * sysdeps/arm/nacl/libc.abilist: Updated.
3347 * sysdeps/nacl/libutil.abilist: New file.
3349 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3350 (SIGWINCH): New macro.
3352 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3353 * sysdeps/arm/nacl/libc.abilist: Add it.
3355 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3357 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3359 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3361 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3362 Swap __glibc_reserved0 and sa_flags order.
3364 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3367 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3368 are pending TLS destructor calls.
3369 * include/link.h (struct link_map): Add concurrency note for
3371 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3372 Don't touch the link map flag. Atomically increment
3374 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3375 Avoid taking the load lock and don't touch the link map flag.
3376 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3377 * stdlib/Makefile (tests): Use it.
3378 * stdlib/tst-tls-atexit.c (do_test): dlopen
3379 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3380 to allow tst-tls-atexit-nodelete test case to use it.
3382 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3384 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3386 (msgqnum_t): New typedef.
3387 (msglen_t): Likewise.
3388 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3389 and msg_qbytes type to msglen_t.
3391 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3393 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3394 pad0 to __glibc_reserved0.
3395 (struct stat64): Likewise.
3397 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3399 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3400 Change sa_flags from a long to an int and add __glibc_reserved0 before
3403 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3405 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3406 anonymous by deleting "siginfo" name.
3408 2015-07-21 Roland McGrath <roland@hack.frob.com>
3410 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3411 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3412 rather than __nacl_irt_filename.
3413 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3415 * NEWS: New item for arm-nacl port.
3416 * sysdeps/arm/nacl/libc.abilist: New file.
3417 * sysdeps/nacl/ld.abilist: New file.
3418 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3419 * sysdeps/nacl/libanl.abilist: New file.
3420 * sysdeps/nacl/libcrypt.abilist: New file.
3421 * sysdeps/nacl/libdl.abilist: New file.
3422 * sysdeps/nacl/libm.abilist: New file.
3423 * sysdeps/nacl/libpthread.abilist: New file.
3424 * sysdeps/nacl/libresolv.abilist: New file.
3425 * sysdeps/nacl/librt.abilist: New file.
3427 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3429 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3430 __startcontext to initialize the new context.
3431 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3432 up CFI directive to forbid further backtracing.
3434 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3436 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3438 * charmaps/ANSI_X3.4-1968: Likewise.
3439 * charmaps/BS_4730: Likewise.
3440 * charmaps/BS_VIEWDATA: Likewise.
3441 * charmaps/CP1250: Likewise.
3442 * charmaps/CP1251: Likewise.
3443 * charmaps/CP1252: Likewise.
3444 * charmaps/CP1253: Likewise.
3445 * charmaps/CP1254: Likewise.
3446 * charmaps/CP1255: Likewise.
3447 * charmaps/CP1256: Likewise.
3448 * charmaps/CSN_369103: Likewise.
3449 * charmaps/EBCDIC-DK-NO: Likewise.
3450 * charmaps/GB_1988-80: Likewise.
3451 * charmaps/GREEK-CCITT: Likewise.
3452 * charmaps/GREEK7: Likewise.
3453 * charmaps/INIS-8: Likewise.
3454 * charmaps/ISIRI-3342: Likewise.
3455 * charmaps/ISO_2033-1983: Likewise.
3456 * charmaps/ISO_5427-EXT: Likewise.
3457 * locales/POSIX: Likewise.
3458 * locales/ar_SA: Likewise.
3459 * locales/be_BY: Likewise.
3460 * locales/be_BY@latin: Likewise.
3461 * locales/ca_ES: Likewise.
3462 * locales/cs_CZ: Likewise.
3463 * locales/da_DK: Likewise.
3464 * locales/de_BE: Likewise.
3465 * locales/de_CH: Likewise.
3466 * locales/de_LU: Likewise.
3467 * locales/en_AU: Likewise.
3468 * locales/en_BW: Likewise.
3469 * locales/en_CA: Likewise.
3470 * locales/en_DK: Likewise.
3471 * locales/en_GB: Likewise.
3472 * locales/en_IE: Likewise.
3473 * locales/en_NZ: Likewise.
3474 * locales/en_ZA: Likewise.
3475 * locales/en_ZW: Likewise.
3476 * locales/es_AR: Likewise.
3477 * locales/es_BO: Likewise.
3478 * locales/es_CL: Likewise.
3479 * locales/es_CO: Likewise.
3480 * locales/es_DO: Likewise.
3481 * locales/es_EC: Likewise.
3482 * locales/es_ES: Likewise.
3483 * locales/es_HN: Likewise.
3484 * locales/es_MX: Likewise.
3485 * locales/es_PA: Likewise.
3486 * locales/es_PE: Likewise.
3487 * locales/es_PY: Likewise.
3488 * locales/es_SV: Likewise.
3489 * locales/es_US: Likewise.
3490 * locales/es_UY: Likewise.
3491 * locales/es_VE: Likewise.
3492 * locales/et_EE: Likewise.
3493 * locales/fa_IR: Likewise.
3494 * locales/fo_FO: Likewise.
3495 * locales/fr_CA: Likewise.
3496 * locales/fr_CH: Likewise.
3497 * locales/gv_GB: Likewise.
3498 * locales/he_IL: Likewise.
3499 * locales/hr_HR: Likewise.
3500 * locales/id_ID: Likewise.
3501 * locales/is_IS: Likewise.
3502 * locales/it_CH: Likewise.
3503 * locales/iw_IL: Likewise.
3504 * locales/kl_GL: Likewise.
3505 * locales/ko_KR: Likewise.
3506 * locales/kw_GB: Likewise.
3507 * locales/lg_UG: Likewise.
3508 * locales/lt_LT: Likewise.
3509 * locales/lv_LV: Likewise.
3510 * locales/mi_NZ: Likewise.
3511 * locales/nhn_MX: Likewise.
3512 * locales/nl_BE: Likewise.
3513 * locales/pl_PL: Likewise.
3514 * locales/sk_SK: Likewise.
3515 * locales/sl_SI: Likewise.
3516 * locales/sv_FI: Likewise.
3517 * locales/tl_PH: Likewise.
3518 * locales/tr_TR: Likewise.
3519 * locales/vi_VN: Likewise.
3521 2015-07-21 Khem Raj <raj.khem@gmail.com>
3524 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3527 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3530 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3532 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3534 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3536 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3537 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3538 (spawn_thread): New function.
3539 (load): Rename to reg_dtor_and_close. Move dlopen to...
3540 (do_test): ... here. Use IS_LOADED to test for its
3543 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3545 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3547 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3550 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3553 (si_upper): Likewise.
3555 2015-07-16 David S. Miller <davem@davemloft.net>
3557 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3559 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3561 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3563 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3564 fail output information.
3566 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3571 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3572 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3573 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3574 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3576 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3578 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3579 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3580 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3581 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3583 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3585 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3586 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3588 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3590 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3592 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3595 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3598 * elf/tst-nodelete-opened.c: New test case.
3599 * elf/tst-nodelete-opened-lib.c: New test case module.
3600 * elf/Makefile (tests, modules-names): Use them.
3601 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3604 2015-07-15 David S. Miller <davem@davemloft.net>
3606 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3608 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3609 * sysdeps/sparc/sparc64/Makefile: Likewise.
3610 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3611 Remove space from macro define.
3612 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3614 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3617 * locale/iso-639.def: Update Bhili and Tulu language codes as
3620 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3622 * elf/tst-leaks1.c (main): Converted to ...
3623 (do_test): ... this.
3624 (TEST_FUNCTION): New macro.
3625 Include test-skeleton.c.
3626 * localedata/tst-langinfo.c (main): Converted to ...
3627 (do_test): ... this.
3628 (TEST_FUNCTION): New macro.
3629 Include test-skeleton.c.
3630 * math/test-fpucw.c (main): Converted to ...
3631 (do_test): ... this.
3632 (TEST_FUNCTION): New macro.
3633 Include test-skeleton.c.
3634 * math/test-tgmath.c (main): Converted to ...
3635 (do_test): ... this.
3636 (TEST_FUNCTION): New macro.
3637 Include test-skeleton.c.
3638 * math/test-tgmath2.c (main): Converted to ...
3639 (do_test): ... this.
3640 (TEST_FUNCTION): New macro.
3641 Include test-skeleton.c.
3642 * setjmp/tst-setjmp.c (main): Converted to ...
3643 (do_test): ... this.
3644 (TEST_FUNCTION): New macro.
3645 Include test-skeleton.c.
3646 * stdio-common/tst-sscanf.c (main): Converted to ...
3647 (do_test): ... this.
3648 (TEST_FUNCTION): New macro.
3649 Include test-skeleton.c.
3650 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3651 (do_test): ... this.
3652 (TEST_FUNCTION): New macro.
3653 Include test-skeleton.c.
3655 * elf/tst-audit9.c (main): Converted to ...
3656 (do_test): ... this.
3657 (TEST_FUNCTION): New macro.
3658 Include test-skeleton.c.
3660 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3662 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3664 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3666 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3669 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3671 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3673 2015-07-14 Roland McGrath <roland@hack.frob.com>
3675 * sysdeps/generic/dl-fileid.h: New file.
3676 * sysdeps/posix/dl-fileid.h: New file.
3677 * sysdeps/nacl/dl-fileid.h: New file.
3678 * include/link.h: Include <dl-fileid.h>.
3679 (struct link_map): Replace l_dev and l_ino with l_file_id.
3680 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3681 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3682 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3684 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3686 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3688 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3690 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3691 Add iff $CXX is set.
3692 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3694 (tst-nodelete-zmodiff): Likewise.
3695 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3697 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3699 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3701 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3703 * sysdeps/aarch64/fpu/math_private.h
3704 (define math_opt_barrier): Add AArch64 version.
3705 (math_force_eval): Likewise.
3707 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3709 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3711 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3713 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3714 %ld with %jd and cast to intmax_t.
3715 (do_test_length_zero): Likewise.
3717 2015-07-10 Roland McGrath <roland@hack.frob.com>
3719 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3721 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3723 * sysdeps/tile/libm-test-ulps: Regenerated.
3725 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3726 Comment out the whole function, not just its body.
3728 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3730 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3733 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3735 2015-07-10 Torvald Riegel <triegel@redhat.com>
3737 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3738 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3740 2015-07-10 Torvald Riegel <triegel@redhat.com>
3742 * sysdeps/nptl/futex-internal.h: New file.
3743 * sysdeps/nacl/futex-internal.h: New file.
3744 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3745 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3747 (setxid_unmark_thread): Likewise.
3748 (__nptl_setxid): Likewise.
3749 (__wait_lookup_done): Likewise.
3750 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3751 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3752 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3753 * nptl/pthread_once.c (clear_once_control): Likewise.
3754 (__pthread_once_slow): Likewise.
3755 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3756 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3757 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3758 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3759 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3760 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3762 (__pthread_rwlock_rdlock): Likewise.
3763 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3765 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3767 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3769 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3770 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3772 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3773 __ASSUME_PRIVATE_FUTEX check.
3774 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3775 Check that shared futexes are supported.
3776 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3777 wrappers with error checking.
3778 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3779 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3780 * nptl/pthread_barrierattr_setpshared.c
3781 (pthread_barrierattr_setpshared): Check that shared futexes are
3783 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3785 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3787 * nptl/sem_init.c (futex_private_if_supported): Remove.
3788 (__new_sem_init): Adapt and check that shared futexes are supported.
3789 * nptl/sem_open.c (sem_open): Likewise.
3790 * nptl/sem_post.c (futex_wake): Remove.
3791 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3792 (do_futex_wait): Use futex wrappers with error checking.
3793 * nptl/sem_wait.c: Include lowlevellock.h.
3794 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3795 Use futex_supports_pshared.
3796 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3797 Use futex wrappers with error checking.
3798 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3800 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3801 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3802 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3803 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3804 (futex_wake): Likewise.
3805 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3806 (do_futex_wait): Use futex wrappers with error checking.
3807 (__new_sem_wait_slow): Update EINTR handling.
3808 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3810 2015-07-09 Martin Sebor <msebor@redhat.com>
3813 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3814 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3815 * nptl/Makefile (test-xfail-tst-once5): Define.
3817 2015-07-09 Roland McGrath <roland@hack.frob.com>
3819 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3820 * elf/dl-minimal.c: For readability, reorder some definitions and
3821 introduce more page breaks. Include <stdio.h>.
3822 (__libc_fatal): New function.
3824 * include/unistd.h: Add rtld_hidden_proto for _exit.
3825 * posix/_exit.c: Add rtld_hidden_def.
3826 * sysdeps/mach/hurd/_exit.c: Likewise.
3827 * sysdeps/nacl/_exit.c: Likewise.
3828 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3829 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3831 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3834 bndmov encoding with zero displacement.
3836 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3837 H.J. Lu <hongjiu.lu@intel.com>
3840 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3841 * sysdeps/i386/configure: Regenerated.
3842 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3843 (_dl_runtime_profile): Save and restore Intel MPX return bound
3844 registers when calling _dl_call_pltexit. Add
3845 PRESERVE_BND_REGS_PREFIX before return.
3846 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3847 (LRV_BND1_OFFSET): Likewise.
3848 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3851 typo in bndmov encoding.
3852 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3853 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3854 branch instructions to preserve bounds.
3856 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3859 [GLIBC_2.22]: Add fmemopen.
3861 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3863 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3864 returns an error, also try to use host port from __mach_host_self for
3866 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3868 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3872 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3873 Fix pr_uid and pr_gid members.
3874 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3875 definition to elf_greg_t.
3877 2015-07-08 Roland McGrath <roland@hack.frob.com>
3880 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3881 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3882 * sysdeps/arm/configure: Regenerated.
3883 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3884 (test-xfail-tst-tlsalign-static): Variable removed.
3886 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3887 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3888 rather than explicit 'ln -s'.
3890 * resolv/rpc/netdb.h: New file.
3891 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3893 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3895 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3897 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3906 * include/stdio.h (fmemopen): Remove hidden prototype.
3907 (__fmemopen): Add new hidden prototype.
3908 * libio/Makefile: Add oldfmemopen object.
3909 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3910 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3912 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3913 symbol compatibility.
3914 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3915 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3917 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3918 on append and read mode.
3919 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3921 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3922 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3923 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3924 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3926 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3927 [GLIBC_2.22]: Likewise.
3928 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3930 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3932 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3933 [GLIBC_2.22]: Likewise.
3934 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3935 [GLIBC_2.22]: Likewise.
3936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3937 [GLIBC_2.22]: Likewise.
3938 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3939 [GLIBC_2.22]: Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3941 [GLIBC_2.22]: Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3943 [GLIBC_2.22]: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3945 [GLIBC_2.22]: Likewise.
3946 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3948 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3950 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3951 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3952 [GLIBC_2.22]: Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3954 [GLIBC_2.22]: Likewise.
3955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3956 [GLIBC_2.22]: Likewise.
3957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3958 [GLIBC_2.22]: Likewise.
3959 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3961 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3963 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3965 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3966 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3968 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3971 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3972 IPV6_PATHMTU, and IPV6_DONTFRAG.
3974 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3976 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3978 * libio/oldfileops.c: Likewise.
3979 * libio/wfileops.c: Likewise.
3981 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3983 * nscd/selinux.c: Delete selinux/flask.h include.
3985 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3988 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3989 (putpwent): Likewise.
3990 (getpwnam): Likewise.
3991 (getpwent_r): Likewise.
3992 (getpwuid_r): Likewise.
3993 (getpwnam_r): Likewise.
3994 (fgetpwent_r): Likewise.
3996 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3999 * inet/rcmd.c (__validuser2_sa): Check user first to
4000 short-circuit host check.
4002 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4003 Mikhail Ilin <m.ilin@samsung.com>
4006 * elf/Makefile (tests): Add tst-nodelete.
4007 (modules-names): Add tst-nodelete-uniquemod.
4008 (tst-nodelete-uniquemod.so-no-z-defs): New.
4009 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4010 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4011 ($(objpfx)tst-nodelete): Likewise.
4012 ($(objpfx)tst-nodelete.out): Likewise.
4013 (LDFLAGS-tst-nodelete): Likewise.
4014 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4015 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4016 implement forced object deletion.
4017 (_dl_close): Pass false to _dl_close_worker.
4018 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4019 * elf/tst-nodelete.cc: New file.
4020 * elf/tst-nodeletelib.cc: Likewise.
4021 * elf/tst-znodeletelib.cc: Likewise.
4022 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4024 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4027 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4029 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4030 is not called infinitely times.
4031 (backtrace_helper): New function.
4032 (trace_arg): New struct.
4033 (st1): Enlarge stack size.
4034 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4035 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4036 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4039 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4041 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4043 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4045 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4046 Include sys/types.h instead of bits/types.h.
4047 Remove inclusion of bits/wordsize.h.
4049 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4051 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4052 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4053 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4054 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4055 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4056 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4058 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4060 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4062 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4063 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4064 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4066 * sysdeps/i386/link-defines.sym: New file.
4068 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4070 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4071 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4072 ($(objpfx)tst-audit3): New rule.
4073 ($(objpfx)tst-audit3.out): Likewise.
4074 * sysdeps/i386/tst-audit3.c: New file.
4075 * sysdeps/i386/tst-audit3.h: Likewise.
4076 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4077 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4079 2015-07-07 Torvald Riegel <triegel@redhat.com>
4082 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4084 (__strcat_c): Likewise.
4085 (__strcat_g): Likewise.
4087 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4090 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4092 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4094 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4095 New function. (__ieee754_sqrtf): New function.
4096 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4098 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4101 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4103 * sysdeps/ieee754/support.c: Remove unused file.
4105 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4107 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4108 registers instead of d ones so the layout is kernel abi compatible.
4109 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4110 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4113 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4115 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4117 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4120 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4121 and return argument in case of subnormal argument.
4123 2015-07-01 Martin Sebor <msebor@redhat.com>
4126 * nptl/Makefile: Add tst-once5.cc.
4127 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4128 Remove macro redefinitions.
4129 * nptl/tst-once5.cc: New test.
4131 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4133 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4135 * sysdeps/arm/libm-test-ulps: Regenerated.
4137 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4138 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4140 2015-06-30 Torvald Riegel <triegel@redhat.com>
4142 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4143 lll_lock_wait_private and lll_futex_wake probes.
4145 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4148 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4150 * sysdeps/x86_64/bits/atomic.h: Likewise.
4151 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4152 to atomic_spin_nop and move ...
4153 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4155 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4156 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4157 atomic_spin_nop instead of BUSY_WAIT_NOP.
4158 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4160 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4161 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4162 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4163 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4164 instead of atomic_delay.
4166 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4169 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4170 X_ADJ not X when adjusting exponent.
4171 (__ieee754_gamma_r): Do intermediate computations in
4172 round-to-nearest then adjust overflowing and underflowing results
4174 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4175 of X_ADJ not X when adjusting exponent.
4176 (__ieee754_gammaf_r): Do intermediate computations in
4177 round-to-nearest then adjust overflowing and underflowing results
4179 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4180 log of X_ADJ not X when adjusting exponent.
4181 (__ieee754_gammal_r): Do intermediate computations in
4182 round-to-nearest then adjust overflowing and underflowing results
4183 as needed. Use 1.0L not 1.0f as numerator of division.
4184 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4185 log of X_ADJ not X when adjusting exponent.
4186 (__ieee754_gammal_r): Do intermediate computations in
4187 round-to-nearest then adjust overflowing and underflowing results
4188 as needed. Use 1.0L not 1.0f as numerator of division.
4189 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4190 of X_ADJ not X when adjusting exponent.
4191 (__ieee754_gammal_r): Do intermediate computations in
4192 round-to-nearest then adjust overflowing and underflowing results
4193 as needed. Use 1.0L not 1.0f as numerator of division.
4194 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4195 to auto-libm-test-in.
4196 (tgamma_test): Use ALL_RM_TEST.
4197 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4198 tests of tgamma with spurious-overflow.
4199 * math/auto-libm-test-out: Regenerated.
4200 * math/gen-libm-have-vector-test.sh: Do not check for START.
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4206 arguments, just return 0.5 times the argument, with underflow
4208 * math/auto-libm-test-in: Add more tests of j1.
4209 * math/auto-libm-test-out: Regenerated.
4212 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4213 (__ieee754_j1): Force underflow exception for small results.
4214 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4215 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4216 (__ieee754_j1f): Force underflow exception for small results.
4217 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4218 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4221 (__ieee754_j1l): Force underflow exception for small results.
4222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4223 * math/auto-libm-test-in: Add more tests of j1 and jn.
4224 * math/auto-libm-test-out: Regenerated.
4226 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4227 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4228 (PF_MPLS): Likewise.
4230 (AF_MPLS): Likewise.
4231 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4233 (MS_RMT_MASK): Include MS_LAZYTIME.
4235 2015-06-26 Mel Gorman <mgorman@suse.de>
4238 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4241 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4243 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4244 (DT_MIPS_NUM): Update.
4245 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4246 DT_MIPS_RLD_MAP_REL.
4248 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4252 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4253 round-to-nearest internally then recompute results that
4254 underflowed to zero in the original rounding mode.
4255 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4256 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4259 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4260 * sysdeps/i386/fpu/libm-test-ulps: Update.
4261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4263 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4265 * NEWS: Fixed description of link with vector math library.
4267 2015-06-25 Andreas Schwab <schwab@suse.de>
4270 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4271 * libio/test-fmemopen.c (do_test): Add test for it.
4273 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4276 * Makeconfig (no-pie-ldflag): New.
4277 (+link): Set to $(+link-pie) if default to PIE.
4278 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4279 * config.make.in (build-pie-default): New.
4280 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4281 is default. AC_SUBST.
4282 * configure: Regenerated.
4283 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4285 2015-06-24 Roland McGrath <roland@hack.frob.com>
4287 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4290 * resolv/gai_misc.h (struct waitlist): Change type of field
4291 counterp to 'volatile unsigned int *'.
4292 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4293 FUTEXADDR and OLDVAL.
4294 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4295 Give local variable TOTAL type 'volatile unsigned int'.
4296 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4297 * resolv/gai_suspend.c (gai_suspend):
4298 Give local variable CNTR type 'unsigned int'.
4300 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4301 counterp to 'volatile unsigned int *'.
4302 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4303 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4304 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4305 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4306 Give local variable TOTAL type 'volatile unsigned int'.
4307 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4309 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4312 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4313 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4314 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4315 comment for i386/x86-64.
4316 (test-xfail-tst-tlsalign-extern-static): Removed.
4318 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4320 * math/test-double.h: New file.
4321 * math/test-float.h: Likewise.
4322 * math/test-ldouble.h: Likewise.
4323 * math/test-math-inline.h: Likewise.
4324 * math/test-math-no-inline.h: Likewise.
4325 * math/test-math-scalar.h: Likewise.
4326 * math/test-math-vector.h: Likewise.
4327 * math/test-vec-loop.h: Remove file. Contents moved into
4329 * math/libm-test.inc (MATHCONST): Do not document macro.
4330 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4331 and test-math-scalar.h.
4332 (FUNC): Remove macro.
4333 (FUNC_TEST): Likewise.
4335 (MATHCONST): Likewise.
4336 (PRINTF_EXPR): Likewise.
4337 (PRINTF_XEXPR): Likewise.
4338 (PRINTF_NEXPR): Likewise.
4339 (TEST_DOUBLE): Likewise.
4340 (TEST_MATHVEC): Likewise.
4341 (__NO_MATH_INLINES): Likewise.
4342 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4343 and test-math-scalar.h.
4344 (FUNC): Remove macro.
4345 (FUNC_TEST): Likewise.
4347 (MATHCONST): Likewise.
4348 (PRINTF_EXPR): Likewise.
4349 (PRINTF_XEXPR): Likewise.
4350 (PRINTF_NEXPR): Likewise.
4351 (TEST_FLOAT): Likewise.
4352 (TEST_MATHVEC): Likewise.
4353 (__NO_MATH_INLINES): Likewise.
4354 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4355 and test-math-scalar.h.
4356 (FUNC): Remove macro.
4357 (FUNC_TEST): Likewise.
4359 (MATHCONST): Likewise.
4360 (PRINTF_EXPR): Likewise.
4361 (PRINTF_XEXPR): Likewise.
4362 (PRINTF_NEXPR): Likewise.
4363 (TEST_DOUBLE): Likewise.
4364 (TEST_MATHVEC): Likewise.
4365 (TEST_INLINE): Likewise.
4366 (__NO_MATH_INLINES): Likewise.
4367 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4369 (FUNC): Remove macro.
4370 (FUNC_TEST): Likewise.
4372 (MATHCONST): Likewise.
4373 (PRINTF_EXPR): Likewise.
4374 (PRINTF_XEXPR): Likewise.
4375 (PRINTF_NEXPR): Likewise.
4376 (TEST_FLOAT): Likewise.
4377 (TEST_MATHVEC): Likewise.
4378 (TEST_INLINE): Likewise.
4379 (__NO_MATH_INLINES): Likewise.
4380 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4381 and test-math-scalar.h.
4382 (FUNC): Remove macro.
4383 (FUNC_TEST): Likewise.
4385 (MATHCONST): Likewise.
4386 (PRINTF_EXPR): Likewise.
4387 (PRINTF_XEXPR): Likewise.
4388 (PRINTF_NEXPR): Likewise.
4389 (TEST_LDOUBLE): Likewise.
4390 (TEST_MATHVEC): Likewise.
4391 (TEST_INLINE): Likewise.
4392 (__NO_MATH_INLINES): Likewise.
4393 * math/test-ldouble.c: Include test-ldouble.h,
4394 test-math-no-inline.h and test-math-scalar.h.
4395 (FUNC): Remove macro.
4396 (FUNC_TEST): Likewise.
4398 (MATHCONST): Likewise.
4399 (PRINTF_EXPR): Likewise.
4400 (PRINTF_XEXPR): Likewise.
4401 (PRINTF_NEXPR): Likewise.
4402 (TEST_LDOUBLE): Likewise.
4403 (TEST_MATHVEC): Likewise.
4404 (__NO_MATH_INLINES): Likewise.
4405 * math/test-double-vlen2.h: Include test-double.h,
4406 test-math-no-inline.h and test-math-vector.h.
4407 (FLOAT): Remove macro.
4409 (MATHCONST): Likewise.
4410 (PRINTF_EXPR): Likewise.
4411 (PRINTF_XEXPR): Likewise.
4412 (PRINTF_NEXPR): Likewise.
4413 (TEST_DOUBLE): Likewise.
4414 (TEST_MATHVEC): Likewise.
4415 (__NO_MATH_INLINES): Likewise.
4418 (WRAPPER_NAME): Likewise.
4419 (WRAPPER_DECL): Likewise.
4420 (WRAPPER_DECL_ff): Likewise.
4421 (WRAPPER_DECL_fFF): Likewise.
4422 (VECTOR_WRAPPER): Likewise.
4423 (VECTOR_WRAPPER_ff): Likewise.
4424 (VECTOR_WRAPPER_fFF): Likewise.
4425 (VEC_LEN): New macro.
4426 * math/test-double-vlen4.h: Include test-double.h,
4427 test-math-no-inline.h and test-math-vector.h.
4428 (FLOAT): Remove macro.
4430 (MATHCONST): Likewise.
4431 (PRINTF_EXPR): Likewise.
4432 (PRINTF_XEXPR): Likewise.
4433 (PRINTF_NEXPR): Likewise.
4434 (TEST_DOUBLE): Likewise.
4435 (TEST_MATHVEC): Likewise.
4436 (__NO_MATH_INLINES): Likewise.
4439 (WRAPPER_NAME): Likewise.
4440 (WRAPPER_DECL): Likewise.
4441 (WRAPPER_DECL_ff): Likewise.
4442 (WRAPPER_DECL_fFF): Likewise.
4443 (VECTOR_WRAPPER): Likewise.
4444 (VECTOR_WRAPPER_ff): Likewise.
4445 (VECTOR_WRAPPER_fFF): Likewise.
4446 (VEC_LEN): New macro.
4447 * math/test-double-vlen8.h: Include test-double.h,
4448 test-math-no-inline.h and test-math-vector.h.
4449 (FLOAT): Remove macro.
4451 (MATHCONST): Likewise.
4452 (PRINTF_EXPR): Likewise.
4453 (PRINTF_XEXPR): Likewise.
4454 (PRINTF_NEXPR): Likewise.
4455 (TEST_DOUBLE): Likewise.
4456 (TEST_MATHVEC): Likewise.
4457 (__NO_MATH_INLINES): Likewise.
4460 (WRAPPER_NAME): Likewise.
4461 (WRAPPER_DECL): Likewise.
4462 (WRAPPER_DECL_ff): Likewise.
4463 (WRAPPER_DECL_fFF): Likewise.
4464 (VECTOR_WRAPPER): Likewise.
4465 (VECTOR_WRAPPER_ff): Likewise.
4466 (VECTOR_WRAPPER_fFF): Likewise.
4467 (VEC_LEN): New macro.
4468 * math/test-float-vlen4.h: Include test-float.h,
4469 test-math-no-inline.h and test-math-vector.h.
4470 (FLOAT): Remove macro.
4472 (MATHCONST): Likewise.
4473 (PRINTF_EXPR): Likewise.
4474 (PRINTF_XEXPR): Likewise.
4475 (PRINTF_NEXPR): Likewise.
4476 (TEST_FLOAT): Likewise.
4477 (TEST_MATHVEC): Likewise.
4478 (__NO_MATH_INLINES): Likewise.
4481 (WRAPPER_NAME): Likewise.
4482 (WRAPPER_DECL): Likewise.
4483 (WRAPPER_DECL_ff): Likewise.
4484 (WRAPPER_DECL_fFF): Likewise.
4485 (VECTOR_WRAPPER): Likewise.
4486 (VECTOR_WRAPPER_ff): Likewise.
4487 (VECTOR_WRAPPER_fFF): Likewise.
4488 (VEC_LEN): New macro.
4489 * math/test-float-vlen8.h: Include test-float.h,
4490 test-math-no-inline.h and test-math-vector.h.
4491 (FLOAT): Remove macro.
4493 (MATHCONST): Likewise.
4494 (PRINTF_EXPR): Likewise.
4495 (PRINTF_XEXPR): Likewise.
4496 (PRINTF_NEXPR): Likewise.
4497 (TEST_FLOAT): Likewise.
4498 (TEST_MATHVEC): Likewise.
4499 (__NO_MATH_INLINES): Likewise.
4502 (WRAPPER_NAME): Likewise.
4503 (WRAPPER_DECL): Likewise.
4504 (WRAPPER_DECL_ff): Likewise.
4505 (WRAPPER_DECL_fFF): Likewise.
4506 (VECTOR_WRAPPER): Likewise.
4507 (VECTOR_WRAPPER_ff): Likewise.
4508 (VECTOR_WRAPPER_fFF): Likewise.
4509 (VEC_LEN): New macro.
4510 * math/test-float-vlen16.h: Include test-float.h,
4511 test-math-no-inline.h and test-math-vector.h.
4512 (FLOAT): Remove macro.
4514 (MATHCONST): Likewise.
4515 (PRINTF_EXPR): Likewise.
4516 (PRINTF_XEXPR): Likewise.
4517 (PRINTF_NEXPR): Likewise.
4518 (TEST_FLOAT): Likewise.
4519 (TEST_MATHVEC): Likewise.
4520 (__NO_MATH_INLINES): Likewise.
4523 (WRAPPER_NAME): Likewise.
4524 (WRAPPER_DECL): Likewise.
4525 (WRAPPER_DECL_ff): Likewise.
4526 (WRAPPER_DECL_fFF): Likewise.
4527 (VECTOR_WRAPPER): Likewise.
4528 (VECTOR_WRAPPER_ff): Likewise.
4529 (VECTOR_WRAPPER_fFF): Likewise.
4530 (VEC_LEN): New macro.
4531 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4533 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4534 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4535 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4536 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4537 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4538 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4539 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4541 2015-06-24 Roland McGrath <roland@hack.frob.com>
4543 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4544 (__getlogin_r): ... this.
4546 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4549 * math/s_ccosh.c (__ccosh): Compare with least normal value
4550 instead of comparing class with FP_SUBNORMAL.
4551 * math/s_ccoshf.c (__ccoshf): Likewise.
4552 * math/s_ccoshl.c (__ccoshl): Likewise.
4553 * math/s_cexp.c (__cexp): Likewise.
4554 * math/s_cexpf.c (__cexpf): Likewise.
4555 * math/s_cexpl.c (__cexpl): Likewise.
4556 * math/s_csin.c (__csin): Likewise.
4557 * math/s_csinf.c (__csinf): Likewise.
4558 * math/s_csinh.c (__csinh): Likewise.
4559 * math/s_csinhf.c (__csinhf): Likewise.
4560 * math/s_csinhl.c (__csinhl): Likewise.
4561 * math/s_csinl.c (__csinl): Likewise.
4562 * math/s_ctan.c (__ctan): Likewise.
4563 * math/s_ctanf.c (__ctanf): Likewise.
4564 * math/s_ctanh.c (__ctanh): Likewise.
4565 * math/s_ctanhf.c (__ctanhf): Likewise.
4566 * math/s_ctanhl.c (__ctanhl): Likewise.
4567 * math/s_ctanl.c (__ctanl): Likewise.
4568 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4569 csin, csinh, ctan and ctanh.
4570 * math/auto-libm-test-out: Regenerated.
4571 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4572 * sysdeps/i386/fpu/libm-test-ulps: Update.
4573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4575 2015-06-24 Roland McGrath <roland@hack.frob.com>
4577 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4578 return value is wrong, print the expected value too.
4580 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4583 * elf/readlib.c (is_gdb_python_file): New.
4584 (process_file): Don't issue errors on filenames with -gdb.py
4587 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4589 * math/auto-libm-test-in: Add more tests of csin and csinh.
4590 * math/auto-libm-test-out: Regenerated.
4591 * math/libm-test.inc (csin_test_data): Remove tests moved to
4593 (csinh_test_data): Likewise.
4596 * math/s_csin.c (__csin): Negate before rather than after possibly
4597 overflowing multiplication.
4598 * math/s_csinf.c (__csinf): Likewise.
4599 * math/s_csinh.c (__csinh): Likewise.
4600 * math/s_csinhf.c (__csinhf): Likewise.
4601 * math/s_csinhl.c (__csinhl): Likewise.
4602 * math/s_csinl.c (__csinl): Likewise.
4603 * math/auto-libm-test-in: Add some tests of csin and csinh.
4604 * math/auto-libm-test-out: Regenerated.
4605 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4606 (csinh_test_data): Likewise.
4607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4610 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4611 underflow exception for small results.
4613 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4615 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4616 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4617 variable and included header.
4618 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4619 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4620 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4621 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4622 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4623 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4624 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4625 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4626 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4627 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4628 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4629 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4630 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4631 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4632 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4633 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4635 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4640 (__sin): Force underflow exception for arguments with small
4642 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4643 (__kernel_sinf): Force underflow exception for arguments with
4644 small absolute value.
4645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4646 (__kernel_sincosl): Force underflow exception for arguments with
4647 small absolute value.
4648 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4649 (__kernel_sinl): Force underflow exception for arguments with
4650 small absolute value.
4651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4652 (__kernel_sincosl): Force underflow exception for arguments with
4653 small absolute value.
4654 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4655 (__kernel_sinl): Force underflow exception for arguments with
4656 small absolute value.
4657 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4658 (__kernel_sinl): Force underflow exception for arguments with
4659 small absolute value.
4660 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4661 (__kernel_sinf): Force underflow exception for arguments with
4662 small absolute value.
4663 * math/auto-libm-test-in: Add more tests of sin and sincos.
4664 * math/auto-libm-test-out: Regenerated.
4668 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4669 (__kernel_standard_l): Use feholdexcept and fesetenv around
4670 conversion to double instead of special-casing overflow and
4672 * math/libm-test.inc (fmod_test_data): Add more tests.
4673 (remainder_test_data): Likewise.
4674 (sqrt_test_data): Likewise.
4676 2015-06-23 Torvald Riegel <triegel@redhat.com>
4679 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4680 atomic_read_barrier, atomic_write_barrier): Define.
4681 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4682 atomic_read_barrier, atomic_write_barrier): Define.
4684 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4686 * math/Makefile [$(PERL) != no]
4687 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4688 dependency on libm-test.stmp below the inclusion of Rules.
4690 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4692 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4693 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4694 and included header.
4695 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4696 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4697 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4698 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4699 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4700 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4701 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4702 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4703 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4704 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4705 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4706 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4707 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4708 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4709 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4710 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4711 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4712 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4713 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4715 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4718 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4719 intermediate but not final result might underflow.
4720 * math/s_csqrtf.c (__csqrtf): Likewise.
4721 * math/s_csqrtl.c (__csqrtl): Likewise.
4722 * math/auto-libm-test-in: Add more tests of csqrt.
4723 * math/auto-libm-test-out: Regenerated.
4724 * sysdeps/i386/fpu/libm-test-ulps: Update.
4727 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4728 threshold on absolute value of exponent for which scaling is used.
4729 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4730 * math/auto-libm-test-in: Add more tests of exp2.
4731 * math/auto-libm-test-out: Regenerated.
4733 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4736 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4737 when initializing interface list, based on the bug analysis
4738 and the patch proposed by Eric Newton.
4739 * resolv/tst-res_hconf_reorder.c: New test.
4740 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4741 tst-res_hconf_reorder.
4742 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4743 and $(shared-thread-library).
4744 (tst-res_hconf_reorder-ENV): New variable.
4746 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4749 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4752 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4753 (__expm1): Force underflow exception for arguments with small
4755 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4756 (__expm1f): Force underflow exception for arguments with small
4758 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4759 (__expm1): Force underflow exception for arguments with small
4761 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4762 (__expm1f): Force underflow exception for arguments with small
4764 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4765 Check for small arguments before calling __expm1.
4766 * math/auto-libm-test-in: Do not mark underflow exceptions as
4767 possibly missing for bug 16353.
4768 * math/auto-libm-test-out: Regenerated.
4770 2015-06-22 Andreas Schwab <schwab@suse.de>
4773 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4776 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4778 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4780 * string/strcoll_l.c: Remove unused struct element idxnow.
4782 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4786 underflow and return argument in case of subnormal argument.
4787 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4789 * math/auto-libm-test-in: Add more tests of expm1.
4790 * math/auto-libm-test-out: Regenerated.
4793 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4794 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4796 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4797 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4799 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4800 mark underflow exceptions as possibly missing for bug 16361.
4801 * math/auto-libm-test-out: Regenerated.
4803 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4805 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4806 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4808 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4809 (test-xfail-XOPEN2K8/utmpx.h/conform).
4811 * conform/conformtest.pl ($xerrors): New variable.
4812 (note_error): New function.
4813 (compiletest): New argument $xfail. Use not_error.
4814 (runtest): Likewise.
4815 (top level): Handle xfail- lines. Update calls to compiletest and
4816 runtest. Handle xfail- and optional- in headers listed with
4818 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4820 (O_SEARCH): Likewise.
4821 * conform/data/stropts.h-data (ioctl): Likewise.
4822 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4823 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4824 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4825 (msghdr.msg_controllen): Likewise.
4826 (cmsghdr.cmsg_len): Likewise.
4827 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4828 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4830 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4831 (test-xfail-XPG4/stropts.h/conform): Likewise.
4832 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4833 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4834 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4835 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4836 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4837 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4838 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4839 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4840 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4841 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4842 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4843 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4844 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4845 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4846 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4847 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4848 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4849 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4850 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4852 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4854 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4855 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4856 definitions for proper unfolding of __MATHDECL_VEC.
4858 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4860 * benchtests/bench-strcoll.c:
4862 (main): Remove unused variable res.
4864 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4866 * timezone/Makefile (%/UTC %/Universal):
4867 Generate test-result files for UTC and Universal.
4869 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4871 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4873 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4876 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4877 for arguments with small absolute value.
4878 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4879 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4880 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4881 (__asinh): Force underflow exception for arguments with small
4883 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4884 (__asinhf): Force underflow exception for arguments with small
4886 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4887 (__asinhl): Force underflow exception for arguments with small
4889 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4890 (__asinhl): Force underflow exception for arguments with small
4892 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4893 (__asinhl): Force underflow exception for arguments with small
4895 * math/auto-libm-test-in: Do not mark underflow exceptions as
4896 possibly missing for bug 16350.
4897 * math/auto-libm-test-out: Regenerated.
4899 * include/bits/ipc.h: Remove file.
4900 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4902 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4903 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4904 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4905 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4906 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4907 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4908 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4909 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4910 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4912 * math/auto-libm-test-in: Remove spurious underflow allowance for
4914 * math/auto-libm-test-out: Regenerated.
4917 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4918 unconditional definition.
4919 (MCAST_BLOCK_SOURCE): Likewise.
4920 (MCAST_UNBLOCK_SOURCE): Likewise.
4921 (MCAST_LEAVE_GROUP): Likewise.
4922 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4923 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4924 (MCAST_MSFILTER): Likewise.
4925 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4927 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4928 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4929 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4930 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4931 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4933 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4935 * NEWS: Mention addition of x86_64 vector sincosf.
4936 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4937 * math/test-float-vlen4.h: Likewise.
4938 * math/test-float-vlen8.h: Likewise.
4939 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4940 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4941 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4942 * sysdeps/x86_64/fpu/Versions: New versions added.
4943 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4944 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4945 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4946 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4947 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4948 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4949 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4950 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4951 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4952 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4953 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4954 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4955 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4956 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4957 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4958 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4959 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4960 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4961 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4962 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4963 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4964 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4965 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4966 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4968 * NEWS: Mention addition of x86_64 vector sincos.
4969 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4970 * math/math.h (__MATHDECL_VEC): New macro.
4971 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4972 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4973 declaration under condition.
4974 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4975 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4976 TEST_VEC_LOOP change.
4977 * math/test-double-vlen4.h: Likewise.
4978 * math/test-double-vlen8.h: Likewise.
4979 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4980 * math/test-float-vlen4.h: Likewise.
4981 * math/test-float-vlen8.h: Likewise.
4982 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4983 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4984 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4985 * sysdeps/x86_64/fpu/Versions: New versions added.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4987 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4988 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4995 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4996 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4997 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4998 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4999 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5000 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5001 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5002 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5003 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5004 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5005 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5006 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5007 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5008 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5009 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5012 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5013 redirections for powf.
5014 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5015 * sysdeps/x86_64/fpu/Versions: New versions added.
5016 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5017 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5018 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5019 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5020 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5021 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5022 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5023 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5024 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5025 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5026 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5027 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5028 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5029 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5030 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5031 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5032 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5033 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5034 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5035 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5036 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5037 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5038 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5039 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5040 * math/test-float-vlen16.h: Fixed 2 argument macro.
5041 * math/test-float-vlen4.h: Likewise.
5042 * math/test-float-vlen8.h: Likewise.
5043 * NEWS: Mention addition of x86_64 vector powf.
5045 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5047 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5049 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5051 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5056 * resource/getpriority.c (getpriority): Rename to __getpriority
5057 and define as weak alias of __getpriority.
5058 * resource/setpriority.c (setpriority): Rename to __setpriority
5059 and define as weak alias of __setpriority.
5060 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5061 __getpriority and define as weak alias of __getpriority.
5062 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5063 __setpriority and define as weak alias of __setpriority.
5064 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5066 (setpriority): Use __setpriority as strong name.
5067 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5068 __getpriority and define as weak alias of __getpriority.
5069 * include/sys/resource.h (__getpriority): Declare. Use
5071 (__setpriority): Likewise.
5072 (getpriority): Don't use libc_hidden_proto.
5073 (setpriority): Likewise.
5074 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5075 getpriority. Call __setpriority instead of setpriority.
5076 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5080 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5081 as weak alias of __getttynam. Use prototype function definition.
5082 Call __setttyent, __getttyent and __endttyent instead of
5083 setttyent, getttyent and endttyent.
5084 (getttyent): Rename to __getttyent and define as weak alias of
5085 __getttyent. Call __setttyent instead of setttyent. Call
5086 __fgets_unlocked instead of fgets_unlocked.
5087 (setttyent): Rename to __setttyent and define as weak alias of
5089 (endttyent): Rename to __endttyent and define as weak alias of
5091 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5092 (__setttyent): Likewise.
5093 (__endttyent): Likewise.
5094 (getttyent): Don't use libc_hidden_proto.
5095 (setttyent): Likewise.
5096 (endttyent): Likewise.
5097 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5098 __endttyent instead of setttyent, getttyent and endttyent.
5099 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5103 * socket/recv.c (__recv): Use libc_hidden_def.
5104 * socket/socket.c (__socket): Likewise.
5105 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5106 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5107 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5108 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5109 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5111 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5113 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5114 Use libc_hidden_proto.
5116 * socket/Versions (libc): Export __recv and __socket at version
5118 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5120 (init_mq_netlink): Call __socket instead of socket.
5121 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5125 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5126 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5128 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5129 define as alias of __mq_timedsend. Use hidden_weak.
5130 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5131 __mq_timedsend as strong name.
5132 (mq_timedreceive): Use __mq_timedreceive as strong name.
5133 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5134 (__mq_timedreceive): Likewise.
5135 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5136 __mq_timedreceive instead of mq_timedreceive.
5137 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5138 instead of mq_timedsend.
5139 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5142 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5143 hidden_def and hidden_weak instead of libc_hidden_def and
5145 (top level): Refer to hidden_def in comment.
5146 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5147 macro. Use it instead of libc_hidden_def.
5148 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5149 specify __GI_* name explicitly.
5150 (mq_timedreceive): Likewise.
5151 (mq_setattr): Likewise.
5154 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5155 __pthread_barrier_init and define as weak alias of
5156 __pthread_barrier_init.
5157 * sysdeps/sparc/nptl/pthread_barrier_init.c
5158 (pthread_barrier_init): Likewise.
5159 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5160 __pthread_barrier_wait and define as weak alias of
5161 __pthread_barrier_wait.
5162 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5163 (pthread_barrier_wait): Likewise.
5164 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5165 (pthread_barrier_wait): Likewise.
5166 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5167 (pthread_barrier_wait): Likewise.
5168 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5169 (pthread_barrier_wait): Likewise.
5170 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5171 __pthread_barrier_wait at version GLIBC_PRIVATE.
5172 * include/pthread.h (__pthread_barrier_init): Declare.
5173 (__pthread_barrier_wait): Likewise.
5174 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5175 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5176 (helper_thread): Likewise.
5177 (init_mq_netlink): Call __pthread_barrier_init instead of
5178 pthread_barrier_init.
5181 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5182 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5183 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5184 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5186 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5190 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5191 strong alias of _IO_fflush. Use libc_hidden_def.
5192 * libio/iofflush_u.c (fflush_unlocked): Rename to
5193 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5194 Use libc_hidden_weak.
5195 * include/stdio.h (__fflush_unlocked): Declare. Use
5197 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5199 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5203 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5204 define as weak alias of __addseverity.
5205 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5207 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5208 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5209 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5212 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5213 (__tfind): Likewise.
5214 (__tdelete): Likewise.
5215 (__twalk): Likewise.
5216 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5217 __twalk to GLIBC_PRIVATE.
5218 * include/search.h (__tsearch): Use libc_hidden_proto.
5219 (__tfind): Likewise.
5220 (__tdelete): Likewise.
5221 (__twalk): Likewise.
5222 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5223 Call __tdelete instead of tdelete.
5224 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5225 tfind. Call __tsearch instead of tsearch.
5226 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5227 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5229 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5232 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5233 (dprintf): Define as a weak alias of __dprintf, not a strong
5235 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5236 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5238 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5240 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5241 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5244 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5246 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5250 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5251 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5252 (in6addr_loopback): Rename to __in6addr_loopback and define as
5253 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5254 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5256 (__in6addr_any): Likewise.
5257 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5259 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5261 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5263 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5265 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5266 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5267 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5268 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5269 redirections for pow.
5270 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5271 * sysdeps/x86_64/fpu/Versions: New versions added.
5272 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5273 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5274 build of SSE, AVX2 and AVX512 IFUNC versions.
5275 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5276 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5277 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5278 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5279 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5280 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5281 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5282 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5283 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5284 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5285 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5286 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5287 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5288 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5289 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5290 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5291 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5292 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5293 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5294 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5295 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5296 * NEWS: Mention addition of x86_64 vector pow.
5298 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5299 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5300 redirections for expf.
5301 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5302 * sysdeps/x86_64/fpu/Versions: New versions added.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5304 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5305 build of SSE, AVX2 and AVX512 IFUNC versions.
5306 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5307 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5308 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5309 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5310 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5311 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5312 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5313 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5314 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5315 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5316 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5317 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5318 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5319 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5320 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5321 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5322 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5323 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5324 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5325 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5326 * NEWS: Mention addition of x86_64 vector expf.
5328 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5329 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5330 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5331 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5332 redirections for exp.
5333 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5334 * sysdeps/x86_64/fpu/Versions: New versions added.
5335 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5336 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5337 build of SSE, AVX2 and AVX512 IFUNC versions.
5338 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5339 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5340 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5341 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5342 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5343 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5344 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5345 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5346 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5347 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5348 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5349 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5350 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5351 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5352 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5353 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5354 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5355 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5356 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5357 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5358 * NEWS: Mention addition of x86_64 vector exp.
5360 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5361 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5362 redirections for logf.
5363 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5364 * sysdeps/x86_64/fpu/Versions: New versions added.
5365 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5366 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5367 build of SSE, AVX2 and AVX512 IFUNC versions.
5368 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5369 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5370 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5371 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5372 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5373 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5374 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5375 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5376 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5377 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5378 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5379 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5380 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5381 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5382 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5383 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5384 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5385 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5386 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5387 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5388 * NEWS: Mention addition of x86_64 vector logf.
5390 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5391 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5392 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5393 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5394 redirections for log.
5395 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5396 * sysdeps/x86_64/fpu/Versions: New versions added.
5397 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5398 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5399 build of SSE, AVX2 and AVX512 IFUNC versions.
5400 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5401 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5402 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5403 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5404 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5405 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5406 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5407 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5408 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5409 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5410 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5411 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5412 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5414 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5415 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5416 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5417 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5418 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5419 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5420 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5421 * NEWS: Mention addition of x86_64 vector log.
5423 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5425 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5426 cfi_adjust_cfa_offset argument.
5427 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5428 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5431 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5432 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5433 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5434 ordering using ldar.
5435 (_dl_tlsdesc_dynamic): Likewise.
5436 (_dl_tlsdesc_return_lazy): Likewise.
5437 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5438 relaxed atomics instead of volatile and synchronize with release store.
5439 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5441 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5443 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5445 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5446 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5447 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5448 * sysdeps/x86_64/fpu/Versions: New versions added.
5449 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5450 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5451 build of SSE, AVX2 and AVX512 IFUNC versions.
5452 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5453 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5454 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5455 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5456 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5457 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5458 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5459 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5460 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5461 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5462 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5463 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5464 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5465 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5466 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5467 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5468 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5469 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5470 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5471 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5472 * NEWS: Mention addition of x86_64 vector sinf.
5474 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5476 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5477 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5478 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5480 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5481 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5483 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5486 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5487 strong alias of _IO_fputs. Use libc_hidden_def.
5488 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5489 and define as weak alias of __fputs_unlocked. Use
5491 * include/stdio.h (__fputs_unlocked): Declare. Use
5493 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5497 * resolv/netdb.h [__USE_POSIX]: Change condition to
5499 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5501 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5502 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5503 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5504 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5505 [XPG4 || UNIX98] (AI_ALL): Likewise.
5506 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5507 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5508 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5509 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5510 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5511 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5512 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5513 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5514 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5515 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5516 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5517 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5518 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5519 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5520 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5521 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5522 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5523 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5524 [XPG4 || UNIX98] (gai_strerror): Likewise.
5525 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5526 [XPG4 || UNIX98] (getnameinfo): Likewise.
5529 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5530 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5532 (getgrent): Likewise.
5533 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5535 [XPG3 || POSIX2008] (endgrent): Likewise.
5536 [XPG3] (setgrent): Likewise.
5537 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5539 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5542 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5543 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5544 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5545 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5546 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5547 * include/unistd.h (__getlogin_r): Declare. Use
5549 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5550 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5552 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5553 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5554 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5556 2015-06-12 Martin Sebor <msebor@redhat.com>
5559 * Makerules (check-install-supported): New target.
5560 (install): Add check-install-supported as a dependency.
5561 * manual/install.texi (Installing the C Library): Document
5562 that overriding prefix and exec_prefix is not supported.
5564 * INSTALL: Regenerate from the above.
5566 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5569 * posix/Versions (libc): Export __libc_pread at version
5571 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5573 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5578 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5579 (cvt_symbol): Use weak_alias instead of strong_alias.
5580 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5581 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5583 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5584 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5587 * inet/herrno.c (h_errno): Rename to __h_errno.
5588 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5589 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5590 to __h_errno instead of h_errno.
5591 * nptl/herrno.c (h_errno): Rename to __h_errno.
5592 (__h_errno_location): Refer to __h_errno not h_errno.
5593 * resolv/Versions (h_errno): Rename to __h_errno.
5594 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5596 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5598 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5600 * configure.ac: More strict check for AVX512 assembler support.
5601 * configure: Regenerated.
5603 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5604 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5605 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5606 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5607 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5608 * sysdeps/x86_64/fpu/Versions: New versions added.
5609 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5610 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5611 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5612 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5613 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5614 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5615 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5616 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5617 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5618 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5619 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5620 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5621 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5622 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5623 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5624 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5626 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5627 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5628 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5629 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5630 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5631 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5632 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5633 * NEWS: Mention addition of x86_64 vector sin.
5635 2015-06-11 Florian Weimer <fweimer@redhat.com>
5637 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5640 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5643 * nptl/pt-interp.c: New file.
5644 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5646 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5647 $(common-objpfx)runtime-linker.h.
5649 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5651 * Makeconfig (+interp): Remove unused variable.
5652 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5653 only. Depend on $(common-objpfx)runtime-linker.h instead of
5654 $(elf-objpfx)runtime-linker.h.
5655 ($(elf-objpfx)runtime-linker.h): Rename to
5656 $(common-objpfx)runtime-linker.h and move ...
5657 * Makerules [$(build-shared) = yes]: ... here.
5658 * elf/interp.c: Include <runtime-linker.h> instead of
5659 <elf/runtime-linker.h>.
5661 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5663 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5664 (__gettimeofday_syscall): Remove vsyscall fallback.
5665 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5666 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5667 Add syscall fallback function.
5668 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5669 if vDSO is not present.
5670 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5672 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5675 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5677 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5680 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5682 (wcscmp): Define as weak alias of WCSCMP.
5683 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5685 (USE_HIDDEN_DEF): Define.
5686 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5687 __wcscoll. Don't use libc_hidden_weak.
5688 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5690 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5691 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5693 (weak_alias): Undefine and redefine.
5694 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5695 __wcscmp and define as weak alias of __wcscmp.
5696 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5697 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5698 (__wcscoll): Likewise.
5699 (wcscmp): Don't use libc_hidden_proto.
5700 (wcscoll): Likewise.
5701 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5703 * posix/regexec.c (check_node_accept_bytes): Likewise.
5704 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5706 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5707 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5710 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5711 __fstatvfs and define as weak alias of __fstatvfs. Use
5713 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5714 and define as weak alias of __statvfs. Use libc_hidden_weak.
5715 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5716 Define as alias of __fstatvfs, not fstatvfs.
5717 (fstatvfs64): Likewise.
5718 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5719 Define as alias of __statvfs, not statvfs.
5720 (statvfs64): Likewise.
5721 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5724 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5727 (HAVE_GETCPU_VSYSCALL): Define.
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5729 (HAVE_GETCPU_VSYSCALL): Likewise.
5730 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5731 * sysdeps/unix/sysv/linux/sched_getcpu.c
5732 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5733 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5734 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5737 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5742 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5743 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5746 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5748 * sysdeps/x86_64/fpu/Makefile: New file.
5749 * sysdeps/x86_64/fpu/Versions: New file.
5750 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5751 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5752 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5753 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5754 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5755 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5756 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5757 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5758 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5759 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5760 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5761 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5762 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5763 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5764 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5765 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5766 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5767 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5768 * sysdeps/x86_64/configure: Regenerated.
5769 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5770 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5771 * manual/install.texi (Configuring and compiling): Document
5773 * INSTALL: Regenerated.
5774 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5776 * math/Makefile: Added rules for vector tests.
5777 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5778 declaration under condition.
5779 * math/test-double-vlen2.h: New file.
5780 * math/test-double-vlen4.h: New file.
5781 * math/test-double-vlen8.h: New file.
5782 * math/test-vec-loop.h: Added initialization macro.
5783 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5784 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5785 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5786 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5787 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5788 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5789 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5790 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5791 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5792 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5793 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5795 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5796 * sysdeps/x86_64/fpu/Versions: New versions added.
5797 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5798 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5799 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5800 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5801 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5802 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5803 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5804 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5805 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5806 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5807 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5808 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5809 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5810 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5811 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5812 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5813 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5814 * NEWS: Mention addition of x86_64 vector cosf.
5816 * math/Makefile: Added CFLAGS for new tests.
5817 * math/test-float-vlen16.h: New file.
5818 * math/test-float-vlen4.h: New file.
5819 * math/test-float-vlen8.h: New file.
5820 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5821 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5822 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5823 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5824 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5825 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5826 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5827 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5828 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5829 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5830 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5832 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5834 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5835 * locale/programs/ld-ctype.c: Likewise.
5837 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5839 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5840 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5841 bit_ZMM16_31_state): New macro.
5842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5843 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5845 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5847 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5849 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5851 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5853 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5856 * libio/memstream.c (open_memstream): Rename to __open_memstream
5857 and define as weak alias of __open_memstream.
5858 * include/stdio.h (__open_memstream): Declare. Use
5860 (open_memstream): Don't use libc_hidden_proto.
5861 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5863 * posix/getopt.c (_getopt_internal_r): Likewise.
5864 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5866 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5867 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5868 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5871 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5875 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5876 [__USE_XOPEN2K8]. Remove redundant #endif.
5877 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5878 Remove redundant #if.
5879 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5881 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5882 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5885 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5886 (__iswlower): Likewise.
5887 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5888 (__iswlower): Likewise.
5889 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5890 instead of towlower.
5891 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5892 instead of iswlower. Call __towupper instead of towupper.
5893 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5894 instead of iswalnum.
5896 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5898 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5901 2015-06-05 Florian Weimer <fweimer@redhat.com>
5905 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5906 Check for overflow properly. Check for O_APPEND. Ignore large
5907 file system block sizes. Add comments about problems.
5908 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5909 * manual/filesys.texi (Storage Allocation): New node.
5911 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5913 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5914 cancellable syscalls.
5915 (SYS_ify): Add guard to no redefine it.
5916 (INLINE_SYSCALL): Likewise.
5917 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5918 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5919 SYSCALL_CANCEL instead.
5920 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5921 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5922 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5923 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5924 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5925 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5926 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5927 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5928 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5929 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5930 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5931 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5932 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5933 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5934 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5935 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5937 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5938 (__libc_pread64): Likewise.
5939 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5940 (__libc_preadv): Likewise.
5941 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5942 (__libc_readv64): Likewise.
5943 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5944 (__libc_pwrite): Likewise.
5945 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5946 (__libc_pwrite64): Likewise.
5947 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5948 (__libc_pwritev): Likewise.
5949 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5950 (__libc_pwritev64): Likewise.
5951 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5952 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5953 (sync_file_range): Likewise.
5954 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5956 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5958 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5959 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5960 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5961 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5962 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5963 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5964 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5965 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5969 (__libc_read64): Likewise.
5970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5979 (__libc_pread64): Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5983 (__libc_pwrite64): Likewise.
5984 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5985 (sync_file_range): Likewise.
5986 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5987 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5988 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5989 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5990 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5991 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5992 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5993 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5994 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5995 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5996 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5997 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5998 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5999 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6000 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6001 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6002 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6003 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6006 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6008 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6009 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6011 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6012 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6013 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6014 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6016 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6017 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6018 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6019 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6020 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6022 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6024 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6026 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6027 Use VDSO routines for gettimeofday, clock_gettime if
6029 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6030 Declare VDSO symbols.
6031 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6032 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6033 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6034 * sysdeps/unix/sysv/linux/arm/Versions: Add
6035 __vdso_clock_gettime.
6037 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6039 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6040 be an inline implementation regardless of library is built within.
6041 (open_not_cancel_2): Likewise.
6042 (__read_nocancel): Likewise.
6043 (__write_nocancel): Likewise.
6044 (openat_not_cancel): Likewise.
6045 (openat_not_cancel_3): Likewise.
6046 (openat64_not_cancel): Likewise.
6047 (openat64_not_cancel_3): Likewise.
6048 (__close_nocancel): Likewise.
6049 (pause_not_cancel): Likewise.
6050 (nanosleep_not_cancel): Likewise.
6051 (sigsuspend_not_cancel): Likewise.
6053 2015-06-04 Torvald Riegel <triegel@redhat.com>
6056 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6058 (__pthread_rwlock_rdlock_slow): Likewise.
6059 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6061 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6063 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6064 * nptl/tst-rwlock16.c: New file.
6065 * nptl/Makefile (tests): Add new test.
6067 2015-06-04 Torvald Riegel <triegel@redhat.com>
6070 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6071 missing wake-up of readers.
6072 * nptl/tst-rwlock15.c: New file.
6073 * nptl/Makefile (tests): Add new test.
6075 2015-06-03 Roland McGrath <roland@hack.frob.com>
6077 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6078 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6079 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6080 and __nacl_supply_interface_rtld.
6081 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6082 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6083 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6084 Add __nacl_supply_interface_rtld.
6085 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6087 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6089 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6092 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6094 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6096 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6097 __signbit* with standard C99 macros.
6098 * math/e_exp10l.c: Likewise.
6099 * math/e_exp2l.c: Likewise.
6100 * math/e_scalb.c: Likewise.
6101 * math/e_scalbf.c: Likewise.
6102 * math/e_scalbl.c: Likewise.
6103 * math/s_ldexp.c: Likewise.
6104 * math/s_ldexpf.c: Likewise.
6105 * math/s_ldexpl.c: Likewise.
6106 * math/w_atan2.c: Likewise.
6107 * math/w_atan2f.c: Likewise.
6108 * math/w_atan2l.c: Likewise.
6109 * math/w_cosh.c: Likewise.
6110 * math/w_coshf.c: Likewise.
6111 * math/w_coshl.c: Likewise.
6112 * math/w_exp10.c: Likewise.
6113 * math/w_exp10f.c: Likewise.
6114 * math/w_exp10l.c: Likewise.
6115 * math/w_exp2.c: Likewise.
6116 * math/w_exp2f.c: Likewise.
6117 * math/w_exp2l.c: Likewise.
6118 * math/w_fmod.c: Likewise.
6119 * math/w_fmodf.c: Likewise.
6120 * math/w_fmodl.c: Likewise.
6121 * math/w_hypot.c: Likewise.
6122 * math/w_hypotf.c: Likewise.
6123 * math/w_hypotl.c: Likewise.
6124 * math/w_jnl.c: Likewise.
6125 * math/w_lgamma.c: Likewise.
6126 * math/w_lgamma_r.c: Likewise.
6127 * math/w_lgammaf.c: Likewise.
6128 * math/w_lgammaf_r.c: Likewise.
6129 * math/w_lgammal.c: Likewise.
6130 * math/w_lgammal_r.c: Likewise.
6131 * math/w_pow.c: Likewise.
6132 * math/w_powf.c: Likewise.
6133 * math/w_powl.c: Likewise.
6134 * math/w_remainder.c: Likewise.
6135 * math/w_remainderf.c: Likewise.
6136 * math/w_remainderl.c: Likewise.
6137 * math/w_scalb.c: Likewise.
6138 * math/w_scalbf.c: Likewise.
6139 * math/w_scalbl.c: Likewise.
6140 * math/w_scalbln.c: Likewise.
6141 * math/w_scalblnf.c: Likewise.
6142 * math/w_scalblnl.c: Likewise.
6143 * math/w_sinh.c: Likewise.
6144 * math/w_sinhf.c: Likewise.
6145 * math/w_sinhl.c: Likewise.
6146 * math/w_tgamma.c: Likewise.
6147 * math/w_tgammaf.c: Likewise.
6148 * math/w_tgammal.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6156 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6157 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6158 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6159 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6180 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6181 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6182 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6183 * stdio-common/printf_fp.c: Likewise.
6184 * stdio-common/printf_fphex.c: Likewise.
6185 * stdio-common/printf_size.c: Likewise.
6187 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6190 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6192 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6194 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6195 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6196 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6197 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6198 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6199 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6200 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6201 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6202 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6203 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6206 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6207 weak alias of __wmemchr. Use libc_hidden_weak.
6208 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6209 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6212 2015-06-02 Roland McGrath <roland@hack.frob.com>
6215 * elf/tst-tlsalign-extern.c: New file.
6216 * elf/tst-tlsalign-extern-static.c: New file.
6217 * elf/tst-tlsalign-vars.c: New file.
6218 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6219 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6220 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6221 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6222 (test-xfail-tst-tlsalign-extern-static): New variable.
6224 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6226 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6227 Use variable name _sc_err instead of err.
6228 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6230 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6231 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6232 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6233 (INLINE_SYSCALL): Likewise.
6235 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6236 * include/string.h (__strnlen): Use libc_hidden_proto.
6237 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6238 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6239 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6240 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6241 (libc_hidden_def): Undefine and redefine.
6242 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6243 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6245 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6247 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6250 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6251 weak alias of __towlower. Use libc_hidden_weak.
6252 (towupper): Rename to __towupper and define as weak alias of
6253 __towupper. Use libc_hidden_weak.
6254 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6255 (__towupper): Likewise.
6256 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6257 __towlower instead of towlower.
6259 2015-06-02 Roland McGrath <roland@hack.frob.com>
6261 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6262 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6264 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6266 * sysdeps/aarch64/libm-test-ulps: Update.
6268 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6270 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6272 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6274 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6275 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6276 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6277 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6278 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6280 2015-06-01 Martin Sebor <msebor@redhat.com>
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6284 (__setcontext): Use extended four-operand version of mtsf whenever
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6287 (__novec_swapcontext): Likewise.
6289 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 * benchtests/scripts/compare_bench.py: New file.
6292 * benchtests/scripts/import_bench.py (mean): New function.
6293 (split_list): Likewise.
6294 (do_for_all_timings): Likewise.
6295 (compress_timings): Likewise.
6297 * benchtests/scripts/import_bench.py: New file.
6298 * benchtests/scripts/validate_benchout.py: Import import_bench
6299 instead of jsonschema.
6300 (validate_bench): Remove function.
6301 (main): Use import_bench.
6303 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6305 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6306 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6308 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6312 2015-05-28 Roland McGrath <roland@hack.frob.com>
6314 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6315 set THREAD_SELF->tid to a magic value and futex-wake it.
6316 Pass its address to the thread_exit system call.
6317 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6319 * sysdeps/nacl/lowlevellock.h: New file.
6320 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6322 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6323 Add TIMEOUT to current time, don't subtract it.
6325 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6329 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6330 ($(objpfx)tst-audit2.out): Also depend on
6331 $(objpfx)tst-auditmod9b.so.
6332 * elf/tst-audit2.c: Include <dlfcn.h>.
6333 (calloc_called): New.
6334 (calloc): Allow to be called more than once.
6335 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6337 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6339 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6340 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6342 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6344 * stdlib/monetary.h: Fix comment.
6346 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6348 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6349 Avoid using variables in #defines that might cause shadowing.
6350 (INTERNAL_VSYSCALL_CALL): Likewise.
6352 2015-05-26 Roland McGrath <roland@hack.frob.com>
6354 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6356 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6357 * nptl/lll_timedlock_wait.c: ... to this new file.
6358 * nptl/Makefile (libpthread-routines): Add it.
6359 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6360 * nptl/lll_timedwait_tid.c: ... to this new file.
6361 * nptl/Makefile (libpthread-routines): Add it.
6362 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6363 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6364 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6365 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6366 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6367 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6368 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6369 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6370 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6371 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6373 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6375 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6376 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6377 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6379 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6381 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6383 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6384 * sysdeps/unix/sysv/linux/tile/sysdep.h
6385 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6386 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6387 using vDSO syscall macro.
6389 2015-05-26 Andriy Rysin <arysin@gmail.com>
6392 * uk_UA: Fix sorting order for Ukrainian locale
6394 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6396 * stdlib/monetary.h: Fix comment.
6398 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6401 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6402 st_mtim and st_ctim members.
6403 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6404 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6405 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6406 (struct stat64): Likewise.
6407 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6408 (struct stat64): Likewise.
6409 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6410 (struct stat64): Likewise.
6412 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6414 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6415 Define and include sysdep-vdso.h.
6416 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6418 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6420 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6421 Define with VDSO_SYMBOL and use PTR_MANGLE.
6422 (__vdso_clock_gettime): Likewise.
6423 (__vdso_clock_getres): Likewise.
6424 (_libc_vdso_platform_setup): Likewise.
6425 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6427 (_libc_vdso_platform_setup): Likewise.
6428 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6430 (__vdso_clock_gettime): Likewise.
6431 (__vdso_clock_getres): Likewise.
6432 (__vdso_get_tbfreq): Likewise.
6433 (__vdso_getcpu): Likewise.
6434 (__vdso_time): Likewise.
6435 (__vdso_sigtramp_rt64): Likewise.
6436 (__vdso_signtramp32): Likewise.
6437 (__vdso_sigtramp_rt32): Likewise.
6438 (_libc_vdso_platform_setup): Likewise.
6439 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6441 (__vdso_clock_gettime): Likewise.
6442 (__vdso_clock_getres): Likewise.
6443 (_libc_vdso_platform_setup): Likewise.
6444 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6446 (__vdso_clock_gettime): Likewise.
6447 (_libc_vdso_platform_setup): Likewise.
6448 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6450 (__vdso_getcpu): Likewise.
6451 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6452 Use VDSO_SYMBOL macro to define.
6453 (__vdso_clock_gettime): Likewise.
6454 (__vdso_clock_getres): Likewise.
6455 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6457 (__vdso_clock_gettime): Likewise.
6458 (__vdso_clock_getres): Likewise.
6459 (__vdso_get_tbfreq): Likewise.
6460 (__vdso_getcpu): Likewise.
6461 (__vdso_time): Likewise.
6462 (__vdso_sigtramp_rt64): Likewise.
6463 (__vdso_signtramp32): Likewise.
6464 (__vdso_sigtramp_rt32): Likewise.
6465 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6467 (__vdso_clock_gettime): Likewise.
6468 (__vdso_clock_getres): Likewise.
6469 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6471 (__vdso_clock_gettime): Likewise.
6472 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6474 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6476 (INTERNAL_VSYSCALL): Likewise.
6477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6479 (INTERNAL_VSYSCALL): Likewise.
6480 (INTERNAL_VSYSCALL_NCS): Likewise.
6481 (INTERNAL_VSYSCALL_CALL): New macro.
6482 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6485 (INTERNAL_VSYSCALL): Likewise.
6486 (INTERNAL_VSYSCALL_NCS): Likewise.
6487 (INTERNAL_VSYSCALL_CALL): New macro.
6488 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6490 (INLINE_VSYSCALL): Remove macro.
6491 (INTERNAL_VSYSCALL): Remove macro.
6492 (INTERNAL_VSYSCALL_NCS): Remove macro.
6493 (INTERNAL_VSYSCALL_CALL): New macro.
6494 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6495 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6496 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6497 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6498 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6500 (INLINE_VSYSCALL): Remove macro.
6501 (INTERNAL_VSYSCALL): Likewise.
6502 (INTERNAL_VSYSCALL_NCS): Likewise.
6503 (INTERNAL_VSYSCALL_CALL): New macro.
6504 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6505 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6506 PTR_DEMANGLE on vDSO pointer.
6507 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6508 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6510 (INTERNAL_SYSCALL): Likewise.
6511 (INTERNAL_VSYSCALL_NCS): Remove macro.
6512 (INTERNAL_VSYSCALL_CALL): New macro.
6513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6515 (INTERNAL_VSYSCALL): Likewise.
6516 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6517 sysdep-vdso.h instead of libc-vdso.h.
6518 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6520 (INLINE_VSYSCALL): Likewise.
6521 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6522 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6524 (INLINE_VSYSCALL): Likewise.
6525 (INTERNAL_VSYSCALL): Likewise.
6526 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6527 * sysdeps/unix/sysv/linux/timespec_get.c
6528 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6529 (timespec_get): Use ANSI prototype.
6530 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6531 and definition for Linux.
6533 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6535 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6536 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6538 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6542 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6543 for missing DT_PLTRELSZ.
6545 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6547 Remove obsolete aliases that broke 'locale -a'
6549 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6550 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6551 breaking some applications that use 'locale -a' output.
6552 Change the encoding of this file from Latin-1 to ASCII to avoid
6553 other potential problems with people grepping this file.
6555 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6557 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6558 -fasynchronous-unwind-tables.
6559 (CFLAGS-sendto.c): Likewise.
6560 (CFLAGS-sendmsg.c): Likewise.
6561 (CFLAGS-connect.c): Likewise.
6562 (CFLAGS-recvmsg.c): Likewise.
6563 (CFLAGS-recvfrom.c): Likewise.
6564 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6565 (SOCKETCALL): New macro: non-cancellable socketcall.
6566 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6567 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6568 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6569 * sysdeps/unix/sysv/linux/accept.c: New file.
6570 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6571 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6572 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6573 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6574 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6575 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6576 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6577 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6578 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6579 * sysdeps/unix/sysv/linux/send.c: Likewise.
6580 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6581 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6582 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6583 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6584 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6585 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6586 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6588 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6589 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6590 instead of __internal_xxx function.
6591 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6593 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6594 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6595 instead of __internal_xxx function.
6596 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6598 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6599 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6600 instead of __internal_xxx function.
6601 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6602 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6603 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6604 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6605 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6606 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6607 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6608 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6609 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6610 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6611 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6612 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6613 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6614 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6615 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6616 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6617 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6618 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6619 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6620 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6623 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6624 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6625 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6626 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6628 * sysdeps/unix/sysv/linux/send.S: Likewise.
6629 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6630 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6631 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6632 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6633 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6634 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6637 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6638 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6639 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6640 socketcall is implemented in GLIBC.
6642 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6644 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6645 (__fma): Ignore uninitialized warnings around packing.
6646 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6647 (__fmaf): Ignore uninitialized warnings around packing.
6648 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6649 (__fmal): Ignore uninitialized warnings around packing.
6651 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6652 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6653 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6654 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6656 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6657 switch statement into default case.
6658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6660 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6661 a conditional in forcing "inexact".
6662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6665 2015-05-22 Roland McGrath <roland@hack.frob.com>
6667 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6668 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6669 for each INTERNAL_SYSCALL use.
6671 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6674 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6675 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6679 * string/basename.c (basename): Rename to __basename and define as
6680 weak alias of __basename. Use libc_hidden_weak.
6681 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6682 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6683 __basename instead of basename.
6684 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6686 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6688 2015-05-18 Florian Weimer <fweimer@redhat.com>
6690 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6691 (_IO_JUMPS_FILE_plus): New.
6692 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6693 _IO_CAST_FIELD_ACCESS.
6694 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6695 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6696 * libio/freopen.c (freopen): Likewise.
6697 * libio/freopen64.c (freopen64): Likewise.
6698 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6699 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6700 * libio/iofwide.c (_IO_fwide): Likewise.
6701 * libio/memstream.c (open_memstream): Likewise.
6702 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6703 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6704 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6706 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6708 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6709 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6711 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6712 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6714 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6715 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6718 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6721 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6722 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6724 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6725 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6726 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6728 2015-05-21 Florian Weimer <fweimer@redhat.com>
6730 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6731 Adjust jump table label generation macros.
6733 2015-05-21 Florian Weimer <fweimer@redhat.com>
6735 * stdio-common/vfprintf.c (vfprintf): Move local variables
6736 args_malloced, specs, specs_malloced, and the code after
6737 do_positional to the printf_positional function.
6738 (printf_positional): New function.
6740 2015-05-21 Florian Weimer <fweimer@redhat.com>
6742 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6744 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6745 STEP4_TABLE, process_arg): Move macro definitions
6746 out of the vfprintf function. (Cosmetic change only.)
6748 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6750 * benchtests/Makefile (stdio-common-bench): Define.
6751 (benchset): Add stdio-common-bench.
6752 * sprintf-inputs: New file.
6753 * sprintf-source.c: New file.
6755 2015-05-21 Andreas Schwab <schwab@suse.de>
6759 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6760 of struct __res_state.
6761 * resolv/res_send.c (__libc_res_nsend): Likewise.
6762 (get_nsaddr): New function.
6763 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6766 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6768 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6769 -D_POSIX_C_SOURCE=199506L.
6771 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6773 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6774 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6775 Do not mention otherwise.
6776 [POSIX] (_XOPEN_VERSION): Do not expect.
6777 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6778 [POSIX] (_POSIX2_C_BIND): Likewise.
6779 [POSIX] (_POSIX2_VERSION): Likewise.
6780 [POSIX] (_XOPEN_XPG2): Likewise.
6781 [POSIX] (_XOPEN_XPG3): Likewise.
6782 [POSIX] (_XOPEN_XPG4): Likewise.
6783 [POSIX] (_XOPEN_UNIX): Likewise.
6784 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6785 [POSIX] (_POSIX_BARRIERS): Likewise.
6786 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6787 [POSIX] (_POSIX_CPUTIME): Likewise.
6788 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6789 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6790 [POSIX] (_POSIX_SHELL): Likewise.
6791 [POSIX] (_POSIX_SPAWN): Likewise.
6792 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6793 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6794 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6795 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6796 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6797 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6798 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6799 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6800 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6801 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6802 [POSIX] (_POSIX2_PBS): Likewise.
6803 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6804 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6805 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6806 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6807 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6808 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6809 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6810 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6811 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6812 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6813 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6814 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6815 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6816 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6817 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6818 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6819 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6820 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6821 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6822 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6823 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6824 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6825 [POSIX] (_SC_2_C_BIND): Likewise.
6826 [POSIX] (_SC_2_C_VERSION): Likewise.
6827 [POSIX] (_SC_2_PBS): Likewise.
6828 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6829 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6830 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6831 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6832 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6833 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6834 [POSIX] (_SC_BARRIERS): Likewise.
6835 [POSIX] (_SC_BASE): Likewise.
6836 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6837 [POSIX] (_SC_DEVICE_IO): Likewise.
6838 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6839 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6840 [POSIX] (_SC_FD_MGMT): Likewise.
6841 [POSIX] (_SC_FIFO): Likewise.
6842 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6843 [POSIX] (_SC_FILE_LOCKING): Likewise.
6844 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6845 [POSIX] (_SC_IOV_MAX): Likewise.
6846 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6847 [POSIX] (_SC_NETWORKING): Likewise.
6848 [POSIX] (_SC_PAGE_SIZE): Likewise.
6849 [POSIX] (_SC_PASS_MAX): Likewise.
6850 [POSIX] (_SC_PIPE): Likewise.
6851 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6852 [POSIX] (_SC_REGEXP): Likewise.
6853 [POSIX] (_SC_SHELL): Likewise.
6854 [POSIX] (_SC_SIGNALS): Likewise.
6855 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6856 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6857 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6858 [POSIX] (_SC_USER_GROUPS): Likewise.
6859 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6860 [POSIX] (_SC_STREAMS): Likewise.
6861 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6862 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6863 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6864 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6865 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6866 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6867 [POSIX] (_PC_FILESIZEBITS): Likewise.
6868 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6869 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6870 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6871 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6872 [POSIX] (uid_t): Likewise.
6873 [POSIX] (gid_t): Likewise.
6874 [POSIX] (off_t): Likewise.
6875 [POSIX] (pid_t): Likewise.
6876 [POSIX] (cuserid): Allow.
6877 (_SC_2_CHAR_TERM): Require constant.
6878 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6879 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6882 2015-05-20 Roland McGrath <roland@hack.frob.com>
6884 * sysdeps/nacl/pthread-pids.h: New file.
6885 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6886 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6888 * nptl/pthread-pids.h: New file.
6889 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6890 * nptl/nptl-init.c: Include <pthread-pids.h>.
6891 (__pthread_initialize_minimal_internal):
6892 Call __pthread_initialize_pids instead of set_tid_address syscall.
6894 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6895 * sysdeps/posix/usleep.c: ... here.
6897 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6899 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6900 call_pselect6 object.
6901 [$(subdir) = io]: Remove call_sync_file_range object.
6902 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6903 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6904 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6905 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6907 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6909 * math/s_cproj.c: Add include "math_private.h".
6910 * math/s_cprojf.c: Likewise.
6911 * math/s_cprojl.c: Likewise.
6913 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6916 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6917 high mantissa bit when testing whether P is a NaN.
6918 * math/libm-test.inc (remainder_test_data): Add more tests.
6919 (remquo_test_data): Likewise.
6922 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6923 below -32, return the argument, with underflow if subnormal.
6924 * math/auto-libm-test-in: Add more tests of atanh.
6925 * math/auto-libm-test-out: Regenerated.
6927 2015-05-19 Roland McGrath <roland@hack.frob.com>
6930 * nptl/tst-sem15.c: New file.
6931 * nptl/Makefile (tests): Add it.
6932 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6933 s/<</>>/ to fix typo in EOVERFLOW check.
6934 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6936 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6938 * manual/strings.texi (envz_remove): Fix typo in safety
6941 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6942 Steve Ellcey <sellcey@imgtec.com>
6944 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6945 in order to avoid strict alias warnings.
6946 (iruserok_af): Ditto for ra.
6948 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6952 (magicbyte): Convert to a function and avoid returning 0x01.
6953 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6954 (mem2chunk_check): Fix unsigned comparisons to zero.
6955 Hoist defs of sz and magic.
6957 2015-05-19 Richard Henderson <rth@redhat.com>
6959 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6961 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6963 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6966 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6967 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6968 (reused_arena): Find a non-corrupt arena.
6969 (heap_trim): Pass arena to unlink.
6970 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6972 (top_check): Likewise.
6973 (free_check): Likewise.
6974 (realloc_check): Likewise.
6975 * malloc/malloc.c (malloc_printerr): Add arena argument.
6977 (munmap_chunk): Adjust.
6978 (ARENA_CORRUPTION_BIT): New macro.
6979 (arena_is_corrupt): Likewise.
6980 (set_arena_corrupt): Likewise.
6981 (sysmalloc): Use mmap if there are no usable arenas.
6982 (_int_malloc): Likewise.
6983 (__libc_malloc): Don't fail if arena_get returns NULL.
6984 (_mid_memalign): Likewise.
6985 (__libc_calloc): Likewise.
6986 (__libc_realloc): Adjust for additional argument to
6988 (_int_free): Likewise.
6989 (malloc_consolidate): Likewise.
6990 (_int_realloc): Likewise.
6991 (_int_memalign): Don't touch corrupt arenas.
6992 * malloc/tst-malloc-backtrace.c: New test case.
6994 * Makefile (summarize-tests): Fix return value on success.
6996 * manual/string.texi (Envz Functions): Add envz_remove.
6998 2015-05-18 Roland McGrath <roland@hack.frob.com>
7000 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7001 (invalid_name): New function, broken out of ...
7002 (__opendirat): ... here. Call it.
7003 (need_isdir_precheck): New function, broken out of ...
7004 (__opendirat): ... here. Call it.
7005 Use __fxstatat64, not __xstatat64.
7006 (opendir_oflags): New function, broken out of ...
7007 (__opendirat): ... here. Call it.
7008 (opendir_tail): New function, broken out of ...
7009 (__opendirat): ... here. Call it.
7010 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7011 opendir_tail, rather than punting to __opendirat.
7012 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7014 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7016 * .gitignore: Ignore generated *.pyc.
7018 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7020 * include/stdio.h: Define __need_wint_t.
7021 * test-skeleton.c: Avoid `for' loop initial declaration.
7022 * nptl/tst-initializers1.c: Use test-skeleton.c.
7024 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7027 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7029 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7032 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7033 (__ieee754_atanh): Force underflow exception for results with
7034 small absolute value.
7035 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7036 (__ieee754_atanhf): Force underflow exception for results with
7037 small absolute value.
7038 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7039 (__ieee754_atanh): Force underflow exception for results with
7040 small absolute value.
7041 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7042 (__ieee754_atanhf): Force underflow exception for results with
7043 small absolute value.
7044 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7045 (__ieee754_atanhl): Force underflow exception for results with
7046 small absolute value.
7047 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7048 (__ieee754_atanhl): Force underflow exception for results with
7049 small absolute value.
7050 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7051 (__ieee754_atanhl): Force underflow exception for results with
7052 small absolute value.
7053 * math/auto-libm-test-in: Do not allow missing underflow
7054 exceptions from atanh.
7055 * math/auto-libm-test-out: Regenerated.
7058 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7059 2**-28 as threshold for returning x or +/- 1/x.
7060 * math/auto-libm-test-in: Add more tests of tan.
7061 * math/auto-libm-test-out: Regenerated.
7064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7065 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7066 * math/auto-libm-test-in: Add another test of lgamma.
7067 * math/auto-libm-test-out: Regenerated.
7069 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7071 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7072 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7073 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7074 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7075 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7076 (ADD2A): Use fabs. (SUB2A): Use fabs.
7077 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7080 (log1): Use fabs. (my_log2): Use fabs.
7081 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7082 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7083 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7084 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7086 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7087 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7088 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7089 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7090 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7091 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7093 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7096 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7097 as threshold for returning 1 - x.
7098 * math/auto-libm-test-in: Add more tests of erfc.
7099 * math/auto-libm-test-out: Regenerated.
7101 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7104 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7105 threshold for large arguments.
7106 * math/auto-libm-test-in: Add another test of atan.
7107 * math/auto-libm-test-out: Regenerated.
7110 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7111 (__log1p): Force underflow exception for results with small
7113 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7114 (__log1pf): Force underflow exception for results with small
7116 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7117 (__log1p): Force underflow exception for results with small
7119 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7120 (__log1pf): Force underflow exception for results with small
7122 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7123 (__log1pl): Force underflow exception for results with small
7125 * math/auto-libm-test-in: Do not allow missing underflow
7126 exceptions from log1p.
7127 * math/auto-libm-test-out: Regenerated.
7129 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7130 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7133 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7135 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7137 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7138 (libmvec): New variable.
7139 * configure.ac: Added option for mathvec build.
7140 * configure: Regenerated.
7141 * mathvec/Depend: New file.
7142 * mathvec/Makefile: New file.
7143 * shlib-versions: Added libmvec.
7144 * math/Makefile: Added rule for libm.so installation.
7146 * bits/math-vector.h: New file.
7147 * bits/libm-simd-decl-stubs.h: New header.
7148 * math/Makefile (headers): Added new header
7149 libm-simd-decl-stubs.h.
7150 * math/math.h (__MATHCALL_VEC): New macro.
7152 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7153 for conditions in testing functions.
7154 * math/Makefile: Added call of libm-have-vector-test.sh.
7155 * math/libm-test.inc (HAVE_VECTOR): New macros.
7157 * math/libm-test.inc: START refactored.
7158 * math/test-double.c (TEST_MATHVEC): Add define.
7159 * math/test-float.c: Likewise.
7160 * math/test-idouble.c: Likewise.
7161 * math/test-ifloat.c: Likewise.
7162 * math/test-ildoubl.c: Likewise.
7163 * math/test-ldouble.c: Likewise.
7164 * sysdeps/generic/math-tests-arch.h
7165 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7168 * math/test-double.c (FUNC_TEST): New macro.
7169 * math/test-float.c: Likewise.
7170 * math/test-idouble.c: Likewise.
7171 * math/test-ifloat.c: Likewise.
7172 * math/test-ildoubl.c: Likewise.
7173 * math/test-ldouble.c: Likewise.
7174 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7176 2015-05-13 Roland McGrath <roland@hack.frob.com>
7178 * sysdeps/nacl/fdopendir.c: New file.
7180 * dirent/scandir-tail.c: New file.
7181 * dirent/scandir64-tail.c: New file.
7182 * dirent/Makefile (routines): Add them.
7183 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7184 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7185 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7186 [!SCANDIR] (SCANDIR_TAIL): New macro.
7187 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7188 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7189 (SCANDIRAT): Macro removed.
7190 (SCANDIR_TAIL): New macro.
7191 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7192 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7193 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7194 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7195 (READDIR): Macro removed.
7196 (SCANDIR_TAIL): New macro.
7197 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7198 (SCANDIR_TAIL): New macro.
7200 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7201 * dirent/scandir-cancel.c: ... to this new file.
7202 * dirent/Makefile (routines): Add it.
7203 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7204 * sysdeps/unix/sysv/linux/i386/scandir64.c
7205 (SKIP_SCANDIR_CANCEL): Macro removed.
7206 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7208 * dirent/tst-scandir.c: New file.
7209 * dirent/tst-scandir64.c: New file.
7210 * dirent/Makefile (tests): Add them.
7212 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7215 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7217 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7219 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7222 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7224 * benchtests/bench-strcoll.c: New benchmark.
7225 * benchtests/Makefile: Generate locales and run benchmark.
7226 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7227 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7228 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7229 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7230 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7231 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7232 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7233 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7234 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7235 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7236 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7237 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7238 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7239 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7240 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7241 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7242 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7243 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7244 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7245 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7246 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7247 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7248 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7249 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7251 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7253 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7254 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7256 2015-05-12 Roland McGrath <roland@hack.frob.com>
7258 * posix/uname-values.h: New file.
7259 * posix/uname.c: Include that instead of <config-name.h>.
7260 * sysdeps/nacl/uname-values.h: New file.
7261 * sysdeps/arm/nacl/uname-values.h: New file.
7263 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7265 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7266 splitting into fields.
7268 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7270 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7271 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7272 * locale/localeinfo.h: Add enum collation_encoding_type.
7273 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7274 * programs/ld-collate.c (collate_output): Add encoding type info.
7275 * string/strcoll_l.c (STRDIFF): New function.
7276 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7277 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7279 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7282 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7283 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7284 <fpu_control.h> instead of <math/fpu_control.c>.
7285 * sysdeps/mips/mips32/fpu/Makefile: New file.
7287 2015-05-11 Andreas Schwab <schwab@suse.de>
7290 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7292 (_nss_compat_endgrent): Call nss_endgrent.
7293 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7295 (_nss_compat_endpwent): Call nss_endpwent.
7296 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7297 needent, call nss_setspent only if non-zero.
7298 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7299 (internal_endspent): Don't call nss_endspent.
7300 (_nss_compat_endspent): Call nss_endspent.
7301 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7302 Remove. All uses removed.
7303 (internal_setent): Remove parameter stayopen, add parameter
7304 stream. Use it instead of global variable.
7305 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7306 (internal_endent, internal_getent): Add parameter stream. Use it
7307 instead of global variable.
7308 (CONCAT(_nss_files_end,ENTNAME))
7309 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7310 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7311 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7313 (internal_setent, internal_endent): Add parameter stream. Use it
7314 instead of global variable.
7315 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7317 (get_next_alias): Add parameter stream.
7318 (_nss_files_getaliasent_r): Pass global stream.
7319 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7320 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7321 (_nss_files_gethostbyname4_r): Pass local stream to
7322 internal_setent, internal_getent and internal_endent. Remove
7325 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7327 * tst-strfmon1.c (tests): Update expected currency symbol.
7329 2015-05-08 Roland McGrath <roland@hack.frob.com>
7331 * sysdeps/nacl/gethostname.c: New file.
7333 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7335 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7337 * math/auto-libm-test-out: Regenerated.
7338 * sysdeps/i386/fpu/libm-test-ulps: Update.
7339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7341 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7344 * stdlib/tst-setcontext3.c: New file.
7345 * stdlib/tst-setcontext3.sh: New file.
7346 * stdlib/Makefile (tests): Add tst-setcontext3.
7347 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7348 to verify test program created output file.
7349 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7350 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7351 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7352 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7354 2015-05-06 Roland McGrath <roland@hack.frob.com>
7357 * elf/tst-tlsalign.c: New file.
7358 * elf/tst-tlsalign-static.c: New file.
7359 * elf/tst-tlsalign-lib.c: New file.
7360 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7361 (tests-static): Add tst-tlsalign-static.
7362 (modules-names): Add tst-tlsalign-lib.
7363 (test-xfail-tst-tlsalign): New variable.
7364 (test-xfail-tst-tlsalign-static): New variable.
7366 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7367 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7369 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7371 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7372 csqrt, erfc, sin and sincos.
7373 * math/auto-libm-test-out: Regenerated.
7374 * sysdeps/i386/fpu/libm-test-ulps: Update.
7375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7377 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7379 * sysdeps/aarch64/libm-test-ulps: Update.
7381 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7383 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7384 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7385 * math/auto-libm-test-out: Regenerated.
7386 * sysdeps/i386/fpu/libm-test-ulps: Update.
7387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7392 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7393 (wcsncpy): Likewise.
7395 2015-05-05 Florian Weimer <fweimer@redhat.com>
7397 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7398 Assume __ASSUME_FALLOCATE is always true.
7399 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7400 (__posix_fallocate64_l64): Likweise.
7401 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7402 (posix_fallocate): Likewise.
7403 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7404 (__posix_fallocate64_l64): Likewise.
7405 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7406 [!__ASSUME_FALLOCATE]: Add comment.
7408 2015-05-05 Florian Weimer <fweimer@redhat.com>
7410 * sysdeps/unix/sysv/linux/i386/Makefile
7411 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7412 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7413 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7414 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7415 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7416 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7417 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7419 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7421 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7422 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7424 * math/auto-libm-test-out: Regenerated.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7430 * math/auto-libm-test-in: Add more tests of tgamma.
7431 * math/auto-libm-test-out: Regenerated.
7432 * sysdeps/i386/fpu/libm-test-ulps: Update.
7433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7435 * math/auto-libm-test-in: Add more tests of tanh.
7436 * math/auto-libm-test-out: Regenerated.
7437 * sysdeps/i386/fpu/libm-test-ulps: Update.
7438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440 * math/auto-libm-test-in: Add more tests of tan.
7441 * math/auto-libm-test-out: Regenerated.
7442 * sysdeps/i386/fpu/libm-test-ulps: Update.
7443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7445 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7446 * math/auto-libm-test-out: Regenerated.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450 * math/auto-libm-test-in: Add another test of pow.
7451 * math/auto-libm-test-out: Regenerated.
7452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7454 * math/auto-libm-test-in: Add more tests of lgamma.
7455 * math/auto-libm-test-out: Regenerated.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7461 * math/auto-libm-test-out: Regenerated.
7462 * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7465 2015-05-01 Mark Wielaard <mjw@redhat.com>
7467 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7468 Elf64_Chdr structs and ELFCOMPRESS constants.
7470 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7472 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7474 * math/auto-libm-test-out: Regenerated.
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478 * math/auto-libm-test-in: Add more tests of erf and erfc.
7479 * math/auto-libm-test-out: Regenerated.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update.
7481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7483 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7485 * config.h.in (HAVE_AARCH64_BE): Add.
7487 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7489 * math/auto-libm-test-in: Add more tests of csqrt.
7490 * math/auto-libm-test-out: Regenerated.
7491 * sysdeps/i386/fpu/libm-test-ulps: Update.
7492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7494 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7495 * math/auto-libm-test-out: Regenerated.
7496 * sysdeps/i386/fpu/libm-test-ulps: Update.
7497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7501 2015-04-29 Roland McGrath <roland@hack.frob.com>
7503 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7504 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7506 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7507 (euidaccess, eaccess): Define as weak aliases.
7509 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7510 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7511 but __suseconds_t is often 'long int' so some sources assume that
7512 type is being used (e.g. they use %ld to print tv_usec).
7514 2015-04-29 Florian Weimer <fweimer@redhat.com>
7517 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7519 * nss/tst-nss-getpwent.c: New file.
7520 * nss/Makefile (tests): Add new test.
7522 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7525 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7526 exponents less than 48 as cases where high part of mantissa needs
7527 examining to determine whether argument is integral.
7528 * math/libm-test.inc (round_test_data): Add more tests.
7530 2015-04-28 Mark Wielaard <mjw@redhat.com>
7532 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7534 2015-04-27 David S. Miller <davem@davemloft.net>
7536 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7538 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7540 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7543 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7545 2015-04-27 Florian Weimer <fweimer@redhat.com>
7548 * time/tzset.c (parse_tzname): Return error on memory allocation
7550 * test-skeleton.c (struct temp_name_list): Change type of name
7551 member to non-const.
7552 (add_temp_file): Create a copy of the file name.
7553 (delete_temp_files): Deallocate memory.
7554 (create_temp_file): Add comment.
7556 2015-04-24 Florian Weimer <fweimer@redhat.com>
7558 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7559 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7561 2015-04-24 Roland McGrath <roland@hack.frob.com>
7563 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7564 * sysdeps/arm/configure: Regenerated.
7566 2015-04-24 Florian Weimer <fweimer@redhat.com>
7569 * time/tzfile.c (__tzfile_read): Check for large values of
7570 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7571 * time/tzset.c (__tzstring_len): New function, based on the old
7572 __tzstring function.
7573 (__tzstring): Call __tzstring_len.
7574 (parse_tzname): New helper function extracted from
7575 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7577 (parse_offset): New helper function extracted from
7578 __tzset_parse_tz. Replace switch with fallthrough with
7579 initialization before sscanf.
7580 (parse_rule): Likewise.
7581 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7582 new-style function definition.
7583 * timezone/Makefile (tests): Add tst-tzset.
7584 (tst-tzset.out): Dependencies on time zone files.
7585 (tst-tzset-ENV): Set TZDIR.
7586 (testdata/XT%): Copy crafted time zone files.
7587 * timezone/README: Mention crafted time zone files.
7588 * timezone/testdata/XT1, timezone/testdata/XT2,
7589 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7591 * timezone/tst-tzset.c: New test.
7593 2015-04-24 Florian Weimer <fweimer@redhat.com>
7595 * Makeconfig (+gccwarn): Remove -Winline.
7597 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7599 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7601 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7603 * NEWS: Mention sysconf() cache information support for s390.
7604 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7606 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7608 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7609 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7610 (__nearbyint): Likewise.
7611 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7612 (copysignl): Likewise.
7614 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7617 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7618 based on padding. (CVE-2015-1781)
7620 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7622 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7624 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7625 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7626 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7627 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7628 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7629 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7631 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7633 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7634 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7635 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7636 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7637 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7638 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7639 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7640 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7642 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7643 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7644 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7645 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7646 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7648 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7650 * stdlib/setenv.c (__add_to_environ):
7651 Dump core quickly if setenv (..., NULL, ...) is called.
7652 This time, do it the right way, and pacify GCC with a pragma.
7654 2015-04-17 Roland McGrath <roland@hack.frob.com>
7656 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7657 IMAP->l_prev cannot be null, and #if out the code for the contrary
7658 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7659 believe that NS (&_dl_ns[NSID]) could point outside the array.
7661 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7662 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7663 before using NSID as an index.
7665 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7668 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7669 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7670 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7672 2015-04-17 Roland McGrath <roland@hack.frob.com>
7674 Add preliminary port to Google Native Client on ARM.
7675 * abi-tags (.*-.*-nacl.*): New entry.
7676 * sysdeps/arm/nacl: New directory.
7677 * sysdeps/nacl: New directory.
7679 2015-04-16 David S. Miller <davem@davemloft.net>
7681 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7682 lowlevellock-futex.h
7684 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7686 * sysdeps/tile/configure.ac: New file.
7687 * sysdeps/tile/configure: Regenerated.
7689 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7691 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7692 conditionals for weak_alias and libc_hidden_weak.
7693 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7694 libc_hidden_weak and weak_alias.
7695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7696 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7697 and weak_alias for static one.
7699 2015-04-15 David S. Miller <davem@davemloft.net>
7701 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7703 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7706 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7707 Use signed comparision instead of substraction to avoid
7709 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7710 Take the sign of ret.
7711 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7712 Do not expect precise return values. Only the sign matters.
7713 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7714 * wcsmbs/test-wcsncmp.c: New File.
7715 * string/test-strncmp.c: Add wcsncmp support.
7717 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7720 * math/w_log1p.c: New file.
7721 * math/w_log1pf.c: Likewise.
7722 * math/w_log1pl.c: Likewise.
7723 * math/Makefile (libm-calls): Add w_log1p.
7724 * math/s_log1pl.c (log1pl): Remove weak_alias.
7725 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7726 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7727 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7728 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7729 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7730 [NO_LONG_DOUBLE] (log1pl): Likewise.
7731 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7732 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7733 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7734 (log1p): Remove long_double_symbol.
7735 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7736 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7737 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7738 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7739 remove weak_alias for corresponding log1p function.
7740 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7741 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7742 * sysdeps/ia64/fpu/w_log1p.c: New file.
7743 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7744 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7745 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7747 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7751 decimal exponent by 1.
7752 * stdlib/tst-strtod-round-data: Add more tests.
7753 * stdlib/tst-strtod-round.c (tests): Regenerated.
7755 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7757 * math/auto-libm-test-in: Add more tests of clog and clog10.
7758 * math/auto-libm-test-out: Regenerated.
7759 * sysdeps/i386/fpu/libm-test-ulps: Update.
7760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7762 2015-04-09 Roland McGrath <roland@hack.frob.com>
7764 * Makeconfig (module-cppflags): Exclude all .v.i files.
7765 (skip-module-cppflags): Variable removed.
7767 * configure.ac (libc_config_ok): Initialize before reading
7768 preconfigure scripts, not after.
7769 * configure: Regenerated.
7771 * test-skeleton.c (TIMEOUT): Move #define to top level.
7772 (main): Grok environment variable TEST_DIRECT. If set, print
7773 test expectation details into that file and then behave as if
7776 2015-04-09 Florian Weimer <fweimer@redhat.com>
7778 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7781 2015-04-08 David S. Miller <davem@davemloft.net>
7783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7785 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7787 * math/auto-libm-test-in: Add more tests of atanh.
7788 * math/auto-libm-test-out: Regenerated.
7789 * sysdeps/i386/fpu/libm-test-ulps: Update.
7790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7792 * math/auto-libm-test-in: Add more tests of atan.
7793 * math/auto-libm-test-out: Regenerated.
7794 * sysdeps/i386/fpu/libm-test-ulps: Update.
7795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797 2015-04-08 Florian Weimer <fweimer@redhat.com>
7799 * elf/pldd.c (main): Rewrite to use struct
7800 scratch_buffer instead of extend_alloca.
7801 * elf/pldd-xx.c (find_maps): Likewise.
7802 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7804 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7805 scratch_buffer instead of extend_alloca.
7806 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7807 grp/compat-initgroups.c.
7808 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7809 Rewrite to use struct scratch_buffer instead of extend_alloca.
7810 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7811 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7813 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7815 * math/auto-libm-test-in: Add more tests of cbrt.
7816 * math/auto-libm-test-out: Regenerated.
7817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7819 * math/auto-libm-test-in: Add more tests of cabs.
7820 * math/auto-libm-test-out: Regenerated.
7821 * sysdeps/i386/fpu/libm-test-ulps: Update.
7822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7826 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7827 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7829 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7831 * math/auto-libm-test-out: Regenerated.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7836 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7837 (atan): Set FE_TONEAREST mode for internal computations.
7838 * math/auto-libm-test-in: Add more tests of atan.
7839 * math/auto-libm-test-out: Regenerated.
7841 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7844 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7846 2015-04-07 Florian Weimer <fweimer@redhat.com>
7848 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7850 2015-04-07 Florian Weimer <fweimer@redhat.com>
7852 * include/scratch_buffer.h: New file.
7853 * malloc/scratch_buffer_grow.c: Likewise.
7854 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7855 * malloc/scratch_buffer_set_array_size.c: Likewise.
7856 * malloc/tst-scratch_buffer.c: Likewise.
7857 * malloc/Makefile (routines): Add scratch_buffer_grow.
7858 (tests): Add test case.
7859 * malloc/Versions (GLIBC_PRIVATE): Export
7860 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7861 __libc_scratch_buffer_set_array_size.
7863 2015-04-06 Richard Henderson <rth@redhat.com>
7865 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7866 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7868 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7869 unsigned int before printing.
7871 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7874 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7875 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7877 2015-04-02 Florian Weimer <fweimer@redhat.com>
7879 * include/libc-internal.h (libc_max_align_t): Define.
7881 2015-04-02 Andreas Schwab <schwab@suse.de>
7884 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7886 2015-04-02 Mel Gorman <mgorman@suse.de>
7889 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7890 as well as the main arena.
7892 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7895 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7896 sharing L2 cache to 2 for Silvermont/Knights Landing.
7898 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7901 * config.make.in (have-protected-data): New.
7902 * configure.ac: Check linker support for protected data symbol.
7903 * configure: Regenerated.
7904 * elf/Makefile (modules-names): Add tst-protected1moda and
7905 tst-protected1modb if $(have-protected-data) is yes.
7906 (tests): Add tst-protected1a and tst-protected1b if
7907 $(have-protected-data) is yes.
7908 ($(objpfx)tst-protected1a): New.
7909 ($(objpfx)tst-protected1b): Likewise.
7910 (tst-protected1modb.so-no-z-defs): Likewise.
7911 * elf/tst-protected1a.c: New file.
7912 * elf/tst-protected1b.c: Likewise.
7913 * elf/tst-protected1mod.h: Likewise.
7914 * elf/tst-protected1moda.c: Likewise.
7915 * elf/tst-protected1modb.c: Likewise.
7917 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7920 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7921 indicates it is called from do_lookup_x on relocation against
7922 protected data, skip the data definion in the executable from
7924 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7925 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7926 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7927 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7928 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7930 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7931 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7932 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7933 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7934 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7935 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7937 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7939 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7940 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7942 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7944 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7946 * sysdeps/x86_64/nptl/tls.h: Ditto.
7948 2015-03-27 Roland McGrath <roland@hack.frob.com>
7950 * dlfcn/tststatic.c (main): Converted to ...
7951 (do_test): ... this.
7952 (TEST_FUNCTION): New macro.
7953 Include test-skeleton.c.
7955 2015-03-26 Alan Modra <amodra@gmail.com>
7957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7958 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7959 zero for undefined weak.
7960 (elf_machine_plt_conflict): Similarly.
7962 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7964 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7966 * math/auto-libm-test-out: Regenerated.
7967 * sysdeps/i386/fpu/libm-test-ulps: Update.
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7970 * math/auto-libm-test-in: Add another test of asin.
7971 * math/auto-libm-test-out: Regenerated.
7972 * sysdeps/i386/fpu/libm-test-ulps: Update.
7973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7975 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7977 (LLL_EBX_REG): Likewise.
7978 (LLL_ENTER_KERNEL): Likewise.
7980 * math/auto-libm-test-in: Add more tests of asin.
7981 * math/auto-libm-test-out: Regenerated.
7982 * sysdeps/i386/fpu/libm-test-ulps: Update.
7983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7987 libc_do_syscall_args): New structure.
7988 (INTERNAL_SYSCALL_MAIN_0): New macro.
7989 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7990 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7991 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7992 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7993 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7994 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7995 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7996 Replace conditional definitions by conditional definitions of ....
7997 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7998 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7999 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8000 (libpthread-sysdep_routines): Add libc-do-syscall.
8001 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8002 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8003 to __NR_futex not 240.
8005 2015-03-25 Alan Modra <amodra@gmail.com>
8007 * NEWS: Advertise TLS optimization.
8008 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8009 (DT_PPC_NUM): Increment.
8010 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8011 (CHECK_STATIC_TLS): Use here.
8012 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8015 * sysdeps/powerpc/dl-tls.c: New file.
8016 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8017 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8018 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8019 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8024 2015-03-25 Alan Modra <amodra@gmail.com>
8026 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8027 for overlapping .opd entries" to "support...".
8028 * sysdeps/powerpc/powerpc64/configure: Regenerate
8030 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8032 * math/auto-libm-test-in: Add more tests of acos.
8033 * math/auto-libm-test-out: Regenerated.
8034 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8037 * math/auto-libm-test-in: Add more tests of expm1.
8038 * math/auto-libm-test-out: Regenerated.
8039 * sysdeps/i386/fpu/libm-test-ulps: Update.
8040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8042 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8044 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8045 * math/auto-libm-test-out: Regenerated.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052 * math/auto-libm-test-in: Add more tests of log2.
8053 * math/auto-libm-test-out: Regenerated.
8054 * sysdeps/i386/fpu/libm-test-ulps: Update.
8055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8057 2015-03-23 Roland McGrath <roland@hack.frob.com>
8059 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8060 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8061 _IO_IS_APPENDING bit in READ_WRITE instead.
8063 2015-03-23 Florian Weimer <fweimer@redhat.com>
8065 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8066 (__determine_cpumask_size): Replace extend_alloca with a
8067 variable-length array. Do not treat res == 0 as an error.
8069 2015-03-23 Florian Weimer <fweimer@redhat.com>
8072 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8073 and integer overflow.
8074 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8075 (main): Add integer overflow tests.
8076 * manual/pattern.texi (Calling Wordexp): Document additional use
8079 2015-03-23 Alan Modra <amodra@gmail.com>
8081 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8082 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8083 and false branch of conditional.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8087 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8089 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8091 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8092 unused declaration of _hurd_intr_rpc_msg_in_trap.
8093 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8094 defined instead of whether it is non-zero.
8095 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8096 input constraint instead of both input and output constraint. Use ecx
8097 clobber instead of %ecx.
8098 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8099 mutex_unlock): Use a statement expression instead of an expression list.
8100 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8101 type to vm_size_t instead of vm_address_t.
8102 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8103 defined instead of whether it is non-zero.
8104 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8105 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8106 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8107 comparisons with mapaddr.
8108 * nscd/nscd-client.h: Include <time.h>.
8109 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8110 9th parameter to __vm_region instead of int.
8111 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8112 * scripts/check-local-headers.sh (exclude): Add device/,
8113 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8116 2015-03-19 Roland McGrath <roland@hack.frob.com>
8118 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8119 to account for alignment padding.
8120 * sysdeps/arm/memmove.S: Likewise.
8122 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8124 * sysdeps/unix/sysv/linux/generic/README: New file.
8126 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8129 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8130 (futex_abstimed_wait)
8131 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8132 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8133 of lll_futex_timed_wait.
8135 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8138 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8140 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8147 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8148 entries with Static TLS too. Skip entries past the end of the
8149 allocated DTV, from Alan Modra.
8150 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8151 Static TLS DTV entry set up from...
8152 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8153 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8154 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8155 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8157 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8158 that the slot we find is associated with the given map before
8159 using its generation count.
8160 * nptl_db/db_info.c: Include ldsodefs.h.
8161 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8162 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8163 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8164 (link_map::l_tls_offset): New struct field.
8165 (dtv_t::counter): Likewise.
8166 (rtld_global): New struct.
8167 (_rtld_global): New rtld variable.
8168 (dl_tls_dtv_slotinfo_list): New rtld global field.
8169 (dtv_slotinfo_list): New struct.
8170 (dtv_slotinfo): Likewise.
8171 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8172 (td_lookup): Rename to...
8173 (td_mod_lookup): ... this. Use new mod parameter instead of
8175 * nptl_db/td_thr_tlsbase.c: Include link.h.
8176 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8177 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8178 addresses even if the DTV is out of date or missing them.
8179 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8180 index zero-length arrays.
8181 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8182 (td_lookup): Make it a macro implemented in terms of...
8183 (td_mod_lookup): ... this declaration.
8184 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8185 (DB_MAIN_VARIABLE): Likewise.
8187 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8190 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8192 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8194 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8196 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8199 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8200 (atomic_add, atomic_increment_and_test)
8201 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8203 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8205 * stdlib/setenv.c (__add_to_environ):
8206 Dump core quickly if setenv (..., NULL, ...) is called.
8208 2015-03-13 Roland McGrath <roland@hack.frob.com>
8210 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8211 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8212 all the necessary asm magic in one place.
8213 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8216 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8219 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8220 traced file mtime. Use consistent log message.
8221 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8222 (register_traced_file): Call install_watches. Always set mtime.
8223 (invalidate_cache): Iterate over all trace files. Call install_watches.
8224 (inotify_check_files): Don't inline. Handle watching parent
8225 directories and configuration file movement in and out.
8226 (handle_inotify_events): New function.
8227 (main_loop_poll): Call handle_inotify_events.
8228 (main_loop_epoll): Likewise.
8229 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8230 (struct traced_file): Use array of inotify fds. Add parent directory,
8232 (struct database_dyn): Remove unused file_mtime.
8233 (init_traced_file): New inline function.
8234 (define_traced_file): New macro.
8235 * nss/nss_db/db-init.c: Use define_traced_file.
8236 (_nss_db_init): Use init_traced_file.
8237 * nss/nss_files/files-init.c: Use define_traced_file.
8238 (_nss_files_init): Use init_traced_file.
8240 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8242 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8243 [_LIBC]: Do not include <stdlib.h>.
8244 [!_LIBC] (abort): Remove declaration.
8245 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8246 _FP_STATIC_ASSERT instead of conditionally calling abort.
8247 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8248 (_FP_EXTEND_CNAN): Likewise.
8249 (FP_TRUNC): Likewise.
8250 (__FP_CLZ): Likewise.
8251 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8253 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8255 * manual/string.texi (XPG basename): Fix prototype.
8257 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8260 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8261 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8262 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8263 (__setcontext): Likewise.
8264 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8265 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8266 Call rt_sigprocmask syscall one time to set new signal mask
8267 and retrieve the current signal mask instead of two calls.
8268 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8269 (__swapcontext): Likewise.
8270 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8271 * stdlib/tst-setcontext2.c: New file.
8273 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8277 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8280 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8283 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8286 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8288 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8290 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8291 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8293 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8294 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8295 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8296 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8297 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8298 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8300 * nptl_db/td_symbol_list.c (td_lookup): Remove
8301 HAVE_ASM_GLOBAL_DOT_NAME code.
8302 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8303 HAVE_ASM_GLOBAL_DOT_NAME check.
8304 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8305 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8306 (DOT_LABEL): Remove define.
8307 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8308 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8309 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8310 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8311 (__TLS_GET_ADDR): Likewise.
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8313 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8315 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8318 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8319 (_FPU_SETCW): Initialize cw from fpsr before storing.
8320 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8321 (fesetexceptflag): Rewrite using fpu_control.h.
8322 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8324 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8327 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8329 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8331 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8333 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8334 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8336 (_FP_FMA): Likewise.
8337 (_FP_DIV): Likewise.
8339 2015-03-10 Roland McGrath <roland@hack.frob.com>
8341 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8342 with 0 in that case.
8343 * Makefile (summarize-tests): New canned sequence, factored out of
8344 commands for targets tests and xtests. Display summary lines that
8345 don't start with PASS: or XFAIL: rather than ones that do start with
8346 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8347 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8348 do start with ERROR: or FAIL:.
8349 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8350 (except for [$(build-shared) = yes]).
8351 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8352 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8353 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8354 * nptl/Makefile: Revert 2015-03-04 changes.
8355 [$(CXX) empty] (tests-unsupported): New variable.
8356 * debug/Makefile: Likewise.
8358 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8359 gnulib file. Replace __attribute with __attribute__ throughout.
8361 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8363 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8365 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8368 * math/auto-libm-test-in: Add another test of pow.
8369 * math/auto-libm-test-out: Regenerated.
8371 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8373 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8374 $(config-cflags-nofma).
8376 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8378 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8379 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8380 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8381 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8382 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8383 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8384 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8385 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8386 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8387 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8388 Add comment on closing #endif.
8390 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8392 * posix/wordexp.c (CHAR_IN_SET): New macro.
8393 (parse_param): Use it.
8395 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8397 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8399 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8402 * posix/wordexp.c (parse_param): Fix buffer overflow.
8403 * posix/wordexp-test.c (test_case): Add test case.
8405 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8408 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8409 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8411 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8414 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8415 (do_bz18043): Delete.
8417 (testit): Refactor to have words at the edge of unreadable page.
8419 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8422 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8423 Cleanup read-only streams as well.
8424 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8426 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8428 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8431 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8433 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8435 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8436 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8437 * soft-fp/op-common.h (_FP_DECL): Likewise.
8439 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8441 * elf/ifuncdep2.c (global): Replace
8442 __attribute__((visibility("protected"))) with
8443 asm (".protected global").
8444 * elf/ifuncmod1.c (global): Likewise.
8445 * elf/ifuncmod5.c (global): Likewise.
8447 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8449 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8450 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8452 2015-03-06 Roland McGrath <roland@hack.frob.com>
8454 * manual/install.texi (Configuring and compiling):
8455 Document test-wrapper-env-only.
8456 * INSTALL: Regenerated.
8458 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8461 * posix/wordexp.c (parse_param): Fix buffer overflow.
8462 * posix/wordexp-test.c (do_bz18043): Add test case.
8464 2015-03-06 Vincent Bernat <vincent@bernat.im>
8466 * time/tst-strptime2.c (do_test): Ensure failing tests are
8468 * time/tst-strptime3.c (do_test): Likewise.
8470 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8472 Fix aio_error thread-safety.
8473 * sysdeps/pthread/aio_error.c: New file
8474 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8477 2015-03-06 Florian Weimer <fweimer@redhat.com>
8479 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8480 (group_number, vfprintf): Use it.
8481 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8482 (JUMP, REF): Use it.
8483 (WORK_BUFFER_SIZE): New enum constant.
8484 (process_arg, vfprintf): Use it.
8486 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8488 * manual/errno.texi (Error Messages): Complete example function
8489 by adding missing #define.
8490 (program_invocation_name): Add statement indicating GNU
8491 extension and reference which header file declares the variable.
8492 (program_invocation_short_name): Likewise.
8494 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8496 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8499 2015-03-05 Roland McGrath <roland@hack.frob.com>
8501 * Makeconfig (test-wrapper-env-only): New variable.
8502 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8503 then use that with $(test-wrapper-env-only) rather than using
8504 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8506 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8509 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8510 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8511 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8512 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8513 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8514 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8515 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8516 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8518 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8519 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8523 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8525 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8527 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8528 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8530 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8532 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8533 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8535 2015-03-04 Roland McGrath <roland@hack.frob.com>
8537 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8538 (ETH_ALEN): New macro.
8539 (struct ether_addr): Use it for length of ether_addr_octet.
8541 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8542 (setdb): Don't call __nss_configure_lookup for "rpc".
8543 (do_test): Don't call test_rpc.
8544 (output_rpcent, test_rpc): Functions moved ...
8545 * sunrpc/test-rpcent.c: ... to this new file.
8546 * sunrpc/Makefile (tests): Add it.
8548 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8550 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8551 * nptl/tst-signal6.c: Likewise.
8552 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8553 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8555 * configure.ac (libc_cv_cxx_link_ok): New check.
8556 Reset CXX to empty if it fails to link.
8557 * configure: Regenerated.
8558 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8559 bug-atexit3-lib only if $(CXX) is nonempty.
8560 * nptl/Makefile (tests): Likewise for tst-cancel24.
8561 (tests, tests-static): Likewise for tst-cancel24-static.
8562 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8563 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8564 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8565 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8567 2015-03-04 Andreas Schwab <schwab@suse.de>
8570 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8571 for non-GCC compilers.
8572 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8575 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8578 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8579 integer before bitwise and assembly operations.
8580 (feclearexcept): Likewise.
8581 * math/test-fenvinline.c: New file.
8582 * math/Makefile: Add test-fenvinline test.
8584 2015-03-03 Alan Modra <amodra@gmail.com>
8587 * scripts/localplt.awk: Strip off symbol version.
8588 * NEWS: Mention bug fix.
8590 2015-03-02 Roland McGrath <roland@hack.frob.com>
8592 * sysdeps/pthread/timer_routines.c
8593 (timer_free_list, thread_free_list, thread_active_list): Make static.
8595 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8598 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8599 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8601 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8602 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8604 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8605 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8608 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8611 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8612 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8614 2015-03-02 Andreas Schwab <schwab@suse.de>
8616 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8619 2015-03-02 Florian Weimer <fweimer@redhat.com>
8621 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8622 Return error status.
8624 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8627 * locale/findlocale.c (_nl_find_locale): Introduce const
8628 version of loc_name and drop unsafe type casts.
8630 2015-02-27 Roland McGrath <roland@hack.frob.com>
8632 * dlfcn/tststatic2.c (main): Converted to ...
8633 (do_test): ... this.
8634 (TEST_FUNCTION): New macro.
8635 Include test-skeleton.c.
8637 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8640 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8641 (tests-pie): Add vismain.
8642 (CFLAGS-vismain.c): New.
8643 * elf/vismain.c: Add comments for PIE requirement.
8645 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8649 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8650 0x1p-56L as threshold for just returning the argument.
8651 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8652 0x1p-32L as threshold for just returning the argument.
8653 * math/auto-libm-test-in: Add more tests of atanh.
8654 * math/auto-libm-test-out: Regenerated.
8655 * sysdeps/i386/fpu/libm-test-ulps: Update.
8656 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8658 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8660 * string/bcopy.c (bcopy): Call memmove for performance.
8662 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8664 * string/bzero.c (__bzero): Call memset for performance.
8666 2015-02-27 John David Anglin <dave.anglin@bell.net>
8669 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8672 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8674 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8676 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8678 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8679 (__kernel_standard): Use CSTR macro when setting exc.name.
8680 * sysdeps/ieee754/Makefile [$(subdir) = math]
8681 (CFLAGS-k_standard.c): Remove variable.
8683 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8684 setting p and q from "else if" to "else".
8686 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8688 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8690 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8692 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8694 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8699 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8700 return pi/2 for arguments below 0x1p-113L.
8701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8702 return pi/2 for arguments below 0x1p-106L.
8703 * math/auto-libm-test-in: Add more tests of acos.
8704 * math/auto-libm-test-out: Regenerated.
8707 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8709 (__ieee754_asin): Force underflow exception for results with small
8711 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8713 (__ieee754_asinf): Force underflow exception for results with
8714 small absolute value.
8715 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8716 (__ieee754_asin): Force underflow exception for results with small
8718 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8719 (__ieee754_asinf): Force underflow exception for results with
8720 small absolute value.
8721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8722 (__ieee754_asinl): Force underflow exception for results with
8723 small absolute value.
8724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8725 (__ieee754_asinl): Force underflow exception for results with
8726 small absolute value.
8727 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8728 (__ieee754_asinl): Force underflow exception for results with
8729 small absolute value.
8730 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8732 * math/auto-libm-test-in: Do not mark underflow exceptions as
8733 possibly missing for bug 16351.
8734 * math/auto-libm-test-out: Regenerated.
8737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8738 of power of 2 down when low part has opposite sign.
8739 * math/libm-test.inc (logb_test_data): Add more tests.
8741 2015-02-26 Andreas Schwab <schwab@suse.de>
8744 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8745 over collating symbol inside a bracket expression. Minor cleanup.
8746 * posix/tst-fnmatch3.c (do_test): Add test case.
8748 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8751 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8752 Adjust exponent of power of 2 down when low part has opposite
8754 * math/libm-test.inc (ilogb_test_data): Add more tests.
8756 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8759 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8760 the previous change.
8763 * locale/findlocale.c (_nl_find_locale): Retry archive search
8764 after alias expansion.
8766 2015-02-25 Roland McGrath <roland@hack.frob.com>
8768 * iconv/tst-iconv3.c (main): Converted to ...
8769 (do_test): ... this.
8770 (TEST_FUNCTION): New macro.
8771 Include test-skeleton.c.
8773 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8774 (convert): Make function static.
8775 (test_unalign): Likewise. Add const to argument pointee types.
8776 (main): Replace with static function do_test.
8777 Print "Succeeded." only if RET is zero.
8778 (TEST_FUNCTION): New macro.
8779 Include test-skeleton.c.
8781 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8782 returns a null pointer.
8784 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8786 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8787 to __memcpy_ppc only for static builds.
8789 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8792 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8793 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8794 * math/auto-libm-test-in: Add more tests of asinh.
8795 * math/auto-libm-test-out: Regenerated.
8796 * sysdeps/i386/fpu/libm-test-ulps: Update.
8797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8799 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8802 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8803 and ip6_mtuinfo definitions here.
8804 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8805 in this define too. Update comment.
8807 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8809 * elf/sprof.c (load_shobj): Tweak error message to match others.
8811 2015-02-24 Kevin Easton <kevin@guarana.org>
8813 [BZ #16145] (partial fix)
8814 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8815 to reduce lock contention.
8817 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8819 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8820 (struct timex): Update time comment.
8821 (ADJ_SETOFFSET): Define.
8823 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8827 2**56 not 2**28 as threshold for log (2x) formula.
8828 * math/auto-libm-test-in: Add more tests of acosh.
8829 * math/auto-libm-test-out: Regenerated.
8830 * sysdeps/i386/fpu/libm-test-ulps: Update.
8831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8833 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8835 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8836 parenthesis around the buf assignment.
8837 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8839 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8842 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8843 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8844 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8845 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8846 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8847 * math/libm-test.inc (scalb_test_data): Add more tests.
8849 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8852 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8853 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8855 2015-02-24 Eric Rannaud <e@nanocritical.com>
8858 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8859 * io/bits/fcntl2.h (open): Use it.
8861 * io/open.c (__libc_open): Likewise.
8862 * io/open64.c (__libc_open64): Likewise.
8863 * io/open64_2.c (__open64_2): Likewise.
8864 * io/open_2.c (__open_2): Likewise.
8865 * io/openat.c (__openat): Likewise.
8866 * io/openat64.c (__openat64): Likewise.
8867 * io/openat64_2.c (__openat64_2): Likewise.
8868 * io/openat_2.c (__openat_2): Likewise.
8869 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8870 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8871 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8872 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8873 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8874 (__open_nocancel): Likewise.
8875 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8876 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8877 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8879 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8882 * resolv/gethnamaddr.c (getanswer): Skip logging if
8883 RES_USE_DNSSEC is set.
8884 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8886 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8888 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8890 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8892 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8893 201304L, for Unicode 7.
8895 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8898 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8899 shared library. Add gmon-start.os otherwise.
8900 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8901 $(objpfx)gmon-start.os if builing shared library.
8902 ($(objpfx)g$(static-start-installed-name)): Likewise.
8904 2015-02-23 Andreas Schwab <schwab@suse.de>
8906 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8908 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8911 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8912 (enlarge_userbuf): Likewise.
8914 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8916 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8917 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8918 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8919 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8921 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8923 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8924 expression inside statement expression.
8926 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8928 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8929 <sysdeps/nptl/lowlevellock.h> and remove macros and
8930 functions that are now defined there.
8931 (SYS_futex): Remove.
8932 (lll_compare_and_swap): Remove.
8933 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8935 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8938 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8939 instead of scandirat.
8940 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8941 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8942 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8944 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8945 (__scandirat): Declare. Use libc_hidden_proto.
8946 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8948 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8950 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8953 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8955 (__ieee754_atan2): For results with small absolute value, force
8956 underflow exception and remove excess range and precision from
8958 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8960 (__ieee754_atan2f): For results with small absolute value, force
8961 underflow exception and remove excess range and precision from
8963 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8965 (__atan): For results with small absolute value, force underflow
8966 exception and remove excess range and precision from return value.
8967 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8969 (__atanf): For results with small absolute value, force underflow
8970 exception and remove excess range and precision from return value.
8971 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8973 (__ieee754_atan2): Force underflow exception for results with
8974 small absolute value.
8975 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8977 (atan): Force underflow exception for results with small absolute
8979 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8980 (__atanf): Force underflow exception for results with small
8982 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8984 (__atanl): Force underflow exception for results with small
8986 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8987 (__atanl): Force underflow exception for results with small
8989 * sysdeps/x86/fpu/bits/mathinline.h
8990 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8991 (__ieee754_atan2): Only define inline for long double.
8992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8993 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8994 * math/auto-libm-test-in: Do not mark underflow exceptions as
8995 possibly missing for bug 15319. Add more tests of atan2.
8996 * math/auto-libm-test-out: Regenerated.
8997 * math/libm-test.inc (casin_test_data): Do not mark underflow
8998 exceptions as possibly missing for bug 15319.
8999 (casinh_test_data): Likewise.
9000 * sysdeps/i386/fpu/libm-test-ulps: Update.
9002 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9004 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9005 * sysdeps/mips/bits/endian.h: Fix comments.
9007 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9010 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9011 (hdestroy_r): Likewise.
9012 (hsearch_r): Likewise.
9013 (__hcreate_r): Declare and use libc_hidden_proto.
9014 (__hdestroy_r): Likewise.
9015 (__hsearch_r): Likewise.
9016 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9017 (hcreate): Call __hcreate_r instead of hcreate_r.
9018 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9019 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9020 as weak alias of __hcreate_r.
9021 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9023 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9025 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9027 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9028 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9029 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9030 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9032 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9034 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9035 arena_lock into a single arena_get.
9037 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9039 * dl-reloc.c: Inlucde libc-internal.h.
9040 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9041 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9042 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9043 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9044 (grow_heap): Likewise.
9045 * malloc/malloc.c: Include libc-internal.h.
9046 (do_check_malloc): Call powerof2.
9047 (sysmalloc): Use pagesize. Call ALIGN_UP.
9048 (systrim): Use pagesize.
9049 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9050 (__libc_valloc): Use pagesize.
9051 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9053 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9056 * include/sys/resource.h (__getrlimit64): Declare. Use
9058 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9059 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9060 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9062 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9064 [!getrlimit64] (getrlimit64): Define as weak alias of
9065 __getrlimit64. Use libc_hidden_weak.
9066 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9067 using __getrlimit64 not __new_getrlimit64.
9068 (__GI_getrlimit64): Likewise.
9069 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9071 (__GI_getrlimit64): Likewise.
9072 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9074 (getrlimit): Add __getrlimit64 alias.
9075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9077 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9079 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9080 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9082 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9084 * libio/fileops.c: Add missing sys/mman.h
9085 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9087 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9089 * manual/math.texi (Errors in Math Functions): Clarify goals
9090 regarding inexact and underflow exceptions.
9092 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9094 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9095 * sysdeps/mips/memset.S: Ditto.
9097 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9099 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9101 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9103 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9104 (__v1longjmp): Remove versioned symbol.
9105 (__v1siglongjmp): Remove alias and versioned symbol.
9106 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9107 (__v2siglongjmp): Likewise.
9109 2015-02-16 Torvald Riegel <triegel@redhat.com>
9111 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9113 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9115 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9117 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9120 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9121 zero result does not depend on the sign resulting from
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9125 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9129 * math/libm-test.inc (remquo_test_data): Add more tests.
9131 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9133 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9134 Problem reported by J William Piggott.
9136 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9139 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9140 products 4 * y and 2 * y where those would overflow.
9141 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9143 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9144 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9146 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9147 * math/libm-test.inc (remquo_test_data): Add more tests.
9149 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9151 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9152 [defined _COMPILING_NEWLIB].
9153 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9154 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9156 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9157 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9159 2015-02-16 Torvald Riegel <triegel@redhat.com>
9161 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9164 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9167 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9168 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9169 HOST_STACK_END_ADDR): Likewise.
9171 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9173 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9174 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9175 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9177 2015-02-13 Roland McGrath <roland@hack.frob.com>
9179 * sysdeps/generic/c++-types.data: New file.
9180 * sysdeps/generic/ld.abilist: New file.
9181 * sysdeps/generic/libBrokenLocale.abilist: New file.
9182 * sysdeps/generic/libanl.abilist: New file.
9183 * sysdeps/generic/libc.abilist: New file.
9184 * sysdeps/generic/libcrypt.abilist: New file.
9185 * sysdeps/generic/libdl.abilist: New file.
9186 * sysdeps/generic/libm.abilist: New file.
9187 * sysdeps/generic/libpthread.abilist: New file.
9188 * sysdeps/generic/libresolv.abilist: New file.
9189 * sysdeps/generic/librt.abilist: New file.
9191 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9195 Compute absolute value of x as modified by fmod, not original
9197 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9198 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9199 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9200 RUN_TEST_ffI_f1_mod8.
9201 (remquo_test_data): Add more tests.
9203 2015-02-13 Roland McGrath <roland@hack.frob.com>
9205 * sysdeps/init_array/pt-crti.S: New file.
9207 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9210 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9211 __builtin_fmaf instead of relying on contraction of a * b + c.
9213 2015-02-12 J William Piggott <elseifthen@gmx.com>
9216 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9219 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9222 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9223 __builtin_fma instead of relying on contraction of a * b + c.
9225 2015-02-12 Roland McGrath <roland@hack.frob.com>
9227 * Makeconfig (ASFLAGS): Add -Werror=undef.
9228 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9229 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9230 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9232 * Makeconfig (after-link): New variable.
9233 (+link-pie, +link-pie-tests): Use it.
9234 (+link-static, +link-static-tests): Likewise.
9235 (+link, +link-tests): Likewise.
9236 * Makerules (build-module, build-module-asneeded): Likewise.
9237 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9239 * elf/Makefile ($(objpfx)ld.so): Likewise.
9241 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9244 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9245 both struct timeval and struct timespec.
9247 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9250 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9252 (__ieee754_exp2l): Do not multiply small fractional parts by
9254 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9256 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9257 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9258 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9259 * math/auto-libm-test-in: Add more tests of exp2.
9260 * math/auto-libm-test-out: Regenerated.
9262 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9264 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9267 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9269 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9272 2015-02-12 Andreas Schwab <schwab@suse.de>
9275 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9276 Filter out elision flags from value returned in kind.
9277 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9278 * nptl/tst-pthread-mutexattr.c: New file.
9280 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9282 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9283 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9284 into gnu-gnu, and update comment to refer to abi-tags.
9286 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9289 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9290 (__sincos): Set errno to EDOM for infinite argument.
9291 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9292 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9293 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9294 (__sincosl): Set errno to EDOM for infinite argument.
9295 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9296 (__sincosl): Set errno to EDOM for infinite argument.
9297 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9298 (__sincosl): Set errno to EDOM for infinite argument.
9299 * math/libm-test.inc (sincos_test_data): Test errno setting.
9301 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9303 * string/strxfrm_l.c: Remove #define STRCMP.
9304 * string/strcoll_l.c: Remove #define STRLEN.
9305 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9306 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9308 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9310 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9311 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9312 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9313 * sysdeps/mips/mips64/Makefile: ... here.
9314 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9315 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9316 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9317 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9318 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9319 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9320 * sysdeps/mips/mips64/n64/Implies: Likewise.
9322 2015-02-10 Roland McGrath <roland@hack.frob.com>
9324 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9325 <sys/time.h>, <string.h>, and <errno.h>.
9326 (dest_offset, dest_address, value, zero): Remove unused variables.
9327 (ldouble): Remove typedef.
9328 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9329 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9331 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9332 (check): Function removed.
9334 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9335 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9336 Don't call set_sigaction_FP and remove_sigaction_FP here.
9337 (ldouble_test): Just use 'long double' as macro argument, no need for
9338 the 'ldouble' typedef.
9339 (do_test): Set up SIGFPE handler at start, using plain signal rather
9340 than sigaction. Fix code style.
9342 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9345 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9348 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9350 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9351 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9353 * sysdeps/powerpc/configure.ac: Remove file.
9354 * sysdeps/powerpc/configure: Likewise.
9356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9357 [sysdep_routines]: Remove wordcopy-power6 object.
9358 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9359 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9360 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9361 (__memmove_ppc32): Likewise.
9362 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9364 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9365 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9366 Remove preprocessor.
9368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9369 [sysdep_routines]: Remove wide chars objects.
9370 [wcsmbs]: New rule for wide char objects.
9372 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9373 Remove wordcopy-power6 obejct.
9374 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9375 Use local call for wordcopy and memcpy symbols.
9376 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9377 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9378 implementation for loader.
9379 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9381 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9382 Remove wordcopy-power7 object.
9383 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9384 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9385 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9386 (_wordcopy_fwd_dest_aligned): Likewise.
9387 (_wordcopy_bwd_aligned): Likewise.
9388 (_wordcopy_bwd_dest_aligned): Likewise.
9390 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9391 Rewrite to call __memmove_ppc instead of include default
9394 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9395 Remove wide chars objects.
9396 [wcsmbs]: New rule for wide char objects.
9398 2015-02-09 Andreas Schwab <schwab@suse.de>
9401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9402 in terms of __O_DIRECTORY.
9404 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9406 * time/getdate.c: Include <stdbool.h>.
9407 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9409 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9412 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9414 Add ersatz _Static_assert on older C hosts
9415 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9416 pre-C11 C platform that is not known to support _Static_assert.
9418 2015-02-07 Richard Braun <rbraun@sceen.net>
9420 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9422 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9424 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9426 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9427 priority against unexistent AIO_PRIO_DELTA_MAX.
9428 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9430 * misc/fchflags.c (fchflags): Likewise.
9431 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9432 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9433 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9434 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9435 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9437 [__USE_MISC] (chflags, fchflags): Declare functions.
9438 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9439 EINVAL when nfds is greater than FD_SETSIZE.
9440 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9441 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9443 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9444 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9445 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9447 * hurd/hurd/signal.h (_hurd_self_sigstate,
9448 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9449 Explicit casts from void *.
9450 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9451 * abi-tags: Rename gnu-gnu os into gnu.
9454 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9455 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9456 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9457 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9458 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9459 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9462 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9463 duplicates ADDR->sun_path with sockaddr LEN limitation.
9464 * sysdeps/mach/hurd/connect.c: Include <string.h>
9465 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9466 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9467 * sysdeps/mach/hurd/sendto.c: Likewise.
9468 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9469 implementing it by hand.
9471 2015-02-06 Roland McGrath <roland@hack.frob.com>
9473 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9474 Use sfi_breg on ldr.
9475 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9478 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9480 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9481 Test SIGSETXID only if it's defined.
9483 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9485 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9486 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9488 * nptl/tst-align2.c: Moved ...
9489 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9490 * nptl/Makefile (tests): Remove tst-align2.
9491 * sysdeps/unix/sysv/linux/Makefile
9492 [$(subdir) = nptl] (tests): Add tst-align-clone.
9493 * nptl/tst-getpid1.c: Moved ...
9494 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9495 * nptl/tst-getpid2.c: Moved ...
9496 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9497 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9498 * sysdeps/unix/sysv/linux/Makefile
9499 [$(subdir) = nptl] (tests): ... here.
9500 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9501 * sysdeps/unix/sysv/linux/Makefile
9502 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9504 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9505 Drop trailing \n from perror argument. Use return rather than exit.
9507 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9509 * nptl/tst-cancel21.c (do_test): Likewise.
9510 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9511 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9512 [!SA_SIGINFO]: Make it a stub test.
9514 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9515 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9517 * posix/tst-getlogin.c: Move to ...
9518 * login/tst-getlogin.c: ... here.
9519 * posix/Makefile (tests): Move tst-getlogin to ...
9520 * login/Makefile (tests): ... here.
9522 * libio/tst-atime.c (do_test): Move local variables SV and E
9523 inside [ST_NOATIME] conditional.
9525 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9527 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9529 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9530 (wait_code): New function replaces macro.
9531 Call nanosleep rather than syscall.
9533 * nptl/pt-system.c: Rewritten. Put everything under
9534 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9535 Use IFUNC to redirect when possible.
9537 * nptl/pt-longjmp.c: Rewritten. Put everything under
9538 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9539 Use IFUNC to redirect when possible.
9541 * nptl/pt-fork.c: Rewritten. Put everything under
9542 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9543 Use IFUNC to redirect when possible.
9544 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9547 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9548 unconditionally nowadays. This included the only reference to
9549 __vdso_clock_gettime that appears outside libc proper.
9550 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9551 Remove version set (containing only __vdso_clock_gettime).
9552 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9553 Add attribute_hidden.
9554 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9555 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9556 libc_hidden_data_def.
9557 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9558 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9560 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9561 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9562 setrpcent, and getrpcport to ...
9563 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9564 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9565 getrpcbynumber_r, and getrpcent_r to ...
9566 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9567 * inet/getrpcbyname.c: Moved ...
9568 * sunrpc/getrpcbyname.c: ... here.
9569 * inet/getrpcbyname_r.c: Moved ...
9570 * sunrpc/getrpcbyname_r.c: ... here.
9571 * inet/getrpcbynumber.c: Moved ...
9572 * sunrpc/getrpcbynumber.c: ... here.
9573 * inet/getrpcbynumber_r.c: Moved ...
9574 * sunrpc/getrpcbynumber_r.c: ... here.
9575 * inet/getrpcent.c: Moved ...
9576 * sunrpc/getrpcent.c: ... here.
9577 * inet/getrpcent_r.c: Moved ...
9578 * sunrpc/getrpcent_r.c: ... here.
9579 * inet/Makefile (routines): Move those to ...
9580 * sunrpc/Makefile (routines): ... here.
9581 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9582 the $(subdirs) list.
9583 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9584 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9585 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9586 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9588 * elf/Makefile (routines): Include $(all-dl-routines), not just
9590 (rtld-routines): Likewise. Use = rather than :=.
9591 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9592 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9593 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9594 * sysdeps/arm/Makefile: Likewise.
9595 * sysdeps/i386/Makefile: Likewise.
9596 * sysdeps/x86_64/Makefile: Likewise.
9597 * sysdeps/hppa/Makefile [$(subdir) = elf]
9598 (sysdep_routines, sysdep-rtld-routines): Don't add
9599 $(sysdep-dl-routines) to these.
9600 * sysdeps/ia64/Makefile: Likewise.
9601 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9602 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9603 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9604 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9605 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9606 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9608 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9609 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9610 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9611 these; sysdep-dl-routines alone is enough.
9613 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9616 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9617 where multiplication results in zero and third argument is finite
9619 * math/auto-libm-test-in: Add more tests of fma.
9620 * math/auto-libm-test-out: Regenerated.
9622 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9623 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9624 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9625 (_FP_CMP_EQ): Likewise.
9626 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9628 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9629 extra argument CHECK_NAN. Redefine as wrapper around
9632 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9634 * version.h (RELEASE): Set to "stable".
9635 (VERSION): Set to "2.21"
9636 * include/features.h (__GLIBC_MINOR__): Set to 21.
9638 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9640 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9641 Paul Eggert <eggert@cs.ucla.edu>
9644 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9645 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9646 size in bytes. Store needed elements in wpmax. Use needed size
9647 in bytes for extend_alloca.
9649 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9651 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9652 binutls 2.25, and texinfo 5.2.
9653 * INSTALL: Regenerate.
9654 * sysdeps/nios2/configure: Regenerate.
9655 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9656 * manual/contrib.texi: Update.
9680 * po/pt_BR.po: Update.
9689 * po/zh_CN.po: Update.
9690 * po/zh_TW.po: Update.
9692 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9693 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9694 * sysdeps/hppa/dl-irel.h: Remove #warning.
9695 * sysdeps/hppa/entry.h: Provide prototype for
9696 __canonicalize_funcptr_for_compare and cast argument.
9697 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9698 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9699 * sysdeps/hppa/sotruss-lib.c: New file.
9700 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9701 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9702 (atomic_compare_and_exchange_bool_acq): Likewise.
9703 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9704 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9706 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9707 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9708 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9710 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9712 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9713 called function in non-PIC case.
9715 2015-01-31 David S. Miller <davem@davemloft.net>
9717 * sysdeps/sparc/sparc32/bits/atomic.h
9718 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9719 unlock not after it.
9720 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9721 volatile register usage warnings from the compiler.
9723 * sysdeps/sparc/nptl/sem_init.c: Delete.
9724 * sysdeps/sparc/nptl/sem_post.c: Delete.
9725 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9726 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9727 * sysdeps/sparc/sparc32/sem_init.c: New file.
9728 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9729 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9730 padding explicitly initialized.
9731 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9732 padding for in-semaphore spinlock.
9733 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9734 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9735 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9736 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9737 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9738 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9739 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9740 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9742 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9743 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9745 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9749 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9750 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9752 (index_AVX_Fast_Unaligned_Load): Likewise.
9753 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9754 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9755 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9756 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9757 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9758 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9759 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9760 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9761 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9763 2015-01-29 Andreas Schwab <schwab@suse.de>
9765 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9767 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9770 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9772 2015-01-28 Martin Sebor <msebor@redhat.com>
9774 * math/README.libm-test: Clarify. Add "How to read the test output."
9776 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9778 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9781 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9783 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9784 (__HAVE_64B_ATOMICS): Define to 0.
9786 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9789 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9790 value to set as new flag.
9793 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9794 and use _ARCH_PPCSQ instead.
9795 (__ieee754_sqrt): Likewise.
9796 (__ieee754_sqrtf): Likewise.
9797 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9798 _ARCH_PPCSQ is defined.
9799 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9801 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9802 _ARCH_PPCSQ is defined.
9803 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9805 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9807 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9809 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9810 bug (GCC BZ #64739).
9812 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9814 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9815 Mark _retval as used.
9816 (lll_futex_wake_unlock): Likewise.
9817 (lll_futex_timed_wait_requeue_pi): Likewise.
9819 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9820 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9823 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9826 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9827 (__bswap_64): Mark as __always_inline.
9829 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9832 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9833 when none of the search directories exist.
9835 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9838 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9839 power8 in .machine directive.
9842 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9843 set dependency from opd value.
9845 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9848 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9851 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9854 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9856 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9858 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9859 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9860 Replace 1UL with (uint64_t) 1.
9861 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9864 2015-01-23 Roland McGrath <roland@hack.frob.com>
9866 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9867 (if_freenameindex): Likewise.
9869 * resource/getrlimit64.c: Add missing libc_hidden_def.
9871 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9873 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9875 (_FP_FMA): Likewise.
9876 (_FP_TO_INT_ROUND): Likewise.
9877 (_FP_FROM_INT): Likewise.
9879 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9882 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9883 Make code racy and cancel safe.
9885 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9887 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9888 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9891 * pwd/tst-getpw.c: Rewrite.
9894 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9895 (modules-names): Add moddummy1 and moddummy2.
9896 ($(objpfx)tst-rec-dlopen): Define.
9897 * dlfcn/moddummy1.c: New file.
9898 * dlfcn/moddummy2.c: New file.
9899 * dlfcn/tst-rec-dlopen.c: New file.
9900 * elf/dl-cache.c (_dl_load_cache_lookup):
9901 Return char*. Copy result with alloca/strcpy/strdup.
9902 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9903 returns char*. Free cached. If not saving realname
9905 * elf/dl-open.c (dl_open_worker): Do not assert that
9906 _r_debug->r_state is RT_CONSISTENT.
9907 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9910 2015-01-21 Torvald Riegel <triegel@redhat.com>
9911 Carlos O'Donell <carlos@redhat.com>
9914 * nptl/sem_waitcommon.c: New file.
9915 * nptl/sem_wait.c: Include sem_waitcommon.c.
9916 (__sem_wait_cleanup, do_futex_wait): Remove.
9917 (__new_sem_wait): Adapt.
9918 (__new_sem_trywait): New function.
9919 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9920 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9921 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9922 (sem_timedwait): Adapt.
9923 * nptl/sem_post.c (__new_sem_post): Adapt.
9924 (futex_wake): New function.
9925 (__old_sem_post): Add release MO fence.
9926 * nptl/sem_open.c (sem_open): Adapt.
9927 * nptl/sem_init.c (__new_sem_init): Adapt.
9928 (futex_private_if_supported): New function.
9929 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9930 (__old_sem_getvalue): Add using previous code.
9931 * sysdeps/nptl/internaltypes.h: Adapt.
9932 * nptl/tst-sem13.c (do_test): Adapt.
9933 * nptl/tst-sem11.c (main): Adapt.
9934 * nptl/sem_trywait.c: Remove.
9935 * nptl/DESIGN-sem.txt: Remove.
9936 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9937 (gen-as-const-headers): Remove structsem.sym.
9938 * nptl/structsem.sym: Remove.
9939 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9940 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9941 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9942 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9943 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9944 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9945 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9946 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9947 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9948 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9949 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9950 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9951 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9952 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9953 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9954 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9955 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9956 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9957 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9958 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9959 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9960 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9962 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9964 * INSTALL: Regenerated.
9966 * po/libc.pot: Regenerated.
9968 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9969 Sandra Loosemore <sandra@codesourcery.com>
9970 Andrew Jenner <andrew@codesourcery.com>
9971 Joseph Myers <joseph@codesourcery.com>
9972 Nathan Sidwell <nathan@codesourcery.com>
9974 * NEWS: Mention new Nios II port.
9975 * sysdeps/nios2/Implies: New file.
9976 * sysdeps/nios2/Makefile: New file.
9977 * sysdeps/nios2/Subdirs: New file.
9978 * sysdeps/nios2/Versions: New file.
9979 * sysdeps/nios2/__longjmp.S: New file.
9980 * sysdeps/nios2/abort-instr.h: New file.
9981 * sysdeps/nios2/backtrace.c: New file.
9982 * sysdeps/nios2/bits/endian.h: New file.
9983 * sysdeps/nios2/bits/fenv.h: New file.
9984 * sysdeps/nios2/bits/link.h: New file.
9985 * sysdeps/nios2/bits/setjmp.h: New file.
9986 * sysdeps/nios2/bsd-_setjmp.S: New file.
9987 * sysdeps/nios2/bsd-setjmp.S: New file.
9988 * sysdeps/nios2/configure: New generated file.
9989 * sysdeps/nios2/configure.ac: New file.
9990 * sysdeps/nios2/crti.S: New file.
9991 * sysdeps/nios2/crtn.S: New file.
9992 * sysdeps/nios2/dl-init.c: New file.
9993 * sysdeps/nios2/dl-machine.h: New file.
9994 * sysdeps/nios2/dl-sysdep.h: New file.
9995 * sysdeps/nios2/dl-tls.h: New file.
9996 * sysdeps/nios2/dl-trampoline.S: New file.
9997 * sysdeps/nios2/gccframe.h: New file.
9998 * sysdeps/nios2/gmp-mparam.h: New file.
9999 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10000 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10001 * sysdeps/nios2/ldsodefs.h: New file.
10002 * sysdeps/nios2/libc-tls.c: New file.
10003 * sysdeps/nios2/libm-test-ulps: New file.
10004 * sysdeps/nios2/machine-gmon.h: New file.
10005 * sysdeps/nios2/math-tests.h: New file.
10006 * sysdeps/nios2/math_private.h: New file.
10007 * sysdeps/nios2/memusage.h: New file.
10008 * sysdeps/nios2/nptl/Makefile: New file.
10009 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10010 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10011 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10012 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10013 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10014 * sysdeps/nios2/nptl/tls.h: New file.
10015 * sysdeps/nios2/preconfigure: New file.
10016 * sysdeps/nios2/s_fma.c: New file.
10017 * sysdeps/nios2/s_fmaf.c: New file.
10018 * sysdeps/nios2/setjmp.S: New file.
10019 * sysdeps/nios2/sfp-machine.h: New file.
10020 * sysdeps/nios2/sotruss-lib.c: New file.
10021 * sysdeps/nios2/stackguard-macros.h: New file.
10022 * sysdeps/nios2/stackinfo.h: New file.
10023 * sysdeps/nios2/start.S: New file.
10024 * sysdeps/nios2/sysdep.h: New file.
10025 * sysdeps/nios2/tls-macros.h: New file.
10026 * sysdeps/nios2/tst-audit.h: New file.
10027 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10028 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10029 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10030 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10031 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10032 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10033 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10034 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10035 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10036 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10037 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10038 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10039 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10040 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10041 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10042 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10043 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10044 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10045 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10046 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10047 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10048 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10049 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10050 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10051 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10052 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10053 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10054 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10055 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10056 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10057 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10058 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10059 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10060 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10061 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10062 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10063 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10064 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10065 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10066 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10067 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10068 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10069 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10070 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10072 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10075 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10076 (getutent): Use weak_alias in non SHARED case
10077 and default_symbol_version in SHARED case.
10078 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10079 (getutent_r, pututline): Likewise.
10080 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10081 (getutid): Likewise.
10082 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10083 (getutid_r): Likewise.
10084 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10085 (getutline): Likewise.
10086 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10087 (getutline_r): Likewise.
10088 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10089 (updwtmp): Likewise.
10091 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10094 * sysdeps/s390/s390-32/memcmp.S
10095 (memcmp_g5): Rename to __memcmp_g5.
10096 * sysdeps/s390/s390-32/memcpy.S
10097 (memcpy_g5): Rename to __memcpy_g5.
10098 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10099 (memcpy_mvcle) Rename to __memcpy_mvcle.
10100 * sysdeps/s390/s390-32/memset.S
10101 (memset_g5): Rename to __memset_g5.
10102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10103 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10104 and use prefixed functions.
10105 * sysdeps/s390/s390-32/multiarch/memcmp.S
10106 (memcmp_z196): Rename to __memcmp_z196.
10107 (memcmp_z10): Rename to __memcmp_z10.
10108 (memcmp): Set alias to __memcmp_g5.
10109 (bcmp): Set alias to __memcmp_g5.
10110 * sysdeps/s390/s390-32/multiarch/memcpy.S
10111 (memcpy_z196): Rename to __memcpy_z196.
10112 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10113 (memcpy_z10): Rename to __memcpy_z10.
10114 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10115 (memcpy): Set alias to __memcpy_g5.
10116 * sysdeps/s390/s390-32/multiarch/memset.S
10117 (memset_z196): Rename to __memset_z196.
10118 Jump to __memset_mvcle instead of memset_mvcle.
10119 (memset_z10): Rename to __memset_z10.
10120 Jump to __memset_mvcle instead of memset_mvcle.
10121 (memset_mvcle) Rename to __memset_mvcle.
10122 (memset): Set alias to __memset_g5.
10123 * sysdeps/s390/s390-64/memcmp.S
10124 (memcmp_z900): Rename to __memcmp_z900.
10125 * sysdeps/s390/s390-64/memcpy.S
10126 (memcpy_z900): Rename to __memcpy_z900.
10127 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10128 (memcpy_mvcle) Rename to __memcpy_mvcle.
10129 * sysdeps/s390/s390-64/memset.S
10130 (memset_z900): Rename to __memset_z900.
10131 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10132 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10133 and use prefixed functions.
10134 * sysdeps/s390/s390-64/multiarch/memcmp.S
10135 (memcmp_z196): Rename to __memcmp_z196.
10136 (memcmp_z10): Rename to __memcmp_z10.
10137 (memcmp): Set alias to __memcmp_z900.
10138 (bcmp): Set alias to __memcmp_z900.
10139 * sysdeps/s390/s390-64/multiarch/memcpy.S
10140 (memcpy_z196): Rename to __memcpy_z196.
10141 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10142 (memcpy_z10): Rename to __memcpy_z10.
10143 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10144 (memcpy): Set alias to __memcpy_z900.
10145 * sysdeps/s390/s390-64/multiarch/memset.S
10146 (memset_z196): Rename to __memset_z196.
10147 Jump to __memset_mvcle instead of memset_mvcle.
10148 (memset_z10): Rename to __memset_z10.
10149 Jump to __memset_mvcle instead of memset_mvcle.
10150 (memset_mvcle) Rename to __memset_mvcle.
10151 (memset): Set alias to __memset_z900.
10153 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10156 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10157 __fesetenv instead of fesetenv.
10159 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10161 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10164 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10166 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10170 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10172 strncmp-power8 object.
10173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10174 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10175 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10178 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10179 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10181 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10182 trailing byte check.
10184 2015-01-13 David S. Miller <davem@davemloft.net>
10186 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10188 2015-01-13 Roland McGrath <roland@hack.frob.com>
10190 * login/logout.c (logout): Use memset rather than bzero.
10191 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10192 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10193 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10194 (_gethtbyaddr): Likewise.
10195 * locale/programs/simple-hash.c (bcopy): Macro removed.
10197 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10200 Add strcmp-power8 object.
10201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10202 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10203 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10205 __strcmp_power8 implementation.
10206 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10209 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10210 Add strncpy-power8 and stpncpy-power8 objects.
10211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10212 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10215 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10216 __stpncpy_power8 implementation.
10217 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10218 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10219 __strncpy_power8 implementation.
10220 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10221 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10224 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10225 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10226 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10228 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10229 strncat-power8 object.
10230 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10231 __strcat_power8 implementation.
10232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10233 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10234 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10235 optimized strcat for power8.
10237 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10238 strcpy-power8 and stpcpy-power8 objects.
10239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10240 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10242 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10243 multiarch stpcpy implementation for POWER8.
10244 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10245 multiarch strcpy implementation for POWER8.
10246 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10247 __strcpy_power8 function.
10248 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10250 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10254 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10257 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10258 weights and rules. Use do_xfrm_cached if data fits in cache,
10259 do_xfrm otherwise. Moved former main loop to...
10260 * (do_xfrm_cached): New function.
10261 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10262 find_idx, find_position and stack_push.
10263 * (find_idx): New function.
10264 * (find_position): Likewise.
10265 * localedata/sort-test.sh: Added test run for do_xfrm.
10266 * localedata/xfrm-test.c (main): Added command line option
10267 -nocache to run the test with strings that are too large for
10270 2015-01-13 Torvald Riegel <triegel@redhat.com>
10272 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10273 variable to lll_futex_wake call, not the value itself.
10275 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10279 twom64. Adjust value to 0x1p-64L.
10280 (__scalblnl): Only return standard underflowing result for K <=
10281 -64 not K <= -63; adjust exponent for underflowing result by 64
10283 * math/libm-test.inc (scalbn_test_data): Add more tests.
10284 (scalbln_test_data): Likewise.
10287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10289 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10291 * math/libm-test.inc (scalbn_test_data): Add more tests.
10292 (scalbln_test_data): Likewise.
10294 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10295 Stefani Seibold <stefani@seibold.net>
10297 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10298 (sysdep_routines): Add dl-vdso here, ...
10299 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10300 (sysdep_routines): ... not here.
10301 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10302 fallback when vDSO is not presented.
10303 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10304 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10305 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10306 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10307 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10309 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10311 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10313 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10314 fallback configurable symbol when vDSO is not available.
10315 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10316 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10317 be able to redefine fallback symbol when vDSO is not available.
10318 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10319 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10321 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10323 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10324 (TLS_INIT_TP): Add tm_capable initialization.
10325 (TLS_DEFINE_INIT_TP): Likewise.
10326 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10328 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10329 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10331 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10332 transactoion is lock elision is built and TCB tm_capable is set.
10333 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10335 (INTERNAL_SYSCALL_NCS): Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10337 (INTERNAL_SYSCALL_NCS): Likewise.
10338 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10340 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10342 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10343 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10344 and remove it for 32 bits case.
10345 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10348 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10349 Disable lock elision with rdlocks if elision is not available.
10351 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10352 (sysdep_routines): Add lock elision objects.
10353 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10354 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10355 [pthread_mutex_t] (__elision): Add field.
10356 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10357 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10358 elision definitions for powerpc.
10359 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10360 implementation of lock elision for powerpc.
10361 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10362 implementation of timed lock elision for powerpc.
10363 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10364 implementation of trylock with lock elision for powerpc.
10365 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10366 implementaion of unlock for lock elision for powerpc.
10367 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10368 automatic enable lock elision for mutexes.
10369 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10370 transaction execution definitions for powerpc.
10371 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10373 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10374 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10375 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10376 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10379 2015-01-09 Roland McGrath <roland@hack.frob.com>
10381 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10382 for #include of <shm-directory.h>.
10384 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10386 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10387 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10389 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10392 * NEWS: Mention bug fix.
10393 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10394 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10395 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10397 2015-01-09 Torvald Riegel <triegel@redhat.com>
10399 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10401 2015-01-09 Torvald Riegel <triegel@redhat.com>
10403 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10405 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10407 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10408 pointer and cast to uintptr_t.
10410 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10412 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10414 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10416 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10418 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10421 2015-01-08 Roland McGrath <roland@hack.frob.com>
10423 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10424 <nptl/pthreadP.h> instead.
10425 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10427 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10429 [__SIGRTMIN] (init): Function removed.
10430 [__SIGRTMIN] (initialized): Variable removed.
10431 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10432 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10433 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10434 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10435 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10436 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10437 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10438 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10439 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10440 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10441 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10442 * sysdeps/nptl/allocrtsig.c: New file.
10443 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10444 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10445 * sysdeps/generic/testrtsig.h: File removed.
10447 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10448 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10450 * nptl/nptl-init.c (pthread_functions): Conditionalize
10451 .ptr__nptl_setxid initialization on [SIGSETXID].
10453 * sysdeps/nptl/sys/procfs.h: New file.
10454 * nptl_db/Makefile (headers): Add it.
10455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10457 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10458 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10459 * nptl/pthread_attr_setaffinity.c: Include it.
10460 * nptl/pthread_setattr_default_np.c: Likewise.
10461 * nptl/check-cpuset.h: New file.
10463 2015-01-08 Richard Henderson <rth@redhat.com>
10465 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10466 (CFLAGS-tst-execstack-prog.c): Likewise.
10467 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10469 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10470 Sandra Loosemore <sandra@codesourcery.com>
10471 Andrew Jenner <andrew@codesourcery.com>
10472 Joseph Myers <joseph@codesourcery.com>
10473 Nathan Sidwell <nathan@codesourcery.com>
10475 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10476 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10477 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10478 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10479 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10480 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10481 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10482 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10483 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10484 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10485 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10486 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10487 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10488 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10489 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10490 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10491 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10493 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10495 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10496 timespec struct member in syscall macro.
10497 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10498 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10499 first timeval struct member in syscall macro.
10500 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10502 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10505 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10506 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10507 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10508 __feupdateenv and define as weak alias of __feupdateenv. Use
10510 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10512 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10513 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10514 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10515 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10517 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10518 __feupdateenv and define as weak alias of __feupdateenv. Use
10520 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10522 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10523 __feupdateenv and define as weak alias of __feupdateenv. Use
10525 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10527 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10528 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10529 (__feupdateenv): Likewise.
10530 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10531 __feupdateenv and define as weak alias of __feupdateenv. Use
10533 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10534 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10536 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10538 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10540 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10541 __feupdateenv instead of feupdateenv.
10542 (default_libc_feupdateenv_test): Likewise.
10543 (libc_feresetround_ctx): Likewise.
10545 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10547 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10550 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10552 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10553 COLL_SYM in a couple of places to avoid uninitialized variable
10554 wanings on tilegx gcc 4.8.2.
10556 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10558 * sysdeps/aarch64/strcpy.S: New file.
10559 * sysdeps/aarch64/stpcpy.S: New file.
10562 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10564 * sysdeps/aarch64/strrchr.S: New file.
10567 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10570 * stdlib/setenv.c: Fix memory leak when setting large,
10573 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10576 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10577 and tabs from buffer before parsing fstab entry.
10578 * misc/tst-mntent.c (main): Add test for mount entry with
10579 trailing spaces and tabs.
10581 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10584 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10585 * math/fesetround.c (fesetround): Rename to __fesetround and
10586 define as weak alias of __fesetround. Use libm_hidden_weak.
10587 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10588 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10589 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10590 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10591 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10592 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10593 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10594 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10595 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10596 __fesetround_inline.
10597 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10598 __fesetround_inline instead of __fesetround.
10599 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10600 __fesetround and define as weak alias of __fesetround. Use
10601 libm_hidden_weak. Call __fesetround_inline instead of
10603 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10604 __fesetround and define as weak alias of __fesetround. Use
10606 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10608 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10610 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10611 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10612 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10613 __fesetround and define as weak alias of __fesetround. Use
10615 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10616 __fesetround instead of fesetround.
10617 (default_libc_feholdexcept_setround): Likewise.
10618 (libc_feholdsetround_ctx): Likewise.
10619 (libc_feholdsetround_noex_ctx): Likewise.
10622 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10623 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10624 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10625 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10626 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10627 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10628 define as weak alias of __fesetenv. Use libm_hidden_weak.
10629 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10630 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10631 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10632 define as weak alias of __fesetenv. Use libm_hidden_weak.
10633 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10634 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10635 define as weak alias of __fesetenv. Use libm_hidden_weak.
10636 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10638 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10639 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10641 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10642 define as weak alias of __fesetenv. Use libm_hidden_weak.
10643 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10644 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10645 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10646 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10647 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10648 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10649 __fesetenv instead of fesetenv.
10650 (libc_feresetround_noex_ctx): Likewise.
10651 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10652 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10653 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10654 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10655 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10656 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10657 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10659 (__feupdateenv): Likewise.
10660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10661 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10662 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10663 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10665 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10668 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10669 addresses have been freed.
10671 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10673 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10676 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10678 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10679 Clean up check_pf allocation pattern. addresses
10681 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10683 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10684 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10685 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10686 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10687 * nptl/pthread_join.c (pthread_join): Likewise.
10688 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10689 * sysdeps/posix/waitid.c (__waitid): Likewise.
10690 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10691 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10692 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10693 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10694 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10696 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10697 (__libc_pread64): Likewise.
10698 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10699 (__libc_pwrite): Likewise.
10700 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10701 (__libc_pwrite64): Likewsie.
10702 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10703 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10704 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10705 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10706 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10707 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10708 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10712 (__libc_pread64): Likewise.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10716 (__libc_pwrite64): Likewise.
10717 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10718 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10719 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10720 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10721 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10722 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10723 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10724 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10725 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10726 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10727 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10728 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10729 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10730 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10731 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10732 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10735 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10737 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10738 (CFLAGS-test-double.c): Likewise.
10739 (CFLAGS-test-ldouble.c): Likewise.
10740 (CPPFLAGS-test-ifloat.c): Likewise.
10741 (CPPFLAGS-test-idouble.c): Likewise.
10742 (CPPFLAGS-test-ildoubl.c): Likewise.
10743 (CFLAGS-test-test-fenv.c): Remove variable.
10744 (CFLAGS-test-misc.c): Likewise.
10746 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10749 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10750 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10751 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10752 CLOCKS_PER_SEC == 1000000.
10753 * time/clocktest.c (main): Replace %ld with %jd and cast to
10756 2015-01-05 Roland McGrath <roland@hack.frob.com>
10758 * sysdeps/generic/unwind-resume.h: New file.
10759 * sysdeps/gnu/unwind-resume.c: Include it.
10760 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10761 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10763 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10764 global rather than static.
10765 (_Unwind_Resume): Update user.
10766 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10767 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10768 rather than static. Add __attribute__ ((cold)).
10769 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10770 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10771 * sysdeps/arm/arm-unwind-resume.S: New file.
10772 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10773 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10774 * sysdeps/arm/Makefile [$(subdir) = csu]
10775 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10776 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10777 Add rt-arm-unwind-resume.
10779 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10780 Add pt-arm-unwind-resume.
10781 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10782 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10784 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10787 * include/fenv.h (__feholdexcept): Declare. Use
10789 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10790 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10791 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10792 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10793 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10794 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10795 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10796 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10797 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10798 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10799 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10800 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10801 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10802 (feholdexcept): Likewise.
10803 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10804 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10805 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10806 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10807 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10808 __feholdexcept instead of feholdexcept.
10809 (default_libc_feholdexcept_setround): Likewise.
10811 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10813 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10814 to avoid using stl/str to align destination.
10816 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10818 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10820 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10823 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10824 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10825 Define as weak alias not strong alias.
10827 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10829 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10830 bltzal with addiupc.
10831 (RTLD_START): Ditto.
10833 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10835 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10836 for __vdso_* functions in declarations.
10837 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10839 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10840 INTERNAL_VSYSCALL): Use struct return types to check for error.
10842 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10843 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10844 function with cast from llround().
10845 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10846 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10849 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10852 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10853 Define as weak alias not strong alias.
10856 * ctype/ctype-c99.c: New file. isblank implementation moved from
10858 * ctype/ctype-extn.c: ... here.
10859 (__isblank_l): Move to ...
10860 * ctype/ctype-c99_l.c: ... here. New file.
10861 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10862 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10864 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10865 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10866 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10867 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10868 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10871 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10872 (posix_fadvise64): Define as weak alias not strong alias.
10873 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10874 (posix_fallocate64): Likewise.
10875 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10877 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10878 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10879 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10880 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10881 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10883 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10886 * NEWS: Mention bug fix.
10887 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10888 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10889 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10890 (HOST_STACK_END_ADDR): Likewise.
10892 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10895 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10896 * math/fegetround.c (fegetround): Rename to __fegetround and
10897 define as weak alias of __fegetround. Use libm_hidden_weak.
10898 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10899 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10900 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10901 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10902 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10903 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10904 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10905 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10906 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10907 Undefine after rather than before function definition; use
10908 parentheses around function name in definition.
10909 (__fegetround): Also undefine macro after function definition.
10910 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10911 __fegetround and define as weak alias of __fegetround. Use
10912 libm_hidden_weak. Do not undefine as macro.
10913 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10915 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10916 __fegetround and define as weak alias of __fegetround. Use
10918 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10919 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10920 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10921 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10922 __fegetround and define as weak alias of __fegetround. Use
10924 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10925 __fegetround instead of fegetround.
10928 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10929 Condition macro definition on [__USE_MISC].
10932 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10933 (struct sigaction): Change type of sa_flags field to int.
10936 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10937 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10940 * nptl/version.c (banner): Use single year in copyright notice.
10942 * NEWS: Update copyright dates.
10943 * catgets/gencat.c (print_version): Likewise.
10944 * csu/version.c (banner): Likewise.
10945 * debug/catchsegv.sh: Likewise.
10946 * debug/pcprofiledump.c (print_version): Likewise.
10947 * debug/xtrace.sh (do_version): Likewise.
10948 * elf/ldconfig.c (print_version): Likewise.
10949 * elf/ldd.bash.in: Likewise.
10950 * elf/pldd.c (print_version): Likewise.
10951 * elf/sotruss.sh: Likewise.
10952 * elf/sprof.c (print_version): Likewise.
10953 * iconv/iconv_prog.c (print_version): Likewise.
10954 * iconv/iconvconfig.c (print_version): Likewise.
10955 * locale/programs/locale.c (print_version): Likewise.
10956 * locale/programs/localedef.c (print_version): Likewise.
10957 * login/programs/pt_chown.c (print_version): Likewise.
10958 * malloc/memusage.sh (do_version): Likewise.
10959 * malloc/memusagestat.c (print_version): Likewise.
10960 * malloc/mtrace.pl: Likewise.
10961 * manual/libc.texinfo: Likewise.
10962 * nptl/version.c (banner): Likewise.
10963 * nscd/nscd.c (print_version): Likewise.
10964 * nss/getent.c (print_version): Likewise.
10965 * nss/makedb.c (print_version): Likewise.
10966 * posix/getconf.c (main): Likewise.
10967 * scripts/test-installation.pl: Likewise.
10968 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10970 2015-01-02 Will Newton <will.newton@linaro.org>
10972 * sysdeps/arm/armv7/configure: Removed.
10973 * sysdeps/arm/armv7/configure.ac: Likewise.
10975 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10977 * All files with FSF copyright notices: Update copyright dates
10978 using scripts/update-copyrights.
10979 * intl/plural.c: Regenerated.
10980 * locale/programs/charmap-kw.h: Likewise.
10981 * locale/programs/locfile-kw.h: Likewise.
10983 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10985 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10987 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10990 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10991 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10992 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10993 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10994 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10995 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10996 define as weak alias of __fegetenv. Use libm_hidden_weak.
10997 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10998 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10999 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11000 define as weak alias of __fegetenv. Use libm_hidden_weak.
11001 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11002 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11003 define as weak alias of __fegetenv. Use libm_hidden_weak.
11004 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11006 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11007 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11009 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11010 define as weak alias of __fegetenv. Use libm_hidden_weak.
11011 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11012 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11013 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11014 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11015 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11016 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11017 __fegetenv instead of fegetenv.
11018 (libc_feholdsetround_noex_ctx): Likewise.
11020 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11022 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11023 (Elf_MIPS_ABIFlags_v0): New structure.
11024 (EF_MIPS_FP64): Define.
11025 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11026 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11027 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11028 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11029 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11030 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11031 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11032 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11033 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11034 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11035 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11036 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11037 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11038 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11039 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11040 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11041 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11042 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11043 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11044 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11045 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11046 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11048 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11050 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11051 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11052 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11053 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11054 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11055 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11056 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11057 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11058 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11059 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11060 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11061 record the current FP ABI extension.
11062 (mips-mode-switch): Define to show if kernel headers support mode
11064 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11065 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11066 supported SYSV ABI version to 3.
11067 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11070 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11071 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11073 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11075 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11077 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11079 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11080 __fegetround and redefine to call __fegetround. Remove condition
11081 on [!__NO_MATH_INLINES].
11082 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11084 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11085 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11087 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11088 instead of <fenv_libc.h>.
11089 (__llrintl): Call fegetround instead of __fegetround.
11090 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11091 instead of <fenv_libc.h>.
11092 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11093 (__lrintl): Call fegetround instead of __fegetround.
11094 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11095 instead of <fenv_libc.h>.
11096 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11097 (__rintl): Call fegetround instead of __fegetround.
11099 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11101 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11104 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11107 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11108 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11109 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11111 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11113 * sysdeps/i386/tls-macros.h: Include <features.h>.
11114 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11115 (TLS_IE): Likewise.
11116 (TLS_LD): Likewise.
11117 (TLS_GD): Likewise.
11118 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11119 define for GCC >= 5.0.
11121 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11123 * math/test-fenv.c (test_single_exception, set_single_exc,
11124 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11125 feexcp_mask_test, feenable_test, fe_single_test): Add
11126 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11127 case where they are not used.
11128 * math/libm-test.inc: Likewise.
11129 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11130 unused in the absence of FP rounding/exception support.
11131 * stdio-common/tst-printf-round.c: Likewise.
11132 * stdlib/tst-strtod-round.c: Likewise.
11133 * stdlib/tst-strtod-underflow.c: Likewise.
11135 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11138 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11139 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11140 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11141 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11143 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11144 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11145 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11147 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11148 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11150 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11152 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11153 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11154 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11156 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11158 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11159 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11160 (__feraiseexcept): Likewise.
11161 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11162 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11164 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11165 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11167 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11168 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11169 Use libm_hidden_def.
11170 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11172 (feraiseexcept): Define as weak not strong alias. Use
11174 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11175 New inline function. Factored out of ...
11176 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11177 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11178 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11180 * math/w_acos.c (__acos): Likewise.
11181 * math/w_asin.c (__asin): Likewise.
11182 * math/w_ilogb.c (__ilogb): Likewise.
11183 * math/w_j0.c (y0): Likewise.
11184 * math/w_j1.c (y1): Likewise.
11185 * math/w_jn.c (yn): Likewise.
11186 * math/w_log.c (__log): Likewise.
11187 * math/w_log10.c (__log10): Likewise.
11188 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11189 * sysdeps/aarch64/fpu/math_private.h
11190 (libc_feupdateenv_test_aarch64): Likewise.
11191 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11192 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11193 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11195 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11196 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11197 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11198 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11199 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11200 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11202 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11205 * io/test-utime.c (main): Replace %ld with %jd and cast to
11207 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11208 * nptl/tst-mutex5.c: Include <stdint.h>.
11209 (do_test): Replace %ld with %jd and cast to intmax_t.
11210 * posix/tst-regex.c (run_test): Likewise.
11211 (run_test_backwards): Likewise.
11212 * rt/tst-clock.c: Include <stdint.h>.
11213 (clock_test): Replace %ld with %jd and cast to intmax_t.
11214 * rt/tst-cpuclock1.c: Include <stdint.h>.
11215 (do_test): Replace %lu with %ju and cast to uintmax_t.
11216 * rt/tst-cpuclock2.c: Include <stdint.h>.
11217 (do_test): Replace %lu with %ju and cast to uintmax_t.
11218 * rt/tst-mqueue1.c: Include <stdint.h>.
11219 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11220 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11222 * rt/tst-mqueue4.c (do_test): Likewise.
11223 * rt/tst-timer4.c: Include <stdint.h>.
11224 (check_ts): Replace %ld with %jd and cast to intmax_t.
11225 (do_test): Likewise.
11226 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11227 and cast to intmax_t.
11228 * sysdeps/pthread/tst-timer.c (main): Likewise.
11229 * time/clocktest.c (main): Likewise.
11230 * time/tst-posixtz.c (do_test): Likewise.
11231 * timezone/tst-timezone.c (main): Likewise.
11233 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11234 H.J. Lu <hongjiu.lu@intel.com>
11236 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11237 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11238 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11239 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11240 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11241 version if bit_Fast_Unaligned_Load is set.
11242 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11243 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11244 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11245 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11246 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11247 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11249 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11250 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11251 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11253 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11254 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11255 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11256 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11258 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11260 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11261 instead of #if to avoid a Wundef warning.
11262 * stdlib/tst-limits.c (do_test): Likewise.
11264 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11265 parallel other exception macros.
11266 (fegetenv): Convert from macro to extern inline so that it applies
11267 retroactively to inline functions already seen by the compiler.
11268 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11270 * posix/Makefile (before-compile): Use $(objpfx) for
11271 posix-conf-vars-def.h.
11273 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11275 * posix/getconf.c (main): Use size_t for type of I.
11276 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11279 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11280 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11281 * posix/posix-envs.def: Likewise.
11282 * sysdeps/posix/sysconf.c: Likewise.
11283 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11284 (specs): Remove array.
11285 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11288 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11289 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11290 (__sysconf): Use CONF_IS_* macros.
11292 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11293 ($(objpfx)posix-conf-vars-def.h): New target.
11294 * posix/posix-conf-vars.list: New file.
11295 * posix/posix-conf-vars.h: New file.
11296 * posix/confstr.c: Include posix-conf-vars.h.
11297 (confstr): Use CONF_IS_* macros.
11298 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11300 * scripts/gen-posix-conf-vars.awk: New file.
11302 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11304 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11305 fegetround): Add no-op macros to avoid linknamespace issues.
11307 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11308 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11310 * sysdeps/unix/sysv/linux/tile/sysdep.h
11311 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11312 assembly-specific section to avoid a redefinition warning.
11314 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11315 long before casting to pointer to avoid a cast warning.
11317 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11319 * sysdeps/tile/tilegx/Implies: New file.
11321 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11323 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11325 2014-12-23 Florian Weimer <fweimer@redhat.com>
11327 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11329 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11333 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11334 <kernel-features.h>.
11335 (__utimes) [__NR_utimes]: Make code unconditional.
11336 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11338 (__ASSUME_UTIMES): Do not undefine.
11339 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11340 (__ASSUME_UTIMES): Likewise.
11341 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11342 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11343 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11344 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11346 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11348 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11350 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11353 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11354 alias to weak alias for j0l, y0l.
11355 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11356 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11359 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11362 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11364 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11365 to zero if not already defined.
11367 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11370 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11371 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11372 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11373 (char *) casts added.
11374 * sysdeps/ieee754/k_standardf.c: New file.
11375 * sysdeps/ieee754/k_standardl.c: Likewise.
11376 * math/Makefile (libm-support): Remove k_standard.
11377 (libm-calls): Add k_standard.
11379 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11381 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11382 Optimize to avoid an unnecessary FPCR read.
11384 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11386 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11387 Optimize to reduce FPCR/FPSR accesses.
11389 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11391 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11392 Call libc_fetestexcept_aarch64.
11394 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11396 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11397 Call libc_fesetround_aarch64.
11399 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11402 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11403 (__bind): Do not define as weak alias.
11404 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11406 (__getsockname): Do not define as weak alias.
11408 2014-12-22 Will Newton <will.newton@linaro.org>
11410 * manual/install.texi: Document that we require bison 2.7
11412 * INSTALL: Regenerate.
11413 * configure.ac: Use AC_CHECK_PROG_VER instead of
11414 AC_PATH_PROG when checking for bison and check for
11415 version 2.7 or above.
11416 * configure: Regenerate.
11418 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11421 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11422 * sysdeps/tile/ffsll.c (ffsll): To here.
11424 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11426 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11428 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11430 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11432 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11433 hidden ___tls_get_addr.
11434 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11435 hidden __tls_get_addr.
11436 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11437 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11440 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11442 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11445 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11447 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11448 from "call _dl_init@PLT".
11449 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11451 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11453 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11456 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11458 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11460 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11463 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11466 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11468 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11469 of multu on MIPSr6.
11470 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11471 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11472 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11473 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11474 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11476 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11478 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11479 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11480 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11481 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11482 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11484 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11486 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11488 * string/strncat.c (STRNCAT): Simplify implementation.
11490 2014-12-19 David S. Miller <davem@davemloft.net>
11492 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11493 access the quad as both a long double and as a series of 4 words.
11495 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11496 link_map->l_info array access.
11498 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11500 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11502 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11503 * math/atest-exp2.c (TIMEOUT): Likewise.
11504 * math/atest-sincos.c (TIMEOUT): Likewise.
11506 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11508 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11509 -Wno-error with -fno-builtin-lround.
11511 2014-12-19 Torvald Riegel <triegel@redhat.com>
11513 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11514 Contains futex constants and functions moved over from ...
11515 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11516 <lowlevellock-futex.h>.
11517 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11518 (lll_timedwait_tid): Add comments and parentheses around macro
11521 2014-12-19 Torvald Riegel <triegel@redhat.com>
11523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11524 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11525 (__lll_private_flag): Remove.
11526 (lll_futex_wait): Likewise.
11527 (lll_futex_timed_wait): Likewise.
11528 (lll_futex_wake): Likewise.
11529 (lll_futex_requeue): Likewise.
11530 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11531 (__lll_timedwait_tid): Spell out argument names.
11532 (lll_timedwait_tid): Add comments and parentheses around macro
11534 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11535 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11537 2014-12-19 Torvald Riegel <triegel@redhat.com>
11539 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11540 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11541 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11542 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11543 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11544 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11545 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11546 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11547 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11548 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11549 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11550 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11551 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11552 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11553 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11554 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11555 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11556 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11557 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11559 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11561 * sysdeps/x86_64/x32/Makefile: New file.
11563 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11565 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11566 1L with (mp_limb_t) 1.
11568 2014-12-17 Roland McGrath <roland@hack.frob.com>
11570 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11571 * nptl/libc_pthread_init.c: ... here.
11572 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11573 * nptl/register-atfork.c: ... here.
11575 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11576 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11577 Use assert_perror to check its return value.
11578 (__gai_create_helper_thread): Likewise.
11580 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11582 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11584 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11587 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11589 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11591 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11593 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11595 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11596 (profil_counter): Likewise.
11597 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11598 (profil_counter): Likewise.
11599 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11601 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11603 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11604 (profil_counter): Likewise.
11605 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11607 [!__profil_counter] (profil_counter): Define as weak alias of
11609 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11610 (profil_counter): Rename to __profil_counter.
11611 [!__profil_counter] (profil_counter): Define as weak alias of
11613 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11614 (profil_counter): Rename to __profil_counter.
11615 [!__profil_counter] (profil_counter): Define as weak alias of
11617 * sysdeps/posix/profil.c: Update comment referring to
11619 (__profil): Use __profil_counter instead of profil_counter.
11620 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11621 __profil_counter. Use __profil_counter_ushort and
11622 __profil_counter_uint in definitions.
11623 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11624 instead of profil_counter_uint and profil_counter_ushort.
11627 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11628 define as weak alias of __inet_makeaddr.
11629 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11630 as weak alias of __inet_addr.
11631 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11632 as weak alias of __inet_pton. Use libc_hidden_weak.
11633 * include/arpa/inet.h (__inet_pton): Declare. Use
11635 (inet_makeaddr): Don't use libc_hidden_proto.
11636 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11637 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11638 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11639 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11641 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11642 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11644 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11646 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11648 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11650 * stdio-common/bug-vfprintf-nargs.c (do_test):
11651 Cast value to intptr_t to avoid format warning
11652 for usage with PRIdPTR printing macro.
11654 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11656 * libio/tst-widetext.c (do_test):
11657 Use format type %td instead of %Zd for ptrdiff_t
11658 in order to avoid format warning.
11660 2014-12-17 Andreas Schwab <schwab@suse.de>
11662 * nscd/mem.c (gc): Add size_t cast to match printf format.
11664 2014-12-16 Roland McGrath <roland@hack.frob.com>
11666 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11667 (init): Apply PTR_MANGLE to pointers before storing them.
11668 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11671 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11674 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11675 define as weak alias of __memrchr.
11676 (__memrchr): Do not define as strong alias of memrchr.
11677 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11679 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11680 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11681 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11684 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11685 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11686 (if_indextoname): Rename to __if_indextoname and define as weak
11687 alias of __if_indextoname. Use libc_hidden_weak.
11688 (if_freenameindex): Rename to __if_freenameindex and define as
11689 weak alias of __if_freenameindex.
11690 (if_nameindex): Rename to __if_nameindex and define as weak alias
11692 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11693 __if_nametoindex and define as weak alias of __if_nametoindex.
11694 Use libc_hidden_weak.
11695 (if_freenameindex): Rename to __if_freenameindex and define as
11696 weak alias of __if_freenameindex.
11697 (if_nameindex): Rename to __if_nameindex and define as weak alias
11699 (if_indextoname): Rename to __if_indextoname and define as weak
11700 alias of __if_indextoname. Use libc_hidden_weak.
11701 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11702 __if_nametoindex and define as weak alias of __if_nametoindex.
11703 Use libc_hidden_weak.
11704 (if_freenameindex): Rename to __if_freenameindex and define as
11705 weak alias of __if_freenameindex. Use libc_hidden_weak.
11706 (if_nameindex_netlink): Use __if_freenameindex instead of
11708 (if_nameindex): Rename to __if_nameindex and define as weak alias
11709 of __if_nameindex. Use libc_hidden_weak.
11710 (if_indextoname): Rename to __if_indextoname and define as weak
11711 alias of __if_indextoname. Use libc_hidden_weak.
11712 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11714 [!_ISOMAC] (__if_freenameindex): Likewise.
11715 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11717 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11719 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11720 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11721 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11722 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11723 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11724 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11725 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11727 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11729 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11730 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11732 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11734 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11735 subscript above bounds'
11737 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11740 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11742 * libio/tst-fopenloc.c: Use test-skeleton.c.
11744 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11745 (entry): Rename to ITEM.
11746 (do_test, comp): Adjust.
11748 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11750 2014-12-16 Torvald Riegel <triegel@redhat.com>
11752 * string/tester.c: Include <libc-internal.h>.
11753 (test_memset): Ignore -Wmemset-transposed-args.
11755 2014-12-16 Torvald Riegel <triegel@redhat.com>
11757 * misc/tst-mntent2.c (do_test): Fix warning.
11759 2014-12-16 Torvald Riegel <triegel@redhat.com>
11761 * elf/tst-unique4lib.cc(a): Mark as used.
11763 2014-12-16 Florian Weimer <fweimer@redhat.com>
11766 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11769 2014-12-16 Allan McRae <allan@archlinux.org>
11771 * stdio-common/Makefile (tests): Re-add bug26.
11773 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11776 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11779 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11781 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11782 (__lll_lock_wait): Likewise.
11783 (__lll_timedlock_wait): Likewise.
11784 (__lll_timedwait_tid): Likewise.
11785 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11786 (__lll_robust_timedlock_wait): Likewise.
11787 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11788 (lll_cond_trylock): Likewise.
11789 (__lll_lock): Likewise.
11790 (__lll_robust_lock): Likewise.
11791 (__lll_cond_lock): Likewise.
11792 (lll_robust_cond_lock): Likewise.
11793 (__lll_timedlock): Likewise.
11794 (__lll_robust_timedlock): Likewise.
11795 (__lll_unlock): Likewise.
11796 (__lll_robust_unlock): Likewise.
11797 (lll_wait_tid): Likewise.
11798 (lll_timedwait_tid): Likewise.
11800 2014-12-15 Torvald Riegel <triegel@redhat.com>
11802 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11804 2014-12-15 Torvald Riegel <triegel@redhat.com>
11806 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11808 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11810 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11811 * stdio-common/tst-sprintf.c: Likewise.
11813 2014-12-15 Torvald Riegel <triegel@redhat.com>
11815 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11817 2014-12-15 Jeff Law <law@redhat.com>
11820 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11821 on the heap. (CVE-2012-3406)
11822 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11823 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11824 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11826 2014-12-15 Will Newton <will.newton@linaro.org>
11828 * manual/install.texi: Bump required version of texinfo
11830 * INSTALL: Regenerated.
11831 * configure.ac: Check for makeinfo version 4.7 and above.
11832 * configure: Regenerated.
11834 2014-12-12 Roland McGrath <roland@hack.frob.com>
11836 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11837 PREFIX, string constant to insert between directory and name.
11838 * sysdeps/posix/shm_open.c: Update caller.
11839 * sysdeps/posix/shm_unlink.c: Likewise.
11840 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11841 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11842 (SEM_SHM_PREFIX): New macro.
11843 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11844 [$(have-thread-library) = no].
11845 * nptl/Makefile (libpthread-routines): Add shm-directory.
11846 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11847 * sysdeps/nptl/shm-directory.h: New file.
11848 * sysdeps/posix/shm-directory.c
11849 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11850 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11851 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11853 (__where_is_shmfs): Function removed.
11854 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11856 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11858 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11860 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11861 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11862 unconditional for use inside libpthread.
11863 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11865 2014-12-12 Roland McGrath <roland@hack.frob.com>
11867 * nptl/pthread_getaffinity.c: New file.
11868 * nptl/pthread_setaffinity.c: New file.
11869 * nptl/pthread_getname.c: New file.
11870 * nptl/pthread_setname.c: New file.
11872 * nptl/pthread_create.c (START_THREAD_DEFN)
11873 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11875 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11876 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11878 * resolv/res_send.c (send_vc): Disable warning resplen may
11879 be used uninitialized.
11881 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11883 * nptl/tst-mutex6.c
11884 (ATTR_NULL): New define checks ATTR against NULL.
11885 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11886 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11888 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11892 (mem2mem_check): Revert my previous change.
11893 (malloc_check_get_size): Revert my previous change.
11894 (mem2chunk_check): Revert my previous change.
11896 2014-12-11 Roland McGrath <roland@hack.frob.com>
11898 * sysdeps/posix/shm-directory.c: New file.
11899 * sysdeps/posix/shm-directory.h: New file.
11900 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11901 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11902 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11903 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11904 Transmute EPERM to EACCES.
11905 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11907 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11908 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11910 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11912 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11913 pointer and cast to uintptr_t.
11914 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11915 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11916 Add cast to avoid warning.
11917 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11919 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11921 * nptl/semaphore.h: Move to ...
11922 * sysdeps/pthread/semaphore.h: ... here.
11923 * Makefile (installed-headers): Change nptl/semaphore.h to
11924 sysdeps/pthread/semaphore.h.
11926 2014-12-11 Roland McGrath <roland@hack.frob.com>
11928 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11929 generated error format strings.
11931 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11932 -Wformat-extra-args warnings for scanf formats.
11933 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11934 test of zero-length format (duh).
11935 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11936 corner-case scanf format test.
11937 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11938 generated fprintf format string.
11939 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11940 corner-case sprintf format tests.
11941 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11942 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11943 -Wformat-extra-args warnings throughout.
11944 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11945 (CFLAGS-scanf4.c): Likewise.
11946 (CFLAGS-scanf7.c): Likewise.
11947 (CFLAGS-tst-sprintf.c): Likewise.
11948 (CFLAGS-tst-printf.c): Likewise.
11949 (CFLAGS-tst-printfsz.c): Likewise.
11951 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11953 * include/cpio.h: New file.
11954 * include/fmtmsg.h: Likewise.
11956 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11957 corresponding format argument to size_t.
11958 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11960 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11961 corresponding format argument to size_t.
11962 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11964 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11965 corresponding format argument to size_t.
11966 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11967 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11968 (CFLAGS-tst-mbswcs2.c): Likewise.
11969 (CFLAGS-tst-mbswcs3.c): Likewise.
11970 (CFLAGS-tst-mbswcs4.c): Likewise.
11971 (CFLAGS-tst-mbswcs5.c): Likewise.
11972 (CFLAGS-tst-trans.c): Likewise
11974 2014-12-11 Roland McGrath <roland@hack.frob.com>
11976 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11977 rather than assuming they won't contain any '%'s.
11979 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11981 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11982 inhibit_loop_to_libcall to avoid recursive calls.
11983 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11984 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11986 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11988 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11991 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11993 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11994 integer value instead of boolean.
11996 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11998 * malloc/malloc.c: Fix powerof2 check.
12000 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12002 * locale/programs/locfile.h (maybe_swap_uint32):
12003 Remove inline and add unused attribute.
12005 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12008 Truncating assembler expression to a .long expression.
12010 2014-12-11 Andreas Schwab <schwab@suse.de>
12012 * elf/rtld.c (struct map_args): Constify str member.
12013 (do_preload): Constify fname argument.
12015 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12018 constants definition.
12020 2014-12-11 Andreas Schwab <schwab@suse.de>
12023 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12024 FORCE_ELISION instead of DO_ELISION.
12025 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12027 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12030 * iconvdata/gconv-modules: Remove duplicate entry.
12032 2014-12-11 Will Newton <will.newton@linaro.org>
12034 Merge gettext 0.19.3 into intl/.
12036 This involves a number of cosmetic changes to comments
12037 and ANSI function definitions and prototypes throughout
12038 all the files. The gettext copyright header is used but
12039 with the date ranges taken from the glibc copy.
12041 * NEWS: Add gettext merge to 2.21.
12042 * intl/bindtextdom.c: Switch to gettext copyright.
12043 Use ANSI definitions and prototypes.
12044 Use gl_* locking primitives rather than __libc_* ones.
12045 Use __builtin_expect rather than __glibc_likely/unlikely.
12046 * intl/dcgettext.c: Switch to gettext copyright.
12047 Use ANSI definitions and prototypes.
12048 * intl/dcigettext.c: Switch to gettext copyright.
12049 Use ANSI definitions and prototypes.
12050 (INTDIV0_RAISES_SIGFPE): New define.
12051 Use gl_* locking primitives rather than __libc_* ones.
12052 Include eval-plural.h instead of plural-eval.c.
12053 Use __builtin_expect rather than __glibc_likely/unlikely.
12054 * intl/dcngettext.c: Switch to gettext copyright.
12055 Use ANSI definitions and prototypes.
12056 * intl/dgettext.c: Likewise.
12057 * intl/dngettext.c: Likewise.
12058 * intl/plural-eval.c: Renamed to...
12059 * intl/eval-plural.h: ...this.
12060 * intl/explodename.c: Switch to gettext copyright.
12061 Use ANSI definitions and prototypes.
12062 (_nl_explode_name): Use strchr instead of __rawmemchr.
12063 * intl/finddomain.c: Switch to gettext copyright.
12064 Use ANSI definitions and prototypes.
12065 Use gl_* locking primitives rather than __libc_* ones.
12066 (_nl_find_domain): Use malloc rather than alloca for
12067 allocation of temporary locale name.
12068 * intl/gettext.c: Switch to gettext copyright.
12069 Use ANSI definitions and prototypes.
12070 * intl/gettextP.h: Switch to gettext copyright.
12071 Use ANSI definitions and prototypes.
12072 Use gl_* locking primitives rather than __libc_* ones.
12073 * intl/gmo.h: Switch to gettext copyright.
12074 (struct sysdep_string): Move struct segment_pair outside of
12076 * intl/hash-string.c: Use ANSI definitions and prototypes.
12077 * intl/hash-string.h: Switch to gettext copyright.
12078 Use ANSI definitions and prototypes.
12079 * intl/l10nflist.c: Switch to gettext copyright.
12080 Use ANSI definitions and prototypes.
12081 (_nl_normalize_codeset): Avoid integer overflow.
12082 * intl/loadinfo.h: Switch to gettext copyright.
12083 Use ANSI definitions and prototypes.
12084 (LIBINTL_DLL_EXPORTED): New define.
12085 (PATH_SEPARATOR): New define.
12086 * intl/loadmsgcat.c: Switch to gettext copyright.
12087 * intl/localealias.c: Switch to gettext copyright.
12088 Use ANSI definitions and prototypes.
12089 (_nl_expand_alias): Use PATH_SEPARATOR.
12090 * intl/ngettext.c: Switch to gettext copyright.
12091 Use ANSI definitions and prototypes.
12092 * intl/plural-exp.c: Likewise.
12093 * intl/plural-exp.h: Switch to gettext copyright.
12094 Use ANSI definitions and prototypes.
12095 (struct expression): Move definition of enum operator outside
12096 of struct definition.
12097 * intl/plural.c: Regenerate.
12098 * intl/plural.y: Switch to gettext copyright.
12099 Use ANSI definitions and prototypes.
12101 * intl/textdomain.c: Switch to gettext copyright.
12102 Use ANSI definitions and prototypes.
12103 Use gl_* locking primitives rather than __libc_* ones.
12105 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12107 * debug/warning-nop.c: Add used atrribute.
12109 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12111 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12113 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12114 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12115 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12117 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12118 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12121 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12122 Undefine after defining function. Define as weak alias of
12123 __wcschr. Use libc_hidden_weak.
12124 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12125 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12126 (libc_hidden_def): Also define __GI___wcschr alias.
12127 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12128 __wcschr and define as weak alias of __wcschr.
12129 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12131 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12132 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12133 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12134 libc_hidden_weak. Do not use libc_hidden_def.
12135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12136 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12137 __GI___wcschr alias.
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12139 [IS_IN (libc)] (wcschr): Define as macro expanding to
12141 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12142 [IS_IN (libc)] (__wcschr_power6): Likewise.
12143 [IS_IN (libc)] (__wcschr_power7): Likewise.
12144 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12146 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12148 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12149 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12150 __wcschr and define as weak alias of __wcschr. Use
12151 libc_hidden_builtin_def.
12152 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12153 as weak alias of __wcschr. Use libc_hidden_weak.
12154 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12156 * time/era.c (_nl_init_era_entries): Likewise.
12157 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12159 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12160 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12162 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12164 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12165 format for long int variable.
12167 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12170 * manual/search.texi: (Array Sort Function): Remove claim how to make
12173 2014-12-10 Andreas Schwab <schwab@suse.de>
12176 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12177 user-controlled locks.
12179 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12181 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12184 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12186 * configure.ac (--disable-werror): New configure option.
12187 (enable_werror): New AC_SUBST.
12188 * configure: Regenerated.
12189 * config.make.in (enable-werror): New variable.
12190 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12192 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12193 * manual/install.texi (Configuring and compiling): Document
12195 * INSTALL: Regenerated.
12196 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12197 (CFLAGS-tst-chk2.c): Likewise.
12198 (CFLAGS-tst-chk3.c): Likewise.
12199 (CFLAGS-tst-chk4.cc): Likewise.
12200 (CFLAGS-tst-chk5.cc): Likewise.
12201 (CFLAGS-tst-chk6.cc): Likewise.
12202 (CFLAGS-tst-lfschk1.c): Likewise.
12203 (CFLAGS-tst-lfschk2.c): Likewise.
12204 (CFLAGS-tst-lfschk3.c): Likewise.
12205 (CFLAGS-tst-lfschk4.cc): Likewise.
12206 (CFLAGS-tst-lfschk5.cc): Likewise.
12207 (CFLAGS-tst-lfschk6.cc): Likewise.
12209 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12210 (main): Disable -Wdeprecated-declarations around calls to
12211 register_printf_function.
12213 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12214 (do_test): Disable -Wdiv-by-zero around some calls to
12215 fwrite_unlocked and fread_unlocked.
12217 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12218 (DIAG_POP_NEEDS_COMMENT): Likewise.
12219 (_DIAG_STR1): Likewise.
12220 (_DIAG_STR): Likewise.
12221 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12222 * stdio-common/bug21.c: Include <libc-internal.h>.
12223 (do_test): Disable -Wformat around call to sscanf.
12224 * stdio-common/scanf14.c: Include <libc-internal.h>.
12225 (main): Disable -Wformat around some calls to scanf functions.
12227 2014-12-09 Torvald Riegel <triegel@redhat.com>
12229 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12231 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12233 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12234 stack variable alignment.
12236 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12239 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12240 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12241 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12242 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12243 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12244 __getrlimit instead of getrlimit.
12245 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12246 __gettimeofday instead of gettimeofday.
12247 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12249 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12251 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12252 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12254 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12255 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12257 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12260 for wide-character tests.
12262 2014-12-04 Roland McGrath <roland@hack.frob.com>
12264 * io/openat64.c: #include <libc-internal.h>
12265 (__openat64): Prototypify. Use ignore_value on MODE.
12266 * io/openat.c: Likewise.
12267 * misc/reboot.c: #include <libc-internal.h>
12268 (reboot): Prototypify. Use ignore_value on HOWTO.
12269 * misc/ptrace.c: #include <libc-internal.h>
12270 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12272 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12274 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12275 XPG4, UNIX98 and XOPEN2K.
12276 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12278 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12280 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12282 * libio/fileops.c: Use ISO C style for function definitions.
12283 * libio/iofopen.c: Likewise.
12284 * libio/wfileops.c: Likewise.
12287 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12289 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12290 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12291 (fgets_func): Function pointer to fgets and fgetws.
12292 (do_ftell_test): Add test to verify ftell value after read
12294 (do_test): Set fgets_func.
12296 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12297 O_TRUNC flag for w and w+ modes.
12298 (do_rewind_test): Likewise.
12299 (do_ftell_test): Likewise.
12300 (do_write_test): Likewise.
12303 * libio/fileops.c (do_ftell): Seek only when there are
12305 * libio/wfileops.c (do_ftell_wide): Likewise.
12306 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12308 (do_one_test): Call it.
12310 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12312 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12313 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12314 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12316 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12317 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12318 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12320 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12322 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12324 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12327 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12328 as weak alias of __getifaddrs. Use libc_hidden_weak.
12329 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12330 __freeifaddrs. Use libc_hidden_weak.
12331 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12332 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12333 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12334 __freeifaddrs. Use libc_hidden_weak.
12335 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12336 __getifaddrs and define as weak alias of __getifaddrs. Use
12338 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12339 __freeifaddrs. Use libc_hidden_weak.
12340 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12342 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12343 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12345 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12348 * sysdeps/mips/start.S (__start): Use indirect jump to call
12351 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12353 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12355 * nptl/tst-mutex1.c: Include <stdbool.h>.
12356 [!ATTR] (ATTR_NULL): New macro.
12357 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12358 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12359 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12361 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12365 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12366 Change conditional to [__USE_MISC].
12369 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12371 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12373 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12375 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12377 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12378 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12379 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12380 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12381 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12382 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12383 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12384 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12385 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12387 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12389 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12391 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12392 Remove strpbrk objects.
12393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12394 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12395 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12396 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12397 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12398 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12400 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12401 Remove strcspn objects.
12402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12403 (__libc_ifunc_impl_list): Remove strcspn implementation.
12404 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12405 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12406 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12407 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12409 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12410 Remove strspn objetcs.
12411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12412 (__libc_ifunc_impl_list): Remove strspn implementation.
12413 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12414 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12415 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12416 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12418 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12422 (mem2mem_check): Add a terminator to the chain of checking blocks.
12423 (malloc_check_get_size): Use it here.
12424 (mem2chunk_check): Ditto.
12426 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12428 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12429 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12431 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12433 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12435 * nptl/nptl-init.c: Include libc-internal.h.
12436 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12438 * elf/ldconfig.c (search_dir): Expand comment.
12440 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12442 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12444 (linknamespace-symlist-stdlibs-tests): Likewise.
12445 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12446 instead of $(objpfx)symlist-stdlibs.
12447 (linknamespace-libs-isoc): New variable.
12448 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12449 (linknamespace-libs-ISO): New variable.
12450 (linknamespace-libs-ISO99): Likewise.
12451 (linknamespace-libs-ISO11): Likewise.
12452 (linknamespace-libs-XPG3): Likewise.
12453 (linknamespace-libs-XPG4): Likewise.
12454 (linknamespace-libs-POSIX): Likewise.
12455 (linknamespace-libs-UNIX98): Likewise.
12456 (linknamespace-libs-XOPEN2K): Likewise.
12457 (linknamespace-libs-POSIX2008): Likewise.
12458 (linknamespace-libs-XOPEN2K8): Likewise.
12459 ($(objpfx)symlist-stdlibs): Replace by
12460 $(linknamespace-symlist-stdlibs-tests). Use
12461 $(linknamespace-libs-$*) as set of libraries.
12462 ($(linknamespace-header-tests)): Update dependencies. Use
12463 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12464 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12465 * conform/linknamespace.pl: Remove comment about considering
12466 definitions of symbols from irrelevant libraries.
12468 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12471 * elf/dl-tls.c: Include <atomic.h>.
12472 (oom): Remove #ifdef SHARED/#endif.
12473 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12474 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12475 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12477 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12478 * nptl/Makefile (tests): Add tst-stack4.
12479 (modules-names): Add tst-stack4mod.
12480 ($(objpfx)tst-stack4): New.
12481 (tst-stack4mod.sos): Likewise.
12482 ($(objpfx)tst-stack4.out): Likewise.
12483 ($(tst-stack4mod.sos)): Likewise.
12485 * nptl/tst-stack4.c: New file.
12486 * nptl/tst-stack4mod.c: Likewise.
12488 2014-11-27 J. Brown <jb999@gmx.de>
12490 * sysdeps/x86/bits/string.h: Add recent CPUs.
12492 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12494 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12497 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12500 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12503 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12505 * nscd/connections.c: Include libc-internal.h because of macro
12506 usage ignore_value.
12508 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12510 * string/bits/string3.h (__warn_memset_zero_len): Don't
12511 declare for gcc newer than 5.0.
12512 (memset): Don't test for zero-length __LEN for gcc newer than
12515 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12517 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12518 size_t for %zu format.
12520 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12521 difference, not %ju.
12523 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12525 * include/libc-internal.h (ignore_value): New macro.
12526 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12529 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12532 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12533 pthread_cleanup_push to void *.
12535 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12541 instead of 1L << 52.
12543 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12544 * libio/bug-rewind2.c (do_test): Likewise.
12546 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12547 * debug/test-strcpy_chk-ifunc.c: Likewise.
12548 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12549 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12550 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12551 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12552 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12553 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12554 * Rules [$(multi-arch) = no] (tests): Do not filter out
12556 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12557 * debug/Makefile (tests-ifunc): Remove variable.
12558 (tests): Do not add $(tests-ifunc).
12559 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12560 (tests): Do not add $(tests-ifunc).
12561 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12562 [TEST_IFUNC]: Remove conditionals.
12563 * string/test-string.h (TEST_IFUNC): Remove macro.
12564 [TEST_IFUNC]: Remove conditionals.
12566 * string/test-strchr.c [!WIDE] (L): New macro.
12567 [WIDE] (L): Likewise.
12568 (check1): Use CHAR instead of char. Use L on string and character
12571 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12573 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12575 * sysdeps/powerpc/bits/atomic.h
12576 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12577 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12578 (atomic_exchange_and_add_acq): Likewise.
12579 (atomic_exchange_and_add_rel): Likewise.
12580 * sysdeps/powerpc/powerpc32/bits/atomic.h
12581 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12582 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12583 * sysdeps/powerpc/powerpc64/bits/atomic.h
12584 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12585 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12587 2014-11-26 Torvald Riegel <triegel@redhat.com>
12589 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12590 Change synchronization of __sched_fifo_min_prio and
12591 __sched_fifo_max_prio.
12592 * nptl/pthread_mutexattr_getprioceiling.c
12593 (pthread_mutexattr_getprioceiling): Likewise.
12594 * nptl/pthread_mutexattr_setprioceiling.c
12595 (pthread_mutexattr_setprioceiling): Likewise.
12596 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12597 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12600 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12602 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12605 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12607 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12608 third argument const.
12610 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12612 fnmatch: work around GCC compiler warning bug with uninit var
12613 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12614 This works around a bug with x86-64 GCC 4.9.2 and earlier
12615 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12616 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12617 used uninitialized in this function [-Wmaybe-uninitialized]".
12619 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12621 * posix/bug-regex31.c (main): Return RES not 0.
12623 2014-11-25 Anton Blanchard <anton@samba.org>
12625 * sysdeps/powerpc/bits/atomic.h
12626 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12628 2014-11-24 Sterling Augustine <saugustine@google.com>
12630 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12632 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12635 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12637 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12640 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12641 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12643 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12644 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12646 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12648 * string/strncpy.c (strncpy): Improve performance by using memset.
12650 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12652 * string/strcpy.c (strcpy):
12653 Improve performance by using strlen and memcpy.
12655 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12657 * string/strcoll_l.c (get_next_seq): __always_inline.
12658 * string/strcoll_l.c (do_compare): __always_inline.
12660 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12662 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12664 * include/mqueue.h: Likewise.
12665 * include/stdlib.h: Likewise.
12667 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12668 (get_null_defines): Adjust.
12669 * sunrpc/Makefile: Adjust comment.
12670 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12671 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12672 (CFLAGS-interp.c): Likewise.
12673 (CFLAGS-ldconfig.c): Likewise.
12674 (CPPFLAGS-.os): Likewise.
12675 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12676 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12677 * extra-modules.mk (extra-modules.mk): Likewise.
12678 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12679 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12680 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12681 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12682 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12683 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12684 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12685 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12686 * iconvdata/Makefile (CPPFLAGS): Likewise.
12687 (cpp-srcs-left): Add libof for all iconvdata routines.
12688 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12689 * include/assert.h: Likewise.
12690 * include/ctype.h: Likewise.
12691 * include/errno.h: Likewise.
12692 * include/libc-symbols.h: Likewise.
12693 * include/math.h: Likewise.
12694 * include/netdb.h: Likewise.
12695 * include/resolv.h: Likewise.
12696 * include/stdio.h: Likewise.
12697 * include/stdlib.h: Likewise.
12698 * include/string.h: Likewise.
12699 * include/sys/stat.h: Likewise.
12700 * include/wctype.h: Likewise.
12701 * intl/l10nflist.c: Likewise.
12702 * libidn/idn-stub.c: Likewise.
12703 * libio/libioP.h: Likewise.
12704 * nptl/libc_multiple_threads.c: Likewise.
12705 * nptl/pthreadP.h: Likewise.
12706 * posix/regex_internal.h: Likewise.
12707 * resolv/res_hconf.c: Likewise.
12708 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12709 * sysdeps/arm/memmove.S: Likewise.
12710 * sysdeps/arm/sysdep.h: Likewise.
12711 * sysdeps/generic/_itoa.h: Likewise.
12712 * sysdeps/generic/symbol-hacks.h: Likewise.
12713 * sysdeps/gnu/errlist.awk: Likewise.
12714 * sysdeps/gnu/errlist.c: Likewise.
12715 * sysdeps/i386/i586/memcpy.S: Likewise.
12716 * sysdeps/i386/i586/memset.S: Likewise.
12717 * sysdeps/i386/i686/memcpy.S: Likewise.
12718 * sysdeps/i386/i686/memmove.S: Likewise.
12719 * sysdeps/i386/i686/mempcpy.S: Likewise.
12720 * sysdeps/i386/i686/memset.S: Likewise.
12721 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12722 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12723 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12724 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12725 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12726 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12727 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12728 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12729 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12730 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12731 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12732 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12733 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12734 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12735 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12736 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12737 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12738 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12739 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12740 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12741 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12742 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12743 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12744 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12745 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12747 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12748 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12750 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12751 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12756 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12757 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12758 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12759 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12761 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12762 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12763 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12765 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12766 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12767 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12768 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12769 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12770 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12771 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12772 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12773 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12774 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12775 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12776 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12777 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12778 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12779 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12780 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12781 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12782 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12783 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12784 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12785 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12786 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12787 * sysdeps/posix/closedir.c: Likewise.
12788 * sysdeps/posix/opendir.c: Likewise.
12789 * sysdeps/posix/readdir.c: Likewise.
12790 * sysdeps/posix/rewinddir.c: Likewise.
12791 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12792 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12793 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12794 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12796 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12800 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12802 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12803 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12804 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12805 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12807 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12811 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12813 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12826 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12827 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12828 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12829 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12830 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12831 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12832 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12833 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12835 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12836 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12837 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12838 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12839 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12840 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12841 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12842 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12844 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12845 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12847 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12848 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12849 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12850 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12851 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12852 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12853 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12854 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12855 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12856 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12857 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12858 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12859 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12860 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12862 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12863 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12864 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12865 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12866 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12867 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12868 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12869 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12870 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12871 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12872 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12873 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12874 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12875 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12877 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12878 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12879 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12881 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12882 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12883 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12887 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12889 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12890 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12891 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12892 * sysdeps/unix/alpha/sysdep.S: Likewise.
12893 * sysdeps/unix/alpha/sysdep.h: Likewise.
12894 * sysdeps/unix/make-syscalls.sh: Likewise.
12895 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12896 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12897 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12898 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12899 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12900 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12901 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12902 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12903 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12904 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12905 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12906 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12907 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12908 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12909 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12910 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12911 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12912 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12913 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12914 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12915 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12916 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12917 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12918 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12919 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12920 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12921 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12924 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12925 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12926 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12929 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12933 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12934 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12935 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12936 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12937 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12938 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12939 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12945 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12946 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12947 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12948 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12951 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12953 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12954 * sysdeps/x86_64/memcpy.S: Likewise.
12955 * sysdeps/x86_64/memmove.c: Likewise.
12956 * sysdeps/x86_64/memset.S: Likewise.
12957 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12958 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12959 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12960 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12961 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12962 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12964 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12965 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12966 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12967 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12968 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12969 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12970 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12971 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12972 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12973 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12974 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12975 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12976 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12977 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12978 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12980 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12981 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12982 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12983 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12984 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12985 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12986 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12987 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12988 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12989 * sysdeps/x86_64/strcmp.S: Likewise.
12991 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12993 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12994 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12995 * elf/rtld-Rules: Likewise.
12996 * elf/setup-vdso.h: Likewise.
12997 * include/assert.h: Likewise.
12998 * include/bits/stdlib-float.h: Likewise.
12999 * include/errno.h: Likewise.
13000 * include/sys/stat.h: Likewise.
13001 * include/unistd.h: Likewise.
13002 * sysdeps/aarch64/setjmp.S: Likewise.
13003 * sysdeps/alpha/setjmp.S: Likewise.
13004 * sysdeps/arm/__longjmp.S: Likewise.
13005 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13006 * sysdeps/arm/setjmp.S: Likewise.
13007 * sysdeps/arm/sysdep.h: Likewise.
13008 * sysdeps/generic/_itoa.h: Likewise.
13009 * sysdeps/generic/dl-sysdep.h: Likewise.
13010 * sysdeps/generic/ldsodefs.h: Likewise.
13011 * sysdeps/i386/dl-tls.h: Likewise.
13012 * sysdeps/i386/setjmp.S: Likewise.
13013 * sysdeps/m68k/setjmp.c: Likewise.
13014 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13015 * sysdeps/mach/hurd/opendir.c: Likewise.
13016 * sysdeps/posix/getcwd.c: Likewise.
13017 * sysdeps/posix/opendir.c: Likewise.
13018 * sysdeps/posix/profil.c: Likewise.
13019 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13023 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13024 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13025 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13026 * sysdeps/s390/dl-tls.h: Likewise.
13027 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13028 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13029 * sysdeps/sh/sh3/setjmp.S: Likewise.
13030 * sysdeps/sh/sh4/setjmp.S: Likewise.
13031 * sysdeps/unix/alpha/sysdep.h: Likewise.
13032 * sysdeps/unix/arm/sysdep.S: Likewise.
13033 * sysdeps/unix/i386/sysdep.S: Likewise.
13034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13035 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13036 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13037 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13039 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13040 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13041 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13042 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13043 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13044 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13045 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13049 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13052 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13053 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13054 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13057 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13058 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13059 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13061 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13062 * sysdeps/x86_64/setjmp.S: Likewise.
13064 * include/math.h: Use IS_IN instead of IS_IN_libm.
13065 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13077 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13085 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13086 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13087 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13088 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13089 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13090 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13092 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13093 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13094 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13095 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13096 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13097 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13108 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13110 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13111 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13112 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13113 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13119 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13120 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13121 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13122 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13123 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13124 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13125 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13126 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13127 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13128 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13129 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13130 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13131 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13132 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13134 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13136 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13137 * nptl/pthreadP.h: Likewise.
13138 * nptl_db/structs.def: Likewise.
13139 * sysdeps/arm/sysdep.h: Likewise.
13140 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13141 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13142 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13143 * sysdeps/unix/alpha/sysdep.h: Likewise.
13144 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13145 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13146 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13147 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13148 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13149 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13151 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13152 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13153 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13154 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13155 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13156 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13157 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13162 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13165 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13166 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13167 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13168 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13169 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13171 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13172 * nptl/pthreadP.h: Likewise.
13173 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13174 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13175 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13176 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13177 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13178 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13179 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13180 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13181 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13182 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13183 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13184 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13191 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13194 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13195 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13198 * dlfcn/dladdr.c: Use IS_IN.
13199 * dlfcn/dladdr1.c: Likewise.
13200 * dlfcn/dlclose.c: Likewise.
13201 * dlfcn/dlerror.c: Likewise.
13202 * dlfcn/dlinfo.c: Likewise.
13203 * dlfcn/dlmopen.c: Likewise.
13204 * dlfcn/dlopen.c: Likewise.
13205 * dlfcn/dlsym.c: Likewise.
13206 * dlfcn/dlvsym.c: Likewise.
13208 * include/ifaddrs.h: Use IS_IN.
13209 * inet/check_pf.c: Likewise.
13210 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13211 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13213 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13215 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13216 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13218 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13219 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13222 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13224 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13225 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13226 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13227 * include/libc-symbols.h (IS_IN_LIB): New macro.
13228 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13229 * include/netdb.h: Likewise.
13230 * include/stap-probe.h: Remove all uses of IN_LIB.
13232 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13233 instead of IN_MODULE.
13234 * include/libc-symbols.h (IN_MODULE): Define using
13236 (PASTE_NAME, PASTE_NAME1): New macros.
13237 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13239 (STAP_PROBE_ASM): Likewise.
13241 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13243 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13244 __mach_init in dlopened libc.
13246 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13248 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13249 * sysdeps/arm/preconfigure: Regenerate.
13251 2014-11-21 Roland McGrath <roland@hack.frob.com>
13253 * nptl/pthread_create.c (__pthread_create_2_1): Set
13254 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13255 when copying values from IATTR into PD.
13257 2014-11-21 Will Newton <will.newton@linaro.org>
13258 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13260 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13261 Refactor inline-asm. Also add comment.
13263 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13264 ElfW macro instead of hardcoded Elf64 types.
13265 (la_aarch64_gnu_pltenter): Likewise.
13266 * sysdeps/aarch64/dl-machine.h
13267 (elf_machine_runtime_setup): Use ElfW(Addr).
13269 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13270 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13271 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13272 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13273 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13274 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13275 (R_AARCH64_TLS_DTPMOD): This.
13276 (R_AARCH64_TLS_DTPREL64): Rename to ...
13277 (R_AARCH64_TLS_DTPREL): This.
13278 (R_AARCH64_TLS_TPREL64): Rename to ...
13279 (R_AARCH64_TLS_TPREL): This.
13280 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13281 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13282 R_AARCH64_TLS_TPREL64.
13283 (elf_machine_rela): Likewise.
13285 2014-11-21 Torvald Riegel <triegel@redhat.com>
13287 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13288 by setting it to 0. 64b atomics are not supported currently.
13290 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13293 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13294 search domain names.
13296 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13300 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13302 * posix/tst-getaddrinfo5.c: New.
13303 * posix/Makefile (tests): Add it.
13305 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13309 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13310 after parsing line but before break_if_match.
13311 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13312 if there is a protocol mismatch.
13314 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13316 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13317 because the potential race is on the user-supplied stream.
13319 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13321 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13322 string literal if not passed a buffer.
13323 * manual/job.texi (ctermid): Update reasoning, note deviation
13324 from posix, suggest mtasurace when not passed a buffer, for
13325 future non-preliminary safety notes.
13327 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13329 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13330 of not passing it a buffer.
13331 Reported by Peng Haitao.
13333 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13335 * manual/Makefile ($(objpfx)stamp-summary): Require
13336 check-safety.sh to pass.
13337 * manual/check-safety.sh: Wish for verification that every
13338 @deftypefn and @deftypefun is followed by a @safety remark.
13340 2014-11-20 Roland McGrath <roland@hack.frob.com>
13342 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13344 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13345 PTHREAD_CANCEL_ASYNCHRONOUS.
13346 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13349 * nptl/default-sched.h: New file.
13350 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13351 * nptl/pthread_create.c: Include it.
13352 (__pthread_create_2_1): Use collect_default_sched instead of making
13353 Linux syscalls here directly.
13355 2014-11-20 Torvald Riegel <triegel@redhat.com>
13357 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13358 __pthread_once): Use C11 atomics.
13360 2014-11-20 Torvald Riegel <triegel@redhat.com>
13362 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13364 2014-11-20 Torvald Riegel <triegel@redhat.com>
13366 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13367 atomic_thread_fence_acquire, atomic_thread_fence_release,
13368 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13369 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13370 atomic_compare_exchange_weak_relaxed,
13371 atomic_compare_exchange_weak_acquire,
13372 atomic_compare_exchange_weak_release,
13373 atomic_exchange_acquire, atomic_exchange_release,
13374 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13375 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13376 atomic_fetch_and_acquire,
13377 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13379 2014-11-20 Torvald Riegel <triegel@redhat.com>
13381 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13382 USE_ATOMIC_COMPILER_BUILTINS): Define.
13383 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13384 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13385 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13386 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13387 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13388 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13389 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13390 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13391 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13392 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13393 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13394 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13395 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13396 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13397 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13398 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13399 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13400 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13401 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13402 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13403 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13404 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13405 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13406 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13407 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13408 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13409 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13410 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13411 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13412 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13413 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13414 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13415 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13416 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13417 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13418 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13419 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13421 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13424 2014-11-19 Roland McGrath <roland@hack.frob.com>
13426 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13427 the sched_priority value here. It was already checked when the user
13428 called pthread_attr_setschedparam.
13430 * nptl/tst-bad-schedattr.c: New file.
13431 * nptl/Makefile (tests): Add it.
13433 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13434 Florian Weimer <fweimer@redhat.com>
13435 Joseph Myers <joseph@codesourcery.com>
13436 Adam Conrad <adconrad@0c3.net>
13437 Andreas Schwab <schwab@suse.de>
13438 Brooks <bmoses@google.com>
13441 * wordexp-test.c (__dso_handle): Add prototype.
13442 (__register_atfork): Likewise.
13443 (__app_register_atfork): New function.
13444 (registered_forks): New global.
13445 (register_fork): New function.
13446 (test_case): Add 3 new tests for WRDE_CMDSUB.
13447 (main): Call __app_register_atfork.
13448 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13449 fork count is non-zero fail the test.
13450 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13452 (parse_dollars): Remove check for WRDE_NOCMD.
13453 (parse_dquote): Likewise.
13455 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13457 * Makeconfig (built-modules): List non-library modules to be
13459 (module-cppflags): Include libc-modules.h for
13460 everything except shlib-versions.v.i.
13461 (CPPFLAGS): Use it.
13462 (before-compile): Add libc-modules.h.
13463 ($(common-objpfx)libc-modules.h,
13464 $(common-objpfx)libc-modules.stmp): New targets.
13465 (common-generated): Add libc-modules.h and libc-modules.stmp.
13466 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13467 * include/libc-symbols.h: Don't include libc-modules.h.
13468 * include/libc-modules.h: Remove file.
13469 * scripts/gen-libc-modules.awk: New script to generate
13471 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13472 Depend on libc-modules.stmp.
13474 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13476 * Makeconfig (in-module): Get value of libof set for the
13478 (CPPFLAGS): Use $(in-module).
13479 * Makerules: Don't suffix routine names for nonlib.
13480 * include/libc-modules.h: New file.
13481 * include/libc-symbols.h: Include libc-modules.h
13482 (IS_IN): New macro to replace IS_IN_* macros.
13483 * elf/Makefile: Set libof-* for each routine.
13484 * elf/rtld-Rules: Likewise.
13485 * extra-modules.mk: Likewise.
13486 * iconv/Makefile: Likewise.
13487 * iconvdata/Makefile: Likewise.
13488 * locale/Makefile: Likewise.
13489 * malloc/Makefile: Likewise.
13490 * nss/Makefile: Likewise.
13491 * sysdeps/gnu/Makefile: Likewise.
13492 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13493 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13494 * sysdeps/s390/s390-64/Makefile: Likewise.
13495 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13496 CPPFLAGS for nscd instead of nonlib.
13498 2014-11-18 Roland McGrath <roland@hack.frob.com>
13500 * nptl/createthread.c: New file.
13502 * nptl/createthread.c: Moved ...
13503 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13505 * nptl/createthread.c: Add proper top-line comment.
13506 (do_clone): Folded into ...
13507 (create_thread): ... here. Take new arguments STOPPED_START and
13508 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13509 increment __nptl_threads, do event-reporting logic, do
13510 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13511 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13512 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13513 just send SIGCANCEL.
13514 * nptl/pthread_create.c: Forward-declare create_thread before
13515 including createthread.c.
13516 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13517 declaration, and new macro START_THREAD_SELF to replace argument.
13518 Remove return statement.
13519 (report_thread_creation): New function.
13520 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13521 synchronization logic, and __nptl_nthreads increment here, around
13522 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13523 PD->parent_cancelhandling here, before create_thread. When
13524 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13525 __deallocate_stack, and ENOMEM translation here.
13527 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13530 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13531 (mptwo): Rename to __mptwo.
13532 (__inv): Use __mptwo instead of mptwo.
13533 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13534 (mptwo): Rename to __mptwo.
13535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13536 of mpone and __mptwo instead of mptwo.
13537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13540 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13541 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13542 of mpone and __mptwo instead of mptwo.
13543 (__mpranred): Use __mpone instead of mpone.
13544 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13546 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13547 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13548 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13549 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13550 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13551 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13552 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13553 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13554 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13555 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13556 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13557 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13558 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13559 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13560 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13561 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13562 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13563 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13564 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13566 2014-11-18 Tom de Vries <tom@codesoucery.com>
13568 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13569 replace BSD Handler xref with BSD Signal Handling.
13571 2014-11-17 Richard Henderson <rth@redhat.com>
13573 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13574 (_FP_PACK_RAW_2): Remove.
13575 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13576 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13577 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13578 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13579 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13580 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13581 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13582 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13583 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13584 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13585 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13586 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13587 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13588 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13589 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13590 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13592 2014-11-14 Roland McGrath <roland@hack.frob.com>
13594 * signal/signal.h [__USE_MISC]
13595 (struct sigvec): Remove type.
13596 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13597 (sigvec): Remove declaration.
13598 * sysdeps/posix/sigvec.c: Moved ...
13599 * signal/sigvec.c: ... here, replacing old file.
13600 (struct sigvec): New type, copied from old signal.h definition.
13601 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13602 (__sigvec): Convert definition to prototype.
13603 (sigvec): Replace weak_alias with compat_symbol.
13604 * signal/Versions (libc: GLIBC_2.21): New version set.
13605 * include/signal.h: Remove __sigvec declaration.
13606 * sysdeps/unix/bsd/sigvec.c: Remove file.
13607 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13608 * manual/signal.texi (BSD Handler): Remove subsection.
13609 Move siginterrupt up to ...
13610 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13611 (Blocking in BSD): Fold subsection into its parent.
13612 * NEWS: Mention sigvec removal.
13614 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13616 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13617 (DLA_FMS): Make definition conditional only on [__FMA4__].
13618 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13621 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13622 Make definition conditional only on [PROF].
13623 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13625 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13626 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13628 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13630 * include/signal.h (__sigpause): Move declaration above call to
13632 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13634 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13635 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13637 2014-11-14 David S. Miller <davem@davemloft.net>
13639 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13640 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13642 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13644 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13645 * configure: Regenerated.
13646 * manual/install.texi (Tools for Compilation): Document a
13647 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13648 compiler verified to work.
13649 * INSTALL: Regenerated.
13651 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13652 redeclare with asm name.
13653 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13654 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13655 including <string.h>.
13656 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13657 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13658 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13659 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13660 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13661 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13662 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13664 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13666 * stdlib/strtol.c (__strtol): Use prototype definition.
13669 * stdlib/strtol.c (SYM__): New macro.
13670 (SYM__1): Likewise.
13671 (__strtol): Likewise.
13672 (strtol): Rename to __strtol and define as weak alias of
13673 __strtol. Use libc_hidden_weak.
13675 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13677 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13678 Use numbered labels in inline assembly.
13680 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13682 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13683 Add setjmp LIBC_PROBE.
13684 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13686 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13687 Add longjmp, longjmp_target LIBC_PROBE.
13688 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13691 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13694 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13695 to get rid of unused variable warning.
13697 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13699 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13700 Check for unwind_backtrace == NULL only in SHARED case.
13701 (__backchain_backtrace): Compile only in SHARED case.
13702 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13704 (__backchain_backtrace): Declare as static.
13706 2014-11-12 Roland McGrath <roland@hack.frob.com>
13708 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13709 (__libc_multiple_threads_ptr): Variable moved ...
13710 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13712 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13714 * conform/GlibcConform.pm: New file.
13715 * conform/conformtest.pl: Use GlibcConform module.
13716 * conform/linknamespace.pl: New file.
13717 * conform/list-header-symbols.pl: Likewise.
13718 * conform/Makefile (linknamespace-symlists-base): New variable.
13719 (linknamespace-symlists-tests): Likewise.
13720 (linknamespace-header-base): Likewise.
13721 (linknamespace-header-tests): Likewise.
13722 (tests-special): Add new tests.
13723 ($(linknamespace-symlists-tests)): New rule.
13724 (linknamespace-libs): New variable.
13725 ($(objpfx)symlist-stdlibs): New rule.
13726 ($(linknamespace-header-tests)): Likewise.
13727 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13728 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13729 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13730 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13731 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13732 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13733 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13734 (test-xfail-ISO/math.h/linknamespace): Likewise.
13735 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13736 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13737 (test-xfail-ISO/time.h/linknamespace): Likewise.
13738 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13739 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13740 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13741 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13742 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13743 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13744 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13745 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13746 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13747 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13748 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13749 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13750 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13751 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13752 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13753 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13754 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13755 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13756 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13757 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13758 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13759 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13760 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13761 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13762 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13763 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13764 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13765 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13766 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13767 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13768 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13769 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13770 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13771 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13772 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13773 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13774 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13775 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13776 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13777 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13778 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13779 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13780 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13781 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13782 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13783 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13784 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13785 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13786 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13787 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13788 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13789 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13790 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13791 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13792 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13793 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13794 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13795 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13796 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13797 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13798 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13799 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13800 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13801 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13802 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13803 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13804 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13805 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13806 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13807 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13808 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13809 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13810 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13811 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13812 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13813 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13814 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13815 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13816 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13817 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13818 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13819 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13820 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13821 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13822 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13823 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13824 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13825 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13826 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13827 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13828 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13829 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13830 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13831 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13832 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13833 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13834 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13835 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13836 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13837 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13838 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13839 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13840 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13841 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13842 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13843 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13844 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13845 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13846 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13847 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13848 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13849 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13850 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13851 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13852 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13853 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13854 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13855 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13856 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13857 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13858 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13859 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13860 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13861 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13862 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13863 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13864 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13865 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13866 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13867 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13868 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13869 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13870 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13871 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13872 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13873 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13874 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13875 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13876 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13877 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13878 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13879 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13880 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13881 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13882 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13883 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13884 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13885 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13886 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13887 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13890 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13894 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13895 (memmem): Rename to __memmem and define as weak alias of
13896 __memmem. Use libc_hidden_weak.
13897 (__memmem): Use libc_hidden_def.
13898 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13899 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13903 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13904 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13905 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13906 and define as weak alias of __fgets_unlocked. Use
13908 (__fgets_unlocked): Use libc_hidden_def.
13909 * include/stdio.h (__fgets_unlocked): Declare. Use
13911 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13912 __fgets_unlocked instead of fgets_unlocked.
13913 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13914 (GET_NPROCS_CONF_PARSER): Likewise.
13915 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13916 (GET_NPROCS_CONF_PARSER): Likewise.
13919 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13920 weak alias of __wmemset. Use libc_hidden_weak.
13921 (__wmemset): Use libc_hidden_def.
13922 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13923 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13927 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13928 with asm name __mempcpy.
13929 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13932 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13933 and define as weak alias of __rawmemchr.
13934 (__rawmemchr): Do not define as strong alias of rawmemchr.
13937 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13938 alias of __qsort_r.
13939 (qsort): Call __qsort_r instead of qsort_r.
13940 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13941 (__qsort_r): Declare. Call libc_hidden_proto.
13942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13943 instead of qsort_r.
13944 * nscd/gai.c (__qsort_r): Define to qsort_r.
13945 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13946 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13947 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13950 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13951 define as weak alias of __malloc_info.
13954 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13955 as weak alias of __rewinddir. Don't use libc_hidden_def.
13956 (__rewinddir): Use libc_hidden_def.
13957 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13958 as weak alias of __rewinddir. Don't use libc_hidden_def.
13959 (__rewinddir): Use libc_hidden_def.
13960 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13961 weak alias of __rewinddir. Don't use libc_hidden_def.
13962 (__rewinddir): Use libc_hidden_def.
13963 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13964 (__rewinddir): Use libc_hidden_proto.
13965 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13967 (__getcwd): Use __rewinddir instead of rewinddir.
13970 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13971 alias of __fileno. Use libc_hidden_weak.
13972 (__fileno): Use libc_hidden_def.
13973 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13974 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13976 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13978 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13979 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13981 (fread_unlocked): Don't use libc_hidden_ver.
13982 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13983 and define as weak alias of __fread_unlocked. Don't use
13985 (__fread_unlocked): Use libc_hidden_def.
13986 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13987 (ftello): Don't use libc_hidden_proto.
13988 (__ftello): Declare. Use libc_hidden_proto.
13989 (fread_unlocked): Don't use libc_hidden_proto.
13990 (__fread_unlocked): Declare. Use libc_hidden_proto.
13991 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13992 and __ftello instead of fileno, fread_unlocked and ftello.
13994 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13996 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14000 (_dl_start_user): Likewise.
14001 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14003 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14004 Siddhesh Poyarekar <siddhesh@redhat.com>
14006 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14007 Move argv and envp down instead of moving argc up.
14008 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14010 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14013 * test-skeleton.c (main): Return successful if one of
14014 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14015 * string/tst-strcoll-overflow.c: Define expected status.
14017 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14020 * locale/iso-639.def: Define Bhili and Tulu language codes.
14022 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14024 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14026 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14029 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14031 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14033 * configure.ac: Updated check of minimal required version to
14035 * manual/install.texi (Tools for Compilation): Updated version
14037 * configure: Regenerated.
14038 * INSTALL: Likewise.
14040 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14042 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14045 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14047 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14048 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14049 (__waitpid): Don't define as alias. Use libc_hidden_def not
14051 (waitpid): Define as alias of __waitpid.
14052 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14054 (__waitpid): Don't define as alias. Use libc_hidden_def not
14056 (waitpid): Define as alias of __waitpid.
14057 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14058 __libc_waitpid alias.
14059 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14060 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14062 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14064 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14066 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14068 (__waitpid): Don't define as alias. Use libc_hidden_def not
14070 (waitpid): Define as alias of __waitpid.
14072 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14074 * manual/llio.texi: Add comment that write safety has been
14077 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14078 (localplt-build-dso): Add elf/ld.so.
14079 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14080 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14081 and free for ld.so.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14083 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14088 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14089 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14090 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14091 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14092 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14093 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14094 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14095 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14096 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14097 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14098 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14100 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14103 * include/libc-symbols.h (INTUSE): Remove macro.
14104 (INTDEF): Likewise.
14105 (INTVARDEF): Likewise.
14106 (_INTVARDEF): Likewise.
14107 (INTDEF2): Likewise.
14108 (INTVARDEF2): Likewise.
14109 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14110 rtld_hidden_def instead of INTVARDEF.
14111 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14112 (_dl_starting_up_internal): Remove declaration.
14113 (_dl_starting_up): Use rtld_hidden_proto.
14114 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14116 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14117 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14119 * elf/dl-writev.h (_dl_writev): Likewise.
14120 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14121 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14122 _dl_starting_up_internal.
14124 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14126 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14129 2014-11-05 Will Newton <will.newton@linaro.org>
14131 * benchtests/Makefile: (bench-malloc): Add malloc thread
14132 scalability benchmark.
14133 * benchtests/bench-malloc-threads.c: New file.
14135 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14137 * sysdeps/aarch64/strchrnul.S: New file.
14139 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14141 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14154 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14156 * catgets/test-gencat.c: Use test-skeleton.c.
14157 * catgets/tst-catgets.c: Likewise.
14158 * csu/tst-empty.c: Likewise.
14159 * elf/tst-audit2.c: Likewise.
14160 * elf/tst-global1.c: Likewise.
14161 * elf/tst-pathopt.c: Likewise.
14162 * elf/tst-piemod1.c: Likewise.
14163 * elf/tst-tls10.c: Likewise.
14164 * elf/tst-tls11.c: Likewise.
14165 * elf/tst-tls12.c: Likewise.
14166 * gnulib/tst-gcc.c: Likewise.
14167 * iconvdata/tst-e2big.c: Likewise.
14168 * iconvdata/tst-loading.c: Likewise.
14169 * iconv/tst-iconv1.c: Likewise.
14170 * iconv/tst-iconv2.c: Likewise.
14171 * inet/test-inet6_opt.c: Likewise.
14172 * inet/tst-gethnm.c: Likewise.
14173 * inet/tst-network.c: Likewise.
14174 * inet/tst-ntoa.c: Likewise.
14175 * intl/tst-codeset.c: Likewise.
14176 * intl/tst-gettext2.c: Likewise.
14177 * intl/tst-gettext3.c: Likewise.
14178 * intl/tst-ngettext.c: Likewise.
14179 * intl/tst-translit.c: Likewise.
14180 * io/test-stat.c: Likewise.
14181 * libio/test-fmemopen.c: Likewise.
14182 * libio/tst-freopen.c: Likewise.
14183 * libio/tst-sscanf.c: Likewise.
14184 * libio/tst-ungetwc1.c: Likewise.
14185 * libio/tst-ungetwc2.c: Likewise.
14186 * libio/tst-widetext.c: Likewise.
14187 * localedata/tst-ctype.c: Likewise.
14188 * localedata/tst-digits.c: Likewise.
14189 * localedata/tst-leaks.c: Likewise.
14190 * localedata/tst-mbswcs1.c: Likewise.
14191 * localedata/tst-mbswcs2.c: Likewise.
14192 * localedata/tst-mbswcs3.c: Likewise.
14193 * localedata/tst-mbswcs4.c: Likewise.
14194 * localedata/tst-mbswcs5.c: Likewise.
14195 * localedata/tst-setlocale.c: Likewise.
14196 * localedata/tst-trans.c: Likewise.
14197 * localedata/tst-wctype.c: Likewise.
14198 * localedata/tst-xlocale1.c: Likewise.
14199 * login/tst-grantpt.c: Likewise.
14200 * malloc/tst-calloc.c: Likewise.
14201 * malloc/tst-malloc.c: Likewise.
14202 * malloc/tst-mallocstate.c: Likewise.
14203 * malloc/tst-mcheck.c: Likewise.
14204 * malloc/tst-mtrace.c: Likewise.
14205 * malloc/tst-obstack.c: Likewise.
14206 * math/atest-exp2.c: Likewise.
14207 * math/atest-exp.c: Likewise.
14208 * math/atest-sincos.c: Likewise.
14209 * math/test-matherr.c: Likewise.
14210 * math/test-misc.c: Likewise.
14211 * math/test-powl.c: Likewise.
14212 * math/tst-definitions.c: Likewise.
14213 * misc/tst-dirname.c: Likewise.
14214 * misc/tst-efgcvt.c: Likewise.
14215 * misc/tst-fdset.c: Likewise.
14216 * misc/tst-hsearch.c: Likewise.
14217 * misc/tst-mntent2.c: Likewise.
14218 * nptl/tst-sem7.c: Likewise.
14219 * nptl/tst-sem8.c: Likewise.
14220 * nptl/tst-sem9.c: Likewise.
14221 * nss/test-netdb.c: Likewise.
14222 * posix/tst-fnmatch.c: Likewise.
14223 * posix/tst-getlogin.c: Likewise.
14224 * posix/tst-gnuglob.c: Likewise.
14225 * posix/tst-mmap.c: Likewise.
14226 * pwd/tst-getpw.c: Likewise.
14227 * resolv/tst-inet_ntop.c: Likewise.
14228 * rt/tst-timer.c: Likewise.
14229 * stdio-common/test-fseek.c: Likewise.
14230 * stdio-common/test-popen.c: Likewise.
14231 * stdio-common/test-vfprintf.c: Likewise.
14232 * stdio-common/tst-cookie.c: Likewise.
14233 * stdio-common/tst-fileno.c: Likewise.
14234 * stdio-common/tst-gets.c: Likewise.
14235 * stdio-common/tst-obprintf.c: Likewise.
14236 * stdio-common/tst-perror.c: Likewise.
14237 * stdio-common/tst-sprintf2.c: Likewise.
14238 * stdio-common/tst-sprintf3.c: Likewise.
14239 * stdio-common/tst-sprintf.c: Likewise.
14240 * stdio-common/tst-swprintf.c: Likewise.
14241 * stdio-common/tst-tmpnam.c: Likewise.
14242 * stdio-common/tst-unbputc.c: Likewise.
14243 * stdio-common/tst-wc-printf.c: Likewise.
14244 * stdlib/tst-environ.c: Likewise.
14245 * stdlib/tst-fmtmsg.c: Likewise.
14246 * stdlib/tst-limits.c: Likewise.
14247 * stdlib/tst-rand48-2.c: Likewise.
14248 * stdlib/tst-rand48.c: Likewise.
14249 * stdlib/tst-random2.c: Likewise.
14250 * stdlib/tst-random.c: Likewise.
14251 * stdlib/tst-strtol.c: Likewise.
14252 * stdlib/tst-strtoll.c: Likewise.
14253 * stdlib/tst-tls-atexit.c: Likewise.
14254 * stdlib/tst-xpg-basename.c: Likewise.
14255 * string/test-ffs.c: Likewise.
14256 * string/tst-bswap.c: Likewise.
14257 * string/tst-inlcall.c: Likewise.
14258 * string/tst-strtok.c: Likewise.
14259 * string/tst-strxfrm.c: Likewise.
14260 * sysdeps/x86_64/tst-audit10.c: Likewise.
14261 * sysdeps/x86_64/tst-audit3.c: Likewise.
14262 * sysdeps/x86_64/tst-audit4.c: Likewise.
14263 * sysdeps/x86_64/tst-audit5.c: Likewise.
14264 * time/tst-ftime_l.c: Likewise.
14265 * time/tst-getdate.c: Likewise.
14266 * time/tst-mktime3.c: Likewise.
14267 * time/tst-mktime.c: Likewise.
14268 * time/tst-posixtz.c: Likewise.
14269 * time/tst-strptime2.c: Likewise.
14270 * time/tst-strptime3.c: Likewise.
14271 * wcsmbs/tst-btowc.c: Likewise.
14272 * wcsmbs/tst-mbrtowc.c: Likewise.
14273 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14274 * wcsmbs/tst-wchar-h.c: Likewise.
14275 * wcsmbs/tst-wcpncpy.c: Likewise.
14276 * wcsmbs/tst-wcrtomb.c: Likewise.
14277 * wcsmbs/tst-wcsnlen.c: Likewise.
14278 * wcsmbs/tst-wcstof.c: Likewise.
14280 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14283 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14285 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14287 (_dl_mcount): Use rtld_hidden_proto.
14288 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14290 * elf/rtld.c (_rtld_global_ro): Likewise.
14293 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14294 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14295 of _dl_init_internal.
14296 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14297 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14298 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14299 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14300 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14301 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14302 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14303 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14304 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14305 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14306 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14307 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14308 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14309 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14310 * sysdeps/tile/dl-start.S (_start): Likewise.
14311 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14312 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14315 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14316 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14317 (rtld_progname): Make macro definition unconditional.
14318 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14320 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14321 (dl_main): Likewise.
14322 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14323 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14324 instead of _dl_argv_internal.
14325 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14326 __GI__dl_argv instead of INTUSE(_dl_argv).
14327 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14328 __GI__dl_argv instead of _dl_argv_internal.
14330 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14331 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14333 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14334 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14336 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14337 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14339 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14340 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14342 2014-11-04 Andreas Schwab <schwab@suse.de>
14344 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14346 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14348 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14349 mtvsrd instruction in binary form.
14351 2014-11-03 Andreas Schwab <schwab@suse.de>
14354 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14355 for less than MB_LEN_MAX use a local buffer of that size.
14356 * libio/tst-fputws.c: New file.
14357 * libio/Makefile (tests): Add tst-fputws.
14359 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14361 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14362 the size of the fpu_fr.fpu_dregs[] array.
14364 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14366 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14367 (__nanosleep): Do not define as alias.
14368 (nanosleep): Define as alias of __nanosleep.
14369 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14370 __libc_nanosleep name.
14372 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14374 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14375 install.texi in comment.
14377 2014-10-31 Torvald Riegel <triegel@redhat.com>
14379 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14380 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14381 ... add here and use lwsync or sync ...
14382 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14383 ... and add here using lwsync.
14385 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14387 * elf/dl-machine-reject-phdr.h: New file.
14388 * elf/dl-load.c: #include that.
14389 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14390 if that returned true.
14392 2014-10-31 Roland McGrath <roland@hack.frob.com>
14395 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14396 gen-as-const-headers chunk. Add a big scare comment after the last
14397 safe place to touch before-compile.
14399 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14401 * manual/install.texi (Tools for Compilation): Update autoconf
14402 version requirements.
14403 * INSTALL: Regenerated.
14405 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14406 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14407 (__libc_pselect): Likewise.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14415 2014-10-31 Torvald Riegel <triegel@redhat.com>
14417 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14418 correct barrier instruction.
14419 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14421 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14424 2014-10-30 Roland McGrath <roland@hack.frob.com>
14426 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14427 after defining inlines. Instead, just use parens to defeat macro
14428 expansion of __isctype in its declaration.
14430 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14432 * include/sys/uio.h (__libc_readv): Remove declaration.
14433 (__libc_writev): Likewise.
14434 * misc/readv.c (__libc_readv): Rename to __readv.
14435 (__readv): Do not define as alias.
14436 (readv): Define as alias of __readv.
14437 * misc/writev.c (__libc_writev): Rename to __writev.
14438 (__writev): Do not define as alias.
14439 (writev): Define as alias of __writev.
14440 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14441 (__readv): Do not define as alias.
14442 (readv): Define unconditionally as alias of __readv.
14443 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14444 (__writev): Do not define as alias.
14445 (writev): Define unconditionally as alias of __writev.
14446 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14448 (writev): Do not define __libc_writev name.
14450 2014-10-30 Roland McGrath <roland@hack.frob.com>
14452 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14453 (convert_charseq): New function, broken out of ...
14454 (use_from_charmap): ... here. Call it.
14455 (use_to_charmap): Use convert_charseq and free instead of duplicating
14456 its code with a variable-length stack struct.
14458 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14460 * include/fcntl.h (__libc_creat): Remove declaration.
14461 * io/creat.c (__libc_creat): Rename to creat.
14462 (creat): Do not define as alias.
14463 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14464 of creat instead of __libc_creat.
14465 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14467 (creat): Do not define as alias.
14468 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14470 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14475 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14477 * manual/llio.texi: Add comments discussing why write() may be
14478 considered MT-unsafe on Linux.
14480 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14482 * dl-load.c (local_strdup): Remove.
14483 (expand_dynamic_string_token): Use __strdup.
14484 (decompose_rpath): Likewise.
14485 (_dl_map_object): Likewise.
14487 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14490 * sysdeps/generic/unwind-dw2-fde.c
14491 (__register_frame_info_bases_internal): Do not declare.
14492 (__register_frame_info_table_bases_internal): Likewise.
14493 (__deregister_frame_info_bases_internal): Likewise.
14494 (__register_frame_info_bases): Declare and use hidden_proto before
14495 definition. Use hidden_def instead of INTDEF.
14496 (__register_frame_info_table_bases): Likewise.
14497 (__deregister_frame_info_bases): Likewise.
14498 (__register_frame_info): Do not use INTUSE.
14499 (__register_frame): Likewise.
14500 (__register_frame_info_table): Likewise.
14501 (__register_frame_table): Likewise.
14502 (__deregister_frame_info): Likewise.
14503 (__deregister_frame): Likewise.
14505 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14508 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14510 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14512 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14515 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14518 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14519 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14520 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14521 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14522 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14523 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14524 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14525 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14526 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14527 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14528 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14529 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14530 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14532 (setfsuid): Likewise.
14533 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14534 (setfsuid): Likewise.
14535 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14536 (setfsuid): Likewise.
14537 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14539 (setfsuid): Likewise.
14540 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14541 (setfsuid): Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14544 (setfsuid): Likewise.
14546 2014-10-27 Andreas Schwab <schwab@suse.de>
14549 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14550 check for Slow_SSE4_2 feature bit.
14551 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14552 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14553 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14554 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14556 2014-10-24 Roland McGrath <roland@hack.frob.com>
14558 * configure.ac: Validate compiler version with a empirical test of
14559 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14561 * configure: Regenerated.
14563 * inet/htons.c (htons): Prototypify.
14564 * inet/htonl.c (htonl): Likewise.
14566 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14568 * string/strncat.c (strncat): Improve performance by using strlen.
14570 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14572 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14574 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14576 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14577 Call libc_fetestexcept_aarch64.
14579 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14581 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14582 Call libc_feholdexcept_aarch64.
14584 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14586 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14587 Call get_rounding_mode.
14589 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14591 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14594 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14596 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14599 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14602 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14603 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14604 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14605 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14606 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14607 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14608 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14609 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14610 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14611 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14612 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14613 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14614 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14615 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14616 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14617 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14618 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14620 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14621 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14622 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14623 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14624 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14625 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14626 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14627 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14628 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14629 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14630 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14631 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14632 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14633 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14634 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14635 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14636 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14637 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14638 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14640 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14641 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14642 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14644 (geteuid): Likewise.
14645 (getgid): Likewise.
14646 (getuid): Likewise.
14647 (getresgid): Likewise.
14648 (getresuid): Likewise.
14649 (getgroups): Likewise.
14650 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14651 (geteuid): Likewise.
14652 (getgid): Likewise.
14653 (getuid): Likewise.
14654 (getresgid): Likewise.
14655 (getresuid): Likewise.
14656 (getgroups): Likewise.
14657 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14658 (geteuid): Likewise.
14659 (getgid): Likewise.
14660 (getuid): Likewise.
14661 (getresgid): Likewise.
14662 (getresuid): Likewise.
14663 (getgroups): Likewise.
14664 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14666 (geteuid): Likewise.
14667 (getgid): Likewise.
14668 (getuid): Likewise.
14669 (getresgid): Likewise.
14670 (getresuid): Likewise.
14671 (getgroups): Likewise.
14672 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14673 (geteuid): Likewise.
14674 (getgid): Likewise.
14675 (getuid): Likewise.
14676 (getresgid): Likewise.
14677 (getresuid): Likewise.
14678 (getgroups): Likewise.
14679 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14681 (geteuid): Likewise.
14682 (getgid): Likewise.
14683 (getuid): Likewise.
14684 (getgroups): Likewise.
14687 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14688 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14689 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14690 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14691 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14692 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14693 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14694 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14695 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14696 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14697 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14698 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14699 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14701 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14702 (lchown): Likewise.
14703 (fchown): Likewise.
14704 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14706 (lchown): Likewise.
14707 (fchown): Likewise.
14708 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14709 (lchown): Likewise.
14710 (fchown): Likewise.
14711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14713 (lchown): Likewise.
14714 (fchown): Likewise.
14716 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14718 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14721 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14723 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14726 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14728 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14729 Remove unused include.
14731 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14733 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14734 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14735 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14736 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14738 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14739 Helge Deller <deller@gmx.de>
14742 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14743 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14744 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14746 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14749 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14750 Remove macro definition.
14751 (__ashrdi3_v_glibc20): Likewise.
14752 (__lshrdi3_v_glibc20): Likewise.
14753 (__cmpdi2_v_glibc20): Likewise.
14754 (__ucmpdi2_v_glibc20): Likewise.
14755 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14756 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14757 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14758 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14759 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14760 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14762 2014-10-22 Roland McGrath <roland@hack.frob.com>
14764 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14765 old GNU extension [0] syntax.
14766 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14767 alloca rather than an array member with variable length.
14768 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14769 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14770 (parse_opt): ... here. Likewise use alloca there.
14771 Validate the -i argument before checking for rootness.
14772 (send_shutdown): New function, broken out of ...
14773 (parse_opt): ... here.
14775 2014-10-22 Roland McGrath <roland@hack.frob.com>
14777 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14778 macro to get at the _rt_local_ro field.
14779 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14780 ([PIC] case) or _dl_hwcap ([!PIC] case).
14781 * sysdeps/arm/setjmp.S: Likewise.
14783 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14784 * sysdeps/arm/configure.ac: New check to define it.
14785 * sysdeps/arm/configure: Regenerated.
14786 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14787 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14788 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14789 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14790 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14791 Use move/movt pair instead of a load.
14792 (LDST_GLOBAL): Macro removed.
14793 (LDR_GLOBAL): New macro replaces it.
14794 (LDR_HIDDEN): New macro.
14795 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14796 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14798 * setjmp/tst-setjmp-static.c: New file.
14799 * setjmp/Makefile (tests): Add it.
14800 (tests-static): New variable.
14802 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14805 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14807 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14810 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14812 2014-10-21 Roland McGrath <roland@hack.frob.com>
14814 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14816 2014-10-20 Roland McGrath <roland@hack.frob.com>
14818 * io/fts.c (dirent_not_directory): New function.
14819 (fts_build): Call it.
14821 2014-10-20 Roland McGrath <roland@hack.frob.com>
14823 * nptl/version.c (__nptl_main): Use normal __write rather than
14825 (banner): Update copyright years.
14827 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14829 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14830 * nptl/pthread_cond_timedwait.c: Likewise.
14831 * nptl/pthread_mutex_timedlock.c: Likewise.
14832 * nptl/sem_timedwait.c: Likewise.
14834 * sysdeps/nptl/bits/libc-lock.h
14835 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14836 (__libc_lock_init_recursive): Return void, not 0.
14837 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14838 (__libc_rwlock_init): Likewise.
14839 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14841 2014-10-20 Torvald Riegel <triegel@redhat.com>
14844 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14845 (__pthread_once_slow): ... here.
14846 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14847 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14849 2014-10-20 Torvald Riegel <triegel@redhat.com>
14852 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14853 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14854 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14855 * nptl/pthread_once.c (__pthread_once): Likewise.
14858 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14861 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14863 (writev): Use __libc_writev as strong name.
14864 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14865 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14867 2014-10-17 Roland McGrath <roland@hack.frob.com>
14869 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14871 * sysdeps/i386/nptl/tls.h
14872 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14873 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14875 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14876 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14877 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14878 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14879 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14880 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14882 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14883 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14885 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14887 (__pthread_mutex_init): ... here. Call it.
14888 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14889 Conditionalize PI cases on [__NR_futex].
14890 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14891 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14892 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14894 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14895 conditional on [SIGSETXID].
14896 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14897 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14898 is defined. Likewise for SIGSETXID.
14899 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14900 Conditionalize definitions on [SIGSETXID].
14901 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14902 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14903 unblocking on [SIGCANCEL].
14905 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14906 [__NR_set_robust_list].
14908 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14910 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14911 (do_compare): Likewise.
14913 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14916 * string/strcoll_l.c: Don't include stdio.h.
14917 (coll_seq): Remove members idxarr and rulearr.
14918 (get_next_seq_cached): Remove function.
14919 (get_next_seq): Likewise.
14920 (get_next_seq_nocache): Rename to get_next_seq.
14921 (do_compare): Remove function.
14922 (do_compare_nocache): Rename to do_compare.
14923 (STRCOLL): Remove weight and rules cache.
14925 2014-10-16 Roland McGrath <roland@hack.frob.com>
14927 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14928 * sysdeps/arm/sfp-machine.h: ... to here.
14929 * sysdeps/arm/Implies: Remove arm/soft-fp.
14931 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14933 * conform/data/sys/utsname.h-data (*_t): Allow.
14934 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14935 [POSIX] (WEXITED): Do not expect constant.
14936 [POSIX] (WSTOPPED): Likewise.
14937 [POSIX] (WNOHANG): Likewise.
14938 [POSIX] (WNOWAIT): Likewise.
14939 [POSIX] (siginfo_t): Do not expect type or elements.
14940 [POSIX] (pid_t): Do not expect type.
14941 [POSIX] (signal.h): Do not allow header.
14942 [POSIX] (sys/resource.h): Likewise.
14943 [POSIX] (si_*): Do not allow pattern.
14944 [POSIX] (W*): Likewise.
14945 [POSIX] (P_*): Likewise.
14946 [POSIX] (BUS_*): Likewise.
14947 [POSIX] (CLD_*): Likewise.
14948 [POSIX] (FPE_*): Likewise.
14949 [POSIX] (ILL_*): Likewise.
14950 [POSIX] (POLL_*): Likewise.
14951 [POSIX] (SEGV_*): Likewise.
14952 [POSIX] (SI_*): Likewise.
14953 [POSIX] (TRAP_*): Likewise.
14954 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14957 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14961 infinite loop when __recvmsg returns 0.
14963 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14965 * CANCEL-FCT-WAIVE: Remove file.
14966 * CANCEL-FILE-WAIVE: Likewise.
14969 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14970 instead of INTVARDEF.
14971 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14972 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14973 rtld_hidden_data_def instead of INTVARDEF.
14974 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14975 * elf/dl-deps.c (expand_dst): Likewise.
14976 * elf/dl-load.c (_dl_dst_count): Likewise.
14977 (_dl_dst_substitute): Likewise.
14978 (decompose_rpath): Likewise.
14979 (_dl_init_paths): Likewise.
14980 (open_path): Likewise.
14981 (_dl_map_object): Likewise.
14982 * elf/rtld.c (dl_main): Likewise.
14983 (process_dl_audit): Likewise.
14984 (process_envvars): Likewise.
14985 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14986 Remove declaration.
14987 (__libc_enable_secure): Use rtld_hidden_proto.
14989 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14992 (add_path): New function broken out of _dl_rtld_di_serinfo.
14993 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14995 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14997 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14998 parentheses around macro arguments.
14999 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15000 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15001 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15002 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15003 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15004 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15005 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15006 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15007 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15009 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15010 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15011 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15012 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15013 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15014 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15015 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15016 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15017 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15019 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15020 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15021 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15022 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15023 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15024 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15027 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15028 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15029 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15030 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15031 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15032 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15033 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15034 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15036 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15037 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15038 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15039 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15040 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15041 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15042 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15043 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15044 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15045 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15046 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15047 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15048 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15051 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15052 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15054 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15055 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15056 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15057 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15058 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15059 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15060 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15061 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15062 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15063 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15064 (_FP_FRAC_SRS_1): Likewise.
15065 (_FP_FRAC_CLZ_1): Likewise.
15066 (_FP_MUL_MEAT_1_imm): Likewise.
15067 (_FP_MUL_MEAT_1_wide): Likewise.
15068 (_FP_MUL_MEAT_1_hard): Likewise.
15069 (_FP_SQRT_MEAT_1): Likewise.
15070 (_FP_FRAC_ASSEMBLE_1): Likewise.
15071 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15072 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15073 (__FP_CLZ_2): Likewise.
15074 (_FP_MUL_MEAT_2_wide): Likewise.
15075 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15076 (_FP_MUL_MEAT_2_gmp): Likewise.
15077 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15078 (_FP_SQRT_MEAT_2): Likewise.
15079 (_FP_FRAC_ASSEMBLE_2): Likewise.
15080 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15081 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15082 (_FP_FRAC_CLZ_4): Likewise.
15083 (_FP_MUL_MEAT_4_wide): Likewise.
15084 (_FP_MUL_MEAT_4_gmp): Likewise.
15085 (_FP_SQRT_MEAT_4): Likewise.
15086 (_FP_FRAC_ASSEMBLE_4): Likewise.
15087 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15088 * soft-fp/op-common.h (_FP_CMP): Likewise.
15089 (_FP_CMP_EQ): Likewise.
15090 (_FP_CMP_UNORD): Likewise.
15091 (_FP_TO_INT): Likewise.
15092 (_FP_FROM_INT): Likewise.
15093 [!__FP_CLZ] (__FP_CLZ): Likewise.
15094 (_FP_DIV_HELP_imm): Likewise.
15095 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15097 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15098 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15099 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15100 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15101 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15102 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15103 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15104 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15105 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15106 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15107 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15108 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15109 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15110 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15111 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15112 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15113 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15114 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15115 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15116 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15117 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15118 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15120 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15121 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15122 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15124 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15125 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15126 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15127 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15128 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15129 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15130 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15131 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15132 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15133 (FP_UNPACK_RAW_SP): Likewise.
15134 (FP_PACK_RAW_S): Likewise.
15135 (FP_PACK_RAW_SP): Likewise.
15136 (FP_UNPACK_S): Likewise.
15137 (FP_UNPACK_SP): Likewise.
15138 (FP_UNPACK_SEMIRAW_S): Likewise.
15139 (FP_UNPACK_SEMIRAW_SP): Likewise.
15140 (FP_PACK_S): Likewise.
15141 (FP_PACK_SP): Likewise.
15142 (FP_PACK_SEMIRAW_S): Likewise.
15143 (FP_PACK_SEMIRAW_SP): Likewise.
15144 (_FP_SQRT_MEAT_S): Likewise.
15145 (FP_CMP_S): Likewise.
15146 (FP_CMP_EQ_S): Likewise.
15147 (FP_CMP_UNORD_S): Likewise.
15148 (FP_TO_INT_S): Likewise.
15149 (FP_FROM_INT_S): Likewise.
15151 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15153 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15154 (FP_EX_INVALID_IMZ): Likewise.
15155 (FP_EX_INVALID_IMZ_FMA): Likewise.
15156 (FP_EX_INVALID_ISI): Likewise.
15157 (FP_EX_INVALID_ZDZ): Likewise.
15158 (FP_EX_INVALID_IDI): Likewise.
15159 (FP_EX_INVALID_SQRT): Likewise.
15160 (FP_EX_INVALID_CVI): Likewise.
15161 (FP_EX_INVALID_VC): Likewise.
15162 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15163 "invalid" exceptions.
15164 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15165 (_FP_ADD_INTERNAL): Likewise.
15166 (_FP_MUL): Likewise.
15167 (_FP_FMA): Likewise.
15168 (_FP_DIV): Likewise.
15169 (_FP_CMP_CHECK_NAN): Likewise.
15170 (_FP_SQRT): Likewise.
15171 (_FP_TO_INT): Likewise.
15172 (FP_EXTEND): Likewise.
15174 2014-10-09 Allan McRae <allan@archlinux.org>
15176 * po/fr.po: Update French translation from translation project.
15178 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15181 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15183 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15184 (__cxa_atexit): Use libc_hidden_proto.
15185 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15188 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15190 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15191 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15192 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15193 [!_ISOMAC] (__iswctype_internal): Likewise.
15194 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15195 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15197 (fcntl): Remove __fcntl_internal alias.
15198 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15199 __connect_internal alias.
15200 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15203 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15204 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15206 (_FP_CHECK_FLUSH_ZERO): New macro.
15207 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15208 (_FP_CMP): Likewise.
15209 (_FP_CMP_EQ): Likewise.
15210 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15212 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15213 (FP_TRUNC): Likewise.
15215 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15216 treated as invalid conversion, not as normal exponent.
15218 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15219 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15220 (_FP_CMP_EQ): Likewise.
15221 (_FP_CMP_UNORD): Likewise.
15222 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15223 (FP_CMP_EQ_D): Likewise.
15224 (FP_CMP_UNORD_D): Likewise.
15225 * soft-fp/extended.h (FP_CMP_E): Likewise.
15226 (FP_CMP_EQ_E): Likewise.
15227 (FP_CMP_UNORD_E): Likewise.
15228 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15229 (FP_CMP_EQ_Q): Likewise.
15230 (FP_CMP_UNORD_Q): Likewise.
15231 * soft-fp/single.h (FP_CMP_S): Likewise.
15232 (FP_CMP_EQ_S): Likewise.
15233 (FP_CMP_UNORD_S): Likewise.
15234 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15235 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15236 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15237 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15238 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15239 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15240 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15241 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15242 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15243 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15244 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15245 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15246 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15248 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15250 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15251 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15253 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15255 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15256 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15257 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15258 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15260 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15262 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15263 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15265 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15267 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15268 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15269 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15270 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15273 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15274 a subnormal result, set the underflow exception if trapping on
15275 underflow is enabled.
15276 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15277 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15278 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15280 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15281 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15282 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15283 * soft-fp/extendxftf2.c (__extendxftf2): Use
15284 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15286 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15287 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15288 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15289 FP_HANDLE_EXCEPTIONS.
15290 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15291 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15292 FP_HANDLE_EXCEPTIONS.
15293 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15294 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15295 FP_HANDLE_EXCEPTIONS.
15296 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15297 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15298 FP_HANDLE_EXCEPTIONS.
15300 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15303 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15304 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15306 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15307 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15309 (__adjtimex): Define using libc_hidden_ver.
15310 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15311 Remove declaration.
15312 (ntp_gettime): Call __adjtimex directly.
15313 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15314 Remove declaration.
15315 (ntp_gettimex): Call __adjtimex directly.
15316 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15317 __adjtimex_internal alias.
15319 2014-10-08 Roland McGrath <roland@hack.frob.com>
15322 * nscd/nscd.c (more_help): Rewrite list of tables collection
15323 using xstrdup and asprintf.
15325 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15327 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15328 Roland McGrath <roland@hack.frob.com>
15330 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15331 (do_lookup_unique): ... local function 'enter' here; update callers.
15333 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15335 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15336 compat_symbol calls on [SHARED].
15337 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15338 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15340 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15341 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15342 (oldsetrlimit): Remove.
15343 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15345 (lchown): New syscall entry.
15346 (oldsetrlimit): Remove.
15347 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15348 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15349 (oldsetrlimit): Remove.
15350 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15353 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15354 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15355 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15356 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15358 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15359 (fchown): Likewise.
15360 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15361 (fchown): Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15365 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15367 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15368 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15369 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15370 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15371 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15373 (__old_sem_post): Likewise.
15375 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15377 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15378 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15379 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15380 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15381 Use INLINE_VSYSCALL macro.
15382 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15383 __vdso_clock_gettime.
15384 * sysdeps/unix/sysv/linux/tile/init-first.c
15385 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15386 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15387 __vdso_clock_gettime.
15389 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15390 to set up frame more cleanly.
15392 * sysdeps/tile/memcmp.c: New file.
15394 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15396 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15397 * sysdeps/tile/tilegx/strcasestr.c: New file.
15398 * sysdeps/tile/tilegx/strnlen.c: New file.
15399 * sysdeps/tile/tilegx/strstr.c: New file.
15401 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15403 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15405 * nptl/tst-setuid3.c: Write errors to stdout.
15407 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15410 (preload): New functions broken out of _dl_map_object_deps.
15411 (_dl_map_object_deps): Remove a nested function. Update call sites.
15413 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15416 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15417 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15419 2014-10-01 Steve Ellcey <sellcey@mips.com>
15421 * sysdeps/mips/strcmp.S: New.
15423 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15426 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15427 (linkat): Likewise.
15428 (mkdirat): Likewise.
15429 (readlinkat): Likewise.
15430 (renameat): Likewise.
15431 (symlinkat): Likewise.
15432 (unlinkat): Likewise.
15433 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15434 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15435 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15436 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15437 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15438 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15439 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15441 2014-09-30 Will Newton <will.newton@linaro.org>
15443 * math/math.h: Define long double math functions if
15444 _LIBC_TEST is defined.
15445 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15447 * localedata/Makefile: Move assignment to tests-special
15448 into an ifdef testing run-built-tests.
15449 * timezone/Makefile: Likewise.
15451 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15453 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15454 with $(BASH) not $(SHELL).
15456 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15457 Matthew LeGendre <legendre1@llnl.gov>
15460 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15463 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15465 * stdio-common/printf_fp.c
15466 (hack_digit): New function, broken out of ...
15467 (__printf_fp): ... local function here. Update call sites.
15468 hack_digit now takes an additional parameter that is a pointer
15469 to a struct of the referenced locals. Those locals moved inside
15470 the struct and references updated.
15472 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15474 * aclocal.m4: Require autoconf 2.69.
15475 * configure: Regenerated.
15476 * sysdeps/aarch64/configure: Likewise.
15477 * sysdeps/alpha/configure: Likewise.
15478 * sysdeps/arm/armv7/configure: Likewise.
15479 * sysdeps/arm/configure: Likewise.
15480 * sysdeps/ia64/configure: Likewise.
15481 * sysdeps/mach/configure: Likewise.
15482 * sysdeps/mips/configure: Likewise.
15483 * sysdeps/s390/configure: Likewise.
15484 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15487 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15489 * sysdeps/ia64/configure.ac: Likewise.
15491 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15494 specify symbol version for ld.so. Do not include entry for
15496 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15497 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15498 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15501 * Makeconfig [$(build-shared) = yes]
15502 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15504 [$(build-shared) = yes && $(soversions.mk-done) = t]
15505 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15506 [$(build-shared) = yes && $(soversions.mk-done) = t]
15507 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15509 [$(build-shared) = yes && $(soversions.mk-done) = t]
15510 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15512 [$(build-shared) = yes && $(soversions.mk-done) = t]
15513 (common-generated): Don't append gnu/lib-names.h and
15514 gnu/lib-names.stmp here.
15515 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15516 (lib-names-h-abi): New variable.
15517 [$(build-shared) = yes && $(soversions.mk-done) = t]
15518 (lib-names-stmp-abi): Likewise.
15519 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15520 abi-variants] (before-compile): Append
15521 $(common-objpfx)$(lib-names-h-abi).
15522 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15523 abi-variants] (common-generated): Append gnu/lib-names.h.
15524 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15525 abi-variants] (install-others-nosubdir): Depend on
15526 $(inst_includedir)/$(lib-names-h-abi).
15527 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15528 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15529 [$(build-shared) = yes && $(soversions.mk-done) = t]
15530 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15531 [$(build-shared) = yes && $(soversions.mk-done) = t]
15532 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15533 [$(build-shared) = yes && $(soversions.mk-done) = t]
15534 (common-generated): Append $(lib-names-h-abi) and
15535 $(lib-names-stmp-abi).
15536 * scripts/lib-names.awk: Do not handle multi being set.
15537 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15539 (abi-lp64_be-ld-soname): Likewise.
15540 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15542 (abi-hard-ld-soname): Likewise.
15543 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15544 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15546 (abi-o32_hard-ld-soname): Likewise.
15547 (abi-o32_soft_2008-ld-soname): Likewise.
15548 (abi-o32_hard_2008-ld-soname): Likewise.
15549 (abi-n32_soft-ld-soname): Likewise.
15550 (abi-n32_hard-ld-soname): Likewise.
15551 (abi-n32_soft_2008-ld-soname): Likewise.
15552 (abi-n32_hard_2008-ld-soname): Likewise.
15553 (abi-n64_soft-ld-soname): Likewise.
15554 (abi-n64_hard-ld-soname): Likewise.
15555 (abi-n64_soft_2008-ld-soname): Likewise.
15556 (abi-n64_hard_2008-ld-soname): Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15559 (abi-64-v2-ld-soname): Likewise.
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15562 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15564 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15566 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15568 (abi-64-ld-soname): Likewise.
15569 (abi-x32-ld-soname): Likewise.
15570 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15572 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15574 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15577 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15578 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15579 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15580 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15581 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15582 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15583 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15584 syscall entry for GLIBC_2.2 symbol version.
15585 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15588 (setrlimit): Likewise.
15589 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15592 2014-09-23 Will Newton <will.newton@linaro.org>
15594 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15595 _LINUX_ARM_SYSDEP_H include guard too.
15596 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15599 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15601 * sysdeps/unix/sysv/linux/eventfd.c:
15602 Make first argument unsigned.
15603 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15604 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15606 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15608 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15609 * socket/sys/socket.h: Likewise
15610 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15612 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15614 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15616 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15618 * time/tst-ftime.c: New test.
15619 * time/Makefile (tests): Add tst-ftime.
15621 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15623 * soft-fp/extended.h: Fix comment formatting.
15624 * soft-fp/op-1.h: Likewise.
15625 * soft-fp/op-2.h: Likewise.
15626 * soft-fp/op-4.h: Likewise.
15627 * soft-fp/op-8.h: Likewise.
15628 * soft-fp/op-common.h: Likewise.
15629 * soft-fp/soft-fp.h: Likewise.
15631 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15633 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15636 * Makeconfig (soversions-default-setname): Remove variable.
15637 ($(common-objpfx)soversions.i): Don't pass default_setname to
15639 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15640 oldest_abi to abi-versions.awk.
15641 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15642 * config.make.in (oldest-abi): Remove variable.
15643 * configure.ac (--enable-oldest-abi): Remove configure option.
15644 * configure: Regenerated.
15645 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15647 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15648 * scripts/soversions.awk: Do not handle default_setname variable.
15649 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15651 * sysdeps/mach/hurd/configure: Regenerated.
15652 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15654 * sysdeps/unix/sysv/linux/configure: Regenerated.
15656 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 * elf/Makefile (CFLAGS-interp.c): Remove.
15659 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15661 * elf/interp.c: Include generated runtime-linker.h
15663 * Makerules (lib%.so): Don't include $(+interp) in
15665 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15666 * dlfcn/eval.c: Remove file.
15668 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15672 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15676 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15678 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15679 Jakub Jelinek <jakub@redhat.com>
15682 * libio/stdio.h: Check definition of __fortify_function
15683 instead of __extern_always_inline to include bits/stdio2.h.
15684 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15685 check if __extern_always_inline is defined.
15686 [__USE_MISC || __USE_XOPEN]: Likewise.
15687 [__USE_ISOC99] Likewise.
15688 * misc/sys/cdefs.h (__fortify_function): Define only if
15689 __extern_always_inline is defined.
15690 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15691 __extern_always_inline and __extern_inline only for g++-4.3
15692 and newer or a compatible gcc.
15694 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15697 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15698 last change to handle zero prefix length.
15700 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15702 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15705 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15706 _POSIX_RAW_SOCKETS.
15708 2014-09-13 Allan McRae <allan@archlinux.org>
15710 * po/ru.po: Update Russian translation from translation project.
15712 2014-09-12 Roland McGrath <roland@hack.frob.com>
15714 * locale/programs/locale.c (show_locale_vars): Inline local function
15715 into its sole call site. Clean up some style nits.
15716 (print_item): New function, broken out of ...
15717 (show_info): ... local function here. Clean up style nits.
15719 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15721 (set_class_defaults): ... local function set_default here.
15722 Define set_default as a macro locally to pass constant parameters.
15723 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15724 rather than a shared local.
15726 * stdlib/rpmatch.c (try): New function, broken out of ...
15727 (rpmatch): ... local function here. Also, prototypify definition.
15729 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15731 * scripts/soversions.awk: Do not handle configuration names.
15732 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15733 vendor and os variables to soversions.awk.
15734 * configure.ac: Do not modify gnu-* host_os.
15735 * configure: Regenerated
15736 * shlib-versions: Remove first column with configuration names.
15737 * nptl/shlib-versions: Likewise.
15738 * nptl_db/shlib-versions: Likewise.
15739 * sysdeps/hppa/shlib-versions: Likewise.
15740 * sysdeps/m68k/shlib-versions: Likewise.
15741 * sysdeps/mach/hurd/shlib-versions: Likewise.
15742 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15743 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15744 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15745 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15746 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15747 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15748 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15749 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15752 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15753 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15754 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15755 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15756 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15757 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15758 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15759 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15762 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15765 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15767 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15769 * shlib-versions: Remove OS-specific entries. Moved to files in
15771 * sysdeps/mach/hurd/shlib-versions: New file.
15772 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15774 * nptl/shlib-versions: Remove architecture-specific entries.
15775 Moved to files in sysdeps.
15776 * shlib-versions: Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15779 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15780 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15781 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15782 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15784 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15785 (UDP_NO_CHECK6_RX): Likewise.
15787 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15789 * sysdeps/posix/sysconf.c (__sysconf): Spell
15790 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15792 2014-08-12 Florian Weimer <fweimer@redhat.com>
15794 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15796 * iconv/Versions (__gconv_transliterate): Export for use from
15798 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15799 (struct __gconv_trans_data, __gconv_trans_fct,
15800 __gconv_trans_context_fct, __gconv_trans_query_fct,
15801 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15803 (struct __gconv_step_data): Remove __trans member.
15804 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15805 longer hidden. Remove unused trans_data argument.
15806 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15807 (__gconv_translit_find): Remove declaration.
15808 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15810 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15811 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15812 trans_data argument. Add hidden definition.
15813 (__gconv_translit_find): Remove.
15814 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15815 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15816 * iconv/skeleton.c: Remove transliteration initialization.
15817 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15818 __gconv_step_data initialization.
15819 * libio/iofwide.c (__libio_translit_): Remove.
15820 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15821 * wcsmbs/btowc.c (__btowc): Likewise.
15822 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15823 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15824 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15825 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15826 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15827 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15828 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15829 * wcsmbs/wctob.c (wctob): Likewise.
15831 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15834 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15835 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15837 * sysdeps/x86/Makefile: Adjust.
15839 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15840 Roland McGrath <roland@hack.frob.com>
15842 * locale/weight.h: Add include guard.
15843 (findidx): Make static rather than auto; take new parameters
15844 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15845 * locale/weightwc.h: Likewise.
15846 * posix/fnmatch_loop.c
15847 (FCT): Change type of EXTRA from int32_t to wint_t.
15848 Don't include either header inside the function.
15849 Call FINDIDX rather than findidx, and pass new arguments.
15850 #undef FINDIDX at the end of the file.
15851 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15852 FINDIDX before including fnmatch_loop.c for the non-wide version.
15853 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15854 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15855 for the wide version.
15856 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15857 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15858 Pass new arguments to findidx.
15859 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15860 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15861 Don't #include it inside the function. Pass new arguments to findidx.
15862 * posix/regex_internal.h
15863 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15864 (re_string_elem_size_at): Don't #include it inside the function.
15865 Pass new arguments to findidx.
15866 * string/strcoll_l.c: #include WEIGHT_H at top level.
15867 (get_next_seq): Don't #include it inside the function.
15868 Pass new arguments to findidx.
15869 (get_next_seq_nocache): Likewise.
15870 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15871 (STRXFRM): Don't #include it inside the function.
15872 Pass new arguments to findidx.
15874 2014-09-11 Florian Weimer <fweimer@redhat.com>
15877 * malloc/malloc.c (unlink): Turn asserts into a call to
15880 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15883 * libio/wfileops (do_ftell_wide): Free OUT.
15885 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15887 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15889 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15892 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15893 group if the current group is empty.
15895 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15897 * benchtests/bench-memset.c (test_main): Add more test from size
15898 from 32 to 512 bytes.
15899 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15900 Add POWER8 memset object.
15901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15902 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15903 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15905 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15907 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15908 multiarch POWER8 memset optimization.
15909 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15910 POWER8 memset optimization.
15912 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15913 Remove bzero multiarch objects.
15914 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15915 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15916 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15917 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15919 [__bzero]: Redefine to specific name.
15920 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15921 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15922 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15924 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15925 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15927 2014-09-10 Florian Weimer <fweimer@redhat.com>
15929 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15930 warnings into errors.
15932 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15933 __cxa_thread_atexit_impl prototype.
15935 2014-09-09 Steve Ellcey <sellcey@mips.com>
15937 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15938 Fix capitalization of error message.
15940 2014-09-09 Steve Ellcey <sellcey@mips.com>
15942 * sysdeps/mips/preconfigure: Modify ABI tests.
15944 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15946 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15948 2014-09-07 Roland McGrath <roland@hack.frob.com>
15949 Carlos O'Donell <carlos@systemhalted.org>
15951 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15952 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15953 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15954 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15955 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15956 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15957 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15958 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15959 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15960 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15961 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15962 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15963 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15964 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15965 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15966 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15967 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15968 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15969 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15970 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15971 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15972 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15973 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15974 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15975 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15976 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15977 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15978 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15979 Deconditionalize the code that was previously under [RESET_PID].
15980 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15981 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15982 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15983 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15986 2014-09-08 Allan McRae <allan@archlinux.org>
15988 * version.h (RELEASE): Set to "development".
15989 (VERSION): Set to "2.20.90"
15991 2014-09-07 Allan McRae <allan@archlinux.org
15993 * version.h (RELEASE): Set to "stable".
15994 (VERSION): Set to "2.20"
15995 * include/features.h (__GLIBC_MINOR__): Set to 20.
15997 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16000 * po/ko.po: Update Korean translation from translation project.
16002 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16005 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16006 macro for handling signed relocations.
16008 2014-09-03 Florian Weimer <fweimer@redhat.com>
16011 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16012 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16014 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16015 * iconvdata/ibm935.c (BODY): Likewise.
16016 * iconvdata/ibm937.c (BODY): Likewise.
16017 * iconvdata/ibm939.c (BODY): Likewise.
16018 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16020 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16022 * iconvdata/run-iconv-test.sh: New test loop for checking for
16025 2014-09-02 Khem Raj <raj.khem@gmail.com>
16027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16030 2014-09-01 Allan McRae <allan@archlinux.org>
16032 * po/eo.po: Update Esperanto translation from translation project.
16034 * po/ca.po: Update Catalan translation from translation project.
16036 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16038 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16039 __proc_dostop call.
16041 2014-08-27 Mark Wielaard <mjw@redhat.com>
16044 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16045 to call set_thread_area instead of hand written asm.
16046 (__NR_set_thread_area): Removed define.
16047 (TLS_FLAG_WRITABLE): Likewise.
16048 (__ASSUME_SET_THREAD_AREA): Remove check.
16049 (TLS_EBX_ARG): Remove define.
16050 (TLS_LOAD_EBX): Likewise.
16052 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16054 Simplify atomicity of socket creation in bind.
16056 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16057 looking up the name after linking the file.
16059 2014-08-27 Allan McRae <allan@archlinux.org>
16061 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16063 2014-08-26 Florian Weimer <fweimer@redhat.com>
16066 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16067 trans_compare, open_translit, __gconv_translit_find):
16068 Remove module loading code.
16070 2014-08-26 Allan McRae <allan@archlinux.org>
16072 * po/vi.po: Update Vietnamese translation from translation project.
16074 * po/uk.po: Update Ukrainian translation from translation project.
16076 * po/fr.po: Update French translation from translation project.
16078 * po/ru.po: Update Russian translation from translation project.
16080 * po/pl.po: Update Polish translation from translation project.
16082 * po/cs.po: Update Czech translation from translation project.
16084 * po/de.po: Update German translation from translation project.
16086 * po/bg.po: Update Bulgarian translation from translation project.
16088 * po/sv.po: Update Sweedish translation from translation project.
16090 * po/nl.po: Update Dutch translation from translation project.
16092 * po/es.po: Update Spanish translation from translation project.
16094 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16096 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16098 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16099 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16100 (CPPFLAGS-iconvconfig): Likewise.
16101 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16103 * include/libc-symbols.h: Remove unnecessary check for
16105 * nptl/pthreadP.h: Likewise.
16106 * sysdeps/aarch64/setjmp.S: Likewise.
16107 * sysdeps/alpha/setjmp.S: Likewise.
16108 * sysdeps/arm/sysdep.h: Likewise.
16109 * sysdeps/i386/setjmp.S: Likewise.
16110 * sysdeps/m68k/setjmp.c: Likewise.
16111 * sysdeps/posix/getcwd.c: Likewise.
16112 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16113 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16114 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16115 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16116 * sysdeps/sh/sh3/setjmp.S: Likewise.
16117 * sysdeps/sh/sh4/setjmp.S: Likewise.
16118 * sysdeps/unix/alpha/sysdep.h: Likewise.
16119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16120 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16121 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16122 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16127 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16130 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16132 * sysdeps/x86_64/setjmp.S: Likewise.
16134 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16137 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16139 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16140 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16142 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16144 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16147 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16148 and __x86_64__ when disabling x87 inline functions.
16150 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16154 asm statement with __cpuid_count.
16156 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16158 * configure.ac: Change __ehdr_start code to dereference the struct.
16159 Run readelf on the output to look for relocations.
16160 * configure: Regenerated.
16162 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16165 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16167 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16169 2014-08-12 Roland McGrath <roland@hack.frob.com>
16171 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16173 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16176 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16177 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16179 2014-08-12 Sean Anderson <seanga2@gmail.com>
16181 * malloc/malloc.c: Fix typo in comment.
16183 2014-08-09 Allan McRae <allan@archlinux.org>
16185 * Regenerate libc.po.
16187 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16189 * intl/tst-gettext2.sh: Check every lang file for creation.
16191 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16193 * sysdeps/aarch64/fpu/math_private.h
16194 (libc_feholdsetround_noex_aarch64_ctx): New function.
16196 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16198 * sysdeps/arm/armv6/strcpy.S (strcpy):
16199 Fix performance issue in misaligned cases.
16201 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16203 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16204 Move definition from termios.h.
16205 (struct termio): Likewise.
16206 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16207 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16208 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16209 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16212 Move definition to ioctl-types.h
16213 (struct termio): Likewise.
16214 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16215 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16216 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16217 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16220 2014-08-05 Richard Henderson <rth@redhat.com>
16222 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16224 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16226 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16227 Use __feraiseexcept.
16228 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16229 Protect libm symbols with IS_IN_libm.
16231 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16233 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16235 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16237 2014-08-04 Will Newton <will.newton@linaro.org>
16239 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16242 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16244 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16245 variants for each function.
16247 2014-08-04 Roland McGrath <roland@hack.frob.com>
16249 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16251 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16252 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16254 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16255 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16256 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16257 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16258 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16259 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16260 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16261 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16262 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16263 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16264 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16265 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16266 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16267 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16268 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16269 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16270 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16271 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16272 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16273 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16274 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16275 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16276 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16277 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16278 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16279 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16280 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16281 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16282 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16283 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16284 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16285 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16286 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16287 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16288 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16289 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16290 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16291 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16292 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16293 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16294 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16295 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16296 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16298 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16299 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16300 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16301 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16302 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16303 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16304 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16305 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16306 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16308 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16309 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16311 2014-08-04 Roland McGrath <roland@hack.frob.com>
16313 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16314 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16315 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16316 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16317 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16318 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16320 2014-08-04 Roland McGrath <roland@hack.frob.com>
16322 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16323 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16324 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16325 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16327 2014-08-04 Roland McGrath <roland@hack.frob.com>
16329 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16330 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16331 (__libc_vfork): Define function under this name.
16332 (__vfork): Define as an alias.
16333 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16334 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16336 2014-08-04 Roland McGrath <roland@hack.frob.com>
16338 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16339 that was previously under [RESET_PID].
16340 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16342 2014-08-04 Andreas Schwab <schwab@suse.de>
16344 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16346 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16348 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16351 2014-08-01 Roland McGrath <roland@hack.frob.com>
16353 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16355 2014-08-01 Richard Henderon <rth@redhat.com>
16357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16358 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16359 typo in exact zero test.
16360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16364 2014-08-01 Roland McGrath <roland@hack.frob.com>
16366 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16367 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16368 * sysdeps/arm/sysdep.h: ... here.
16369 [!__ASSEMBLER__]: Include <stdint.h>.
16371 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16373 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16374 (HAVE_WCTYPE_H): Likewise.
16375 (HAVE_ISWCTYPE): Likewise.
16376 (ENABLE_NLS): Likewise.
16377 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16378 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16380 * posix/regex_internal.c: Check if DEBUG is defined and is
16383 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16384 (HAVE_MBSRTOWCS): Likewise.
16385 * posix/fnmatch.c: Include string.h unconditionally.
16387 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16389 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16392 2014-07-31 Roland McGrath <roland@hack.frob.com>
16394 * sysdeps/generic/safe-fatal.h: New file.
16395 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16396 * nptl/forward.c: Include it.
16397 (__pthread_unwind): Use __safe_fatal as default action, rather
16398 than a bogus use of INTERNAL_SYSCALL that could never work.
16400 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16401 * configure.ac (libc_cv_builtin_trap): New test.
16402 * configure: Regenerated.
16403 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16404 (ABORT_INSTRUCTION): Define using __builtin_trap.
16406 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16407 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16408 * sysdeps/nptl/nptl-signals.h: New file.
16409 * nptl/pthreadP.h: Include <nptl-signals.h>.
16411 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16413 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16414 (ONE_DIRECTION): Define.
16415 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16416 (ONE_DIRECTION): Define.
16417 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16418 (ONE_DIRECTION): Define.
16420 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16422 * sysdeps/s390/Makefile: Delete file.
16423 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16424 * sysdeps/s390/__longjmp.c: Delete file.
16425 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16426 Remove fields __flags and __reserved.
16427 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16428 and add versioning.
16429 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16430 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16431 * sysdeps/s390/rtld-setjmp.S: Likewise.
16432 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16433 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16434 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16435 * sysdeps/s390/s390-32/setjmp.S: ... here.
16437 (__sigsetjmp): Remove setting __flags field.
16438 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16439 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16440 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16441 * sysdeps/s390/s390-64/setjmp.S: ... here.
16443 (__sigsetjmp): Remove setting __flags field.
16444 * sysdeps/s390/setjmp.S: Delete file.
16445 * sysdeps/s390/sigjmp.c: Likewise.
16446 * sysdeps/s390/v1-longjmp.c: Likewise.
16447 * sysdeps/s390/v1-setjmp.h: Likewise.
16448 * sysdeps/s390/v1-sigjmp.c: Likewise.
16449 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16450 Remove v1-longjmp_chk.
16451 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16452 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16453 Include debug/longjmp_chk.c and add versioning.
16454 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16455 Include nptl/pt-longjmp.c and add versioning.
16456 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16457 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16458 Include __longjmp.c.
16459 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16461 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16462 (__getcontext): Remove setting __flags field.
16464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16465 Don't restore upper high grps.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16468 (__swapcontext): Remove setting uc_flags field.
16469 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16471 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16472 Include __longjmp.c.
16473 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16475 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16476 (__getcontext): Remove setting __flags field.
16478 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16479 (__swapcontext): Remove setting uc_flags field.
16480 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16482 Remove fields uc_high_gprs and __reserved.
16483 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16484 New file with reverted content.
16485 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16486 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16491 2014-07-31 Andreas Schwab <schwab@suse.de>
16493 * config.h.in (HAVE_IFUNC): Define to 0.
16494 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16497 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16500 memmove-avx-unaligned, memcpy-avx-unaligned and
16501 mempcpy-avx-unaligned.
16502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16503 Add tests for AVX memcpy functions.
16504 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16505 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16507 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16508 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16510 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16511 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16513 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16514 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16515 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16517 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16520 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16523 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16526 * manual/llio.texi: Add section about open file description locks.
16527 * manual/examples/ofdlocks.c: Example of open file description
16529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16530 F_OFD_SETLK, and F_OFD_SETLKW.
16532 2014-07-23 Allan McRae <allan@archlinux.org>
16534 * po/es.po: Update Spanish translation from translation project.
16536 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16538 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16540 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16543 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16544 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16545 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16547 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16550 * math/fesetenv.c (__fesetenv)
16551 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16552 * math/feupdateenv.c (__feupdateenv)
16553 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16555 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16556 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16557 (__ASSUME_SOCKETCALL): Do not define.
16559 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16560 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16561 (__ASSUME_SOCKETCALL): Do not define.
16562 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16563 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16564 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16565 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16566 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16567 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16568 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16569 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16571 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16572 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16573 (__ASSUME_SOCKETCALL): Do not define.
16574 (__ASSUME_IPC64): Define unconditionally.
16575 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16576 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16577 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16578 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16579 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16580 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16581 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16584 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16585 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16586 (__ASSUME_SOCKETCALL): Do not define.
16587 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16588 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16589 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16590 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16591 (__ASSUME_REQUEUE_PI): Define unconditionally.
16592 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16593 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16594 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16595 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16596 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16597 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16599 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16600 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16601 (__ASSUME_SOCKETCALL): Do not define.
16602 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16603 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16604 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16605 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16606 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16607 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16609 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16610 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16611 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16612 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16613 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16614 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16615 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16616 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16617 (__ASSUME_GETCPU_SYSCALL): Likewise.
16619 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16620 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16621 cases for individual architectures.
16622 * sysdeps/gnu/configure: Regenerated.
16623 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16624 LIBC_SLIBDIR_RTLDDIR.
16625 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16626 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16627 LIBC_SLIBDIR_RTLDDIR.
16628 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16630 LIBC_SLIBDIR_RTLDDIR.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16633 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16634 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16636 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16637 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16639 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16640 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16641 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16642 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16644 * sysdeps/aarch64/shlib-versions: Move to ...
16645 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16646 * sysdeps/alpha/shlib-versions: Move to ...
16647 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16648 * sysdeps/arm/shlib-versions: Move to ...
16649 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16650 * sysdeps/hppa/shlib-versions: Move all contents except for
16651 libgcc_s entry to ...
16652 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16654 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16655 * sysdeps/ia64/shlib-versions: Move to ...
16656 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16658 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16659 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16660 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16661 * sysdeps/microblaze/shlib-versions: Move to ...
16662 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16663 * sysdeps/mips/shlib-versions: Move to ...
16664 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16666 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16667 * sysdeps/tile/shlib-versions: Move to ...
16668 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16669 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16671 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16672 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16674 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16676 2014-07-17 Will Newton <will.newton@linaro.org>
16678 * sysdeps/arm/bits/atomic.h
16679 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16680 (__arch_compare_and_exchange_bool_16_int): Likewise.
16681 (__arch_compare_and_exchange_bool_64_int): Likewise.
16683 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16684 into an #else block.
16686 2014-07-16 Roland McGrath <roland@hack.frob.com>
16688 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16689 just Linux configurations. Test empirically that the compiler sets
16690 __ARM_EABI__, rather than using the tuple to decide.
16691 * sysdeps/arm/preconfigure: Regenerated.
16692 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16693 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16694 contents appended ...
16695 * sysdeps/arm/configure.ac: ... here.
16696 * sysdeps/arm/configure: Regenerated.
16698 2014-07-15 Roland McGrath <roland@hack.frob.com>
16700 * nptl/pthread_kill.c: New file.
16701 * nptl/pthread_sigmask.c: New file.
16702 * nptl/pthread_sigqueue.c: New file.
16704 * sysdeps/nptl/lowlevellock.h: New file.
16705 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16706 * sysdeps/nptl/lowlevellock-futex.h: New file.
16708 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16709 Remove dead declarations.
16711 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16713 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16714 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16715 config-cflags-avx2.
16716 * sysdeps/x86_64/configure.ac: Likewise.
16717 * sysdeps/i386/configure: Regenerated.
16718 * sysdeps/x86_64/configure: Likewise.
16719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16720 memset-avx2 only if config-cflags-avx2 is yes.
16721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16722 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16724 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16725 only if HAVE_AVX2_SUPPORT is defined.
16726 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16728 2014-07-14 Alan Modra <amodra@gmail.com>
16731 * elf/elf.h (DT_PPC64_NUM): Correct value.
16732 * NEWS: Add to fixed bug list.
16734 2014-07-13 Jim Meyering <meyering@fb.com>
16737 regex: don't deref NULL upon heap allocation failure
16738 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16739 failure in one more place.
16740 To trigger the segfault, configure grep -with-included-regex,
16741 build it, and run these commands:
16742 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16744 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16746 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16748 2014-07-11 Richard Henderson <rth@redhat.com>
16750 * sysdeps/aarch64/libm-test-ulps: Update.
16752 2014-07-10 Florian Weimer <fweimer@redhat.com>
16755 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16756 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16757 (__nptl_setxid): Initialize error member. Call
16758 __nptl_setxid_error.
16759 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16760 * nptl/descr.h (struct xid_command): Add error member.
16761 * nptl/tst-setuid3.c: New file.
16762 * nptl/Makefile (tests): Add it.
16764 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16766 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16768 (__lll_trylock): Use __lll_base_trylock.
16769 (__lll_cond_trylock): Likewise.
16771 2014-07-10 Roland McGrath <roland@hack.frob.com>
16773 * nptl/pthread_create.c (start_thread): Use atomic_or and
16774 lll_futex_wake directly rather than lll_robust_dead.
16775 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16776 (lll_robust_dead): Macro removed.
16777 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16778 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16779 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16780 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16781 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16782 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16783 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16784 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16785 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16786 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16787 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16788 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16789 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16790 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16791 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16793 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16794 Use atomic_compare_and_exchange_val_acq directly rather than
16795 lll_robust_trylock.
16796 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16797 (__lll_robust_trylock, lll_robust_trylock): Removed.
16798 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16799 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16800 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16801 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16802 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16803 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16804 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16805 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16806 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16807 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16808 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16809 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16810 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16811 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16813 2014-07-02 Florian Weimer <fweimer@redhat.com>
16815 * manual/locale.texi (Locale Names): New section documenting
16816 locale name syntax. Adjust menu and node chaining accordingly.
16817 (Choosing Locale): Reference Locale Names, Locale Categories.
16818 Mention setting LC_ALL=C. Reflect that name syntax is now
16820 (Locale Categories): New section title. Reference Locale Names.
16821 LC_ALL is an environment variable, but not a category.
16822 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16823 description, now in Locale Name. Reference that section. Locale
16824 name syntax is now documented.
16826 2014-07-02 Florian Weimer <fweimer@redhat.com>
16829 * locale/findlocale.c (name_present, valid_locale_name): New
16831 (_nl_find_locale): Use the loc_name variable to store name
16832 candidates. Call name_present and valid_locale_name to check and
16833 validate locale names. Return an error if the locale is invalid.
16835 2014-07-02 Florian Weimer <fweimer@redhat.com>
16837 * locale/setlocale.c (setlocale): Use strdup for allocating
16838 composite name copy.
16840 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16842 Sync up with gnulib.
16843 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16844 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16845 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16846 and _GL_ARG_NONNULL.
16847 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16848 [!_LIBC]: Include code for Windows and Cygwin.
16849 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16850 Include prototype for int strerror_r.
16851 [!_LIBC] (is_open): New function.
16852 (flush_stdout): New function.
16853 (print_errno_message): Use it.
16855 (error_at_line): Likewise.
16856 (error_tail) Add function attribute macros. Use
16859 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16861 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16863 * io/ftw.c: Include sys/param.h unconditionally.
16865 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16868 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16870 (freecache): New function to free CACHE on exit.
16872 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16875 2014-07-09 David S. Miller <davem@davemloft.net>
16877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16879 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16880 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16881 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16882 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16883 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16884 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16885 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16886 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16887 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16888 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16889 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16890 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16891 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16893 2014-07-09 Andreas Schwab <schwab@suse.de>
16895 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16897 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16898 (do_test): Likewise.
16900 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16902 2014-07-09 Will Newton <will.newton@linaro.org>
16904 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16905 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16906 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16907 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16908 * sysdeps/hppa/start.S (_start): Likewise.
16910 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16912 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16914 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16917 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16919 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16920 after checking that it is non-NULL.
16922 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16924 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16926 * sysdeps/powerpc/memmove.c: Remove file.
16927 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16928 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16929 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16930 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16931 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16932 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16933 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16934 string memmove instead of removed powerpc one.
16936 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16937 [weak_alias]: Fix compiler warning due trailing data.
16938 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16939 [weak_alias]: Likewise.
16940 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16941 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16944 (__libc_ifunc_impl_list): Add memmove functions.
16946 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16950 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16952 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16954 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16956 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16958 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16960 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16962 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16964 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16966 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16968 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16970 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16972 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16974 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16976 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16978 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16980 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16983 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16985 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16986 to avoid alignment traps in non-cacheable memory.
16987 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16991 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16992 file: multiarch power7 memmove.
16993 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16994 multiarch default memmove.
16995 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16996 multiarch memove for powerpc32/power4.
16998 * string/bcopy.c: Use full path to include memmove.c.
16999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17001 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17002 bcopy for powerpc64.
17003 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17004 bcopy for powerpc64.
17005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17006 and memmove implementations.
17007 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17008 optimized multiarch memmove for POWER7/powerpc64.
17009 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17010 default multiarch memmove for powerpc64.
17011 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17012 multiarch for powerpc64.
17013 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17014 for POWER7/powerpc64.
17015 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17016 memmove for POWER7/powerpc64.
17018 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17021 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17022 __ELF_NATIVE_CLASS equal to 64.
17024 2014-07-07 Roland McGrath <roland@hack.frob.com>
17026 * sysdeps/nptl/lowlevellock.h: File removed.
17028 * NEWS: NPTL is no longer an add-on!
17029 * nptl/internaltypes.h: Moved ...
17030 * sysdeps/nptl/internaltypes.h: ... here.
17031 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17032 * sysdeps/nptl/fork.c: Likewise.
17033 * sysdeps/nptl/gai_misc.h: Likewise.
17034 * sysdeps/nptl/librt-cancellation.c: Likewise.
17035 * sysdeps/nptl/jmp-unwind.c: Likewise.
17036 * sysdeps/nptl/setxid.h: Likewise.
17037 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17038 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17039 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17040 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17041 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17042 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17043 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17044 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17045 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17046 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17047 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17048 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17049 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17050 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17051 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17052 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17053 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17054 * nptl/Makeconfig: Moved ...
17055 * sysdeps/nptl/Makeconfig: ... here.
17056 * nptl/configure: File removed.
17057 * nptl/ANNOUNCE: File removed.
17058 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17059 * sysdeps/unix/sysv/linux/configure: Regenerated.
17061 * nptl/Makefile (routines): Add libc_pthread_init,
17062 libc_multiple_threads, register-atfork and unregister-atfork.
17063 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17064 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17065 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17066 pthread-pi-defines.sym, structsem.sym.
17067 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17068 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17069 [$(subdir) = nptl] (tests): Add tst-setgetname.
17070 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17071 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17072 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17073 [!LIBC_SIGACTION]: Remove aliases.
17074 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17075 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17076 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17077 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17078 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17079 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17080 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17081 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17082 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17083 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17084 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17085 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17086 __libc_allocate_rtsig_private.
17087 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17088 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17089 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17090 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17091 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17092 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17093 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17094 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17095 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17096 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17097 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17098 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17099 * nptl/internaltypes.h: ... here.
17100 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17101 * sysdeps/nptl/jmp-unwind.c: ... here.
17102 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17103 * nptl/libc-lowlevellock.c: ... here.
17104 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17105 * nptl/libc_multiple_threads.c: ... here.
17106 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17107 * nptl/libc_pthread_init.c: ... here.
17108 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17109 * nptl/lowlevelbarrier.sym: ... here.
17110 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17111 * nptl/lowlevelcond.sym: ... here.
17112 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17113 * nptl/lowlevellock.c: ... here.
17114 * nptl/lowlevellock.h: Moved ...
17115 * sysdeps/nptl/lowlevellock.h: ... here.
17116 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17117 * nptl/lowlevelrobustlock.c: ... here.
17118 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17119 * nptl/lowlevelrobustlock.sym: ... here.
17120 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17121 * nptl/lowlevelrwlock.sym: ... here.
17122 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17123 * nptl/pt-fork.c: ... here.
17124 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17125 * nptl/pthread-pi-defines.sym: ... here.
17126 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17127 * nptl/pthread_attr_getaffinity.c: ... here.
17128 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17129 * nptl/pthread_attr_setaffinity.c: ... here.
17130 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17131 * nptl/pthread_mutex_cond_lock.c: ... here.
17132 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17134 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17135 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17136 * nptl/pthread_once.c: ... here, replacing old file.
17137 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17138 * nptl/pthread_yield.c: ... here.
17139 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17140 * nptl/register-atfork.c: ... here.
17141 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17142 * nptl/sem_post.c: ... here.
17143 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17144 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17145 * nptl/sem_timedwait.c: ... here.
17146 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17147 * nptl/sem_trywait.c: ... here.
17148 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17149 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17150 * nptl/sem_wait.c: ... here.
17151 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17152 * nptl/structsem.sym: ... here.
17153 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17154 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17155 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17156 * nptl/unregister-atfork.c: ... here.
17157 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17158 * nptl/unwindbuf.sym: ... here.
17159 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17160 * sysdeps/nptl/fork.c: ... here.
17161 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17162 * sysdeps/nptl/fork.h: ... here.
17163 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17164 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17165 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17166 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17167 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17168 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17169 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17170 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17171 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17172 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17173 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17174 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17175 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17176 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17177 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17178 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17179 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17180 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17181 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17182 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17183 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17184 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17185 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17186 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17187 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17188 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17189 * sysdeps/unix/sysv/linux/raise.c: ... here.
17190 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17191 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17192 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17193 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17194 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17195 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17196 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17197 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17198 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17199 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17200 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17201 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17202 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17203 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17204 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17206 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17208 * sysdeps/generic/memcopy.h: Add comment for
17209 MEMCPY_OK_FOR_FWD_MEMMOVE.
17211 2014-07-04 Will Newton <will.newton@linaro.org>
17213 * string/memchr.c: Merge from gnulib.
17214 [_LIBC]: Remove conditionals.
17215 (__ptr_t): Remove define.
17216 (LONG_MAX_32_BITS): Likewise.
17217 (LONG_MAX): Likewise.
17218 (MEMCHR): Use ANSI prototype and optimize algorithm.
17220 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17222 2014-07-03 Roland McGrath <roland@hack.frob.com>
17224 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17225 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17227 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17228 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17229 in a bare environment with no <stdlib.h> installed.
17230 * sysdeps/nptl/configure: Regenerated.
17232 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17234 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17235 AC_EGREP_CPP for kernel header checks, so they only succeed if
17236 including <linux/version.h> actually works right.
17237 * sysdeps/unix/sysv/linux/configure: Regenerated.
17239 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17240 value so it's not diagnosed as unused.
17242 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17243 thing) with "ifeq ($(subdir),rt)".
17245 2014-07-03 Richard Henderson <rth@redhat.com>
17247 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17248 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17249 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17251 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17252 (math_force_eval): New.
17254 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17255 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17257 * sysdeps/alpha/fpu/s_round.c: Remove file.
17258 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17260 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17261 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17262 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17263 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17264 (_dl_start, print_statistics): Likewise.
17265 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17266 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17268 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17269 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17270 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17271 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17272 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17273 (HP_SMALL_TIMING_AVAIL): Define.
17274 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17275 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17276 (HP_SMALL_TIMING_AVAIL): Define.
17277 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17278 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17280 * sysdeps/aarch64/hp-timing.h: New file.
17282 * sysdeps/generic/hp-timing.h: Remove dead comment.
17283 * sysdeps/generic/hp-timing-common.h: New file.
17284 * sysdeps/alpha/hp-timing.h: Include it.
17285 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17286 * sysdeps/i386/i686/hp-timing.h: Likewise.
17287 * sysdeps/ia64/hp-timing.h: Likewise.
17288 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17289 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17290 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17291 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17292 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17293 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17294 (hp_timing_t): New.
17296 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17297 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17298 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17299 * elf/rtld.c (_dl_start_final): Likewise.
17300 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17301 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17302 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17303 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17304 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17305 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17306 (HP_TIMING_DIFF_INIT): Remove.
17307 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17308 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17309 (HP_TIMING_DIFF_INIT): Remove.
17310 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17311 * sysdeps/i386/i686/hp-timing.c: Remove file.
17312 * sysdeps/x86_64/hp-timing.c: Remove file.
17313 * sysdeps/ia64/hp-timing.c: Remove file.
17314 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17315 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17316 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17317 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17319 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17320 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17321 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17322 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17324 (HP_TIMING_ACCUM): Remove.
17325 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17326 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17327 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17329 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17330 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17331 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17332 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17333 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17334 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17335 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17336 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17338 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17340 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17342 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17344 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17346 Sync up with gettext.
17347 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17348 [_MSC_VER]: Include malloc.h
17349 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17350 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17351 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17352 TEMP_FAILURE_RETRY. Cast return of alloca.
17353 [!_LIBC] Call gl_rwlock_init.
17354 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17356 2014-07-02 Roland McGrath <roland@hack.frob.com>
17358 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17359 before checking its value.
17361 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17363 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17365 * debug/memcpy_chk.c: Don't include pagecopy.h.
17366 * debug/mempcpy_chk.c: Likewise.
17367 * string/memcpy.c: Likewise.
17368 * string/memmove.c: Likewise.
17369 * sysdeps/powerpc/memmove.c: Likewise.
17370 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17371 definition of PAGE_COPY_FWD_MAYBE here...
17372 * sysdeps/generic/pagecopy.h: ... from here.
17373 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17375 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17376 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17378 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17382 (__libc_ifunc_impl_list): Likewise.
17383 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17384 multiarch strcat for PPC64.
17385 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17386 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17388 2014-07-02 Roland McGrath <roland@hack.frob.com>
17390 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17392 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17394 * intl/loadmsgcat.c: Remove declaration of
17395 get_sysdep_segment_value.
17396 (get_sysdep_segment_value): Use ISO C style.
17397 (_nl_load_domain): Use ISO C style. Get rid of redundant
17398 semicolon. Fix typo and formatting in comment.
17399 (_nl_unload_domain): Use ISO C style.
17401 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17403 2014-07-02 Will Newton <will.newton@linaro.org>
17405 * malloc/obstack.c: Merge from gnulib master.
17406 [HAVE_CONFIG_H]: Remove conditional code.
17407 [!_LIBC]: Include config.h.
17408 [!ELIDE_CODE]: Don't include inttypes.h, include
17409 stdint.h unconditionally.
17410 (print_and_abort): Mark as _Noreturn.
17411 (_obstack_allocated_p): Mark as __attribute_pure__.
17412 (obstack_free): Rename to __obstack_free.
17413 [!__attribute__]: Remove conditional code.
17414 * malloc/obstack.h: Merge from gnulib master.
17415 [__cplusplus]: Move conditional down.
17416 [!__attribute_pure__]: Define __attribute_pure__ here
17417 if it is not already defined.
17418 (_obstack_memory_used): Mark as __attribute_pure__.
17419 [!__obstack_free]: Define as obstack_free.
17420 [__GNUC__]: Remove check for ancient NeXT gcc.
17422 2014-07-02 Will Newton <will.newton@linaro.org>
17423 Paul Eggert <eggert@cs.ucla.edu>
17425 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17427 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17429 * resolv/gethnamaddr.c: Add comment warning that the file is
17432 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17434 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17437 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17438 entry for aio_cancel and aio_cancel64.
17439 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17440 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17441 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17442 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17443 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17444 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17445 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17446 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17447 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17448 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17449 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17450 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17451 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17453 2014-07-01 Roland McGrath <roland@hack.frob.com>
17455 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17456 * nptl/pthread_mutex_lock.c: Likewise.
17457 * nptl/pthread_mutex_timedlock.c: Likewise.
17458 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17460 2014-07-01 Richard henderson <rth@redhat.com>
17462 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17463 (__isnan, __isnanl): Remove.
17464 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17466 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17468 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17470 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17472 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17474 * resolv/nss_dns/dns-host.c (getanswer_r)
17475 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17477 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17479 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17480 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17482 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17483 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17485 2014-07-01 Roland McGrath <roland@hack.frob.com>
17487 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17488 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17490 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17491 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17493 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17494 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17496 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17497 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17499 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17500 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17501 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17502 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17504 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17505 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17506 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17507 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17508 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17510 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17512 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17513 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17514 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17515 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17516 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17517 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17518 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17519 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17520 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17521 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17522 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17523 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17524 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17525 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17526 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17527 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17528 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17529 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17530 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17531 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17533 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17534 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17535 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17536 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17537 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17538 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17539 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17540 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17542 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17544 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17545 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17546 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17549 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17553 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17555 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17556 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17558 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17560 * sysdeps/arm/libm-test-ulps: Regenerated.
17562 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17563 Roland McGrath <roland@hack.frob.com>
17565 * test-skeleton.c (signal_handler): Kill the whole process group
17566 before killing the child individually.
17567 (main): Report any failure on `setpgid'.
17569 2014-06-30 Roland McGrath <roland@hack.frob.com>
17571 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17572 from _TLS_H to _ARM_NPTL_TLS_H.
17573 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17574 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17576 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17579 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17580 (__expm1l): Return argument unchanged when small but not
17583 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17584 include macro name.
17585 (_FP_UNPACK_RAW_1_P): Likewise.
17586 (_FP_PACK_RAW_1): Likewise.
17587 (_FP_PACK_RAW_1_P): Likewise.
17588 (_FP_MUL_MEAT_1_wide): Likewise.
17589 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17590 (_FP_MUL_MEAT_1_hard): Likewise.
17591 (_FP_DIV_MEAT_1_imm): Likewise.
17592 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17593 (_FP_DIV_MEAT_1_udiv): Likewise.
17594 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17595 (_FP_UNPACK_RAW_2): Likewise.
17596 (_FP_UNPACK_RAW_2_P): Likewise.
17597 (_FP_PACK_RAW_2): Likewise.
17598 (_FP_PACK_RAW_2_P): Likewise.
17599 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17600 (_FP_MUL_MEAT_2_wide): Likewise.
17601 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17602 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17603 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17604 (_FP_MUL_MEAT_2_gmp): Likewise.
17605 (_FP_DIV_MEAT_2_udiv): Likewise.
17606 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17607 (_FP_FRAC_SRL_4): Likewise.
17608 (_FP_FRAC_SRST_4): Likewise.
17609 (_FP_FRAC_SRS_4): Likewise.
17610 (_FP_UNPACK_RAW_4): Likewise.
17611 (_FP_UNPACK_RAW_4_P): Likewise.
17612 (_FP_PACK_RAW_4): Likewise.
17613 (_FP_PACK_RAW_4_P): Likewise.
17614 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17615 (_FP_MUL_MEAT_4_wide): Likewise.
17616 (_FP_MUL_MEAT_4_gmp): Likewise.
17617 (umul_ppppmnnn): Likewise.
17618 (_FP_DIV_MEAT_4_udiv): Likewise.
17619 (__FP_FRAC_ADD_4): Likewise.
17620 (__FP_FRAC_SUB_3): Likewise.
17621 (__FP_FRAC_SUB_4): Likewise.
17622 (__FP_FRAC_DEC_3): Likewise.
17623 (__FP_FRAC_DEC_4): Likewise.
17624 (__FP_FRAC_ADDI_4): Likewise.
17625 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17626 (_FP_FRAC_SRL_8): Likewise.
17627 (_FP_FRAC_SRS_8): Likewise.
17629 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17630 include macro name.
17631 (FP_UNPACK_RAW_EP): Likewise.
17632 (FP_PACK_RAW_E): Likewise.
17633 (FP_PACK_RAW_EP): Likewise.
17634 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17635 (_FP_ISSIGNAN): Likewise.
17636 (_FP_ADD_INTERNAL): Likewise.
17637 (_FP_FMA): Likewise.
17638 (_FP_CMP): Likewise.
17639 (_FP_SQRT): Likewise.
17640 (_FP_TO_INT): Likewise.
17641 (_FP_FROM_INT): Likewise.
17642 (FP_EXTEND): Likewise.
17643 (_FP_DIV_MEAT_N_loop): Likewise.
17645 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17647 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17650 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17653 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17654 result with correct sign in case of exponents that produce
17655 overflow except for X very close to 1.
17657 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17659 mktime: merge #if/#ifdef usage from glibc
17660 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17661 as that works with both Glibc's and Gnulib's style.
17662 See thread starting at Siddhesh Poyarekar's bug report at:
17663 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17665 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17667 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17668 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17669 * sysdeps/tile/tilegx/memmove.c: Remove file.
17671 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17673 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17674 abi-name definition.
17675 * scripts/soversions.awk: Do not handle or generate ABI lines.
17676 * shlib-versions: Remove ABI entries.
17677 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17678 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17680 2014-06-27 Roland McGrath <roland@hack.frob.com>
17682 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17683 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17684 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17685 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17687 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17688 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17690 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17692 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17693 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17694 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17695 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17697 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17698 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17699 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17701 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17702 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17703 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17704 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17706 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17707 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17708 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17709 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17710 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17711 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17713 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17716 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17717 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17718 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17719 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17721 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17723 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17725 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17727 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17728 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17730 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17732 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17735 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17736 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17738 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17739 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17740 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17741 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17743 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17745 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17746 Identical file removed.
17747 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17749 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17750 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17751 Identical file removed.
17752 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17753 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17756 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17757 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17758 Identical file removed.
17759 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17760 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17761 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17762 Identical file removed.
17763 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17765 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17766 Identical file removed.
17767 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17768 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17769 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17770 Identical file removed.
17771 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17773 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17774 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17775 Identical file removed.
17776 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17778 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17779 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17780 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17781 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17782 Identical file removed.
17783 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17785 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17788 Identical file removed.
17789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17791 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17792 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17793 Identical file removed.
17794 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17796 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17798 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17799 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17800 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17801 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17803 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17804 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17805 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17807 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17808 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17809 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17810 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17811 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17813 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17816 * nscd/nscd.c (monitor_child): Return exit status of child
17817 instead of return value from wait syscall.
17819 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17821 * configure.ac (libc_commonpagesize): Remove variable.
17822 (libc_relro_required): Likewise.
17823 (libc_cv_z_relro): Remove configure test.
17824 * configure: Regenerated.
17825 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17827 (libc_relro_required): Likewise.
17828 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17829 (libc_relro_required): Likewise.
17830 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17831 (libc_relro_required): Likewise.
17832 * sysdeps/arm/preconfigure: Regenerated.
17833 * sysdeps/ia64/preconfigure: Remove file.
17834 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17836 (libc_relro_required): Likewise.
17840 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17841 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17842 recompute overflowing results in original rounding mode.
17843 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17844 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17845 recompute overflowing results in original rounding mode.
17846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17847 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17848 recompute overflowing results in original rounding mode.
17849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17850 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17851 recompute overflowing results in original rounding mode.
17852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17853 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17854 recompute overflowing results in original rounding mode.
17855 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17856 (libc_feholdsetround_ctx): New macro.
17857 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17858 * sysdeps/i386/fpu/libm-test-ulps: Update.
17859 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17861 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17863 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17864 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17865 corresponding .cpsetup call.
17867 2014-06-26 Roland McGrath <roland@hack.frob.com>
17869 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17870 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17871 * sysdeps/arm/Makefile [$(subdir) = csu]
17872 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17873 (static-only-routines): Add aeabi_read_tp here.
17874 (shared-only-routines): Add libc-aeabi_read_tp here.
17875 (CFLAGS-libc-start.c): Add -fexceptions here.
17876 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17877 (sysdep_routines, static-only-routines, shared-only-routines):
17878 Don't add to these here.
17879 (CFLAGS-libc-start.c): Likewise.
17881 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17882 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17883 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17884 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17885 * sysdeps/arm/Makefile [$(subdir) = rt]
17886 (librt-sysdep_routines, librt-shared-only-routines):
17887 Append rt-aeabi_unwind_cpp_pr1 here.
17888 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17889 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17890 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17891 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17892 Append nptl-aeabi_unwind_cpp_pr1 here.
17893 (tests): Filter out tst-cleanupx4 here.
17894 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17895 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17896 Don't do those here.
17898 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17900 * scripts/list-sources.sh: Do not handle ports specially.
17902 2014-06-26 Roland McGrath <roland@hack.frob.com>
17904 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17905 * sysdeps/arm/feupdateenv.c: Likewise.
17907 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17909 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17911 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17912 trailing whitespace removed.
17913 * scripts/config.guess: Update to version 2014-03-23.
17914 * scripts/config.sub: Update to version 2014-05-01
17915 * scripts/install-sh: Update to version 2013-12-25.23.
17916 * scripts/move-if-change: Update from gnulib.
17918 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17920 * debug/memmove_chk.c: Remove pagecopy.h include.
17922 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17924 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17925 identical to gnulib mktime.
17927 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17929 * configure.ac: Do not test for machine being rs6000. Do not test
17930 for powerpc*-*soft.
17931 * configure: Regenerated.
17934 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17936 * configure: Regenerated.
17937 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17938 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17939 Remove configure test.
17940 * sysdeps/arm/configure: Regenerated.
17941 * sysdeps/nptl/configure.ac: Do not check
17942 libc_cv_asm_cfi_directives.
17943 * sysdeps/nptl/configure: Regenerated.
17944 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17945 * sysdeps/x86_64/nptl/configure: Remove generated file.
17946 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17948 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17950 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17952 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17953 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17954 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17957 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17958 instead of whether it is defined.
17959 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17960 * sysdeps/hppa/dl-machine.h: Likewise.
17961 * sysdeps/ia64/dl-machine.h: Likewise.
17962 * sysdeps/m68k/dl-machine.h: Likewise.
17963 * sysdeps/microblaze/dl-machine.h: Likewise.
17964 * sysdeps/mips/dl-machine.: Likewise.
17965 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17966 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17967 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17968 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17969 * sysdeps/sh/dl-machine.h: Likewise.
17970 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17971 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17972 * sysdeps/tile/dl-machine.h: Likewise.
17973 * sysdeps/x86_64/dl-machine.h: Likewise.
17975 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17977 (verify_persistent_db): Likewise.
17979 2014-06-26 Roland McGrath <roland@hack.frob.com>
17981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17982 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17984 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17987 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17990 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17992 Identical file removed.
17993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17994 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17996 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17998 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18002 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18005 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18007 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18009 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18012 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18014 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18016 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18018 Identical file removed.
18019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18020 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18022 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18025 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18028 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18030 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18032 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18034 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18036 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18039 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18042 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18044 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18047 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18049 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18051 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18053 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18054 * sysdeps/unix/sysv/linux/s390/Versions
18055 (libpthread: GLIBC_2.19): New version set.
18056 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18057 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18058 (librt: GLIBC_2.3.3): New version set.
18059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18060 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18061 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18062 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18063 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18064 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18065 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18066 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18067 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18068 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18069 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18070 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18071 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18072 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18073 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18074 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18075 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18076 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18077 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18078 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18079 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18080 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18081 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18082 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18083 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18084 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18085 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18086 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18087 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18088 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18089 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18090 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18092 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18094 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18095 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18097 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18099 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18101 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18102 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18103 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18105 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18106 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18107 (__libc_vfork): Define the function under this name.
18108 [!NOT_IN_libc] (__vfork): Make this an alias.
18109 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18110 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18111 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18112 (__libc_vfork): Define the function under this name.
18113 [!NOT_IN_libc] (__vfork): Make this an alias.
18114 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18115 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18116 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18118 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18119 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18121 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18122 code that was previously under [RESET_PID].
18123 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18124 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18127 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18128 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18129 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18130 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18131 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18132 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18133 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18134 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18135 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18136 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18139 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18140 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18141 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18142 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18144 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18145 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18146 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18147 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18148 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18149 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18150 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18151 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18152 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18153 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18154 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18155 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18156 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18157 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18158 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18159 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18160 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18161 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18162 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18163 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18164 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18165 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18167 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18169 2014-06-25 Roland McGrath <roland@hack.frob.com>
18171 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18172 that was previously under [RESET_PID].
18173 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18175 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18177 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18178 not undefine and redefine.
18179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18180 [O_CLOEXEC]: Make code unconditional.
18181 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18182 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18183 <kernel-features.h>.
18184 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18185 conditional variable definition.
18186 (shm_open) [O_CLOEXEC]: Make code unconditional.
18187 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18190 * configure.ac (USE_REGPARMS): Don't define here.
18191 * configure: Regenerated.
18192 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18193 * sysdeps/i386/configure: Regenerated.
18195 * nptl/createthread.c: Don't include kernel-features.h.
18196 * nptl/pthread_cancel.c: Likewise.
18197 * nptl/pthread_condattr_setclock.c: Likewise.
18198 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18199 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18200 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18201 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18202 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18203 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18204 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18206 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18207 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18208 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18209 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18210 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18211 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18212 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18213 * nscd/gai.c: Likewise.
18214 * nss/nss_db/db-open.c: Likewise.
18215 * sysdeps/generic/ldsodefs.h: Likewise.
18216 * sysdeps/sh/nptl/tls.h: Likewise.
18217 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18218 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18219 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18220 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18221 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18222 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18223 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18224 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18226 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18227 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18228 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18229 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18230 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18231 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18232 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18233 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18234 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18235 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18236 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18237 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18238 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18239 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18240 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18242 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18243 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18244 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18245 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18246 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18247 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18248 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18249 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18250 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18251 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18252 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18253 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18254 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18255 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18256 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18257 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18258 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18259 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18260 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18261 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18262 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18263 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18264 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18265 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18266 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18267 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18268 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18269 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18270 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18271 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18272 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18273 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18274 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18297 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18298 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18299 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18300 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18301 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18302 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18303 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18304 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18305 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18306 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18307 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18308 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18309 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18310 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18311 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18312 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18313 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18314 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18315 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18316 * sysdeps/unix/sysv/linux/system.c: Likewise.
18317 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18318 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18319 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18320 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18321 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18322 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18323 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18325 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18326 * configure: Regenerated.
18327 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18329 * configure.ac (base_machine): Do not set specially for particular
18331 * configure: Regenerated.
18332 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18333 settings from configure.ac.
18334 * sysdeps/i386/preconfigure: New file.
18335 * sysdeps/s390/preconfigure: Likewise.
18336 * sysdeps/sh/preconfigure: Likewise.
18337 * sysdeps/sparc/preconfigure: Likewise.
18339 2014-06-25 Roland McGrath <roland@hack.frob.com>
18341 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18342 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18343 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18344 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18345 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18346 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18347 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18348 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18349 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18350 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18351 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18352 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18353 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18354 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18355 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18356 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18357 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18358 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18359 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18361 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18362 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18363 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18364 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18365 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18366 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18367 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18368 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18369 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18370 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18371 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18372 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18373 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18374 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18375 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18376 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18377 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18378 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18379 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18380 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18381 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18382 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18384 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18385 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18386 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18387 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18388 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18389 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18390 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18392 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18393 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18394 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18395 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18396 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18397 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18398 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18401 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18406 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18409 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18411 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18414 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18416 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18420 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18423 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18426 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18428 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18431 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18433 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18435 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18442 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18445 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18450 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18454 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18456 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18459 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18462 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18464 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18467 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18469 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18471 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18473 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18475 * timezone/checktab.awk: Update from tzcode 2014e.
18476 * timezone/private.h: Likewise.
18477 * timezone/tzfile.h: Likewise.
18478 * timezone/zdump.c: Likewise.
18479 * timezone/zic.c: Likewise.
18481 * sysdeps/unix/sysv/linux/kernel-features.h
18482 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18483 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18484 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18485 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18486 Remove conditional code.
18488 2014-06-25 Will Newton <will.newton@linaro.org>
18490 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18491 (_dl_arm_cap_flags): Add HWCAP2 values.
18492 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18493 (_DL_HWCAP_COUNT): Increase to 37.
18494 (_DL_HWCAP_LAST): New define.
18495 (_DL_HWCAP2_LAST): New define.
18496 (_dl_procinfo): Add support for printing
18498 (_dl_string_hwcap): Use _dl_hwcap_string.
18500 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18504 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18506 * README: Do not mention ports directory.
18508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18510 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18511 <kernel-features.h>.
18512 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18513 conditional variable definition.
18514 (__futimes): Update comment.
18515 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18516 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18519 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18520 arguments close to 0.
18521 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18523 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18525 * math/auto-libm-test-in: Add more tests of exp10.
18526 * math/auto-libm-test-out: Regenerated.
18527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18529 * sysdeps/unix/sysv/linux/kernel-features.h
18530 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18531 * sysdeps/unix/sysv/linux/readv.c: Do not include
18532 <kernel-features.h>.
18533 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18534 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18535 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18537 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18539 * sysdeps/unix/sysv/linux/writev.c: Do not include
18540 <kernel-features.h>.
18541 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18542 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18543 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18545 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18548 2014-06-25 Will Newton <will.newton@linaro.org>
18550 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18551 comment changes throughout the file. Remove checks
18552 for HAVE_*_H definitions that are not required.
18553 (__gen_tempname): Call abort if an unknown kind value is
18556 2014-06-25 Andreas Schwab <schwab@suse.de>
18559 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18560 scalbln, scalblnf, scalblnl in libc.
18562 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18565 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18566 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18567 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18569 2014-06-24 Roland McGrath <roland@hack.frob.com>
18571 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18572 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18573 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18574 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18576 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18577 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18579 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18580 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18581 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18582 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18583 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18584 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18585 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18586 * sysdeps/x86/bits/semaphore.h: ... here.
18587 * sysdeps/x86/nptl/elide.h: Moved ...
18588 * sysdeps/x86/elide.h: ... here.
18589 * sysdeps/x86_64/nptl/Implies: File removed.
18590 * sysdeps/i386/nptl/Implies: File removed.
18592 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18595 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18596 return the argument for normal arguments with exponent below -64.
18597 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18599 * math/auto-libm-test-in: Add another test of expm1.
18600 * math/auto-libm-test-out: Regenerated.
18603 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18604 calling __erfcl for arguments at least 16.
18605 * math/auto-libm-test-in: Add more tests of erf.
18606 * math/auto-libm-test-out: Regenerated.
18608 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18609 individual architectures.
18610 * sysdeps/unix/sysv/linux/configure: Regenerated.
18611 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18612 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18613 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18614 (ldd_rewrite_script): Define variable.
18615 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18620 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18621 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18622 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18623 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18624 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18625 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18626 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18627 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18629 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18632 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18633 Rename member __data.d to __data.__elision_data.
18635 2014-06-24 Wilco <wdijkstr@arm.com>
18637 * NEWS: Add 16918 to fixed bug list.
18639 2014-06-24 Wilco <wdijkstr@arm.com>
18641 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18643 2014-06-24 Wilco <wdijkstr@arm.com>
18645 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18646 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18647 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18648 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18649 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18650 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18651 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18654 2014-06-24 Wilco <wdijkstr@arm.com>
18656 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18658 2014-06-24 Wilco <wdijkstr@arm.com>
18660 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18661 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18662 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18663 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18665 2014-06-24 Wilco <wdijkstr@arm.com>
18668 * sysdeps/arm/feupdateenv.c (feupdateenv):
18669 Rewrite to reduce FPSCR accesses and fix return value.
18671 2014-06-24 Wilco <wdijkstr@arm.com>
18673 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18674 Optimize to avoid unnecessary FPSCR writes.
18675 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18676 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18677 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18678 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18680 2014-06-24 Wilco <wdijkstr@arm.com>
18682 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18683 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18684 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18685 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18686 Call libc_fetestexcept_vfp.
18687 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18688 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18689 __SOFTFP__ ifdef so that they can be built for softfp.
18691 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18693 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18694 argument type signed char.
18696 * Makerules (check-abi): Dump diff of symlist if the test
18699 2014-06-23 Roland McGrath <roland@hack.frob.com>
18701 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18704 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18705 Remove unused variable ST.
18707 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18711 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18712 small arguments before calling __expm1.
18713 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18714 small arguments before calling __expm1f.
18715 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18716 small arguments before calling __expm1l.
18717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18719 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18720 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18721 spurious underflow for some cosh tests.
18722 * math/auto-libm-test-out: Regenerated.
18723 * sysdeps/i386/fpu/libm-test-ulps: Update.
18726 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18727 (__ieee754_y1): Set errno if return value overflows.
18728 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18729 (__ieee754_y1f): Set errno if return value overflows.
18730 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18731 (__ieee754_y1l): Set errno if return value overflows.
18732 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18733 (__ieee754_y1l): Set errno if return value overflows.
18734 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18735 * math/auto-libm-test-out: Regenerated.
18737 * math/gen-auto-libm-tests.c: Document use of
18738 ignore-zero-inf-sign.
18739 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18740 (input_flags): Add ignore-zero-inf-sign.
18741 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18742 * math/gen-libm-test.pl (generate_testfile): Handle
18743 ignore-zero-inf-sign.
18744 * math/auto-libm-test-in: Mark some cpow tests with
18745 ignore-zero-inf-sign and some with xfail-rounding.
18746 * math/auto-libm-test-out: Regenerated.
18747 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18748 * sysdeps/i386/fpu/libm-test-ulps: Update.
18749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18752 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18753 overflowing or underflowing operations take place with sign of
18755 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18756 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18757 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18758 (__ieee754_pow): Recompute overflowing and underflowing results in
18759 original rounding mode.
18760 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18761 (__powl_helper): Allow negative argument X and scale negated value
18762 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18763 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18764 overflowing or underflowing operations take place with sign of
18766 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18768 * math/auto-libm-test-in: Add more tests of pow.
18769 * math/auto-libm-test-out: Regenerated.
18770 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18771 (pow_tonearest_test_data): Remove.
18772 (pow_test_tonearest): Likewise.
18773 (pow_towardzero_test_data): Likewise.
18774 (pow_test_towardzero): Likewise.
18775 (pow_downward_test_data): Likewise.
18776 (pow_test_downward): Likewise.
18777 (pow_upward_test_data): Likewise.
18778 (pow_test_upward): Likewise.
18779 (main): Don't call removed functions.
18780 * sysdeps/i386/fpu/libm-test-ulps: Update.
18781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18783 2014-06-23 Roland McGrath <roland@hack.frob.com>
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18959 2014-06-23 Will Newton <will.newton@linaro.org>
18960 Wilco <wdijkstr@arm.com>
18962 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18963 implementation. Include get-rounding-mode.h.
18964 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18965 [!libc_feholdsetround_noex_ctx]: Define
18966 libc_feholdsetround_noex_ctx.
18967 [!libc_feholdsetround_noexf_ctx]: Define
18968 libc_feholdsetround_noexf_ctx.
18969 [!libc_feholdsetround_noexl_ctx]: Define
18970 libc_feholdsetround_noexl_ctx.
18971 (libc_feholdsetround_ctx): New function.
18972 (libc_feresetround_ctx): New function.
18973 (libc_feholdsetround_noex_ctx): New function.
18974 (libc_feresetround_noex_ctx): New function.
18976 2014-06-23 Roland McGrath <roland@hack.frob.com>
18978 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18979 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18980 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18981 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18982 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18983 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18985 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18986 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18987 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18988 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18989 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18990 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18991 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18992 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18993 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18994 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18995 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18997 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18999 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19000 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19001 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19002 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19003 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19005 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19006 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19007 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19009 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19011 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19014 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19015 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19017 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19019 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19022 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19023 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19024 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19025 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19026 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19027 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19028 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19029 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19030 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19031 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19033 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19035 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19036 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19037 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19038 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19039 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19040 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19041 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19042 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19043 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19044 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19045 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19046 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19047 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19049 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19050 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19051 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19053 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19056 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19057 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19058 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19059 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19060 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19062 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19063 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19065 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19066 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19067 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19068 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19069 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19071 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19072 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19073 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19074 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19075 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19076 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19077 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19078 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19079 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19080 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19081 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19082 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19083 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19084 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19085 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19086 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19087 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19088 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19089 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19091 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19094 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19095 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19096 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19097 (IPV6_PMTUDISC_INTERFACE): Likewise.
19098 (IPV6_PMTUDISC_OMIT): Likewise.
19100 2014-06-23 Andreas Schwab <schwab@suse.de>
19102 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19103 Remove unused errout label.
19105 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19107 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19108 macro: hardware supports Vector Crypto instructions.
19110 2014-06-23 Will Newton <will.newton@linaro.org>
19112 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19113 rather than __builtin_expect.
19115 * elf/dl-lookup.c (undefined_msg): Remove variable.
19116 (_dl_lookup_symbol_x): Replace undefined_msg with string
19119 * elf/dl-lookup.c (do_lookup_unique): New function.
19120 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19121 to a separate function.
19123 2014-06-23 Andreas Schwab <schwab@suse.de>
19126 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19127 before reading the next line.
19129 2014-06-23 Will Newton <will.newton@linaro.org>
19131 * test-skeleton.c (signal_handler): Use printf and %m
19132 rather than perror. Use printf rather than fprintf to
19133 stderr. Use puts rather than fputs to stderr.
19136 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19138 * nscd/nscd.c (thread_info_t): Remove typedef.
19139 (thread_info): Remove variable.
19141 2014-06-21 Allan McRae <allan@archlinux.org>
19143 * NEWS: Mention CVE-2014-4043.
19145 2014-06-20 Roland McGrath <roland@hack.frob.com>
19147 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19148 * nptl/smp.h: ... here.
19150 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19152 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19153 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19154 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19155 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19157 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19158 * nptl/stack-aliasing.h: New file.
19159 * sysdeps/i386/i686/stack-aliasing.h: New file.
19160 * sysdeps/i386/i686/nptl/Makefile: File removed.
19161 * sysdeps/x86_64/stack-aliasing.h: New file.
19162 * sysdeps/x86_64/nptl/Makefile
19163 (CFLAGS-pthread_create.c): Variable removed.
19165 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19166 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19168 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19169 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19172 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19175 (__ASSUME_SIGFRAME_V2): Remove macro.
19176 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19177 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19178 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19179 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19180 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19181 Declare as function. Remove conditional macro definitions.
19182 (__default_rt_sa_restorer): Likewise.
19183 (__default_sa_restorer_v1): Remove declaration.
19184 (__default_sa_restorer_v2): Likewise.
19185 (__default_rt_sa_restorer_v1): Likewise.
19186 (__default_rt_sa_restorer_v2): Likewise.
19187 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19188 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19189 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19191 2014-06-20 Roland McGrath <roland@hack.frob.com>
19193 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19194 (libpthread-routines): Add sysdep.
19195 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19196 * sysdeps/unix/sysv/linux/sparc/Versions
19197 (libpthread: GLIBC_2.3.3): New version set.
19198 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19199 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19200 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19201 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19202 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19203 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19205 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19206 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19207 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19208 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19209 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19210 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19211 * sysdeps/sparc/nptl/sem_init.c: ... here.
19212 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19213 * sysdeps/sparc/nptl/sem_post.c: ... here.
19214 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19215 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19216 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19217 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19218 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19219 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19220 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19221 (libpthread-routines): Add cpu_relax.
19222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19224 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19225 (librt: GLIBC_2.3.3): New version set.
19226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19227 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19228 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19229 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19232 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19235 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19237 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19239 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19241 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19243 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19246 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19254 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19258 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19262 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19266 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19269 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19275 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19277 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19280 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19282 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19284 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19286 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19288 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19289 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19290 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19291 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19292 * nscd/nscd.c: Likewise.
19293 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19294 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19295 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19296 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19298 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19299 <kernel-features.h>.
19300 (init_mq_netlink): Remove conditional have_sock_cloexec
19301 definitions. Remove code conditional on have_sock_cloexec < 0.
19302 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19303 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19304 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19305 <kernel-features.h>.
19306 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19307 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19309 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19312 Add tests for memset_chk and memset.
19314 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19317 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19320 * elf/tst-dl-iter-static.c: New file.
19321 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19323 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19326 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19328 * sysdeps/unix/sysv/linux/kernel-features.h
19329 (__ASSUME_F_GETOWN_EX): Remove macro.
19330 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19331 <kernel-features.h>.
19332 (miss_F_GETOWN_EX): Remove variable or macro.
19333 (do_fcntl): Do not check miss_F_GETOWN_EX.
19334 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19339 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19340 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19342 * sysdeps/unix/sysv/linux/kernel-features.h
19343 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19344 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19345 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19346 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19348 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19351 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19352 Fix calculation of the symbol's value.
19353 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19354 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19355 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19356 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19357 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19358 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19359 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19360 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19361 (modules-names): Add `tst-armtlsdescmod',
19362 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19363 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19364 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19365 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19366 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19367 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19368 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19369 ($(objpfx)tst-armtlsdescloc): New dependency.
19370 ($(objpfx)tst-armtlsdescextnow): Likewise.
19371 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19372 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19373 TLS scheme support.
19374 * sysdeps/arm/configure: Regenerate.
19376 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19378 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19379 (__atfct_seterrno_2): Likewise.
19380 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19381 <kernel-features.h>.
19382 (__ASSUME_ATFCTS): Do not undefine and redefine.
19383 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19384 (__have_atfcts): Remove conditional definition.
19385 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19386 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19387 unreachable if [__ASSUME_ATFCTS].
19388 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19389 not undefine and redefine.
19390 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19391 <kernel-features.h>.
19392 (faccessat) [__NR_faccessat]: Make code unconditional.
19393 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19394 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19395 <kernel-features.h>.
19396 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19397 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19398 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19399 <kernel-features.h>.
19400 (fchownat) [__NR_fchownat]: Make code unconditional.
19401 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19402 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19403 <kernel-features.h>.
19404 (futimesat) [__NR_futimesat]: Make code unconditional.
19405 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19406 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19407 <kernel-features.h>.
19408 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19409 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19410 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19411 <kernel-features.h>.
19412 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19413 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19414 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19415 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19416 <kernel-features.h>.
19417 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19418 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19419 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19420 <kernel-features.h>.
19421 (linkat) [__NR_linkat]: Make code unconditional.
19422 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19423 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19424 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19425 <kernel-features.h>.
19426 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19427 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19428 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19429 <kernel-features.h>.
19430 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19431 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19432 * sysdeps/unix/sysv/linux/openat.c: Do not include
19433 <kernel-features.h>.
19434 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19435 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19436 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19437 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19438 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19439 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19440 <kernel-features.h>.
19441 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19442 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19443 result of INLINE_SYSCALL directly, not via int variable.
19444 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19445 <kernel-features.h>.
19446 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19447 (renameat) [__NR_renameat]: Make code unconditional.
19448 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19449 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19450 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19451 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19452 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19453 (__ASSUME_ATFCTS): Do not undefine and redefine.
19454 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19455 <kernel-features.h>.
19456 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19457 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19458 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19459 <kernel-features.h>.
19460 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19461 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19462 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19463 (__ASSUME_ATFCTS): Do not undefine and redefine.
19464 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19465 <kernel-features.h>.
19466 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19467 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19468 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19469 <kernel-features.h>.
19470 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19471 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19473 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19475 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19477 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19480 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19481 constructed tree before returning error.
19482 * posix/bug-regexp36.c: Expand test case.
19484 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19487 * math/libm-test.inc (scalbln_test_date):
19488 Add errno expectations.
19489 * math/w_scalblnf.c: New File.
19490 Add wrapper which checks for setting errno to ERANGE.
19491 Add weak_alias for corresponding scalbln function.
19492 * math/w_scalbln.c: Likewise.
19493 * math/w_scalblnl.c: Likewise.
19494 * math/Makefile (libm-calls): Add w_scalbln.
19495 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19496 Remove weak_alias for corresponding scalbln function.
19497 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19501 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19502 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19503 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19504 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19505 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19506 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19507 Remove long_double_symbol for scalblnl function in libm, libc.
19508 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19509 Add wrapper which checks for setting errno to ERANGE.
19510 Add long_double_symbol for scalblnl function in libm, libc.
19511 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19512 Remove long_double_symbol for scalblnl in libm.
19513 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19514 Add wrapper which checks for setting errno to ERANGE.
19515 Add long_double_symbol for scalblnl function in libm.
19516 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19517 Do not use wrapper because of own implementation.
19519 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19521 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19522 3 bytes for __pad1 for x32.
19523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19525 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19526 H.J. Lu <hongjiu.lu@intel.com>
19528 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19529 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19530 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19531 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19532 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19534 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19537 * posix/regcomp.c (parse_expression): Deallocate partially
19538 constructed tree before returning error.
19539 * posix/Makefile.c (tests): Add bug-regex36.
19540 (generated): Add bug-regex36.mtrace.
19541 (tests-special): Add $(objpfx)bug-regex36-mem.out
19542 (bug-regex36-ENV): New variable.
19543 ($(objpfx)bug-regex36-mem.out): New rule.
19544 * posix/bug-regex36.c: New file.
19546 2014-06-19 Will Newton <will.newton@linaro.org>
19548 * malloc/malloc.c (systrim): If extra is zero then return
19551 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19553 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19555 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19557 * sysdeps/aarch64/strchr.S: New file.
19559 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19562 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19563 from arguments -2 or below.
19564 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19565 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19567 2014-06-18 Andreas Schwab <schwab@suse.de>
19570 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19571 of a bracket expr not to run off the end of the string.
19572 * posix/Makefile (tests): Add tst-fnmatch3.
19573 * posix/tst-fnmatch3.c: New file.
19575 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19577 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19578 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19579 [$(cross-compiling) = no]: Likewise.
19580 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19581 [$(cross-compiling) = no]: Likewise.
19583 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19586 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19587 double, adjusted for any remainder from the high double.
19588 * math/libm-test.inc (nearbyint): Add tests.
19591 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19593 * nptl/sysdeps/powerpc/Makefile: Moved ...
19594 * sysdeps/powerpc/nptl/Makefile: ... here.
19595 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19596 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19597 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19598 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19599 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19600 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19601 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19602 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19603 * nptl/sysdeps/powerpc/tls.h: Moved ...
19604 * sysdeps/powerpc/nptl/tls.h: ... here.
19606 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19609 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19610 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19611 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19612 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19613 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19614 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19615 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19616 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19617 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19619 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19621 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19623 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19625 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19628 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19631 2014-06-16 Florian Weimer <fweimer@redhat.com>
19634 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19635 non-executed part of the test.
19637 2014-06-16 Andreas Schwab <schwab@suse.de>
19639 * string/bits/string2.h (strdup, strndup): Update feature guard.
19641 2014-06-14 David S. Miller <davem@davemloft.net>
19643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19645 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19647 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19648 that was previously under [RESET_PID].
19649 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19651 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19652 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19653 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19654 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19655 (__libc_vfork): New strong alias.
19656 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19658 2014-06-14 Andi Kleen <ak@linux.intel.com>
19660 * sysdeps/generic/elide.h: New file.
19662 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19664 * Makefile (installed-headers): Adjust path of pthread.h header.
19666 2014-06-13 Roland McGrath <roland@hack.frob.com>
19668 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19669 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19670 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19671 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19673 * nptl/sysdeps/s390/Makefile: Moved ...
19674 * sysdeps/s390/nptl/Makefile: ... here.
19675 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19676 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19677 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19678 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19679 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19680 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19681 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19682 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19683 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19684 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19685 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19686 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19687 * nptl/sysdeps/s390/tls.h: Moved ...
19688 * sysdeps/s390/nptl/tls.h: ... here.
19690 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19691 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19693 2014-06-13 David S. Miller <davem@davemloft.net>
19695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19698 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19702 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19703 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19704 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19705 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19706 Remove RESET_PID cpp guards.
19707 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19708 Remove RESET_PID cpp guards.
19709 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19711 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19713 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19716 2014-06-13 Andi Kleen <ak@linux.intel.com>
19718 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19719 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19721 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19722 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19723 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19724 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19725 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19726 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19727 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19728 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19729 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19730 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19731 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19732 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19733 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19734 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19735 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19736 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19737 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19739 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19740 (pthread_rwlock_rdlock): Add elision.
19741 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19742 (pthread_rwlock_wrlock): Add elision.
19743 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19744 (pthread_rwlock_trywrlock): Add elision.
19745 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19746 (pthread_rwlock_tryrdlock): Add elision.
19747 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19748 (pthread_rwlock_tryrdlock): Add elision unlock.
19749 * nptl/sysdeps/pthread/pthread.h:
19750 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19751 (PTHREAD_RWLOCK_INITIALIZER,
19752 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19753 Handle new elision field.
19754 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19755 * sysdeps/arm/nptl/bits/pthreadtypes.h
19756 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19757 * sysdeps/sh/nptl/bits/pthreadtypes.h
19758 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19759 * sysdeps/tile/nptl/bits/pthreadtypes.h
19760 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19761 * sysdeps/a/nptl/bits/pthreadtypes.h
19762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19763 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19764 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19765 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19766 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19767 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19768 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19769 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19771 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19772 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19773 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19774 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19775 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19777 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19778 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19779 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19780 (elision_init): Set try_xbegin to zero when no RTM.
19781 * sysdeps/x86/nptl/bits/pthreadtypes.h
19782 (pthread_rwlock_t): Change __pad1 to __rwelision.
19783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19785 2014-06-13 Andi Kleen <ak@linux.intel.com>
19787 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19788 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19789 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19790 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19792 2014-06-13 Meador Inge <meadori@codesourcery.com>
19795 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19796 that the cached result has been set before returning it.
19798 2014-06-12 Roland McGrath <roland@hack.frob.com>
19800 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19801 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19802 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19803 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19804 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19805 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19807 * nptl/sysdeps/sparc/Makefile: Moved ...
19808 * sysdeps/sparc/nptl/Makefile: ... here.
19809 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19810 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19811 * nptl/sysdeps/sparc/tls.h: Moved ...
19812 * sysdeps/sparc/nptl/tls.h: ... here.
19813 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19814 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19815 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19816 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19817 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19818 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19819 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19820 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19821 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19822 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19823 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19824 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19825 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19826 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19827 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19828 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19829 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19830 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19832 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19833 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19835 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19836 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19838 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19839 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19842 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19844 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19845 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19847 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19848 (struct list_links): Type removed.
19849 (struct thread_node, struct timer_node): Replace struct list_links
19850 with struct list_head.
19851 (list_unlink_ip): Likewise.
19852 * sysdeps/pthread/timer_routines.c
19853 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19854 (list_append, list_insbefore): Likewise.
19855 (list_init): Function removed.
19856 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19857 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19858 * sysdeps/pthread/Makefile: ... here, new file.
19860 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19861 * sysdeps/nptl/Implies: ... here.
19862 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19863 * nptl/sysdeps/pthread/list.h: Moved ...
19864 * include/list.h: ... here.
19865 * nptl/sysdeps/pthread/createthread.c: Moved ...
19866 * nptl/createthread.c: ... here.
19867 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19868 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19869 * nptl/pt-longjmp.c: ... here.
19870 * nptl/sysdeps/pthread/Makefile: Moved ...
19871 * sysdeps/nptl/Makefile: ... here.
19872 * nptl/sysdeps/pthread/Subdirs: Moved ...
19873 * sysdeps/nptl/Subdirs: ... here.
19874 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19875 * sysdeps/nptl/aio_misc.h: ... here.
19876 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19877 * sysdeps/nptl/bits/libc-lock.h: ... here.
19878 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19879 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19880 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19881 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19882 * nptl/sysdeps/pthread/configure: Moved ...
19883 * sysdeps/nptl/configure: ... here.
19884 * nptl/sysdeps/pthread/configure.ac: Moved ...
19885 * sysdeps/nptl/configure.ac: ... here.
19886 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19887 * sysdeps/nptl/gai_misc.h: ... here.
19888 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19889 * sysdeps/nptl/librt-cancellation.c: ... here.
19890 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19891 * sysdeps/nptl/malloc-machine.h: ... here.
19892 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19893 * sysdeps/nptl/pthread-functions.h: ... here.
19894 * nptl/sysdeps/pthread/pthread.h: Moved ...
19895 * sysdeps/nptl/pthread.h: ... here.
19896 * nptl/sysdeps/pthread/setxid.h: Moved ...
19897 * sysdeps/nptl/setxid.h: ... here.
19898 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19899 * sysdeps/nptl/sigfillset.c: ... here.
19900 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19901 * sysdeps/nptl/tcb-offsets.h: ... here.
19902 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19903 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19904 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19905 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19906 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19907 * sysdeps/pthread/allocalim.h: ... here.
19908 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19909 * sysdeps/pthread/bits/sigthread.h: ... here.
19910 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19911 * sysdeps/pthread/flockfile.c: ... here.
19912 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19913 * sysdeps/pthread/ftrylockfile.c: ... here.
19914 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19915 * sysdeps/pthread/funlockfile.c: ... here.
19916 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19917 * sysdeps/pthread/posix-timer.h: ... here.
19918 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19919 * sysdeps/pthread/timer_create.c: ... here.
19920 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19921 * sysdeps/pthread/timer_delete.c: ... here.
19922 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19923 * sysdeps/pthread/timer_getoverr.c: ... here.
19924 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19925 * sysdeps/pthread/timer_gettime.c: ... here.
19926 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19927 * sysdeps/pthread/timer_routines.c: ... here.
19928 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19929 * sysdeps/pthread/timer_settime.c: ... here.
19930 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19931 * sysdeps/pthread/tst-timer.c: ... here.
19932 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19933 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19935 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19936 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19938 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19939 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19940 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19941 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19942 Update #include target.
19943 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19944 * sysdeps/i386/i686/nptl/Makefile: ... here.
19945 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19946 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19947 Update #include target.
19948 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19949 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19950 * nptl/sysdeps/i386/Makefile: Moved ...
19951 * sysdeps/i386/nptl/Makefile: ... here.
19952 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19953 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19954 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19955 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19956 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19957 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19958 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19959 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19960 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19961 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19962 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19963 * nptl/sysdeps/i386/tls.h: Moved ...
19964 * sysdeps/i386/nptl/tls.h: ... here.
19966 * sysdeps/sh/Makefile [$(subdir) = csu]
19967 (gen-as-const-headers): Add tcb-offsets.sym.
19968 * nptl/sysdeps/sh/Makefile: File removed.
19969 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19970 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19971 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19972 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19973 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19974 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19975 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19976 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19977 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19978 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19979 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19980 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19981 * nptl/sysdeps/sh/tls.h: Moved ...
19982 * sysdeps/sh/nptl/tls.h: ... here.
19983 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19984 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19985 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19986 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19987 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19988 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19989 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19990 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19991 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19992 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19993 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19994 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19995 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19996 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19997 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19998 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19999 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20000 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20001 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20002 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20003 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20004 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20005 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20006 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20007 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20009 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20010 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20012 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20013 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20014 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20015 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20016 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20017 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20018 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20019 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20020 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20021 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20022 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20023 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20024 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20025 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20026 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20027 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20028 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20029 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20030 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20032 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20034 * posix/spawn_faction_addopen.c: Include string.h.
20036 2014-06-11 Roland McGrath <roland@hack.frob.com>
20038 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20039 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20040 * nptl/sysdeps/x86_64/Makefile: Moved ...
20041 * sysdeps/x86_64/nptl/Makefile: ... here.
20042 * nptl/sysdeps/x86_64/configure: Moved ...
20043 * sysdeps/x86_64/nptl/configure: ... here.
20044 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20045 * sysdeps/x86_64/nptl/configure.ac: ... here.
20046 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20047 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20048 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20049 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20050 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20051 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20052 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20053 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20054 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20055 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20056 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20057 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20058 * nptl/sysdeps/x86_64/tls.h: Moved ...
20059 * sysdeps/x86_64/nptl/tls.h: ... here.
20060 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20061 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20062 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20063 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20065 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20067 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20071 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20073 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20075 [POSIX] (off_t): Likewise.
20076 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20077 [POSIX] (S_ISBLK): Require macro.
20078 [POSIX] (S_ISCHR): Likewise.
20079 [POSIX] (S_ISDIR): Likewise.
20080 [POSIX] (S_ISFIFO): Likewise.
20081 [POSIX] (S_ISREG): Likewise.
20082 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20084 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20086 [POSIX] (time_t): Likewise.
20087 [POSIX] (timer_t): Likewise.
20089 2014-06-11 Florian Weimer <fweimer@redhat.com>
20092 * posix/spawn_int.h (struct __spawn_action): Make the path string
20093 non-const to support deallocation.
20094 * posix/spawn_faction_addopen.c
20095 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20096 * posix/spawn_faction_destroy.c
20097 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20098 path in all spawn_do_open actions.
20099 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20100 posix_spawn_file_actions_addopen.
20102 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20104 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20105 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20106 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20107 conditional code always true.
20108 (__libc_vfork): New alias.
20110 2014-06-11 Roland McGrath <roland@hack.frob.com>
20112 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20113 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20115 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20117 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20118 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20120 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20121 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20123 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20124 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20126 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20128 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20129 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20130 multiarch strcmp for PPC64.
20131 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20132 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20134 multiarch optimizations.
20135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20136 (__libc_ifunc_impl_list): Likewise.
20138 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20140 * benchtests/scripts/validate_benchout.py: New script.
20141 * benchtests/Makefile (bench-func): Call it.
20142 * benchtests/scripts/benchout.schema.json: New file.
20144 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20146 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20147 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20148 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20149 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20150 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20151 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20152 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20153 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20154 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20155 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20156 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20157 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20158 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20159 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20160 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20161 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20265 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20266 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20268 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20269 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20271 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20273 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20274 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20275 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20276 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20277 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20278 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20279 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20280 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20281 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20282 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20284 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20285 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20287 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20288 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20290 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20292 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20293 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20295 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20296 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20297 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20298 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20299 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20300 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20301 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20303 2014-06-10 Wilco <wdijkstr@arm.com>
20305 * math/test-fenv-return.c: New file.
20306 * math/Makefile: Add new test test-fenv-return.
20308 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20311 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20312 when x - 1 is zero.
20313 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20314 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20315 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20316 0.0L for an argument of 1.0L.
20317 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20319 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20320 value when x - 1 is zero.
20321 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20322 * sysdeps/i386/fpu/libm-test-ulps: Update.
20323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20325 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20328 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20330 2014-06-09 Roland McGrath <roland@hack.frob.com>
20332 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20333 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20335 2014-06-09 Roland McGrath <roland@hack.frob.com>
20337 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20338 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20340 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20341 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20343 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20344 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20346 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20347 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20349 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20350 if not already defined.
20351 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20352 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20353 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20354 (TLS_INIT_TP): Use it.
20355 (TLS_DEFINE_INIT_TP): New macro.
20356 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20358 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20360 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20362 [POSIX] (IXANY): Likewise.
20363 [POSIX] (OLCUC): Likewise.
20364 [POSIX || POSIX2008] (CBAUD): Do not allow.
20365 [POSIX || POSIX2008] (DEFECHO): Likewise.
20366 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20367 [POSIX || POSIX2008] (ECHOKE): Likewise.
20368 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20369 [POSIX || POSIX2008] (EXTA): Likewise.
20370 [POSIX || POSIX2008] (EXTB): Likewise.
20371 [POSIX || POSIX2008] (FLUSHO): Likewise.
20372 [POSIX || POSIX2008] (LOBLK): Likewise.
20373 [POSIX || POSIX2008] (PENDIN): Likewise.
20374 [POSIX || POSIX2008] (SWTCH): Likewise.
20375 [POSIX || POSIX2008] (VDISCARD): Likewise.
20376 [POSIX || POSIX2008] (VDSUSP): Likewise.
20377 [POSIX || POSIX2008] (VLNEXT): Likewise.
20378 [POSIX || POSIX2008] (VREPRINT): Likewise.
20379 [POSIX || POSIX2008] (VSTATUS): Likewise.
20380 [POSIX || POSIX2008] (VWERASE): Likewise.
20381 (B*): Change to B[0123456789]*.
20382 * conform/data/time.h-data [POSIX || UNIX98]
20383 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20384 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20385 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20386 [POSIX] (tm_*): Do not allow.
20388 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20390 * Makefile (install): Don't set LANGUAGE.
20391 * Makefile.in (install): Likewise.
20392 * assert/Makefile (test-assert-ENV): Remove variable.
20393 (test-assert-perr-ENV): Likewise.
20394 * elf/Makefile (neededtest4-ENV): Likewise.
20395 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20396 [$(cross-compiling) = no]: Don't set LANGUAGE.
20397 * io/ftwtest-sh (LANG): Remove variable.
20398 * libio/Makefile (tst-widetext-ENV): Likewise.
20399 * manual/install.texi (Running make install): Don't refer to
20400 environment settings for make install.
20401 * INSTALL: Regenerated.
20402 * nptl/tst-tls6.sh: Don't set LANG.
20403 * posix/globtest.sh (LANG): Remove variable.
20404 * string/Makefile (tester-ENV): Likewise.
20405 (inl-tester-ENV): Likewise.
20406 (noinl-tester-ENV): Likewise.
20407 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20408 [$(cross-compiling) = no]: Don't set LANGUAGE.
20409 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20410 without explicit environment settings.
20412 2014-06-06 Roland McGrath <roland@hack.frob.com>
20414 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20415 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20416 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20417 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20419 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20421 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20422 other files in the crypt directory.
20423 * crypt/crypt.c: Remove duplicate includes.
20424 * crypt/crypt-entry.c: Likewise.
20425 * crypt/crypt_util.c: Likewise.
20427 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20429 * Makeconfig (run-program-env): New variable.
20430 (run-program-prefix-before-env): Likewise.
20431 (run-program-prefix-after-env): Likewise.
20432 (run-program-prefix): Define in terms of new variables.
20433 (built-program-cmd-before-env): New variable.
20434 (built-program-cmd-after-env): Likewise.
20435 (built-program-cmd): Define in terms of new variables.
20436 (test-program-prefix-before-env): New variable.
20437 (test-program-prefix-after-env): Likewise.
20438 (test-program-prefix): Define in terms of new variables.
20439 (test-program-cmd-before-env): New variable.
20440 (test-program-cmd-after-env): Likewise.
20441 (test-program-cmd): Define in terms of new variables.
20442 * Rules (make-test-out): Use $(run-program-env).
20443 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20444 (help): Do not mention environment variables. Mention
20445 --timeoutfactor option.
20446 (timeoutfactor): New variable.
20447 (blacklist_exports): Remove function.
20448 (exports): Remove variable.
20449 (command): Do not include ${exports}.
20450 * manual/install.texi (Configuring and compiling): Do not mention
20451 test wrappers preserving environment variables. Mention that last
20452 assignment to a variable must take precedence.
20453 * INSTALL: Regenerated.
20454 * benchtests/Makefile (run-bench): Use $(run-program-env).
20455 * catgets/Makefile ($(objpfx)test1.cat): Use
20456 $(built-program-cmd-before-env), $(run-program-env) and
20457 $(built-program-cmd-after-env).
20458 ($(objpfx)test2.cat): Do not specify environment variables
20460 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20461 $(run-program-env) and $(built-program-cmd-after-env).
20462 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20463 $(run-program-env) and $(test-program-cmd-after-env).
20464 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20466 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20467 run_program_env and test_program_cmd_after_env arguments.
20468 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20469 * elf/tst-pathopt.sh: Use run_program_env argument.
20470 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20471 $(test-wrapper-env) and $(run-program-env).
20472 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20473 run_program_env arguments.
20474 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20475 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20476 $(test-program-prefix-before-env), $(run-program-env) and
20477 $(test-program-prefix-after-env).
20478 ($(objpfx)tst-gettext2.out): Likewise.
20479 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20480 run_program_env and test_program_prefix_after_env arguments.
20481 * intl/tst-gettext2.sh: Likewise.
20482 * intl/tst-gettext4.sh: Do not set environment variables
20484 * intl/tst-gettext6.sh: Likewise.
20485 * intl/tst-translit.sh: Likewise.
20486 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20487 $(test-program-prefix-before-env), $(run-program-env) and
20488 $(test-program-prefix-after-env).
20489 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20490 run_program_env and test_program_prefix_after_env arguments.
20491 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20492 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20493 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20494 explicitly with each use of ${test_wrapper_env}.
20495 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20496 $(test-program-prefix-before-env), $(run-program-env) and
20497 $(test-program-prefix-after-env).
20498 * posix/tst-getconf.sh: Do not set environment variables
20500 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20501 run_program_env and test_program_prefix_after_env arguments.
20502 * stdio-common/tst-printf.sh: Do not set environment variables
20504 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20505 $(test-program-prefix-before-env), $(run-program-env) and
20506 $(test-program-prefix-after-env).
20507 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20508 run_program_env and test_program_prefix_after_env arguments.
20509 Split $test calls into $test_pre and $test.
20510 * timezone/Makefile (build-testdata): Use
20511 $(built-program-cmd-before-env), $(run-program-env) and
20512 $(built-program-cmd-after-env).
20514 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20516 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20517 strlen for non SHARED builds.
20519 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20521 * nptl/allocatestack.c (check_list): Inlined function...
20522 (__reclaim_stacks): ... here.
20524 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20527 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20530 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20532 * Rules (make-test-out): Include
20533 LOCPATH=$(common-objpfx)localedata in default environment.
20534 * debug/Makefile (tst-chk1-ENV): Remove variable.
20535 (tst-chk2-ENV): Likewise.
20536 (tst-chk3-ENV): Likewise.
20537 (tst-chk4-ENV): Likewise.
20538 (tst-chk5-ENV): Likewise.
20539 (tst-chk6-ENV): Likewise.
20540 (tst-lfschk1-ENV): Likewise.
20541 (tst-lfschk2-ENV): Likewise.
20542 (tst-lfschk3-ENV): Likewise.
20543 (tst-lfschk4-ENV): Likewise.
20544 (tst-lfschk5-ENV): Likewise.
20545 (tst-lfschk6-ENV): Likewise.
20546 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20547 (tst-iconv7-ENV): Likewise.
20548 * intl/Makefile (LOCPATH-ENV): Likewise.
20549 (tst-codeset-ENV): Likewise.
20550 (tst-gettext3-ENV): Likewise.
20551 (tst-gettext5-ENV): Likewise.
20552 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20553 (tst-fopenloc-ENV): Likewise.
20554 (tst-fgetws-ENV): Remove variable.
20555 (tst-ungetwc1-ENV): Likewise.
20556 (tst-ungetwc2-ENV): Likewise.
20557 (bug-ungetwc2-ENV): Likewise.
20558 (tst-swscanf-ENV): Likewise.
20559 (bug-ftell-ENV): Likewise.
20560 (tst-fgetwc-ENV): Likewise.
20561 (tst-fseek-ENV): Likewise.
20562 (tst-ftell-partial-wide-ENV): Likewise.
20563 (tst-ftell-active-handler-ENV): Likewise.
20564 (tst-ftell-append-ENV): Likewise.
20565 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20566 (tst-regexloc-ENV): Likewise.
20567 (bug-regex1-ENV): Likewise.
20568 (tst-regex-ENV): Likewise.
20569 (tst-regex2-ENV): Likewise.
20570 (bug-regex5-ENV): Likewise.
20571 (bug-regex6-ENV): Likewise.
20572 (bug-regex17-ENV): Likewise.
20573 (bug-regex18-ENV): Likewise.
20574 (bug-regex19-ENV): Likewise.
20575 (bug-regex20-ENV): Likewise.
20576 (bug-regex22-ENV): Likewise.
20577 (bug-regex23-ENV): Likewise.
20578 (bug-regex25-ENV): Likewise.
20579 (bug-regex26-ENV): Likewise.
20580 (bug-regex30-ENV): Likewise.
20581 (bug-regex32-ENV): Likewise.
20582 (bug-regex33-ENV): Likewise.
20583 (bug-regex34-ENV): Likewise.
20584 (bug-regex35-ENV): Likewise.
20585 (tst-rxspencer-ENV): Likewise.
20586 (tst-rxspencer-no-utf8-ENV): Likewise.
20587 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20588 (tst-sscanf-ENV): Likewise.
20589 (tst-swprintf-ENV): Likewise.
20590 (tst-swscanf-ENV): Likewise.
20591 (test-vfprintf-ENV): Likewise.
20592 (scanf13-ENV): Likewise.
20593 (bug14-ENV): Likewise.
20594 (tst-grouping-ENV): Likewise.
20595 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20596 (tst-strtod3-ENV): Likewise.
20597 (tst-strtod4-ENV): Likewise.
20598 (tst-strtod5-ENV): Likewise.
20599 (testmb2-ENV): Likewise./
20600 * string/Makefile (tst-strxfrm-ENV): Likewise.
20601 (tst-strxfrm2-ENV): Likewise.
20602 (bug-strcoll1-ENV): Likewise.
20603 (test-strcasecmp-ENV): Likewise.
20604 (test-strncasecmp-ENV): Likewise.
20605 * time/Makefile (tst-strptime-ENV): Likewise.
20606 (tst-ftime_l-ENV): Likewise.
20607 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20608 (tst-mbrtowc-ENV): Likewise.
20609 (tst-wcrtomb-ENV): Likewise.
20610 (tst-mbrtowc2-ENV): Likewise.
20611 (tst-c16c32-1-ENV): Likewise.
20612 (tst-mbsnrtowcs-ENV): Likewise.
20614 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20616 * manual/resource.texi (How to get information about the memory
20617 subsystem?): Fix typo.
20618 Reported by Peon de la Parra Ivan <peon@keba.com>
20620 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20623 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20624 (pthread_spin_lock): Branch out of spin loop to proper location.
20625 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20626 (pthread_spin_lock): Likewise.
20628 * nptl/tst-spin4.c: New test.
20629 * nptl/Makefile (tests): Add tst-spin4.
20631 2014-06-03 Andreas Schwab <schwab@suse.de>
20634 * resolv/res_send.c (send_dg): Reload file descriptor after
20637 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20639 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20641 2014-06-03 Richard Henderson <rth@redhat.com>
20643 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20644 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20645 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20646 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20647 in the SAVE_PID block.
20648 (__libc_vfork): New alias.
20649 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20651 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20652 child in registers, not on the stack. Remove RESET_PID conditionals.
20653 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20655 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20657 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20659 2014-06-03 Wilco <wdijkstr@arm.com>
20661 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20662 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20663 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20664 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20665 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20668 2014-06-03 Wilco <wdijkstr@arm.com>
20670 * sysdeps/aarch64/fpu/math_private.h
20671 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20672 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20673 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20674 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20677 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20679 * crypt/crypt-private.h: Include ufc-crypt.h.
20680 (__b64_from_24bit): Declare extern.
20681 * crypt/crypt_util.c(__b64_from_24bit): New function.
20682 (b64t): New static const variable.
20683 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20684 (b64t): Remove variable.
20685 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20686 * crypt/sha256-crypt.c: Include crypt-private.h.
20687 (b64t): Remove variable.
20688 (__sha256_crypt_r): Remove b64_from_24bit and replace
20689 with __b64_from_24bit.
20690 * crypt/sha512-crypt.c: Likewise.
20692 2014-06-02 Roland McGrath <roland@hack.frob.com>
20694 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20695 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20696 Label the code __libc_vfork rather than __vfork.
20697 [!NOT_IN_libc] (vfork): Define as weak alias.
20698 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20699 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20700 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20702 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20704 * malloc/malloc.c (malloc_info): Fix format specifier for
20707 2014-06-02 Wilco <wdijkstr@arm.com>
20709 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20712 2014-06-02 Wilco <wdijkstr@arm.com>
20715 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20716 Rewrite to reduce FPCR/FPSR accesses.
20718 2014-06-01 David S. Miller <davem@davemloft.net>
20720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20722 2014-05-31 David S. Miller <davem@davemloft.net>
20724 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20725 to occur in round to nearest mode when |x| >= 2.0
20727 2014-05-30 Richard Henderson <rth@twiddle.net>
20729 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20730 (PSEUDO_RET_NOERRNO): Remove.
20731 (ret): Don't redefine.
20732 (ret_NOERRNO): Define in terms of ret.
20733 (ret_ERRVAL): Likewise.
20735 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20736 use of PSEUDO_RET; perform the error check directly.
20738 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20740 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20743 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20745 * malloc/malloc (malloc_info): Fix formatting.
20747 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20748 Roland McGrath <roland@hack.frob.com>
20750 * malloc/malloc (malloc_info): Also print mmapped statistics.
20752 2014-05-30 Roland McGrath <roland@hack.frob.com>
20754 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20755 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20757 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20759 * malloc/malloc.c (malloc_info): Inline mi_arena.
20761 2014-05-29 Richard Henderson <rth@twiddle.net>
20763 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20764 Remove comma before expanding ASM_ARGS_##nr.
20765 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20766 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20768 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20769 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20770 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20771 (ASM_ARGS_1): Add leading comma.
20773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20774 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20775 to __errno_location.
20776 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20777 Remove the expected plt for __errno_location.
20779 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20780 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20783 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20784 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20785 it and break it down.
20786 (DOCARGS_0, DOCARGS_1): Do nothing.
20787 (DOCARGS_2): Update to store into the new stack frame.
20788 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20789 (UNDOCARGS_1): Update to restore from the new stack frame.
20790 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20791 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20793 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20794 (SINGLE_THREAD_P): New parameter for result regno.
20795 (PSEUDO): Update to match; use cbz instead of beq.
20797 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20798 Use ENTRY to define the _nocancel entry point. Share the syscall
20799 and syscall error check paths with the cancel path.
20802 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20803 whitespace; tabs before and after asm mnemonics.
20805 2014-05-29 Eric Wong <normalperson@yhbt.net>
20808 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20809 Call fstat64 or stat64 internally, depending on arguments passed.
20810 Replace stat buffer argument with file descriptor argument.
20811 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20812 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20813 Pass fd to __internal_statvfs instead of calling fstat64.
20814 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20815 Pass fd to __internal_statvfs64 instead of calling fstat64.
20816 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20817 Pass -1 to __internal_statvfs instead of calling stat64.
20818 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20819 Pass -1 to __internal_statvfs64 instead of calling stat64.
20821 2014-05-28 Roland McGrath <roland@hack.frob.com>
20823 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20824 that was previously under [RESET_PID].
20825 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20827 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20828 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20830 2014-05-27 Roland McGrath <roland@hack.frob.com>
20832 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20834 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20835 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20837 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20839 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20841 2014-05-27 Andreas Schwab <schwab@suse.de>
20843 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20845 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20846 * elf/rtld.c (init_tls, dl_main): Likewise.
20847 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20848 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20849 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20850 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20851 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20852 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20853 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20854 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20855 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20856 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20857 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20858 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20859 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20860 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20861 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20862 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20863 * sysdeps/generic/tls.h: Update description.
20865 2014-05-27 Will Newton <will.newton@linaro.org>
20868 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20869 and restore r2 rather than just restoring.
20871 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20874 * libio/tst-ftell-append.c: New test case.
20875 * libio/Makefile (tests): Add test case.
20876 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20878 * libio/wfileops.c (do_ftell_wide): Likewise.
20880 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20884 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20888 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20889 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20890 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20891 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20892 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20893 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20897 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20900 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20901 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20902 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20903 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20904 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20906 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20907 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20909 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20911 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20913 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20914 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20915 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20917 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20918 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20919 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20920 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20935 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20938 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20943 conditional [RESET_PID].
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20952 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20953 (__libc_vfork): New strong alias.
20954 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20961 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20962 (__libc_vfork): New strong alias.
20963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20965 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20968 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20970 * malloc/malloc.c (mi_arena): New function.
20971 (malloc_info): Remove nested function mi_arena. Call non-nosted
20974 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20976 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20978 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20979 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20980 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20981 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20982 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20983 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20984 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20986 2014-05-26 Andreas Schwab <schwab@suse.de>
20989 * locale/programs/repertoire.c (repertoire_read): Add slash
20990 between I18NPATH element and file name.
20991 * locale/programs/locfile.c (locfile_read): Likewise.
20993 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20995 * nptl/pthread_mutexattr_settype.c
20996 (__pthread_mutexattr_settype):
20997 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20999 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21001 * nptl/tst-mutex5 (do_test):
21002 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21004 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21006 * benchtests/README: Document 'init' directive.
21007 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21009 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21010 (parse_file): Recognize 'init' directive.
21012 2014-05-26 Kyle McMartin <kyle@redhat.com>
21015 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21016 alignment of struct pthread.
21018 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21021 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21022 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21023 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21024 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21026 2014-05-25 Richard Henderson <rth@twiddle.net>
21028 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21029 (SINGLE_THREAD_P_PIC): Remove.
21030 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21031 (SINGLE_THREAD_P_PIC): Remove.
21033 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21034 branch to syscall error ...
21035 (PSEUDO): ... here.
21036 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21037 from __local_syscall_error to .Lsyscall_error.
21038 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21039 (SYSCALL_ERROR): Update label name.
21041 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21042 Do not use DOARGS/UNDOARGS.
21043 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21044 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21045 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21046 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21047 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21049 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21052 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21053 define if !NOT_IN_libc.
21054 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21055 define with non-default symbol versions.
21057 2014-05-23 Richard Henderson <rth@twiddle.net>
21059 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21060 (vfork, __vfork): Define via compat_symbol.
21062 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21063 [!HAVE_IFUNC] (vfork_compat): Remove.
21064 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21066 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21069 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21070 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21073 2014-05-23 Richard Henderson <rth@twiddle.net>
21075 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21076 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21077 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21078 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21080 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21081 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21082 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21083 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21084 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21085 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21086 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21087 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21088 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21089 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21090 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21091 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21092 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21093 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21094 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21095 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21096 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21097 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21098 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21099 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21100 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21101 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21102 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21103 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21104 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21105 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21106 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21107 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21108 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21109 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21110 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21111 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21112 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21113 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21114 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21115 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21116 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21117 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21118 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21119 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21120 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21121 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21122 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21123 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21124 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21125 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21126 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21127 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21128 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21129 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21131 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21133 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21134 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21135 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21137 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21138 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21139 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21140 before exiting on error.
21141 (__libc_vfork): New strong alias.
21142 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21143 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21145 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21146 that was previously under [RESET_PID].
21147 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21149 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21151 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21154 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21155 value when x - 1 is zero.
21156 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21157 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21158 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21159 0.0L for an argument of 1.0L.
21160 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21162 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21163 value when x - 1 is zero.
21164 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21165 * sysdeps/i386/fpu/libm-test-ulps: Update.
21166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21168 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21170 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21171 alphasort and versionsort.
21173 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21175 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21177 [copysignf]: Likewise.
21179 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21181 * crypt/md5-crypt.c: Fix formatting.
21183 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21185 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21186 (b64_from_24bit): New function.
21188 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21190 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21191 libc_hidden_builtin_def to ifunc.
21192 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21193 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21195 2014-05-21 Roland McGrath <roland@hack.frob.com>
21197 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21198 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21200 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21202 * nscd/Depend (linuxthreads): Remove.
21204 * resolv/Depend (linuxthreads): Remove.
21205 * rt/Depend (linuxthreads): Remove.
21207 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21208 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21209 $(common-objpfx)elf/.
21210 (link-libc-before-gnulib): Likewise.
21211 (elfobjdir): Remove variable.
21212 * Makefile (install): Use $(elf-objpfx) instead of
21213 $(common-objpfx)elf/.
21214 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21216 (link-libc-deps): Likewise.
21217 ($(common-objpfx)libc.so): Likewise.
21218 ($(common-objpfx)linkobj/libc.so): Likewise.
21219 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21220 instead of $(common-objpfx)elf/.
21221 (symbolic-link-list): Likewise.
21222 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21223 [$(cross-compiling) = no]: Likewise.
21224 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21226 (static-gnulib-arch): Likewise.
21227 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21228 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21229 $(common-objpfx)elf/.
21231 2014-05-21 Richard Henderson <rth@redhat.com>
21233 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21234 (SINGLE_THREAD_P): Use the correct width load. Fold
21235 into the ldr offset.
21237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21238 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21240 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21243 (libgcc_s_resume): Use __attribute_used__.
21244 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21247 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21249 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21250 optimization when used with float constants.
21252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21254 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21257 * locale/nl_langinfo_l.c: Make direct reference to every
21258 _nl_current_CATEGORY symbol.
21259 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21260 (tests-static): Add tst-langinfo-static.
21261 (tests-special): Add tst-langinfo-static.out.
21262 ($(objpfx)tst-langinfo.out): Redirect output.
21263 ($(objpfx)tst-langinfo-static.out): New.
21264 * localedata/tst-langinfo.sh: Send output to stdout.
21265 * localedata/tst-langinfo-static.c: New file.
21268 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21269 when the shift amount is modulo the limb size.
21271 2014-05-20 Richard Henderson <rth@redhat.com>
21274 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21275 Change type of sa_flags from unsigned int to int.
21278 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21280 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21282 2014-05-20 Will Newton <will.newton@linaro.org>
21284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21285 Test the return value of the system call in the nocancel case.
21287 2014-05-20 Will Newton <will.newton@linaro.org>
21288 Yvan Roux <yvan.roux@linaro.org>
21290 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21291 #include of asm/ptrace.h.
21292 (PTRACE_GET_THREAD_AREA): Remove #undef.
21293 (PTRACE_GETHBPREGS): Likewise.
21294 (PTRACE_SETHBPREGS): Likewise.
21295 (struct user_regs_struct): New structure.
21296 (struct user_fpsimd_struct): New structure.
21297 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21298 #include of asm/ptrace.h and second #include of sys/user.h.
21299 (PTRACE_GET_THREAD_AREA): Remove #undef.
21300 (PTRACE_GETHBPREGS): Likewise.
21301 (PTRACE_SETHBPREGS): Likewise.
21302 (ELF_NGREG): Use new struct user_regs_struct.
21303 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21305 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21307 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21308 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21310 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21314 membar to avoid block loads/stores to overlap previous stores.
21316 2014-05-17 Richard Henderson <rth@redhat.com>
21318 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21319 Create the __##syscall_name##_nocancel entry point.
21320 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21321 Remove; let the sysdep-cancel.h code create it.
21323 2014-05-17 David S. Miller <davem@davemloft.net>
21325 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21326 Protect with __USE_GNU.
21327 (TIOCSET_TEMPT): Likewise.
21328 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21329 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21330 these are already provided in bits/ioctl-types.h
21332 2014-05-16 Roland McGrath <roland@hack.frob.com>
21334 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21335 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21337 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21338 Use wait4 regardless of [__NR_waitpid].
21340 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21343 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21344 (_FP_NANSIGN_Q): Set the quiet bit.
21346 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21348 * benchtests/Makefile
21349 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21350 not $(common-objpfx)math/libm.so.
21351 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21352 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21353 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21354 $(common-objpfx)dlfcn/libdl.so.
21355 ($(objpfx)tst-audit8): Depend on $(libm), not
21356 $(common-objpfx)math/libm.so.
21357 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21358 not $(common-objpfx)dlfcn/libdl.so.
21360 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21361 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21362 [$(build-shared) = yes].
21363 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21364 $(common-objpfx)nptl/libpthread.so.
21365 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21366 $(common-objpfx)math/libm.so$(libm.so-version) or
21367 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21368 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21369 $(common-objpfx)dlfcn/libdl.so.
21370 * setjmp/Makefile (link-libm): Remove variable.
21371 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21372 * stdio-common/Makefile (link-libm): Remove variable.
21373 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21374 * stdlib/Makefile (link-libm): Remove variable.
21375 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21376 ($(objpfx)tst-strtod-round): Likewise.
21377 ($(objpfx)tst-tininess): Likewise.
21378 ($(objpfx)tst-strtod-underflow): Likewise.
21379 ($(objpfx)tst-strtod6): Likewise.
21380 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21381 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21382 $(common-objpfx)dlfcn/libdl.so.
21384 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21386 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21387 BSD terminal modes definitions.
21389 2014-05-16 Roland McGrath <roland@hack.frob.com>
21391 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21392 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21394 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21395 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21396 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21397 Don't do #include_next.
21398 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21399 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21400 Don't do #include_next.
21401 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21402 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21403 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21404 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21406 2014-05-16 Allan McRae <allan@archlinux.org>
21408 * po/sv.po: Update Swedish translation from translation project.
21410 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21413 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21416 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21417 errno if the TIOCGPTN ioctl fails with an error different than
21419 * login/tst-ptsname.c: New file.
21420 * login/Makefile (tests): Add tst-ptsname.
21423 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21426 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21430 herrno to return EAI_AGAIN.
21432 2014-05-14 Roland McGrath <roland@hack.frob.com>
21434 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21435 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21436 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21437 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21438 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21439 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21440 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21441 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21442 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21443 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21444 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21445 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21446 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21447 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21448 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21449 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21450 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21451 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21452 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21453 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21454 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21455 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21456 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21457 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21458 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21459 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21460 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21461 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21462 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21463 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21465 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21467 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21470 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21472 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21474 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21476 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21478 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21480 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21482 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21484 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21486 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21488 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21490 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21492 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21494 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21496 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21499 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21501 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21503 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21505 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21507 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21511 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21513 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21515 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21517 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21520 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21522 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21524 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21525 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21526 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21527 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21528 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21529 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21530 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21531 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21532 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21533 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21534 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21535 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21536 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21537 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21538 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21539 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21540 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21541 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21542 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21543 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21544 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21545 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21546 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21547 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21548 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21549 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21550 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21551 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21552 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21553 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21554 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21556 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21557 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21559 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21560 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21561 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21562 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21563 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21564 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21567 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21569 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21570 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21572 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21573 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21575 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21576 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21577 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21578 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21580 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21581 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21582 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21583 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21584 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21585 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21586 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21587 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21589 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21590 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21592 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21594 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21595 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21596 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21597 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21598 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21600 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21602 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21604 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21605 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21606 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21607 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21608 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21609 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21612 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21614 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21615 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21617 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21618 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21621 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21622 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21623 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21625 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21626 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21627 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21628 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21629 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21630 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21631 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21632 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21634 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21635 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21637 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21639 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21640 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21641 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21642 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21643 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21645 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21647 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21649 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21650 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21651 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21652 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21653 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21654 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21655 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21656 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21657 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21658 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21660 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21661 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21663 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21664 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21666 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21667 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21669 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21670 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21671 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21672 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21673 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21674 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21676 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21677 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21678 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21679 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21680 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21681 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21682 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21685 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21686 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21688 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21690 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21691 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21692 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21693 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21694 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21696 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21698 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21700 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21701 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21702 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21703 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21704 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21705 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21706 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21707 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21708 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21709 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21710 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21712 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21713 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21715 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21716 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21718 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21719 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21720 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21721 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21722 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21723 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21724 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21725 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21726 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21727 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21728 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21729 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21730 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21731 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21732 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21734 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21735 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21737 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21738 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21739 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21740 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21742 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21743 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21744 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21745 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21746 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21748 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21751 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21755 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21756 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21759 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21760 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21761 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21762 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21763 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21764 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21765 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21766 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21767 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21768 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21769 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21770 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21772 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21773 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21774 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21775 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21776 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21778 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21779 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21780 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21781 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21782 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21783 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21784 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21785 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21786 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21787 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21789 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21790 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21792 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21793 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21794 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21795 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21796 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21797 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21798 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21799 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21800 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21801 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21802 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21803 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21804 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21805 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21831 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21833 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21834 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21835 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21836 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21837 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21838 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21839 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21840 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21842 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21843 that was previously under [RESET_PID].
21844 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21845 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21846 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21848 * sysdeps/i386/nptl/Implies: New file.
21849 * sysdeps/x86_64/nptl/Implies: New file.
21850 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21851 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21852 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21853 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21855 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21856 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21857 (__libc_vfork): New strong alias.
21858 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21859 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21861 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21862 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21863 (__libc_vfork): New strong alias.
21864 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21865 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21867 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21868 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21869 (__libc_vfork): New strong alias.
21870 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21871 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21872 * nptl/pt-vfork.c: New file.
21873 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21874 (libpthread: GLIBC_2.20): New version set (empty).
21876 2014-05-14 Will Newton <will.newton@linaro.org>
21878 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21881 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21884 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21885 arguments with exponent 65 or above.
21886 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21887 arguments 0x1p113L or above.
21888 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21889 to arguments 0x1p107L or above.
21890 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21891 positive arguments with exponent 65 or above.
21892 * math/auto-libm-test-in: Add more tests of log1p.
21893 * math/auto-libm-test-out: Regenerated.
21896 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21897 non-finite arguments is +0.
21898 * math/s_cacosf.c (__cacosf): Likewise.
21899 * math/s_cacosl.c (__cacosl): Likewise.
21900 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21901 * sysdeps/i386/fpu/libm-test-ulps: Update.
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21905 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21907 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21908 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21909 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21910 for explicit high bit of mantissa when testing for argument equal
21912 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21913 * sysdeps/i386/fpu/libm-test-ulps: Update.
21914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21917 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21918 (__erf): Scale by 16 instead of 8 in potentially underflowing
21919 case. Ensure exception if result actually underflows.
21920 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21921 (__erff): Scale by 16 instead of 8 in potentially underflowing
21922 case. Ensure exception if result actually underflows.
21923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21924 (efx8): Remove variable.
21925 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21926 case. Ensure exception if result actually underflows.
21927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21928 (efx8): Remove variable.
21929 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21930 case. Ensure exception if result actually underflows.
21931 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21932 (efx8): Remove variable.
21933 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21934 case. Ensure exception if result actually underflows.
21935 * math/auto-libm-test-in: Add more tests of erf.
21936 * math/auto-libm-test-out: Regenerated.
21938 2014-05-14 Andreas Schwab <schwab@suse.de>
21940 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21941 Remove code conditionalized on USE___THREAD.
21943 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21944 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21947 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21950 Define unconditionally.
21951 (__ASSUME_O_CLOEXEC): Likewise.
21952 (__ASSUME_SOCK_CLOEXEC): Likewise.
21953 (__ASSUME_IN_NONBLOCK): Likewise.
21954 (__ASSUME_PIPE2): Likewise.
21955 (__ASSUME_EVENTFD2): Likewise.
21956 (__ASSUME_SIGNALFD4): Likewise.
21957 (__ASSUME_DUP3): Likewise.
21958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21959 (__ASSUME_DUP3): Do not define.
21960 (__ASSUME_EVENTFD2): Likewise.
21961 (__ASSUME_IN_NONBLOCK): Likewise.
21962 (__ASSUME_O_CLOEXEC): Likewise.
21963 (__ASSUME_PIPE2): Likewise.
21964 (__ASSUME_SIGNALFD4): Likewise.
21965 (__ASSUME_SOCK_CLOEXEC): Likewise.
21966 (__ASSUME_UTIMES): Undefine.
21967 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21968 (__ASSUME_UTIMES): Do not define.
21969 (__ASSUME_O_CLOEXEC): Likewise.
21970 (__ASSUME_SOCK_CLOEXEC): Likewise.
21971 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21972 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21974 (__ASSUME_PIPE2): Likewise.
21975 (__ASSUME_EVENTFD2): Likewise.
21976 (__ASSUME_SIGNALFD4): Likewise.
21977 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21978 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21980 (__ASSUME_EVENTFD2): Likewise.
21981 (__ASSUME_SIGNALFD4): Likewise.
21982 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21983 (__ASSUME_32BITUIDS): Likewise.
21984 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21985 (__ASSUME_IPC64): Likewise.
21986 (__ASSUME_ST_INO_64_BIT): Likewise.
21987 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21988 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21989 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21990 (__ASSUME_UTIMES): Do not define.
21991 (__ASSUME_PSELECT): Likewise.
21992 (__ASSUME_PPOLL): Likewise.
21993 (__ASSUME_O_CLOEXEC): Likewise.
21994 (__ASSUME_SOCK_CLOEXEC): Likewise.
21995 (__ASSUME_IN_NONBLOCK): Likewise.
21996 (__ASSUME_PIPE2): Likewise.
21997 (__ASSUME_EVENTFD2): Likewise.
21998 (__ASSUME_SIGNALFD4): Likewise.
21999 (__ASSUME_DUP3): Likewise.
22000 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22001 (__ASSUME_UTIMES): Likewise.
22002 (__ASSUME_O_CLOEXEC): Likewise.
22003 (__ASSUME_SOCK_CLOEXEC): Likewise.
22004 (__ASSUME_IN_NONBLOCK): Likewise.
22005 (__ASSUME_PIPE2): Likewise.
22006 (__ASSUME_EVENTFD2): Likewise.
22007 (__ASSUME_SIGNALFD4): Likewise.
22008 (__ASSUME_DUP3): Likewise.
22009 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22010 (__ASSUME_UTIMES): Likewise.
22011 (__ASSUME_O_CLOEXEC): Likewise.
22012 (__ASSUME_SOCK_CLOEXEC): Likewise.
22013 (__ASSUME_IN_NONBLOCK): Likewise.
22014 (__ASSUME_PIPE2): Likewise.
22015 (__ASSUME_EVENTFD2): Likewise.
22016 (__ASSUME_SIGNALFD4): Likewise.
22017 (__ASSUME_DUP3): Likewise.
22018 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22020 (__ASSUME_UTIMES): Likewise.
22021 (__ASSUME_EVENTFD2): Likewise.
22022 (__ASSUME_SIGNALFD4): Likewise.
22023 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22024 (__ASSUME_O_CLOEXEC): Likewise.
22025 (__ASSUME_SOCK_CLOEXEC): Likewise.
22026 (__ASSUME_IN_NONBLOCK): Likewise.
22027 (__ASSUME_PIPE2): Likewise.
22028 (__ASSUME_EVENTFD2): Likewise.
22029 (__ASSUME_SIGNALFD4): Likewise.
22030 (__ASSUME_DUP3): Likewise.
22031 (__ASSUME_UTIMES): Undefine.
22033 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22034 feclearexcept. Remove symbol versioning code.
22035 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22036 symbol versioning code.
22037 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22038 symbol versioning code.
22039 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22040 feupdateenv. Remove symbol versioning code.
22041 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22042 fegetexceptflag. Remove symbol versioning code.
22043 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22044 fesetexceptflag. Remove symbol versioning code.
22045 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22046 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22047 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22048 (__posix_fadvise64_l32): Remove prototype.
22049 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22052 2014-05-13 Roland McGrath <roland@hack.frob.com>
22054 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22055 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22056 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22057 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22059 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22061 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22062 current working directory
22064 2014-05-13 Roland McGrath <roland@hack.frob.com>
22066 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22067 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22068 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22069 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22070 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22071 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22072 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22073 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22074 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22075 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22076 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22077 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22078 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22079 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22080 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22081 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22082 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22083 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22084 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22085 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22086 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22087 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22088 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22089 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22090 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22091 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22092 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22093 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22094 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22095 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22096 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22097 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22098 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22099 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22100 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22101 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22102 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22103 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22104 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22105 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22106 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22107 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22109 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22110 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22112 * sysdeps/unix/sysv/linux/arm/Makefile
22113 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22114 Add rt-aeabi_unwind_cpp_pr1.
22115 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22116 Add nptl-aeabi_unwind_cpp_pr1.
22117 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22118 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22119 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22120 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22121 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22122 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22124 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22125 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22126 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22127 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22129 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22130 Deconditionalize the code that was previously under [RESET_PID].
22131 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22133 * sysdeps/generic/exit-thread.h: New file.
22134 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22135 * include/unistd.h (__exit_thread): Remove declaration.
22136 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22137 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22138 * csu/libc-start.c: Include <exit-thread.h>.
22139 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22140 * nptl/pthread_create.c: Include <exit-thread.h>.
22141 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22142 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22143 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22144 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22145 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22146 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22147 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22148 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22149 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22150 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22151 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22152 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22153 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22154 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22155 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22156 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22157 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22159 2014-05-13 Andreas Schwab <schwab@suse.de>
22161 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22163 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22165 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22166 (__ASSUME_UTIMES): Do not condition on kernel version.
22167 (__ASSUME_PSELECT): Define unconditionally.
22168 (__ASSUME_PPOLL): Likewise.
22169 (__ASSUME_ATFCTS): Likewise.
22170 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22171 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22172 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22173 (__ASSUME_UTIMENSAT): Define unconditionally.
22174 (__ASSUME_PRIVATE_FUTEX): Likewise.
22175 (__ASSUME_FALLOCATE): Likewise.
22176 (__ASSUME_O_CLOEXEC): Likewise.
22177 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22178 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22179 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22180 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22181 (__ASSUME_IN_NONBLOCK): Likewise.
22182 (__ASSUME_PIPE2): Likewise.
22183 (__ASSUME_EVENTFD2): Likewise.
22184 (__ASSUME_SIGNALFD4): Likewise.
22185 (__ASSUME_DUP3): Likewise.
22186 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22187 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22188 (__ASSUME_AT_RANDOM): Likewise.
22189 (__ASSUME_PREADV): Likewise.
22190 (__ASSUME_PWRITEV): Likewise.
22191 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22192 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22193 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22194 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22195 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22197 (__ASSUME_O_CLOEXEC): Define unconditionally.
22198 (__ASSUME_PSELECT): Do not undefine conditionally.
22199 (__ASSUME_PPOLL): Likewise.
22200 (__ASSUME_ATFCTS): Likewise.
22201 (__ASSUME_SET_ROBUST_LIST): Likewise.
22202 (__ASSUME_UTIMENSAT): Likewise.
22203 (__ASSUME_FDATASYNC): Define unconditionally.
22204 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22205 (__ASSUME_SIGFRAME_V2): Likewise.
22206 )__ASSUME_EVENTFD2): Likewise.
22207 (__ASSUME_SIGNALFD4): Likewise.
22208 (__ASSUME_PSELECT): Do not undefine conditionally.
22209 (__ASSUME_PPOLL): Likewise.
22210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22211 (__ASSUME_PSELECT): Define unconditionally.
22212 (__ASSUME_PPOLL): Likewise.
22213 (__ASSUME_O_CLOEXEC): Likewise.
22214 (__ASSUME_SOCK_CLOEXEC): Likewise.
22215 (__ASSUME_IN_NONBLOCK): Likewise.
22216 (__ASSUME_PIPE2): Likewise.
22217 (__ASSUME_EVENTFD2): Likewise.
22218 (__ASSUME_SIGNALFD4): Likewise.
22219 (__ASSUME_DUP3): Likewise.
22220 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22221 (__ASSUME_O_CLOEXEC): Likewise.
22222 (__ASSUME_SOCK_CLOEXEC): Likewise.
22223 (__ASSUME_IN_NONBLOCK): Likewise.
22224 (__ASSUME_PIPE2): Likewise.
22225 (__ASSUME_EVENTFD2): Likewise.
22226 (__ASSUME_SIGNALFD4): Likewise.
22227 (__ASSUME_DUP3): Likewise.
22228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22229 (__ASSUME_EVENTFD2): Likewise.
22230 (__ASSUME_SIGNALFD4): Likewise.
22231 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22233 2014-05-12 Andreas Schwab <schwab@suse.de>
22236 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22237 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22238 than maximum RPC packet size.
22239 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22240 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22241 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22242 (_nss_nis_getservbyport_r): Likewise.
22244 2014-05-12 Will Newton <will.newton@linaro.org>
22246 * malloc/Makefile (tests): Add tst-mallopt.
22247 * malloc/tst-mallopt.c: New file.
22249 2014-05-09 Roland McGrath <roland@hack.frob.com>
22251 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22252 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22254 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22256 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22257 (tst-tlsmod6.so): Likewise.
22259 2014-05-09 Roland McGrath <roland@hack.frob.com>
22261 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22263 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22266 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22267 and <dl-procinfo.h>.
22268 (__fegetenv): Save SSE state in envp->__eip if supported.
22269 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22270 envp->__eip if supported.
22271 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22272 and <dl-procinfo.h>.
22273 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22274 __data_offset and __data_selector in environment to 0. Set SSE
22275 state if supported.
22276 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22278 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22280 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22282 2014-05-09 Will Newton <will.newton@linaro.org>
22284 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22285 and libc_relro_required for ARM.
22286 * sysdeps/arm/preconfigure: Regenerate.
22288 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22289 Stefan Liebler <stli@linux.vnet.ibm.com>
22291 * config.make.in (enable-lock-elision): New Makefile variable.
22292 * configure.ac: Likewise.
22293 * configure: Regenerate.
22294 * sysdeps/s390/configure.ac:
22295 Add check for gcc transactions support.
22296 * sysdeps/s390/configure: Regenerate.
22297 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22298 Build elision files if enabled.
22299 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22300 Add lock elision support for s390.
22301 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22302 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22303 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22304 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22305 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22306 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22307 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22315 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22316 (__lll_timedlock_elision, __lll_lock_elision)
22317 (__lll_unlock_elision, __lll_trylock_elision)
22318 (lll_timedlock_elision, lll_lock_elision)
22319 (lll_unlock_elision, lll_trylock_elision): Add.
22320 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22321 (pthread_mutex_t): Add lock elision support for s390.
22323 2014-05-14 Wilco <wdijkstr@arm.com>
22325 * sysdeps/arm/fclrexcpt.c: Cleanup.
22326 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22327 * sysdeps/arm/feenablxcpt.c: Cleanup.
22328 * sysdeps/arm/fegetenv.c: Cleanup.
22329 * sysdeps/arm/fegetexcept.c: Cleanup.
22330 * sysdeps/arm/fegetround.c: Cleanup.
22331 * sysdeps/arm/feholdexcpt.c: Cleanup.
22332 * sysdeps/arm/fesetenv.c: Cleanup.
22333 * sysdeps/arm/fesetround.c: Cleanup.
22334 * sysdeps/arm/feupdateenv.c: Cleanup.
22335 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22336 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22337 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22338 * sysdeps/arm/ftestexcept.c: Cleanup.
22339 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22340 * sysdeps/arm/setfpucw.c: Cleanup.
22342 2014-05-09 Will Newton <will.newton@linaro.org>
22344 * sysdeps/arm/armv7/strcmp.S: New file.
22345 * NEWS: Mention addition of ARMv7 optimized strcmp.
22347 2014-05-08 Roland McGrath <roland@hack.frob.com>
22349 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22350 look for %.ac rather than %.in.
22352 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22353 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22354 * sysdeps/mach/hurd/configure: Regenerated.
22355 * sysdeps/unix/sysv/linux/configure: Regenerated.
22357 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22359 2014-05-07 Steve Ellcey <sellcey@mips.com>
22362 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22366 2014-05-07 Andreas Schwab <schwab@suse.de>
22368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22369 when skipping over non-matching result from nscd.
22371 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22374 * nptl/sockperf.c (client): Check socket return value.
22377 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22378 nscd security class.
22380 2014-05-06 Roland McGrath <roland@hack.frob.com>
22382 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22383 * sysdeps/arm/unwind.h: ... here.
22385 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22388 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22391 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22393 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22394 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22395 multiarch strncpy for PPC64.
22396 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22397 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22399 multiarch optimizations.
22400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22401 (__libc_ifunc_impl_list): Likewise.
22402 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22403 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22404 multiarch stpncpy for PPC64.
22405 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22406 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22408 2014-05-06 Andreas Schwab <schwab@suse.de>
22411 * gmon/mcount.c (_MCOUNT_DECL): Use
22412 atomic_compare_and_exchange_bool_acq instead of
22413 catomic_compare_and_exchange_bool_acq.
22415 2014-05-05 Roland McGrath <roland@hack.frob.com>
22417 * elf/Makefile (others, install-bin): Remove pldd.
22418 (pldd-modules): Variable removed.
22419 ($(objpfx)pldd): Target removed.
22420 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22421 (others, install-bin): Append pldd here.
22422 ($(objpfx)pldd): New target.
22424 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22425 to 0, so the first #if test emitted later doesn't see it undefined.
22426 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22427 * sysdeps/gnu/errlist.c: Regenerated.
22429 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22431 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22432 [libc_hidden_builtin_def]: Define to empty value.
22433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22434 [libc_hidden_builtin_def]: Likewise.
22435 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22436 [libc_hidden_builtin_def]: Likewise.
22437 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22438 [libc_hidden_builtin_def]: Likewise.
22439 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22440 __redirect_memcpy and define ifunc as default hidden symbol.
22441 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22442 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22444 2014-05-04 Adam Conrad <adconrad@0c3.net>
22446 * locale/iso-4217.def: Reintroduce XDR currency.
22448 2014-05-04 Allan McRae <allan@archlinux.org>
22450 * po/eo.po: Update Esperanto translation from translation project.
22452 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22454 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22455 and FEATURE_INDEX_MAX to 1.
22456 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22458 2014-05-01 Steve Ellcey <sellcey@mips.com>
22460 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22461 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22462 * iconvdata/big5.c (ONE_DIRECTION): Define.
22463 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22464 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22465 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22466 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22467 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22468 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22469 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22470 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22471 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22472 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22473 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22474 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22475 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22476 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22477 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22478 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22479 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22480 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22481 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22482 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22483 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22484 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22485 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22486 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22487 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22488 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22489 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22490 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22491 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22492 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22493 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22494 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22495 * iconvdata/johab.c (ONE_DIRECTION): Define.
22496 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22497 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22498 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22499 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22500 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22501 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22502 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22503 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22504 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22505 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22507 2014-05-01 Roland McGrath <roland@hack.frob.com>
22509 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22510 (_IO_JUMPS_OFFSET): Define to 0.
22512 * nptl/sysdeps/pthread/bits/libc-lock.h
22513 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22514 (__libc_lock_define_initialized_recursive): Always define using
22515 initializer. Modern compilers treat uninitialized (implicit zero) and
22516 explicit zero initializers the same (i.e. put the datum in bss).
22518 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22520 * nscd/nscd-client.h: Include <string.h>.
22522 2014-05-01 David S. Miller <davem@davemloft.net>
22525 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22526 multiple zero bytes exist at the end of a string.
22527 Reported by Aurelien Jarno <aurelien@aurel32.net>
22529 * string/test-strcmp.c (check): Add explicit test for situations where
22530 there are multiple zero bytes after the first.
22532 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22535 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22536 when compiling wprintf.
22537 * stdio-common/tstdiomisc.c (t3): New function.
22540 2014-05-01 Steve Ellcey <sellcey@mips.com>
22542 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22543 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22544 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22545 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22547 2014-05-01 Steve Ellcey <sellcey@mips.com>
22549 * stdlib/longlong.h: Updated from GCC.
22551 2014-05-01 Will Newton <will.newton@linaro.org>
22552 Bernard Ogden <bernie.ogden@linaro.org>
22554 * NEWS: Update fixed bug list.
22557 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22559 2014-04-30 David S. Miller <davem@davemloft.net>
22561 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22562 (libc_feholdexcept_setround_sparc_ctx): New function.
22563 (libc_fesetenv_sparc_ctx): Likewise.
22564 (libc_feupdateenv_sparc_ctx): Likewise.
22565 (libc_feholdsetround_sparc_ctx): Likewise.
22566 (libc_feholdexcept_setround_ctx): Define.
22567 (libc_feholdexcept_setroundf_ctx): Likewise.
22568 (libc_feholdexcept_setroundl_ctx): Likewise.
22569 (libc_fesetenv_ctx): Likewise.
22570 (libc_fesetenvf_ctx): Likewise.
22571 (libc_fesetenvl_ctx): Likewise.
22572 (libc_feupdateenv_ctx): Likewise.
22573 (libc_feupdateenvf_ctx): Likewise.
22574 (libc_feupdateenvl_ctx): Likewise.
22575 (libc_feresetround_ctx): Likewise.
22576 (libc_feresetroundf_ctx): Likewise.
22577 (libc_feresetroundl_ctx): Likewise.
22578 (libc_feholdsetround_ctx): Likewise.
22579 (libc_feholdsetroundf_ctx): Likewise.
22580 (libc_feholdsetroundl_ctx): Likewise.
22582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22583 with __USE_GNU instead of XOPEN cpp guards.
22585 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22588 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22589 with XOPEN cpp guards.
22591 2014-04-30 Julian Brown <julian@codesourcery.com>
22594 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22597 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22600 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22602 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22603 * sysdeps/unix/sysv/linux/configure: Regenerated.
22604 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22605 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22606 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22607 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22608 * README: Update reference to required Linux kernel version.
22609 * manual/install.texi (Linux): Update reference to required Linux
22610 kernel headers version.
22611 * INSTALL: Regenerated.
22613 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22615 [POSIX] (limits.h): Likewise.
22616 [POSIX] (math.h): Likewise.
22617 [POSIX] (sys/wait.h): Likewise.
22618 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22620 [POSIX] (stddef.h): Do not allow header inclusion.
22622 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22624 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22626 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22628 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22629 Return immediately after lll_futex_wake.
22631 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22634 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22636 (datahead_init_pos): Call datahead_init_common early.
22637 (datahead_init_neg): Likewise.
22639 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22640 datahead_init_neg): New functions.
22641 * nscd/aicache.c (addhstaiX): Use them.
22642 * nscd/grpcache.c (cache_addgr): Likewise.
22643 * nscd/hstcache.c (cache_addhst): Likewise.
22644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22645 * nscd/netgroupcache.c (do_notfound): Likewise.
22646 (addgetnetgrentX): Likewise.
22647 (addinnetgrX): Likewise.
22648 * nscd/pwdcache.c (cache_addpw): Likewise.
22649 * nscd/servicescache.c (cache_addserv): Likewise.
22651 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22652 Atsushi Onoe <atsushi@onoe.org>
22657 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22658 one response is valid.
22659 * resolv/res_send.c (send_dg): Check for validity of other
22660 response if the current response is a referral.
22662 2014-04-29 Steve Ellcey <sellcey@mips.com>
22664 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22666 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22669 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22670 Always divide by positive zero when computing -Inf result.
22671 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22672 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22674 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22676 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22677 FPSCR if value do not change.
22678 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22679 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22680 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22681 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22682 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22683 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22686 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22688 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22689 * sysdeps/unix/sysv/linux/hppa: Move directory from
22690 ports/systeps/unix/sysv/linux/hppa.
22691 * README: Update listing for hppa-*-linux-gnu.
22693 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22696 * manual/stdio.texi (Hook functions): Fix types of stream hook
22699 * socket/sys/socket.h: Fix typo in comment.
22701 2014-04-28 Wilco <wdijkstr@arm.com>
22703 * sysdeps/arm/fenv_private.h: New file.
22704 * sysdeps/arm/math_private.h: New file.
22705 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22707 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22709 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22711 (La_x86_64_retval): Likewise.
22713 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22715 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22716 fpsr if value didn't change.
22717 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22718 to fpcr if value didn't change.
22719 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22720 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22721 fpsr or fpcr if value didn't change.
22722 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22723 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22724 fpcr if value didn't change.
22725 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22726 to fpsr if value didn't change.
22728 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22730 * nptl/tst-sem3.c: Use test-skeleton.c
22731 (main): Rename to do_test. Use return instead of
22733 * nptl/tst-sem4.c: Use test-skeleton.c
22734 (main): Rename to do_test.
22736 2014-04-22 David S. Miller <davem@davemloft.net>
22738 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22739 (struct sigaction): New struct member __glibc_reserved0, change
22740 type of sa_flags to int.
22742 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22744 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22745 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22747 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22749 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22750 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22752 2014-04-22 Will Newton <will.newton@linaro.org>
22753 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22755 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22756 (__longjmp): Add longjmp and longjmp_target SystemTap
22758 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22759 (__sigsetjmp): Add setjmp SystemTap probe.
22761 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22763 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22764 match manual order.
22766 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22768 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22770 * sysdeps/powerpc/fpu/fenv_private.h
22771 (libc_feholdexcept_setroundl_ctx): Define to
22772 libc_feholdexcept_setround_ppc_ctx.
22773 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22774 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22775 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22776 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22778 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22780 * sysdeps/aarch64/math-tests.h: New file.
22782 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22784 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22787 Check and set bit_AVX2_Usable.
22788 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22790 (bit_AVX2): Likewise.
22791 (index_AVX2_Usable): Likewise.
22792 (CPUID_AVX2): Likewise.
22793 (HAS_AVX2): Likewise.
22795 2014-04-17 Will Newton <will.newton@linaro.org>
22797 * manual/setjmp.texi (System V contexts): Add note that
22798 calling setcontext on a context created by a call to a
22799 signal handler is undefined. Update text to note that
22800 setcontext from a signal handler is possible but not
22804 * stdlib/tst-setcontext.c: Include signal.h.
22805 (main): Check that the signal stack before and
22806 after swapcontext is the same.
22808 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22809 Re-implement to restore registers in user code and avoid
22810 rt_sigreturn system call.
22812 2014-04-17 Wilco <wdijkstr@arm.com>
22814 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22815 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22816 * math/test-fenv.c: Skip exception trap tests on targets which only
22817 support non-stop mode.
22819 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22820 Wilco Dijkstra <wilco.dijkstra@arm.com>
22822 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22823 (libc_feholdsetround_aarch64_ctx)
22824 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22825 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22826 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22827 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22828 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22829 (libc_feresetround_noexl_ctx): Define.
22831 2014-04-16 Richard Henderson <rth@redhat.com>
22833 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22835 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22838 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22839 const from the non-libc, non-ldso copy.
22841 * sysdeps/alpha/libm-test-ulps: Regenerate.
22843 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22844 Wilco Dijkstra <wilco.dijkstra@arm.com>
22846 * sysdeps/aarch64/fpu/math_private.h: New file.
22848 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22850 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22852 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22855 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22856 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22858 Intel MPX bound registers before _dl_profile_fixup.
22859 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22860 registers after _dl_profile_fixup. Save and restore bound
22861 registers bnd0/bnd1 when calling _dl_call_pltexit.
22862 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22863 (LR_BND_OFFSET): Likewise.
22864 (LRV_BND0_OFFSET): Likewise.
22865 (LRV_BND1_OFFSET): Likewise.
22867 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22869 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22871 * sysdeps/mach/hurd/i386/tls.h: ... here.
22872 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22873 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22876 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22878 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22880 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22882 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22884 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22887 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22888 * sysdeps/s390/configure: Regenerate.
22891 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22892 Set round-to-nearest internally to reduce error accumulation.
22894 2014-04-16 Alan Modra <amodra@gmail.com>
22898 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22899 * math/libm-test.inc (frexp_test_data): Add tests.
22900 * NEWS: Update fixed bug list.
22902 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22904 * benchtests/Makefile: Depend on libraries in build directory.
22905 (bench-math): Separate out math tests.
22906 (bench-pthread): Separate out pthread tests.
22907 (bench): Include math and pthread tests.
22909 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22912 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22913 _dl_debug_initialize.
22915 * configure.ac: Remove SELinux header check.
22916 * configure: Regenerate.
22917 * nscd/selinux.c (perms): Array of const char* to permission names.
22918 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22919 default policy. Call string_to_security_class and string_to_av_perm to
22920 translate strings. Enforce default policy and call avs_has_perm with
22921 results of translated strings.
22923 2014-04-13 David S. Miller <davem@davemloft.net>
22925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22927 2014-04-12 Allan McRae <allan@archlinux.org>
22930 * manual/string.texi (Collation Functions): Fix qsort argument
22932 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22934 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22936 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22937 Make the test a no-op if there are no exceptions defined.
22939 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22941 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22942 enable-hardcoded-path-in-tests
22944 2014-04-11 Will Newton <will.newton@linaro.org>
22946 * benchtests/Makefile (extra-objs): Add json-lib.o.
22947 (bench-func): Tidy up JSON output.
22948 * benchtests/bench-skeleton.c: Include json-lib.h.
22949 (main): Use JSON library functions to do output of
22951 * benchtests/bench-timing-type.c (main): Output the
22952 timing type simply, leaving formatting to the user.
22953 * benchtests/json-lib.c: New file.
22954 * benchtests/json-lib.h: Likewise.
22956 2014-04-11 Torvald Riegel <triegel@redhat.com>
22959 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22960 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22961 memory barriers. Add comments.
22962 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22963 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22964 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22965 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22966 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22967 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22969 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22971 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22972 * sysdeps/s390/s390-64/configure.ac: ... this ...
22973 * sysdeps/s390/configure.ac: ... to here.
22974 * sysdeps/s390/s390-32/configure: Delete file.
22975 * sysdeps/s390/s390-64/configure: Delete file.
22976 * sysdeps/s390/configure: Regenerate.
22978 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22980 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22982 2014-04-11 Will Newton <will.newton@linaro.org>
22984 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22985 to zero if it is not defined elsewhere. (mtrim): Test
22986 the value of MALLOC_DEBUG with #if rather than #ifdef.
22988 2014-04-10 Torvald Riegel <triegel@redhat.com>
22990 * benchtests/pthread_once-inputs: New file.
22991 * benchtests/pthread_once-source.c: New file.
22992 * benchtests/README: Update documentation.
22994 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22995 H.J. Lu <hongjiu.lu@intel.com>
22998 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22999 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23000 * sysdeps/x86_64/configure: Regenerated.
23001 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23003 (REGISTER_SAVE_RAX): Likewise.
23004 (REGISTER_SAVE_RCX): Likewise.
23005 (REGISTER_SAVE_RDX): Likewise.
23006 (REGISTER_SAVE_RSI): Likewise.
23007 (REGISTER_SAVE_RDI): Likewise.
23008 (REGISTER_SAVE_R8): Likewise.
23009 (REGISTER_SAVE_R9): Likewise.
23010 (REGISTER_SAVE_BND0): Likewise.
23011 (REGISTER_SAVE_BND1): Likewise.
23012 (REGISTER_SAVE_BND2): Likewise.
23013 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23014 bound registers when calling _dl_fixup.
23016 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23018 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23019 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23021 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23022 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23023 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23024 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23025 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23026 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23027 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23029 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23032 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23033 pathconf(_PC_NAME_MAX).
23035 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23037 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23038 Remove macro usage.
23039 (__PTHREAD_SPINS): Move definition to ...
23040 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23041 (__PTHREAD_SPINS): ... here.
23042 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23043 (__PTHREAD_SPIN): Likewise.
23044 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23045 (__PTHREAD_SPIN): Likewise.
23046 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23047 (__PTHREAD_SPIN): Likewise.
23048 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23049 (__PTHREAD_SPIN): Likewise.
23050 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23051 (__PTHREAD_SPIN): Likewise.
23052 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23053 (__PTHREAD_SPIN): Likewise.
23054 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23055 (__PTHREAD_SPIN): Likewise.
23056 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23057 (__PTHREAD_SPIN): Likewise.
23058 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23059 (__PTHREAD_SPIN): Likewise.
23060 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23061 (__PTHREAD_SPIN): Likewise.
23062 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23063 (__PTHREAD_SPIN): Likewise.
23064 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23065 (__PTHREAD_SPIN): Likewise.
23067 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23068 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23069 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23070 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23072 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23073 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23074 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23075 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23076 correct imply path.
23077 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23078 strlen symbol for non multi-arch builds.
23079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23080 missing hidden_def and weak_alias.
23082 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23084 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23086 2014-04-07 Will Newton <will.newton@linaro.org>
23088 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23089 and contents. [!_LIBC] Remove #ifndef and contents.
23090 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23091 * string/memccpy.c (__memccpy): Use ANSI prototype.
23092 * string/memfrob.c (memfrob): Likewise.
23093 * string/strcoll.c (STRCOLL): Likewise.
23094 * string/strlen.c (strlen): Likewise.
23095 * string/strtok.c (STRTOK): Likewise.
23096 * string/strcat.c: Remove unused #include of memcopy.h.
23097 (strcat): Use ANSI prototype.
23098 * string/strchr.c: Remove unused #include of memcopy.h.
23099 (strchr): Use ANSI prototype.
23100 * string/strcmp.c: Remove unused #include of memcopy.h.
23101 (strcmp): Use ANSI prototype.
23102 * string/strcpy.c: Remove unused #include of memcopy.h.
23103 (strcpy): Use ANSI prototype.
23105 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23107 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23108 * config.make.in (config-extra-cppflags): Set it from
23109 libc_extra_cppflags.
23110 * configure.ac (libc_extra_cflags): Make it accumulate over
23111 configure fragments.
23112 (libc_extra_cppflags): New flag.
23113 * configure. Regenerate.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23115 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23116 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23120 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23121 result for FE_DOWNWARD rounding mode.
23122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23126 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23128 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23129 in function argument name.
23131 2014-04-03 David Svoboda <svoboda@cert.org>
23134 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23137 2014-04-03 Roland McGrath <roland@hack.frob.com>
23139 * elf/dl-unmap-segments.h: New file.
23140 * sysdeps/generic/ldsodefs.h
23141 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23142 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23143 * elf/dl-fptr.c: Likewise.
23144 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23145 * sysdeps/aarch64/tlsdesc.c: Likewise.
23146 * sysdeps/arm/tlsdesc.c: Likewise.
23147 * sysdeps/i386/tlsdesc.c: Likewise.
23148 * sysdeps/tile/dl-runtime.c: Likewise.
23149 * sysdeps/x86_64/tlsdesc.c: Likewise.
23150 * elf/dl-load.h: New file.
23151 * elf/dl-load.c: Include it.
23152 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23153 Macros moved to dl-load.h.
23154 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23155 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23156 Use _dl_unmap_segments in place of __munmap.
23157 Break out segment-mapping loop into ...
23158 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23160 2014-04-03 Will Newton <will.newton@linaro.org>
23162 * elf/dl-lookup.c (do_lookup_x): Remove comment
23163 referring to nested function and move variable
23164 declarations down to before first use.
23166 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23170 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23172 * math/s_catanf.c (__catanf): Likewise.
23173 * math/s_catanh.c (__catanh): Likewise.
23174 * math/s_catanhf.c (__catanhf): Likewise.
23175 * math/s_catanhl.c (__catanhl): Likewise.
23176 * math/s_catanl.c (__catanl): Likewise.
23177 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23178 by positive zero when computing -Inf result.
23179 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23180 (catanh_test): Likewise.
23181 * sysdeps/i386/fpu/libm-test-ulps: Update.
23182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23185 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23186 instead of using underflowing value in computing result.
23187 * math/s_clog10.c (__clog10): Likewise.
23188 * math/s_clog10f.c (__clog10f): Likewise.
23189 * math/s_clog10l.c (__clog10l): Likewise.
23190 * math/s_clogf.c (__clogf): Likewise.
23191 * math/s_clogl.c (__clogl): Likewise.
23192 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23193 (clog10_test): Likewise.
23194 * sysdeps/i386/fpu/libm-test-ulps: Update.
23195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23197 2014-04-02 Alan Modra <amodra@gmail.com>
23200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23201 output when value is near a power of two. Use int64_t for lx and
23202 remove casts. Use decimal rather than hex exponent constants.
23203 Don't use long double multiplication when double will suffice.
23204 * math/libm-test.inc (nextafter_test_data): Add tests.
23205 * NEWS: Add 16739 and 16786 to bug list.
23207 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23209 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23211 2014-04-01 Will Newton <will.newton@linaro.org>
23213 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23214 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23216 2014-04-01 Florian Weimer <fweimer@redhat.com>
23219 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23220 * nptl/tst-setuid2.c: New file.
23221 * nptl/Makefile (xtests): Add tst-setuid2.
23223 2014-04-01 Alan Modra <amodra@gmail.com>
23226 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23228 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23232 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23233 set errno as appropriate.
23234 * math/w_scalbf.c (__scalbf): Likewise.
23235 * math/w_scalbl.c (__scalbl): Likewise.
23236 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23237 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23238 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23239 Add more NaN tests.
23242 * math/w_atan2.c: Include <errno.h>.
23243 (__atan2): Set errno for result underflowing to zero.
23244 * math/w_atan2f.c: Include <errno.h>.
23245 (__atan2f): Set errno for result underflowing to zero.
23246 * math/w_atan2l.c: Include <errno.h>.
23247 (__atan2l): Set errno for result underflowing to zero.
23248 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23250 * math/auto-libm-test-out: Regenerated.
23252 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23254 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23255 Encode instruction correctly in little endian.
23256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23265 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23268 * sysdeps/unix/sysv/linux/kernel-features.h
23269 [__sparc__ && !__arch64__ && !__sparc_v9__]
23270 (__ASSUME_SET_ROBUST_LIST): Do not define.
23271 [__sparc__ && !__arch64__ && !__sparc_v9__]
23272 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23273 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23275 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23276 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23277 (__ASSUME_REQUEUE_PI): Likewise.
23278 (__ASSUME_SET_ROBUST_LIST): Likewise.
23279 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23280 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23283 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23285 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23287 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23289 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23290 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23292 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23293 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23298 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23299 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23301 2014-03-31 Will Newton <will.newton@linaro.org>
23303 * benchtests/Makefile (bench): Add ffs and ffsll to list
23305 * benchtests/ffs-inputs: New file.
23306 * benchtests/ffsll-inputs: Likewise.
23308 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23311 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23312 too large before casting to int.
23313 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23314 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23315 * math/libm-test.inc (scalb_test_data): Add more tests.
23317 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23319 * benchtests/Makefile (DETAILED_OPT): New make option.
23320 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23322 * benchtests/bench-skeleton.c: Include stdbool.h.
23323 (main): Store and print timings per input.
23324 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23325 member to each argument value.
23326 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23327 (_print_arg_data): Initialize per-input timing to 0.
23329 * benchtests/Makefile (timing-type): New binary.
23330 (bench-clean): Also remove bench-timing-type.
23331 (bench): New target for timing-type.
23332 (bench-func): Print output in JSON format.
23333 * benchtests/bench-skeleton.c (main): Print output in JSON
23335 * benchtests/bench-timing-type.c: New file.
23336 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23337 (TIMING_PRINT_STATS): Remove.
23338 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23341 * benchtests/bench-modf.c: Remove.
23342 * benchtests/modf-inputs: New inputs file.
23344 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23347 * math/s_clog10.c (M_PI_LOG10E): New macro.
23348 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23349 imaginary parts are 0.
23350 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23351 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23352 imaginary parts are 0.
23353 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23354 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23355 imaginary parts are 0.
23356 * math/libm-test.inc (clog10_test_data): Update expected results
23357 for when real and imaginary parts are 0.
23359 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23361 * elf/dl-load.c: Finish conversion of __builtin_expect into
23362 __glibc_{un}likely.
23364 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23367 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23368 1+x for argument with exponent below -67.
23369 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23371 * math/auto-libm-test-in: Add more tests of exp.
23372 * math/auto-libm-test-out: Regenerated.
23374 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23377 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23378 (nscd_getnetgrent): Use it.
23381 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23384 2014-03-27 Andi Kleen <ak@linux.intel.com>
23386 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23387 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23388 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23389 (lll_robust_unlock): Remove out of line section. Use cfi
23391 (LLL_STUB_UNWIND_INFO*): Remove.
23392 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23393 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23394 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23395 (lll_robust_unlock): Remove out of line section. Use cfi
23397 (LLL_STUB_UNWIND_INFO*): Remove.
23399 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23402 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23405 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23407 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23409 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23412 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23414 * math/test-fenv-preserve.c: New file.
23415 * math/Makefile (tests): Add test-fenv-preserve.
23417 2014-03-26 Will Newton <will.newton@linaro.org>
23419 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23421 2014-03-25 Roland McGrath <roland@hack.frob.com>
23423 * scripts/versionlist.awk: Partition the version sets and emit all
23424 GLIBC_* (sorted) before all others (sorted).
23426 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23428 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23429 GLIBC_2.2.5 version.
23431 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23433 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23436 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23441 2014-03-25 Andreas Schwab <schwab@suse.de>
23443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23444 label to be used after in6ailist is initialized.
23446 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23448 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23449 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23451 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23455 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23457 (fp_formats): Update initializers.
23458 (init_fp_formats): Initialize new field.
23459 (output_for_one_input_case): Allow underflow for results up to
23461 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23462 * math/auto-libm-test-in: Don't mark some underflows from asin and
23464 * math/auto-libm-test-out: Regenerated.
23465 * sysdeps/i386/fpu/libm-test-ulps: Update.
23466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23468 2014-03-25 Andreas Schwab <schwab@suse.de>
23470 * libio/Makefile (tst-ftell-partial-wide-ENV)
23471 (tst-ftell-active-handler-ENV): Define.
23473 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23475 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23477 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23479 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23481 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23484 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23485 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23487 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23490 * elf/dl-load.c (open_verify): Add mode parameter.
23491 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23492 (open_path): Change from boolean 'secure' to complete flag 'mode'
23493 (_dl_map_object): Adjust.
23494 * elf/Makefile (tests): Add tst-dlopen-aout.
23495 * elf/tst-dlopen-aout.c: New test.
23497 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23500 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23501 (struct stat): Rename member pad0 to __glibc_reserved0.
23504 * sysdeps/s390/s390-32/bits/wordsize.h
23505 (__WORDSIZE32_SIZE_ULONG): New define.
23506 * sysdeps/s390/s390-64/bits/wordsize.h
23507 (__WORDSIZE32_SIZE_ULONG): Likewise.
23508 * sysdeps/generic/stdint.h (SIZE_MAX):
23509 Define as UL if __WORDSIZE32_SIZE_ULONG.
23512 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23513 (__glibc_reserved0): New variable.
23514 (sa_flags): Change type to int.
23516 * posix/Makefile (before-compile): Use += before-compile instead
23519 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23520 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23522 2014-03-20 Andreas Schwab <schwab@suse.de>
23525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23526 non-matching result from nscd.
23528 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23530 * scripts/bench.py: Moved to ...
23531 * benchtests/scripts/bench.py: ... here.
23532 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23534 2014-03-24 Andreas Schwab <schwab@suse.de>
23537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23538 alloca_account and account alloca use for struct in6ailist.
23540 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23543 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23544 rounding mode to recompute results that overflow to infinity or
23546 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23548 * math/auto-libm-test-out: Regenerated.
23549 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23550 (ccosh_test): Likewise.
23551 (csin_test_data): Use plus_oflow.
23552 (csin_test): Use ALL_RM_TEST.
23553 (csinh_test_data): Use plus_oflow.
23554 (csinh_test): Use ALL_RM_TEST.
23555 * sysdeps/i386/fpu/libm-test-ulps: Update.
23556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23558 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23560 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23561 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23562 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23565 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23566 when x - 1 is zero.
23567 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23568 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23569 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23570 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23572 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23573 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23575 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23576 * sysdeps/i386/fpu/libm-test-ulps: Update.
23577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23579 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23581 * scripts/bench.pl: Remove file.
23582 * scripts/bench.py: New benchmark script.
23583 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23584 * benchtests/README: Mention python dependency.
23585 * scripts/pylintrc: New file.
23586 * scripts/pylint: New file.
23588 * bits/mathdef.h: Use #ifdef instead of #if.
23589 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23590 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23591 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23592 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23593 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23594 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23596 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23597 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23599 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23601 and strpbrk-ppc64 objects.
23602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23603 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23604 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23605 multiarch strpbrk for POWER7.
23606 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23607 multiarch strpbrk for PPC64.
23608 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23610 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23611 strpbrk for POWER7.
23613 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23615 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23616 (atan_test): Likewise.
23617 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23618 (atanh_test): Use ALL_RM_TEST.
23619 (atan2_test_data): Likewise.
23620 (cabs_test): Likewise.
23621 (cacosh_test): Likewise.
23622 (carg_test): Likewise.
23623 (casin_test): Likewise.
23624 (casinh_test): Likewise.
23625 (cbrt_test): Likewise.
23626 (csqrt_test): Likewise.
23627 (erf_test): Likewise.
23628 (erfc_test): Likewise.
23629 (pow10_test): Likewise.
23630 (exp2_test): Likewise.
23631 (hypot_test): Likewise.
23632 (j0_test): Likewise.
23633 (j1_test): Likewise.
23634 (lgamma_test): Likewise.
23635 (gamma_test): Likewise.
23636 (sincos_test): Likewise.
23637 (tanh_test): Likewise.
23638 (y0_test): Likewise.
23639 (y1_test): Likewise.
23640 * sysdeps/i386/fpu/libm-test-ulps: Update.
23641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23643 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23645 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23647 and strcspn-ppc64 objects.
23648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23649 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23650 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23651 multiarch strcspn for POWER7.
23652 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23653 multiarch strcspn for PPC64.
23654 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23656 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23657 strcspn for POWER7.
23659 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23661 * math/gen-libm-test.pl (generate_testfile): Expect only function
23662 name as argument to AUTO_TESTS_* and pass results for all rounding
23663 modes to parse_args.
23664 (parse_auto_input): Separate inputs of automatic tests from
23665 outputs before storing in %auto_tests.
23666 * math/libm-test.inc (acos_test_data): Update call to
23668 (acos_test): Use ALL_RM_TEST.
23669 (acos_tonearest_test_data): Remove.
23670 (acos_test_tonearest): Likewise.
23671 (acos_towardzero_test_data): Likewise.
23672 (acos_test_towardzero): Likewise.
23673 (acos_downward_test_data): Likewise.
23674 (acos_test_downward): Likewise.
23675 (acos_upward_test_data): Likewise.
23676 (acos_test_upward): Likewise.
23677 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23678 (asin_test_data): Likewise.
23679 (asin_test): Use ALL_RM_TEST.
23680 (asin_tonearest_test_data): Remove.
23681 (asin_test_tonearest): Likewise.
23682 (asin_towardzero_test_data): Likewise.
23683 (asin_test_towardzero): Likewise.
23684 (asin_downward_test_data): Likewise.
23685 (asin_test_downward): Likewise.
23686 (asin_upward_test_data): Likewise.
23687 (asin_test_upward): Likewise.
23688 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23689 (atan_test_data): Likewise.
23690 (atanh_test_data): Likewise.
23691 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23692 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23693 (carg_test_data): Likewise.
23694 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23695 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23696 (ccosh_test_data): Likewise.
23697 (cexp_test_data): Likewise.
23698 (clog_test_data): Likewise.
23699 (clog10_test_data): Likewise.
23700 (cos_test_data): Update call to AUTO_TESTS_f_f.
23701 (cos_test): Use ALL_RM_TEST.
23702 (cos_tonearest_test_data): Remove.
23703 (cos_test_tonearest): Likewise.
23704 (cos_towardzero_test_data): Likewise.
23705 (cos_test_towardzero): Likewise.
23706 (cos_downward_test_data): Likewise.
23707 (cos_test_downward): Likewise.
23708 (cos_upward_test_data): Likewise.
23709 (cos_test_upward): Likewise.
23710 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23711 (cosh_test): Use ALL_RM_TEST.
23712 (cosh_tonearest_test_data): Remove.
23713 (cosh_test_tonearest): Likewise.
23714 (cosh_towardzero_test_data): Likewise.
23715 (cosh_test_towardzero): Likewise.
23716 (cosh_downward_test_data): Likewise.
23717 (cosh_test_downward): Likewise.
23718 (cosh_upward_test_data): Likewise.
23719 (cosh_test_upward): Likewise.
23720 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23721 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23722 (ctan_test_data): Likewise.
23723 (ctan_test): Use ALL_RM_TEST.
23724 (ctan_tonearest_test_data): Remove.
23725 (ctan_test_tonearest): Likewise.
23726 (ctan_towardzero_test_data): Likewise.
23727 (ctan_test_towardzero): Likewise.
23728 (ctan_downward_test_data): Likewise.
23729 (ctan_test_downward): Likewise.
23730 (ctan_upward_test_data): Likewise.
23731 (ctan_test_upward): Likewise.
23732 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23733 (ctanh_test): Use ALL_RM_TEST.
23734 (ctanh_tonearest_test_data): Remove.
23735 (ctanh_test_tonearest): Likewise.
23736 (ctanh_towardzero_test_data): Likewise.
23737 (ctanh_test_towardzero): Likewise.
23738 (ctanh_downward_test_data): Likewise.
23739 (ctanh_test_downward): Likewise.
23740 (ctanh_upward_test_data): Likewise.
23741 (ctanh_test_upward): Likewise.
23742 (erf_test_data): Update call to AUTO_TESTS_f_f.
23743 (erfc_test_data): Likewise.
23744 (exp_test_data): Likewise.
23745 (exp_test): Use ALL_RM_TEST.
23746 (exp_tonearest_test_data): Remove.
23747 (exp_test_tonearest): Likewise.
23748 (exp_towardzero_test_data): Likewise.
23749 (exp_test_towardzero): Likewise.
23750 (exp_downward_test_data): Likewise.
23751 (exp_test_downward): Likewise.
23752 (exp_upward_test_data): Likewise.
23753 (exp_test_upward): Likewise.
23754 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23755 (exp10_test): Use ALL_RM_TEST.
23756 (exp10_tonearest_test_data): Remove.
23757 (exp10_test_tonearest): Likewise.
23758 (exp10_towardzero_test_data): Likewise.
23759 (exp10_test_towardzero): Likewise.
23760 (exp10_downward_test_data): Likewise.
23761 (exp10_test_downward): Likewise.
23762 (exp10_upward_test_data): Likewise.
23763 (exp10_test_upward): Likewise.
23764 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23765 (expm1_test_data): Likewise.
23766 (expm1_test): Use ALL_RM_TEST.
23767 (expm1_tonearest_test_data): Remove.
23768 (expm1_test_tonearest): Likewise.
23769 (expm1_towardzero_test_data): Likewise.
23770 (expm1_test_towardzero): Likewise.
23771 (expm1_downward_test_data): Likewise.
23772 (expm1_test_downward): Likewise.
23773 (expm1_upward_test_data): Likewise.
23774 (expm1_test_upward): Likewise.
23775 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23776 (fma_test): Use ALL_RM_TEST.
23777 (fma_towardzero_test_data): Remove.
23778 (fma_test_towardzero): Likewise.
23779 (fma_downward_test_data): Likewise.
23780 (fma_test_downward): Likewise.
23781 (fma_upward_test_data): Likewise.
23782 (fma_test_upward): Likewise.
23783 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23784 (j0_test_data): Update call to AUTO_TESTS_f_f.
23785 (j1_test_data): Likewise.
23786 (jn_test_data): Update call to AUTO_TESTS_if_f.
23787 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23788 (log_test_data): Update call to AUTO_TESTS_f_f.
23789 (log10_test_data): Likewise.
23790 (log1p_test_data): Likewise.
23791 (log2_test_data): Likewise.
23792 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23793 (pow_tonearest_test_data): Likewise.
23794 (sin_test_data): Update call to AUTO_TESTS_f_f.
23795 (sin_test): Use ALL_RM_TEST.
23796 (sin_tonearest_test_data): Remove.
23797 (sin_test_tonearest): Likewise.
23798 (sin_towardzero_test_data): Likewise.
23799 (sin_test_towardzero): Likewise.
23800 (sin_downward_test_data): Likewise.
23801 (sin_test_downward): Likewise.
23802 (sin_upward_test_data): Likewise.
23803 (sin_test_upward): Likewise.
23804 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23805 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23806 (sinh_test): Use ALL_RM_TEST.
23807 (sinh_tonearest_test_data): Remove.
23808 (sinh_test_tonearest): Likewise.
23809 (sinh_towardzero_test_data): Likewise.
23810 (sinh_test_towardzero): Likewise.
23811 (sinh_downward_test_data): Likewise.
23812 (sinh_test_downward): Likewise.
23813 (sinh_upward_test_data): Likewise.
23814 (sinh_test_upward): Likewise.
23815 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23816 (sqrt_test): Use ALL_RM_TEST.
23817 (sqrt_tonearest_test_data): Remove.
23818 (sqrt_test_tonearest): Likewise.
23819 (sqrt_towardzero_test_data): Likewise.
23820 (sqrt_test_towardzero): Likewise.
23821 (sqrt_downward_test_data): Likewise.
23822 (sqrt_test_downward): Likewise.
23823 (sqrt_upward_test_data): Likewise.
23824 (sqrt_test_upward): Likewise.
23825 (tan_test_data): Update call to AUTO_TESTS_f_f.
23826 (tan_test): Use ALL_RM_TEST.
23827 (tan_tonearest_test_data): Remove.
23828 (tan_test_tonearest): Likewise.
23829 (tan_towardzero_test_data): Likewise.
23830 (tan_test_towardzero): Likewise.
23831 (tan_downward_test_data): Likewise.
23832 (tan_test_downward): Likewise.
23833 (tan_upward_test_data): Likewise.
23834 (tan_test_upward): Likewise.
23835 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23836 (tgamma_test_data): Likewise.
23837 (y0_test_data): Likewise.
23838 (y1_test_data): Likewise.
23839 (yn_test_data): Update call to AUTO_TESTS_if_f.
23840 (main): Do not call removed functions.
23842 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23844 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23845 (ldexp_test_data): Remove.
23846 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23848 (scalb_test): Use ALL_RM_TEST.
23850 2014-03-19 Andreas Schwab <schwab@suse.de>
23852 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23854 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23858 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23861 (__ASSUME_PREADV): Undefine.
23862 (__ASSUME_PWRITEV): Likewise.
23864 2014-03-18 Roland McGrath <roland@hack.frob.com>
23866 * bits/mman-linux.h: Add comment about non-Linux use.
23867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23868 bits/mman-linux.h resting place.
23870 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23871 * bits/mman-linux.h: ... here.
23873 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23875 * conform/conformtest.pl: Add standard definition when calling C
23876 preprocessor on data files.
23877 (checknamespace): Remove unused variable.
23879 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23881 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23882 minus_oflow, plus_uflow and minus_uflow in expected results.
23883 * math/libm-test.inc (scalbn_test_data): Add more tests of
23884 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23886 (scalbn_test): Use ALL_RM_TEST.
23887 (scalbln_test_data): Add more tests of negative arguments. Use
23888 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23889 (scalbln_test): Use ALL_RM_TEST.
23891 2014-03-18 Roland McGrath <roland@hack.frob.com>
23893 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23895 2014-03-18 Will Newton <will.newton@linaro.org>
23897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23898 inaccurate comment.
23900 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23902 * Makerules [!subdir] (check-abi): Exit with error status if a
23905 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23907 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23908 for rint. Include results for all rounding modes.
23909 (nearbyint_test): Use ALL_RM_TEST.
23910 (rint_test_data): Include all tests used for nearbyint.
23912 2014-03-17 Will Newton <will.newton@linaro.org>
23914 * nptl/sysdeps/pthread/pthread.h: Revert previous
23917 * sysdeps/generic/ldsodefs.h: Revert previous
23920 * libio/genops.c: Revert previous change.
23921 * libio/libioP.h: Likewise.
23922 * stdio-common/vfprintf.c: Likewise.
23924 * sysdeps/generic/math_private.h: Revert previous
23927 * sysdeps/generic/math_private.h: Check whether
23928 HAVE_RM_CTX is defined with #ifdef rather
23931 * argp/argp-fmtstream.h: Check whether
23932 __STRICT_ANSI__ is defined with #ifdef rather
23934 * argp/argp.h: Likewise.
23936 * libio/genops.c: Check whether
23937 _IO_JUMPS_OFFSET is defined with #ifdef rather
23939 * libio/libioP.h: Likewise.
23940 * stdio-common/vfprintf.c: Likewise.
23942 * sysdeps/generic/ldsodefs.h: Check whether
23943 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23946 * nptl/sysdeps/pthread/pthread.h: Check
23947 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23950 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23952 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23954 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23958 * libio/fileops.c (_IO_file_open): Seek to end of file but
23959 don't cache the offset.
23960 (get_file_offset): Remove function.
23961 (do_ftell): Use cached offset when available.
23962 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23963 don't cache the offset.
23964 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23966 (do_one_test): Call it.
23967 (do_ftell_test): Fix up expected old offset for a+ mode.
23968 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23971 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23972 up test status with function return status.
23973 (do_write_test): Likewise.
23974 (do_append_test): Likewise.
23976 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23977 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23980 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23982 * math/gen-libm-test.pl (parse_args): Handle results specified for
23983 each rounding mode separately.
23984 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23985 tests and results from lrint_tonearest_test_data,
23986 lrint_towardzero_test_data, lrint_downward_test_data and
23987 lrint_upward_test_data.
23988 (lrint_test): Use ALL_RM_TEST.
23989 (lrint_tonearest_test_data): Remove.
23990 (lrint_test_tonearest): Likewise.
23991 (lrint_towardzero_test_data): Likewise.
23992 (lrint_test_towardzero): Likewise.
23993 (lrint_downward_test_data): Likewise.
23994 (lrint_test_downward): Likewise.
23995 (lrint_upward_test_data): Likewise.
23996 (lrint_test_upward): Likewise.
23997 (llrint_test_data): Merge in per-rounding-mode tests and results
23998 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23999 llrint_downward_test_data and llrint_upward_test_data.
24000 (llrint_test): Use ALL_RM_TEST.
24001 (llrint_tonearest_test_data): Remove.
24002 (llrint_test_tonearest): Likewise.
24003 (llrint_towardzero_test_data): Likewise.
24004 (llrint_test_towardzero): Likewise.
24005 (llrint_downward_test_data): Likewise.
24006 (llrint_test_downward): Likewise.
24007 (llrint_upward_test_data): Likewise.
24008 (llrint_test_upward): Likewise.
24009 (rint_test_data): Merge in per-rounding-mode tests and results
24010 from rint_tonearest_test_data, rint_towardzero_test_data,
24011 rint_downward_test_data and rint_upward_test_data. Add
24012 per-rounding-mode results for tests not in those arrays.
24013 (rint_test): Use ALL_RM_TEST.
24014 (rint_tonearest_test_data): Remove.
24015 (rint_test_tonearest): Likewise.
24016 (rint_towardzero_test_data): Likewise.
24017 (rint_test_towardzero): Likewise.
24018 (rint_downward_test_data): Likewise.
24019 (rint_test_downward): Likewise.
24020 (rint_upward_test_data): Likewise.
24021 (rint_test_upward): Likewise.
24022 (main): Don't call removed functions.
24024 2014-03-14 Roland McGrath <roland@hack.frob.com>
24026 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24027 "Compiled on ..." crapola. It is anti-useful.
24029 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24031 * scripts/evaluate-test.sh: Handle fourth argument to determine
24032 whether test run should stop on failure.
24033 * Makeconfig (stop-on-test-failure): New variable.
24034 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24035 $(stop-on-test-failure).
24036 * Makefile (tests): Give a summary of results from testing and
24037 exit with failure status if they include an ERROR or FAIL.
24038 (xtests): Likewise.
24039 * manual/install.texi (Configuring and compiling): Mention
24040 stop-on-test-failure=y.
24041 * INSTALL: Regenerated.
24043 2014-03-14 Roland McGrath <roland@hack.frob.com>
24045 * scripts/versionlist.awk: New file.
24046 * Makerules [$(build-shared) = yes]
24047 (postclean-generated): Add Versions.def, not Versions.def.v and
24049 ($(common-objpfx)Versions.def.v.i): Target removed.
24050 ($(common-objpfx)Versions.def): New target.
24051 ($(common-objpfx)Versions.all): Depend on that rather that
24052 $(common-objpfx)Versions.def.v.
24053 * Versions.def: File removed.
24055 * Makeconfig (+gccwarn): Add -Wundef.
24056 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24057 a dl-sysdep.h breaking its contract.
24058 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24059 * include/stackinfo.h: New file.
24060 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24061 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24062 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24063 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24064 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24065 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24066 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24067 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24068 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24069 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24070 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24071 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24072 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24073 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24074 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24076 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24079 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24081 * math/libm-test.inc (round_test_data): Add more tests.
24084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24086 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24089 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24091 * math/libm-test.inc (ceil_test_data): Add more tests.
24093 * math/libm-test.inc (trunc_test_data): Add more tests related to
24096 2014-03-14 Roland McGrath <roland@hack.frob.com>
24098 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24099 with #if rather than #ifdef.
24100 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24102 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24104 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24105 first. Disable AVX-512 GCC support if assembler doesn't support
24107 * sysdeps/x86_64/configure: Regenerated.
24109 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24111 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24112 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24113 (__old_pthread_attr_setstack): Likewise.
24114 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24115 [!_STACK_GROWS_DOWN]: Likewise.
24117 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24119 * config.make.in (have-bash2): Delete.
24120 * configure.ac (libc_cv_have_bash2): Delete.
24121 * configure: Regenerate.
24122 * elf/Makefile (common-ldd-rewrite): Rename to ...
24123 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24124 (sh-ldd-rewrite): Delete.
24125 (bash-ldd-rewrite): Delete.
24126 (have-bash2): Delete checks.
24127 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24130 * config.make.in (have-ksh): Delete.
24132 * configure.ac (libc_cv_have_ksh): Delete.
24133 * configure: Regenerate.
24135 * elf/Makefile: Delete $(have-ksh) check.
24136 ($(objpfx)sotruss): Change KSH to BASH.
24137 * elf/sotruss.ksh: Rename to ...
24138 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24139 function style to match POSIX. Drop ksh vim mode setting.
24141 * manual/time.texi (Specifying the Time Zone with TZ): Change
24142 Tuesday to Thursday.
24144 * debug/tst-longjmp_chk2.c: Update header comment.
24145 (stackoverflow_handler): Add comment. Call assert on pass value.
24147 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24150 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24151 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24152 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24153 (La_x86_64_vector): Add zmm.
24154 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24155 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24156 ($(objpfx)tst-audit10): New target.
24157 ($(objpfx)tst-audit10.out): Likewise.
24158 (tst-audit10-ENV): New.
24159 (AVX512-CFLAGS): Likewise.
24160 (CFLAGS-tst-audit10.c): Likewise.
24161 (CFLAGS-tst-auditmod10a.c): Likewise.
24162 (CFLAGS-tst-auditmod10b.c): Likewise.
24163 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24164 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24165 * sysdeps/x86_64/configure: Regenerated.
24166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24167 AVX-512 zmm register support.
24168 (_dl_x86_64_save_sse): Likewise.
24169 (_dl_x86_64_restore_sse): Likewise.
24170 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24171 size vector registers.
24172 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24173 (ZMM_SIZE): Likewise.
24174 * sysdeps/x86_64/tst-audit10.c: New file.
24175 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24176 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24178 2014-03-13 Roland McGrath <roland@hack.frob.com>
24180 * configure.ac (HAVE_EHDR_START): New check.
24181 * configure: Regenerated.
24182 * config.h.in (HAVE_EHDR_START): New #undef.
24183 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24184 assuming the lowest-addressed segment maps the start of the file.
24186 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24188 * INSTALL: Regenerated.
24190 2014-03-13 Will Newton <will.newton@linaro.org>
24192 * manual/setjmp.texi (System V contexts): Improve
24193 clarity and grammar of documentation.
24195 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24198 * elf/Makefile (tests): Add tst-pie2.
24199 (tests-pie): Add tst-pie2.
24200 * elf/tst-pie2.c: New file.
24201 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24203 * elf/rtld.c (map_doit): Load executable as lt_executable.
24204 (dl_main): Likewise.
24206 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24210 (__ASSUME_PSELECT): Undefine.
24212 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24215 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24216 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24218 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24219 selector for static builds.
24221 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24224 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24227 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24229 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24230 IFUNC selector for static builds.
24232 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24234 * sysdeps/mips/math_private.h [__mips_hard_float]
24235 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24236 libc_feresetround_mips_ctx.
24237 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24238 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24239 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24242 * math/s_nextafter.c (__nextafter): Do not return value from
24243 overflowing computation.
24244 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24245 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24246 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24248 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24250 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24251 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24253 2014-03-11 Roland McGrath <roland@hack.frob.com>
24255 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24256 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24257 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24258 the new mov targetting sp.
24260 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24263 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24264 Define it for static builds as well.
24265 (NO_BZERO_IMPL): Likewise.
24267 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24269 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24270 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24271 multiarch strspn for PPC64.
24272 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24273 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24275 (__libc_ifunc_impl_list): Likewise.
24276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24277 multiarch optimizations
24278 * string/strspn.c (strspn): Using macro to redefine symbol name.
24280 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24281 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24283 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24284 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24285 multiarch strncat for PPC64.
24286 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24287 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24289 (__libc_ifunc_impl_list): Likewise.
24290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24291 multiarch optimizations
24293 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24296 * nscd/nscd.service: Make service type forking.
24298 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24300 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24301 sign in non default rounding modes.
24302 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24304 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24306 * math/libm-test.inc (ALL_RM_TEST): New macro.
24307 (ceil_test): Use ALL_RM_TEST.
24308 (cimag_test): Likewise.
24309 (conj_test): Likewise.
24310 (copysign_test): Likewise.
24311 (cproj_test): Likewise.
24312 (creal_test): Likewise.
24313 (fabs_test): Likewise.
24314 (floor_test): Likewise.
24315 (fmax_test): Likewise.
24316 (fmin_test): Likewise.
24317 (fmod_test): Likewise.
24318 (fpclassify_test): Likewise.
24319 (frexp_test): Likewise.
24320 (ilogb_test): Likewise.
24321 (isfinite_test): Likewise.
24322 (finite_test): Likewise.
24323 (isgreater_test): Likewise.
24324 (isgreaterequal_test): Likewise.
24325 (isinf_test): Likewise.
24326 (isless_test): Likewise.
24327 (islessequal_test): Likewise.
24328 (islessgreater_test): Likewise.
24329 (isnan_test): Likewise.
24330 (isnormal_test): Likewise.
24331 (issignaling_test): Likewise.
24332 (isunordered_test): Likewise.
24333 (logb_test): Likewise.
24334 (logb_downward_test_data): Remove.
24335 (logb_test_downward): Likewise.
24336 (lround_test): Use ALL_RM_TEST.
24337 (llround_test): Likewise.
24338 (modf_test): Likewise.
24339 (nexttoward_test): Likewise.
24340 (remainder_test): Likewise.
24341 (drem_test): Likewise.
24342 (remainder_tonearest_test_data): Likewise.
24343 (remainder_test_tonearest): Likewise.
24344 (drem_test_tonearest): Likewise.
24345 (remainder_towardzero_test_data): Likewise.
24346 (remainder_test_towardzero): Likewise.
24347 (drem_test_towardzero): Likewise.
24348 (remainder_downward_test_data): Likewise.
24349 (remainder_test_downward): Likewise.
24350 (drem_test_downward): Likewise.
24351 (remainder_upward_test_data): Likewise.
24352 (remainder_test_upward): Likewise.
24353 (drem_test_upward): Likewise.
24354 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24355 (round_test): Use ALL_RM_TEST.
24356 (signbit_test): Likewise.
24357 (trunc_test): Likewise.
24358 (significand_test): Likewise.
24359 (main): Don't call removed functions.
24361 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24364 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24365 || __USE_XOPEN2K8].
24366 (ILL_ILLOPN): Likewise.
24367 (ILL_ILLADR): Likewise.
24368 (ILL_ILLTRP): Likewise.
24369 (ILL_PRVOPC): Likewise.
24370 (ILL_PRVREG): Likewise.
24371 (ILL_COPROC): Likewise.
24372 (ILL_BADSTK): Likewise.
24373 (FPE_INTDIV): Likewise.
24374 (FPE_INTOVF): Likewise.
24375 (FPE_FLTDIV): Likewise.
24376 (FPE_FLTOVF): Likewise.
24377 (FPE_FLTUND): Likewise.
24378 (FPE_FLTRES): Likewise.
24379 (FPE_FLTINV): Likewise.
24380 (FPE_FLTSUB): Likewise.
24381 (SEGV_MAPERR): Likewise.
24382 (SEGV_ACCERR): Likewise.
24383 (BUS_ADRALN): Likewise.
24384 (BUS_ADRERR): Likewise.
24385 (BUS_OBJERR): Likewise.
24386 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24387 (TRAP_TRACE): Likewise.
24388 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24390 (CLD_KILLED): Likewise.
24391 (CLD_DUMPED): Likewise.
24392 (CLD_TRAPPED): Likewise.
24393 (CLD_STOPPED): Likewise.
24394 (CLD_CONTINUED): Likewise.
24395 (POLL_IN): Likewise.
24396 (POLL_OUT): Likewise.
24397 (POLL_MSG): Likewise.
24398 (POLL_ERR): Likewise.
24399 (POLL_PRI): Likewise.
24400 (POLL_HUP): Likewise.
24401 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24403 (ILL_ILLOPN): Likewise.
24404 (ILL_ILLADR): Likewise.
24405 (ILL_ILLTRP): Likewise.
24406 (ILL_PRVOPC): Likewise.
24407 (ILL_PRVREG): Likewise.
24408 (ILL_COPROC): Likewise.
24409 (ILL_BADSTK): Likewise.
24410 (FPE_INTDIV): Likewise.
24411 (FPE_INTOVF): Likewise.
24412 (FPE_FLTDIV): Likewise.
24413 (FPE_FLTOVF): Likewise.
24414 (FPE_FLTUND): Likewise.
24415 (FPE_FLTRES): Likewise.
24416 (FPE_FLTINV): Likewise.
24417 (FPE_FLTSUB): Likewise.
24418 (SEGV_MAPERR): Likewise.
24419 (SEGV_ACCERR): Likewise.
24420 (BUS_ADRALN): Likewise.
24421 (BUS_ADRERR): Likewise.
24422 (BUS_OBJERR): Likewise.
24423 (BUS_MCEERR_AR): Likewise.
24424 (BUS_MCEERR_AO): Likewise.
24425 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24426 (TRAP_TRACE): Likewise.
24427 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24429 (CLD_KILLED): Likewise.
24430 (CLD_DUMPED): Likewise.
24431 (CLD_TRAPPED): Likewise.
24432 (CLD_STOPPED): Likewise.
24433 (CLD_CONTINUED): Likewise.
24434 (POLL_IN): Likewise.
24435 (POLL_OUT): Likewise.
24436 (POLL_MSG): Likewise.
24437 (POLL_ERR): Likewise.
24438 (POLL_PRI): Likewise.
24439 (POLL_HUP): Likewise.
24440 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24441 (ILL_ILLOPN): Likewise.
24442 (ILL_ILLADR): Likewise.
24443 (ILL_ILLTRP): Likewise.
24444 (ILL_PRVOPC): Likewise.
24445 (ILL_PRVREG): Likewise.
24446 (ILL_COPROC): Likewise.
24447 (ILL_BADSTK): Likewise.
24448 (FPE_INTDIV): Likewise.
24449 (FPE_INTOVF): Likewise.
24450 (FPE_FLTDIV): Likewise.
24451 (FPE_FLTOVF): Likewise.
24452 (FPE_FLTUND): Likewise.
24453 (FPE_FLTRES): Likewise.
24454 (FPE_FLTINV): Likewise.
24455 (FPE_FLTSUB): Likewise.
24456 (SEGV_MAPERR): Likewise.
24457 (SEGV_ACCERR): Likewise.
24458 (BUS_ADRALN): Likewise.
24459 (BUS_ADRERR): Likewise.
24460 (BUS_OBJERR): Likewise.
24461 (BUS_MCEERR_AR): Likewise.
24462 (BUS_MCEERR_AO): Likewise.
24463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24464 (TRAP_TRACE): Likewise.
24465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24467 (CLD_KILLED): Likewise.
24468 (CLD_DUMPED): Likewise.
24469 (CLD_TRAPPED): Likewise.
24470 (CLD_STOPPED): Likewise.
24471 (CLD_CONTINUED): Likewise.
24472 (POLL_IN): Likewise.
24473 (POLL_OUT): Likewise.
24474 (POLL_MSG): Likewise.
24475 (POLL_ERR): Likewise.
24476 (POLL_PRI): Likewise.
24477 (POLL_HUP): Likewise.
24478 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24480 (ILL_ILLOPN): Likewise.
24481 (ILL_ILLADR): Likewise.
24482 (ILL_ILLTRP): Likewise.
24483 (ILL_PRVOPC): Likewise.
24484 (ILL_PRVREG): Likewise.
24485 (ILL_COPROC): Likewise.
24486 (ILL_BADSTK): Likewise.
24487 (ILL_BADIADDR): Likewise.
24488 (ILL_BREAK): Likewise.
24489 (FPE_INTDIV): Likewise.
24490 (FPE_INTOVF): Likewise.
24491 (FPE_FLTDIV): Likewise.
24492 (FPE_FLTOVF): Likewise.
24493 (FPE_FLTUND): Likewise.
24494 (FPE_FLTRES): Likewise.
24495 (FPE_FLTINV): Likewise.
24496 (FPE_FLTSUB): Likewise.
24497 (FPE_DECOVF): Likewise.
24498 (FPE_DECDIV): Likewise.
24499 (FPE_DECERR): Likewise.
24500 (FPE_INVASC): Likewise.
24501 (FPE_INVDEC): Likewise.
24502 (SEGV_MAPERR): Likewise.
24503 (SEGV_ACCERR): Likewise.
24504 (SEGV_PSTKOVF): Likewise.
24505 (BUS_ADRALN): Likewise.
24506 (BUS_ADRERR): Likewise.
24507 (BUS_OBJERR): Likewise.
24508 (BUS_MCEERR_AR): Likewise.
24509 (BUS_MCEERR_AO): Likewise.
24510 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24511 (TRAP_TRACE): Likewise.
24512 (TRAP_BRANCH): Likewise.
24513 (TRAP_HWBKPT): Likewise.
24514 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24516 (CLD_KILLED): Likewise.
24517 (CLD_DUMPED): Likewise.
24518 (CLD_TRAPPED): Likewise.
24519 (CLD_STOPPED): Likewise.
24520 (CLD_CONTINUED): Likewise.
24521 (POLL_IN): Likewise.
24522 (POLL_OUT): Likewise.
24523 (POLL_MSG): Likewise.
24524 (POLL_ERR): Likewise.
24525 (POLL_PRI): Likewise.
24526 (POLL_HUP): Likewise.
24527 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24528 (ILL_ILLOPN): Likewise.
24529 (ILL_ILLADR): Likewise.
24530 (ILL_ILLTRP): Likewise.
24531 (ILL_PRVOPC): Likewise.
24532 (ILL_PRVREG): Likewise.
24533 (ILL_COPROC): Likewise.
24534 (ILL_BADSTK): Likewise.
24535 (FPE_INTDIV): Likewise.
24536 (FPE_INTOVF): Likewise.
24537 (FPE_FLTDIV): Likewise.
24538 (FPE_FLTOVF): Likewise.
24539 (FPE_FLTUND): Likewise.
24540 (FPE_FLTRES): Likewise.
24541 (FPE_FLTINV): Likewise.
24542 (FPE_FLTSUB): Likewise.
24543 (SEGV_MAPERR): Likewise.
24544 (SEGV_ACCERR): Likewise.
24545 (BUS_ADRALN): Likewise.
24546 (BUS_ADRERR): Likewise.
24547 (BUS_OBJERR): Likewise.
24548 (BUS_MCEERR_AR): Likewise.
24549 (BUS_MCEERR_AO): Likewise.
24550 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24551 (TRAP_TRACE): Likewise.
24552 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24554 (CLD_KILLED): Likewise.
24555 (CLD_DUMPED): Likewise.
24556 (CLD_TRAPPED): Likewise.
24557 (CLD_STOPPED): Likewise.
24558 (CLD_CONTINUED): Likewise.
24559 (POLL_IN): Likewise.
24560 (POLL_OUT): Likewise.
24561 (POLL_MSG): Likewise.
24562 (POLL_ERR): Likewise.
24563 (POLL_PRI): Likewise.
24564 (POLL_HUP): Likewise.
24565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24566 (ILL_ILLOPN): Likewise.
24567 (ILL_ILLADR): Likewise.
24568 (ILL_ILLTRP): Likewise.
24569 (ILL_PRVOPC): Likewise.
24570 (ILL_PRVREG): Likewise.
24571 (ILL_COPROC): Likewise.
24572 (ILL_BADSTK): Likewise.
24573 (FPE_INTDIV): Likewise.
24574 (FPE_INTOVF): Likewise.
24575 (FPE_FLTDIV): Likewise.
24576 (FPE_FLTOVF): Likewise.
24577 (FPE_FLTUND): Likewise.
24578 (FPE_FLTRES): Likewise.
24579 (FPE_FLTINV): Likewise.
24580 (FPE_FLTSUB): Likewise.
24581 (SEGV_MAPERR): Likewise.
24582 (SEGV_ACCERR): Likewise.
24583 (BUS_ADRALN): Likewise.
24584 (BUS_ADRERR): Likewise.
24585 (BUS_OBJERR): Likewise.
24586 (BUS_MCEERR_AR): Likewise.
24587 (BUS_MCEERR_AO): Likewise.
24588 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24589 (TRAP_TRACE): Likewise.
24590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24592 (CLD_KILLED): Likewise.
24593 (CLD_DUMPED): Likewise.
24594 (CLD_TRAPPED): Likewise.
24595 (CLD_STOPPED): Likewise.
24596 (CLD_CONTINUED): Likewise.
24597 (POLL_IN): Likewise.
24598 (POLL_OUT): Likewise.
24599 (POLL_MSG): Likewise.
24600 (POLL_ERR): Likewise.
24601 (POLL_PRI): Likewise.
24602 (POLL_HUP): Likewise.
24603 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24604 (ILL_ILLOPN): Likewise.
24605 (ILL_ILLADR): Likewise.
24606 (ILL_ILLTRP): Likewise.
24607 (ILL_PRVOPC): Likewise.
24608 (ILL_PRVREG): Likewise.
24609 (ILL_COPROC): Likewise.
24610 (ILL_BADSTK): Likewise.
24611 (FPE_INTDIV): Likewise.
24612 (FPE_INTOVF): Likewise.
24613 (FPE_FLTDIV): Likewise.
24614 (FPE_FLTOVF): Likewise.
24615 (FPE_FLTUND): Likewise.
24616 (FPE_FLTRES): Likewise.
24617 (FPE_FLTINV): Likewise.
24618 (FPE_FLTSUB): Likewise.
24619 (SEGV_MAPERR): Likewise.
24620 (SEGV_ACCERR): Likewise.
24621 (BUS_ADRALN): Likewise.
24622 (BUS_ADRERR): Likewise.
24623 (BUS_OBJERR): Likewise.
24624 (BUS_MCEERR_AR): Likewise.
24625 (BUS_MCEERR_AO): Likewise.
24626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24627 (TRAP_TRACE): Likewise.
24628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24630 (CLD_KILLED): Likewise.
24631 (CLD_DUMPED): Likewise.
24632 (CLD_TRAPPED): Likewise.
24633 (CLD_STOPPED): Likewise.
24634 (CLD_CONTINUED): Likewise.
24635 (POLL_IN): Likewise.
24636 (POLL_OUT): Likewise.
24637 (POLL_MSG): Likewise.
24638 (POLL_ERR): Likewise.
24639 (POLL_PRI): Likewise.
24640 (POLL_HUP): Likewise.
24641 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24642 (ILL_ILLOPN): Likewise.
24643 (ILL_ILLADR): Likewise.
24644 (ILL_ILLTRP): Likewise.
24645 (ILL_PRVOPC): Likewise.
24646 (ILL_PRVREG): Likewise.
24647 (ILL_COPROC): Likewise.
24648 (ILL_BADSTK): Likewise.
24649 (ILL_DBLFLT): Likewise.
24650 (ILL_HARDWALL): Likewise.
24651 (FPE_INTDIV): Likewise.
24652 (FPE_INTOVF): Likewise.
24653 (FPE_FLTDIV): Likewise.
24654 (FPE_FLTOVF): Likewise.
24655 (FPE_FLTUND): Likewise.
24656 (FPE_FLTRES): Likewise.
24657 (FPE_FLTINV): Likewise.
24658 (FPE_FLTSUB): Likewise.
24659 (SEGV_MAPERR): Likewise.
24660 (SEGV_ACCERR): Likewise.
24661 (BUS_ADRALN): Likewise.
24662 (BUS_ADRERR): Likewise.
24663 (BUS_OBJERR): Likewise.
24664 (BUS_MCEERR_AR): Likewise.
24665 (BUS_MCEERR_AO): Likewise.
24666 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24667 (TRAP_TRACE): Likewise.
24668 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24670 (CLD_KILLED): Likewise.
24671 (CLD_DUMPED): Likewise.
24672 (CLD_TRAPPED): Likewise.
24673 (CLD_STOPPED): Likewise.
24674 (CLD_CONTINUED): Likewise.
24675 (POLL_IN): Likewise.
24676 (POLL_OUT): Likewise.
24677 (POLL_MSG): Likewise.
24678 (POLL_ERR): Likewise.
24679 (POLL_PRI): Likewise.
24680 (POLL_HUP): Likewise.
24681 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24682 (ILL_ILLOPN): Likewise.
24683 (ILL_ILLADR): Likewise.
24684 (ILL_ILLTRP): Likewise.
24685 (ILL_PRVOPC): Likewise.
24686 (ILL_PRVREG): Likewise.
24687 (ILL_COPROC): Likewise.
24688 (ILL_BADSTK): Likewise.
24689 (FPE_INTDIV): Likewise.
24690 (FPE_INTOVF): Likewise.
24691 (FPE_FLTDIV): Likewise.
24692 (FPE_FLTOVF): Likewise.
24693 (FPE_FLTUND): Likewise.
24694 (FPE_FLTRES): Likewise.
24695 (FPE_FLTINV): Likewise.
24696 (FPE_FLTSUB): Likewise.
24697 (SEGV_MAPERR): Likewise.
24698 (SEGV_ACCERR): Likewise.
24699 (BUS_ADRALN): Likewise.
24700 (BUS_ADRERR): Likewise.
24701 (BUS_OBJERR): Likewise.
24702 (BUS_MCEERR_AR): Likewise.
24703 (BUS_MCEERR_AO): Likewise.
24704 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24705 (TRAP_TRACE): Likewise.
24706 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24708 (CLD_KILLED): Likewise.
24709 (CLD_DUMPED): Likewise.
24710 (CLD_TRAPPED): Likewise.
24711 (CLD_STOPPED): Likewise.
24712 (CLD_CONTINUED): Likewise.
24713 (POLL_IN): Likewise.
24714 (POLL_OUT): Likewise.
24715 (POLL_MSG): Likewise.
24716 (POLL_ERR): Likewise.
24717 (POLL_PRI): Likewise.
24718 (POLL_HUP): Likewise.
24719 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24720 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24723 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24724 before #include of <time.h>.
24725 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24726 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24727 (test-xfail-UNIX98/sched.h/conform): Likewise.
24729 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24731 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24732 error absence of trapping exception support.
24733 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24735 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24737 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24738 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24739 * timezone/Makefile (testdata): Move definition above include of
24741 (test-zones): New variable.
24742 (tests-special): Add zone files.
24743 (build-testdata): Use $(evaluate-test).
24745 * elf/Makefile (tests-special): Rename tests to end with .out.
24746 ($(objpfx)noload-mem): Likewise.
24747 ($(objpfx)tst-leaks1-mem): Likewise.
24748 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24749 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24750 $(objpfx)test-iconvconfig.out.
24751 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24752 set -e inside subshell and redirect output to file.
24753 * iconvdata/Makefile (generated): Rename tests to end with .out.
24755 (tests-special): Rename tests to end with .out.
24756 ($(objpfx)mtrace-tst-loading): Likewise.
24757 * intl/Makefile (generated): Likewise.
24758 (tests-special): Likewise.
24759 ($(objpfx)mtrace-tst-gettext): Likewise.
24760 * misc/Makefile (generated): Likewise.
24761 (tests-special): Likewise.
24762 ($(objpfx)tst-error1-mem): Likewise.
24763 * nptl/Makefile (tests-special): Likewise.
24764 ($(objpfx)tst-stack3-mem): Likewise.
24765 (generated): Likewise.
24766 * posix/Makefile (generated): Likewise.
24767 (tests-special): Likewise.
24768 (xtests-special): Likewise.
24769 ($(objpfx)tst-fnmatch-mem): Likewise.
24770 ($(objpfx)bug-regex2-mem): Likewise.
24771 ($(objpfx)bug-regex14-mem): Likewise.
24772 ($(objpfx)bug-regex21-mem): Likewise.
24773 ($(objpfx)bug-regex31-mem): Likewise.
24774 ($(objpfx)tst-vfork3-mem): Likewise.
24775 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24776 ($(objpfx)tst-pcre-mem): Likewise.
24777 ($(objpfx)tst-boost-mem): Likewise.
24778 ($(objpfx)bug-ga2-mem): Likewise.
24779 ($(objpfx)bug-glob2-mem): Likewise.
24780 * resolv/Makefile (generate): Likewise.
24781 (tests-special): Likewise.
24782 (xtests-special): Likewise.
24783 (generated): Likewise.
24784 ($(objpfx)mtrace-tst-leaks): Likewise.
24785 ($(objpfx)mtrace-tst-leaks2): Likewise.
24787 * scripts/merge-test-results.sh: New file.
24788 * Makefile (tests-special-notdir): New variable.
24789 (tests): Run merge-test-results.sh.
24790 (xtests): Likewise.
24791 * Rules (tests-special-notdir): New variable.
24792 (xtests-special-notdir): Likewise.
24793 (tests): Run merge-test-results.sh
24794 (xtests): Likewise.
24796 * Makeconfig (test-xfail-name): New variable.
24797 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24798 compute variable name for expected failures.
24799 * conform/Makefile (conformtest-headers-data): New variable.
24800 (conformtest-standards): Likewise.
24801 (conformtest-headers-ISO): Likewise.
24802 (conformtest-headers-ISO99): Likewise.
24803 (conformtest-headers-ISO11): Likewise.
24804 (conformtest-headers-POSIX): Likewise.
24805 (conformtest-headers-XPG3): Likewise.
24806 (conformtest-headers-XPG4): Likewise.
24807 (conformtest-headers-UNIX98): Likewise.
24808 (conformtest-headers-XOPEN2K): Likewise.
24809 (conformtest-headers-POSIX2008): Likewise.
24810 (conformtest-headers-XOPEN2K8): Likewise.
24811 (conformtest-header-list-base): Likewise.
24812 (conformtest-header-list-tests): Likewise.
24813 (conformtest-header-base): Likewise.
24814 (conformtest-header-tests): Likewise.
24815 (tests-special): Add $(conformtest-header-list-tests). If
24816 [$(fast-check) && !$(cross-compiling)], add
24817 $(conformtest-header-tests) instead of
24818 $(objpfx)run-conformtest.out.
24819 (generated): Add $(conformtest-header-list-base). If
24820 [$(fast-check) && !$(cross-compiling)], add
24821 $(conformtest-header-base). Remove previous setting.
24822 ($(conformtest-header-list-tests)): New target.
24823 (test-xfail-run-conformtest): Remove variable.
24824 ($(objpfx)run-conformtest.out): Remove target.
24825 (test-xfail-ISO11/complex.h/conform): New variable.
24826 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24827 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24828 (test-xfail-XPG3/varargs.h/conform): Likewise.
24829 (test-xfail-XPG4/varargs.h/conform): Likewise.
24830 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24831 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24832 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24833 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24834 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24835 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24836 (test-xfail-XPG3/ftw.h/conform): Likewise.
24837 (test-xfail-XPG3/grp.h/conform): Likewise.
24838 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24839 (test-xfail-XPG3/limits.h/conform): Likewise.
24840 (test-xfail-XPG3/pwd.h/conform): Likewise.
24841 (test-xfail-XPG3/search.h/conform): Likewise.
24842 (test-xfail-XPG3/signal.h/conform): Likewise.
24843 (test-xfail-XPG3/stdio.h/conform): Likewise.
24844 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24845 (test-xfail-XPG3/string.h/conform): Likewise.
24846 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24847 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24848 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24849 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24850 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24851 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24852 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24853 (test-xfail-XPG3/termios.h/conform): Likewise.
24854 (test-xfail-XPG3/time.h/conform): Likewise.
24855 (test-xfail-XPG3/unistd.h/conform): Likewise.
24856 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24857 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24858 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24859 (test-xfail-XPG4/netdb.h/conform): Likewise.
24860 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24861 (test-xfail-XPG4/signal.h/conform): Likewise.
24862 (test-xfail-XPG4/stdio.h/conform): Likewise.
24863 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24864 (test-xfail-XPG4/stropts.h/conform): Likewise.
24865 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24866 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24867 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24868 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24869 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24870 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24871 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24872 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24873 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24874 (test-xfail-XPG4/termios.h/conform): Likewise.
24875 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24876 (test-xfail-XPG4/unistd.h/conform): Likewise.
24877 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24878 (test-xfail-POSIX/sched.h/conform): Likewise.
24879 (test-xfail-POSIX/signal.h/conform): Likewise.
24880 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24881 (test-xfail-POSIX/tar.h/conform): Likewise.
24882 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24883 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24884 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24885 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24886 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24887 (test-xfail-UNIX98/sched.h/conform): Likewise.
24888 (test-xfail-UNIX98/signal.h/conform): Likewise.
24889 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24890 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24891 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24892 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24893 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24894 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24895 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24896 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24897 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24898 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24899 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24900 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24901 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24902 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24903 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24904 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24905 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24906 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24907 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24908 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24909 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24910 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24911 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24912 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24913 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24914 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24915 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24916 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24917 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24918 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24919 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24920 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24921 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24922 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24923 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24924 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24925 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24926 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24927 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24928 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24929 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24930 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24931 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24932 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24933 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24934 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24935 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24936 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24937 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24938 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24939 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24940 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24941 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24942 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24943 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24944 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24945 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24946 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24947 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24948 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24949 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24950 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24951 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24952 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24953 (conformtest-cc-flags): Likewise.
24954 ($(conformtest-header-tests): New target.
24955 * conform/check-header-lists.sh: New file.
24956 * conform/run-conformtest.sh: Remove.
24958 * conform/conformtest.pl: Allow ' and \ in values given for
24960 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24962 [POSIX] (sys/types.h): Likewise.
24963 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24965 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24967 * conform/data/signal.h-data (SIGIO): Remove expectation.
24968 [XPG3] (SIGBUS): Do not expect.
24969 [POSIX || XPG3] (SIGPOLL): Likewise.
24970 [POSIX || XPG3] (SIGPROF): Likewise.
24971 [POSIX || XPG3] (SIGSYS): Likewise.
24972 [XPG3] (SIGTRAP): Likewise.
24973 [POSIX || XPG3] (SIGURG): Likewise.
24974 [POSIX || XPG3] (SIGVTALRM): Likewise.
24975 [POSIX || XPG3] (SIGXCPU): Likewise.
24976 [POSIX || XPG3] (SIGXFSZ): Likewise.
24977 [POSIX] (SA_SIGINFO): Expect.
24978 [XPG3] (siginfo_t): Do not expect type or contents.
24979 [POSIX] (si_pid): Do not expect element.
24980 [POSIX] (si_uid): Likewise.
24981 [POSIX] (si_addr): Likewise.
24982 [POSIX] (si_status): Likewise.
24983 [POSIX] (si_band): Likewise.
24984 [XPG4] (si_value): Likewise.
24985 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24986 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24987 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24988 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24989 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24990 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24991 [POSIX || XPG3] (ILL_COPROC): Likewise.
24992 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24993 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24994 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24995 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24996 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24997 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24998 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24999 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25000 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25001 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25002 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25003 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25004 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25005 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25006 [POSIX || XPG3] (CLD_EXITED): Likewise.
25007 [POSIX || XPG3] (CLD_KILLED): Likewise.
25008 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25009 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25010 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25011 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25012 [POSIX || XPG3] (POLL_IN): Likewise.
25013 [POSIX || XPG3] (POLL_OUT): Likewise.
25014 [POSIX || XPG3] (POLL_MSG): Likewise.
25015 [POSIX || XPG3] (POLL_ERR): Likewise.
25016 [POSIX || XPG3] (POLL_PRI): Likewise.
25017 [POSIX || XPG3] (POLL_HUP): Likewise.
25018 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25019 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25020 (SIG*): Do not allow.
25021 [XPG3] (si_*): Likewise.
25022 [XPG3] (SI_*): Likewise.
25023 [XPG3 || XPG4] (sigev_*): Likewise.
25024 [XPG3 || XPG4] (SIGEV_*): Likewise.
25025 [XPG3 || XPG4] (sival_*): Likewise.
25026 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25027 [POSIX || XPG3] (BUS_*): Likewise.
25028 [POSIX || XPG3] (CLD_*): Likewise.
25029 [POSIX || XPG3] (FPE_*): Likewise.
25030 [POSIX || XPG3] (ILL_*): Likewise.
25031 [POSIX || XPG3] (POLL_*): Likewise.
25032 [POSIX || XPG3] (SEGV_*): Likewise.
25033 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25034 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25035 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25036 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25037 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25038 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25039 Specify type and value.
25040 (TVERSLEN): Likewise.
25041 (REGTYPE): Likewise.
25042 (AREGTYPE): Likewise.
25043 (LNKTYPE): Likewise.
25044 (SYMTYPE): Likewise.
25045 (CHRTYPE): Likewise.
25046 (BLKTYPE): Likewise.
25047 (DIRTYPE): Likewise.
25048 (FIFOTYPE): Likewise.
25049 (CONTTYPE): Likewise.
25053 (TUREAD): Likewise.
25054 (TUWRITE): Likewise.
25055 (TUEXEC): Likewise.
25056 (TGREAD): Likewise.
25057 (TGWRITE): Likewise.
25058 (TGEXEC): Likewise.
25059 (TOREAD): Likewise.
25060 (TOWRITE): Likewise.
25061 (TOEXEC): Likewise.
25062 [POSIX] (TSVTX): Expect constant.
25064 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25066 * Makefile (tests): Change dependencies to ....
25067 (tests-special): ... additions to this variable.
25068 (tests): Depend on $(tests-special).
25069 * Makerules (check-abi-list): New variable.
25070 (check-abi): Depend on $(check-abi-list).
25071 [$(subdir) = elf] (tests-special): Add
25072 $(objpfx)check-abi-libc.out.
25073 [$(build-shared) = yes && subdir] (tests-special): Add
25075 [$(build-shared) = yes && subdir] (tests): Do not depend on
25077 * Rules (tests): Depend on $(tests-special).
25078 (xtests): Depend on $(xtests-special).
25079 * catgets/Makefile (tests): Change dependencies to ....
25080 (tests-special): ... additions to this variable.
25081 * conform/Makefile (tests): Change dependencies to ....
25082 (tests-special): ... additions to this variable.
25083 * elf/Makefile (tests): Change dependencies to ....
25084 (tests-special): ... additions to this variable.
25085 * grp/Makefile (tests): Change dependencies to ....
25086 (tests-special): ... additions to this variable.
25087 * iconv/Makefile (xtests): Change dependencies to ....
25088 (xtests-special): ... additions to this variable.
25089 * iconvdata/Makefile (tests): Change dependencies to ....
25090 (tests-special): ... additions to this variable.
25091 * intl/Makefile (tests): Change dependencies to ....
25092 (tests-special): ... additions to this variable. Also add
25093 $(objpfx)tst-gettext.out.
25094 * io/Makefile (tests): Change dependencies to ....
25095 (tests-special): ... additions to this variable.
25096 * libio/Makefile (tests): Change dependencies to ....
25097 (tests-special): ... additions to this variable.
25098 * malloc/Makefile (tests): Change dependencies to ....
25099 (tests-special): ... additions to this variable.
25100 * misc/Makefile (tests): Change dependencies to ....
25101 (tests-special): ... additions to this variable.
25102 * nptl/Makefile (tests): Change dependencies to ....
25103 (tests-special): ... additions to this variable.
25104 * nptl_db/Makefile (tests): Change dependencies to ....
25105 (tests-special): ... additions to this variable.
25106 * posix/Makefile (tests): Change dependencies to ....
25107 (tests-special): ... additions to this variable.
25108 (xtests): Change dependencies to ....
25109 (xtests-special): ... additions to this variable.
25110 * resolv/Makefile (tests): Change dependencies to ....
25111 (tests-special): ... additions to this variable.
25112 (xtests): Change dependencies to ....
25113 (xtests-special): ... additions to this variable.
25114 * stdio-common/Makefile (tests): Change dependencies to ....
25115 (tests-special): ... additions to this variable.
25116 (do-tst-unbputc): Remove target.
25117 (do-tst-printf): Likewise.
25118 * stdlib/Makefile (tests): Change dependencies to ....
25119 (tests-special): ... additions to this variable.
25120 * string/Makefile (tests): Change dependencies to ....
25121 (tests-special): ... additions to this variable.
25122 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25123 (tests-special): ... additions to this variable.
25125 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25127 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25129 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25130 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25132 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25133 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25134 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25135 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25136 * conform/data/libgen.h-data [XPG3]: Likewise.
25137 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25138 * conform/data/ndbm.h-data [XPG3]: Likewise.
25139 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25140 * conform/data/netdb.h-data [XPG3]: Likewise.
25141 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25142 * conform/data/poll.h-data [XPG3]: Likewise.
25143 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25144 * conform/data/strings.h-data [XPG3]: Likewise.
25145 * conform/data/stropts.h-data [XPG3]: Likewise.
25146 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25147 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25148 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25150 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25151 * conform/data/sys/time.h-data [XPG3]: Likewise.
25152 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25153 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25154 * conform/data/sys/un.h-data [XPG3]: Likewise.
25155 * conform/data/syslog.h-data [XPG3]: Likewise.
25156 * conform/data/ucontext.h-data [XPG3]: Likewise.
25157 * conform/data/utmpx.h-data [XPG3]: Likewise.
25158 * conform/data/varargs.h-data [UNIX98]: Enable file.
25160 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25162 * math/libm-test.inc (struct test_f_f_data): Move expected results
25163 into structure for each rounding mode.
25164 (struct test_ff_f_data): Likewise.
25165 (struct test_ff_f_data_nexttoward): Likewise.
25166 (struct test_fi_f_data): Likewise.
25167 (struct test_fl_f_data): Likewise.
25168 (struct test_if_f_data): Likewise.
25169 (struct test_fff_f_data): Likewise.
25170 (struct test_c_f_data): Likewise.
25171 (struct test_f_f1_data): Likewise.
25172 (struct test_fF_f1_data): Likewise.
25173 (struct test_ffI_f1_data): Likewise.
25174 (struct test_c_c_data): Likewise.
25175 (struct test_cc_c_data): Likewise.
25176 (struct test_f_i_data): Likewise.
25177 (struct test_ff_i_data): Likewise.
25178 (struct test_f_l_data): Likewise.
25179 (struct test_f_L_data): Likewise.
25180 (struct test_fFF_11_data): Likewise.
25182 (RM_FE_DOWNWARD): Likewise.
25183 (RM_FE_TONEAREST): Likewise.
25184 (RM_FE_TOWARDZERO): Likewise.
25185 (RM_FE_UPWARD): Likewise.
25186 (RUN_TEST_LOOP_f_f): Update references to expected results.
25187 (RUN_TEST_LOOP_2_f): Likewise.
25188 (RUN_TEST_LOOP_fff_f): Likewise.
25189 (RUN_TEST_LOOP_c_f): Likewise.
25190 (RUN_TEST_LOOP_f_f1): Likewise.
25191 (RUN_TEST_LOOP_fF_f1): Likewise.
25192 (RUN_TEST_LOOP_fI_f1): Likewise.
25193 (RUN_TEST_LOOP_ffI_f1): Likewise.
25194 (RUN_TEST_LOOP_c_c): Likewise.
25195 (RUN_TEST_LOOP_cc_c): Likewise.
25196 (RUN_TEST_LOOP_f_i): Likewise.
25197 (RUN_TEST_LOOP_f_i_tg): Likewise.
25198 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25199 (RUN_TEST_LOOP_f_b): Likewise.
25200 (RUN_TEST_LOOP_f_b_tg): Likewise.
25201 (RUN_TEST_LOOP_f_l): Likewise.
25202 (RUN_TEST_LOOP_f_L): Likewise.
25203 (RUN_TEST_LOOP_fFF_11): Likewise.
25204 * math/gen-libm-test.pl (parse_args): Output four copies of
25205 expected results for each test.
25207 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25208 (__ASSUME_UTIMES): Remove.
25209 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25210 (__ASSUME_UTIMES): Likewise.
25212 * math/gen-auto-libm-tests.c: Update comment on output format.
25213 (output_for_one_input_case): Generate before-rounding and
25214 after-rounding information as conditions on output flags not
25215 floating-point format.
25216 * math/auto-libm-test-out: Regenerated.
25217 * math/gen-libm-test.pl (cond_value): New function.
25218 (or_cond_value): Use cond_value.
25219 (generate_testfile): Handle conditional exceptions.
25221 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25223 * math/libm-test.inc (max_valid_error): New variable.
25224 (init_max_error): Take new argument specifying whether function
25225 results are exactly determined. Set max_valid_error and bound
25226 other variables for errors based on this argument.
25227 (set_max_error): Do not record results above max_valid_error.
25228 (check_float_internal): Only accept errors of up to 0.5ulps if
25229 also at most max_valid_error.
25230 (START): Take new argument EXACT and pass it to init_max_error.
25231 (acos_test): Update call to START.
25232 (acos_test_tonearest): Likewise.
25233 (acos_test_towardzero): Likewise.
25234 (acos_test_downward): Likewise.
25235 (acos_test_upward): Likewise.
25236 (acosh_test): Likewise.
25237 (asin_test): Likewise.
25238 (asin_test_tonearest): Likewise.
25239 (asin_test_towardzero): Likewise.
25240 (asin_test_downward): Likewise.
25241 (asin_test_upward): Likewise.
25242 (asinh_test): Likewise.
25243 (atan_test): Likewise.
25244 (atanh_test): Likewise.
25245 (atan2_test): Likewise.
25246 (cabs_test): Likewise.
25247 (cacos_test): Likewise.
25248 (cacosh_test): Likewise.
25249 (carg_test): Likewise.
25250 (casin_test): Likewise.
25251 (casinh_test): Likewise.
25252 (catan_test): Likewise.
25253 (catanh_test): Likewise.
25254 (cbrt_test): Likewise.
25255 (ccos_test): Likewise.
25256 (ccosh_test): Likewise.
25257 (ceil_test): Likewise.
25258 (cexp_test): Likewise.
25259 (cimag_test): Likewise.
25260 (clog_test): Likewise.
25261 (clog10_test): Likewise.
25262 (conj_test): Likewise.
25263 (copysign_test): Likewise.
25264 (cos_test): Likewise.
25265 (cos_test_tonearest): Likewise.
25266 (cos_test_towardzero): Likewise.
25267 (cos_test_downward): Likewise.
25268 (cos_test_upward): Likewise.
25269 (cosh_test): Likewise.
25270 (cosh_test_tonearest): Likewise.
25271 (cosh_test_towardzero): Likewise.
25272 (cosh_test_downward): Likewise.
25273 (cosh_test_upward): Likewise.
25274 (cpow_test): Likewise.
25275 (cproj_test): Likewise.
25276 (creal_test): Likewise.
25277 (csin_test): Likewise.
25278 (csinh_test): Likewise.
25279 (csqrt_test): Likewise.
25280 (ctan_test): Likewise.
25281 (ctan_test_tonearest): Likewise.
25282 (ctan_test_towardzero): Likewise.
25283 (ctan_test_downward): Likewise.
25284 (ctan_test_upward): Likewise.
25285 (ctanh_test): Likewise.
25286 (ctanh_test_tonearest): Likewise.
25287 (ctanh_test_towardzero): Likewise.
25288 (ctanh_test_downward): Likewise.
25289 (ctanh_test_upward): Likewise.
25290 (erf_test): Likewise.
25291 (erfc_test): Likewise.
25292 (exp_test): Likewise.
25293 (exp_test_tonearest): Likewise.
25294 (exp_test_towardzero): Likewise.
25295 (exp_test_downward): Likewise.
25296 (exp_test_upward): Likewise.
25297 (exp10_test): Likewise.
25298 (exp10_test_tonearest): Likewise.
25299 (exp10_test_towardzero): Likewise.
25300 (exp10_test_downward): Likewise.
25301 (exp10_test_upward): Likewise.
25302 (pow10_test): Likewise.
25303 (exp2_test): Likewise.
25304 (expm1_test): Likewise.
25305 (expm1_test_tonearest): Likewise.
25306 (expm1_test_towardzero): Likewise.
25307 (expm1_test_downward): Likewise.
25308 (expm1_test_upward): Likewise.
25309 (fabs_test): Likewise.
25310 (fdim_test): Likewise.
25311 (floor_test): Likewise.
25312 (fma_test): Likewise.
25313 (fma_test_towardzero): Likewise.
25314 (fma_test_downward): Likewise.
25315 (fma_test_upward): Likewise.
25316 (fmax_test): Likewise.
25317 (fmin_test): Likewise.
25318 (fmod_test): Likewise.
25319 (fpclassify_test): Likewise.
25320 (frexp_test): Likewise.
25321 (hypot_test): Likewise.
25322 (ilogb_test): Likewise.
25323 (isfinite_test): Likewise.
25324 (finite_test): Likewise.
25325 (isgreater_test): Likewise.
25326 (isgreaterequal_test): Likewise.
25327 (isinf_test): Likewise.
25328 (isless_test): Likewise.
25329 (islessequal_test): Likewise.
25330 (islessgreater_test): Likewise.
25331 (isnan_test): Likewise.
25332 (isnormal_test): Likewise.
25333 (issignaling_test): Likewise.
25334 (isunordered_test): Likewise.
25335 (j0_test): Likewise.
25336 (j1_test): Likewise.
25337 (jn_test): Likewise.
25338 (ldexp_test): Likewise.
25339 (lgamma_test): Likewise.
25340 (gamma_test): Likewise.
25341 (lrint_test): Likewise.
25342 (lrint_test_tonearest): Likewise.
25343 (lrint_test_towardzero): Likewise.
25344 (lrint_test_downward): Likewise.
25345 (lrint_test_upward): Likewise.
25346 (llrint_test): Likewise.
25347 (llrint_test_tonearest): Likewise.
25348 (llrint_test_towardzero): Likewise.
25349 (llrint_test_downward): Likewise.
25350 (llrint_test_upward): Likewise.
25351 (log_test): Likewise.
25352 (log10_test): Likewise.
25353 (log1p_test): Likewise.
25354 (log2_test): Likewise.
25355 (logb_test): Likewise.
25356 (logb_test_downward): Likewise.
25357 (lround_test): Likewise.
25358 (llround_test): Likewise.
25359 (modf_test): Likewise.
25360 (nearbyint_test): Likewise.
25361 (nextafter_test): Likewise.
25362 (nexttoward_test): Likewise.
25363 (pow_test): Likewise.
25364 (pow_test_tonearest): Likewise.
25365 (pow_test_towardzero): Likewise.
25366 (pow_test_downward): Likewise.
25367 (pow_test_upward): Likewise.
25368 (remainder_test): Likewise.
25369 (drem_test): Likewise.
25370 (remainder_test_tonearest): Likewise.
25371 (drem_test_tonearest): Likewise.
25372 (remainder_test_towardzero): Likewise.
25373 (drem_test_towardzero): Likewise.
25374 (remainder_test_downward): Likewise.
25375 (drem_test_downward): Likewise.
25376 (remainder_test_upward): Likewise.
25377 (drem_test_upward): Likewise.
25378 (remquo_test): Likewise.
25379 (rint_test): Likewise.
25380 (rint_test_tonearest): Likewise.
25381 (rint_test_towardzero): Likewise.
25382 (rint_test_downward): Likewise.
25383 (rint_test_upward): Likewise.
25384 (round_test): Likewise.
25385 (scalb_test): Likewise.
25386 (scalbn_test): Likewise.
25387 (scalbln_test): Likewise.
25388 (signbit_test): Likewise.
25389 (sin_test): Likewise.
25390 (sin_test_tonearest): Likewise.
25391 (sin_test_towardzero): Likewise.
25392 (sin_test_downward): Likewise.
25393 (sin_test_upward): Likewise.
25394 (sincos_test): Likewise.
25395 (sinh_test): Likewise.
25396 (sinh_test_tonearest): Likewise.
25397 (sinh_test_towardzero): Likewise.
25398 (sinh_test_downward): Likewise.
25399 (sinh_test_upward): Likewise.
25400 (sqrt_test): Likewise.
25401 (sqrt_test_tonearest): Likewise.
25402 (sqrt_test_towardzero): Likewise.
25403 (sqrt_test_downward): Likewise.
25404 (sqrt_test_upward): Likewise.
25405 (tan_test): Likewise.
25406 (tan_test_tonearest): Likewise.
25407 (tan_test_towardzero): Likewise.
25408 (tan_test_downward): Likewise.
25409 (tan_test_upward): Likewise.
25410 (tanh_test): Likewise.
25411 (tgamma_test): Likewise.
25412 (trunc_test): Likewise.
25413 (y0_test): Likewise.
25414 (y1_test): Likewise.
25415 (yn_test): Likewise.
25416 (significand_test): Likewise.
25418 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25419 individual tests in comment.
25420 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25421 (prev_max_error): New variable.
25422 (prev_real_max_error): Likewise.
25423 (prev_imag_max_error): Likewise.
25424 (compare_ulp_data): Don't refer to test names in comment.
25425 (find_test_ulps): Remove function.
25426 (find_function_ulps): Likewise.
25427 (find_complex_function_ulps): Likewise.
25428 (init_max_error): Take function name as argument. Look up ulps
25430 (print_ulps): Remove function.
25431 (print_max_error): Use prev_max_error instead of calling
25432 find_function_ulps.
25433 (print_complex_max_error): Use prev_real_max_error and
25434 prev_imag_max_error instead of calling find_complex_function_ulps.
25435 (check_float_internal): Take max_ulp parameter instead of calling
25436 find_test_ulps. Don't call print_ulps.
25437 (check_float): Update call to check_float_internal.
25438 (check_complex): Update calls to check_float_internal.
25439 (START): Pass argument to init_max_error.
25440 * math/gen-libm-test.pl (%results): Don't include "kind"
25442 (parse_ulps): Don't handle ulps of individual tests.
25443 (print_ulps_file): Likewise.
25444 (output_ulps): Likewise.
25445 * math/README.libm-test: Update.
25446 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25448 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25449 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25450 * sysdeps/arm/libm-test-ulps: Likewise.
25451 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25452 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25453 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25454 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25455 * sysdeps/microblaze/libm-test-ulps: Likewise.
25456 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25457 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25459 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25460 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25461 * sysdeps/sh/libm-test-ulps: Likewise.
25462 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25463 * sysdeps/tile/libm-test-ulps: Likewise.
25464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25466 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25468 * math/libm-test.inc (print_complex_max_error): Check separately
25469 whether real and imaginary errors are within allowed range and
25470 pass 0 to print_complex_function_ulps instead of value within
25473 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25475 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25477 (get_handles_fopen): Likewise.
25478 (do_write_test): Likewise.
25480 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25482 * libio/fileops.c (do_ftell): Use cached offset when
25484 * libio/iofwide.c (do_ftell_wide): Likewise.
25485 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25487 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25490 * libio/libioP.h (get_file_offset): New function.
25491 * libio/fileops.c (get_file_offset): Likewise.
25492 (do_ftell): Likewise.
25493 (_IO_new_file_seekoff): Split out ftell logic.
25494 * libio/wfileops.c (do_ftell_wide): Likewise.
25495 (_IO_wfile_seekoff): Split out ftell logic.
25496 * libio/tst-ftell-active-handler.c: New test case.
25497 * libio/Makefile (tests): Add it.
25499 2014-03-03 Roland McGrath <roland@hack.frob.com>
25501 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25502 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25504 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25507 * nscd/connections.c (nscd_init): Call do_exit.
25508 (start_threads): Call do_exit and notify_parent.
25509 (begin_drop_privileges): Call do_exit.
25510 (finish_drop_privileges): Likewise.
25511 * nscd/selinux.c (preserve_capabilities): Likewise.
25512 (install_real_capabilities): Likewise.
25513 (nscd_selinux_enabled): Likewise.
25514 (avc_create_thread): Likewise.
25515 (avc_alloc_lock): Likewise.
25516 (nscd_avc_init): Likewise.
25517 * nscd/nscd.c (parent_fd): New static variable.
25518 (main): Create a pipe between parent and child processes.
25519 Skip closing parent_fd.
25520 (monitor_child): New function.
25521 (do_exit): Likewise.
25522 (notify_parent): Likewise.
25523 * nscd/nscd.h (notify_parent): Likewise.
25524 (do_exit): Likewise.
25526 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25528 * malloc/malloc.c (__libc_calloc): Revert last change.
25530 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25534 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25536 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25540 (__libc_ifunc_impl_list): Likewise.
25541 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25542 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25543 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25544 * string/strrchr.c: Define STRRCHR.
25546 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25548 * benchtest/bench-strtok.c (simple_strtok): Delete.
25549 (strtok_string): Use as benchmark.
25550 * string/strtok (STRTOK): New macro.
25552 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25554 * manual/threads.texi: Add header and standard comments to all
25557 * elf/dl-lookup.c (check_match): New function.
25558 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25559 (do_lookup_x): Remove nested function check_match. Use non-nested
25560 function check_match.
25562 2014-02-28 Roland McGrath <roland@hack.frob.com>
25564 * csu/Makefile (generated, before-compile): Use += rather than =.
25565 * catgets/Makefile (generated, generated-dirs): Likewise.
25566 * debug/Makefile (generated): Likewise.
25567 * dlfcn/Makefile (generated): Likewise.
25568 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25569 * iconvdata/Makefile (before-compile, generated): Likewise.
25570 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25571 * libio/Makefile (generated): Likewise.
25572 * malloc/Makefile (generated): Likewise.
25573 * manual/Makefile (generated, generated-dirs): Likewise.
25574 * misc/Makefile (generated): Likewise.
25575 * posix/Makefile (generated): Likewise.
25576 * resolv/Makefile (generated): Likewise.
25577 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25578 * timezone/Makefile (generated, generated-dirs): Likewise.
25580 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25582 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25585 power8 implementation.
25586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25587 file: POWER8 llround ifunc implementation.
25588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25589 (__lllround): Add POWER8 implementation.
25590 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25591 POWER8 llround implementation.
25593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25594 power8 implementation.
25595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25596 file: POWER8 llrint ifunc implementation.
25597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25598 Add POWER8 implementation.
25599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25600 POWER8 llrint implementation.
25602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25603 power8 implementation.
25604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25605 file: POWER8 finite ifunc implementation.
25606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25607 Add POWER8 implementation.
25608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25610 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25611 POWER8 finite implementation.
25612 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25615 power8 implementation.
25616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25617 file: POWER8 isinf ifunc implementation.
25618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25619 POWER8 implementation.
25620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25622 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25623 isinf implementation.
25624 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25626 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25627 (INIT_ARCH): Add hwcap2 initialization.
25628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25629 power8 implementation.
25630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25631 file: POWER8 isnan ifunc implementation.
25632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25633 POWER8 implementation.
25634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25637 isnan implementation.
25638 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25640 2014-02-27 Joey Ye <joey.ye@arm.com>
25642 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25643 (_FP_NANFRAC_Q): Set to zero.
25645 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25648 * math/auto-libm-test-in: New test inputs.
25649 * math/auto-libm-test-out: Regenerate.
25650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25653 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25655 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25657 * scripts/evaluate-test.sh: Take new argument indicating whether
25658 failure is expected.
25659 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25660 indicating whether failure is expected.
25661 * conform/Makefile (test-xfail-run-conformtest): New variable.
25662 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25664 * posix/Makefile (test-xfail-annexc): New variable.
25665 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25667 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25669 * argp/Makefile: Include Makeconfig immediately after defining
25671 * assert/Makefile: Likewise.
25672 * benchtests/Makefile: Likewise.
25673 * catgets/Makefile: Likewise.
25674 * conform/Makefile: Likewise.
25675 * crypt/Makefile: Likewise.
25676 * csu/Makefile: Likewise.
25677 (all): Remove target.
25678 * ctype/Makefile: Include Makeconfig immediately after defining
25680 * debug/Makefile: Likewise.
25681 * dirent/Makefile: Likewise.
25682 * dlfcn/Makefile: Likewise.
25683 * gmon/Makefile: Likewise.
25684 * gnulib/Makefile: Likewise.
25685 * grp/Makefile: Likewise.
25686 * gshadow/Makefile: Likewise.
25687 * hesiod/Makefile: Likewise.
25688 * hurd/Makefile: Likewise.
25689 (all): Remove target.
25690 * iconvdata/Makefile: Include Makeconfig immediately after
25692 * inet/Makefile: Likewise.
25693 * intl/Makefile: Likewise.
25694 * io/Makefile: Likewise.
25695 * libio/Makefile: Likewise.
25696 (all): Remove target.
25697 * locale/Makefile: Include Makeconfig immediately after defining
25699 * login/Makefile: Likewise.
25700 * mach/Makefile: Likewise.
25701 (all): Remove target.
25702 * malloc/Makefile: Include Makeconfig immediately after defining
25704 (all): Remove target.
25705 * manual/Makefile: Include Makeconfig immediately after defining
25707 * math/Makefile: Likewise.
25708 * misc/Makefile: Likewise.
25709 * nis/Makefile: Likewise.
25710 * nss/Makefile: Likewise.
25711 * po/Makefile: Likewise.
25712 (all): Remove target.
25713 * posix/Makefile: Include Makeconfig immediately after defining
25715 * pwd/Makefile: Likewise.
25716 * resolv/Makefile: Likewise.
25717 * resource/Makefile: Likewise.
25718 * rt/Makefile: Likewise.
25719 * setjmp/Makefile: Likewise.
25720 * shadow/Makefile: Likewise.
25721 * signal/Makefile: Likewise.
25722 * socket/Makefile: Likewise.
25723 * soft-fp/Makefile: Likewise.
25724 * stdio-common/Makefile: Likewise.
25725 * stdlib/Makefile: Likewise.
25726 * streams/Makefile: Likewise.
25727 * string/Makefile: Likewise.
25728 * sunrpc/Makefile: Likewise.
25729 (all): Remove target.
25730 * sysvipc/Makefile: Include Makeconfig immediately after defining
25732 * termios/Makefile: Likewise.
25733 * time/Makefile: Likewise.
25734 * timezone/Makefile: Likewise.
25735 (all): Remove target.
25736 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25738 * wctype/Makefile: Likewise.
25740 2014-02-26 Steve Ellcey <sellcey@mips.com>
25742 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25743 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25744 (libc_feholdexcept_setround_mips): Ditto.
25745 (libc_feholdsetround): New.
25746 (libc_feholdsetroundf): New.
25747 (libc_feholdsetroundl): New.
25748 (libc_feupdateenv_test_mips): New.
25749 (libc_feupdateenv_test): New.
25750 (libc_feupdateenv_testf): New.
25751 (libc_feupdateenv_testl): New.
25752 (libc_feresetround): New.
25753 (libc_feresetroundf): New.
25754 (libc_feresetroundl): New.
25755 (libc_fetestexcept_mips): New.
25756 (libc_fetestexcept): New.
25757 (libc_fetestexceptf): New.
25758 (libc_fetestexceptl): New.
25759 (HAVE_RM_CTX): New.
25760 (libc_feholdexcept_setround_mips_ctx): New.
25761 (libc_feholdexcept_setround_ctx): New.
25762 (libc_feholdexcept_setroundf_ctx): New.
25763 (libc_feholdexcept_setroundl_ctx): New.
25764 (libc_fesetenv_mips_ctx): New.
25765 (libc_fesetenv_ctx): New.
25766 (libc_fesetenv_ctxf): New.
25767 (libc_fesetenv_ctxl): New.
25768 (libc_feupdateenv_mips_ctx): New.
25769 (libc_feupdateenv_ctx): New.
25770 (libc_feupdateenvf_ctx): New.
25771 (libc_feupdateenvl_ctx): New.
25772 (libc_feholdsetround_mips_ctx): New.
25773 (libc_feholdsetround_ctx): New.
25774 (libc_feholdsetroundf_ctx): New.
25775 (libc_feholdsetroundl_ctx): New.
25776 (libc_feresetround_mips_ctx): New.
25777 (libc_feresetround_ctx): New.
25778 (libc_feresetroundf_ctx): New.
25779 (libc_feresetroundl_ctx): New.
25781 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25783 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25785 * manual/ipc.texi: New file.
25786 * manual/Makefile (chapters): Add ipc.
25787 * manual/job.texi: Add "Inter-Process Communication" to next.
25788 * manual/process.texi: Add "Inter-Process Communication" to prev.
25790 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25794 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25796 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25798 * manual/arith.texi: Fix spaces after sentences.
25799 * manual/charset.texi: Likewise.
25800 * manual/errno.texi: Likewise.
25801 * manual/install.texi: Likewise.
25802 * manual/llio.texi: Likewise.
25803 * manual/locale.texi: Likewise.
25804 * manual/maint.texi: Likewise.
25805 * manual/math.texi: Likewise.
25806 * manual/memory.texi: Likewise.
25807 * manual/message.texi: Likewise.
25808 * manual/probes.texi: Likewise.
25809 * manual/resource.texi: Likewise.
25810 * manual/signal.texi: Likewise.
25811 * manual/socket.texi: Likewise.
25812 * manual/stdio.texi: Likewise.
25813 * manual/string.texi: Likewise.
25814 * manual/time.texi: Likewise.
25815 * manual/users.texi: Likewise.
25817 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25820 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25821 _DEFAULT_SOURCE is defined.
25823 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25824 Carlos O'Donell <carlos@redhat.com>
25827 * elf/dl-tls.c (_dl_count_modids): New function.
25828 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25829 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25830 audit library and increment generation counter.
25831 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25832 * elf/tst-audit9.c: New file.
25833 * elf/tst-auditmod9a.c: New file.
25834 * elf/tst-auditmod9b.c: New file.
25835 * elf/Makefile: Add rules to build and run tst-audit9.
25837 2014-02-25 Florian Weimer <fweimer@redhat.com>
25840 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25842 2014-02-25 Will Newton <will.newton@linaro.org>
25844 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25845 (__longjmp): Restore sp and lr before restoring callee
25846 saved registers. Add longjmp and longjmp_target
25847 SystemTap probe point.
25848 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25849 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25850 Define to zero to match jmpbuf layout.
25851 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25852 (__sigsetjmp): Save sp and lr before saving callee
25853 saved registers. Add setjmp SystemTap probe point.
25855 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25857 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25859 2014-02-24 Andreas Schwab <schwab@suse.de>
25862 * elf/pldd.c (wait_for_ptrace_stop): New function.
25863 (main): Call it after attaching.
25865 2014-02-22 Roland McGrath <roland@hack.frob.com>
25867 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25868 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25869 Versions files is now verboten.
25870 * hurd/Versions (libc: GLIBC_2.0):
25871 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25872 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25873 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25874 * mach/Versions: Likewise.
25876 * csu/Versions: Remove unused %include.
25877 * resolv/Versions: Likewise.
25879 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25881 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25882 ($(objpfx)check-local-headers.out): Likewise.
25883 ($(objpfx)begin-end-check.out): Likewise.
25884 * Makerules (check-abi-%.out): Likewise.
25885 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25886 ($(objpfx)test2.cat): Likewise.
25887 ($(objpfx)de/libc.cat): Likewise.
25888 ($(objpfx)test-gencat.out): Likewise.
25889 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25890 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25891 ($(objpfx)noload-mem): Likewise.
25892 ($(objpfx)tst-pathopt.out): Likewise.
25893 ($(objpfx)tst-rtld-load-self.out): Likewise.
25894 ($(objpfx)tst-array1-cmp.out): Likewise.
25895 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25896 ($(objpfx)tst-array2-cmp.out): Likewise.
25897 ($(objpfx)tst-array3-cmp.out): Likewise.
25898 ($(objpfx)tst-array4-cmp.out): Likewise.
25899 ($(objpfx)tst-array5-cmp.out): Likewise.
25900 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25901 ($(objpfx)check-textrel.out): Likewise.
25902 ($(objpfx)check-execstack.out): Likewise.
25903 ($(objpfx)check-localplt.out): Likewise.
25904 ($(objpfx)order2-cmp.out): Likewise.
25905 ($(objpfx)tst-leaks1-mem): Likewise.
25906 ($(objpfx)tst-leaks1-static-mem): Likewise.
25907 ($(objpfx)tst-initorder-cmp.out): Likewise.
25908 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25909 ($(objpfx)tst-unused-dep.out): Likewise.
25910 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25911 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25912 * iconv/Makefile (test-iconvconfig): Likewise.
25913 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25914 ($(objpfx)iconv-test.out): Likewise.
25915 ($(objpfx)tst-tables.out): Likewise.
25916 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25917 ($(objpfx)tst-gettext.out): Likewise.
25918 ($(objpfx)tst-translit.out): Likewise.
25919 ($(objpfx)tst-gettext2.out): Likewise.
25920 ($(objpfx)tst-gettext4.out): Likewise.
25921 ($(objpfx)tst-gettext6.out): Likewise.
25922 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25923 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25924 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25925 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25926 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25927 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25928 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25929 ($(objpfx)wordexp-tst.out): Likewise.
25930 ($(objpfx)annexc.out): Likewise.
25931 ($(objpfx)tst-fnmatch-mem): Likewise.
25932 ($(objpfx)bug-regex2-mem): Likewise.
25933 ($(objpfx)bug-regex14-mem): Likewise.
25934 ($(objpfx)bug-regex21-mem): Likewise.
25935 ($(objpfx)bug-regex31-mem): Likewise.
25936 ($(objpfx)tst-vfork3-mem): Likewise.
25937 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25938 ($(objpfx)tst-pcre-mem): Likewise.
25939 ($(objpfx)tst-boost-mem): Likewise.
25940 ($(objpfx)tst-getconf.out): Likewise.
25941 ($(objpfx)bug-ga2-mem): Likewise.
25942 ($(objpfx)bug-glob2-mem): Likewise.
25943 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25944 ($(objpfx)mtrace-tst-leaks2): Likewise.
25945 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25946 ($(objpfx)tst-printf.out): Likewise.
25947 ($(objpfx)tst-setvbuf1.out): Likewise.
25948 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25949 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25950 ($(objpfx)tst-fmtmsg.out): Likewise.
25951 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25952 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25954 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25955 * bits/sigaction.h [__USE_MISC]: Likewise.
25956 * bits/waitstatus.h: Update #endif comments.
25957 * ctype/ctype.h: Likewise.
25958 * dirent/dirent.h: Likewise.
25959 [__USE_MISC]: Remove redundant conditionals.
25960 * grp/grp.h: Update #endif comments.
25961 [__USE_GNU]: Remove redundant conditionals.
25962 [__USE_MISC]: Likewise.
25963 * inet/netinet/in.h [__USE_GNU]: Likewise.
25964 * io/sys/stat.h [__USE_MISC]: Likewise.
25965 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25966 * libio/bits/stdio.h: Update #endif comments.
25967 [__USE_MISC]: Remove redundant conditionals.
25968 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25969 * libio/stdio.h: Update #endif comments.
25970 [__USE_MISC]: Remove redundant conditionals.
25971 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25972 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25973 * math/math.h: Update #else and #endif comments.
25974 [__USE_MISC]: Remove redundant conditionals.
25975 * misc/sys/uio.h: Update #endif comments.
25976 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25977 * posix/glob.h [__USE_MISC]: Likewise.
25978 * posix/sys/types.h: Update #endif comments.
25979 [__USE_MISC]: Remove redundant conditionals.
25980 * posix/sys/wait.h: Update #endif comments.
25981 [__USE_MISC]: Remove redundant conditionals.
25982 * posix/unistd.h: Update #endif comments.
25983 [__USE_MISC]: Remove redundant conditionals.
25984 * pwd/pwd.h [__USE_GNU]: Likewise.
25985 [__USE_MISC]: Likewise.
25986 * resolv/netdb.h [__USE_GNU]: Likewise.
25987 * signal/signal.h: Update #endif comments.
25988 [__USE_MISC]: Remove redundant conditionals.
25989 * stdlib/stdlib.h: Update #else and #endif comments.
25990 [__USE_MISC]: Remove redundant conditionals.
25991 [__USE_GNU]: Likewise.
25992 * string/bits/string2.h [__USE_MISC]: Likewise.
25993 * string/string.h: Update #endif comments.
25994 [__USE_MISC]: Remove redundant conditionals.
25995 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25997 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25998 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25999 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26001 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26003 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26005 [__USE_MISC]: Remove redundant conditionals.
26006 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26007 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26008 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26009 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26010 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26012 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26013 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26015 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26016 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26018 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26020 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26021 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26023 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26025 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26026 * sysdeps/x86/bits/string.h: Update #endif comments.
26027 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26029 * time/sys/time.h: Update #endif comments.
26030 * time/time.h: Likewise.
26031 [__USE_MISC]: Remove redundant conditionals.
26033 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26036 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26038 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26040 * Versions.def (librt): Add GLIBC_2.17.
26042 2014-02-21 Adam Conrad <adconrad@0c3.net>
26044 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26045 synonym for _SYS_AUXV_H to allow direct inclusion.
26046 * sysdeps/sparc/bits/hwcap.h: Likewise.
26047 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26048 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26049 * sysdeps/sparc/sysdep.h: Likewise.
26051 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26053 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26055 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26057 * benchtests/bench-strrchr.c: Print length instead of position.
26059 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26062 * sysdeps/unix/sysv/linux/kernel-features.h
26063 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26064 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26065 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26066 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26068 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26069 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26070 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26071 (__ASSUME_SENDMMSG): Define instead of using previous
26072 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26073 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26074 (__ASSUME_SENDMMSG_SYSCALL): Define.
26075 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26076 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26078 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26079 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26081 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26082 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26084 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26085 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26086 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26087 [__ASSUME_SENDMMSG]: Change conditionals to
26088 [__ASSUME_SENDMMSG_SOCKETCALL].
26089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26090 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26092 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26093 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26095 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26096 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26097 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26098 [!__ASSUME_SENDMMSG]: Change conditional to
26099 [!__ASSUME_SENDMMSG_SOCKETCALL].
26100 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26101 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26105 * sysdeps/unix/sysv/linux/kernel-features.h
26106 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26107 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26108 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26109 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26110 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26111 [__i386__ || __sparc__]
26112 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26113 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26114 (__ASSUME_RECVMMSG): Define instead of using previous
26115 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26116 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26117 (__ASSUME_RECVMMSG_SYSCALL): Define.
26118 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26119 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26121 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26122 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26124 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26125 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26127 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26128 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26129 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26130 [__ASSUME_RECVMMSG]: Change condition to
26131 [__ASSUME_RECVMMSG_SOCKETCALL].
26132 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26133 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26135 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26136 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26137 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26139 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26140 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26141 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26142 [!__ASSUME_RECVMMSG]: Change condition to
26143 [!__ASSUME_RECVMMSG_SOCKETCALL].
26144 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26145 (__ASSUME_RECVMMSG_SYSCALL): Define.
26148 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26149 __powerpc__ || __s390__ || __sh__ || __sparc__]
26150 (__ASSUME_SOCKETCALL): Define.
26151 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26152 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26153 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26154 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26155 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26156 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26157 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26158 (__ASSUME_ACCEPT4): Define instead of using previous
26159 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26160 __powerpc__ || __sparc__ || __s390__)] condition.
26161 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26162 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26163 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26164 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26165 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26166 [!__ASSUME_ACCEPT4]: Change condition to
26167 [!__ASSUME_ACCEPT4_SOCKETCALL].
26168 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26169 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26170 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26171 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26172 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26173 __ASSUME_ACCEPT4_SYSCALL.
26174 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26175 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26176 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26177 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26178 __ASSUME_ACCEPT4_SYSCALL.
26179 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26180 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26181 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26182 [__ASSUME_ACCEPT4]: Change condition to
26183 [__ASSUME_ACCEPT4_SOCKETCALL].
26184 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26185 (__ASSUME_SOCKETCALL): Define.
26186 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26187 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26188 (__ASSUME_SOCKETCALL): Define.
26189 (__ASSUME_ACCEPT4): Remove.
26190 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26192 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26193 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26195 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26196 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26198 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26200 (HWCAP_ARM_LPAE): Likewise.
26201 (HWCAP_ARM_EVTSTRM): Likewise.
26202 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26203 Add vpfd32, lpae and evtstrm.
26204 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26207 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26209 * math/auto-libm-test-in: Add tests of clog10.
26210 * math/auto-libm-test-out: Regenerated.
26211 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26212 * sysdeps/i386/fpu/libm-test-ulps: Update.
26213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26215 2014-02-18 Andreas Schwab <schwab@suse.de>
26218 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26219 Store non-zero if the second buffer was newly allocated.
26220 (send_dg): Likewise.
26221 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26222 to send_vc and send_dg.
26223 (res_nsend): Pass NULL for ansp2_malloced.
26224 * resolv/res_query.c (__libc_res_nquery): Add parameter
26225 answerp2_malloced and pass it down to __libc_res_nsend.
26226 (res_nquery): Pass additional NULL to __libc_res_nquery.
26227 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26228 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26229 second answer buffer if answerp2_malloced was set.
26230 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26231 (__libc_res_nquerydomain): Add parameter
26232 answerp2_malloced and pass it down to __libc_res_nquery.
26233 (res_nquerydomain): Pass additional NULL to
26234 __libc_res_nquerydomain.
26235 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26236 additional NULL to __libc_res_nsend and __libc_res_nquery.
26237 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26238 additional NULL to __libc_res_nsearch.
26239 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26240 parameter of __libc_res_nsearch to check for separately allocated
26242 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26244 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26245 additional NULL to __libc_res_nquery.
26246 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26247 __libc_res_nsearch.
26248 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26249 * include/resolv.h: Update prototypes of __libc_res_nquery,
26250 __libc_res_nsearch, __libc_res_nsend.
26252 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26254 * math/auto-libm-test-in: Add tests of fma.
26255 * math/auto-libm-test-out: Regenerated.
26256 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26257 (fma_towardzero_test_data): Likewise.
26258 (fma_downward_test_data): Likewise.
26259 (fma_upward_test_data): Likewise.
26260 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26262 (rounding_modes): Add values for new field.
26263 (func_calc_method): Add value mpfr_fff_f.
26264 (func_calc_desc): Add mpfr_fff_f union field.
26265 (test_function): Add field exact_args.
26266 (FUNC): Add macro argument EXACT_ARGS.
26267 (FUNC_mpfr_f_f): Update call to FUNC.
26268 (FUNC_mpfr_f_f): Likewise.
26269 (FUNC_mpfr_ff_f): Likewise.
26270 (FUNC_mpfr_if_f): Likewise.
26271 (FUNC_mpc_c_f): Likewise.
26272 (FUNC_mpc_c_c): Likewise.
26273 (test_functions): Add fma. Update calls to FUNC.
26274 (handle_input_arg): Add argument exact_args.
26275 (add_test): Update call to handle_input_arg.
26276 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26277 (output_for_one_input_case): Update call to calc_generic_results.
26278 Recalculate exact zero results in each rounding mode.
26280 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26281 non-negative before setting low bit.
26282 * math/auto-libm-test-in: Mark one asin test possibly having
26283 spurious underflow.
26284 * math/auto-libm-test-out: Regenerated.
26285 * sysdeps/i386/fpu/libm-test-ulps: Update.
26286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26288 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26290 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26291 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26292 ports/sysdeps/unix/sysv/linux/microblaze.
26293 * README: Add missing listing for microblaze*-*-linux-gnu.
26295 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26297 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26300 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26302 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26303 * sysdeps/unix/sysv/linux/ia64: Move directory from
26304 ports/sysdeps/unix/sysv/linux/ia64.
26305 * README: Update listing for ia64-*-linux-gnu.
26307 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26308 Joseph Myers <joseph@codesourcery.com>
26310 * Makeconfig (test-name): New variable.
26311 (evaluate-test): Likewise.
26312 * Makerules (do-test-clean): Remove .test-result files.
26313 (common-mostlyclean): Likewise.
26314 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26315 * scripts/evaluate-test.sh: New file.
26317 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26319 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26320 separate $(objpfx)tst-fopenloc-cmp.out and
26321 $(objpfx)tst-fopenloc-mem.out targets.
26322 (tests): Update dependencies.
26323 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26324 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26325 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26326 (tst-rxspencer-no-utf8-ARGS): New variable.
26327 (tst-rxspencer-no-utf8-ENV): Likewise.
26328 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26329 instead of $(objpfx)tst-rxspencer-mem.
26330 ($(objpfx)tst-rxspencer-mem): Change target to
26331 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26332 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26333 * posix/tst-rxspencer-no-utf8.c: New file.
26335 * elf/Makefile ($(objpfx)order.out): Remove rule.
26336 [$(run-built-tests) = yes] (tests): Depend on
26337 $(objpfx)order-cmp.out.
26338 ($(objpfx)order-cmp.out): New rule.
26339 [$(run-built-tests) = yes] (tests): Depend on
26340 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26341 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26342 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26343 $(objpfx)tst-array5-static-cmp.out.
26344 ($(objpfx)tst-array1.out): Remove rule.
26345 ($(objpfx)tst-array1-cmp.out): New rule.
26346 ($(objpfx)tst-array1-static.out): Remove rule.
26347 ($(objpfx)tst-array1-static-cmp.out): New rule.
26348 ($(objpfx)tst-array2.out): Remove rule.
26349 ($(objpfx)tst-array2-cmp.out): New rule.
26350 ($(objpfx)tst-array3.out): Remove rule.
26351 ($(objpfx)tst-array3-cmp.out): New rule.
26352 ($(objpfx)tst-array4.out): Remove rule.
26353 ($(objpfx)tst-array4-cmp.out): New rule.
26354 ($(objpfx)tst-array5.out): Remove rule.
26355 ($(objpfx)tst-array5-cmp.out): New rule.
26356 ($(objpfx)tst-array5-static.out): Remove rule.
26357 ($(objpfx)tst-array5-static-cmp.out): New rule.
26358 [$(run-built-tests) = yes] (tests): Depend on
26359 $(objpfx)order2-cmp.out.
26360 ($(objpfx)order2.out): Remove rule.
26361 ($(objpfx)order2-cmp.out): New rule.
26362 ($(objpfx)tst-initorder.out): Remove rule.
26363 [$(run-built-tests) = yes] (tests): Depend on
26364 $(objpfx)tst-initorder-cmp.out.
26365 ($(objpfx)tst-initorder-cmp.out): New rule.
26366 ($(objpfx)tst-initorder2.out): Remove rule.
26367 [$(run-built-tests) = yes] (tests): Depend on
26368 $(objpfx)tst-initorder2-cmp.out.
26369 ($(objpfx)tst-initorder2-cmp.out): New rule.
26370 [$(run-built-tests) = yes] (tests): Depend on
26371 $(objpfx)tst-unused-dep-cmp.out.
26372 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26373 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26374 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26375 on $(objpfx)tst-setvbuf1-cmp.out.
26376 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26377 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26378 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26379 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26380 ($(objpfx)tst-svc.out): Remove rule.
26381 ($(objpfx)tst-svc-cmp.out): New rule.
26383 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26385 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26386 * ctype/ctype.h [__USE_MISC]: Likewise.
26387 * dirent/dirent.h [__USE_MISC]: Likewise.
26388 * grp/grp.h [__USE_MISC]: Likewise.
26389 * io/fcntl.h [__USE_MISC]: Likewise.
26390 * io/sys/stat.h [__USE_MISC]: Likewise.
26391 * libio/stdio.h [__USE_MISC]: Likewise.
26392 * posix/unistd.h [__USE_MISC]: Likewise.
26393 * pwd/pwd.h [__USE_MISC]: Likewise.
26394 * stdlib.h [__USE_MISC]: Likewise.
26395 * string/bits/string2.h [__USE_MISC]: Likewise.
26396 * string/string.h [__USE_MISC]: Likewise.
26397 * time/time.h [__USE_MISC]: Likewise.
26399 2014-02-13 Andreas Schwab <schwab@suse.de>
26402 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26403 second answer buffer if it was separately allocated.
26405 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26407 * sysdeps/mips/math-tests.h: Include <features.h>.
26408 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26409 (ROUNDING_TESTS_long_double): Do not define.
26410 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26411 (EXCEPTION_TESTS_long_double): Likewise.
26412 * sysdeps/mips/mips64/libm-test-ulps: Update.
26414 * include/features.h (__USE_BSD): Remove macro definitions.
26415 (__USE_SVID): Likewise.
26416 (_BSD_SOURCE): Likewise.
26417 (_SVID_SOURCE): Likewise.
26418 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26419 from definition of _DEFAULT_SOURCE.
26420 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26422 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26423 * bits/mman.h [__USE_BSD]: Likewise.
26424 * bits/termios.h [__USE_BSD]: Likewise.
26425 * bits/waitstatus.h [__USE_BSD]: Likewise.
26426 * ctype/ctype.h [__USE_SVID]: Likewise.
26427 * dirent/dirent.h [__USE_BSD]: Likewise.
26428 * grp/grp.h [__USE_SVID]: Likewise.
26429 [__USE_BSD]: Likewise.
26430 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26431 * io/fcntl.h [__USE_BSD]: Likewise.
26432 * io/ftw.h [__USE_BSD]: Likewise.
26433 * io/sys/stat.h [__USE_BSD]: Likewise.
26434 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26435 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26436 * libio/stdio.h [__USE_SVID]: Likewise.
26437 [__USE_BSD]: Likewise.
26438 * math/math.h [__USE_SVID]: Likewise.
26439 [__USE_BSD]: Likewise.
26440 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26441 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26442 * misc/search.h [__USE_SVID]: Likewise.
26443 * misc/sys/mman.h [__USE_BSD]: Likewise.
26444 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26445 * misc/sys/uio.h [__USE_BSD]: Likewise.
26446 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26447 * posix/glob.h [__USE_BSD]: Likewise.
26448 * posix/regex.h [__USE_BSD]: Likewise.
26449 * posix/sys/types.h [__USE_BSD]: Likewise.
26450 [__USE_SVID]: Likewise.
26451 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26452 * posix/sys/wait.h [__USE_BSD]: Likewise.
26453 [__USE_SVID]: Likewise.
26454 * posix/unistd.h [__USE_BSD]: Likewise.
26455 [__USE_SVID]: Likewise.
26456 * pwd/pwd.h [__USE_SVID]: Likewise.
26457 * resolv/netdb.h [__USE_BSD]: Likewise.
26458 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26459 * signal/signal.h [__USE_BSD]: Likewise.
26460 [__USE_SVID]: Likewise.
26461 * socket/sys/socket.h [__USE_BSD]: Likewise.
26462 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26463 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26464 [__USE_SVID]: Likewise.
26465 * string/bits/string2.h [__USE_BSD]: Likewise.
26466 [__USE_SVID]: Likewise.
26467 * string/bits/string3.h [__USE_BSD]: Likewise.
26468 * string/endian.h [__USE_BSD]: Likewise.
26469 * string/string.h [__USE_SVID]: Likewise.
26470 [__USE_BSD]: Likewise.
26471 * string/strings.h [__USE_BSD]: Likewise.
26472 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26473 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26475 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26476 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26477 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26481 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26482 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26484 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26485 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26487 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26489 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26490 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26491 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26495 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26496 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26497 * termios/termios.h [__USE_BSD]: Likewise.
26498 * time/sys/time.h [__USE_BSD]: Likewise.
26499 * time/time.h [__USE_BSD]: Likewise.
26500 [__USE_SVID]: Likewise.
26502 * Makefile (subdir_targets): Remove subdir_lint.out.
26504 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26505 (do-tst-printf): Likewise.
26506 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26507 $(objpfx)tst-printf.out.
26509 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26511 * Makerules (check-abi-%): Change target to
26512 $(objpfx)check-abi-%.out.
26513 (check-abi target): Update dependencies.
26514 (check-abi-pattern variable): Redirect output of diff to $@.
26515 (check-abi variable): Likewise.
26516 * elf/Makefile (check-abi): Update dependencies.
26518 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26520 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26521 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26523 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26524 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26525 value has largest subnormal exponent.
26526 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26527 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26528 * sysdeps/aarch64/soft-fp/sfp-machine.h
26529 (_FP_TININESS_AFTER_ROUNDING): New macro.
26530 * sysdeps/alpha/soft-fp/sfp-machine.h
26531 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26532 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26534 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26535 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26536 * sysdeps/mips/soft-fp/sfp-machine.h
26537 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26538 * sysdeps/powerpc/soft-fp/sfp-machine.h
26539 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26540 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26542 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26543 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26545 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26546 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26549 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26552 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26555 2014-02-12 Richard Henderson <rth@redhat.com>
26557 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26558 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26559 * sysdeps/unix/sysv/linux/alpha: Move directory from
26560 ports/sysdeps/unix/sysv/linux/alpha.
26561 * README: Update listing for alpha-*-linux-gnu.
26563 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26565 * include/features.h: Update comment documenting feature test
26567 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26569 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26570 (_SVID_SOURCE): Likewise.
26571 (_DEFAULT_SOURCE): Update description of default features.
26572 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26574 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26575 (S_ISVTX): Likewise.
26576 * manual/math.texi (Mathematical Constants): Likewise.
26577 * manual/signal.texi (Interrupted Primitives): Likewise.
26578 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26579 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26580 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26581 Don't refer to _SVID_SOURCE in warning text.
26583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26585 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26587 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26588 * sysdeps/mips/dl-lookup.c: Remove.
26589 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26591 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26594 * math/auto-libm-test-in: Add testcase for expl.
26595 * math/auto-libm-test-out: Regenerate.
26596 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26597 calculation of unsafe.
26598 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26600 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26602 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26603 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26604 ports/sysdeps/unix/sysv/linux/aarch64.
26605 * README: Update listing for aarch64*-*-linux-gnu.
26607 2014-02-11 Will Newton <will.newton@linaro.org>
26609 * manual/probes.texi (Mathematical Function Probes): Use
26610 "triggered" instead of "hit".
26612 * manual/probes.texi (Internal Probes): Add documentation
26613 of setjmp, longjmp and longjmp_target probes.
26615 * include/stap-probe.h: Add comment about probe argument
26618 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26619 definition. (tr_where, tr_freehook, tr_mallochook,
26620 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26622 2014-02-11 David S. Miller <davem@davemloft.net>
26624 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26625 processing int_tests.
26627 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26629 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26630 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26631 * sysdeps/unix/sysv/linux/mips: Move directory from
26632 ports/sysdeps/unix/sysv/linux/mips.
26633 * README: Update listing for mips-*-linux-gnu and
26634 mips64-*-linux-gnu.
26636 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26638 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26639 * sysdeps/unix/sysv/linux/m68k: Move directory from
26640 ports/sysdeps/unix/sysv/linux/m68k.
26641 * README: Update listing for m68k-*-linux-gnu.
26643 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26645 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26646 * sysdeps/unix/sysv/linux/generic: Move directory from
26647 ports/sysdeps/unix/sysv/linux/generic.
26648 * sysdeps/unix/sysv/linux/tile: Move directory from
26649 ports/sysdeps/unix/sysv/linux/tile.
26650 * README: Update listing for tile*-*-linux-gnu.
26652 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26654 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26656 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26657 * catgets/open_catalog.c (__open_catalog): Likewise.
26658 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26659 * debug/confstr_chk.c: Likewise.
26660 * debug/fread_chk.c (__fread_chk): Likewise.
26661 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26662 * debug/getgroups_chk.c: Likewise.
26663 * debug/mbsnrtowcs_chk.c: Likewise.
26664 * debug/mbsrtowcs_chk.c: Likewise.
26665 * debug/mbstowcs_chk.c: Likewise.
26666 * debug/memcpy_chk.c: Likewise.
26667 * debug/memmove_chk.c: Likewise.
26668 * debug/mempcpy_chk.c: Likewise.
26669 * debug/memset_chk.c: Likewise.
26670 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26671 * debug/strcat_chk.c (__strcat_chk): Likewise.
26672 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26673 * debug/strncat_chk.c (__strncat_chk): Likewise.
26674 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26675 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26676 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26677 * debug/wcpncpy_chk.c: Likewise.
26678 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26679 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26680 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26681 * debug/wcsncpy_chk.c: Likewise.
26682 * debug/wcsnrtombs_chk.c: Likewise.
26683 * debug/wcsrtombs_chk.c: Likewise.
26684 * debug/wcstombs_chk.c: Likewise.
26685 * debug/wmemcpy_chk.c: Likewise.
26686 * debug/wmemmove_chk.c: Likewise.
26687 * debug/wmempcpy_chk.c: Likewise.
26688 * debug/wmemset_chk.c: Likewise.
26689 * dirent/scandirat.c (SCANDIRAT): Likewise.
26690 * dlfcn/dladdr1.c (dladdr1): Likewise.
26691 * dlfcn/dladdr.c (dladdr): Likewise.
26692 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26693 * dlfcn/dlerror.c (__dlerror): Likewise.
26694 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26695 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26696 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26697 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26698 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26699 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26700 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26701 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26703 * elf/dl-conflict.c: Likewise.
26704 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26705 * elf/dl-dst.h: Likewise.
26706 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26707 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26708 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26709 * elf/dl-init.c (call_init, _dl_init): Likewise.
26710 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26711 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26712 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26714 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26716 * elf/dl-minimal.c (__libc_memalign): Likewise.
26717 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26718 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26719 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26720 * elf/dl-sym.c (do_sym): Likewise.
26721 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26722 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26723 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26724 * elf/dl-writev.h (_dl_writev): Likewise.
26725 * elf/ldconfig.c (search_dir): Likewise.
26726 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26727 (dl_main): Likewise.
26728 * elf/setup-vdso.h (setup_vdso): Likewise.
26729 * grp/compat-initgroups.c (compat_call): Likewise.
26730 * grp/fgetgrent.c (fgetgrent): Likewise.
26731 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26732 * grp/putgrent.c (putgrent): Likewise.
26733 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26735 * hurd/hurdinit.c: Likewise.
26736 * iconvdata/8bit-gap.c (struct): Likewise.
26737 * iconvdata/ansi_x3.110.c : Likewise.
26738 * iconvdata/big5.c : Likewise.
26739 * iconvdata/big5hkscs.c : Likewise.
26740 * iconvdata/cp1255.c: Likewise.
26741 * iconvdata/cp1258.c : Likewise.
26742 * iconvdata/cp932.c : Likewise.
26743 * iconvdata/euc-cn.c: Likewise.
26744 * iconvdata/euc-jisx0213.c : Likewise.
26745 * iconvdata/euc-jp.c: Likewise.
26746 * iconvdata/euc-jp-ms.c : Likewise.
26747 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26748 * iconvdata/gb18030.c : Likewise.
26749 * iconvdata/gbbig5.c (const): Likewise.
26750 * iconvdata/gbgbk.c: Likewise.
26751 * iconvdata/gbk.c : Likewise.
26752 * iconvdata/ibm1364.c : Likewise.
26753 * iconvdata/ibm930.c : Likewise.
26754 * iconvdata/ibm932.c: Likewise.
26755 * iconvdata/ibm933.c : Likewise.
26756 * iconvdata/ibm935.c : Likewise.
26757 * iconvdata/ibm937.c : Likewise.
26758 * iconvdata/ibm939.c : Likewise.
26759 * iconvdata/ibm943.c: Likewise.
26760 * iconvdata/iso_11548-1.c: Likewise.
26761 * iconvdata/iso-2022-cn.c : Likewise.
26762 * iconvdata/iso-2022-cn-ext.c : Likewise.
26763 * iconvdata/iso-2022-jp-3.c: Likewise.
26764 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26765 * iconvdata/iso-2022-kr.c : Likewise.
26766 * iconvdata/iso646.c (gconv_end): Likewise.
26767 * iconvdata/iso_6937-2.c : Likewise.
26768 * iconvdata/iso_6937.c : Likewise.
26769 * iconvdata/iso8859-1.c: Likewise.
26770 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26771 * iconvdata/shift_jisx0213.c : Likewise.
26772 * iconvdata/sjis.c : Likewise.
26773 * iconvdata/t.61.c : Likewise.
26774 * iconvdata/tcvn5712-1.c : Likewise.
26775 * iconvdata/tscii.c: Likewise.
26776 * iconvdata/uhc.c : Likewise.
26777 * iconvdata/unicode.c (gconv_end): Likewise.
26778 * iconvdata/utf-16.c (gconv_end): Likewise.
26779 * iconvdata/utf-32.c (gconv_end): Likewise.
26780 * iconvdata/utf-7.c (base64): Likewise.
26781 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26782 * iconv/gconv_close.c (__gconv_close): Likewise.
26783 * iconv/gconv_open.c (__gconv_open): Likewise.
26784 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26785 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26786 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26787 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26788 (ucs4le_internal_loop_single): Likewise.
26789 * iconv/iconv.c (iconv): Likewise.
26790 * iconv/iconv_close.c: Likewise.
26791 * iconv/loop.c (SINGLE): Likewise.
26792 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26793 * include/atomic.h: Likewise.
26794 * inet/inet6_option.c (option_alloc): Likewise.
26795 * intl/bindtextdom.c (set_binding_values): Likewise.
26796 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26797 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26798 * intl/localealias.c (read_alias_file): Likewise.
26799 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26800 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26801 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26802 * libio/fmemopen.c (fmemopen): Likewise.
26803 * libio/iofgets.c (_IO_fgets): Likewise.
26804 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26805 * libio/iofgetws.c (fgetws): Likewise.
26806 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26807 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26808 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26809 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26810 * locale/findlocale.c (_nl_find_locale): Likewise.
26811 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26812 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26814 * locale/setlocale.c (setlocale): Likewise.
26815 * login/programs/pt_chown.c (main): Likewise.
26816 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26817 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26818 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26819 (mmap, mmap64, mremap, munmap): Likewise.
26820 * math/e_exp2l.c: Likewise.
26821 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26822 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26823 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26824 * math/s_catan.c (__catan): Likewise.
26825 * math/s_catanf.c (__catanf): Likewise.
26826 * math/s_catanh.c (__catanh): Likewise.
26827 * math/s_catanhf.c (__catanhf): Likewise.
26828 * math/s_catanhl.c (__catanhl): Likewise.
26829 * math/s_catanl.c (__catanl): Likewise.
26830 * math/s_ccosh.c (__ccosh): Likewise.
26831 * math/s_ccoshf.c (__ccoshf): Likewise.
26832 * math/s_ccoshl.c (__ccoshl): Likewise.
26833 * math/s_cexp.c (__cexp): Likewise.
26834 * math/s_cexpf.c (__cexpf): Likewise.
26835 * math/s_cexpl.c (__cexpl): Likewise.
26836 * math/s_clog10.c (__clog10): Likewise.
26837 * math/s_clog10f.c (__clog10f): Likewise.
26838 * math/s_clog10l.c (__clog10l): Likewise.
26839 * math/s_clog.c (__clog): Likewise.
26840 * math/s_clogf.c (__clogf): Likewise.
26841 * math/s_clogl.c (__clogl): Likewise.
26842 * math/s_csin.c (__csin): Likewise.
26843 * math/s_csinf.c (__csinf): Likewise.
26844 * math/s_csinh.c (__csinh): Likewise.
26845 * math/s_csinhf.c (__csinhf): Likewise.
26846 * math/s_csinhl.c (__csinhl): Likewise.
26847 * math/s_csinl.c (__csinl): Likewise.
26848 * math/s_csqrt.c (__csqrt): Likewise.
26849 * math/s_csqrtf.c (__csqrtf): Likewise.
26850 * math/s_csqrtl.c (__csqrtl): Likewise.
26851 * math/s_ctan.c (__ctan): Likewise.
26852 * math/s_ctanf.c (__ctanf): Likewise.
26853 * math/s_ctanh.c (__ctanh): Likewise.
26854 * math/s_ctanhf.c (__ctanhf): Likewise.
26855 * math/s_ctanhl.c (__ctanhl): Likewise.
26856 * math/s_ctanl.c (__ctanl): Likewise.
26857 * math/w_pow.c: Likewise.
26858 * math/w_powf.c: Likewise.
26859 * math/w_powl.c: Likewise.
26860 * math/w_scalb.c (sysv_scalb): Likewise.
26861 * math/w_scalbf.c (sysv_scalbf): Likewise.
26862 * math/w_scalbl.c (sysv_scalbl): Likewise.
26863 * misc/error.c (error_tail): Likewise.
26864 * misc/pselect.c (__pselect): Likewise.
26865 * nis/nis_callback.c (__nis_create_callback): Likewise.
26866 * nis/nis_call.c (__nisfind_server): Likewise.
26867 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26868 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26869 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26870 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26871 * nis/nis_lookup.c (nis_lookup): Likewise.
26872 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26873 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26874 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26875 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26876 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26877 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26878 * nis/nss_compat/compat-initgroups.c (add_group)
26879 (internal_getgrent_r): Likewise.
26880 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26881 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26882 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26883 (internal_getspnam_r): Likewise.
26884 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26885 (_nss_nis_getaliasbyname_r): Likewise.
26886 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26887 (_nss_nis_getntohost_r): Likewise.
26888 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26889 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26890 (_nss_nis_getgrgid_r): Likewise.
26891 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26892 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26893 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26894 (_nss_nis_gethostbyname4_r): Likewise.
26895 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26896 (initgroups_netid): Likewise.
26897 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26898 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26899 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26900 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26901 (_nss_nis_getprotobynumber_r): Likewise.
26902 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26903 (_nss_nis_getsecretkey): Likewise.
26904 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26905 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26906 (_nss_nis_getpwuid_r): Likewise.
26907 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26908 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26909 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26910 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26911 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26912 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26913 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26915 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26916 (_nss_nisplus_getntohost_r): Likewise.
26917 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26918 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26919 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26920 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26922 * nis/nss_nisplus/nisplus-initgroups.c
26923 (_nss_nisplus_initgroups_dyn): Likewise.
26924 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26925 (_nss_nisplus_getnetbyaddr_r): Likewise.
26926 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26927 (_nss_nisplus_getprotobynumber_r): Likewise.
26928 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26929 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26930 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26932 * nis/nss_nisplus/nisplus-service.c
26933 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26934 (_nss_nisplus_getservbyport_r): Likewise.
26935 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26936 (_nss_nisplus_getspnam_r): Likewise.
26937 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26939 * nscd/aicache.c (addhstaiX): Likewise.
26940 * nscd/cache.c (cache_search, prune_cache): Likewise.
26941 * nscd/connections.c (register_traced_file, send_ro_fd)
26942 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26943 (main_loop_epoll): Likewise.
26944 * nscd/grpcache.c (addgrbyX): Likewise.
26945 * nscd/hstcache.c (addhstbyX): Likewise.
26946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26947 * nscd/mem.c (gc, mempool_alloc): Likewise.
26948 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26949 (addinnetgrX): Likewise.
26950 * nscd/nscd-client.h (__nscd_acquire_maplock)
26951 (__nscd_drop_map_ref): Likewise.
26952 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26953 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26954 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26956 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26958 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26959 (__nscd_get_map_ref): Likewise.
26960 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26961 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26963 * nscd/pwdcache.c (addpwbyX): Likewise.
26964 * nscd/selinux.c (preserve_capabilities): Likewise.
26965 * nscd/servicescache.c (addservbyX): Likewise.
26966 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26967 * posix/fnmatch.c (fnmatch): Likewise.
26968 * posix/getopt.c (_getopt_internal_r): Likewise.
26969 * posix/glob.c (glob, glob_in_dir): Likewise.
26970 * posix/wordexp.c (exec_comm_child): Likewise.
26971 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26972 (getanswer_r, gaih_getanswer_slice): Likewise.
26973 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26974 * resolv/res_init.c: Likewise.
26975 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26976 * resolv/res_query.c (__libc_res_nquery): Likewise.
26977 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26979 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26980 * stdio-common/perror.c (perror): Likewise.
26981 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26982 * stdio-common/tmpnam.c (tmpnam): Likewise.
26983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26984 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26985 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26987 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26988 * stdlib/putenv.c (putenv): Likewise.
26989 * stdlib/setenv.c (__add_to_environ): Likewise.
26990 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26991 * stdlib/strtol_l.c (INTERNAL): Likewise.
26992 * string/memmem.c (memmem): Likewise.
26993 * string/strerror.c (strerror): Likewise.
26994 * string/strnlen.c (__strnlen): Likewise.
26995 * string/test-memmem.c (simple_memmem): Likewise.
26996 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26997 * sunrpc/pm_getport.c (__get_socket): Likewise.
26998 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26999 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27000 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27001 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27003 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27004 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27005 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27006 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27007 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27008 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27010 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27012 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27013 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27015 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27016 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27018 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27019 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27020 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27021 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27022 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27027 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27029 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27032 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27033 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27034 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27035 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27036 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27038 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27039 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27040 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27041 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27042 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27044 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27046 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27048 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27052 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27053 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27054 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27056 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27057 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27058 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27059 * sysdeps/posix/sleep.c: Likewise.
27060 * sysdeps/posix/tempname.c: Likewise.
27061 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27062 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27064 * sysdeps/powerpc/powerpc32/dl-machine.h
27065 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27066 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27068 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27069 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27071 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27072 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27073 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27074 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27075 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27076 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27077 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27078 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27079 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27080 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27082 (elf_machine_lazy_rel): Likewise.
27083 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27085 (elf_machine_lazy_rel): Likewise.
27086 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27087 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27088 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27089 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27090 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27091 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27092 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27095 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27096 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27097 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27098 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27099 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27100 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27101 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27102 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27103 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27104 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27105 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27107 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27108 (__posix_fallocate64_l64): Likewise.
27109 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27110 (posix_fallocate): Likewise.
27111 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27114 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27115 (getifaddrs_internal): Likewise.
27116 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27117 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27118 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27119 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27120 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27121 (__posix_fallocate64_l64): Likewise.
27122 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27124 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27125 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27126 (__get_clockfreq): Likewise.
27127 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27128 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27129 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27132 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27133 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27134 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27136 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27137 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27138 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27139 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27141 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27142 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27144 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27145 (posix_fallocate): Likewise.
27146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27147 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27148 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27149 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27150 (elf_machine_rela, elf_machine_rela_relative)
27151 (elf_machine_lazy_rel): Likewise.
27152 * time/asctime.c (asctime_internal): Likewise.
27153 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27154 * time/tzset.c (__tzset_parse_tz): Likewise.
27155 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27156 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27157 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27158 * wcsmbs/wcsmbsload.h: Likewise.
27161 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27163 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27164 (arena_get2): Remove THREAD_STATS conditionals.
27165 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27166 (__malloc_stats, int): Likewise.
27168 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27170 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27171 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27173 * manual/setjmp.texi: Fix typos/grammar errors.
27175 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27176 Only return early when n is <= 0. Delete unused return statement.
27178 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27179 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27180 * debug/tst-longjmp_chk3.c: New file.
27182 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27183 (test_main): Replace code with set_fortify_handler call.
27184 * debug/test-strcpy_chk.c: Likewise.
27185 * debug/tst-chk1.c: Likewise.
27186 * debug/tst-longjmp_chk.c: Likewise.
27187 * test-skeleton.c: Include fcntl.h & paths.h
27188 (set_fortify_handler): Define.
27190 * debug/tst-longjmp_chk.c: Add header comment and include
27191 ../test-skeleton.c.
27192 (do_test): Mark static.
27193 (TEST_FUNCTION): Define.
27195 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27196 (IP_PMTUDISC_INTERFACE): Likewise.
27197 (IP_MULTICAST_IF): Likewise.
27198 (IP_MULTICAST_TTL): Likewise.
27199 (IP_MULTICAST_LOOP): Likewise.
27200 (IP_ADD_MEMBERSHIP): Likewise.
27201 (IP_DROP_MEMBERSHIP): Likewise.
27202 (IP_UNBLOCK_SOURCE): Likewise.
27203 (IP_BLOCK_SOURCE): Likewise.
27204 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27205 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27206 (IP_MSFILTER): Likewise.
27207 (MCAST_JOIN_GROUP): Likewise.
27208 (MCAST_BLOCK_SOURCE): Likewise.
27209 (MCAST_UNBLOCK_SOURCE): Likewise.
27210 (MCAST_LEAVE_GROUP): Likewise.
27211 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27212 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27213 (MCAST_MSFILTER): Likewise.
27214 (IP_MULTICAST_ALL): Likewise.
27215 (IP_UNICAST_IF): Likewise.
27217 * timezone/Makefile: Delete $(have-ksh) check.
27218 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27219 * timezone/tzselect.ksh: Add +x mode bits.
27221 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27222 (ANON_INODE_FS_MAGIC): Likewise.
27223 (BDEVFS_MAGIC): Likewise.
27224 (BINFMTFS_MAGIC): Likewise.
27225 (BTRFS_TEST_MAGIC): Likewise.
27226 (CRAMFS_MAGIC_WEND): Likewise.
27227 (DEBUGFS_MAGIC): Likewise.
27228 (ECRYPTFS_SUPER_MAGIC): Likewise.
27229 (EXT3_SUPER_MAGIC): Likewise.
27230 (EXT4_SUPER_MAGIC): Likewise.
27231 (FUTEXFS_SUPER_MAGIC): Likewise.
27232 (HOSTFS_SUPER_MAGIC): Likewise.
27233 (HUGETLBFS_MAGIC): Likewise.
27234 (MINIX3_SUPER_MAGIC): Likewise.
27235 (MTD_INODE_FS_MAGIC): Likewise.
27236 (NILFS_SUPER_MAGIC): Likewise.
27237 (OPENPROM_SUPER_MAGIC): Likewise.
27238 (PIPEFS_MAGIC): Likewise.
27239 (PSTOREFS_MAGIC): Likewise.
27240 (QNX6_SUPER_MAGIC): Likewise.
27241 (RAMFS_MAGIC): Likewise.
27242 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27243 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27244 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27245 (SECURITYFS_MAGIC): Likewise.
27246 (SELINUX_MAGIC): Likewise.
27247 (SMACK_MAGIC): Likewise.
27248 (SOCKFS_MAGIC): Likewise.
27249 (SQUASHFS_MAGIC): Likewise.
27250 (STACK_END_MAGIC): Likewise.
27251 (TMPFS_MAGIC): Likewise.
27252 (USBDEVICE_SUPER_MAGIC): Likewise.
27253 (V9FS_MAGIC): Likewise.
27254 (XENFS_SUPER_MAGIC): Likewise.
27255 (CRAMFS_MAGIC): Fix typo in comment.
27256 (EXT2_SUPER_MAGIC): Update comment.
27257 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27259 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27261 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27262 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27263 * sysdeps/unix/sysv/linux/arm: Move directory from
27264 ports/sysdeps/unix/sysv/linux/arm.
27265 * README: Update listing for arm-*-linux-gnueabi.
27267 * README: Remove mention of am33.
27269 2014-02-07 Roland McGrath <roland@hack.frob.com>
27271 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27272 than the comma operator, to avoid "rhs of comma has no effect"
27274 (__sigfillset, __sigandset, __sigorset): Likewise.
27275 * include/signal.h (__sigemptyset): Likewise.
27276 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27278 2014-02-07 Allan McRae <allan@archlinux.org>
27280 * version.h (RELEASE): Set to "development".
27281 (VERSION): Set to "2.19.90"
27282 * NEWS: Add 2.20 section.
27284 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27287 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27289 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27291 * manual/contrib.texi: Update entry for Carlos O'Donell,
27292 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27294 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27296 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27298 * sysdeps/unix/sysv/linux/kernel-features.h
27299 [__LINUX_KERNEL_VERSION >= 0x020621]
27300 (__ASSUME_PROC_PID_TASK_COMM): Define.
27302 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27306 conversion when destination buffer does not have enough space.
27307 * libio/tst-ftell-partial-wide.c: New test case.
27308 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27310 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27311 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27312 Leonard and Allan McRae.
27314 2014-02-04 David S. Miller <davem@davemloft.net>
27316 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27319 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27348 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27350 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27351 * shlib-versions: Likewise.
27353 2014-02-04 Roland McGrath <roland@hack.frob.com>
27354 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27356 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27357 (abilist-pattern): New variable, set to %-le.abilist.
27359 * Makerules (abilist-pattern): New variable.
27360 (vpath): Use $(abilist-pattern) in place of %.abilist.
27361 (check-abi-% pattern rule): Likewise.
27362 (check-abi, update-abi): Likewise.
27364 2014-02-04 Eric Wong <normalperson@yhbt.net>
27366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27368 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27370 * manual/startup.texi: Add next, previous, and top entries for
27371 the `Program Arguments' and `Environment Variables' nodes.
27373 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27375 * manual/macros.texi: Add comments before MTASC-safety macros.
27377 * manual/users.texi: Document MTASC-safety properties.
27379 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27380 (pthread_getspecific, pthread_setspecific): Format with
27381 @deftypefun, and add @safety note.
27382 * manual/signal.texi: Move comments that analyze the above
27383 functions to their home place.
27385 2014-02-03 Allan McRae <allan@archlinux.org>
27387 * po/sl.po: Update Slovenian translation from translation project.
27389 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27391 * manual/time.texi (timegm): Add missing blank after @c.
27392 Reported by Joseph Myers <joseph@codesourcery.com>.
27394 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27396 * manual/check-safety.sh: New.
27397 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27399 * manual/terminal.texi: Document MTASC-safety properties.
27401 * manual/filesys.texi: Document MTASC-safety properties.
27403 * manual/errno.texi: Document MTASC-safety properties.
27405 * manual/intro.texi: Document safety identifiers and
27408 * manual/string.texi (wcstok): Fix prototype.
27409 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27411 * manual/time.texi: Document MTASC-safety properties.
27413 * manual/string.texi: Document MTASC-safety properties.
27415 * manual/threads.texi: Document MTASC-safety properties.
27417 * manual/stdio.texi: Document MTASC-safety properties.
27419 * manual/syslog.texi: Document MTASC-safety properties.
27421 * manual/sysinfo.texi: Document MTASC-safety properties.
27423 * manual/startup.texi: Document MTASC-safety properties.
27425 * manual/socket.texi: Document MTASC-safety properties.
27427 * manual/signal.texi: Document MTASC-safety properties.
27429 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27431 * manual/setjmp.texi: Document MTASC-safety properties.
27433 * manual/search.texi: Document MTASC-safety properties.
27435 * manual/resource.texi: Document MTASC-safety properties.
27437 * manual/process.texi: Document MTASC-safety properties.
27439 * manual/platform.texi: Document MTASC-safety properties.
27441 * manual/pipe.texi: Document MTASC-safety properties.
27443 * manual/pattern.texi: Document MTASC-safety properties.
27445 * manual/message.texi: Document MTASC-safety properties.
27448 * manual/memory.texi: Document MTASC-safety properties.
27450 * manual/math.texi: Document MTASC-safety properties.
27452 * manual/locale.texi: Document MTASC-safety properties.
27454 * manual/llio.texi: Document MTASC-safety properties.
27456 * manual/libdl.texi: New.
27458 * manual/lang.texi: Document MTASC-safety properties.
27460 * manual/job.texi: Document MTASC-safety properties.
27462 * manual/getopt.texi: Document MTASC-safety properties.
27464 * manual/ctype.texi: Document MTASC-safety properties.
27466 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27469 * csu/libc-tls.c (static_map): Remove variable.
27470 (__libc_setup_tls): Use main executable's link map for TLS data.
27471 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27472 casing for LM_ID_BASE and GL(dl_nns).
27473 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27474 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27475 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27476 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27477 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27479 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27482 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27484 * manual/debug.texi: Document MTASC-safety properties.
27486 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27489 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27490 of __x86_64__ when disabling x87 inline functions.
27492 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27494 * manual/charset.texi: Document MTASC-safety properties.
27496 * manual/crypt.texi: Document MTASC-safety properties.
27498 * manual/conf.texi: Document MTASC-safety properties.
27500 * manual/arith.texi: Document MTASC-safety properties.
27502 * manual/argp.texi: Document MTASC-safety properties.
27504 * manual/macros.texi: Introduce macros to document multi
27505 thread, asynchronous signal and asynchronous cancellation
27507 * manual/intro.texi: Introduce the properties themselves.
27509 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27511 * sysdeps/sh/sh4/Makefile: New file.
27513 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27515 * math/gen-libm-test.pl ($srcdir): New variable.
27516 ($auto_input): Use it.
27518 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27521 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27522 access beyond array bounds when parsing netgroups file.
27524 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27525 the old buffer before realloc.
27527 2014-01-27 Allan McRae <allan@archlinux.org>
27529 * po/fr.po: Update French translation from translation project.
27531 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27533 * sysdeps/sh/libm-test-ulps: Regenerate.
27535 2014-01-24 David S. Miller <davem@davemloft.net>
27537 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27539 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27541 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27542 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27544 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27547 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27548 string pointers after reallocation.
27550 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27552 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27553 __SH4A__ instead of __SH_FPU_ANY__.
27555 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27557 * sysdeps/sh/fpu_control.h: New file.
27558 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27559 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27560 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27561 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27562 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27563 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27564 * sysdeps/sh/sys/ucontext.h: Remove.
27565 * sysdeps/sh/sys: Remove directory.
27567 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27569 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27570 s390/sys/ucontext.h.
27571 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27572 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27574 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27577 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27579 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27582 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27583 Adjust the vDSO correctly for internal calls.
27584 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27586 2014-01-20 Allan McRae <allan@archlinux.org>
27588 * po/ca.po: Update Catalan translation from translation project.
27590 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27592 * sysdeps/s390/sotruss-lib.c: New file.
27594 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27597 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27598 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27599 local calls issues by not having a PLT stub required for IFUNC calls.
27600 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27602 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27604 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27605 * math/test-fpucw-static.c: Likewise.
27607 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27610 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27612 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27614 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27615 implementation for powerpc.
27617 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27620 * sysdeps/posix/system.c (__libc_system): Do not enable
27621 asynchronous cancellation.
27623 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27626 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27627 handling only for numbers special also in the IEEE case.
27629 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27631 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27633 2014-01-11 Allan McRae <allan@archlinux.org>
27635 * po/bg.po: Update Bulgarian translation from translation project.
27637 * po/de.po: Update German translation from translation project.
27639 2014-01-10 Roland McGrath <roland@hack.frob.com>
27641 * sysdeps/generic/gcc-compat.h: New file.
27643 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27645 * benchtests/asin-inputs: Correct slow inputs.
27646 * benchtests/acos-inputs: Likewise.
27648 2014-01-10 Allan McRae <allan@archlinux.org>
27650 * po:sv.po: Update Swedish translation from translation project.
27652 * po/vi.po: Update Vietnamese translation from translation project.
27654 * po/eo.po: Update Esperanto translation from translation project.
27656 * po/cs.po: Update Czech translation from translation project.
27658 * po/nl.po: Update Dutch translation from translation project.
27660 * po/pl.po: Update Polish translation from translation project.
27662 * po/ru.po: Update Russian translation from translation project.
27664 * po/uk.po: Update Ukrainian translation from translation project.
27666 2014-01-08 Brooks Moses <bmoses@google.com>
27668 * elf/dl-load.c: Fix comment typo.
27670 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27672 * po/header.pot: Rename to...
27673 * po/pot.header: ... this.
27674 * po/Makefile: Use pot.header.
27676 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27677 Maxim Kuvyrkov <maxim@kugelworks.com>
27680 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27681 SRC and DEST against LEN.
27683 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27686 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27688 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27690 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27694 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27698 for large positive arguments.
27700 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27702 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27704 * math/auto-libm-test-in: Mark various tests with
27705 xfail-rounding:ldbl-128ibm.
27706 * math/auto-libm-test-out: Regenerated.
27709 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27710 Increase overflow threshold.
27712 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27715 * stdio-common/vfprintf.c: Check for integer overflow.
27717 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27719 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27720 the first argument and return value of __tls_get_addr_internal.
27722 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27724 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27725 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27727 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27729 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27730 * sysdeps/s390/rtld-global-offsets.sym: New file.
27731 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27733 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27734 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27735 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27737 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27738 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27744 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27745 halfs of GPRs for high_gprs contexts.
27746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27747 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27749 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27753 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27754 for high GPRs (uc_high_gprs) and for future extensions
27756 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27757 for future extensions (__reserved).
27758 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27760 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27761 SC_HIGHGPRS offset definition.
27762 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27763 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27765 * Versions.def: Add GLIBC_2.19 for libpthread.
27766 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27767 siglongjmp for libpthread with GLIBC_2.19 symver.
27768 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27769 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27770 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27771 * sysdeps/s390/__longjmp.c: New file.
27772 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27773 * sysdeps/s390/longjmp.c: New file.
27774 * sysdeps/s390/setjmp.S: New file.
27775 * sysdeps/s390/sigjmp.S: New file.
27776 * sysdeps/s390/v1-longjmp.c: New file.
27777 * sysdeps/s390/v1-setjmp.h: New file.
27778 * sysdeps/s390/v1-sigjmp.c: New file.
27779 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27780 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27781 GLIBC_2.19 version.
27782 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27783 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27784 versioned symbols for ____longjmp_chk.
27785 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27795 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27796 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27797 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27798 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27799 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27800 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27801 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27802 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27803 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27804 * sysdeps/s390/rtld-__longjmp.c: New file.
27805 * sysdeps/s390/rtld-setjmp.S: New file.
27807 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27810 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27811 Return -__logl (x) for small positive arguments without evaluating
27814 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27816 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27818 (__ptrace_peeksiginfo_args): ... this.
27819 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27821 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27823 2014-01-06 Allan McRae <allan@archlinux.org>
27825 * inet/netinet/in.h: Fix typo in comment.
27827 2014-01-05 Andreas Jaeger <aj@suse.de>
27829 * sysdeps/i386/fpu/libm-test-ulps: Update.
27831 2014-01-05 Allan McRae <allan@archlinux.org>
27833 * po/libc.pot: Regenerated.
27835 * malloc/memusagestat.c: Fix gettext call formatting.
27837 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27839 * nscd/nscd.c: Improve usage() output.
27841 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27843 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27844 * sysdeps/unix/sysv/linux/configure: Regenerated.
27845 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27846 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27848 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27851 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27852 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27854 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27856 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27857 extra tokens at end of #undef directive.
27858 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27859 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27860 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27862 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27864 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27866 * math/auto-libm-test-in: Mark various tests with
27867 xfail-rounding:ldbl-128ibm.
27868 * math/auto-libm-test-out: Regenerated.
27870 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27874 numbers with subnormal high part when calculating exponent.
27877 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27881 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27883 (__ieee754_acoshl): Use __log1pl not __log1p.
27885 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27887 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27888 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27889 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27890 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27891 (reused_arena, arena_get2): Convert to GNU style.
27892 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27893 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27894 (memalign_check, __malloc_set_state): Likewise.
27895 * malloc/mallocbug.c (main): Likewise.
27896 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27897 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27898 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27899 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27900 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27901 (__posix_memalign, malloc_info): Likewise.
27902 * malloc/malloc.h: Likewise.
27903 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27904 (mallochook, memalignhook, reallochook, mabort): Likewise.
27905 * malloc/mcheck.h: Likewise.
27906 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27907 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27908 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27909 * malloc/morecore.c (__default_morecore): Likewise.
27910 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27911 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27912 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27913 (print_and_abort): Likewise.
27914 * malloc/obstack.h: Likewise.
27915 * malloc/set-freeres.c (__libc_freeres): Likewise.
27916 * malloc/tst-mallocstate.c (main): Likewise.
27917 * malloc/tst-mtrace.c (main): Likewise.
27918 * malloc/tst-realloc.c (do_test): Likewise.
27920 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27923 * nscd/netgroupcache.c (do_notfound): New function.
27924 (addgetnetgrentX): Use it.
27927 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27928 NSS_STATUS_NOTFOUND.
27930 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27935 2014-01-01 Allan McRae <allan@archlinux.org>
27937 * scripts/update-copyrights: Update configure input file suffix.
27939 * NEWS: Update copyright year.
27940 * catgets/gencat.c: Likewise.
27941 * csu/version.c: Likewise.
27942 * debug/catchsegv.sh: Likewise.
27943 * debug/pcprofiledump.c: Likewise.
27944 * debug/xtrace.sh: Likewise.
27945 * elf/ldconfig.c: Likewise.
27946 * elf/ldd.bash.in: Likewise.
27947 * elf/pldd.c: Likewise.
27948 * elf/sotruss.ksh: Likewise.
27949 * elf/sprof.c: Likewise.
27950 * iconv/iconv_prog.c: Likewise.
27951 * iconv/iconvconfig.c: Likewise.
27952 * locale/programs/locale.c: Likewise.
27953 * locale/programs/localedef.c: Likewise.
27954 * login/programs/pt_chown.c: Likewise.
27955 * malloc/memusage.sh: Likewise.
27956 * malloc/memusagestat.c: Likewise.
27957 * malloc/mtrace.pl: Likewise.
27958 * manual/libc.texinfo: Likewise.
27959 * nscd/nscd.c: Likewise.
27960 * nss/getent.c: Likewise.
27961 * nss/makedb.c: Likewise.
27962 * posix/getconf.c: Likewise.
27963 * scripts/test-installation.pl: Likewise.
27965 * All files with FSF copyright notices: Update copyright dates
27966 using scripts/update-copyrights.
27967 * intl/plural.c: Regenerated.
27968 * locale/programs/charmap-kw.h: Likewise.
27969 * locale/programs/locfile-kw.h: Likewise.
27971 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27973 * sysdeps/unix/sysv/linux/configure: Regenerated.
27974 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27975 the linux/fanotify.h header.
27976 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27977 HAVE_LINUX_FANOTIFY_H is defined.
27979 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27981 * benchtests/cos-inputs: New inputs.
27982 * benchtests/sin-inputs: Likewise.
27984 * benchtests/atan-inputs: New inputs. Fix name of multiple
27985 precision fallback inputs.
27987 * benchtests/atanh-inputs: New inputs.
27988 * benchtests/tanh-inputs: Likewise.
27990 * benchtests/acosh-inputs: New inputs.
27991 * benchtests/asinh-inputs: Likewise.
27993 * benchtests/cosh-inputs: New inputs.
27994 * benchtests/sinh-inputs: Likewise.
27996 * benchtests/acos-inputs: Add more inputs.
27997 * benchtests/asin-inputs: Likewise.
27999 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28002 * manual/arith.texi: Fix spelling.
28003 * manual/charset.texi: Likewise.
28004 * manual/errno.texi: Likewise.
28005 * manual/filesys.texi: Likewise.
28006 * manual/lang.texi: Likewise.
28007 * manual/llio.texi: Likewise.
28008 * manual/locale.texi: Likewise.
28009 * manual/message.texi: Likewise.
28010 * manual/resource.texi: Likewise.
28011 * manual/search.texi: Likewise.
28012 * manual/setjmp.texi: Likewise.
28013 * manual/stdio.texi: Likewise.
28014 * manual/string.texi: Likewise.
28015 * manual/sysinfo.texi: Likewise.
28016 * manual/time.texi: Likewise.
28018 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28020 * po/sl.po: New file.
28022 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28024 * .gitignore: Add core/.gdbinit/.gdb_history.
28026 2013-12-27 Allan McRae <allan@archlinux.org>
28029 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28030 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28032 2013-12-24 Brooks Moses <bmoses@google.com>
28034 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28035 all compilers that claim C++98 compliance, not just GCC.
28036 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28039 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28041 * NEWS: Restore accidentally deleted bug-fix entries.
28043 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28044 Ondřej Bílka <neleai@seznam.cz>
28047 * malloc/malloc.c (_int_free): Perform sanity check only if we
28050 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28053 * manual/stdio.texi (String Input Conversions): Clarify that character
28054 classes are not supported.
28056 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28060 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28063 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28064 Calculate results for small negative arguments directly rather
28065 than using reflection formula with special underflow handling.
28067 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28068 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28069 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28070 (fchflags): Likewise.
28071 (revoke): Likewise.
28072 (setlogin): Likewise.
28073 (sigaltstack): Likewise.
28075 (sigblock): Remove.
28076 (sigsetmask): Likewise.
28078 (waitpid): Likewise.
28079 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28080 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28082 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28083 * sysdeps/unix/bsd/Makefile: ... here.
28084 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28085 * sysdeps/unix/bsd/Versions: ... here.
28086 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28087 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28088 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28089 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28090 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28091 * sysdeps/unix/bsd/sigblock.c: ... here.
28092 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28093 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28094 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28095 * sysdeps/unix/bsd/sigvec.c: ... here.
28096 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28097 * sysdeps/unix/bsd/tcdrain.c: ... here.
28098 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28099 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28100 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28101 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28102 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28103 * sysdeps/unix/bsd/wait.c: ... here.
28104 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28105 * sysdeps/unix/bsd/wait3.c: ... here.
28106 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28107 * sysdeps/unix/bsd/waitpid.c: ... here.
28109 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28113 round-to-nearest for [!USE_AS_EXPM1L].
28114 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28115 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28116 more tests of exp and exp10. Expect some exp10 tests to miss
28117 exceptions or fail in directed rounding modes.
28118 * math/auto-libm-test-out: Regenerated.
28119 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28120 (exp10_test_tonearest): New function.
28121 (exp10_towardzero_test_data): New array.
28122 (exp10_test_towardzero): New function.
28123 (exp10_downward_test_data): New array.
28124 (exp10_test_downward): New function.
28125 (exp10_upward_test_data): New array.
28126 (exp10_test_upward): New function.
28127 (main): Call the new functions.
28128 * sysdeps/i386/fpu/libm-test-ulps: Update.
28129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28131 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28133 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28134 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28135 * math/auto-libm-test-out: Regenerated.
28136 * math/libm-test.inc (acosh_test_data): Add more tests.
28137 (atanh_test_data): Likewise.
28138 (ceil_test_data): Likewise.
28139 (copysign_test_data): Likewise.
28140 * sysdeps/i386/fpu/libm-test-ulps: Update.
28141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143 * timezone/checktab.awk: Update from tzcode 2013i.
28144 * timezone/private.h: Likewise.
28145 * timezone/scheck.c: Likewise.
28146 * timezone/tzfile.h: Likewise.
28147 * timezone/tzselect.ksh: Likewise.
28148 * timezone/zdump.c: Likewise.
28149 * timezone/zic.c: Likewise.
28151 * math/auto-libm-test-in: Add tests of cpow.
28152 * math/auto-libm-test-out: Regenerated.
28153 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28154 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28156 (func_calc_desc): Add mpc_cc_c union field.
28157 (test_functions): Add cpow.
28158 (special_fill_2pi): New function.
28159 (special_real_inputs): Add 2pi.
28160 (calc_generic_results): Handle mpc_cc_c.
28161 * sysdeps/i386/fpu/libm-test-ulps: Update.
28162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28164 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28165 csqrt, ctan and ctanh.
28166 * math/auto-libm-test-out: Regenerated.
28167 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28168 (TEST_COND_x86): Likewise.
28169 (ccos_test_data): Use AUTO_TESTS_c_c.
28170 (ccosh_test_data): Likewise.
28171 (cexp_test_data): Likewise.
28172 (clog_test_data): Likewise.
28173 (csqrt_test_data): Likewise.
28174 (ctan_test_data): Likewise.
28175 (ctan_tonearest_test_data): Likewise.
28176 (ctan_towardzero_test_data): Likewise.
28177 (ctan_downward_test_data): Likewise.
28178 (ctan_upward_test_data): Likewise.
28179 (ctanh_test_data): Likewise.
28180 (ctanh_tonearest_test_data): Likewise.
28181 (ctanh_towardzero_test_data): Likewise.
28182 (ctanh_downward_test_data): Likewise.
28183 (ctanh_upward_test_data): Likewise.
28184 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28186 (func_calc_desc): Add mpc_c_c union field.
28187 (FUNC_mpc_c_c): New macro.
28188 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28189 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28191 (special_fill_min_subnorm_p120): New function.
28192 (special_real_inputs): Add min_subnorm_p120.
28193 (calc_generic_results): Handle mpc_c_c.
28194 * sysdeps/i386/fpu/libm-test-ulps: Update.
28195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28197 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28199 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28200 (do_sin_slow): New functions.
28201 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28202 (cslow2, csloww1, csloww2): Use the new functions.
28204 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28205 Use M to change sign of result instead of X. Assume X is
28207 (csloww1): Likewise.
28211 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28212 arguments A and DA.
28216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28218 (sloww1): Don't adjust sign of DX.
28219 (csloww1): Likewise.
28220 (sloww2): Use X directly and don't adjust sign of DX.
28221 (csloww2): Likewise.
28223 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28225 * math/auto-libm-test-in: Add tests of cabs and carg.
28226 * math/auto-libm-test-out: Regenerated.
28227 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28228 (carg_test_data): Likewise.
28229 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28231 (func_calc_desc): Add mpc_c_f union field.
28232 (test_functions): Add cabs and carg.
28233 (calc_generic_results): Handle mpc_c_f.
28235 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28236 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28237 as a macro and a compat symbol.
28238 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28239 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28240 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28241 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28242 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28243 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28245 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28247 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28249 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28251 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28253 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28255 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28256 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28259 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28263 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28265 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28266 trailing whitespace removed.
28267 * scripts/config.guess: Update to version 2013-11-29.
28268 * scripts/config.sub: Update to version 2013-10-01.
28270 * math/auto-libm-test-in: Add tests of sincos.
28271 * math/auto-libm-test-out: Regenerated.
28272 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28273 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28275 (func_calc_desc): Add mpfr_f_11 union field.
28276 (test_functions): Add sincos.
28277 (calc_generic_results): Handle mpfr_f_11.
28278 * sysdeps/i386/fpu/libm-test-ulps: Update.
28279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28281 2013-12-19 Andreas Schwab <schwab@suse.de>
28283 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28286 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28287 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28289 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28291 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28292 * sysdeps/i386/fpu/libm-test-ulps: Update.
28293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28296 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28297 round-to-nearest mode when using frndint.
28298 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28299 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28300 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28302 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28304 * math/auto-libm-test-out: Regenerated.
28305 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28306 (TEST_COND_x86): Likewise.
28307 (expm1_tonearest_test_data): New array.
28308 (expm1_test_tonearest): New function.
28309 (expm1_towardzero_test_data): New array.
28310 (expm1_test_towardzero): New function.
28311 (expm1_downward_test_data): New array.
28312 (expm1_test_downward): New function.
28313 (expm1_upward_test_data): New array.
28314 (expm1_test_upward): New function.
28315 (main): Run the new test functions.
28316 * sysdeps/i386/fpu/libm-test-ulps: Update.
28317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28319 * include/features.h: Update comment documenting feature test
28320 macros. Mention _DEFAULT_SOURCE in comment.
28321 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28322 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28323 _BSD_SOURCE and _SVID_SOURCE.
28324 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28325 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28326 !_SVID_SOURCE]: Likewise.
28327 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28328 (__USE_POSIX_IMPLICITLY): Define.
28329 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28330 (_POSIX_SOURCE): Undefine and redefine.
28331 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28332 (_POSIX_C_SOURCE): Likewise.
28333 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28334 (Feature Test Macros): Update documentation of default features.
28336 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28338 * benchtests/Makefile: Add bench-strtok.
28339 * benchtests/bench-strtok.c: New file: strtok benchtest.
28341 2013-12-19 Allan McRae <allan@archlinux.org>
28343 * manual/install.texi: Suppress menu for plain text output.
28344 * INSTALL: Regenerated.
28346 2013-12-18 Brooks Moses <bmoses@google.com>
28349 * misc/getauxval.c: Include errno.h.
28350 (__getauxval): Set errno to ENOENT if the requested type is not
28352 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28353 don't declare with __attribute_const__.
28354 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28355 * manual/startup.texi: Document that getauxval sets errno.
28357 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28359 * math/auto-libm-test-in: Add tests of jn and yn.
28360 * math/auto-libm-test-out: Regenerated.
28361 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28362 (yn_test_data): Likewise.
28363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28365 (func_calc_desc): Add mpfr_if_f union field.
28366 (FUNC_mpfr_if_f): New macro.
28367 (test_functions): Add jn and yn.
28368 (calc_generic_results): Assert type of second input for
28369 mpfr_ff_f. Handle mpfr_if_f.
28370 (output_for_one_input_case): Disable all checking for arguments
28371 fitting floating-point types in case of an integer argument.
28372 * sysdeps/i386/fpu/libm-test-ulps: Update.
28373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28376 Don't expect fegetround reference in libm.so.
28378 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28380 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28381 $(config-cflags-nofma).
28383 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28385 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28386 * math/auto-libm-test-out: Regenerated.
28389 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28390 to determine exponent and adjust argument to have exponent of -1.
28391 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28393 * math/auto-libm-test-out: Regenerated.
28394 * sysdeps/i386/fpu/libm-test-ulps: Update.
28395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28399 * manual/probes.texi: Remove cases when per-thread arenas are
28402 2013-12-18 Andreas Schwab <schwab@suse.de>
28404 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28405 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28406 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28407 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28408 * sysdeps/i386/i686/multiarch/Makefile: Update.
28409 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28411 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28413 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28414 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28416 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28419 Support TZ transition times < 00:00:00.
28420 This is needed for version-3 tz-format files; it supports time
28421 stamps past 2037 for America/Godthab (the only entry in the tz
28422 database for which this change is relevant).
28423 * manual/time.texi (TZ Variable): Document transition times
28424 from -167:59:59 through -00:00:01.
28425 * time/tzset.c (tz_rule): Time of day is now signed.
28426 (__tzset_parse_tz): Parse negative time of day.
28428 Document TZ transition times >= 25:00:00.
28429 * manual/time.texi (TZ Variable): Document transition times from
28430 25:00:00 through 167:59:59. These are already supported, and this
28431 support will help with version-3 tz-format files.
28433 * manual/time.texi (TZ Variable): Modernize North America example
28434 to reflect current (i.e., 2007-and-later) daylight saving rules.
28436 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28438 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28440 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28441 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28444 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28445 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28446 * sysdeps/unix/bsd/clock.c: Likewise.
28447 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28448 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28449 * sysdeps/unix/bsd/init-posix.c: Likewise.
28450 * sysdeps/unix/bsd/poll.c: Likewise.
28451 * sysdeps/unix/bsd/ptsname.c: Likewise.
28452 * sysdeps/unix/bsd/seekdir.c: Likewise.
28453 * sysdeps/unix/bsd/setegid.c: Likewise.
28454 * sysdeps/unix/bsd/seteuid.c: Likewise.
28455 * sysdeps/unix/bsd/setgid.c: Likewise.
28456 * sysdeps/unix/bsd/setrgid.c: Likewise.
28457 * sysdeps/unix/bsd/setruid.c: Likewise.
28458 * sysdeps/unix/bsd/setsid.c: Likewise.
28459 * sysdeps/unix/bsd/setuid.c: Likewise.
28460 * sysdeps/unix/bsd/sigaction.c: Likewise.
28461 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28462 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28463 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28464 * sysdeps/unix/bsd/telldir.c: Likewise.
28465 * sysdeps/unix/bsd/times.c: Likewise.
28466 * sysdeps/unix/bsd/usleep.c: Likewise.
28468 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28469 ($(objpfx)libbsd-compat.a): Remove rule.
28471 * include/features.h (__FAVOR_BSD): Do not define.
28472 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28473 features conflicting with POSIX.
28474 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28475 (_BSD_SOURCE): Remove description of not being a subset of other
28476 feature test macros.
28477 * manual/job.texi (getpgrp): Do not document BSD version.
28478 (getpgid): Do not document by reference to BSD getpgrp.
28479 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28480 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28481 * signal/signal.h [__FAVOR_BSD]: Likewise.
28482 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28483 instead of making contents conditional on [__FAVOR_BSD].
28484 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28486 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28490 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28493 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28494 values below 2**-450, not 2**-500.
28495 * math/auto-libm-test-in: Don't allow spurious underflow from
28497 * math/auto-libm-test-out: Regenerated.
28501 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28502 values of ha and hb and sort them after adjusting subnormal
28504 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28506 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28507 values of ea and eb and sort them after adjusting subnormal
28509 * math/auto-libm-test-in: Do not expect some hypot tests of
28510 subnormals to fail. Add more hypot tests.
28511 * math/auto-libm-test-out: Regenerated.
28513 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28516 * sysdeps/sh/s_fma.c: New file.
28517 * sysdeps/sh/s_fmaf.c: New file.
28518 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28520 * sysdeps/sh/Implies: Add sh/soft-fp.
28522 2013-12-16 Roland McGrath <roland@hack.frob.com>
28524 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28525 level of indirection to members `objname', `errstring', `malloced'.
28526 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28527 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28528 it as the __longjmp argument (just pass 1 instead).
28529 (_dl_catch_error): Initialize C with argument pointers and address of
28530 volatile local ERRCODE rather than copying values out of C at return.
28532 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28534 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28535 * math/auto-libm-test-out: Regenerated.
28536 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28537 (hypot_test_data): Likewise.
28538 (pow_test_data): Likewise.
28539 (pow_tonearest_test_data): Likewise.
28540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28542 (func_calc_desc): Add mpfr_ff_f union field.
28543 (FUNC_mpfr_ff_f): New macro.
28544 (test_functions): Add atan2, hypot and pow.
28545 (special_fill_min): New function.
28546 (special_fill_minus_min): Likewise.
28547 (special_fill_min_subnorm): Likewise.
28548 (special_fill_minus_min_subnorm): Likewise.
28549 (special_real_inputs): Add min, -min, min_subnorm and
28551 (calc_generic_results): Handle mpfr_ff_f.
28552 * sysdeps/i386/fpu/libm-test-ulps: Update.
28553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28555 2013-12-16 Will Newton <will.newton@linaro.org>
28557 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28558 (Aligned Memory Blocks): Add documentation for aligned_alloc
28559 and suggest it as an alternative to posix_memalign.
28560 (Hooks for Malloc): Document __memalign_hook is also called
28561 for aligned_alloc. (Summary of Malloc): Add summary for
28562 aligned alloc. Document __memalign_hook is also called
28565 2013-12-16 Will Newton <will.newton@linaro.org>
28567 * manual/memory.texi (Malloc Examples): Clarify default
28568 alignment documentation. Suggest posix_memalign rather
28569 than memalign or valloc.
28570 (Aligned Memory Blocks): Remove suggestion to use memalign
28571 or valloc. Remove obsolete comment about BSD.
28572 Document memalign errno values and mark the function obsolete.
28573 Document posix_memalign returned error codes. Mark valloc
28574 as obsolete. (Hooks for Malloc): __memalign_hook is also
28575 called for posix_memalign and valloc.
28576 (Summary of Malloc): Add posix_memalign to function summary.
28577 __memalign_hook is also called for posix_memalign and valloc.
28579 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28581 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28585 (sloww): Use mynumber union. Expand ternary operator into
28586 if-else statements.
28587 (cslow): use mynumber union.
28589 2013-12-16 Allan McRae <allan@archlinux.org>
28591 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28592 * configure: Regenerated.
28594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28597 * configure.ac: Added --enable-maintainer-mode. Check for
28598 autoconf when enabled.
28599 * configure: Regenerated.
28601 * nscd/nscd.service: New file.
28602 * nscd/nscd.tmpfiles: New file.
28604 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28607 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28608 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28609 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28610 (strstr): Add __strstr_sse2_unaligned ifunc.
28611 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28612 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28613 (strcasestr): Remove __strcasestr_sse42 ifunc.
28614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28618 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28620 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28621 * sysdeps/sh/bits/fenv.h: ... here.
28622 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28624 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28626 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28629 hypotf multiarch implementations.
28630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28633 multiarch hypot for PPC64.
28634 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28635 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28637 multiarch hypotf for PPC64.
28639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28640 modff multiarch implementations.
28641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28644 multiarch modf for PPC64.
28645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28648 multiarch modff for PPC64.
28650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28651 and logl multiarch implementations.
28652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28655 multiarch logb for PPC64.
28656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28659 multiarch logb for PPC64.
28660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28663 multiarch logb for PPC64.
28665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28666 isinff multiarch implementation.
28667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28671 multiarch isinf for PPC64.
28672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28675 multiarch isinff for PPC64.
28677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28678 finitef multiarch implementation.
28679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28683 multiarch finite for PPC64.
28684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28687 multiarch finitef for PPC64.
28689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28690 lrint multiarch implementation.
28691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28695 multiarch llrint for PPC64.
28696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28697 multiarch lrint for PPC64.
28699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28700 copysignf multiarch implementation.
28701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28706 multiarch copysign for PPC64.
28707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28708 multiarch copysignf for PPC64.
28710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28711 multiarch implementation.
28712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28720 multiarch llround for PPC64.
28721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28722 multiarch trunc for PPC64.
28723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28724 multiarch truncf for PPC64.
28726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28727 multiarch implementation.
28728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28736 multiarch llround for PPC64.
28737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28738 multiarch round for PPC64.
28739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28740 multiarch roundf for PPC64.
28742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28743 multiarch implementation.
28744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28752 multiarch llround for PPC64.
28753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28754 multiarch floor for PPC64.
28755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28756 multiarch floorf for PPC64.
28758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28759 multiarch implementation.
28760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28768 multiarch llround for PPC64.
28769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28770 multiarch ceil for PPC64.
28771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28772 multiarch ceilf for PPC64.
28774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28775 multiarch implementation.
28776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28783 multiarch llround for PPC64.
28784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28785 multiarch lround for PPC64.
28787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28788 multiarch implementation.
28789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28796 multiarch isnan for PPC64.
28797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28798 multiarch isnanf for PPC64.
28800 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28801 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28802 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28803 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28804 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28807 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28808 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28813 multiarch implementations.
28814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28815 (__libc_ifunc_impl_list): Likewise.
28816 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28817 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28818 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28819 multiarch stpcpy for PPC64.
28821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28822 multiarch implementations.
28823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28824 (__libc_ifunc_impl_list): Likewise.
28825 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28826 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28827 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28828 multiarch strcpy for PPC64.
28830 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28831 redefine function name.
28832 (_wordcopy_fwd_dest_aligned): Likewise.
28833 (_wordcopy_bwd_aligned): Likewise.
28834 (_wordcopy_bwd_dest_aligned): Likewise.
28835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28836 multiarch implementations.
28837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28838 (__libc_ifunc_impl_list): Likewise.
28839 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28840 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28841 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28843 multiarch wcscpy for PPC64.
28845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28846 multiarch implementations.
28847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28848 (__libc_ifunc_impl_list): Likewise.
28849 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28850 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28851 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28852 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28853 multiarch wcscpy for PPC64.
28855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28856 multiarch implementations.
28857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28858 (__libc_ifunc_impl_list): Likewise.
28859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28860 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28861 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28862 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28863 multiarch wcsrchr for PPC64.
28865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28866 multiarch implementations.
28867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28868 (__libc_ifunc_impl_list): Likewise.
28869 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28870 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28871 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28872 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28873 multiarch wcschr for PPC64.
28875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28876 multiarch implementations.
28877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28878 (__libc_ifunc_impl_list): Likewise.
28879 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28880 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28881 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28882 multiarch strchrnul for PPC64.
28884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28887 (__libc_ifunc_impl_list): Likewise.
28888 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28889 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28890 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28891 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28897 (__libc_ifunc_impl_list): Likewise.
28898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28899 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28900 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28901 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28905 multiarch implementations.
28906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28907 (__libc_ifunc_impl_list): Likewise.
28908 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28909 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28910 strncasecmp for PPC64.
28911 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28912 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28913 multiarch strncasecmp_l for PPC64.
28915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28916 multiarch implementations.
28917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28918 (__libc_ifunc_impl_list): Likewise.
28919 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28920 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28921 multiarch strcasecmp for PPC64.
28922 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28924 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28925 multiarch strcasecmp_l for PPC64.
28927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28930 (__libc_ifunc_impl_list): Likewise.
28931 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28932 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28933 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28939 (__libc_ifunc_impl_list): Likewise.
28940 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28941 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28942 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28948 (__libc_ifunc_impl_list): Likewise.
28949 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28950 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28951 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28952 rawmemrchr for PPC64.
28954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28957 (__libc_ifunc_impl_list): Likewise.
28958 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28959 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28960 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28966 (__libc_ifunc_impl_list): Likewise.
28967 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28968 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28969 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28975 (__libc_ifunc_impl_list): Likewise.
28976 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28977 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28978 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28981 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28982 avoid cretion of __bzero symbol.
28983 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28985 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28987 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28990 multiarch implementations.
28991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28992 (__libc_ifunc_impl_list): Likewise.
28993 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28994 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28995 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28996 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28998 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28999 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29000 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29001 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29002 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29004 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29006 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29010 (__libc_ifunc_impl_list): Likewise.
29011 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29012 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29013 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29014 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29018 multiarch for POWER/PPC64.
29019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29020 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29021 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29022 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29024 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29025 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29026 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29027 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29030 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29031 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29032 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29033 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29034 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29035 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29036 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29037 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29038 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29039 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29040 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29041 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29042 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29043 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29044 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29053 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29055 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29057 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29059 * benchtests/Makefile (bench): Add exp2 and log2.
29060 (LDLIBS-bench-exp2): Add -lm.
29061 (LDLIBS-bench-log2): Likewise.
29062 * benchtests/exp2-inputs: New inputs file.
29063 * benchtests/log2-inputs: New inputs file.
29064 * benchtests/log-inputs: Add new inputs.
29065 * benchtests/tan-inputs: Likewise.
29067 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29069 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29071 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29072 (csloww2): ... from here.
29074 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29075 instead of structures.
29076 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29077 (POLYNOMIAL): Likewise.
29078 (TAYLOR_SLOW): Likewise.
29084 (sloww1); Likewise.
29085 (sloww2): Likewise.
29086 (bsloww1): Likewise.
29087 (bsloww2): Likewise.
29088 (cslow2): Likewise.
29089 (csloww): Likewise.
29090 (csloww1): Likewise.
29091 (csloww2): Likewise.
29093 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29095 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29096 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29097 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29098 * malloc/hooks.c (realloc_check): Likewise.
29100 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29101 * malloc/arena.c: Remove PER_THREAD conditional.
29102 [!PER_THREAD]: Remove code.
29103 (ptmalloc_unlock_all2): Likewise.
29104 (ptmalloc_init): Likewise.
29105 (_int_new_arena): Likewise.
29106 (arena_get2): Likewise.
29107 * malloc/hooks.c (__malloc_get_state): Likewise.
29108 (__malloc_set_state): Likewise.
29109 * malloc/malloc.c: Likewise.
29110 (struct malloc_state): Likewise.
29111 (struct malloc_par): Likewise.
29112 (__libc_realloc): Likewise.
29113 (__libc_mallopt): Likewise.
29115 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29117 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29119 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29121 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29122 macro to a function. Check for zero perturb_byte.
29123 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29125 * malloc/malloc.c: (force_reg): Remove.
29126 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29127 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29128 force_reg by atomic_forced_read.
29129 * malloc/arena.c (ptmalloc_init): Likewise.
29130 * malloc/hooks.c (top_check): Likewise.
29132 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29136 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29140 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29142 * math/auto-libm-test-in: Add tests of lgamma.
29143 * math/auto-libm-test-out: Regenerated.
29144 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29145 (M_LOG_2_SQRT_PIl): Likewise.
29146 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29147 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29149 (func_calc_desc): Add mpfr_f_f1 union field.
29150 (ARGS1): New macro.
29158 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29159 (test_functions): Add lgamma.
29160 (calc_generic_results): Handle mpfr_f_f1.
29161 * sysdeps/i386/fpu/libm-test-ulps: Update.
29162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29164 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29166 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29167 __mpn_add_n for PowerPC64/POWER7.
29168 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29169 __mpn_sub_n for PowerPC64/POWER7.
29171 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29172 __mpn_addmul_1 for PowerPC64.
29173 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29174 __mpn_submul_1 for PowerPC64.
29175 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29177 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29180 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29183 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29185 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29187 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29189 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29190 add multiarch folders.
29191 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29192 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29193 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29194 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29195 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29196 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29197 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29198 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29199 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29200 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29201 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29210 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29216 multiarch __ieee754_hypot for PowerPC32.
29217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29222 multiarch __ieee754_hypotf for PowerPC32.
29224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29225 long_double_symbol only if __logbl is defined.
29226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29227 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29229 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29231 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29233 path for implementation.
29234 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29237 logb, and logbl multiarch implementations for PowerPC32.
29238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29243 multiarch logb for PowerPC32.
29244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29249 multiarch logbf for PowerPC32.
29250 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29254 multiarch logbl implementation for PowerPC32.
29256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29257 and modff multiarch implementations.
29258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29263 multiarch modf for PowerPC32.
29264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29269 multiarch modff for PowerPC32.
29271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29272 and lrintf multiarch implementations.
29273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29278 multiarch lrint for PowerPC32.
29279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29280 file: multiarch lrintf for PowerPC32.
29282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29283 and lroundf multiarch implementations.
29284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29291 multiarch lround for PowerPC32.
29292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29293 file: multiarch lroundf for PowerPC32.
29295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29296 copysign and copysignf multiarch implementations.
29297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29302 file: multiarch copysign for PowerPC32.
29303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29304 file: multiarch copysignf for PowerPC32.
29306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29307 and truncf multiarch implementations.
29308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29313 multiarch trunc for PowerPC32.
29314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29319 multiarch truncf for PowerPC32.
29321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29322 and roundf multiarch implementations.
29323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29328 multiarch round for PowerPC32.
29329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29334 multiarch roundf for PowerPC32.
29336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29337 and floorf multiarch implementations.
29338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29343 multiarch floor for PowerPC32.
29344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29349 multiarch floorf for PowerPC32.
29351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29352 and ceilf multiarch implementations.
29353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29358 multiarch ceil for PowerPC32.
29359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29364 multiarch ceilf for PowerPC32.
29366 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29368 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29369 FINITEF is defined.
29370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29371 and finitef multiarch implementations.
29372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29377 multiarch finite for PowerPC32.
29378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29381 file: multiarch finitef for PowerPC32.
29383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29384 and isinff multiarch implementations.
29385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29390 multiarch isinf for PowerPC32.
29391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29394 multiarch isinff for PowerPC32.
29396 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29397 alias when __isnan is defined.
29398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29399 and isnanf multiarch implementations.
29400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29409 multiarch isnan for PowerPC32.
29410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29415 multiarch isnanf for PowerPC32.
29417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29418 and sqrtf multiarch implementations.
29419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29424 multiarch sqrt for PowerPC32.
29425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29430 multiarch sqrtf for PowerPC32.
29432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29433 and llroundf multiarch implementations.
29434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29441 file: multiarch llround for PowerPC32.
29442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29443 file: multiarch llroundf for PowerPC32.
29445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29446 multiarch PowerPC32 fpu implementations.
29447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29452 multiarch llrint for PowerPC32.
29453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29462 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29464 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29466 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29468 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29469 multiarch wordcopy for PPC32.
29470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29473 (__libc_ifunc_impl_list): Likewise.
29474 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29475 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29476 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29477 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29478 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29479 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29481 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29489 multiarch wcscpy for PPC32.
29490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29493 (__libc_ifunc_impl_list): Likewise.
29494 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29495 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29496 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29497 sysdeps/powerpc/power6/wcscpy.c.
29499 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29507 multiarch wcsrchr for PPC32.
29508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29511 (__libc_ifunc_impl_list): Likewise.
29512 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29513 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29514 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29515 sysdeps/powerpc/power6/wcsrchr.c.
29517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29523 multiarch wcschr for PPc32.
29524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29527 (__libc_ifunc_impl_list): Likewise.
29528 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29529 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29530 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29531 sysdeps/powerpc/power6/wcschr.c.
29533 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29534 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29536 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29537 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29538 file: multiarch strchr for PPC32.
29539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29542 (__libc_ifunc_impl_list): Likewise.
29544 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29546 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29548 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29550 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29551 multiarch strchrnul for PPC32.
29552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29555 (__libc_ifunc_impl_list): Likewise.
29557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29560 multiarch strncasecmp for PPC32.
29561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29563 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29564 multiarch strncasecmp_l for PPC32.
29565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29566 strncasecmp multiarch objects.
29567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29568 (__libc_ifunc_impl_list): Likewise.
29570 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29572 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29573 multiarch strncasecmp for PPC32.
29574 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29576 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29577 multiarch strcasecmp_l for PPC32.
29578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29581 (__libc_ifunc_impl_list): Likewise.
29583 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29585 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29587 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29588 multiarch strncmp for PPC32.
29589 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29591 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29592 (__libc_ifunc_impl_list): Likewise.
29594 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29595 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29597 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29598 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29602 (__libc_ifunc_impl_list): Likewise.
29604 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29606 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29608 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29612 (__libc_ifunc_impl_list): Likewise.
29614 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29616 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29618 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29619 multiarch rawmemchr for PPC32.
29620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29623 (__libc_ifunc_impl_list): Likewise.
29625 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29627 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29629 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29630 file: memrchr multiarch for PPC32.
29631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29634 (__libc_ifunc_impl_list): Likewise.
29636 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29639 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29640 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29641 multiarch memchr for PPC32.
29642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29645 (__libc_ifunc_impl_list): Likewise.
29647 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29648 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29650 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29652 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29653 file: multiarch mempcpy for PPC32.
29654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29657 (__libc_ifunc_impl_list): Likewise.
29659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29660 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29661 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29662 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29663 multiarch bzero for PPC32.
29664 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29666 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29668 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29669 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29670 file: multiarch memset for PPC32.
29671 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29673 memset multiarch objects.
29674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29675 (__libc_ifunc_impl_list): Likewise.
29677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29682 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29686 (__libc_ifunc_impl_list): Likewise.
29688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29689 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29692 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29697 multiarch memcpy for PPC32.
29698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29701 (__libc_ifunc_impl_list): Likewise.
29703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29704 support multiarch for POWER/PPC32.
29705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29707 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29709 Implies file to make multiarch folder appers before the fpu and
29710 default folder for power4 configuration.
29712 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29714 * scripts/bench.pl: Append volatile keyword to type.
29716 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29718 * sysdeps/sh/sotruss-lib.c: New file.
29719 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29721 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29725 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29728 * math/w_tgamma.c: Include <errno.h>.
29729 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29730 * math/w_tgammaf.c: Include <errno.h>.
29731 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29732 * math/w_tgammal.c: Include <errno.h>.
29733 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29734 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29735 underflow. Add more tgamma tests.
29736 * math/auto-libm-test-out: Regenerated.
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29740 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29741 sin, sinh, tan, tanh, tgamma, y0 and y1.
29742 * math/auto-libm-test-out: Regenerated.
29743 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29744 (TEST_COND_x86): Likewise.
29745 (M_E2l): Remove macro.
29747 (M_2_SQRT_PIl): Likewise.
29748 (M_SQRT_PIl): Likewise.
29749 (M_1_DIV_El): Likewise.
29750 (log_test_data): Use AUTO_TESTS_f_f.
29751 (log10_test_data): Likewise.
29752 (log1p_test_data): Likewise.
29753 (log2_test_data): Likewise.
29754 (sin_test_data): Likewise.
29755 (sin_tonearest_test_data): Likewise.
29756 (sin_towardzero_test_data): Likewise.
29757 (sin_downward_test_data): Likewise.
29758 (sin_upward_test_data): Likewise.
29759 (sinh_test_data): Likewise.
29760 (sinh_tonearest_test_data): Likewise.
29761 (sinh_towardzero_test_data): Likewise.
29762 (sinh_downward_test_data): Likewise.
29763 (sinh_upward_test_data): Likewise.
29764 (tan_test_data): Likewise.
29765 (tan_tonearest_test_data): Likewise.
29766 (tan_towardzero_test_data): Likewise.
29767 (tan_downward_test_data): Likewise.
29768 (tan_upward_test_data): Likewise.
29769 (tanh_test_data): Likewise.
29770 (tgamma_test_data): Likewise.
29771 (y0_test_data): Likewise.
29772 (y1_test_data): Likewise.
29773 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29774 (special_real_inputs): Add pi/4.
29775 * sysdeps/i386/fpu/libm-test-ulps: Update.
29776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29778 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29780 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29781 "longjmp_target" static probes.
29782 (__longjmp): Rename to __longjmp_symbol.
29783 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29784 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29785 on which longjmp to generate.
29786 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29787 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29789 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29790 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29791 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29792 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29793 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29794 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29796 __longjmp_symbol based on which __longjmp to generate.
29797 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29799 (setjmp): Rename to setjmp_symbol.
29800 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29801 (_setjmp): Rename to _setjmp_symbol.
29802 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29803 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29804 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29805 which setjmp to generate.
29806 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29807 "longjmp_target" static probes.
29809 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29811 * benchtests/README: Add note about output arguments.
29812 * benchtests/bench-sincos.c: Remove file.
29813 * benchtests/sincos-inputs: New file.
29814 * scripts/bench.pl: Identify output arguments and define
29815 static variables for them.
29817 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29820 * Makefile (INSTALL): Add install-plain.texi as the primary
29822 * manual/install-plain.texi: New file.
29823 * manual/install.texi: Include node directive only for
29824 non-plaintext output.
29826 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29828 * stdlib/longlong.h: Update from GCC.
29832 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29833 * math/w_j0f.c (y0f): Likewise.
29834 * math/w_j0l.c (__y0l): Likewise.
29835 * math/w_j1.c (y1): Likewise.
29836 * math/w_j1f.c (y1f): Likewise.
29837 * math/w_j1l.c (__y1l): Likewise
29838 * math/w_jn.c (yn): Likewise.
29839 * math/w_jnf.c (ynf): Likewise.
29840 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29841 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29842 value for Bessel function domain errors outside _SVID_ mode.
29843 Adjust sign of return value for yn (negative integer, 0).
29844 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29845 by zero in return for negative x and set sign appropriately for
29847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29848 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29849 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29850 expectations in error cases.
29851 (y1_test_data): Likewise.
29852 (yn_test_data): Likewise.
29853 * sysdeps/i386/fpu/libm-test-ulps: Update.
29854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29856 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29858 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29859 "64" to "64-v1". Add "64-v2".
29860 (abi-64-options): Rename to ...
29861 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29862 (abi-64-condition): Rename to ...
29863 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29864 (abi-64-ld-soname): Rename to ...
29865 (abi-64-v1-ld-soname): ... this.
29866 (abi-64-v2-options): Define.
29867 (abi-64-v2-condition): Likewise.
29868 (abi-64-v2-ld-soname): Likewise.
29869 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29870 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29875 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29876 Alan Modra <amodra@gmail.com>
29878 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29879 New versions for use with the ELFv2 ABI.
29880 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29881 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29883 (struct La_ppc64v2_retval): Likewise.
29884 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29885 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29886 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29887 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29888 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29890 Do not save or restore CR.
29891 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29892 (_dl_profile_resolve): Do no save or restore CR. Support extended
29893 return values for ELFv2 ABI. Fix location of FPR return registers.
29894 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29895 updated values for _CALL_ELF == 2.
29896 (La_regs, La_retval, int_retval): Likewise.
29898 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29900 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29901 (FRAME_MIN_SIZE_PARM): Likewise.
29902 (FRAME_BACKCHAIN): Likewise.
29903 (FRAME_CR_SAVE): Likewise.
29904 (FRAME_LR_SAVE): Likewise.
29905 (FRAME_TOC_SAVE): Likewise.
29906 (FRAME_PARM_SAVE): Likewise.
29907 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29908 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29909 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29910 (call_mcount_parm_offset): New macro.
29911 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29912 (PROF): Use symbolic stack frame offsets.
29913 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29914 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29915 Redefine in terms of FRAME_MIN_SIZE.
29916 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29917 (_dl_profile_resolve): Likewise. Update comment.
29918 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29919 symbols stack frame offsets.
29920 (__sigsetjmp): Likewise.
29921 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29922 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29923 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29924 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29927 (FRAME_BACKCHAIN): Remove.
29928 (FRAME_CR_SAVE): Likewise.
29929 (FRAME_LR_SAVE): Likewise.
29930 (FRAME_COMPILER_DW): Likewise.
29931 (FRAME_LINKER_DW): Likewise.
29932 (FRAME_TOC_SAVE): Likewise.
29933 (FRAME_PARM_SAVE): Likewise.
29934 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29935 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29936 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29938 (CHECK_SP): Use symbolic stack frame offsets.
29939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29940 zone" instead of caller's parameter save area for temp storage.
29941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29942 Likewise. Also, use symbolic stack frame offsets.
29943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29944 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29945 our own stack frame instead of the caller's.
29946 (__socket): Use symbolic stack frame offsets.
29948 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29949 Alan Modra <amodra@gmail.com>
29951 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29953 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29954 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29955 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29957 (elf_machine_fixup_plt): Call it.
29958 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29960 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29961 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29962 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29963 r2 before calling target.
29965 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29966 Alan Modra <amodra@gmail.com>
29968 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29969 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29970 versions of macros to support ELFv2 ABI.
29971 (LOCALENTRY): New macro.
29972 (ENTRY, EALIGN): Use it.
29973 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29974 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29975 fall through into ENTRY entry point.
29976 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29977 Only define if _CALL_ELF != 2.
29979 (elf_machine_matches_host): Verify ABI version matches.
29980 (RTLD_START): Use LOCALENTRY.
29981 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29982 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29983 (PLT_ENTRY_WORDS): New macro.
29984 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29985 (elf_machine_runtime_setup): Support ELFv2 ABI.
29986 (elf_machine_fixup_plt): Likewise.
29987 (elf_machine_plt_conflict): Likewise.
29988 (resolve_ifunc): Likewise.
29989 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29990 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29993 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29995 (makecontext): Support ELFv2 ABI.
29996 * elf/elf.h (EF_PPC64_ABI): Define.
29998 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30000 * sysdeps/powerpc/powerpc64/sysdep.h
30001 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30002 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30003 (ENTRY) [ASSEMBLER]: ... but instead here ...
30004 (EALIGN) [ASSEMBLER]: ... and here.
30005 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30006 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30007 (ENTRY_2) [!ASSEMBLER]: Use it.
30008 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30009 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30010 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30011 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30012 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30014 Use PPC64_LOAD_FUNCPTR.
30016 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30018 2013-12-04 Alan Modra <amodra@gmail.com>
30020 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30021 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30022 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30023 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30026 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30027 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30028 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30029 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30030 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30032 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30035 (__makecontext): Fix incorrect CFI when backtracing out of
30036 context created via makecontext.
30037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30038 (__setcontext): Fix incorrect CFI during switch to new context.
30039 (__novec_setcontext): Likewise.
30041 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30044 * time/strptime_l.c (__strptime_internal): Allow modifiers
30046 * time/tst-strptime.c (day_tests): Add testcase.
30048 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30050 * scripts/bench.pl: Skip over blank lines.
30052 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30055 * manual/time.texi (Calendar Time): Clarify what timezone functions
30058 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30062 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30064 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30066 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30067 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30068 * debug/memset_chk.c (__memset_chk): Likewise.
30069 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30070 * debug/strncpy_chk.c: Likewise.
30072 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30076 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30077 (__ieee754_exp): For possibly underflowing results, check size of
30078 result and force underflow exception if required.
30079 * math/auto-libm-test-in: Add more tests of exp.
30080 * math/auto-libm-test-out: Regenerated.
30081 * sysdeps/i386/fpu/libm-test-ulps: Update.
30082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30085 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30086 * math/w_exp2f.c (__exp2f): Likewise.
30087 * math/w_exp2l.c (__exp2l): Likewise.
30088 * math/auto-libm-test-in: Do not allow missing errno on exp2
30090 * math/auto-libm-test-out: Regenerated.
30092 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30095 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30096 handle filename validation.
30097 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30100 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30103 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30104 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30105 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30107 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30108 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30109 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30111 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30112 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30113 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30114 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30115 Add more erfc tests.
30116 * math/auto-libm-test-out: Regenerated.
30117 * sysdeps/i386/fpu/libm-test-ulps: Update.
30118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30120 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30121 exp2, expm1, j0 and j1.
30122 * math/auto-libm-test-out: Regenerated.
30123 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30124 (erfc_test_data): Likewise.
30125 (exp_test_data): Likewise.
30126 (exp_tonearest_test_data): Likewise.
30127 (exp_towardzero_test_data): Likewise.
30128 (exp_downward_test_data): Likewise.
30129 (exp_upward_test_data): Likewise.
30130 (exp10_test_data): Likewise.
30131 (exp2_test_data): Likewise.
30132 (expm1_test_data): Likewise.
30133 (j0_test_data): Likewise.
30134 (j1_test_data): Likewise.
30135 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30136 (input_flag_type): Add flag_xfail_rounding.
30137 (input_flags): Add xfail-rounding.
30138 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30139 (output_for_one_input_case): Handle flag_xfail_rounding.
30140 * sysdeps/i386/fpu/libm-test-ulps: Update.
30141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30143 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30146 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30149 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30152 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30153 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30154 (STAP_PROBE0): New macro.
30155 (STAP_PROBE1): Likewise.
30156 (STAP_PROBE2): Likewise.
30157 (STAP_PROBE3): Likewise.
30158 (STAP_PROBE4): Likewise.
30160 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30162 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30164 2013-12-02 Steve Ellcey <sellcey@mips.com>
30166 * benchtests/Makefile (bench): Add sqrt.
30167 (LDLIBS-bench-sqrt): New.
30168 * benchtests/sqrt-input: New.
30170 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30172 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30173 (GAIH_EAI): Likewise.
30174 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30175 (gaih_inet): Likewise.
30176 (getaddrinfo): Don't use GAIH_EAI.
30178 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30179 (struct gaih): Remove definition.
30181 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30183 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30184 Use HERRNOP directly.
30186 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30190 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30192 * math/gen-auto-libm-tests.c (test_functions): Add more
30193 single-argument functions.
30194 (special_fill_pi_2): New function.
30195 (special_fill_minus_pi_2): Likewise.
30196 (special_fill_pi_6): Likewise.
30197 (special_fill_minus_pi_6): Likewise.
30198 (special_fill_pi_3): Likewise.
30199 (special_fill_2pi_3): Likewise.
30200 (special_fill_e): Likewise.
30201 (special_fill_1_e): Likewise.
30202 (special_fill_e_minus_1): Likewise.
30203 (special_real_inputs): Add more special inputs.
30204 (output_for_one_input_case): Do not require ERANGE on underflow to
30205 zero if round-to-nearest result does not underflow to zero, unless
30206 exact results required.
30207 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30208 atan, atanh, cbrt, cos and cosh.
30209 * math/auto-libm-test-out: Regenerated.
30210 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30211 (acos_tonearest_test_data): Likewise.
30212 (acos_towardzero_test_data): Likewise.
30213 (acos_downward_test_data): Likewise.
30214 (acos_upward_test_data): Likewise.
30215 (acosh_test_data): Likewise.
30216 (asin_test_data): Likewise.
30217 (asin_tonearest_test_data): Likewise.
30218 (asin_towardzero_test_data): Likewise.
30219 (asin_upward_test_data): Likewise.
30220 (asinh_test_data): Likewise.
30221 (atan_test_data): Likewise.
30222 (atanh_test_data): Likewise.
30223 (cbrt_test_data): Likewise.
30224 (cos_test_data): Likewise.
30225 (cos_tonearest_test_data): Likewise.
30226 (cos_towardzero_test_data): Likewise.
30227 (cos_downward_test_data): Likewise.
30228 (cos_upward_test_data): Likewise.
30229 (cosh_test_data): Likewise.
30230 (cosh_tonearest_test_data): Likewise.
30231 (cosh_towardzero_test_data): Likewise.
30232 (cosh_downward_test_data): Likewise.
30233 (cosh_upward_test_data): Likewise.
30234 * sysdeps/i386/fpu/libm-test-ulps: Update.
30235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30237 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30240 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30241 * math/w_exp10f.c (__exp10f): Likewise.
30242 * math/w_exp10l.c (__exp10l): Likewise.
30243 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30244 errno settings in existing tests.
30247 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30248 precision control set to double precision.
30249 * sysdeps/i386/fpu/w_sqrt.c: New file.
30250 * math/auto-libm-test-in: Add more tests.
30251 * math/auto-libm-test-out: Update.
30253 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30254 (sqrt_test_tonearest): New function.
30255 (sqrt_towardzero_test_data): New variable.
30256 (sqrt_test_towardzero): New function.
30257 (sqrt_downward_test_data): New variable.
30258 (sqrt_test_downward): New function.
30259 (sqrt_upward_test_data): New variable.
30260 (sqrt_test_upward): New function.
30261 (main): Call the new functions.
30263 * math/gen-auto-libm-tests.c: New file.
30264 * math/auto-libm-test-in: Likewise.
30265 * math/auto-libm-test-out: New generated file.
30266 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30268 (%beautify): Add generated representations of zero.
30269 (top level): Set $auto_input and call parse_auto_input.
30270 (beautify): Remove trailing "f" from hex float constants.
30271 (parse_args): Handle XFAIL_TEST.
30272 (convert_condition): New function.
30273 (or_value): Likewise.
30274 (or_cond_value): Likewise.
30275 (generate_testfile): Handle AUTO_TESTS_* lines.
30276 (parse_auto_input): New function.
30277 * math/libm-test.inc (XFAIL_TEST): New macro.
30278 (ERRNO_UNCHANGED): Update value.
30279 (ERRNO_EDOM): Likewise.
30280 (ERRNO_ERANGE): Likewise.
30281 (IGNORE_RESULT): Likewise.
30282 (TEST_COND_flt_32): New macro.
30283 (TEST_COND_dbl_64): Likewise.
30284 (TEST_COND_ldbl_96_intel): Likewise.
30285 (TEST_COND_ldbl_96_m68k): Likewise.
30286 (TEST_COND_ldbl_128): Likewise.
30287 (TEST_COND_ldbl_128ibm): Likewise.
30288 (TEST_COND_long32): Likewise.
30289 (TEST_COND_long64): Likewise.
30290 (TEST_COND_before_rounding): Likewise.
30291 (TEST_COND_after_rounding): Likewise.
30292 (enable_test): Handle XFAIL_TEST flag.
30293 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30294 with finite results.
30295 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30296 auto-libm-test-out.
30298 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30299 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30302 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30303 __tls_get_addr_internal instead of __tls_get_offset in order to
30304 avoid GOT pointer dependency. Make rtld export
30305 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30306 __tls_get_addr since we are a __tls_get_offset platform.
30307 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30308 GOT pointer being set up before.
30309 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30311 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30313 * manual/math.texi (Errors in Math Functions): Document accuracy
30317 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30318 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30321 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30322 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30323 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30332 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30334 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30335 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30336 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30337 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30338 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30340 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30342 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30344 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30345 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30346 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30347 atomic-feupdateenv and flt-rounds.
30348 * sysdeps/powerpc/nofpu/Versions (libc): Add
30349 __atomic_feholdexcept, __atomic_feclearexcept,
30350 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30351 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30352 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30353 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30354 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30359 * manual/arith.texi (FP Exceptions): Document that exceptions may
30360 not be raised when matherr is used.
30361 (Math Error Reporting): Document overflow in directed rounding
30362 modes. Document that errno may not be set when finite values are
30363 returned on overflow. Document intent to set errno on underflow
30364 only for underflow to zero.
30367 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30368 round-to-nearest then adjust result for other rounding modes.
30369 * include/fenv.h (fegetround): Use libm_hidden_proto.
30370 * math/fegetround.c (fegetround): Use libm_hidden_def.
30371 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30372 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30373 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30374 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30376 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30377 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30378 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30379 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30381 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30384 * nss/Versions (libnss_files): Add
30385 _nss_files_gethostbyname3_r.
30386 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30388 (HOST_DB_LOOKUP): Remove macro.
30389 (_nss_files_gethostbyname_r): Implement function without the
30390 HOST_DB_LOOKUP macro.
30391 (_nss_files_gethostbyname2_r): Likewise.
30393 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30395 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30397 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30399 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30400 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30403 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30405 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30406 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30407 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30408 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30409 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30410 __fe_nomask_env_priv and attribute_hidden.
30411 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30412 (libc_feupdateenv_test_ppc): Likewise.
30413 (libc_feresetround_ppc): Likewise.
30414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30415 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30416 compat_symbol macro.
30417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30418 (__fe_nomask_env): Likewise.
30419 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30421 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30423 * string/Makefile: Remove ifunc tests.
30424 * string/test-string.h: Define TEST_IFUNC.
30425 * string/test-bcopy-ifunc.c: Remove.
30426 * string/test-bzero-ifunc.c: Likewise.
30427 * string/test-memccpy-ifunc.c: Likewise.
30428 * string/test-memchr-ifunc.c: Likewise.
30429 * string/test-memcmp-ifunc.c: Likewise.
30430 * string/test-memcpy-ifunc.c: Likewise.
30431 * string/test-memmem-ifunc.c: Likewise.
30432 * string/test-memmove-ifunc.c: Likewise.
30433 * string/test-mempcpy-ifunc.c: Likewise.
30434 * string/test-memrchr-ifunc.c: Likewise.
30435 * string/test-memset-ifunc.c: Likewise.
30436 * string/test-rawmemchr-ifunc.c: Likewise.
30437 * string/test-stpcpy-ifunc.c: Likewise.
30438 * string/test-stpncpy-ifunc.c: Likewise.
30439 * string/test-strcasecmp-ifunc.c: Likewise.
30440 * string/test-strcasestr-ifunc.c: Likewise.
30441 * string/test-strcat-ifunc.c: Likewise.
30442 * string/test-strchr-ifunc.c: Likewise.
30443 * string/test-strchrnul-ifunc.c: Likewise.
30444 * string/test-strcmp-ifunc.c: Likewise.
30445 * string/test-strcpy-ifunc.c: Likewise.
30446 * string/test-strcspn-ifunc.c: Likewise.
30447 * string/test-strlen-ifunc.c: Likewise.
30448 * string/test-strncasecmp-ifunc.c: Likewise.
30449 * string/test-strncat-ifunc.c: Likewise.
30450 * string/test-strncmp-ifunc.c: Likewise.
30451 * string/test-strncpy-ifunc.c: Likewise.
30452 * string/test-strnlen-ifunc.c: Likewise.
30453 * string/test-strpbrk-ifunc.c: Likewise.
30454 * string/test-strrchr-ifunc.c: Likewise.
30455 * string/test-strspn-ifunc.c: Likewise.
30456 * string/test-strstr-ifunc.c: Likewise.
30458 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30460 * benchtests/Makefile: Remove ifunc tests.
30461 * benchtests/bench-string.h: Define TEST_IFUNC.
30462 * benchtests/bench-bcopy-ifunc.c: Remove.
30463 * benchtests/bench-bzero-ifunc.c: Likewise.
30464 * benchtests/bench-memccpy-ifunc.c: Likewise.
30465 * benchtests/bench-memchr-ifunc.c: Likewise.
30466 * benchtests/bench-memcmp-ifunc.c: Likewise.
30467 * benchtests/bench-memcpy-ifunc.c: Likewise.
30468 * benchtests/bench-memmem-ifunc.c: Likewise.
30469 * benchtests/bench-memmove-ifunc.c: Likewise.
30470 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30471 * benchtests/bench-memrchr-ifunc.c: Likewise.
30472 * benchtests/bench-memset-ifunc.c: Likewise.
30473 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30474 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30475 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30476 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30477 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30478 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30479 * benchtests/bench-strcat-ifunc.c: Likewise.
30480 * benchtests/bench-strchr-ifunc.c: Likewise.
30481 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30482 * benchtests/bench-strcmp-ifunc.c: Likewise.
30483 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30484 * benchtests/bench-strcpy-ifunc.c: Likewise.
30485 * benchtests/bench-strcspn-ifunc.c: Likewise.
30486 * benchtests/bench-strlen-ifunc.c: Likewise.
30487 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30488 * benchtests/bench-strncat-ifunc.c: Likewise.
30489 * benchtests/bench-strncmp-ifunc.c: Likewise.
30490 * benchtests/bench-strncpy-ifunc.c: Likewise.
30491 * benchtests/bench-strnlen-ifunc.c: Likewise.
30492 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30493 * benchtests/bench-strrchr-ifunc.c: Likewise.
30494 * benchtests/bench-strsep-ifunc.c: Likewise.
30495 * benchtests/bench-strspn-ifunc.c: Likewise.
30496 * benchtests/bench-strstr-ifunc.c: Likewise.
30498 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30500 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30502 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30504 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30505 * rt/aio.h: Likewise.
30506 * sysdeps/gnu/bits/utmp.h: Likewise.
30507 * sysdeps/gnu/bits/utmpx.h: Likewise.
30508 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30509 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30510 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30511 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30512 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30513 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30514 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30515 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30516 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30517 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30518 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30519 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30520 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30522 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30523 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30524 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30525 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30526 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30527 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30528 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30529 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30530 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30531 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30532 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30534 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30535 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30536 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30537 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30538 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30539 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30540 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30542 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30543 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30544 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30545 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30546 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30547 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30548 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30549 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30551 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30554 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30555 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30557 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30559 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30560 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30563 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30566 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30567 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30568 (__fesetround): Remove define.
30569 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30570 rounding and exceptions handling.
30571 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30572 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30573 (__fe_nomask_env): Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30575 __fegetround instead of fegetround.
30576 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30577 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30579 2013-11-21 Roland McGrath <roland@hack.frob.com>
30581 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30584 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30586 2013-11-21 Meador Inge <meadori@codesourcery.com>
30589 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30590 (encrypt_r): Likewise.
30591 * malloc/obstack.h (obstack_free): Likewise.
30592 * posix/unistd.h (encrypt): Likewise.
30594 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30596 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30597 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30598 DL_CALL_DT_FINI() that call the functions directly.
30599 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30600 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30601 * elf/dl-fini.c: Likewise.
30603 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30605 * malloc/hooks.c (memalign_check): Add alignment rounding.
30606 * malloc/malloc.c (_mid_memalign): New function.
30607 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30608 Implement by calling _mid_memalign.
30609 * manual/probes.texi (Memory Allocation Probes): Remove
30610 memory_valloc_retry and memory_pvalloc_retry.
30612 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30614 * locale/programs/locarchive.c (open_archive): Add const
30615 qualifier to ARCHIVEFNAME and copy default fname to
30619 * libio/tst-widetext.input: Rename Oriya to Odia.
30620 * locale/iso-639.def: Likewise.
30622 * manual/probes.texi (Mathematical Function Probes): Add
30623 documentation for sin, cos, asin and acos probes.
30624 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30625 (__sin32): Add slowasin probe.
30626 (__cos32): Add slowacos probe.
30627 (__mpsin): Add slowsin probe.
30628 (__mpcos): Add slowcos probe.
30630 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30633 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30634 thread-local __sim_exceptions_thread and global
30635 __sim_exceptions_global.
30636 (__sim_disabled_exceptions): Change to thread-local
30637 __sim_disabled_exceptions_thread and global
30638 __sim_disabled_exceptions_global.
30639 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30640 and global __sim_round_mode_global.
30641 (__simulate_exceptions): Use thread-local floating-point state and
30642 set global state from it as needed.
30643 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30644 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30645 __sim_round_mode_thread.
30646 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30647 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30648 and global __sim_exceptions_global.
30649 (__sim_disabled_exceptions): Change to thread-local
30650 __sim_disabled_exceptions_thread and global
30651 __sim_disabled_exceptions_global.
30652 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30653 and global __sim_round_mode_global.
30654 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30655 (SIM_SET_GLOBAL): Likewise.
30656 * sysdeps/powerpc/soft-fp/sfp-machine.h
30657 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30658 __sim_round_mode_thread.
30659 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30660 __sim_disabled_exceptions_thread.
30661 (__sim_exceptions): Change to __sim_exceptions_thread.
30662 (__sim_disabled_exceptions): Change to
30663 __sim_disabled_exceptions_thread.
30664 (__sim_round_mode): Change to __sim_round_mode_thread.
30665 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30666 thread-local floating-point state and set global state from it as
30668 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30669 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30670 (__sim_disabled_exceptions): Remove extern declaration.
30671 (feenableexcept): Use thread-local floating-point state and set
30672 global state from it as needed.
30673 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30674 extern declaration.
30675 (__sim_disabled_exceptions): Likewise.
30676 (__sim_round_mode): Likewise.
30677 (__fegetenv): Use thread-local floating-point state.
30678 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30679 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30680 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30681 floating-point state and set global state from it as needed.
30682 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30683 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30684 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30686 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30687 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30689 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30690 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30691 Use __sim_round_mode_thread.
30692 * math/test-fenv-tls.c: New file.
30693 * math/Makefile (tests): Add test-fenv-tls.
30694 ($(objpfx)test-fenv-tls): Depend on
30695 $(common-objpfx)nptl/libpthread.so.
30697 2013-11-19 Andreas Schwab <schwab@suse.de>
30699 * locale/programs/locale.c (show_info): Decode wordarray elements.
30700 * locale/categories.def (LC_MONETARY): Add element for
30701 _NL_MONETARY_CRNCYSTR.
30702 * locale/C-monetary.c (conversion_rate): New variable.
30703 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30706 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30708 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30709 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30711 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30713 * elf/Makefile (tst-auxv): New test.
30714 * elf/tst-auxv.c: New
30715 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30717 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30719 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30720 (hidden_proto): Caller changed.
30721 (hidden_tls_proto): New macro.
30722 (libc_hidden_tls_proto): Likewise.
30723 (rtld_hidden_tls_proto): Likewise.
30724 (libm_hidden_tls_proto): Likewise.
30725 (libresolv_hidden_tls_proto): Likewise.
30726 (librt_hidden_tls_proto): Likewise.
30727 (libdl_hidden_tls_proto): Likewise.
30728 (libnss_files_hidden_tls_proto): Likewise.
30729 (libnsl_hidden_tls_proto): Likewise.
30730 (libnss_nisplus_hidden_tls_proto): Likewise.
30731 (libutil_hidden_tls_proto): Likewise.
30733 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30736 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30737 (decompose_rpath): Defer expansion to fillin_rpath.
30738 (_dl_init_paths): Pass linkmap to fillin_rpath.
30740 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30742 * benchtests/Makefile: Add strsep.
30743 * benchtests/bench-strsep.c: New file: strsep benchtest.
30744 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30746 2013-11-18 Andreas Schwab <schwab@suse.de>
30748 * locale/programs/locale.c (show_info) [case byte]: Check for
30749 '\377' instead of '\177'.
30750 * locale/C-monetary.c (not_available): Always use "\377".
30751 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30752 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30753 detect unavailable sign_posn locale elements.
30754 * locale/localeconv.c (__localeconv): For grouping and
30755 mon_grouping handle "\177" and "\377" like no grouping.
30756 (INT_ELEM): New macro. Use it to set all numeric members.
30757 * locale/programs/ld-monetary.c (monetary_read)
30758 <tok_mon_grouping>: Normalize single -1 to the empty string.
30759 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30762 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30765 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30766 when we match (nil).
30767 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30769 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30771 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30772 (NO_TEST_INLINE): Update value.
30773 (ERRNO_UNCHANGED): Likewise.
30774 (ERRNO_EDOM): Likewise.
30775 (ERRNO_ERANGE): Likewise.
30776 (IGNORE_RESULT): Likewise.
30777 (check_float_internal): Check signs of NaN results if
30778 TEST_NAN_SIGN used.
30779 (check_complex): Pass TEST_NAN_SIGN flag through to second
30780 check_float_internal call.
30781 (copysign_test_data): Add tests with quiet NaNs as second
30782 argument. Use TEST_NAN_SIGN.
30783 (fabs_test_data): Add test of negative quiet NaN argument. Use
30785 (signbit_test_data): Add tests of quiet NaN argument.
30786 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30788 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30790 (parse_args): Handle function results specified as IGNORE.
30791 * math/libm-test.inc (IGNORE_RESULT): New macro.
30792 (check_float_internal): Do not check numerical result if flag
30794 (check_complex): Pass through IGNORE_RESULT to second
30795 check_float_internal call.
30796 (check_int): Do not check numerical result if flag IGNORE_RESULT
30798 (check_long): Likewise.
30799 (check_bool): Likewise.
30800 (check_longlong): Likewise.
30801 (lrint_test_data): Add tests of infinite and NaN arguments.
30802 (lrint_tonearest_test_data): Likewise.
30803 (lrint_towardzero_test_data): Likewise.
30804 (lrint_downward_test_data): Likewise.
30805 (lrint_upward_test_data): Likewise.
30806 (llrint_test_data): Likewise.
30807 (llrint_tonearest_test_data): Likewise.
30808 (llrint_towardzero_test_data): Likewise.
30809 (llrint_downward_test_data): Likewise.
30810 (llrint_upward_test_data): Likewise.
30811 (lround_test_data): Likewise.
30812 (llround_test_data): Likewise.
30814 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30815 (ERRNO_UNCHANGED): Update value.
30816 (ERRNO_EDOM): Likewise.
30817 (ERRNO_ERANGE): Likewise.
30818 (NO_TEST_INLINE_FLOAT): New macro.
30819 (NO_TEST_INLINE_DOUBLE): Likewise.
30820 (enable_test): New function.
30821 (RUN_TEST_f_f): Check enable_test before running test.
30822 (RUN_TEST_2_f): Likewise.
30823 (RUN_TEST_fff_f): Likewise.
30824 (RUN_TEST_c_f): Likewise.
30825 (RUN_TEST_f_f1): Likewise.
30826 (RUN_TEST_fF_f1): Likewise.
30827 (RUN_TEST_fI_f1): Likewise.
30828 (RUN_TEST_ffI_f1): Likewise.
30829 (RUN_TEST_c_c): Likewise.
30830 (RUN_TEST_cc_c): Likewise.
30831 (RUN_TEST_f_i): Likewise.
30832 (RUN_TEST_f_i_tg): Likewise.
30833 (RUN_TEST_ff_i_tg): Likewise.
30834 (RUN_TEST_f_b): Likewise.
30835 (RUN_TEST_f_b_tg): Likewise.
30836 (RUN_TEST_f_l): Likewise.
30837 (RUN_TEST_f_L): Likewise.
30838 (RUN_TEST_fFF_11): Likewise.
30839 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30841 (cosh_test_data): Likewise.
30842 (exp_test_data): Likewise.
30843 (expm1_test_data): Likewise.
30844 (hypot_test_data): Likewise.
30845 (pow_test_data): Likewise.
30846 (sinh_test_data): Likewise.
30847 (tanh_test_data): Likewise.
30848 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30851 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30852 tests with quiet NaN input and output.
30853 (acosh_test_data): Likewise.
30854 (asin_test_data): Likewise.
30855 (asinh_test_data): Likewise.
30856 (atan_test_data): Likewise.
30857 (atanh_test_data): Likewise.
30858 (atan2_test_data): Likewise.
30859 (cbrt_test_data): Likewise.
30860 (cos_test_data): Likewise.
30861 (cosh_test_data): Likewise.
30862 (erf_test_data): Likewise.
30863 (erfc_test_data): Likewise.
30864 (exp_test_data): Likewise.
30865 (exp10_test_data): Likewise.
30866 (exp2_test_data): Likewise.
30867 (expm1_test_data): Likewise.
30868 (hypot_test_data): Likewise.
30869 (j0_test_data): Likewise.
30870 (j1_test_data): Likewise.
30871 (jn_test_data): Likewise.
30872 (lgamma_test_data): Likewise.
30873 (log_test_data): Likewise.
30874 (log10_test_data): Likewise.
30875 (log1p_test_data): Likewise.
30876 (log2_test_data): Likewise.
30877 (pow_test_data): Likewise.
30878 (scalb_test_data): Likewise.
30879 (sin_test_data): Likewise.
30880 (sincos_test_data): Likewise.
30881 (sinh_test_data): Likewise.
30882 (tan_test_data): Likewise.
30883 (tanh_test_data): Likewise.
30884 (tgamma_test_data): Likewise.
30885 (y0_test_data): Likewise.
30886 (y1_test_data): Likewise.
30887 (yn_test_data): Likewise.
30890 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30891 argument being NaN and avoid computations with second argument in
30893 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30894 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30895 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30897 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30899 * locale/iso-639.def: Add Chitwani Tharu (the).
30901 2013-11-14 Andreas Schwab <schwab@suse.de>
30903 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30904 word instead of empty string.
30906 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30909 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30911 (__fe_nomask_env): Likewise.
30913 2013-11-13 Steve Ellcey <sellcey@mips.com>
30915 * benchtests/bench-timing.h: Include time.h.
30917 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30920 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30922 * sysdeps/unix/sysv/linux/configure: Regenerated.
30924 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30927 * stdlib/strtod_l.c (round_and_return): Do not consider
30928 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30929 exponent one less than half the least subnormal exponent.
30930 * stdlib/test-strtod-round-data: Add more tests.
30931 * stdlib/tst-strtod-round.c (tests): Regenerated.
30933 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30936 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30937 (__fe_mask_env): Likewise.
30938 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30939 libm_hidden_proto and add function prototype.
30940 (__fe_mask_env): Add function prototype.
30941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30942 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30944 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30946 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30948 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30950 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30951 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30953 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30955 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30956 of htab_find_slot().
30958 2013-11-11 David S. Miller <davem@davemloft.net>
30961 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30962 symbol in the non-vis3 case in static builds.
30963 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30964 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30965 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30966 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30968 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30971 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30974 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30976 * benchtests/Makefile: Add bench-strtod.
30977 * benchtests/bench-strtod.c: New file: strtod benchtest
30979 2013-11-11 Andreas Schwab <schwab@suse.de>
30982 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30983 terminating NUL in key length.
30985 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30987 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30988 Add artificial ODP entry for vDSO symbol for PPC64.
30989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30990 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30992 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30995 * nss/getent.c (services_keys): Recognize services starting with digit.
30997 2013-11-06 David S. Miller <davem@davemloft.net>
31000 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31001 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31003 2013-11-06 Will Newton <will.newton@linaro.org>
31005 * manual/memory.texi (Malloc Examples): Remove register
31006 keyword from examples.
31008 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31010 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31012 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31015 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31016 depending on [__GCC_IEC_559 > 0].
31017 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31018 depending on [__GCC_IEC_559_COMPLEX > 0].
31020 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31022 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31025 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31027 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31029 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31032 * malloc/malloc (malloc_info): Do not handle first bin as
31035 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31037 * locale/iso-639.def: Add Central Nahuatl (nhn).
31039 2013-11-01 Bruno Haible <bruno@clisp.org>
31042 * manual/math.texi (BSD Random): Specify range upper bound as
31045 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31047 * locale/iso-639.def: Add Meadow Mari (mhr).
31049 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31051 [BZ #14752], [BZ #15763]
31052 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31054 * rt/tst_shm.c: Add test for escaping directory.
31056 2013-10-31 Andreas Schwab <schwab@suse.de>
31059 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31060 followed by 'x' as part of digit sequence.
31061 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31063 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31066 * configure.ac: allow GNU Make 4.0 and greater.
31067 * configure: Regenerated.
31069 2013-10-30 Will Newton <will.newton@linaro.org>
31072 * malloc/hooks.c (memalign_check): Limit alignment to the
31073 maximum representable power of two.
31074 * malloc/malloc.c (__libc_memalign): Likewise.
31075 * malloc/tst-memalign.c (do_test): Add test for very
31076 large alignment values.
31077 * malloc/tst-posix_memalign.c (do_test): Likewise.
31079 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31082 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31083 (munmap_chunk): Likewise.
31084 (mremap_chunk): Likewise.
31086 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31089 * stdlib/div.c (div): Remove obsolete code.
31090 * stdlib/ldiv.c (ldiv): Likewise.
31091 * stdlib/lldiv.c (lldiv): Likewise.
31093 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31096 * nss/nss_files/files-XXX.c (get_contents_ret): New
31098 (get_contents): New function.
31099 (internal_getent): Use it. Expand size of LINEBUFLEN.
31101 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31103 * configure.in: Moved to ...
31104 * configure.ac: ... here. Change reference to configure.in
31106 * sysdeps/arm/preconfigure.ac: ... here.
31107 configure.in to configure.ac.
31108 * sysdeps/gnu/configure.in: Moved to ...
31109 * sysdeps/gnu/configure.ac: ... here.
31110 * sysdeps/i386/configure.in: Moved to ...
31111 * sysdeps/i386/configure.ac: ... here.
31112 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31113 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31114 * sysdeps/mach/configure.in: Moved to ...
31115 * sysdeps/mach/configure.ac: ... here.
31116 * sysdeps/mach/hurd/configure.in: Moved to ...
31117 * sysdeps/mach/hurd/configure.ac: ... here.
31118 * sysdeps/powerpc/configure.in: Moved to ...
31119 * sysdeps/powerpc/configure.ac: ... here.
31120 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31121 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31122 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31123 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31124 * sysdeps/s390/s390-32/configure.in: Moved to ...
31125 * sysdeps/s390/s390-32/configure.ac: ... here.
31126 * sysdeps/s390/s390-64/configure.in: Moved to ...
31127 * sysdeps/s390/s390-64/configure.ac: ... here.
31128 * sysdeps/sh/configure.in: Moved to ...
31129 * sysdeps/sh/configure.ac: ... here.
31130 * sysdeps/sparc/configure.in: Moved to ...
31131 * sysdeps/sparc/configure.ac: ... here.
31132 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31133 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31134 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31135 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31136 * sysdeps/x86_64/configure.in: Moved to ...
31137 * sysdeps/x86_64/configure.ac: ... here.
31138 * sysdeps/x86_64/preconfigure.in: Moved to ...
31139 * sysdeps/x86_64/preconfigure.ac: ... here.
31140 * aclocal.m4: Change reference to configure.in to configure.ac.
31141 * config.h.in: Likewise.
31142 * manual/install.texi: Likewise.
31143 * manual/maint.texi: Likewise.
31144 * Makefile: Likewise.
31145 * malloc/Makefile: Likewise.
31146 * nscd/Makefile: Likewise.
31147 * Makeconfig: Change reference to configure.in and
31148 preconfigure.in to configure.ac and preconfigure.ac
31150 * INSTALL: Regenerated.
31151 * configure: Likewise.
31152 * sysdeps/gnu/configure: Likewise.
31153 * sysdeps/i386/configure: Likewise.
31154 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31155 * sysdeps/mach/configure: Likewise.
31156 * sysdeps/mach/hurd/configure: Likewise.
31157 * sysdeps/powerpc/configure: Likewise.
31158 * sysdeps/powerpc/powerpc32/configure: Likewise.
31159 * sysdeps/powerpc/powerpc64/configure: Likewise.
31160 * sysdeps/s390/s390-32/configure: Likewise.
31161 * sysdeps/s390/s390-64/configure: Likewise.
31162 * sysdeps/sh/configure: Likewise.
31163 * sysdeps/sparc/configure: Likewise.
31164 * sysdeps/unix/sysv/linux/configure: Likewise.
31165 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31166 * sysdeps/x86_64/configure: Likewise.
31167 * sysdeps/x86_64/preconfigure: Likewise.
31169 2013-10-29 Andreas Schwab <schwab@suse.de>
31171 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31173 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31175 * benchtests/pow-inputs: Add new inputs.
31177 * benchtests/exp-inputs: Add new inputs.
31179 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31180 conditional check for return value.
31181 (__cos32): Likewise.
31183 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31185 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31186 to provide a boost for large inputs with word alignment.
31187 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31188 implementation based on optimized PPC64 strcpy.
31189 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31190 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31191 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31192 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31194 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31197 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31199 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31202 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31203 * time/tst-strptime.c (day_tests): Add testcase.
31205 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31208 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31210 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31213 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31214 MAP_FAILED on error.
31216 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31219 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31220 heap for large requests.
31222 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31225 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31226 result if the result has no associated interface.
31227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31228 interface for all 127.X.Y.Z addresses.
31230 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31232 * locale/iso-639.def: Add Ligurian (lij)
31234 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31237 * sunrpc/rpc_main.c: Document rpcgen -5.
31239 2013-10-19 Michael Stahl <mstahl@redhat.com>
31241 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31243 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31246 * posix/glob.c: Match only directories when trailing slash is present.
31247 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31248 (main): Add testcase.
31250 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31253 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31255 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31257 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31258 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31259 AUTH_DES and cindex for FIPS 140-2.
31260 (DES Encryption): Add cindex FIPS 46-3.
31262 * locale/locarchive.h (struct locarhandle): Add fname.
31263 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31264 if an optional argument was specified to --list-archive,
31266 * locale/programs/locarchive.c (show_archive_content): Take new
31267 argument fname and pass it via ah.fname to open_archive.
31268 * locale/programs/localedef.h: Update decl.
31269 (open_archive): If AH->fname is non-null, open that file
31270 rather than the default file name, and don't ignore ENOENT.
31271 (create_archive): Set AH.fname to NULL.
31272 (delete_locales_from_archive): Likewise.
31273 (add_locales_to_archive): Likewise.
31274 * locale/programs/locfile.c (write_all_categories): Likewise.
31276 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31277 Aldy Hernandez <aldyh@redhat.com>
31279 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31280 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31281 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31282 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31283 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31284 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31285 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31286 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31287 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31288 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31289 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31290 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31291 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31292 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31293 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31295 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31297 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31299 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31301 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31302 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31304 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31305 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31306 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31307 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31309 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31310 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31311 * sysdeps/powerpc/preconfigure: Likewise.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31314 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31315 Replace contents of file by #include of <fenv_libc.h>.
31316 * sysdeps/powerpc/soft-fp/sfp-machine.h
31317 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31319 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31326 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31332 Allow copysignl PLT reference to be missing.
31334 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31335 Joseph Myers <joseph@codesourcery.com
31338 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31340 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31342 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31344 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31345 * elf/tst-tls1.c: Likewise.
31346 * elf/tst-tls10.h: Likewise.
31347 * elf/tst-tls14.c: Likewise.
31348 * elf/tst-tls2.c: Likewise.
31349 * elf/tst-tls3.c: Likewise.
31350 * elf/tst-tls4.c: Likewise.
31351 * elf/tst-tls5.c: Likewise.
31352 * elf/tst-tls6.c: Likewise.
31353 * elf/tst-tls7.c: Likewise.
31354 * elf/tst-tls8.c: Likewise.
31355 * elf/tst-tls9.c: Likewise.
31356 * elf/tst-tlsmod1.c: Likewise.
31357 * elf/tst-tlsmod13.c: Likewise.
31358 * elf/tst-tlsmod13a.c: Likewise.
31359 * elf/tst-tlsmod14a.c: Likewise.
31360 * elf/tst-tlsmod16a.c: Likewise.
31361 * elf/tst-tlsmod16b.c: Likewise.
31362 * elf/tst-tlsmod2.c: Likewise.
31363 * elf/tst-tlsmod3.c: Likewise.
31364 * elf/tst-tlsmod4.c: Likewise.
31365 * elf/tst-tlsmod5.c: Likewise.
31366 * elf/tst-tlsmod6.c: Likewise.
31368 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31371 * malloc/malloc.c: remove checks for statistics.
31373 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31376 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31377 * inet/tst-network.c: Add testcase.
31379 2013-10-17 Andreas Schwab <schwab@suse.de>
31382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31383 to determine canonical name.
31385 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31387 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31388 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31390 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31392 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31394 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31395 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31397 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31399 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31400 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31404 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31405 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31406 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31407 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31409 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31410 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31411 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31412 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31413 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31414 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31415 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31416 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31417 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31418 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31419 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31420 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31421 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31422 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31423 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31424 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31425 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31427 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31428 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31429 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31430 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31431 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31432 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31433 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31434 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31435 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31436 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31437 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31438 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31440 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31441 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31442 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31444 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31446 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31449 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31450 make result into a quiet NaN.
31452 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31454 * soft-fp/adddf3.c: Fix horizontal whitespace.
31455 * soft-fp/addsf3.c: Likewise.
31456 * soft-fp/addtf3.c: Likewise.
31457 * soft-fp/divdf3.c: Likewise.
31458 * soft-fp/divsf3.c: Likewise.
31459 * soft-fp/divtf3.c: Likewise.
31460 * soft-fp/double.h: Likewise.
31461 * soft-fp/eqdf2.c: Likewise.
31462 * soft-fp/eqsf2.c: Likewise.
31463 * soft-fp/eqtf2.c: Likewise.
31464 * soft-fp/extenddftf2.c: Likewise.
31465 * soft-fp/extended.h: Likewise.
31466 * soft-fp/extendsfdf2.c: Likewise.
31467 * soft-fp/extendsftf2.c: Likewise.
31468 * soft-fp/extendxftf2.c: Likewise.
31469 * soft-fp/fixdfdi.c: Likewise.
31470 * soft-fp/fixdfsi.c: Likewise.
31471 * soft-fp/fixdfti.c: Likewise.
31472 * soft-fp/fixsfdi.c: Likewise.
31473 * soft-fp/fixsfsi.c: Likewise.
31474 * soft-fp/fixsfti.c: Likewise.
31475 * soft-fp/fixtfdi.c: Likewise.
31476 * soft-fp/fixtfsi.c: Likewise.
31477 * soft-fp/fixtfti.c: Likewise.
31478 * soft-fp/fixunsdfdi.c: Likewise.
31479 * soft-fp/fixunsdfsi.c: Likewise.
31480 * soft-fp/fixunsdfti.c: Likewise.
31481 * soft-fp/fixunssfdi.c: Likewise.
31482 * soft-fp/fixunssfsi.c: Likewise.
31483 * soft-fp/fixunssfti.c: Likewise.
31484 * soft-fp/fixunstfdi.c: Likewise.
31485 * soft-fp/fixunstfsi.c: Likewise.
31486 * soft-fp/fixunstfti.c: Likewise.
31487 * soft-fp/floatdidf.c: Likewise.
31488 * soft-fp/floatdisf.c: Likewise.
31489 * soft-fp/floatditf.c: Likewise.
31490 * soft-fp/floatsidf.c: Likewise.
31491 * soft-fp/floatsisf.c: Likewise.
31492 * soft-fp/floatsitf.c: Likewise.
31493 * soft-fp/floattidf.c: Likewise.
31494 * soft-fp/floattisf.c: Likewise.
31495 * soft-fp/floattitf.c: Likewise.
31496 * soft-fp/floatundidf.c: Likewise.
31497 * soft-fp/floatundisf.c: Likewise.
31498 * soft-fp/floatunditf.c: Likewise.
31499 * soft-fp/floatunsidf.c: Likewise.
31500 * soft-fp/floatunsisf.c: Likewise.
31501 * soft-fp/floatunsitf.c: Likewise.
31502 * soft-fp/floatuntidf.c: Likewise.
31503 * soft-fp/floatuntisf.c: Likewise.
31504 * soft-fp/floatuntitf.c: Likewise.
31505 * soft-fp/fmadf4.c: Likewise.
31506 * soft-fp/fmasf4.c: Likewise.
31507 * soft-fp/fmatf4.c: Likewise.
31508 * soft-fp/gedf2.c: Likewise.
31509 * soft-fp/gesf2.c: Likewise.
31510 * soft-fp/getf2.c: Likewise.
31511 * soft-fp/ledf2.c: Likewise.
31512 * soft-fp/lesf2.c: Likewise.
31513 * soft-fp/letf2.c: Likewise.
31514 * soft-fp/muldf3.c: Likewise.
31515 * soft-fp/mulsf3.c: Likewise.
31516 * soft-fp/multf3.c: Likewise.
31517 * soft-fp/negdf2.c: Likewise.
31518 * soft-fp/negsf2.c: Likewise.
31519 * soft-fp/negtf2.c: Likewise.
31520 * soft-fp/op-1.h: Likewise.
31521 * soft-fp/op-2.h: Likewise.
31522 * soft-fp/op-4.h: Likewise.
31523 * soft-fp/op-8.h: Likewise.
31524 * soft-fp/op-common.h: Likewise.
31525 * soft-fp/quad.h: Likewise.
31526 * soft-fp/single.h: Likewise.
31527 * soft-fp/soft-fp.h: Likewise.
31528 * soft-fp/sqrtdf2.c: Likewise.
31529 * soft-fp/sqrtsf2.c: Likewise.
31530 * soft-fp/sqrttf2.c: Likewise.
31531 * soft-fp/subdf3.c: Likewise.
31532 * soft-fp/subsf3.c: Likewise.
31533 * soft-fp/subtf3.c: Likewise.
31534 * soft-fp/truncdfsf2.c: Likewise.
31535 * soft-fp/trunctfdf2.c: Likewise.
31536 * soft-fp/trunctfsf2.c: Likewise.
31537 * soft-fp/trunctfxf2.c: Likewise.
31538 * soft-fp/unorddf2.c: Likewise.
31539 * soft-fp/unordsf2.c: Likewise.
31540 * soft-fp/unordtf2.c: Likewise.
31542 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31544 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31545 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31547 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31549 * elf/dl-libc.c: Clear initfini list after freeing.
31551 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31553 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31554 * soft-fp/addsf3.c: Likewise.
31555 * soft-fp/addtf3.c: Likewise.
31556 * soft-fp/divdf3.c: Likewise.
31557 * soft-fp/divsf3.c: Likewise.
31558 * soft-fp/divtf3.c: Likewise.
31559 * soft-fp/double.h: Likewise.
31560 * soft-fp/eqdf2.c: Likewise.
31561 * soft-fp/eqsf2.c: Likewise.
31562 * soft-fp/eqtf2.c: Likewise.
31563 * soft-fp/extenddftf2.c: Likewise.
31564 * soft-fp/extended.h: Likewise.
31565 * soft-fp/extendsfdf2.c: Likewise.
31566 * soft-fp/extendsftf2.c: Likewise.
31567 * soft-fp/extendxftf2.c: Likewise.
31568 * soft-fp/fixdfdi.c: Likewise.
31569 * soft-fp/fixdfsi.c: Likewise.
31570 * soft-fp/fixdfti.c: Likewise.
31571 * soft-fp/fixsfdi.c: Likewise.
31572 * soft-fp/fixsfsi.c: Likewise.
31573 * soft-fp/fixsfti.c: Likewise.
31574 * soft-fp/fixtfdi.c: Likewise.
31575 * soft-fp/fixtfsi.c: Likewise.
31576 * soft-fp/fixtfti.c: Likewise.
31577 * soft-fp/fixunsdfdi.c: Likewise.
31578 * soft-fp/fixunsdfsi.c: Likewise.
31579 * soft-fp/fixunsdfti.c: Likewise.
31580 * soft-fp/fixunssfdi.c: Likewise.
31581 * soft-fp/fixunssfsi.c: Likewise.
31582 * soft-fp/fixunssfti.c: Likewise.
31583 * soft-fp/fixunstfdi.c: Likewise.
31584 * soft-fp/fixunstfsi.c: Likewise.
31585 * soft-fp/fixunstfti.c: Likewise.
31586 * soft-fp/floatdidf.c: Likewise.
31587 * soft-fp/floatdisf.c: Likewise.
31588 * soft-fp/floatditf.c: Likewise.
31589 * soft-fp/floatsidf.c: Likewise.
31590 * soft-fp/floatsisf.c: Likewise.
31591 * soft-fp/floatsitf.c: Likewise.
31592 * soft-fp/floattidf.c: Likewise.
31593 * soft-fp/floattisf.c: Likewise.
31594 * soft-fp/floattitf.c: Likewise.
31595 * soft-fp/floatundidf.c: Likewise.
31596 * soft-fp/floatundisf.c: Likewise.
31597 * soft-fp/floatunsidf.c: Likewise.
31598 * soft-fp/floatunsisf.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.
31639 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31642 * misc/error.c (error_tail): Fix possible buffer overflow.
31644 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31647 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31650 2013-10-14 P. J. McDermott <pj@pehjota.net>
31653 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31654 testing pipefail option.
31656 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31658 * soft-fp/double.h: Indent preprocessor directives inside #if.
31659 * soft-fp/extended.h: Likewise.
31660 * soft-fp/op-2.h: Likewise.
31661 * soft-fp/op-4.h: Likewise.
31662 * soft-fp/op-common.h: Likewise.
31663 * soft-fp/quad.h: Likewise.
31664 * soft-fp/single.h: Likewise.
31665 * soft-fp/soft-fp.h: Likewise.
31667 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31669 * iconv/iconv_prog.c: Fix typos.
31670 * stdio-common/psiginfo-data.h: Likewise.
31672 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31675 * locale/setlocale.c: Fix typo.
31677 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31680 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31681 signaling NaN arguments.
31682 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31683 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31686 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31687 unordered operands.
31688 * soft-fp/gesf2.c (__gesf2): Likewise.
31689 * soft-fp/getf2.c (__getf2): Likewise.
31690 * soft-fp/ledf2.c (__ledf2): Likewise.
31691 * soft-fp/lesf2.c (__lesf2): Likewise.
31692 * soft-fp/letf2.c (__letf2): Likewise.
31694 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31695 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31696 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31697 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31698 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31699 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31700 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31701 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31702 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31703 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31704 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31705 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31706 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31707 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31708 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31709 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31710 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31711 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31712 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31713 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31714 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31715 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31716 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31717 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31718 * soft-fp/floattidf.c (__floattidf): Likewise.
31719 * soft-fp/floattisf.c (__floattisf): Likewise.
31720 * soft-fp/floattitf.c (__floattitf): Likewise.
31721 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31722 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31723 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31724 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31725 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31726 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31727 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31728 * soft-fp/gesf2.c (__gesf2): Likewise.
31729 * soft-fp/getf2.c (__getf2): Likewise.
31730 * soft-fp/ledf2.c (__ledf2): Likewise.
31731 * soft-fp/lesf2.c (__lesf2): Likewise.
31732 * soft-fp/letf2.c (__letf2): Likewise.
31734 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31735 Undefine and redefine.
31736 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31737 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31738 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31739 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31740 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31741 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31742 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31743 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31744 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31745 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31746 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31747 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31748 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31749 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31750 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31753 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31754 without decrementing exponent if mantissa >= that for the
31755 denominator, not >.
31756 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31757 denominator, not >. Decrement exponent in < case instead of
31758 incrementing in >= case.
31759 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31760 without decrementing exponent if mantissa >= that for the
31761 denominator, not >.
31763 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31764 computing saturated result for unsigned overflow.
31766 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31767 Jeff Law <law@redhat.com>
31769 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31770 (atan2Mp): Add systemtap probe marker.
31771 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31772 (__ieee754_log): Add systemtap probe marker.
31773 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31774 (atanMp): Add systemtap probe marker.
31775 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31776 (tanMp): Add systemtap probe marker.
31777 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31778 (__slowexp): Add systemtap probe marker.
31779 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31780 (__slowpow): Add systemtap probe marker.
31781 * manual/probes.texi: Document probes.
31783 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31786 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31788 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31790 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31791 written to buffer but not flushed.
31792 * libio/iofwrite_u.c: Likewise.
31793 * libio/iopadn.c: Return bytes returned even if EOF was
31795 * libio/iowpadn.c: Likewise.
31796 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31797 if _IO_padn does not write the whole buffer.
31798 [!COMPILE_WPRINTF] (PAD): Likewise.
31800 2013-10-10 David S. Miller <davem@davemloft.net>
31802 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31805 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31807 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31808 instead of FSF address.
31809 * soft-fp/fixdfti.c: Likewise.
31810 * soft-fp/fixsfti.c: Likewise.
31811 * soft-fp/fixtfti.c: Likewise.
31812 * soft-fp/fixunsdfti.c: Likewise.
31813 * soft-fp/fixunssfti.c: Likewise.
31814 * soft-fp/fixunstfti.c: Likewise.
31815 * soft-fp/floattidf.c: Likewise.
31816 * soft-fp/floattisf.c: Likewise.
31817 * soft-fp/floattitf.c: Likewise.
31818 * soft-fp/floatuntidf.c: Likewise.
31819 * soft-fp/floatuntisf.c: Likewise.
31820 * soft-fp/floatuntitf.c: Likewise.
31821 * soft-fp/trunctfxf2.c: Likewise.
31823 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31824 * soft-fp/fixdfti.c: Likewise.
31825 * soft-fp/fixsfti.c: Likewise.
31826 * soft-fp/fixtfti.c: Likewise.
31827 * soft-fp/fixunsdfti.c: Likewise.
31828 * soft-fp/fixunssfti.c: Likewise.
31829 * soft-fp/fixunstfti.c: Likewise.
31830 * soft-fp/floattidf.c: Likewise.
31831 * soft-fp/floattisf.c: Likewise.
31832 * soft-fp/floattitf.c: Likewise.
31833 * soft-fp/floatuntidf.c: Likewise.
31834 * soft-fp/floatuntisf.c: Likewise.
31835 * soft-fp/floatuntitf.c: Likewise.
31836 * soft-fp/trunctfxf2.c: Likewise.
31838 2013-10-10 David S. Miller <davem@davemloft.net>
31840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31842 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31844 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31845 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31846 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31847 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31848 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31849 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31850 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31853 for NaNs before doing comparisons on argument.
31854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31857 2013-10-10 Will Newton <will.newton@linaro.org>
31859 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31860 passed to _int_memalign does not overflow.
31862 2013-10-10 Torvald Riegel <triegel@redhat.com>
31864 * scripts/bench.pl: Add include-sources directive.
31865 * benchtests/README: Update documentation.
31867 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31869 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31870 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31871 instead of FP_INIT_ROUNDMODE.
31872 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31873 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31876 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31877 copy class of input value.
31878 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31879 not handle exceptions.
31880 * soft-fp/negsf2.c (__negsf2): Likewise.
31881 * soft-fp/negtf2.c (__negtf2): Likewise.
31882 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31884 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31886 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31887 semicolon. From Linux kernel.
31889 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31891 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31893 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31896 * manual/socket.texi: Added statement about buffer
31897 for gethostbyname2_r.
31899 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31901 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31902 Use .p2align directive instead, throughout.
31903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31904 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31905 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31907 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31908 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31909 * sysdeps/x86_64/strchr.S: Likewise.
31910 * sysdeps/x86_64/strrchr.S: Likewise.
31912 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31914 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31916 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31918 * sysdeps/generic/math_private.h (__mpsin1): Remove
31920 (__mpcos1): Likewise.
31921 (__mpsin): New argument __range_reduce.
31922 (__mpcos): Likewise.
31923 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31924 (slow): Use __mpsin and __mpcos.
31928 (sloww1): Likewise.
31929 (sloww2): Likewise.
31930 (bsloww): Likewise.
31931 (bsloww1): Likewise.
31932 (bsloww2): Likewise.
31933 (cslow2): Likewise.
31934 (csloww): Likewise.
31935 (csloww1): Likewise.
31936 (csloww2): Likewise.
31937 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31938 range_reduce. Merge in __mpsin1.
31939 (__mpcos): Likewise.
31940 (__mpsin1): Remove.
31941 (__mpcos1): Likewise.
31943 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31945 * locale/loadlocale.c (_nl_intern_locale_data): Use
31947 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31948 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31949 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31950 obstack data is appropriately aligned.
31951 (obstack_int32_grow_fast): Likewise.
31952 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31953 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31954 (add_locale_uint32_array): Likewise.
31956 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31958 * benchtests/Makefile: Remove ARGLIST and RET variables.
31959 ($(objpfx)bench-%.c): Pass only function name to the script.
31960 * benchtests/README: Update documentation.
31961 * benchtests/acos-inputs: Add new directives.
31962 * benchtests/acosh-inputs: Likewise.
31963 * benchtests/asin-inputs: Likewise.
31964 * benchtests/asinh-inputs: Likewise.
31965 * benchtests/atan-inputs: Likewise.
31966 * benchtests/atanh-inputs: Likewise.
31967 * benchtests/cos-inputs: Likewise.
31968 * benchtests/cosh-inputs: Likewise.
31969 * benchtests/exp-inputs: Likewise.
31970 * benchtests/log-inputs: Likewise.
31971 * benchtests/pow-inputs: Likewise.
31972 * benchtests/rint-inputs: Likewise.
31973 * benchtests/sin-inputs: Likewise.
31974 * benchtests/sinh-inputs: Likewise.
31975 * benchtests/tan-inputs: Likewise.
31976 * benchtests/tanh-inputs: Likewise.
31977 * scripts/bench.pl: Add support for new directives.
31979 2013-10-07 Alan Modra <amodra@gmail.com>
31981 * README: Fix careless merge.
31983 2013-10-05 Alan Modra <amodra@gmail.com>
31985 * NEWS: Mention powerpc64le support and bugs fixed.
31986 * README: Both big-endian and little-endian powerpc64 supported.
31988 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31990 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31991 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31992 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31993 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31995 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31997 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32000 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32002 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32003 Move -mhard-float appending from
32004 ports/sysdeps/powerpc/powerpc32/Makefile.
32005 [$(with-fp) = yes] (ASFLAGS): Likewise.
32006 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32007 * sysdeps/powerpc/nofpu: Move directory from
32008 ports/sysdeps/powerpc/nofpu.
32009 * sysdeps/powerpc/soft-fp: Move directory from
32010 ports/sysdeps/powerpc/soft-fp.
32011 * sysdeps/powerpc/powerpc32/405: Move directory from
32012 ports/sysdeps/powerpc/powerpc32/405.
32013 * sysdeps/powerpc/powerpc32/440: Move directory from
32014 ports/sysdeps/powerpc/powerpc32/440.
32015 * sysdeps/powerpc/powerpc32/464: Move directory from
32016 ports/sysdeps/powerpc/powerpc32/464.
32017 * sysdeps/powerpc/powerpc32/476: Move directory from
32018 ports/sysdeps/powerpc/powerpc32/476.
32019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32020 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32022 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32024 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32026 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32028 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32029 * README: Update for powerpc-*-linux-gnu software floating point
32032 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32033 case to powerpc/powerpc32*.
32034 * sysdeps/unix/sysv/linux/configure: Regenerated.
32036 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32037 (_FPU_MASK_OM): Define as 0x04.
32038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32046 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32049 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32052 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32053 and setcontext_e500.
32055 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32057 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32059 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32061 * manual/threads.texi (Default Thread Attributes): Fix typo.
32063 2013-10-04 Will Newton <will.newton@linaro.org>
32065 * malloc/Makefile: Add tst-memalign.
32066 * malloc/tst-memalign.c: New file.
32068 * malloc/tst-posix_memalign.c: Add comments.
32069 (do_test): Add comments and call free on all potentially
32070 allocated pointers. Add space after cast.
32072 * malloc/tst-pvalloc.c: Add comments.
32073 (do_test): Add comments and call free on all potentially
32074 allocated pointers. Remove duplicate check for NULL pointer.
32075 Add space after cast.
32077 * malloc/tst-valloc.c: Add comments.
32078 (do_test): Add comments and call free on all potentially
32079 allocated pointers. Remove duplicate check for NULL pointer.
32080 Add space after cast.
32082 2013-10-04 Alan Modra <amodra@gmail.com>
32084 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32085 Use stdint types in rather than __attribute__((mode())).
32086 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32088 2013-10-04 Alan Modra <amodra@gmail.com>
32090 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32091 Correct handling of unaligned relocs for little-endian.
32092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32094 2013-10-04 Alan Modra <amodra@gmail.com>
32096 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32097 * configure: Regenerate.
32098 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32099 * shlib-versions: Likewise.
32101 2013-10-04 Alan Modra <amodra@gmail.com>
32103 * string/tester.c (test_memrchr): Increment reported test cycle.
32105 2013-10-04 Alan Modra <amodra@gmail.com>
32107 * string/test-memcpy.c (do_one_test): When reporting errors, print
32108 string address and don't overrun end of string.
32110 2013-10-04 Alan Modra <amodra@gmail.com>
32112 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32113 insrdi. Make better use of reg selection to speed exit slightly.
32114 Schedule entry path a little better. Remove useless "are we done"
32115 checks on entry to main loop. Handle wrapping around zero address.
32116 Correct main loop count. Handle single left-over word from main
32117 loop inline rather than by using loop_small. Remove extra word
32118 case in loop_small caused by wrong loop count. Add little-endian
32120 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32123 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32124 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32125 support. Avoid rlwimi.
32126 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32128 2013-10-04 Alan Modra <amodra@gmail.com>
32130 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32131 insrdi. Formatting.
32132 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32133 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32134 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32135 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32136 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32137 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32139 2013-10-04 Alan Modra <amodra@gmail.com>
32141 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32142 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32143 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32145 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32146 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32147 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32148 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32149 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32150 use of regs. Use power7 mtocrf. Tidy function tails.
32152 2013-10-04 Alan Modra <amodra@gmail.com>
32154 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32155 Formatting. Consistently use rXXX register defines or rN defines.
32156 Use early exit labels that avoid restoring unused non-volatile regs.
32157 Make cr field use more consistent with rWORDn compares. Rename
32158 regs used as shift registers for unaligned loop, using rN defines
32159 for short lifetime/multiple use regs.
32160 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32161 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32162 addi 1,1,64 to pop stack frame. Simplify return value code.
32163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32165 2013-10-04 Alan Modra <amodra@gmail.com>
32167 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32168 support. Correct typos, formatting. Optimize tail. Use insrdi
32169 rather than rlwimi.
32170 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32171 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32172 little-endian support. Correct typos.
32173 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32174 rather than rlwimi.
32175 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32176 in loop and entry code to keep "and." results.
32177 (strchr): Add little-endian support. Comment. Move cntlzd
32179 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32181 2013-10-04 Alan Modra <amodra@gmail.com>
32183 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32184 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32185 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32186 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32188 2013-10-04 Alan Modra <amodra@gmail.com>
32190 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32191 (rTMP): Define as r11.
32192 (strcmp): Add little-endian support. Optimise tail.
32193 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32194 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32195 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32196 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32197 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32198 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32199 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32201 2013-10-04 Alan Modra <amodra@gmail.com>
32203 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32204 little-endian support. Remove unnecessary "are we done" tests.
32205 Handle "s" wrapping around zero and extremely large "size".
32206 Correct main loop count. Handle single left-over word from main
32207 loop inline rather than by using small_loop. Correct comments.
32208 Delete "zero" tail, use "end_max" instead.
32209 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32211 2013-10-04 Alan Modra <amodra@gmail.com>
32213 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32214 support. Don't branch over align.
32215 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32216 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32217 support. Rearrange tmp reg use to suit. Comment.
32218 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32220 2013-10-04 Alan Modra <amodra@gmail.com>
32222 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32224 2013-10-04 Alan Modra <amodra@gmail.com>
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32227 conditional form of branch and link when obtaining pc.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32230 2013-10-04 Alan Modra <amodra@gmail.com>
32232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32237 2013-10-04 Alan Modra <amodra@gmail.com>
32239 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32240 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32241 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32242 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32243 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32244 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32245 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32246 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32247 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32248 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32250 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32251 Alistair Popple <alistair@ozlabs.au.ibm.com>
32252 Alan Modra <amodra@gmail.com>
32255 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32256 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32257 _dl_hwcap access for little-endian.
32258 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32259 destroy vmx regs when saving unaligned.
32260 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32261 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32262 destroy vmx regs when saving unaligned.
32264 2013-10-04 Alan Modra <amodra@gmail.com>
32266 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32267 Don't use a union to pack hi/low value.
32269 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32271 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32273 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32275 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32276 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32277 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32279 2013-10-04 Alan Modra <amodra@gmail.com>
32281 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32282 constants to usual value for .cst8 section, and remove redundant
32284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32285 constant for 0x1p52. Load little-endian words of double from
32286 correct stack offsets.
32288 2013-10-04 Alan Modra <amodra@gmail.com>
32290 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32291 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32292 words of double from correct stack offsets.
32293 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32294 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32295 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32296 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32298 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32299 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32300 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32301 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32302 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32303 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32304 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32305 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32306 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32307 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32308 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32309 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32311 2013-10-04 Alan Modra <amodra@gmail.com>
32313 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32314 64-bit int/double union.
32315 (_FPU_SETCW): Likewise.
32316 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32317 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32319 2013-10-04 Alan Modra <amodra@gmail.com>
32321 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32322 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32324 2013-10-04 Alan Modra <amodra@gmail.com>
32326 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32327 use vector int constants.
32328 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32330 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32332 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32333 array with long long.
32334 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32335 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32336 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32337 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32338 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32339 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32340 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32341 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32342 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32343 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32344 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32345 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32346 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32348 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32350 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32351 (__signbit): Likewise. Correct for little-endian.
32352 (__signbitl): Call __signbit.
32353 (lrint): Correct for little-endian.
32354 (lrintf): Call lrint.
32356 2013-10-04 Alan Modra <amodra@gmail.com>
32358 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32359 union 32-bit int array member with 64-bit int array.
32360 (t515, tm256): Double rather than long double.
32361 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32363 2013-10-04 Alan Modra <amodra@gmail.com>
32365 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32367 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32369 version of math_ldbl.h.
32371 2013-10-04 Alan Modra <amodra@gmail.com>
32373 [BZ #15734], [BZ #15735]
32374 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32375 all uses of ieee875 long double macros and unions. Simplify test
32376 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32377 ldbl_extract_mantissa value for ix,iy exponents. Properly
32378 normalize after ldbl_extract_mantissa, and don't add hidden bit
32379 already handled. Don't treat low word of ieee854 mantissa like
32380 low word of IBM long double and mask off bit when testing for
32382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32383 all uses of ieee875 long double macros and unions. Simplify tests
32384 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32385 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32386 two1022, instead use their values. Recognise that tests for large
32387 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32388 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32389 Rewrite all uses of ieee875 long double macros and unions. Simplify
32390 test for 0.0L and nan. Correct negation.
32391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32392 ieee875 long double macros and unions. Correct output for large
32393 magnitude x. Correct absolute value calculation.
32394 (__erfcl): Likewise.
32395 * math/libm-test.inc: Add tests for errors discovered in IBM long
32396 double versions of fmodl, remainderl, erfl and erfcl.
32398 2013-10-04 Alan Modra <amodra@gmail.com>
32400 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32401 all uses of ieee854 long double macros and unions. Simplify tests
32402 for long doubles that are fully specified by the high double.
32403 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32405 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32406 Remove dead code too.
32407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32408 (__ieee754_ynl): Likewise.
32409 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32410 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32412 Remove dead code too.
32413 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32415 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32420 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32421 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32422 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32423 Comment on variable precision.
32424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32427 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32431 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32433 2013-10-04 Alan Modra <amodra@gmail.com>
32435 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32437 all uses of ieee854 long double macros and unions.
32438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32441 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32442 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32443 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32445 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32448 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32451 Simplify sign and nan test too.
32452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32453 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32454 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32455 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32457 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32458 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32461 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32462 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32463 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32464 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32467 2013-10-04 Alan Modra <amodra@gmail.com>
32469 * stdio-common/printf_size.c (__printf_size): Don't use
32470 union ieee854_long_double in fpnum union.
32471 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32472 signbit macro to retrieve sign from long double.
32473 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32474 retrieve sign from long double.
32475 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32476 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32477 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32478 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32479 * math/test-misc.c (main): Don't use union ieee854_long_double.
32481 2013-10-04 Alan Modra <amodra@gmail.com>
32484 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32485 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32486 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32487 calculation. Remove unnecessary test for denormal exponent.
32488 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32489 Correct handling of denormals. Avoid undefined shift behaviour.
32490 Correct normalisation of low mantissa when low double is denormal.
32491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32492 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32493 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32494 Correct normalisation of low mantissa. Test for overflow of high
32495 mantissa and normalise.
32496 (ldbl_nearbyint): Use more readable constant for two52.
32497 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32498 (__mpn_construct_long_double): Fix test for overflow of high
32499 mantissa and correct normalisation. Avoid undefined shift.
32501 2013-10-04 Alan Modra <amodra@gmail.com>
32503 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32504 (union ibm_extended_long_double): Define as an array of ieee754_double.
32505 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32506 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32507 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32508 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32510 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32512 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32513 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32514 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32515 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32517 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32519 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32520 page size instead of calling getpagesize.
32522 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32523 (LOCFILE_ALIGN_MASK): Likewise.
32524 (LOCFILE_ALIGN_UP): Likewise.
32525 (LOCFILE_ALIGNED_P): Likewise.
32526 * locale/programs/ld-collate.c (collate_output): Use the new
32527 macros instead of __alignof__ (int32_t).
32528 * locale/weight.h (findidx): Likewise.
32530 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32533 * manual/string.texi: Fix strncat and wcsncat.
32535 2013-10-03 Brooks Moses <bmoses@google.com>
32538 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32539 * Makerules: ...here, and adjust associated comments.
32541 2013-10-02 Will Newton <will.newton@linaro.org>
32543 * malloc/Makefile: Add tst-pvalloc.
32544 * malloc/tst-pvalloc.c: New file.
32546 2013-10-02 Will Newton <will.newton@linaro.org>
32548 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32549 improve test coverage.
32551 2013-10-02 Will Newton <will.newton@linaro.org>
32553 * malloc/Makefile: Add tst-posix_memalign.
32554 * malloc/tst-posix_memalign.c: New file.
32556 2013-10-01 Eric Blake <eblake@redhat.com>
32558 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32559 Use __THROWNL rather than __THROW on static functions.
32561 2013-09-30 Petr Machata <pmachata@redhat.com>
32563 * elf/elf.h (R_AARCH64_ABS16): New macro.
32564 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32565 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32566 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32567 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32568 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32569 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32570 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32571 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32572 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32573 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32574 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32575 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32576 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32577 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32578 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32579 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32580 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32581 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32582 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32583 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32584 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32585 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32586 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32587 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32588 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32589 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32590 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32591 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32592 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32593 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32594 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32595 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32596 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32597 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32598 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32599 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32600 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32601 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32602 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32603 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32604 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32605 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32606 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32607 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32608 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32609 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32610 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32611 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32612 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32613 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32614 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32615 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32616 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32617 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32618 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32619 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32620 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32621 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32622 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32623 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32624 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32625 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32626 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32627 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32628 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32629 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32630 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32631 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32632 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32633 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32634 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32635 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32636 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32637 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32638 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32639 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32640 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32641 (R_AARCH64_TLSDESC_LDR): Likewise.
32642 (R_AARCH64_TLSDESC_ADD): Likewise.
32643 (R_AARCH64_TLSDESC_CALL): Likewise.
32645 2013-09-30 Andreas Schwab <schwab@suse.de>
32648 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32649 the nss database lookup.
32650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32653 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32655 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32657 2013-09-28 P. J. McDermott <pj@pehjota.net>
32659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32660 ${Bash-specific parameter/pattern/string} parameter expansion.
32661 * sysdeps/unix/make-syscalls.sh: Likewise.
32663 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32665 * sysdeps/sh/stackguard-macros.h: New file.
32667 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32671 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32672 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32673 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32674 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32676 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32678 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32679 Fix thread ID register.
32681 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32683 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32684 [POSIX || UNIX98]: Require rather than permitting all symbols from
32686 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32687 element of struct sched_param.
32688 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32689 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32690 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32691 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32694 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32696 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32697 argument calculation.
32699 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32701 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32703 [POSIX] (pthread_attr_t): Do not require type.
32704 [POSIX] (pthread_cond_t): Likewise.
32705 [POSIX] (pthread_condattr_t): Likewise.
32706 [POSIX] (pthread_key_t): Likewise.
32707 [POSIX] (pthread_mutex_t): Likewise.
32708 [POSIX] (pthread_mutexattr_t): Likewise.
32709 [POSIX] (pthread_once_t): Likewise.
32710 [POSIX] (pthread_t): Likewise.
32711 [POSIX-based standards] (pthread_atfork): Expect function.
32713 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32714 Richard Sandiford <richard@codesourcery.com>
32716 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32717 (swap_endianness_p): New extern variable.
32718 (set_big_endian): New inline function.
32719 (maybe_swap_uint32): Likewise.
32720 (maybe_swap_uint32_array): Likewise.
32721 (maybe_swap_uint32_obstack): Likewise.
32722 * locale/programs/locfile.c: Include <stdbool.h>.
32723 (swap_endianness_p): New variable.
32724 (add_locale_uint32): Call maybe_swap_uint32.
32725 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32726 (write_locale_data): Call maybe_swap_uint32_array.
32727 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32729 (obstack_int32_grow_fast): Likewise.
32730 (output_weightwc): Call maybe_swap_uint32_obstack.
32731 (collate_output): Likewise.
32732 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32733 (OPT_LITTLE_ENDIAN): Likewise.
32734 (options): Add --little-endian and --big-endian options.
32735 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32736 * locale/programs/locarchive.c: Include "locfile.h".
32740 (create_archive): Use the new macros to access fields of
32741 structures directly mapped from or written to locale archives.
32742 (oldlocrecentcmp): Likewise.
32743 (enlarge_archive): Likewise.
32744 (insert_name): Likewise.
32745 (add_alias): Likewise.
32746 (add_locale): Likewise.
32747 (delete_locales_from_archive): Likewise.
32748 (show_archive_content): Likewise.
32749 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32752 2013-09-24 Roland McGrath <roland@hack.frob.com>
32754 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32755 http://www.gnu.org/doc/freemanuals.texi.
32756 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32758 2013-09-24 Will Newton <will.newton@linaro.org>
32760 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32763 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32765 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32768 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32770 * manual/threads.texi (POSIX Threads): Fix a typo.
32772 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32775 * string/tst-strcoll-overflow.c: New test case.
32776 * string/Makefile (xtests): Add tst-strcoll-overflow.
32777 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32778 cache if string sizes may cause integer overflow.
32781 * string/strcoll_l.c (coll_seq): New members rule, idx,
32782 save_idx and back_us.
32783 (get_next_seq_nocache): New function.
32784 (do_compare_nocache): New function.
32785 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32788 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32791 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32792 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32793 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32796 * elf/Makefile (tests): Add tst-ptrguard1.
32797 (tests-static): Add tst-ptrguard1-static.
32798 (tst-ptrguard1-ARGS): Define.
32799 (tst-ptrguard1-static-ARGS): Define.
32800 * elf/tst-ptrguard1.c: New file.
32801 * elf/tst-ptrguard1-static.c: New file.
32802 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32803 * sysdeps/i386/stackguard-macros.h: Likewise.
32804 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32805 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32806 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32807 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32808 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32809 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32811 2013-09-23 Hector Marco <hecmargi@upv.es>
32812 Ismael Ripoll <iripoll@disca.upv.es>
32813 Carlos O'Donell <carlos@redhat.com>
32816 * sysdeps/generic/stackguard-macros.h: Define
32817 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32818 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32819 Define __pointer_chk_guard_local.
32820 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32821 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32823 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32826 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32828 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32830 * include/string.h (__ffs): Declare as hidden.
32831 * string/ffs.c (__ffs): Define as hidden.
32832 * sysdeps/i386/ffs.c (__ffs): Likewise.
32833 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32834 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32835 * sysdeps/s390/ffs.c (__ffs): Likewise.
32836 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32838 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32840 * NEWS: Mention malloc probes.
32842 * malloc/arena.c (new_heap): New memory_heap_new probe.
32843 (grow_heap): New memory_heap_more probe.
32844 (shrink_heap): New memory_heap_less probe.
32845 (heap_trim): New memory_heap_free probe.
32846 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32847 (systrim): New memory_sbrk_less probe.
32848 * manual/probes.texi: Document them.
32850 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32851 * manual/probes.texi: Document it.
32853 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32854 (__libc_realloc): Add memory_realloc_retry probe.
32855 (__libc_memalign): Add memory_memalign_retry probe.
32856 (__libc_valloc): Add memory_valloc_retry probe.
32857 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32858 (__libc_calloc): Add memory_calloc_retry probe.
32859 * manual/probes.texi: Document them.
32861 * malloc/arena.c (get_free_list): Add probe
32862 memory_arena_reuse_free_list.
32863 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32864 and memory_arena_reuse.
32865 (arena_get2) [!PER_THREAD]: Likewise.
32866 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32867 memory_arena_reuse_realloc.
32868 * manual/probes.texi: Document them.
32870 * malloc/malloc.c (__libc_free): Add
32871 memory_mallopt_free_dyn_thresholds probe.
32872 (__libc_mallopt): Add multiple memory_mallopt probes.
32873 * manual/probes.texi: Document them.
32875 * malloc/malloc.c: Include stap-probe.h.
32876 (__libc_mallopt): Add memory_mallopt probe.
32877 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32878 * manual/probes.texi: New.
32879 * manual/Makefile (chapters): Add probes.
32880 * manual/threads.texi: Set next node.
32882 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32884 [BZ #15963, #13985]
32885 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32886 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32887 Add `Chinese' to `nan' entry name.
32889 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32891 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32892 (POLYNOMIAL): Likewise.
32893 (TAYLOR_SINCOS): Likewise.
32894 (TAYLOR_SLOW): Likewise.
32895 (__sin): Use TAYLOR_SINCOS.
32897 (slow): Use TAYLOR_SLOW.
32899 (bsloww): Likewise.
32900 (csloww): Likewise.
32902 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32904 * stdlib/strtod_l.c: Fix buffer overrun.
32906 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32908 * benchtests/Makefile (bench): Add sincos.
32909 * benchtests/bench-sincos.c: New file.
32911 * math/libm-test.inc (cos_test_data): New test inputs.
32912 (sin_test_data): Likewise.
32914 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32920 (sloww1): Likewise.
32921 (sloww2): Likewise.
32922 (bsloww1): Likewise.
32923 (bsloww2): Likewise.
32924 (cslow2): Likewise.
32925 (csloww1): Likewise.
32926 (csloww2): Likewise.
32928 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32937 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32939 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32940 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32941 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32942 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32943 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32944 * elf/cache.c (print_entry): Handle the new cache flags.
32946 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32947 Aldy Hernandez <aldyh@redhat.com>
32949 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32950 Change condition to [_SOFT_FLOAT].
32951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32963 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32966 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32969 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32971 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32972 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32973 (__longjmp): Use LOAD_GP to load saved GPRs.
32974 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32975 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32976 (__sigsetjmp): Use SAVE_GP to save GPRs.
32978 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32979 Do not append -msoft-float.
32980 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32982 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32984 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32986 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32989 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32990 (_FPU_GETCW): Use initial "__" on variable and field names but not
32991 on macro parameter name.
32992 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32993 parentheses around reference to macro parameter.
32995 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32997 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32999 (ctype_startup): Use uint32_t in cast and sizeof for
33002 2013-09-11 Jia Liu <proljc@gmail.com>
33004 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33006 [__FreeBSD__]: Likewise.
33008 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33011 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33012 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33013 (strchr): Remove __strchr_sse42 ifunc selection.
33014 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33015 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33017 2013-09-11 Will Newton <will.newton@linaro.org>
33019 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33020 parameter to RES. Remove hardcoded 1000 value.
33021 * benchtests/bench-skeleton.c (main): Pass RES parameter
33022 to TIMING_INIT and multiply result by 1000.
33024 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33028 2013-09-11 Andreas Schwab <schwab@suse.de>
33030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33032 (O_TMPFILE) [__USE_GNU]: Define.
33033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33036 2013-09-11 Will Newton <will.newton@linaro.org>
33039 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33042 2013-09-11 Will Newton <will.newton@linaro.org>
33045 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33048 2013-09-11 Will Newton <will.newton@linaro.org>
33051 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33054 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33056 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33057 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33062 2013-09-10 Allan McRae <allan@archlinux.org>
33065 * manual/arith.texi (Parsing of Floats): Clarify
33069 * manual/install.texi (Running make install): Mention
33071 * INSTALL: Regenerated.
33073 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33075 * csu/init-first.c (_init): Remove the !SHARED condition around
33076 FPU control word initialization.
33077 * elf/dl-support.c (_dl_fpu_control): New variable.
33078 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33079 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33080 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33081 * math/test-fpucw-static.c: New file.
33082 * math/test-fpucw-ieee.c: New file.
33083 * math/test-fpucw-ieee-static.c: New file.
33084 * math/Makefile (tests): Add `test-fpucw-ieee' and
33086 (tests-static): New variable.
33087 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33089 [($(build-shared),yes)]
33090 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33092 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33095 2013-09-09 Allan McRae <allan@archlinux.org>
33098 * manual/string.texi (Collation Functions): Fix typo in
33100 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33103 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33106 * libio/memstream.c (open_memstream): Fix memory leak.
33107 * libio/wmemstream.c (open_wmemstream): Likewise.
33110 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33112 2013-09-09 Will Newton <will.newton@linaro.org>
33114 * malloc/Makefile: Add tst-realloc to tests.
33115 * malloc/tst-realloc.c: New file.
33117 2013-09-09 Allan McRae <allan@archlinux.org>
33120 * COPYING: Update from GNU website to fix FSF address.
33121 * COPYING.LIB: Likewise.
33123 2013-09-06 David S. Miller <davem@davemloft.net>
33125 * po/zh_TW.po: Update Chinese (traditional) translation from
33126 translation project.
33128 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33129 Joseph Myers <joseph@codesourcery.com>
33131 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33133 (obstack_chunk_alloc): New macro.
33134 (obstack_chunk_free): Likewise.
33135 (record_offset): New function.
33136 (init_locale_data): Likewise.
33137 (align_locale_data): Likewise.
33138 (add_locale_empty): Likewise.
33139 (add_locale_raw_data): Likewise.
33140 (add_locale_raw_obstack): Likewise.
33141 (add_locale_string): Likewise.
33142 (add_locale_wstring): Likewise.
33143 (add_locale_uint32): Likewise.
33144 (add_locale_uint32_array): Likewise.
33145 (add_locale_char): Likewise.
33146 (start_locale_structure): Likewise.
33147 (end_locale_structure): Likewise.
33148 (start_locale_prelude): Likewise.
33149 (end_locale_prelude): Likewise.
33150 (write_locale_data): Take locale_file structure rather than an
33152 * locale/programs/locfile.h: Include "obstack.h".
33153 (struct locale_file): Change to store locale file contents instead
33155 (init_locale_data): New prototype.
33156 (align_locale_data): Likewise.
33157 (add_locale_empty): Likewise.
33158 (add_locale_raw_data): Likewise.
33159 (add_locale_raw_obstack): Likewise.
33160 (add_locale_string): Likewise.
33161 (add_locale_wstring): Likewise.
33162 (add_locale_uint32): Likewise.
33163 (add_locale_uint32_array): Likewise.
33164 (add_locale_char): Likewise.
33165 (start_locale_structure): Likewise.
33166 (end_locale_structure): Likewise.
33167 (start_locale_prelude): Likewise.
33168 (end_locale_prelude): Likewise.
33169 (write_locale_data): Update prototype.
33170 * locale/programs/3level.h (struct TABLE): Remove result field.
33171 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33172 Use new locale_file interface.
33173 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33174 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33175 * locale/programs/ld-address.c (address_output): Use new
33176 locale_file interface.
33177 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33179 (collate_finish): Don't call collseq_table_finalize.
33180 (collate_output): Use new locale_file interface.
33181 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33183 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33184 (TABLE): Move defines earlier in file.
33185 (ELEMENT): Likewise.
33186 (DEFAULT): Likewise.
33187 (wctrans_table_add): Move macro and inline function earlier in
33189 (struct wctype_table): Move type earlier in file.
33190 (add_locale_wctype_table): New static prototype.
33191 (struct locale_ctype_t): Use logical types instead of struct iovec
33192 pointers for members.
33193 (ctype_output): Use new locale_file interface.
33194 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33195 new locale_file interface.
33196 (allocate_arrays): Update for use of new locale_file interface.
33197 * locale/programs/ld-identification.c (identification_output): Use
33198 new locale_file interface.
33199 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33200 * locale/programs/ld-messages.c (messages_output): Likewise.
33201 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33202 * locale/programs/ld-name.c (name_output): Likewise.
33203 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33204 * locale/programs/ld-paper.c (paper_output): Likewise.
33205 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33206 * locale/programs/ld-time.c (time_output): Likewise.
33208 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33210 * benchtests/Makefile: Add memrchr benchmark.
33211 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33212 benchmark as memrchr.
33213 * benchtests/bench-memrchr-ifunc.c: New file.
33214 * benchtests/bench-memrchr.c: New file.
33216 2013-09-06 Will Newton <will.newton@linaro.org>
33218 * benchtests/Makefile (string-bench): Add memcpy.
33220 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33221 Cong Wang <amwang@redhat.com>
33224 * sysdeps/unix/sysv/linux/bits/in.h
33225 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33226 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33227 before __USE_KERNEL_IPV6_DEFS uses.
33228 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33230 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33231 sockaddr_in6, or ipv6_mreq.
33233 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33235 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33236 memory access for final bytes in some large inputs.
33237 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33239 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33241 * string/test-memrchr.c: New file.
33242 * string/test-memrchr-ifunc.c: New file.
33243 * string/Makefile: Add new memrchr testcase.
33245 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33247 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33248 fanotify_init returns EPERM.
33250 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33252 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33254 (top level): Treat second token from macro or constant entries for
33255 allowed headers as allowed.
33256 * include/complex.h: Condition internal declarations on
33258 * include/fenv.h: Condition include of <stdbool.h> and internal
33259 declarations on [!_ISOMAC].
33261 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33264 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33266 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33268 * configure.in (--enable-versioning): Remove configure option.
33269 (libc_cv_asm_symver_directive): Remove configure test.
33270 (libc_cv_ld_version_script_option): Likewise.
33271 (VERSIONING): Remove variable and AC_SUBST.
33272 (DO_VERSIONING): Remove AC_DEFINE.
33273 * configure: Regenerated.
33274 * config.h.in (DO_VERSIONING): Remove macro.
33275 * Makerules [$(versioning) = yes]: Change conditionals to
33276 [$(build-shared) = yes].
33277 * config.make.in (versioning): Remove variable.
33278 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33279 [$(build-shared) = yes].
33280 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33281 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33282 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33283 [$(build-shared) = yes].
33284 * extra-lib.mk [$(versioning) = yes]: Likewise.
33285 * hurd/Makefile [$(versioning) = yes]: Likewise.
33286 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33288 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33290 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33291 [SHARED && !NO_HIDDEN].
33292 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33294 [SHARED && DO_VERSIONING]: Likewise..
33295 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33296 [$(build-shared) = yes].
33297 * manual/install.texi (--disable-versioning): Remove
33299 * INSTALL: Regenerated.
33300 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33302 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33303 [$(build-shared) = yes].
33304 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33305 * sysdeps/i386/i686/multiarch/strstr-c.c
33306 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33307 [SHARED && !NO_HIDDEN].
33308 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33309 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33310 * sysdeps/powerpc/powerpc32/dl-machine.c
33311 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33312 * sysdeps/powerpc/powerpc32/sysdep.h
33313 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33314 to [SHARED && PIC && !NO_HIDDEN].
33315 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33316 conditional to [SHARED].
33318 2013-09-04 Will Newton <will.newton@linaro.org>
33320 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33321 * benchtests/bench-string.h: Include bench-timing.h instead
33322 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33323 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33324 call to HP_TIMING_DIFF_INIT.
33325 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33326 instead of hp-timing.h macros.
33327 * benchtests/bench-memchr.c: Likewise.
33328 * benchtests/bench-memcmp.c: Likewise.
33329 * benchtests/bench-memcpy.c: Likewise.
33330 * benchtests/bench-memmem.c: Likewise.
33331 * benchtests/bench-memmove.c: Likewise.
33332 * benchtests/bench-memset.c: Likewise.
33333 * benchtests/bench-rawmemchr.c: Likewise.
33334 * benchtests/bench-strcasecmp.c: Likewise.
33335 * benchtests/bench-strcasestr.c: Likewise.
33336 * benchtests/bench-strcat.c: Likewise.
33337 * benchtests/bench-strchr.c: Likewise.
33338 * benchtests/bench-strcmp.c: Likewise.
33339 * benchtests/bench-strcpy.c: Likewise.
33340 * benchtests/bench-strcpy_chk.c: Likewise.
33341 * benchtests/bench-strlen.c: Likewise.
33342 * benchtests/bench-strncasecmp.c: Likewise.
33343 * benchtests/bench-strncat.c: Likewise.
33344 * benchtests/bench-strncmp.c: Likewise.
33345 * benchtests/bench-strncpy.c: Likewise.
33346 * benchtests/bench-strnlen.c: Likewise.
33347 * benchtests/bench-strpbrk.c: Likewise.
33348 * benchtests/bench-strrchr.c: Likewise.
33349 * benchtests/bench-strspn.c: Likewise.
33350 * benchtests/bench-strstr.c: Likewise.
33352 2013-09-04 Will Newton <will.newton@linaro.org>
33354 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33356 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33360 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33361 * math/libm-test.inc (lgamma_test_data): Add more tests.
33362 * sysdeps/i386/fpu/libm-test-ulps: Update.
33363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33365 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33367 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33371 Add strcmp-sse2-unaligned
33372 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33374 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33376 * Versions.def (libc): Add GLIBC_2.19.
33378 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33380 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33381 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33383 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33386 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33387 intermediate calculations in recurrence.
33388 (__ieee754_ynf): Likewise.
33389 * math/libm-test.inc (jn_test_data): Do not allow spurious
33390 underflow exception. Add more tests.
33391 (yn_test_data): Add more tests.
33392 * sysdeps/i386/fpu/libm-test-ulps: Update.
33393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33395 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33397 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33399 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33401 * csu/init-first.c: Fix then/than typos.
33402 * locale/programs/ld-collate.c: Likewise.
33403 * locale/programs/linereader.h: Likewise.
33404 * manual/charset.texi: Likewise.
33405 * manual/filesys.texi: Likewise.
33406 * manual/stdio.texi: Likewise.
33407 * manual/string.texi: Likewise.
33408 * stdlib/fmtmsg.c: Likewise.
33409 * sysdeps/i386/stpncpy.S: Likewise.
33410 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33411 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33412 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33413 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33415 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33417 * elf/dl-open.c: Fix typos.
33418 * iconvdata/gbbig5.c: Likewise.
33419 * iconvdata/iso-2022-jp.c: Likewise.
33420 * iconv/gconv_int.h: Likewise.
33421 * iconv/loop.c: Likewise.
33422 * nis/rpcsvc/nis.h: Likewise.
33423 * resolv/ns_name.c: Likewise.
33424 * stdio-common/vfscanf.c: Likewise.
33425 * streams/stropts.h: Likewise.
33426 * sunrpc/rpc_thread.c: Likewise.
33427 * sysdeps/i386/strpbrk.S: Likewise.
33428 * sysdeps/ieee754/k_standard.c: Likewise.
33429 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33431 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33432 * sysdeps/mach/hurd/profil.c: Likewise.
33433 * sysdeps/s390/dl-procinfo.h: Likewise.
33434 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33435 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33436 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33437 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33438 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33440 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33442 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33445 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33447 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33448 aix specific files.
33449 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33450 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33451 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33452 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33453 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33454 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33455 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33456 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33458 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33459 Roland McGrath <roland@hack.frob.com>
33461 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33462 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33464 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33466 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33467 __executable_start symbol instead of _start.
33469 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33471 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33472 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33474 * sysdeps/gnu/ldsodefs.h: ... this new file.
33476 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33477 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33478 instead of ELFOSABI_LINUX.
33480 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33481 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33482 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33483 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33485 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33486 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33487 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33489 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33490 (ibm_extended_long_double): Add ieee_nan member.
33491 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33492 (do_test): New function.
33494 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33496 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33497 functions, renamed from truncdfsf_test, trunctfsf_test,
33499 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33501 (do_test): Run all these.
33503 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33505 * argp/argp-help.c: Fix typos.
33506 * argp/argp-parse.c: Likewise.
33507 * debug/backtracesyms.c: Likewise.
33508 * elf/elf.h: Likewise.
33509 * malloc/malloc.c: Likewise.
33510 * nis/nis_print.c: Likewise.
33511 * resolv/res_comp.c: Likewise.
33512 * stdlib/stdlib.h: Likewise.
33513 * sunrpc/clnt_tcp.c: Likewise.
33514 * sunrpc/clnt_udp.c: Likewise.
33515 * sunrpc/clnt_unix.c: Likewise.
33516 * sysdeps/unix/bsd/ptsname.c: Likewise.
33517 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33525 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33527 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33529 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33532 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33535 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33536 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33537 ($(objpfx)bug-dl-leaf): New rule.
33538 ($(objpfx)bug-dl-leaf.so): Likewise.
33539 ($(objpfx)bug-dl-leaf.out): Likewise.
33540 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33541 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33542 * dlfcn/bug-dl-leaf.c: New test.
33543 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33544 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33545 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33546 (dlclose): Likewise.
33547 (dlmopen): Likewise.
33549 2013-08-27 Roland McGrath <roland@hack.frob.com>
33551 * include/netdb.h [!_ISOMAC]:
33552 Don't include <tls.h>.
33553 (h_errno, __libc_h_errno): Move declaration and macros out of
33556 * include/resolv.h [_RESOLV_H_]:
33557 Don't include <tls.h>.
33558 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33559 * resolv/res_libc.c: Don't include <tls.h>.
33560 (_res): Use __attribute__ ((nocommon)) in place of
33561 __attribute__ ((section (".bss"))).
33563 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33564 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33566 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33568 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33569 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33571 * resolv/res_mkquery.c: Include <sys/time.h>.
33573 * inet/ifreq.c: Moved to ...
33574 * sysdeps/unix/ifreq.c: ... here.
33575 * inet/ifreq.c: New file, true stub version.
33577 * socket/sa_len.c: New file.
33578 * socket/Makefile (aux): Add it.
33579 * sysdeps/unix/sysv/linux/Makefile
33580 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33581 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33582 and #include <socket/sa_len.c>.
33583 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33584 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33586 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33587 * bits/socket.h: ... here.
33589 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33590 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33591 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33593 2013-08-27 Andreas Schwab <schwab@suse.de>
33596 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33597 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33598 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33599 * string/test-strcasecmp.c (test_main): Run tests in several
33601 * string/test-strncasecmp.c (test_main): Likewise.
33603 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33604 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33605 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33607 (__strncasecmp_ssse3) [PIC]: Likewise.
33609 2013-08-26 Roland McGrath <roland@hack.frob.com>
33611 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33613 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33614 instead of explicitly declaring xdecrypt.
33615 * nis/nss_nis/nis-publickey.c: Likewise.
33617 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33620 * nscd/aicache.c: Include res_hconf.h.
33621 (addhstaiX): Initialize res_hconf.
33623 2013-08-26 Andreas Schwab <schwab@suse.de>
33625 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33626 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33628 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33630 * nscd/aicache.c (addhstaiX): Fix indentation.
33632 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33634 * configure.ac: Quote $build_pt_chown test.
33635 * configure: Regenerated.
33637 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33640 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33641 * math/s_cexpf.c (__cexpf): Likewise.
33642 * math/s_cexpl.c (__cexpl): Likewise.
33643 * math/libm-test.inc (cexp_test_data): Correct expected return
33644 value for NaN + i0. Add another test.
33646 2013-08-22 David S. Miller <davem@davemloft.net>
33648 * po/ca.po: Update Catalan translation from translation project.
33649 * po/uk.po: Add Ukrainian translations from translation project.
33651 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33654 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33655 is infinite, not alongside NaN test.
33656 * math/s_fdimf.c (__fdimf): Likewise.
33657 * math/s_fdiml.c (__fdiml): Likewise.
33658 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33659 errno is unchanged.
33661 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33663 * argp/argp-help.c: Fix typos.
33664 * crypt/speeds.c: Likewise.
33665 * csu/check_fds.c: Likewise.
33666 * elf/dl-load.c: Likewise.
33667 * elf/dl-open.c: Likewise.
33668 * elf/reldep3.c: Likewise.
33669 * elf/reldep.c: Likewise.
33670 * elf/sprof.c: Likewise.
33671 * iconv/iconv_charmap.c: Likewise.
33672 * iconv/skeleton.c: Likewise.
33673 * iconv/strtab.c: Likewise.
33674 * io/lockf64.c: Likewise.
33675 * libio/libioP.h: Likewise.
33676 * resolv/gai_notify.c: Likewise.
33677 * resolv/ns_name.c: Likewise.
33678 * resolv/ns_samedomain.c: Likewise.
33679 * resolv/res_send.c: Likewise.
33680 * stdlib/random.c: Likewise.
33681 * sunrpc/rpc/xdr.h: Likewise.
33682 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33683 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33685 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33687 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33689 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33690 * sysdeps/mach/hurd/check_fds.c: Likewise.
33691 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33692 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33695 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33696 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33697 * sysdeps/pthread/aio_notify.c: Likewise.
33698 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33699 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33700 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33702 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33704 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33706 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33707 version if bit_Slow_SSE4_2 is set.
33708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33709 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33711 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33714 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33715 trampoline stack frame information.
33716 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33717 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33718 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33719 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33720 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33721 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33722 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33723 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33725 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33726 interrupting a syscall and set with option SA_SIGINFO.
33728 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33731 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33732 argument is infinite.
33733 * math/s_cprojf.c (__cprojf): Likewise.
33734 * math/s_cprojl.c (__cprojl): Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33736 * math/libm-test.inc (cproj_test_data): Add more tests.
33738 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33740 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33741 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33742 size. Use __ffs to determine corresponding shift.
33744 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33745 Roland McGrath <roland@hack.frob.com>
33747 * Makefile (INSTALL): Remove trailing blank lines from output of
33750 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33752 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33753 Align 32 bit compat elf_greg to 8 bytes.
33755 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33757 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33759 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33761 * string/strcoll_l.c (coll_seq): New structure.
33762 (get_next_seq_cached): New function.
33763 (get_next_seq): New function.
33764 (do_compare): New function.
33765 (STRCOLL): Use GNU style definition. Simplify implementation
33766 by using get_next_seq, get_next_seq_cached and do_compare.
33768 2013-08-16 Florian Weimer <fweimer@redhat.com>
33772 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33774 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33776 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33777 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33778 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33780 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33781 GETDENTS_64BIT_ALIGNED.
33782 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33783 * manual/filesys.texi (Reading/Closing Directory): Document
33784 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33786 * manual/conf.texi (Limits for Files): Add portability note to
33787 NAME_MAX, PATH_MAX.
33788 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33790 2013-08-13 Andreas Schwab <schwab@suse.de>
33793 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33795 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33796 LDBL_MAX_EXP >= 16384]: Add tests for it.
33798 2013-08-12 David S. Miller <davem@davemloft.net>
33800 * version.h (RELEASE): Set to "development".
33801 (VERSION): Set to "2.18.90".
33802 * NEWS: Add 2.19 section.
33804 2013-08-03 David S. Miller <davem@davemloft.net>
33806 * po/ko.po: Update Korean translation from translation project.
33808 2013-08-01 David S. Miller <davem@davemloft.net>
33810 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33811 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33814 2013-07-30 David S. Miller <davem@davemloft.net>
33816 * po/fr.po: Update French translation from translation project.
33818 2013-07-28 David S. Miller <davem@davemloft.net>
33820 * po/cs.po: Update Czech translation from translation project.
33822 * po/sv.po: Update Swedish translation from translation project.
33824 2013-07-27 David S. Miller <davem@davemloft.net>
33826 * po/eo.po: Update Esperanto translation from translation project.
33828 * po/vi.po: Update Vietnamese translation from translation project.
33830 * po/de.po: Update German translation from translation project.
33832 2013-07-26 David S. Miller <davem@davemloft.net>
33834 * po/bg.po: Update Bulgarian translation from translation project.
33836 * po/nl.po: Update Dutch translation from translation project.
33837 * po/pl.po: Update Polish translation from translation project.
33838 * po/ru.po: Update Russian translation from translation project.
33840 2013-07-24 David S. Miller <davem@davemloft.net>
33842 * po/libc.pot: Update.
33844 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33846 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33847 variable page size.
33848 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33849 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33850 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33852 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33854 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33856 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33857 Andreas Schwab <schwab@suse.de>
33858 Roland McGrath <roland@hack.frob.com>
33859 Joseph Myers <joseph@codesourcery.com>
33860 Carlos O'Donell <carlos@redhat.com>
33863 * config.h.in: Define HAVE_PT_CHOWN.
33864 * config.make.in (build-pt-chown): New variable.
33865 * configure.in (--enable-pt_chown): New configure option.
33866 * configure: Regenerate.
33867 * login/Makefile: Include Makeconfig. Build pt_chown only if
33868 build-pt-chown is enabled.
33869 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33870 pt_chown to fix pty ownership.
33871 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33873 * manual/install.texi (Configuring and compiling): Mention
33874 --enable-pt_chown. Add @findex for grantpt.
33875 * INSTALL: Regenerate.
33877 2013-07-20 David S. Miller <davem@davemloft.net>
33879 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33880 difference between 32-bit and 64-bit.
33882 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33885 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33886 Avoid system header dependency with -ffreestanding.
33887 ($(objpfx)bits/syscall%d): Likewise.
33889 2013-07-13 David S. Miller <davem@davemloft.net>
33891 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33892 underflows from atanl/atan2l due to bug 15319.
33893 (casinh_test_data): Likewise.
33895 2013-07-07 David S. Miller <davem@davemloft.net>
33897 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33899 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33901 * sysdeps/i386/fpu/libm-test-ulps: Update.
33902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33904 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33906 * configure.in (--enable-lock-elision): Fix message text.
33907 * INSTALL: Regenerate.
33908 * configure: Regenerate.
33910 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33914 2013-07-03 Andreas Jaeger <aj@suse.de>
33916 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33918 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33919 (ptrace_peeksiginfo_args): Add.
33920 (__ptrace_peeksiginfo_flags): Add.
33921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33925 2013-07-03 Allan McRae <allan@archlinux.org>
33927 * sysdeps/i386/fpu/libm-test-ulps: Update.
33929 2013-07-02 David S. Miller <davem@davemloft.net>
33931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33933 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33937 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33939 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33942 2013-07-02 Andi Kleen <ak@linux.intel.com>
33944 * config.h.in (ENABLE_LOCK_ELISION): Add.
33945 * configure.in (--enable-lock-elision): Add option.
33946 * manual/install.texi: Document --enable lock elision.
33947 * configure: Regenerate
33948 * INSTALL: Regenerate.
33950 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33952 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33953 SSE4.2 strcasecmp for libc.a.
33954 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33956 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33959 * soft-fp/op-common.h (_FP_FMA): New macro.
33960 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33961 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33962 (_FP_MUL_MEAT_1_imm): ... here.
33963 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33964 (_FP_MUL_MEAT_1_wide): ... here.
33965 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33966 (_FP_MUL_MEAT_1_hard): ... here.
33967 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33968 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33969 (_FP_MUL_MEAT_2_wide): ... here.
33970 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33971 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33972 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33973 (_FP_MUL_MEAT_2_gmp): ... here.
33974 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33975 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33976 (_FP_MUL_MEAT_4_wide): ... here.
33977 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33978 (_FP_MUL_MEAT_4_gmp): ... here.
33979 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33980 (_FP_WFRACBITS_DW_S): Likewise.
33981 (_FP_WFRACXBITS_DW_S): Likewise.
33982 (_FP_HIGHBIT_DW_S): Likewise.
33983 (FP_FMA_S): Likewise.
33984 (_FP_FRAC_HIGH_DW_S): Likewise.
33985 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33986 (_FP_WFRACBITS_DW_D): Likewise.
33987 (_FP_WFRACXBITS_DW_D): Likewise.
33988 (_FP_HIGHBIT_DW_D): Likewise.
33989 (FP_FMA_D): Likewise.
33990 (_FP_FRAC_HIGH_DW_D): Likewise.
33991 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33992 (_FP_WFRACBITS_DW_E): Likewise.
33993 (_FP_WFRACXBITS_DW_E): Likewise.
33994 (_FP_HIGHBIT_DW_E): Likewise.
33995 (FP_FMA_E): Likewise.
33996 (_FP_FRAC_HIGH_DW_E): Likewise.
33997 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33998 (_FP_WFRACBITS_DW_Q): Likewise.
33999 (_FP_WFRACXBITS_DW_Q): Likewise.
34000 (_FP_HIGHBIT_DW_Q): Likewise.
34001 (FP_FMA_Q): Likewise.
34002 (_FP_FRAC_HIGH_DW_Q): Likewise.
34003 * soft-fp/fmasf4.c: New file.
34004 * soft-fp/fmadf4.c: Likewise.
34005 * soft-fp/fmatf4.c: Likewise.
34007 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34010 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34014 (index_Slow_SSE4_2): Likewise.
34015 (index_Prefer_PMINUB_for_stringop): Likewise.
34016 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34017 bit_Slow_SSE4_2 is set.
34018 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34021 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34023 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34024 rtld_global._dl_hwcap2.
34025 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34027 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34028 POWER8 feature descriptions defined in _dl_hwcap2.
34029 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34030 string handling for POWER8 feature bits.
34031 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34032 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34033 _dl_powerpc_cap_flags.
34034 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34035 * sysdeps/powerpc/rtld-global-offsets.sym
34036 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34037 _dl_hwcap2 in the rtld_global_ro structure.
34039 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34041 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34042 hardware capabilities in support of AT_HWCAP2.
34043 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34044 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34046 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34047 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34048 explicitly the unknown a_type display mechanism is used.
34049 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34050 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34052 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34053 to macro prototype for AT_HWCAP2 support.
34054 * sysdeps/i386/dl-procinfo.h: Likewise.
34055 * sysdeps/s390/dl-procinfo.h: Likewise.
34056 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34057 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34058 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34059 return -1 for unknown a_type display fallback.
34060 * sysdeps/sparc/dl-procinfo.h: Likewise.
34061 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34062 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34064 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34066 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34067 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34069 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34072 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34073 mprotect making __stack_prot writable.
34075 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34076 Joseph Myers <joseph@codesourcery.com>
34078 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34079 as being properly aligned.
34081 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34083 * dlfcn/modstatic5.c: New file.
34084 * dlfcn/tststatic5.c: New file.
34085 * dlfcn/Makefile (tests): Add tststatic5.
34086 (tests-static): Likewise.
34087 (modules-names): Add modstatic5.
34088 (tststatic5-ENV): New variable.
34089 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34092 * elf/dl-support.c (_dl_main_map): New variable.
34093 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34094 (_dl_nns, _dl_load_adds): Set to 1.
34095 (_dl_initial_searchlist): Refer to _dl_main_map.
34096 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34097 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34098 call to _dl_get_origin.
34099 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34101 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34102 * dlfcn/modstatic3.c: New file.
34103 * dlfcn/tststatic3.c: New file.
34104 * dlfcn/tststatic4.c: New file.
34105 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34106 (tests-static): Likewise.
34107 (modules-names): Add modstatic3.
34108 (tststatic3-ENV, tststatic4-ENV): New variables.
34109 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34110 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34112 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34114 * configure.in (CC): Require GCC version 4.4 or later.
34115 * configure: Regenerated.
34116 * manual/install.texi (Tools for Compilation): Update GCC version
34118 * INSTALL: Regenerated.
34120 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34123 * string/test-memcmp.c (check2): New.
34124 (main): Call check2.
34126 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34128 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34131 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34133 (dl_open_worker) [!SHARED]: ... here.
34135 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34137 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34139 2013-06-25 Richard Henderson <rth@redhat.com>
34141 * locale/programs/locarchive.c: Include <libc-internal.h>
34143 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34145 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34146 trailing whitespace removed.
34148 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34151 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34152 * locale/programs/locarchive.c: Include libc-mmap.h.
34153 (prepare_address_space): Take two new outputs (the mmap base and len).
34154 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34156 (create_archive): Declare new mmap base and len values for
34157 prepare_address_space, and store the result in ah.
34158 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34159 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34160 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34161 Declare new mmap base and len values for
34162 prepare_address_space, and store the result in new_ah.
34163 (open_archive): Declare new mmap base and len values for
34164 prepare_address_space, and store the result in ah.
34165 (close_archive): If ah->mmap_base is not NULL, use that and
34166 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34167 * sysdeps/generic/libc-mmap.h: New file.
34169 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34171 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34172 (ALIGN_UP): Likewise.
34173 (PTR_ALIGN_DOWN): Likewise.
34174 (PTR_ALIGN_UP): Likewise.
34176 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34178 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34179 entry mapped to PPC_PLATFORM_POWER8.
34180 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34182 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34183 (_dl_string_platform): Add case for exporting platform position for
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34186 search path to sysdeps/powerpc/powerpc32/power8 directory.
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34188 search path to sysdeps/powerpc/powerpc64/power8 directory.
34189 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34190 power7 directories.
34191 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34192 power7 directories.
34194 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34196 * INSTALL: Regenerate.
34198 * nscd/connections.c (nscd_init): Fix comment.
34200 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34202 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34205 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34206 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34208 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34210 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34212 (DL_DST_REQ_STATIC): Remove macro.
34214 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34217 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34218 with a shift of 0 bits.
34220 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34222 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34225 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34228 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34230 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34232 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34233 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34234 accepts -fno-tree-loop-distribute-patterns.
34235 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34236 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34238 * string/memset.c (memset): Likewise.
34239 * string/test-memmove.c (simple_memmove): Disable loop transformation
34241 * string/test-memset.c (simple_memset): Likewise.
34242 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34243 * benchtests/bench-memset.c (simple_memset): Likewise.
34244 * configure: Regenerated.
34246 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34248 * math/test-misc.c (main): Ignore fesetround failure when failures
34249 of subsequent rounding tests would be ignored.
34252 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34253 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34254 * math/fegetenv.c (__fegetenv): Return 0.
34255 * math/fegetexcept.c (fegetexcept): Return 0.
34256 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34258 * math/feholdexcpt.c (feholdexcept): Return 0.
34259 * math/fesetenv.c (__fesetenv): Return 0.
34260 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34261 argument FE_TONEAREST.
34262 * math/feupdateenv.c (__feupdateenv): Return 0.
34263 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34265 2013-06-18 Roland McGrath <roland@hack.frob.com>
34267 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34268 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34269 ($(objpfx)rtld-%.os rules): Use them.
34271 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34273 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34276 2013-06-17 Roland McGrath <roland@hack.frob.com>
34278 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34279 length of target pattern, then descending length of dependency pattern.
34280 * configure.in (AWK): Require gawk 3.1.2 or newer.
34281 * manual/install.texi (Tools for Compilation): Say that we do.
34282 * configure: Regenerated.
34284 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34285 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34286 * scripts/sysd-rules.awk: ... this new script.
34287 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34288 than a glob-style pattern.
34290 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34292 * math/test-misc.c (main): Do not treat incorrectly rounded
34293 conversions as failure unless ROUNDING_TESTS passes.
34295 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34298 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34299 restore exception state around main square root computation, then
34300 check for inexactness explicitly.
34302 * math/libm-test.inc (fma_test_data): Add another test.
34304 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34306 * manual/threads.texi (Non-POSIX Extensions): New document
34307 node. Document pthread_getattr_default_np and
34308 pthread_setattr_default_np.
34310 * Versions.def (libpthread): Add GLIBC_2.18.
34311 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34320 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34331 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34334 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34336 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34337 H.J. Lu <hjl.tools@gmail.com>
34340 * sysdeps/x86_64/rtld-memset.c: Remove file.
34341 * sysdeps/x86_64/rtld-memset.S: New file.
34343 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34345 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34346 (test_in_one_mode): Take arguments for whether the rounding mode
34347 is supported for each floating-point type.
34348 (do_test): Pass new arguments to test_in_one_mode using
34351 2013-06-13 Roland McGrath <roland@hack.frob.com>
34353 * posix/tst-waitid.c (do_test): Distinguish different instances of
34354 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34355 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34356 before entering the kernel for waitpid.
34358 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34360 * NEWS: Fix note on clock function precision. Text by Roland
34363 2013-06-13 Roland McGrath <roland@hack.frob.com>
34365 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34366 it into place only when and if the sanity check passes.
34368 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34370 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34371 output for whether conversion result is exact. Take argument
34372 indicating whether type is IBM long double.
34373 (round_for_all): Change need_exact field to ibm_ld.
34374 * stdlib/tst-strtod-round.c (struct exactness): New type.
34375 (struct test): Change bool ld_ok field to struct exactness exact.
34376 (TEST): Update all definitions for change to field.
34377 (tests): Regenerate array contents.
34378 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34379 field value. Check for IBM long double here.
34380 (do_test): Update calls to test_in_one_mode.
34382 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34385 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34386 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34388 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34391 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34392 generated by the compiler on loop optimizations.
34393 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34394 general definitions.
34396 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34398 * math/bug-nextafter.c: Include <math-tests.h>.
34399 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34401 * math/bug-nexttoward.c: Include <math-tests.h>.
34402 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34404 * math/test-misc.c: Include <math-tests.h>.
34405 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34408 2013-06-12 Andreas Jaeger <aj@suse.de>
34410 * po/ia.po: Update Interlingua translation from translation
34413 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34415 * include/fenv.h: Include stdbool.h.
34416 (struct rm_ctx): New structure.
34417 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34419 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34420 (SET_RESTORE_ROUNDF): Likewise.
34421 (SET_RESTORE_ROUNDL): Likewise.
34422 (SET_RESTORE_ROUND_NOEX): Likewise.
34423 (SET_RESTORE_ROUND_NOEXF): Likewise.
34424 (SET_RESTORE_ROUND_NOEXL): Likewise.
34425 (SET_RESTORE_ROUND_53BIT): Likewise.
34426 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34427 (libc_feresetround_noexf_ctx): Likewise.
34428 (libc_feresetround_noexl_ctx): Likewise.
34429 (libc_feholdsetround_53bit_ctx): Likewise.
34430 (libc_feresetround_53bit_ctx): Likewise.
34431 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34432 (libc_feholdexcept_setround_sse_ctx): New function.
34433 (libc_fesetenv_sse_ctx): Likewise.
34434 (libc_feupdateenv_sse_ctx): Likewise.
34435 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34436 (libc_feholdexcept_setround_387_ctx): Likewise.
34437 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34438 (libc_feholdsetround_387_prec_ctx): Likewise.
34439 (libc_feholdsetround_387_ctx): Likewise.
34440 (libc_feholdsetround_387_53bit_ctx): Likewise.
34441 (libc_feholdsetround_sse_ctx): Likewise.
34442 (libc_feresetround_sse_ctx): Likewise.
34443 (libc_feresetround_387_ctx): Likewise.
34444 (libc_feupdateenv_387_ctx): Likewise.
34445 (libc_feholdexcept_setroundf_ctx): Define macro.
34446 (libc_fesetenvf_ctx): Likewise.
34447 (libc_feupdateenvf_ctx): Likewise.
34448 (libc_feholdsetroundf_ctx): Likewise.
34449 (libc_feresetroundf_ctx): Likewise.
34450 (libc_feholdexcept_setround_ctx): Likewise.
34451 (libc_fesetenv_ctx): Likewise.
34452 (libc_feupdateenv_ctx): Likewise.
34453 (libc_feholdsetround_ctx): Likewise.
34454 (libc_feresetround_ctx): Likewise.
34455 (libc_feholdexcept_setroundl_ctx): Likewise.
34456 (libc_feupdateenvl_ctx): Likewise.
34457 (libc_feholdsetroundl_ctx): Likewise.
34458 (libc_feresetroundl_ctx): Likewise.
34459 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34460 (libc_feresetround_53bit_ctx): Likewise.
34462 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34464 * locale/iso-639.def: Convert to UTF-8.
34466 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34468 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34469 (EXCEPTION_TESTS_double): Likewise.
34470 (EXCEPTION_TESTS_long_double): Likewise.
34471 (EXCEPTION_TESTS): Likewise.
34472 * math/libm-test.inc (test_exceptions): Only test exceptions if
34473 EXCEPTION_TESTS (FLOAT).
34475 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34477 * benchtests/Makefile (string-bench): Add strcpy_chk and
34479 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34480 * benchtests/bench-stpcpy_chk.c: New file.
34481 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34482 * benchtests/bench-strcpy_chk.c: New file.
34483 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34485 (do_test): Likewise.
34487 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34489 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34490 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34491 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34492 with tabs where appropriate.
34493 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34495 [PPC_PLATFORM_PPC440]: Likewise.
34496 [PPC_PLATFORM_PPC464]: Likewise.
34497 [PPC_PLATFORM_PPC476]: Likewise.
34498 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34499 ppc464, and ppc476 platform strings merging from ports/
34502 2013-06-11 Andreas Schwab <schwab@suse.de>
34505 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34506 (from_ucs4_idx): Regenerate.
34507 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34508 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34509 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34510 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34511 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34512 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34513 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34514 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34515 from FROM_LOOP and TO_LOOP specific macros.
34516 (BODY): Handle combining characters.
34517 * iconvdata/BIG5HKSCS.irreversible: Update.
34518 * iconvdata/BIG5HKSCS.precomposed: New file.
34519 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34521 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34523 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34525 * include/sys/time.h: Fix indentation and add copyright header.
34527 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34528 (do_test): Likewise.
34529 * string/test-memchr.c (do_one_test): Likewise.
34530 (do_test): Likewise.
34531 * string/test-memcmp.c (do_one_test): Likewise.
34532 (do_test): Likewise.
34533 * string/test-memcpy.c (do_one_test): Likewise.
34534 (do_test): Likewise.
34535 * string/test-memmem.c (do_one_test): Likewise.
34536 (do_test): Likewise.
34537 (do_random_tests): Likewise.
34538 * string/test-memmove.c (do_one_test): Likewise.
34539 (do_test): Likewise.
34540 * string/test-memset.c (do_one_test): Likewise.
34541 (do_test): Likewise.
34542 * string/test-rawmemchr.c (do_one_test): Likewise.
34543 (do_test): Likewise.
34544 * string/test-strcasecmp.c (do_one_test): Likewise.
34545 (do_test): Likewise.
34546 * string/test-strcasestr.c (do_one_test): Likewise.
34547 (do_test): Likewise.
34548 * string/test-strcat.c (do_one_test): Likewise.
34549 (do_test): Likewise.
34550 * string/test-strchr.c (do_one_test): Likewise.
34551 (do_test): Likewise.
34552 * string/test-strcmp.c (do_one_test): Likewise.
34553 (do_test): Likewise.
34554 * string/test-strcpy.c (do_one_test): Likewise.
34555 (do_test): Likewise.
34556 * string/test-string.h: Likewise.
34557 (test_init): Likewise.
34558 * string/test-strlen.c (do_one_test): Likewise.
34559 (do_test): Likewise.
34560 * string/test-strncasecmp.c (do_one_test): Likewise.
34561 (do_test): Likewise.
34562 * string/test-strncat.c (do_one_test): Likewise.
34563 (do_test): Likewise.
34564 * string/test-strncmp.c (do_one_test): Likewise.
34565 (do_test_limit): Likewise.
34566 (do_test): Likewise.
34567 * string/test-strncpy.c (do_one_test): Likewise.
34568 (do_test): Likewise.
34569 * string/test-strnlen.c (do_one_test): Likewise.
34570 (do_test): Likewise.
34571 * string/test-strpbrk.c (do_one_test): Likewise.
34572 (do_test): Likewise.
34573 * string/test-strrchr.c (do_one_test): Likewise.
34574 (do_test): Likewise.
34575 * string/test-strspn.c (do_one_test): Likewise.
34576 (do_test): Likewise.
34577 * string/test-strstr.c (do_one_test): Likewise.
34578 (do_test): Likewise.
34580 * benchtests/Makefile (string-bench): Add string benchmarks.
34581 * benchtests/bench-bcopy-ifunc.c: New file.
34582 * benchtests/bench-bcopy.c: New file.
34583 * benchtests/bench-bzero-ifunc.c: New file.
34584 * benchtests/bench-bzero.c: New file.
34585 * benchtests/bench-memccpy-ifunc.c: New file.
34586 * benchtests/bench-memccpy.c: New file.
34587 * benchtests/bench-memchr-ifunc.c: New file.
34588 * benchtests/bench-memchr.c: New file.
34589 * benchtests/bench-memcmp-ifunc.c: New file.
34590 * benchtests/bench-memcmp.c: New file.
34591 * benchtests/bench-memmem-ifunc.c: New file.
34592 * benchtests/bench-memmem.c: New file.
34593 * benchtests/bench-memmove-ifunc.c: New file.
34594 * benchtests/bench-memmove.c: New file.
34595 * benchtests/bench-mempcpy-ifunc.c: New file.
34596 * benchtests/bench-mempcpy.c: New file.
34597 * benchtests/bench-memset-ifunc.c: New file.
34598 * benchtests/bench-memset.c: New file.
34599 * benchtests/bench-rawmemchr-ifunc.c: New file.
34600 * benchtests/bench-rawmemchr.c: New file.
34601 * benchtests/bench-stpcpy-ifunc.c: New file.
34602 * benchtests/bench-stpcpy.c: New file.
34603 * benchtests/bench-stpncpy-ifunc.c: New file.
34604 * benchtests/bench-stpncpy.c: New file.
34605 * benchtests/bench-strcasecmp-ifunc.c: New file.
34606 * benchtests/bench-strcasecmp.c: New file.
34607 * benchtests/bench-strcasestr-ifunc.c: New file.
34608 * benchtests/bench-strcasestr.c: New file.
34609 * benchtests/bench-strcat-ifunc.c: New file.
34610 * benchtests/bench-strcat.c: New file.
34611 * benchtests/bench-strchr-ifunc.c: New file.
34612 * benchtests/bench-strchr.c: New file.
34613 * benchtests/bench-strchrnul-ifunc.c: New file.
34614 * benchtests/bench-strchrnul.c: New file.
34615 * benchtests/bench-strcmp-ifunc.c: New file.
34616 * benchtests/bench-strcmp.c: New file.
34617 * benchtests/bench-strcpy-ifunc.c: New file.
34618 * benchtests/bench-strcpy.c: New file.
34619 * benchtests/bench-strcspn-ifunc.c: New file.
34620 * benchtests/bench-strcspn.c: New file.
34621 * benchtests/bench-strlen-ifunc.c: New file.
34622 * benchtests/bench-strlen.c: New file.
34623 * benchtests/bench-strncasecmp-ifunc.c: New file.
34624 * benchtests/bench-strncasecmp.c: New file.
34625 * benchtests/bench-strncat-ifunc.c: New file.
34626 * benchtests/bench-strncat.c: New file.
34627 * benchtests/bench-strncmp-ifunc.c: New file.
34628 * benchtests/bench-strncmp.c: New file.
34629 * benchtests/bench-strncpy-ifunc.c: New file.
34630 * benchtests/bench-strncpy.c: New file.
34631 * benchtests/bench-strnlen-ifunc.c: New file.
34632 * benchtests/bench-strnlen.c: New file.
34633 * benchtests/bench-strpbrk-ifunc.c: New file.
34634 * benchtests/bench-strpbrk.c: New file.
34635 * benchtests/bench-strrchr-ifunc.c: New file.
34636 * benchtests/bench-strrchr.c: New file.
34637 * benchtests/bench-strspn-ifunc.c: New file.
34638 * benchtests/bench-strspn.c: New file.
34639 * benchtests/bench-strstr-ifunc.c: New file.
34640 * benchtests/bench-strstr.c: New file.
34642 * benchtests/Makefile: Disable parallel execution of targets.
34643 (string-bench): Add memcpy.
34644 (benchset): New variable to store a list of benchmark sets.
34645 (bench-func): Renamed from bench.
34646 (bench-set): New target.
34647 (bench): Depend on bench-func and bench-set.
34648 * benchtests/README: Add section on benchmark sets.
34649 * benchtests/bench-memcpy-ifunc.c: New file.
34650 * benchtests/bench-memcpy.c: New file.
34651 * benchtests/bench-string.h: New file.
34653 2013-06-11 Andreas Schwab <schwab@suse.de>
34656 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34657 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34658 values in the triple.
34659 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34660 terminator in the group key.
34662 2013-06-11 Andreas Jaeger <aj@suse.de>
34664 * po/zh_TW.po: Update Chinese (traditional) translation from
34665 translation project.
34667 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34669 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34670 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34671 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34672 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34673 (clock_getcpuclockid): Likewise.
34674 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34675 Add weak_alias and libc_hidden_def.
34676 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34677 * rt/clock_gettime.c (clock_gettime): Rename to
34678 __clock_gettime. Add weak_alias and libc_hidden_def.
34679 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34680 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34681 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34682 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34683 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34685 * rt/clock_settime.c (clock_settime): Rename to
34686 __clock_settime. Add weak_alias and libc_hidden_def.
34687 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34689 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34691 * mach/err_boot.sub: Remove trailing whitespace.
34692 * mach/err_ipc.sub: Likewise.
34693 * mach/err_mach.sub: Likewise.
34695 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34696 (ROUNDING_TESTS_double): Likewise.
34697 (ROUNDING_TESTS_long_double): Likewise.
34698 (ROUNDING_TESTS): Likewise.
34699 * math/libm-test.inc: Include <math-tests.h>.
34700 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34701 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34702 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34703 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34705 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34707 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34710 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34712 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34713 otherwise empty TRANS lines.
34714 * sysdeps/gnu/errlist.c: Regenerated.
34716 * catgets/gencat.c (error_print): Use (void) in function
34718 * crypt/crypt_util.c (__init_des): Likewise.
34719 * crypt/speeds.c (Stop): Likewise.
34721 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34722 * inet/ruserpass.c (token): Likewise.
34723 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34724 * intl/localealias.c (extend_alias_table): Likewise.
34725 * intl/plural-exp.c (init_germanic_plural): Likewise.
34726 * libio/fcloseall.c (__fcloseall): Likewise.
34727 * libio/genops.c (_IO_flush_all): Likewise.
34728 (_IO_flush_all_linebuffered): Likewise.
34729 (_IO_cleanup): Likewise.
34730 (_IO_iter_begin): Likewise.
34731 (_IO_iter_end): Likewise.
34732 (_IO_list_lock): Likewise.
34733 (_IO_list_unlock): Likewise.
34734 (_IO_list_resetlock): Likewise.
34735 * libio/getchar.c (getchar): Likewise.
34736 * libio/getchar_u.c (getchar_unlocked): Likewise.
34737 * libio/getwchar.c (getwchar): Likewise.
34738 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34739 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34740 * login/getpt.c (__getpt): Likewise.
34741 * login/tst-utmp.c (main): Likewise.
34742 * malloc/hooks.c (__malloc_check_init): Likewise.
34743 * malloc/malloc.c (__malloc_stats): Likewise.
34744 * malloc/mtrace.c (tr_break): Likewise.
34745 (mtrace): Likewise.
34746 (muntrace): Likewise.
34747 * misc/fstab.c (endfsent): Likewise.
34748 * misc/getclktck.c (__getclktck): Likewise.
34749 * misc/getdtsz.c (__getdtablesize): Likewise.
34750 * misc/gethostid.c (gethostid): Likewise.
34751 * misc/getpagesize.c (__getpagesize): Likewise.
34752 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34753 (__get_nprocs): Likewise.
34754 (__get_phys_pages): Likewise.
34755 (__get_avphys_pages): Likewise.
34756 * misc/getttyent.c (getttyent): Likewise.
34757 (setttyent): Likewise.
34758 (endttyent): Likewise.
34759 * misc/getusershell.c (getusershell): Likewise.
34760 (endusershell): Likewise.
34761 (setusershell): Likewise.
34762 (initshells): Likewise.
34763 * misc/hsearch.c (__hdestroy): Likewise.
34764 * misc/sync.c (sync): Likewise.
34765 * misc/syslog.c (closelog_internal): Likewise.
34766 (closelog): Likewise.
34767 * misc/ttyslot.c (ttyslot): Likewise.
34768 * misc/vhangup.c (vhangup): Likewise.
34769 * posix/fork.c (__fork): Likewise.
34770 * posix/getegid.c (__getegid): Likewise.
34771 * posix/geteuid.c (__geteuid): Likewise.
34772 * posix/getgid.c (__getgid): Likewise.
34773 * posix/getpid.c (__getpid): Likewise.
34774 * posix/getppid.c (__getppid): Likewise.
34775 * posix/getuid.c (__getuid): Likewise.
34776 * posix/pause.c (pause): Likewise.
34777 * posix/setpgrp.c (setpgrp): Likewise.
34778 * posix/setsid.c (__setsid): Likewise.
34779 * posix/test-vfork.c (noop): Likewise.
34780 * resolv/gethnamaddr.c (_endhtent): Likewise.
34781 (_gethtent): Likewise.
34782 (ht_endhostent): Likewise.
34783 (gethostent): Likewise.
34784 (dns_service): Likewise.
34785 * stdlib/drand48.c (drand48): Likewise.
34786 * stdlib/lrand48.c (lrand48): Likewise.
34787 * stdlib/mrand48.c (mrand48): Likewise.
34788 * stdlib/rand.c (rand): Likewise.
34789 * stdlib/random.c (__random): Likewise.
34790 * stdlib/setenv.c (clearenv): Likewise.
34791 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34792 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34793 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34794 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34795 (__get_nprocs): Likewise.
34796 (__get_phys_pages): Likewise.
34797 (__get_avphys_pages): Likewise.
34798 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34799 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34800 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34801 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34802 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34803 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34804 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34805 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34806 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34807 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34808 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34809 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34810 * sysdeps/posix/clock.c (clock): Likewise.
34811 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34812 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34813 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34814 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34815 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34816 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34817 (__get_nprocs_conf): Likewise.
34818 (__get_phys_pages): Likewise.
34819 (__get_avphys_pages): Likewise.
34820 * time/clock.c (clock): Likewise.
34821 * time/tzset.c (__tzname_max): Likewise.
34823 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34825 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34826 (__bswap_32): Do not use "register".
34827 * crypt/crypt.c (_ufc_doit_r): Likewise.
34828 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34829 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34830 * gmon/gmon.c (__monstartup): Likewise.
34831 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34832 * hurd/hurdmalloc.c (more_memory): Likewise.
34833 (malloc): Likewise.
34835 (realloc): Likewise.
34836 (malloc_fork_prepare): Likewise.
34837 (malloc_fork_parent): Likewise.
34838 (malloc_fork_child): Likewise.
34839 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34840 (_svcauth_des): Likewise.
34841 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34842 * inet/inet_net.c (inet_network): Likewise.
34843 * inet/inet_netof.c (inet_netof): Likewise.
34844 * inet/rcmd.c (__validuser2_sa): Likewise.
34845 * io/fts.c (fts_open): Likewise.
34846 (fts_load): Likewise.
34847 (fts_close): Likewise.
34848 (fts_read): Likewise.
34849 (fts_children): Likewise.
34850 (fts_build): Likewise.
34851 (fts_stat): Likewise.
34852 (fts_sort): Likewise.
34853 (fts_alloc): Likewise.
34854 (fts_lfree): Likewise.
34855 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34856 (_IO_file_xsgetn): Likewise.
34857 (_IO_file_xsgetn_mmap): Likewise.
34858 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34859 (_IO_cookie_write): Likewise.
34860 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34861 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34862 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34863 * malloc/obstack.c (_obstack_begin): Likewise.
34864 (_obstack_begin_1): Likewise.
34865 (_obstack_newchunk): Likewise.
34866 (_obstack_allocated_p): Likewise.
34867 (obstack_free): Likewise.
34868 (_obstack_memory_used): Likewise.
34869 * misc/getttyent.c (getttynam): Likewise.
34870 (getttyent): Likewise.
34873 * misc/getusershell.c (initshells): Likewise.
34874 * misc/syslog.c (__vsyslog_chk): Likewise.
34875 * misc/ttyslot.c (ttyslot): Likewise.
34876 * nis/nis_hash.c (__nis_hash): Likewise.
34877 * posix/fnmatch_loop.c (FCT): Likewise.
34878 * posix/getconf.c (print_all): Likewise.
34880 * posix/getopt.c (exchange): Likewise.
34881 * posix/glob.c (globfree): Likewise.
34882 (prefix_array): Likewise.
34883 (__glob_pattern_type): Likewise.
34884 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34885 (NS_GET32): Likewise.
34886 (NS_PUT16): Likewise.
34887 (NS_PUT32): Likewise.
34888 * resolv/gethnamaddr.c (getanswer): Likewise.
34889 (gethostbyname2): Likewise.
34890 (gethostbyaddr): Likewise.
34891 (_gethtent): Likewise.
34892 (_gethtbyname2): Likewise.
34893 (_gethtbyaddr): Likewise.
34894 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34895 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34896 * resolv/res_init.c (__res_vinit): Likewise.
34897 (net_mask): Likewise.
34898 * resolv/res_mkquery.c (outchar): Likewise.
34900 * stdio-common/printf_fp.c (outchar): Likewise.
34902 * stdio-common/printf_fphex.c (outchar): Likewise.
34904 * stdio-common/printf_size.c (outchar): Likewise.
34906 * stdio-common/test_rdwr.c (main): Likewise.
34907 * stdio-common/tfformat.c (matches): Likewise.
34908 * stdio-common/vfprintf.c (outchar): Likewise.
34909 (printf_unknown): Likewise.
34910 (buffered_vfprintf): Likewise.
34911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34912 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34913 (ReadFile): Likewise.
34914 * stdlib/qsort.c (SWAP): Likewise.
34915 (_quicksort): Likewise.
34916 * stdlib/setenv.c (__add_to_environ): Likewise.
34917 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34918 * stdlib/strtol_l.c (__strtol_l): Likewise.
34919 * stdlib/tst-strtod.c (main): Likewise.
34920 * stdlib/tst-strtol.c (main): Likewise.
34921 * stdlib/tst-strtoll.c (main): Likewise.
34922 * string/bits/string2.h (__strcmp_cc): Likewise.
34923 (__strcmp_cg): Likewise.
34924 (__strcspn_c1): Likewise.
34925 (__strcspn_c2): Likewise.
34926 (__strcspn_c3): Likewise.
34927 (__strspn_c1): Likewise.
34928 (__strspn_c2): Likewise.
34929 (__strspn_c3): Likewise.
34930 (__strsep_1c): Likewise.
34931 (__strsep_2c): Likewise.
34932 (__strsep_3c): Likewise.
34933 * string/memccpy.c (__memccpy): Likewise.
34934 * string/stpcpy.c (__stpcpy): Likewise.
34935 * string/strcmp.c (strcmp): Likewise.
34936 * string/strrchr.c (strrchr): Likewise.
34937 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34939 * sysdeps/mach/hurd/getcwd.c
34940 (_hurd_canonicalize_directory_name_internal): Likewise.
34941 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34942 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34943 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34944 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34945 Likewise, in both definitions.
34946 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34948 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34949 64] (__bswap_64): Likewise.
34950 * time/test_time.c (main): Likewise.
34951 * time/tzfile.c (__tzfile_read): Likewise.
34952 (__tzfile_compute): Likewise.
34953 * time/tzset.c (__tzset_parse_tz): Likewise.
34954 (tzset_internal): Likewise.
34955 (compute_change): Likewise.
34956 * wcsmbs/wcscat.c (__wcscat): Likewise.
34957 * wcsmbs/wcschr.c (wcschr): Likewise.
34958 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34959 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34960 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34961 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34962 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34963 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34964 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34965 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34966 * wcsmbs/wmemset.c (wmemset): Likewise.
34968 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34970 * scripts/config.guess: Update to version 2013-05-16.
34971 * scripts/config.sub: Update to version 2013-04-24.
34972 * scripts/install-sh: Update to version 2011-11-20.07.
34973 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34974 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34976 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34978 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34979 * elf/sln.c: Likewise.
34980 * hurd/hurd/ioctl.h: Likewise.
34981 * hurd/hurdmalloc.c: Likewise.
34982 * hurd/xattr.c: Likewise.
34983 * include/shlib-compat.h: Likewise.
34984 * inet/ruserpass.c: Likewise.
34985 * libio/iofgets_u.c: Likewise.
34986 * libio/iofgetws_u.c: Likewise.
34987 * locale/programs/ld-identification.c: Likewise.
34988 * locale/programs/ld-time.c: Likewise.
34989 * mach/msg-destroy.c: Likewise.
34990 * nss/nss_files/files-netgrp.c: Likewise.
34991 * resolv/res_data.c: Likewise.
34992 * soft-fp/op-1.h: Likewise.
34993 * soft-fp/op-2.h: Likewise.
34994 * soft-fp/op-4.h: Likewise.
34995 * soft-fp/op-common.h: Likewise.
34996 * stdio-common/printf_fphex.c: Likewise.
34997 * stdlib/strtod_l.c: Likewise.
34998 * sunrpc/rpc/clnt.h: Likewise.
34999 * sysdeps/generic/framestate.c: Likewise.
35000 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35001 * sysdeps/i386/bsd-setjmp.S: Likewise.
35002 * sysdeps/i386/__longjmp.S: Likewise.
35003 * sysdeps/i386/setjmp.S: Likewise.
35004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35005 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35006 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35007 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35009 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35012 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35013 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35014 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35015 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35016 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35017 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35020 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35021 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35022 * sysdeps/ieee754/support.c: Likewise.
35023 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35024 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35025 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35026 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35027 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35028 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35029 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35030 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35031 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35032 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35033 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35034 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35035 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35036 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35037 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35038 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35039 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35042 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35044 * posix/transbug.c: Remove executable mode.
35046 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35048 * crypt/speeds.c: Remove trailing whitespace.
35049 * dlfcn/default.c: Likewise.
35050 * elf/ifuncdep2.c: Likewise.
35051 * elf/ifuncmain1.c: Likewise.
35052 * elf/ifuncmain1vis.c: Likewise.
35053 * elf/testobj.h: Likewise.
35054 * elf/tst-stackguard1.c: Likewise.
35055 * gmon/sys/gmon.h: Likewise.
35056 * hurd/hurdmsg.c: Likewise.
35057 * hurd/new-fd.c: Likewise.
35058 * hurd/ports-get.c: Likewise.
35059 * iconvdata/ibm1008_420.c: Likewise.
35060 * inet/tst-getni1.c: Likewise.
35061 * inet/tst-getni2.c: Likewise.
35062 * libio/ioungetc.c: Likewise.
35063 * libio/wfiledoalloc.c: Likewise.
35064 * manual/libm-err-tab.pl: Likewise.
35065 * math/w_dremf.c: Likewise.
35066 * misc/ftruncate.c: Likewise.
35067 * posix/bug-glob2.c: Likewise.
35068 * posix/tst-pcre.c: Likewise.
35069 * posix/wait4.c: Likewise.
35070 * resolv/README: Likewise.
35071 * resolv/res_debug.h: Likewise.
35072 * resolv/tst-inet_ntop.c: Likewise.
35073 * setjmp/bug269-setjmp.c: Likewise.
35074 * soft-fp/extended.h: Likewise.
35075 * soft-fp/op-1.h: Likewise.
35076 * soft-fp/op-2.h: Likewise.
35077 * soft-fp/op-4.h: Likewise.
35078 * soft-fp/op-8.h: Likewise.
35079 * soft-fp/testit.c: Likewise.
35080 * stdio-common/bug16.c: Likewise.
35081 * stdlib/random.c: Likewise.
35082 * sunrpc/rpcsvc/rquota.x: Likewise.
35083 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35084 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35089 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35090 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35091 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35092 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35093 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35112 * sysdeps/ieee754/s_lib_version.c: Likewise.
35113 * sysdeps/mach/hurd/check_fds.c: Likewise.
35114 * sysdeps/mach/hurd/getsockname.c: Likewise.
35115 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35116 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35117 * sysdeps/powerpc/bits/link.h: Likewise.
35118 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35119 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35120 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35121 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35122 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35123 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35124 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35125 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35126 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35127 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35128 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35129 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35130 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35131 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35132 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35133 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35134 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35135 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35136 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35137 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35138 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35139 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35140 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35141 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35142 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35143 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35144 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35145 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35146 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35147 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35148 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35149 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35151 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35152 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35153 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35154 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35155 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35156 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35157 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35158 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35159 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35160 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35161 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35162 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35163 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35164 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35165 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35166 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35167 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35170 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35171 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35172 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35173 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35174 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35175 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35176 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35177 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35178 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35179 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35180 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35181 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35182 * sysdeps/powerpc/sysdep.h: Likewise.
35183 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35184 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35185 * sysdeps/sh/dl-trampoline.S: Likewise.
35186 * sysdeps/sh/memset.S: Likewise.
35187 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35188 * sysdeps/sh/strlen.S: Likewise.
35189 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35190 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35191 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35192 * sysdeps/sparc/sparc32/rem.S: Likewise.
35193 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35194 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35195 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35196 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35197 * sysdeps/sparc/sparc32/urem.S: Likewise.
35198 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35199 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35200 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35201 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35203 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35204 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35205 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35206 * sysdeps/unix/bsd/times.c: Likewise.
35207 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35208 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35212 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35213 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35214 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35215 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35216 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35217 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35218 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35219 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35220 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35221 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35222 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35223 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35224 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35225 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35226 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35227 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35228 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35229 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35230 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35231 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35232 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35233 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35234 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35235 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35236 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35237 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35238 * sysdeps/x86_64/strcspn.S: Likewise.
35240 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35242 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35243 generated file. Regenerate properly from gen-translit.pl.
35244 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35245 locale/C-translit.h.
35247 2013-06-05 Andreas Schwab <schwab@suse.de>
35250 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35251 week as 6 instead of -1.
35252 * time/tst-strptime.c (day_tests): Add test case.
35254 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35256 * sysdeps/generic/math_private.h
35257 (libc_feholdexcept_setround_53bit): Replace with
35258 libc_feholdsetround_53bit.
35259 (libc_feupdateenv_53bit): Replace with
35260 libc_feresetround_53bit.
35261 (SET_RESTORE_ROUND_53BIT): Adjust.
35263 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35265 * string/test-strchrnul.c: Add copyright header.
35267 * posix/tst-getaddrinfo4.c: Increase test timeout.
35269 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35272 * math/libm-test.inc (MAX_EXP): Remove
35274 (ulp): Use MIN_EXP - MANT_DIG.
35275 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35277 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35279 * po/be.po: Revert last change.
35280 * po/zh_CN.po: Likewise.
35281 * po/header.pot: Likewise.
35283 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35285 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35286 link-libc-deps to empty as target-specific variable.
35287 * Makerules (link-libc-args): New variable.
35288 (libc-for-link): Likewise.
35289 (link-libc-deps): Likewise.
35290 (lib%.so): Depend on $(link-libc-deps). Link with
35292 (build-module): Link with $(link-libc-args).
35293 (build-module-asneeded): Likewise.
35294 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35296 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35297 target-specific variable.
35298 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35299 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35300 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35302 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35304 ($(objpfx)libpcprofile.so): Likewise.
35305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35307 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35308 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35309 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35311 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35312 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35313 * login/Makefile ($(objpfx)libutil.so): Likewise.
35314 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35315 * math/Makefile ($(objpfx)libm.so): Likewise.
35316 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35317 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35318 variable instead of depending directly on libc.
35319 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35320 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35322 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35324 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35325 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35326 ($(objpfx)libanl.so): Likewise.
35327 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35329 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35331 * sysdeps/i386/fpu/Makefile: Remove file.
35332 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35333 ($(objpfx)libm.so): Remove dependency on ld.so.
35335 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35338 * nis/yp_xdr.c (XDRMAXNAME): Define.
35339 (XDRMAXRECORD): Define.
35340 (xdr_domainname): Use XDRMAXNAME.
35341 (xdr_mapname): Likewise.
35342 (xdr_peername): Likewise.
35343 (xdr_keydat): Use XDRMAXRECORD.
35344 (xdr_valdat): Likewise.
35346 2013-05-30 Jeff Law <law@redhat.com>
35349 * manual/errno.texi (ESTALE): Update to account for more than
35350 just NFS file systems.
35351 * sysdeps/gnu/errlist.c: Regenerated.
35353 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35356 * elf/Makefile (tests): Add tst-null-argv.
35357 (modules-names): Add tst-null-argv-lib.
35358 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35359 (tst-null-argv-ENV): Set environment for tst-null-argv.
35360 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35361 (RTLD_PROGNAME): New macro.
35362 * elf/tst-null-argv.c: New test case.
35363 * elf/tst-null-argv-lib.c: Library for test case.
35364 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35365 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35366 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35367 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35368 * elf/dl-init.c (call_init): Likewise.
35369 (_dl_init): Likewise.
35370 * elf/dl-load.c (print_search_path): Likewise.
35371 (_dl_map_object): Likewise.
35372 * elf/dl-lookup.c (do_lookup_x): Likewise.
35373 (add_dependency): Likewise.
35374 (_dl_lookup_symbol_x): Likewise.
35375 (_dl_debug_bindings): Likewise.
35376 * elf/dl-open.c (_dl_show_scope): Likewise.
35377 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35378 * elf/dl-version.c (match_symbol): Likewise.
35379 (_dl_check_map_versions): Likewise.
35380 * elf/rtld.c (dl_main): Likewise.
35381 (print_unresolved): Use RTLD_PROGNAME.
35382 (print_missing_version): Likewise.
35383 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35384 (elf_machine_rela): Likewise.
35385 * sysdeps/powerpc/powerpc32/dl-machine.c
35386 (__process_machine_rela): Likewise.
35387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35391 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35393 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35396 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35400 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35402 * po/be.po: Add descriptive title.
35403 * po/zh_CN.po: Likewise.
35404 * po/header.pot: Likewise.
35406 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35408 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35410 (enlarge_archive): Likewise.
35412 2013-05-28 Ben North <ben@redfrontdoor.org>
35414 * manual/arith.texi (frexp): It is the magnitude of the return
35415 value which lies in [0.5, 1), not the return value itself.
35417 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35421 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35423 * stdio-common/bug26.c (main): Correct fscanf template.
35425 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35426 declare _dl_skip_args.
35428 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35431 * manual/platform.texi: Add missing @end deftypefun.
35433 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35436 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35437 bit of mantissa of 2^16382.
35438 * math/libm-test.inc (hypot_test_data): Add more tests.
35440 * math/libm-test.inc: Add drem and pow10 to list of tested
35442 (pow10_test): New function.
35443 (drem_test): Likewise.
35444 (drem_test_tonearest): Likewise.
35445 (drem_test_towardzero): Likewise.
35446 (drem_test_downward): Likewise.
35447 (drem_test_upward): Likewise.
35448 (main): Call the new functions.
35450 * math/libm-test.inc (finite_test_data): Remove.
35451 (finite_test): Run tests from isfinite_test_data.
35452 (gamma_test_data): Remove.
35453 (gamma_test): Run tests from lgamma_test_data.
35454 * sysdeps/i386/fpu/libm-test-ulps: Update.
35455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35457 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35459 * manual/platform.texi: Add PowerPC PPR function set documentation.
35460 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35463 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35465 * math/libm-test.inc (MAX_EXP): Define.
35467 (ulp): New function.
35468 (check_float_internal): Use ULPDIFF.
35469 (cpow_test): Disable failing test.
35470 (check_ulp): Test ulp() implemetnation.
35471 (main): Call check_ulp before starting tests.
35473 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35475 * math/gen-libm-test.pl (generate_testfile): Do not handle
35476 START_DATA and END_DATA.
35477 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35479 (acos_tonearest_test_data): Likewise.
35480 (acos_towardzero_test_data): Likewise.
35481 (acos_downward_test_data): Likewise.
35482 (acos_upward_test_data): Likewise.
35483 (acosh_test_data): Likewise.
35484 (asin_test_data): Likewise.
35485 (asin_tonearest_test_data): Likewise.
35486 (asin_towardzero_test_data): Likewise.
35487 (asin_downward_test_data): Likewise.
35488 (asin_upward_test_data): Likewise.
35489 (asinh_test_data): Likewise.
35490 (atan_test_data): Likewise.
35491 (atanh_test_data): Likewise.
35492 (atan2_test_data): Likewise.
35493 (cabs_test_data): Likewise.
35494 (cacos_test_data): Likewise.
35495 (cacosh_test_data): Likewise.
35496 (carg_test_data): Likewise.
35497 (casin_test_data): Likewise.
35498 (casinh_test_data): Likewise.
35499 (catan_test_data): Likewise.
35500 (catanh_test_data): Likewise.
35501 (cbrt_test_data): Likewise.
35502 (ccos_test_data): Likewise.
35503 (ccosh_test_data): Likewise.
35504 (ceil_test_data): Likewise.
35505 (cexp_test_data): Likewise.
35506 (cimag_test_data): Likewise.
35507 (clog_test_data): Likewise.
35508 (clog10_test_data): Likewise.
35509 (conj_test_data): Likewise.
35510 (copysign_test_data): Likewise.
35511 (cos_test_data): Likewise.
35512 (cos_tonearest_test_data): Likewise.
35513 (cos_towardzero_test_data): Likewise.
35514 (cos_downward_test_data): Likewise.
35515 (cos_upward_test_data): Likewise.
35516 (cosh_test_data): Likewise.
35517 (cosh_tonearest_test_data): Likewise.
35518 (cosh_towardzero_test_data): Likewise.
35519 (cosh_downward_test_data): Likewise.
35520 (cosh_upward_test_data): Likewise.
35521 (cpow_test_data): Likewise.
35522 (cproj_test_data): Likewise.
35523 (creal_test_data): Likewise.
35524 (csin_test_data): Likewise.
35525 (csinh_test_data): Likewise.
35526 (csqrt_test_data): Likewise.
35527 (ctan_test_data): Likewise.
35528 (ctan_tonearest_test_data): Likewise.
35529 (ctan_towardzero_test_data): Likewise.
35530 (ctan_downward_test_data): Likewise.
35531 (ctan_upward_test_data): Likewise.
35532 (ctanh_test_data): Likewise.
35533 (ctanh_tonearest_test_data): Likewise.
35534 (ctanh_towardzero_test_data): Likewise.
35535 (ctanh_downward_test_data): Likewise.
35536 (ctanh_upward_test_data): Likewise.
35537 (erf_test_data): Likewise.
35538 (erfc_test_data): Likewise.
35539 (exp_test_data): Likewise.
35540 (exp_tonearest_test_data): Likewise.
35541 (exp_towardzero_test_data): Likewise.
35542 (exp_downward_test_data): Likewise.
35543 (exp_upward_test_data): Likewise.
35544 (exp10_test_data): Likewise.
35545 (exp2_test_data): Likewise.
35546 (expm1_test_data): Likewise.
35547 (fabs_test_data): Likewise.
35548 (fdim_test_data): Likewise.
35549 (finite_test_data): Likewise.
35550 (floor_test_data): Likewise.
35551 (fma_test_data): Likewise.
35552 (fma_towardzero_test_data): Likewise.
35553 (fma_downward_test_data): Likewise.
35554 (fma_upward_test_data): Likewise.
35555 (fmax_test_data): Likewise.
35556 (fmin_test_data): Likewise.
35557 (fmod_test_data): Likewise.
35558 (fpclassify_test_data): Likewise.
35559 (frexp_test_data): Likewise.
35560 (gamma_test_data): Likewise.
35561 (hypot_test_data): Likewise.
35562 (ilogb_test_data): Likewise.
35563 (isfinite_test_data): Likewise.
35564 (isgreater_test_data): Likewise.
35565 (isgreaterequal_test_data): Likewise.
35566 (isinf_test_data): Likewise.
35567 (isless_test_data): Likewise.
35568 (islessequal_test_data): Likewise.
35569 (islessgreater_test_data): Likewise.
35570 (isnan_test_data): Likewise.
35571 (isnormal_test_data): Likewise.
35572 (issignaling_test_data): Likewise.
35573 (isunordered_test_data): Likewise.
35574 (j0_test_data): Likewise.
35575 (j1_test_data): Likewise.
35576 (jn_test_data): Likewise.
35577 (ldexp_test_data): Likewise.
35578 (lgamma_test_data): Likewise.
35579 (lrint_test_data): Likewise.
35580 (lrint_tonearest_test_data): Likewise.
35581 (lrint_towardzero_test_data): Likewise.
35582 (lrint_downward_test_data): Likewise.
35583 (lrint_upward_test_data): Likewise.
35584 (llrint_test_data): Likewise.
35585 (llrint_tonearest_test_data): Likewise.
35586 (llrint_towardzero_test_data): Likewise.
35587 (llrint_downward_test_data): Likewise.
35588 (llrint_upward_test_data): Likewise.
35589 (log_test_data): Likewise.
35590 (log10_test_data): Likewise.
35591 (log1p_test_data): Likewise.
35592 (log2_test_data): Likewise.
35593 (logb_test_data): Likewise.
35594 (logb_downward_test_data): Likewise.
35595 (lround_test_data): Likewise.
35596 (llround_test_data): Likewise.
35597 (modf_test_data): Likewise.
35598 (nearbyint_test_data): Likewise.
35599 (nextafter_test_data): Likewise.
35600 (nexttoward_test_data): Likewise.
35601 (pow_test_data): Likewise.
35602 (pow_tonearest_test_data): Likewise.
35603 (pow_towardzero_test_data): Likewise.
35604 (pow_downward_test_data): Likewise.
35605 (pow_upward_test_data): Likewise.
35606 (remainder_test_data): Likewise.
35607 (remainder_tonearest_test_data): Likewise.
35608 (remainder_towardzero_test_data): Likewise.
35609 (remainder_downward_test_data): Likewise.
35610 (remainder_upward_test_data): Likewise.
35611 (remquo_test_data): Likewise.
35612 (rint_test_data): Likewise.
35613 (rint_tonearest_test_data): Likewise.
35614 (rint_towardzero_test_data): Likewise.
35615 (rint_downward_test_data): Likewise.
35616 (rint_upward_test_data): Likewise.
35617 (round_test_data): Likewise.
35618 (scalb_test_data): Likewise.
35619 (scalbn_test_data): Likewise.
35620 (scalbln_test_data): Likewise.
35621 (signbit_test_data): Likewise.
35622 (sin_test_data): Likewise.
35623 (sin_tonearest_test_data): Likewise.
35624 (sin_towardzero_test_data): Likewise.
35625 (sin_downward_test_data): Likewise.
35626 (sin_upward_test_data): Likewise.
35627 (sincos_test_data): Likewise.
35628 (sinh_test_data): Likewise.
35629 (sinh_tonearest_test_data): Likewise.
35630 (sinh_towardzero_test_data): Likewise.
35631 (sinh_downward_test_data): Likewise.
35632 (sinh_upward_test_data): Likewise.
35633 (sqrt_test_data): Likewise.
35634 (tan_test_data): Likewise.
35635 (tan_tonearest_test_data): Likewise.
35636 (tan_towardzero_test_data): Likewise.
35637 (tan_downward_test_data): Likewise.
35638 (tan_upward_test_data): Likewise.
35639 (tanh_test_data): Likewise.
35640 (tgamma_test_data): Likewise.
35641 (trunc_test_data): Likewise.
35642 (y0_test_data): Likewise.
35643 (y1_test_data): Likewise.
35644 (yn_test_data): Likewise.
35645 (significand_test_data): Likewise.
35647 * math/gen-libm-test.pl (@functions): Remove variable.
35648 (generate_testfile): Don't handle START and END lines.
35649 * math/libm-test.inc (START): New macro.
35651 (END_COMPLEX): Likewise.
35652 (acos_test): Use END macro without arguments.
35653 (acos_test_tonearest): Likewise.
35654 (acos_test_towardzero): Likewise.
35655 (acos_test_downward): Likewise.
35656 (acos_test_upward): Likewise.
35657 (acosh_test): Likewise.
35658 (asin_test): Likewise.
35659 (asin_test_tonearest): Likewise.
35660 (asin_test_towardzero): Likewise.
35661 (asin_test_downward): Likewise.
35662 (asin_test_upward): Likewise.
35663 (asinh_test): Likewise.
35664 (atan_test): Likewise.
35665 (atanh_test): Likewise.
35666 (atan2_test): Likewise.
35667 (cabs_test): Likewise.
35668 (cacos_test): Use END_COMPLEX macro without arguments.
35669 (cacosh_test): Likewise.
35670 (carg_test): Use END macro without arguments.
35671 (casin_test): Use END_COMPLEX macro without arguments.
35672 (casinh_test): Likewise.
35673 (catan_test): Likewise.
35674 (catanh_test): Likewise.
35675 (cbrt_test): Use END macro without arguments.
35676 (ccos_test): Use END_COMPLEX macro without arguments.
35677 (ccosh_test): Likewise.
35678 (ceil_test): Use END macro without arguments.
35679 (cexp_test): Use END_COMPLEX macro without arguments.
35680 (cimag_test): Use END macro without arguments.
35681 (clog_test): Use END_COMPLEX macro without arguments.
35682 (clog10_test): Likewise.
35683 (conj_test): Likewise.
35684 (copysign_test): Use END macro without arguments.
35685 (cos_test): Likewise.
35686 (cos_test_tonearest): Likewise.
35687 (cos_test_towardzero): Likewise.
35688 (cos_test_downward): Likewise.
35689 (cos_test_upward): Likewise.
35690 (cosh_test): Likewise.
35691 (cosh_test_tonearest): Likewise.
35692 (cosh_test_towardzero): Likewise.
35693 (cosh_test_downward): Likewise.
35694 (cosh_test_upward): Likewise.
35695 (cpow_test): Use END_COMPLEX macro without arguments.
35696 (cproj_test): Likewise.
35697 (creal_test): Use END macro without arguments.
35698 (csin_test): Use END_COMPLEX macro without arguments.
35699 (csinh_test): Likewise.
35700 (csqrt_test): Likewise.
35701 (ctan_test): Likewise.
35702 (ctan_test_tonearest): Likewise.
35703 (ctan_test_towardzero): Likewise.
35704 (ctan_test_downward): Likewise.
35705 (ctan_test_upward): Likewise.
35706 (ctanh_test): Likewise.
35707 (ctanh_test_tonearest): Likewise.
35708 (ctanh_test_towardzero): Likewise.
35709 (ctanh_test_downward): Likewise.
35710 (ctanh_test_upward): Likewise.
35711 (erf_test): Use END macro without arguments.
35712 (erfc_test): Likewise.
35713 (exp_test): Likewise.
35714 (exp_test_tonearest): Likewise.
35715 (exp_test_towardzero): Likewise.
35716 (exp_test_downward): Likewise.
35717 (exp_test_upward): Likewise.
35718 (exp10_test): Likewise.
35719 (exp2_test): Likewise.
35720 (expm1_test): Likewise.
35721 (fabs_test): Likewise.
35722 (fdim_test): Likewise.
35723 (finite_test): Likewise.
35724 (floor_test): Likewise.
35725 (fma_test): Likewise.
35726 (fma_test_towardzero): Likewise.
35727 (fma_test_downward): Likewise.
35728 (fma_test_upward): Likewise.
35729 (fmax_test): Likewise.
35730 (fmin_test): Likewise.
35731 (fmod_test): Likewise.
35732 (fpclassify_test): Likewise.
35733 (frexp_test): Likewise.
35734 (gamma_test): Likewise.
35735 (hypot_test): Likewise.
35736 (ilogb_test): Likewise.
35737 (isfinite_test): Likewise.
35738 (isgreater_test): Likewise.
35739 (isgreaterequal_test): Likewise.
35740 (isinf_test): Likewise.
35741 (isless_test): Likewise.
35742 (islessequal_test): Likewise.
35743 (islessgreater_test): Likewise.
35744 (isnan_test): Likewise.
35745 (isnormal_test): Likewise.
35746 (issignaling_test): Likewise.
35747 (isunordered_test): Likewise.
35748 (j0_test): Likewise.
35749 (j1_test): Likewise.
35750 (jn_test): Likewise.
35751 (ldexp_test): Likewise.
35752 (lgamma_test): Likewise.
35753 (lrint_test): Likewise.
35754 (lrint_test_tonearest): Likewise.
35755 (lrint_test_towardzero): Likewise.
35756 (lrint_test_downward): Likewise.
35757 (lrint_test_upward): Likewise.
35758 (llrint_test): Likewise.
35759 (llrint_test_tonearest): Likewise.
35760 (llrint_test_towardzero): Likewise.
35761 (llrint_test_downward): Likewise.
35762 (llrint_test_upward): Likewise.
35763 (log_test): Likewise.
35764 (log10_test): Likewise.
35765 (log1p_test): Likewise.
35766 (log2_test): Likewise.
35767 (logb_test): Likewise.
35768 (logb_test_downward): Likewise.
35769 (lround_test): Likewise.
35770 (llround_test): Likewise.
35771 (modf_test): Likewise.
35772 (nearbyint_test): Likewise.
35773 (nextafter_test): Likewise.
35774 (nexttoward_test): Likewise.
35775 (pow_test): Likewise.
35776 (pow_test_tonearest): Likewise.
35777 (pow_test_towardzero): Likewise.
35778 (pow_test_downward): Likewise.
35779 (pow_test_upward): Likewise.
35780 (remainder_test): Likewise.
35781 (remainder_test_tonearest): Likewise.
35782 (remainder_test_towardzero): Likewise.
35783 (remainder_test_downward): Likewise.
35784 (remainder_test_upward): Likewise.
35785 (remquo_test): Likewise.
35786 (rint_test): Likewise.
35787 (rint_test_tonearest): Likewise.
35788 (rint_test_towardzero): Likewise.
35789 (rint_test_downward): Likewise.
35790 (rint_test_upward): Likewise.
35791 (round_test): Likewise.
35792 (scalb_test): Likewise.
35793 (scalbn_test): Likewise.
35794 (scalbln_test): Likewise.
35795 (signbit_test): Likewise.
35796 (sin_test): Likewise.
35797 (sin_test_tonearest): Likewise.
35798 (sin_test_towardzero): Likewise.
35799 (sin_test_downward): Likewise.
35800 (sin_test_upward): Likewise.
35801 (sincos_test): Likewise.
35802 (sinh_test): Likewise.
35803 (sinh_test_tonearest): Likewise.
35804 (sinh_test_towardzero): Likewise.
35805 (sinh_test_downward): Likewise.
35806 (sinh_test_upward): Likewise.
35807 (sqrt_test): Likewise.
35808 (tan_test): Likewise.
35809 (tan_test_tonearest): Likewise.
35810 (tan_test_towardzero): Likewise.
35811 (tan_test_downward): Likewise.
35812 (tan_test_upward): Likewise.
35813 (tanh_test): Likewise.
35814 (tgamma_test): Likewise.
35815 (trunc_test): Likewise.
35816 (y0_test): Likewise.
35817 (y1_test): Likewise.
35818 (yn_test): Likewise.
35819 (significand_test): Likewise.
35821 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35824 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35826 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35829 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35830 __ppc_mdoio and __ppc_mdoom.
35831 * manual/platform.texi: Document new functions __ppc_yield,
35832 __ppc_mdoio and __ppc_mdoom.
35834 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35836 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35837 (main): Mention "tls" pseudo-hwcap is legacy.
35838 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35840 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35842 * math/gen-libm-test.pl (parse_args): Output only string of
35843 arguments as text for test name, not full call or descriptions of
35844 tests for extra outputs.
35845 (generate_testfile): Do not pass function name to parse_args.
35846 Generate this_func variable from START.
35847 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35849 (struct test_ff_f_data): Likewise.
35850 (test_ff_f_data_nexttoward): Likewise.
35851 (struct test_fi_f_data): Likewise.
35852 (struct test_fl_f_data): Likewise.
35853 (struct test_if_f_data): Likewise.
35854 (struct test_fff_f_data): Likewise.
35855 (struct test_c_f_data): Likewise.
35856 (struct test_f_f1_data): Likewise. Remove field extra_name.
35857 (struct test_fF_f1_data): Likewise.
35858 (struct test_ffI_f1_data): Likewise.
35859 (struct test_c_c_data): Rename test_name field to arg_str.
35860 (struct test_cc_c_data): Likewise.
35861 (struct test_f_i_data): Likewise.
35862 (struct test_ff_i_data): Likewise.
35863 (struct test_f_l_data): Likewise.
35864 (struct test_f_L_data): Likewise.
35865 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35867 (COMMON_TEST_SETUP): New macro.
35868 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35869 (COMMON_TEST_CLEANUP): Likewise.
35870 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35871 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35873 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35874 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35876 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35877 (RUN_TEST_fff_f): Take argument string. Call new setup and
35879 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35880 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35882 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35883 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35885 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35886 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35888 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35889 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35891 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35892 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35894 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35895 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35897 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35898 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35900 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35901 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35903 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35904 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35906 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35907 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35909 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35910 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35912 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35913 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35915 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35916 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35918 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35919 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35921 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35922 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35924 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35926 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35928 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35929 to _sifields.sigfault.
35930 (si_addr_lsb): Define new macro.
35931 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35932 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35933 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35935 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35938 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35940 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35942 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35943 loading the domain.
35945 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35947 * math/gen-libm-test.pl (parse_args): Do not include expected
35948 result in test name.
35949 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35956 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35958 * benchtests/Makefile: Sort function entries.
35960 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35961 tanh, asinh, acosh, atanh.
35962 * benchtests/acos-inputs: New file.
35963 * benchtests/acosh-inputs: New file.
35964 * benchtests/asin-inputs: New file.
35965 * benchtests/asinh-inputs: New file.
35966 * benchtests/atanh-inputs: New file.
35967 * benchtests/cosh-inputs: New file.
35968 * benchtests/log-inputs: New file.
35969 * benchtests/sinh-inputs: New file.
35970 * benchtests/tanh-inputs: New file.
35972 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35975 * posix/tst-getaddrinfo4.c: New test.
35976 * posix/Makefile (tests): Add it.
35978 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35981 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35982 when no services were used.
35983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35984 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35986 2013-05-21 Andreas Schwab <schwab@suse.de>
35989 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35990 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35992 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35993 redundant variable declarations and reallocation of buffer when
35994 parsing as IPv6 address. Always set NSS status when called from
35995 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35996 buffer too small. Correct computation of needed size.
35997 * nss/Makefile (tests): Add test-digits-dots.
35998 * nss/test-digits-dots.c: New test.
36000 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36002 * benchtests/Makefile: Remove instructions for adding
36004 * benchtests/README: New file to explain how to execute and
36005 enhance the benchmark tests.
36007 2013-05-21 Andreas Schwab <schwab@suse.de>
36010 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36011 * setjmp/tst-sigsetjmp.c: New test.
36013 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36015 * sysdeps/x86_64/memset.S (memset): New implementation.
36016 (__bzero): Likewise.
36017 (__memset_tail): New function.
36019 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36021 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36022 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36023 __memcpy_sse2_unaligned ifunc selection.
36024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36025 Add memcpy-sse2-unaligned.S.
36026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36027 Add: __memcpy_sse2_unaligned.
36029 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36032 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36033 math_force_eval before restoring floating-point envrionment.
36034 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36037 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36039 (__nearbyintl): Use math_force_eval before restoring
36040 floating-point environment.
36041 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36043 * math/gen-libm-test.pl (special_functions): Remove.
36044 (parse_args): Don't handle TEST_extra. Handle functions with no
36046 * math/libm-test.inc (struct test_sincos_data): Replace with
36047 struct test_fFF_11_data.
36048 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36049 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36050 (sincos_test_data): Change element type to struct
36051 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36052 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36053 RUN_TEST_LOOP_sincos.
36054 * math/README.libm-test: Don't mention special handling of
36055 individual functions.
36056 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36058 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36059 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36060 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36063 * math/gen-libm-test.pl (get_variable): Remove function.
36064 (parse_args): Don't show pointer parameters to call in test
36065 names. Use "extra output N" in test names for extra outputs
36066 rather than naming variables.
36068 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36071 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36072 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36073 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36075 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36077 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36080 * math/gen-libm-test.pl (@tests): Remove variable.
36081 ($count): Likewise.
36082 (new_test): Remove function.
36083 (show_exceptions): New function.
36084 (special_functions): Use show_exceptions instead of new_test.
36085 (parse_args): Likewise.
36086 (generate_testfile): Pass only function name in generated call to
36087 print_max_error or print_complex_max_error.
36088 (get_ulps): Do not handle complex tests specially.
36089 (output_test): Rename to ...
36090 (get_all_ulps_for_test): ... this. Return a string rather than
36091 printing to a file. Require ulps to be present.
36092 (output_ulps): Generate arrays rather than #defines.
36093 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36094 (struct ulp_data): New type.
36095 (BUILD_COMPLEX_ULP): Remove macro.
36096 (compare_ulp_data): New function.
36097 (find_ulps): Likewise.
36098 (find_test_ulps): Likewise.
36099 (find_function_ulps): Likewise.
36100 (find_complex_function_ulps): Likewise.
36101 (print_max_error): Determine allowed ulps using
36102 find_function_ulps.
36103 (print_complex_max_error): Determine allowed ulps using
36104 find_complex_function_ulps.
36105 (check_float_internal): Determine max ulps using find_test_ulps.
36106 (check_float): Do not take max_ulp parameter. Update call to
36107 check_float_internal.
36108 (check_complex): Likewise.
36109 (check_int): Do not take max_ulp parameter.
36110 (check_long): Likewise.
36111 (check_bool): Likewise.
36112 (check_longlong): Likewise.
36113 (struct test_f_f_data): Remove max_ulp field.
36114 (struct test_ff_f_data): Likewise.
36115 (struct test_ff_f_data_nexttoward): Likewise.
36116 (struct test_fi_f_data): Likewise.
36117 (struct test_fl_f_data): Likewise.
36118 (struct test_if_f_data): Likewise.
36119 (struct test_fff_f_data): Likewise.
36120 (struct test_c_f_data): Likewise.
36121 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36122 (struct test_fF_f1_data): Likewise.
36123 (struct test_ffI_f1_data): Likewise.
36124 (struct test_c_c_data): Remove max_ulp field.
36125 (struct test_cc_c_data): Likewise.
36126 (struct test_f_i_data): Likewise.
36127 (struct test_ff_i_data): Likewise.
36128 (struct test_f_l_data): Likewise.
36129 (struct test_f_L_data): Likewise.
36130 (struct test_sincos_data): Likewise.
36131 (RUN_TEST_f_f): Do not handle ulps.
36132 (RUN_TEST_LOOP_f_f): Likewise.
36133 (RUN_TEST_2_f): Likewise.
36134 (RUN_TEST_LOOP_2_f): Likewise.
36135 (RUN_TEST_fff_f): Likewise.
36136 (RUN_TEST_LOOP_fff_f): Likewise.
36137 (RUN_TEST_c_f): Likewise.
36138 (RUN_TEST_LOOP_c_f): Likewise.
36139 (RUN_TEST_f_f1): Likewise.
36140 (RUN_TEST_LOOP_f_f1): Likewise.
36141 (RUN_TEST_fF_f1): Likewise.
36142 (RUN_TEST_LOOP_fF_f1): Likewise.
36143 (RUN_TEST_fI_f1): Likewise.
36144 (RUN_TEST_LOOP_fI_f1): Likewise.
36145 (RUN_TEST_ffI_f1): Likewise.
36146 (RUN_TEST_LOOP_ffI_f1): Likewise.
36147 (RUN_TEST_c_c): Likewise.
36148 (RUN_TEST_LOOP_c_c): Likewise.
36149 (RUN_TEST_cc_c): Likewise.
36150 (RUN_TEST_LOOP_cc_c): Likewise.
36151 (RUN_TEST_f_i): Likewise.
36152 (RUN_TEST_LOOP_f_i): Likewise.
36153 (RUN_TEST_f_i_tg): Likewise.
36154 (RUN_TEST_LOOP_f_i_tg): Likewise.
36155 (RUN_TEST_ff_i_tg): Likewise.
36156 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36157 (RUN_TEST_f_b): Likewise.
36158 (RUN_TEST_LOOP_f_b): Likewise.
36159 (RUN_TEST_f_b_tg): Likewise.
36160 (RUN_TEST_LOOP_f_b_tg): Likewise.
36161 (RUN_TEST_f_l): Likewise.
36162 (RUN_TEST_LOOP_f_l): Likewise.
36163 (RUN_TEST_f_L): Likewise.
36164 (RUN_TEST_LOOP_f_L): Likewise.
36165 (RUN_TEST_sincos): Likewise.
36166 (RUN_TEST_LOOP_sincos): Likewise.
36168 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36172 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36173 main case of finite arguments, set rounding mode to FE_TONEAREST
36174 and discard exceptions.
36175 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36177 (remainder_tonearest_test_data): New variable.
36178 (remainder_test_tonearest): New function.
36179 (remainder_towardzero_test_data): New variable.
36180 (remainder_test_towardzero): New function.
36181 (remainder_downward_test_data): New variable.
36182 (remainder_test_downward): New function.
36183 (remainder_upward_test_data): New variable.
36184 (remainder_test_upward): New function.
36185 (main): Call the new test functions.
36187 * math/libm-test.inc (struct test_f_f1_data): Remove field
36189 (struct test_fF_f1_data): Likewise.
36190 (struct test_ffI_f1_data): Likewise.
36191 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36192 based on value of EXTRA_EXPECTED.
36193 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36194 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36195 EXTRA_VAR based on value of EXTRA_EXPECTED.
36196 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36197 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36198 EXTRA_VAR based on value of EXTRA_EXPECTED.
36199 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36200 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36201 EXTRA_VAR based on value of EXTRA_EXPECTED.
36202 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36203 * math/gen-libm-test.pl (parse_args): Don't output initializers
36204 for extra output values.
36206 * math/libm-test.inc (check_int): Expect result to be exactly
36207 equal to expected value and do not handle ulps.
36208 (check_long): Likewise.
36209 (check_longlong): Likewise.
36211 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36213 (cimag_test_data): Likewise.
36214 (conj_test_data): Likewise.
36215 (copysign_test_data): Likewise.
36216 (cproj_test_data): Likewise.
36217 (creal_test_data): Likewise.
36218 (fabs_test_data): Likewise.
36219 (fdim_test_data): Likewise.
36220 (finite_test_data): Likewise.
36221 (floor_test_data): Likewise.
36222 (fmax_test_data): Likewise.
36223 (fmin_test_data): Likewise.
36224 (fmod_test_data): Likewise.
36225 (fpclassify_test_data): Likewise.
36226 (frexp_test_data): Likewise.
36227 (ilogb_test_data): Likewise.
36228 (isfinite_test_data): Likewise.
36229 (isgreater_test_data): Likewise.
36230 (isgreaterequal_test_data): Likewise.
36231 (isinf_test_data): Likewise.
36232 (isless_test_data): Likewise.
36233 (islessequal_test_data): Likewise.
36234 (islessgreater_test_data): Likewise.
36235 (isnan_test_data): Likewise.
36236 (isnormal_test_data): Likewise.
36237 (issignaling_test_data): Likewise.
36238 (isunordered_test_data): Likewise.
36239 (ldexp_test_data): Likewise.
36240 (lrint_test_data): Likewise.
36241 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36242 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36243 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36244 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36245 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36246 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36248 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36249 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36250 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36251 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36253 (lrint_downward_test_data): Test for "inexact" exceptions.
36254 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36255 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36256 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36258 (lrint_upward_test_data): Test for "inexact" exceptions.
36259 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36261 (llrint_test_data): Test for "inexact" exceptions.
36262 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36263 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36264 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36265 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36266 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36267 (llrint_downward_test_data): Test for "inexact" exceptions.
36268 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36269 (llrint_upward_test_data): Test for "inexact" exceptions.
36270 (logb_test_data): Likewise.
36271 (logb_downward_test_data): Likewise.
36272 (nextafter_test_data): Likewise.
36273 (nexttoward_test_data): Likewise.
36274 (remainder_test_data): Likewise.
36275 (remquo_test_data): Likewise.
36276 (scalbn_test_data): Likewise.
36277 (scalbln_test_data): Likewise.
36278 (signbit_test_data): Likewise.
36279 (sqrt_test_data): Likewise.
36280 (significand_test_data): Likewise.
36282 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36285 * benchtests/bench-modf.c (struct args): Mark arg0 as
36287 * scripts/bench.pl: Mark members of struct args as volatile.
36289 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36292 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36293 negative infinity on POWER6 or lower.
36294 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36296 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36299 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36300 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36301 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36302 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36303 (_FP_SETQNAN): New macro.
36304 (_FP_SETQNAN_SEMIRAW): Likewise.
36305 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36306 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36307 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36308 (FP_EXTEND): Use _FP_FRAC_SNANP.
36309 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36310 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36317 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36319 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36320 with DIVIDE_BY_ZERO_EXCEPTION.
36321 (gamma_test_data): Likewise.
36322 (lgamma_test_data): Likewise.
36323 (log_test_data): Likewise.
36324 (log10_test_data): Likewise.
36325 (log2_test_data): Likewise.
36326 (tgamma_test_data): Likewise.
36328 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36329 (acos_test_tonearest): Likewise.
36330 (acos_test_towardzero): Likewise.
36331 (acos_test_downward): Likewise.
36332 (acos_test_upward): Likewise.
36333 (acosh_test): Likewise.
36334 (asin_test): Likewise.
36335 (asin_test_tonearest): Likewise.
36336 (asin_test_towardzero): Likewise.
36337 (asin_test_downward): Likewise.
36338 (asin_test_upward): Likewise.
36339 (asinh_test): Likewise.
36340 (atan_test): Likewise.
36341 (atanh_test): Likewise.
36342 (atan2_test): Likewise.
36343 (cabs_test): Likewise.
36344 (cacos_test): Likewise.
36345 (cacosh_test): Likewise.
36346 (casin_test): Likewise.
36347 (casinh_test): Likewise.
36348 (catan_test): Likewise.
36349 (catanh_test): Likewise.
36350 (cbrt_test): Likewise.
36351 (ccos_test): Likewise.
36352 (ccosh_test): Likewise.
36353 (cexp_test): Likewise.
36354 (clog_test): Likewise.
36355 (clog10_test): Likewise.
36356 (cos_test): Likewise.
36357 (cos_test_tonearest): Likewise.
36358 (cos_test_towardzero): Likewise.
36359 (cos_test_downward): Likewise.
36360 (cos_test_upward): Likewise.
36361 (cosh_test): Likewise.
36362 (cosh_test_tonearest): Likewise.
36363 (cosh_test_towardzero): Likewise.
36364 (cosh_test_downward): Likewise.
36365 (cosh_test_upward): Likewise.
36366 (cpow_test): Likewise.
36367 (csin_test): Likewise.
36368 (csinh_test): Likewise.
36369 (csqrt_test): Likewise.
36370 (ctan_test): Likewise.
36371 (ctan_test_tonearest): Likewise.
36372 (ctan_test_towardzero): Likewise.
36373 (ctan_test_downward): Likewise.
36374 (ctan_test_upward): Likewise.
36375 (ctanh_test): Likewise.
36376 (ctanh_test_tonearest): Likewise.
36377 (ctanh_test_towardzero): Likewise.
36378 (ctanh_test_downward): Likewise.
36379 (ctanh_test_upward): Likewise.
36380 (erf_test): Likewise.
36381 (erfc_test): Likewise.
36382 (exp_test): Likewise.
36383 (exp_test_tonearest): Likewise.
36384 (exp_test_towardzero): Likewise.
36385 (exp_test_downward): Likewise.
36386 (exp_test_upward): Likewise.
36387 (exp10_test): Likewise.
36388 (exp2_test): Likewise.
36389 (expm1_test): Likewise.
36390 (fmod_test): Likewise.
36391 (gamma_test): Likewise.
36392 (hypot_test): Likewise.
36393 (j0_test): Likewise.
36394 (j1_test): Likewise.
36395 (jn_test): Likewise.
36396 (lgamma_test): Likewise.
36397 (log_test): Likewise.
36398 (log10_test): Likewise.
36399 (log1p_test): Likewise.
36400 (log2_test): Likewise.
36401 (logb_test_downward): Likewise.
36402 (pow_test): Likewise.
36403 (pow_test_tonearest): Likewise.
36404 (pow_test_towardzero): Likewise.
36405 (pow_test_downward): Likewise.
36406 (pow_test_upward): Likewise.
36407 (remainder_test): Likewise.
36408 (remquo_test): Likewise.
36409 (sin_test): Likewise.
36410 (sin_test_tonearest): Likewise.
36411 (sin_test_towardzero): Likewise.
36412 (sin_test_downward): Likewise.
36413 (sin_test_upward): Likewise.
36414 (sincos_test): Likewise.
36415 (sinh_test): Likewise.
36416 (sinh_test_tonearest): Likewise.
36417 (sinh_test_towardzero): Likewise.
36418 (sinh_test_downward): Likewise.
36419 (sinh_test_upward): Likewise.
36420 (sqrt_test): Likewise.
36421 (tan_test): Likewise.
36422 (tan_test_tonearest): Likewise.
36423 (tan_test_towardzero): Likewise.
36424 (tan_test_downward): Likewise.
36425 (tan_test_upward): Likewise.
36426 (tanh_test): Likewise.
36427 (tgamma_test): Likewise.
36428 (y0_test): Likewise.
36429 (y1_test): Likewise.
36430 (yn_test): Likewise.
36432 * math/gen-libm-test.pl (adjust_arg): Remove function.
36433 (special_function): Remove argument $in_func. Only handle
36434 generating output for tables of tests, not inside functions.
36435 (parse_args): Likewise.
36436 (generate_testfile): Remove variable $in_func. Update call to
36438 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36439 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36440 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36441 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36442 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36443 (MAX_VALUE_INIT): Rename macro to max_value.
36444 (MIN_VALUE_INIT): Rename macro to min_value.
36445 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36446 (plus_zero): Remove variable.
36447 (minus_zero): Likewise.
36448 (plus_infty): Likewise.
36449 (minus_infty): Likewise.
36450 (qnan_value): Likewise.
36451 (max_value): Likewise.
36452 (min_value): Likewise.
36453 (min_subnorm_value): Likewise.
36455 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36457 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36458 uint64_t or uint32_t usage.
36459 * crypt/sha256-block.c: Likewise.
36460 * crypt/sha256-crypt.c: Likewise.
36461 * crypt/sha256.c: Likewise.
36462 * crypt/sha512-block.c: Likewise.
36463 * crypt/sha512-crypt.c: Likewise.
36464 * crypt/sha512.c: Likewise.
36465 * debug/backtrace-tst.c: Likewise.
36466 * debug/pcprofiledump.c: Likewise.
36467 * elf/cache.c: Likewise.
36468 * elf/dl-cache.c: Likewise.
36469 * elf/dl-misc.c: Likewise.
36470 * elf/dl-profile.c: Likewise.
36471 * elf/dl-support.c: Likewise.
36472 * elf/ldconfig.c: Likewise.
36473 * elf/sprof.c: Likewise.
36474 * iconv/dummy-repertoire.c: Likewise.
36475 * iconv/iconv_charmap.c: Likewise.
36476 * iconv/skeleton.c: Likewise.
36477 * iconvdata/8bit-generic.c: Likewise.
36478 * iconvdata/cp737.h: Likewise.
36479 * iconvdata/cp775.h: Likewise.
36480 * iconvdata/ibm1008.h: Likewise.
36481 * iconvdata/ibm1025.h: Likewise.
36482 * iconvdata/ibm1046.h: Likewise.
36483 * iconvdata/ibm1097.h: Likewise.
36484 * iconvdata/ibm1112.h: Likewise.
36485 * iconvdata/ibm1122.h: Likewise.
36486 * iconvdata/ibm1123.h: Likewise.
36487 * iconvdata/ibm1124.h: Likewise.
36488 * iconvdata/ibm1129.h: Likewise.
36489 * iconvdata/ibm1130.h: Likewise.
36490 * iconvdata/ibm1132.h: Likewise.
36491 * iconvdata/ibm1133.h: Likewise.
36492 * iconvdata/ibm1137.h: Likewise.
36493 * iconvdata/ibm1140.h: Likewise.
36494 * iconvdata/ibm1141.h: Likewise.
36495 * iconvdata/ibm1142.h: Likewise.
36496 * iconvdata/ibm1143.h: Likewise.
36497 * iconvdata/ibm1144.h: Likewise.
36498 * iconvdata/ibm1145.h: Likewise.
36499 * iconvdata/ibm1146.h: Likewise.
36500 * iconvdata/ibm1147.h: Likewise.
36501 * iconvdata/ibm1148.h: Likewise.
36502 * iconvdata/ibm1149.h: Likewise.
36503 * iconvdata/ibm1153.h: Likewise.
36504 * iconvdata/ibm1154.h: Likewise.
36505 * iconvdata/ibm1155.h: Likewise.
36506 * iconvdata/ibm1156.h: Likewise.
36507 * iconvdata/ibm1157.h: Likewise.
36508 * iconvdata/ibm1158.h: Likewise.
36509 * iconvdata/ibm1160.h: Likewise.
36510 * iconvdata/ibm1161.h: Likewise.
36511 * iconvdata/ibm1162.h: Likewise.
36512 * iconvdata/ibm1163.h: Likewise.
36513 * iconvdata/ibm1164.h: Likewise.
36514 * iconvdata/ibm1166.h: Likewise.
36515 * iconvdata/ibm1167.h: Likewise.
36516 * iconvdata/ibm12712.h: Likewise.
36517 * iconvdata/ibm1390.h: Likewise.
36518 * iconvdata/ibm1399.h: Likewise.
36519 * iconvdata/ibm16804.h: Likewise.
36520 * iconvdata/ibm4517.h: Likewise.
36521 * iconvdata/ibm4899.h: Likewise.
36522 * iconvdata/ibm4909.h: Likewise.
36523 * iconvdata/ibm4971.h: Likewise.
36524 * iconvdata/ibm5347.h: Likewise.
36525 * iconvdata/ibm803.h: Likewise.
36526 * iconvdata/ibm856.h: Likewise.
36527 * iconvdata/ibm901.h: Likewise.
36528 * iconvdata/ibm902.h: Likewise.
36529 * iconvdata/ibm9030.h: Likewise.
36530 * iconvdata/ibm9066.h: Likewise.
36531 * iconvdata/ibm921.h: Likewise.
36532 * iconvdata/ibm922.h: Likewise.
36533 * iconvdata/ibm9448.h: Likewise.
36534 * iconvdata/isiri-3342.h: Likewise.
36535 * iconvdata/jis0201.h: Likewise.
36536 * include/link.h: Likewise.
36537 * include/netdb.h: Likewise.
36538 * inet/check_native.c: Likewise.
36539 * inet/check_pf.c: Likewise.
36540 * inet/getipv4sourcefilter.c: Likewise.
36541 * inet/getnameinfo.c: Likewise.
36542 * inet/getsourcefilter.c: Likewise.
36543 * inet/htonl.c: Likewise.
36544 * inet/setipv4sourcefilter.c: Likewise.
36545 * inet/setsourcefilter.c: Likewise.
36546 * inet/test-inet6_opt.c: Likewise.
36547 * inet/tst-network.c: Likewise.
36548 * locale/C-collate.c: Likewise.
36549 * locale/C-ctype.c: Likewise.
36550 * locale/C-time.c: Likewise.
36551 * locale/C-translit.h: Likewise.
36552 * locale/loadarchive.c: Likewise.
36553 * locale/programs/3level.h: Likewise.
36554 * locale/programs/charmap.c: Likewise.
36555 * locale/programs/charmap.h: Likewise.
36556 * locale/programs/ld-address.c: Likewise.
36557 * locale/programs/ld-collate.c: Likewise.
36558 * locale/programs/ld-ctype.c: Likewise.
36559 * locale/programs/ld-identification.c: Likewise.
36560 * locale/programs/ld-measurement.c: Likewise.
36561 * locale/programs/ld-messages.c: Likewise.
36562 * locale/programs/ld-monetary.c: Likewise.
36563 * locale/programs/ld-name.c: Likewise.
36564 * locale/programs/ld-numeric.c: Likewise.
36565 * locale/programs/ld-paper.c: Likewise.
36566 * locale/programs/ld-telephone.c: Likewise.
36567 * locale/programs/ld-time.c: Likewise.
36568 * locale/programs/linereader.c: Likewise.
36569 * locale/programs/locale.c: Likewise.
36570 * locale/programs/locarchive.c: Likewise.
36571 * locale/programs/locfile.h: Likewise.
36572 * locale/programs/repertoire.c: Likewise.
36573 * locale/programs/simple-hash.c: Likewise.
36574 * locale/programs/simple-hash.h: Likewise.
36575 * malloc/memusage.c: Likewise.
36576 * malloc/memusagestat.c: Likewise.
36577 * nis/nis_defaults.c: Likewise.
36578 * nis/nis_hash.c: Likewise.
36579 * nis/nis_print.c: Likewise.
36580 * nis/nis_xdr.c: Likewise.
36581 * nscd/connections.c: Likewise.
36582 * nscd/hstcache.c: Likewise.
36583 * nscd/nscd_gethst_r.c: Likewise.
36584 * nscd/nscd_getserv_r.c: Likewise.
36585 * nscd/nscd_helper.c: Likewise.
36586 * nscd/servicescache.c: Likewise.
36587 * nss/makedb.c: Likewise.
36588 * nss/nss_db/db-XXX.c: Likewise.
36589 * nss/nss_db/db-initgroups.c: Likewise.
36590 * nss/nss_db/db-netgrp.c: Likewise.
36591 * nss/nss_files/files-network.c: Likewise.
36592 * nss/nss_files/files-parse.c: Likewise.
36593 * posix/bug-regex5.c: Likewise.
36594 * posix/fnmatch_loop.c: Likewise.
36595 * posix/regcomp.c: Likewise.
36596 * posix/regexec.c: Likewise.
36597 * posix/tst-rfc3484-2.c: Likewise.
36598 * posix/tst-rfc3484-3.c: Likewise.
36599 * posix/tst-rfc3484.c: Likewise.
36600 * resolv/nss_dns/dns-canon.c: Likewise.
36601 * resolv/nss_dns/dns-network.c: Likewise.
36602 * resolv/res_init.c: Likewise.
36603 * resolv/res_mkquery.c: Likewise.
36604 * resolv/tst-aton.c: Likewise.
36605 * stdlib/cxa_atexit.c: Likewise.
36606 * stdlib/cxa_finalize.c: Likewise.
36607 * stdlib/gen-fpioconst.c: Likewise.
36608 * stdlib/strtol_l.c: Likewise.
36609 * string/tst-endian.c: Likewise.
36610 * sunrpc/auth_des.c: Likewise.
36611 * sunrpc/clnt_udp.c: Likewise.
36612 * sunrpc/rtime.c: Likewise.
36613 * sunrpc/svcauth_des.c: Likewise.
36614 * sunrpc/xdr.c: Likewise.
36615 * sunrpc/xdr_intXX_t.c: Likewise.
36616 * sunrpc/xdr_rec.c: Likewise.
36617 * sysdeps/generic/ldconfig.h: Likewise.
36618 * sysdeps/generic/ldsodefs.h: Likewise.
36619 * sysdeps/generic/memusage.h: Likewise.
36620 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36621 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36622 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36623 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36626 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36627 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36628 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36630 * sysdeps/posix/getaddrinfo.c: Likewise.
36631 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36632 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36633 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36634 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36635 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36636 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36637 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36638 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36639 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36640 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36641 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36642 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36643 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36644 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36645 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36646 * sysdeps/x86_64/dl-tls.h: Likewise.
36647 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36648 * time/alt_digit.c: Likewise.
36649 * time/era.c: Likewise.
36650 * wcsmbs/tst-c16c32-1.c: Likewise.
36652 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36654 * math/libm-test.inc (struct test_sincos_data): New type.
36655 (RUN_TEST_LOOP_sincos): New macro.
36656 (sincos_test_data): New variable.
36657 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36659 2013-05-16 Richard Henderson <rth@redhat.com>
36661 * math/atest-exp2.c (LIMB64): New macro.
36662 (CONSTSZ): New macro.
36663 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36665 (print_mpn_fp): ... to function scope.
36666 (read_mpn_hex): Remove.
36667 (get_log2): Remove.
36668 (exp2_mpn): Use mp_log2.
36669 (main): Use mp_exp1.
36671 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36673 * math/libm-test.inc: Remove comment about not testing "inexact"
36675 (INEXACT_EXCEPTION): New macro.
36676 (NO_INEXACT_EXCEPTION): Likewise.
36677 (INVALID_EXCEPTION_OK): Update value.
36678 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36679 (OVERFLOW_EXCEPTION_OK): Likewise.
36680 (UNDERFLOW_EXCEPTION_OK): Likewise.
36681 (IGNORE_ZERO_INF_SIGN): Likewise.
36682 (ERRNO_UNCHANGED): Likewise.
36683 (ERRNO_EDOM): Likewise.
36684 (ERRNO_ERANGE): Likewise.
36685 (test_exceptions): Handle testing "inexact" exceptions.
36686 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36687 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36688 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36689 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36691 (rint_towardzero_test_data): Likewise.
36692 (rint_downward_test_data): Likewise.
36693 (rint_upward_test_data): Likewise.
36695 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36696 with OVERFLOW_EXCEPTION.
36697 (exp10_test_data): Likewise.
36698 (exp2_test_data): Likewise.
36699 (expm1_test_data): Likewise.
36700 (lgamma_test_data): Likewise.
36701 (pow_test_data): Likewise.
36702 (tgamma_test_data): Likewise.
36703 (yn_test_data): Remove duplicate test of overflow.
36705 * math/libm-test.inc (struct test_cc_c_data): New type.
36706 (RUN_TEST_LOOP_cc_c): New macro.
36707 (cpow_test_data): New variable.
36708 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36710 * math/libm-test.inc (struct test_f_L_data): New type.
36711 (RUN_TEST_LOOP_f_L): New macro.
36712 (llrint_test_data): New variable.
36713 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36714 (llrint_tonearest_test_data): New variable.
36715 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36716 (llrint_towardzero_test_data): New variable.
36717 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36718 (llrint_downward_test_data): New variable.
36719 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36720 (llrint_upward_test_data): New variable.
36721 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36722 (llround_test_data): New variable.
36723 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36725 2013-05-13 Peter Collingbourne <pcc@google.com>
36727 * math/atest-exp2.c (get_log2): Remove const attribute.
36729 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36731 * math/libm-test.inc (struct test_f_l_data): New type.
36732 (RUN_TEST_LOOP_f_l): New macro.
36733 (lrint_test_data): New variable.
36734 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36735 (lrint_tonearest_test_data): New variable.
36736 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36737 (lrint_towardzero_test_data): New variable.
36738 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36739 (lrint_downward_test_data): New variable.
36740 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36741 (lrint_upward_test_data): New variable.
36742 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36743 (lround_test_data): New variable.
36744 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36746 2013-05-15 Peter Collingbourne <pcc@google.com>
36748 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36749 (EXTRACT_WORDS64) Use where appropriate.
36750 (INSERT_WORDS64) Likewise.
36752 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36753 constraints with x constraints.
36754 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36756 * malloc/obstack.c (_obstack_compat): Add initializer.
36758 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36761 si_trapno and add si_addr_lsb to _sifields.sigfault.
36762 (si_trapno): Remove macro.
36763 (si_addr_lsb): Define new macro.
36764 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36766 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36768 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36769 instead of TEST_f_l.
36770 (llrint_test_tonearest): Likewise.
36771 (llrint_test_towardzero): Likewise.
36772 (llrint_test_downward): Likewise.
36773 (llrint_test_upward): Likewise.
36774 (llround_test): Likewise.
36776 * math/libm-test.inc (struct test_f_i_data): Add comment.
36777 (RUN_TEST_LOOP_f_b): New macro.
36778 (RUN_TEST_LOOP_f_b_tg): Likewise.
36779 (finite_test_data): New variable.
36780 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36781 (isfinite_test_data): New variable.
36782 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36783 (isinf_test_data): New variable.
36784 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36785 (isnan_test_data): New variable.
36786 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36787 (isnormal_test_data): New variable.
36788 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36789 (issignaling_test_data): New variable.
36790 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36791 (signbit_test_data): New variable.
36792 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36794 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36795 with INVALID_EXCEPTION.
36796 (acosh_test_data): Likewise.
36797 (asin_test_data): Likewise.
36798 (atanh_test_data): Likewise.
36799 (fmod_test_data): Likewise.
36800 (log_test_data): Likewise.
36801 (log10_test_data): Likewise.
36802 (log2_test_data): Likewise.
36803 (pow_test_data): Likewise.
36804 (sqrt_test_data): Likewise.
36805 (y0_test_data): Likewise.
36806 (y1_test_data): Likewise.
36807 (yn_test_data): Likewise.
36809 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36812 * math/libm-test.inc (struct test_ff_i_data): New type.
36813 (RUN_TEST_LOOP_ff_i_tg): New macro.
36814 (isgreater_test_data): New variable.
36815 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36816 (isgreaterequal_test_data): New variable.
36817 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36818 (isless_test_data): New variable.
36819 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36820 (islessequal_test_data): New variable.
36821 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36822 (islessgreater_test_data): New variable.
36823 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36824 (isunordered_test_data): New variable.
36825 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36827 2013-05-14 David S. Miller <davem@davemloft.net>
36829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36831 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36833 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36835 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36837 (struct test_f_i_data): Change type of max_ulp to int.
36839 * math/libm-test.inc (test_ffI_f1_data): New type.
36840 (RUN_TEST_LOOP_ffI_f1): New macro.
36841 (remquo_test_data): New variable.
36842 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36844 * setjmp/tst-setjmp-fp.c: New file.
36845 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36846 (link-libm): New variable.
36847 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36849 * math/libm-test.inc (struct test_f_i_data): New type.
36850 (RUN_TEST_LOOP_f_i): New macro.
36851 (RUN_TEST_LOOP_f_i_tg): Likewise.
36852 (fpclassify_test_data): New variable.
36853 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36854 (ilogb_test_data): New variable.
36855 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36857 * math/libm-test.inc (scalbln_test): Correct function name in END
36860 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36861 (RUN_TEST_LOOP_fI_f1): New macro.
36862 (frexp_test_data): New variable.
36863 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36865 * math/libm-test.inc (struct test_fF_f1_data): New type.
36866 (RUN_TEST_LOOP_fF_f1): New macro.
36867 (modf_test_data): New variable.
36868 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36870 * math/libm-test.inc (struct test_f_f1_data): New type.
36871 (RUN_TEST_LOOP_f_f1): New macro.
36872 (gamma_test_data): New variable.
36873 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36874 (lgamma_test_data): New variable.
36875 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36877 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36879 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36880 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36881 (main): Comment "tls" pseudo-hwcap.
36883 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36885 * math/libm-test.inc (struct test_fl_f_data): New type.
36886 (RUN_TEST_LOOP_fl_f): New variable.
36887 (scalbln_test_data): New variable.
36888 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36890 * math/libm-test.inc (struct test_fi_f_data): New type.
36891 (RUN_TEST_LOOP_fi_f): New macro.
36892 (ldexp_test_data): New variable.
36893 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36894 (scalbn_test_data): New variable.
36895 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36897 * math/libm-test.inc (struct test_c_f_data): New type.
36898 (RUN_TEST_LOOP_c_f): New macro.
36899 (cabs_test_data): New variable.
36900 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36901 (carg_test_data): New variable.
36902 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36903 (cimag_test_data): New variable.
36904 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36905 (creal_test_data): New variable.
36906 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36908 * math/libm-test.inc (struct test_if_f_data): New type.
36909 (RUN_TEST_LOOP_if_f): New macro.
36910 (jn_test_data): New variable.
36911 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36912 (yn_test_data): New variable.
36913 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36915 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36917 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36919 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36920 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36922 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36924 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36925 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36926 (bench-deps): Add bench-timing.h.
36927 * benchtests-bench-skeleton.c: Include bench-timing.h.
36928 (main): Use TIMING_* macros instead of clock_gettime.
36929 * benchtests/bench-timing.h: New file.
36932 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36933 Renamed from _LIB_VERSION.
36934 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36936 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36938 * math/libm-test.inc (struct test_fff_f_data): New type.
36939 (RUN_TEST_LOOP_fff_f): New macro.
36940 (fma_test_data): New variable.
36941 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36942 (fma_towardzero_test_data): New variable.
36943 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36944 (fma_downward_test_data): New variable.
36945 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36946 (fma_upward_test_data): New variable.
36947 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36949 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36950 (struct test_c_c_data): New type.
36951 (RUN_TEST_LOOP_c_c): New macro.
36952 (cacos_test_data): New variable.
36953 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36954 (cacosh_test_data): New variable.
36955 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36956 (casin_test_data): New variable.
36957 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36958 (casinh_test_data): New variable.
36959 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36960 (catan_test_data): New variable.
36961 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36962 (catanh_test_data): New variable.
36963 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36964 (ccos_test_data): New variable.
36965 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36966 (ccosh_test_data): New variable.
36967 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36968 (cexp_test_data): New variable.
36969 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36970 (clog_test_data): New variable.
36971 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36972 (clog10_test_data): New variable.
36973 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36974 (conj_test_data): New variable.
36975 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36976 (cproj_test_data): New variable.
36977 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36978 (csin_test_data): New variable.
36979 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36980 (csinh_test_data): New variable.
36981 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36982 (csqrt_test_data): New variable.
36983 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36984 (ctan_test_data): New variable.
36985 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36986 (ctan_tonearest_test_data): New variable.
36987 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36988 (ctan_towardzero_test_data): New variable.
36989 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36990 (ctan_downward_test_data): New variable.
36991 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36992 (ctan_upward_test_data): New variable.
36993 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36994 (ctanh_test_data): New variable.
36995 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36996 (ctanh_tonearest_test_data): New variable.
36997 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36998 (ctanh_towardzero_test_data): New variable.
36999 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37000 (ctanh_downward_test_data): New variable.
37001 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37002 (ctanh_upward_test_data): New variable.
37003 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37004 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37007 * math/libm-test.inc (struct test_ff_f_data): New type.
37008 (struct test_ff_f_data_nexttoward): Likewise.
37009 (RUN_TEST_LOOP_2_f): New macro.
37010 (RUN_TEST_LOOP_ff_f): Likewise.
37011 (atan2_test_data): New variable.
37012 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37013 (copysign_test_data): New variable.
37014 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37015 (fdim_test_data): New variable.
37016 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37017 (fmax_test_data): New variable.
37018 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37019 (fmin_test_data): New variable.
37020 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37021 (fmod_test_data): New variable.
37022 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37023 (hypot_test_data): New variable.
37024 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37025 (nextafter_test_data): New variable.
37026 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37027 (nexttoward_test_data): New variable.
37028 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37029 (pow_test_data): New variable.
37030 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37031 (pow_tonearest_test_data): New variable.
37032 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37033 (pow_towardzero_test_data): New variable.
37034 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37035 (pow_downward_test_data): New variable.
37036 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37037 (pow_upward_test_data): New variable.
37038 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37039 (remainder_test_data): New variable.
37040 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37041 (scalb_test_data): New variable.
37042 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37043 * sysdeps/i386/fpu/libm-test-ulps: Update.
37045 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37047 * math/libm-test.inc (fma_test): Use max_value instead of local
37049 (nextafter_test): Likewise.
37051 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37052 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37053 (acos_downward_test_data): New variable.
37054 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37055 (acos_upward_test_data): New variable.
37056 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37057 (acosh_test_data): New variable.
37058 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37059 (asin_test_data): New variable.
37060 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37061 (asin_tonearest_test_data): New variable.
37062 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37063 (asin_towardzero_test_data): New variable.
37064 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37065 (asin_downward_test_data): New variable.
37066 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37067 (asin_upward_test_data): New variable.
37068 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37069 (asinh_test_data): New variable.
37070 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37071 (atan_test_data): New variable.
37072 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37073 (atanh_test_data): New variable.
37074 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37075 (cbrt_test_data): New variable.
37076 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37077 (ceil_test_data): New variable.
37078 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37079 (cos_test_data): New variable.
37080 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37081 (cos_tonearest_test_data): New variable.
37082 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37083 (cos_towardzero_test_data): New variable.
37084 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37085 (cos_downward_test_data): New variable.
37086 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37087 (cos_upward_test_data): New variable.
37088 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37089 (cosh_test_data): New variable.
37090 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37091 (cosh_tonearest_test_data): New variable.
37092 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37093 (cosh_towardzero_test_data): New variable.
37094 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37095 (cosh_downward_test_data): New variable.
37096 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37097 (cosh_upward_test_data): New variable.
37098 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37099 (erf_test_data): New variable.
37100 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37101 (erfc_test_data): New variable.
37102 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37103 (exp_test_data): New variable.
37104 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37105 (exp_tonearest_test_data): New variable.
37106 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37107 (exp_towardzero_test_data): New variable.
37108 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37109 (exp_downward_test_data): New variable.
37110 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37111 (exp_upward_test_data): New variable.
37112 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37113 (exp10_test_data): New variable.
37114 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37115 (exp2_test_data): New variable.
37116 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37117 (expm1_test_data): New variable.
37118 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37119 (fabs_test_data): New variable.
37120 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37121 (floor_test_data): New variable.
37122 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37123 (j0_test_data): New variable.
37124 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37125 (j1_test_data): New variable.
37126 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37127 (log_test_data): New variable.
37128 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37129 (log10_test_data): New variable.
37130 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37131 (log1p_test_data): New variable.
37132 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37133 (log2_test_data): New variable.
37134 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37135 (logb_test_data): New variable.
37136 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37137 (logb_downward_test_data): New variable.
37138 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37139 (nearbyint_test_data): New variable.
37140 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37141 (rint_test_data): New variable.
37142 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37143 (rint_tonearest_test_data): New variable.
37144 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37145 (rint_towardzero_test_data): New variable.
37146 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37147 (rint_downward_test_data): New variable.
37148 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37149 (rint_upward_test_data): New variable.
37150 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37151 (round_test_data): New variable.
37152 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37153 (sin_test_data): New variable.
37154 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37155 (sin_tonearest_test_data): New variable.
37156 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37157 (sin_towardzero_test_data): New variable.
37158 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37159 (sin_downward_test_data): New variable.
37160 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37161 (sin_upward_test_data): New variable.
37162 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37163 (sinh_test_data): New variable.
37164 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37165 (sinh_tonearest_test_data): New variable.
37166 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37167 (sinh_towardzero_test_data): New variable.
37168 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37169 (sinh_downward_test_data): New variable.
37170 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37171 (sinh_upward_test_data): New variable.
37172 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37173 (sqrt_test_data): New variable.
37174 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37175 (tan_test_data): New variable.
37176 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37177 (tan_tonearest_test_data): New variable.
37178 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37179 (tan_towardzero_test_data): New variable.
37180 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37181 (tan_downward_test_data): New variable.
37182 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37183 (tan_upward_test_data): New variable.
37184 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37185 (tanh_test_data): New variable.
37186 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37187 (tgamma_test_data): New variable.
37188 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37189 (trunc_test_data): New variable.
37190 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37191 (y0_test_data): New variable.
37192 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37193 (y1_test_data): New variable.
37194 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37195 (significand_test_data): New variable.
37196 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37198 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37201 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37203 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37205 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37207 2013-05-10 Andreas Jaeger <aj@suse.de>
37210 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37211 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37213 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37215 * math/gen-libm-test.pl (adjust_arg): New function.
37216 (special_functions): Handle generating output in both functions
37218 (parse_args): Likewise.
37219 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37220 $in_func argument to parse_args.
37221 * math/libm-test.inc (struct test_f_f_data): New type.
37222 (IF_ROUND_INIT_): New macro.
37223 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37224 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37225 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37226 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37227 (ROUND_RESTORE_): Likewise.
37228 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37229 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37230 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37231 (ROUND_RESTORE_FE_UPWARD): Likewise.
37232 (RUN_TEST_LOOP_f_f): New macro.
37233 (acos_test_data): New variable.
37234 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37235 (acos_tonearest_test_data): New variable.
37236 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37238 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37240 * benchtests/bench-skeleton.c (startup): Fix coding style.
37242 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37245 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37246 negative infinity argument.
37247 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37248 negative infinity argument.
37249 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37250 negative infinity argument.
37251 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37254 2013-05-10 Florian Weimer <fweimer@redhat.com>
37256 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37257 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37258 * iconv/iconv_prog.c (main): Likewise.
37259 * locale/programs/charmap-dir.c (charmap_readdir)
37260 (fopen_uncompressed): Likewise.
37261 * locale/programs/locfile.c (siblings_uncached)
37262 (write_locale_data): Use lstat64 instead of lstat.
37263 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37266 2013-05-10 Andreas Jaeger <aj@suse.de>
37269 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37271 Include <locale.h>.
37273 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37275 * elf/dl-close.c (_dl_close_worker): Add comments.
37277 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37282 (__ieee754_rem_pio2l): Update comments.
37285 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37287 (__ieee754_rem_pio2l): Update comments.
37289 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37290 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37292 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37295 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37296 (M_PI_34_LOG10El): Likewise.
37297 (M_PI2_LOG10El): Likewise.
37298 (M_PI4_LOG10El): Likewise.
37299 (M_PI_LOG10El): Likewise.
37301 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37305 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37307 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37308 (MINUS_ZERO_INIT): Likewise.
37309 (PLUS_INFTY_INIT): Likewise.
37310 (MINUS_INFTY_INIT): Likewise.
37311 (QNAN_VALUE_INIT): Likewise.
37312 (MAX_VALUE_INIT): Likewise.
37313 (MIN_VALUE_INIT): Likewise.
37314 (MIN_SUBNORM_VALUE_INIT): Likewise.
37315 (plus_zero): Initialize with PLUS_ZERO_INIT.
37316 (minus_zero): Initialize with MINUS_ZERO_INIT.
37317 (plus_infty): Initialize with PLUS_INFTY_INIT.
37318 (minus_infty): Initialize with MINUS_INFTY_INIT.
37319 (qnan_value): Initialize with QNAN_VALUE_INIT.
37320 (max_value): Initialize with MAX_VALUE_INIT.
37321 (min_value): Initialize with MIN_VALUE_INIT.
37322 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37324 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37325 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37326 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37327 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37329 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37330 (RUN_TEST_2_f): Likewise.
37331 (RUN_TEST_ff_f): Likewise.
37332 (RUN_TEST_fi_f): Likewise.
37333 (RUN_TEST_fl_f): Likewise.
37334 (RUN_TEST_fff_f): Likewise.
37335 (RUN_TEST_c_f): Likewise.
37336 (RUN_TEST_f_f1): Likewise.
37337 (RUN_TEST_fF_f1): Likewise.
37338 (RUN_TEST_fI_f1): Likewise.
37339 (RUN_TEST_ffI_f1): Likewise.
37340 (RUN_TEST_c_c): Likewise.
37341 (RUN_TEST_cc_c): Likewise.
37342 (RUN_TEST_f_i): Likewise.
37343 (RUN_TEST_f_i_tg): Likewise.
37344 (RUN_TEST_ff_i_tg): Likewise.
37345 (RUN_TEST_f_b): Likewise.
37346 (RUN_TEST_f_b_tg): Likewise.
37347 (RUN_TEST_f_l): Likewise.
37348 (RUN_TEST_f_L): Likewise.
37349 (RUN_TEST_sincos): Likewise.
37350 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37351 whether to show exceptions. Do not include ");\n" in return
37353 (special_functions): Output call to RUN_TEST_sincos instead of
37354 check_float calls. Update calls to new_test.
37355 (parse_args): Output call to single RUN_TEST_* macro instead of
37356 check_* calls and other assignments. Update calls to new_test.
37362 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37363 input to result for tgamma overflow.
37364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37365 (gamma_coeff): New variable.
37366 (NCOEFF): New macro.
37367 (gamma_positive): New function.
37368 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37369 underflow here. Use gamma_positive instead of exp (lgamma) for
37371 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37372 (gamma_coeff): New variable.
37373 (NCOEFF): New macro.
37374 (gammaf_positive): New function.
37375 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37376 underflow here. Use gamma_positive instead of exp (lgamma) for
37378 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37379 (gamma_coeff): New variable.
37380 (NCOEFF): New macro.
37381 (gammal_positive): New function.
37382 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37383 underflow here. Use gamma_positive instead of exp (lgamma) for
37385 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37386 (gamma_coeff): New variable.
37387 (NCOEFF): New macro.
37388 (gammal_positive): New function.
37389 (__ieee754_gammal_r): Handle positive infinity, overflow and
37390 underflow here. Handle NaN the same as positive infinity. Remove
37391 check x < 0xffffffff for negative integers. Use gamma_positive
37392 instead of exp (lgamma) for other arguments.
37393 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37394 (gamma_coeff): New variable.
37395 (NCOEFF): New macro.
37396 (gammal_positive): New function.
37397 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37398 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37402 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37403 * sysdeps/generic/math_private.h (__gamma_productf): New
37405 (__gamma_product): Likewise.
37406 (__gamma_productl): Likewise.
37407 * math/Makefile (libm-calls): Add gamma_product.
37408 * math/libm-test.inc (tgamma_test): Add more tests.
37409 * sysdeps/i386/fpu/libm-test-ulps: Update.
37410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37412 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37414 * benchtests/bench-skeleton.c (main): Preheat CPU.
37416 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37418 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37420 2013-05-07 Roland McGrath <roland@hack.frob.com>
37422 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37423 and _dl_skip_args_internal.
37425 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37427 * manual/message.texi (Message Translation): Talk about users.
37428 Message to key mapping impacts design.
37430 2013-05-06 Roland McGrath <roland@hack.frob.com>
37432 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37434 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37436 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37437 * sysdeps/wordsize-64/glob64.c: ... here.
37439 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37440 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37443 * debug/getlogin_r_chk.c: Moved to ...
37444 * login/getlogin_r_chk.c: ... here.
37445 * debug/Makefile (routines): Move getlogin_r_chk to ...
37446 * login/Makefile (routines): ... here.
37447 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37448 * login/Versions (libc: GLIBC_2.4): ... here.
37450 * io/poll.c (__poll): Renamed from poll.
37451 Add libc_hidden_def.
37452 (poll): Define as weak alias.
37454 * debug/ptsname_r_chk.c: Moved to ...
37455 * login/ptsname_r_chk.c: ... here.
37456 * debug/Makefile (routines): Move ptsname_r_chk to ...
37457 * login/Makefile (routines): ... here.
37458 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37459 * login/Versions (libc: GLIBC_2.4): ... here.
37461 * posix/getlogin.c: Moved to ...
37462 * login/getlogin.c: ... here.
37463 * posix/getlogin_r.c: Moved to ...
37464 * login/getlogin_r.c: ... here.
37465 * posix/getlogin_r.c: Moved to ...
37466 * login/getlogin_r.c: ... here.
37467 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37468 * login/Makefile (routines): ... here.
37469 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37470 * login/Versions (libc: GLIBC_2.0): ... here.
37472 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37473 (setrlimit): Define as weak alias.
37475 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37476 Call __ names for open, ftruncate, and close.
37477 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37478 (truncate): Define as weak alias.
37480 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37482 * math/gen-libm-test.pl (parse_args): Initialize x before each
37483 test of frexp, modf and remquo.
37485 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37486 test signgam value.
37488 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37492 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37494 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37496 2013-05-06 Roland McGrath <roland@hack.frob.com>
37498 * elf/dl-writev.h: New file.
37499 * elf/dl-misc.c: Include it.
37500 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37501 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37503 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37505 * math/libm-test.inc (noXFails): Remove variable.
37506 (noXPasses): Likewise.
37507 (BUILD_COMPLEX_INT): Remove macro.
37508 (print_screen): Remove xfail argument.
37509 (print_screen_max_error): Likewise.
37510 (update_stats): Likewise.
37511 (print_max_error): Likewise. Update calls to other affected
37513 (print_complex_max_error): Likewise.
37514 (test_single_exception): Update calls to print_screen.
37515 (test_single_errno): Likewise.
37516 (check_float_internal): Remove xfail argument. Update calls to
37517 other affected functions.
37518 (check_float): Likewise.
37519 (check_complex): Likewise.
37520 (check_int): Likewise.
37521 (check_long): Likewise.
37522 (check_bool): Likewise.
37523 (check_longlong): Likewise.
37524 (main): Don't print noXFails and noXPasses.
37525 * math/gen-libm-test.pl (top level): Don't mention expected
37526 failure handling in comment.
37527 (new_test): Don't handle expected failures.
37528 (parse_args): Don't mention expected failure handling in comment.
37529 (generate_testfile): Don't handle expected failures.
37530 (parse_ulps): Likewise.
37531 (print_ulps_file): Likewise.
37532 (get_failure): Remove function.
37533 (output_test): Don't handle expected failures.
37534 * make/README.libm-test: Don't mention expected failure handling.
37536 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37537 (minus_zero): Likewise.
37538 (plus_infty): Likewise.
37539 (minus_infty): Likewise.
37540 (qnan_value): Likewise.
37541 (max_value): Likewise.
37542 (min_value): Likewise.
37543 (min_subnorm_value): Likewise.
37544 (initialize): Do not initialize those variables dynamically.
37546 2013-05-03 Roland McGrath <roland@hack.frob.com>
37548 * io/open.c (__open_2): Moved to ...
37549 * io/open_2.c: ... this new file.
37550 * io/open64.c (__open64_2): Moved to ...
37551 * io/open64_2.c: ... this new file.
37552 * io/openat.c (__openat_2): Moved to ...
37553 * io/openat_2.c: ... this new file.
37554 * io/openat64.c (__openat64_2): Moved to ...
37555 * io/openat64_2.c: ... this new file.
37556 * io/Makefile (routines): Add them.
37557 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37558 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37559 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37560 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37561 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37562 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37563 (__openat64): Add hidden_ver.
37564 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37565 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37567 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37568 Separately conditionalize setting of GLRO(dl_sysinfo) so
37569 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37570 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37572 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37574 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37575 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37577 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37578 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37579 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37580 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37581 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37583 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37585 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37586 test signgam value.
37588 * math/libm-test.inc (hypot_test): Do not use
37589 IGNORE_ZERO_INF_SIGN.
37591 2013-05-03 Andreas Jaeger <aj@suse.de>
37593 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37595 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37596 (PF_MAX): Adjust for VSOCK change.
37598 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37602 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37605 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37606 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37607 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37609 2013-05-02 David S. Miller <davem@davemloft.net>
37611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37613 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37615 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37617 2013-05-01 Roland McGrath <roland@hack.frob.com>
37619 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37621 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37624 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37625 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37626 Use __attribute__ ((__gnu_inline__)).
37627 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37628 Don't use __attribute__ ((__gnu_inline__)).
37630 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37633 * math/s_catan.c (__catan): Handle small real or imaginary part of
37634 input specially to avoid spurious underflow.
37635 * math/s_catanf.c (__catanf): Likewise.
37636 * math/s_catanh.c (__catanh): Likewise.
37637 * math/s_catanhf.c (__catanhf): Likewise.
37638 * math/s_catanhl.c (__catanhl): Likewise.
37639 * math/s_catanl.c (__catanl): Likewise.
37640 * math/libm-test.inc (catan_test): Add more tests.
37641 (catanh_test): Likewise.
37642 * sysdeps/i386/fpu/libm-test-ulps: Update.
37643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37645 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37649 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37652 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37653 accurately for denominator in atan2.
37654 * math/s_catanf.c (__catanf): Likewise.
37655 * math/s_catanh.c (__catanh): Likewise.
37656 * math/s_catanhf.c (__catanhf): Likewise.
37657 * math/s_catanhl.c (__catanhl): Likewise.
37658 * math/s_catanl.c (__catanl): Likewise.
37659 * math/libm-test.inc (catan_test): Add more tests.
37660 (catanh_test): Likewise.
37661 * sysdeps/i386/fpu/libm-test-ulps: Update.
37662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37664 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37666 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37668 * benchtests/Makefile (bench): Remove slow benchmarks.
37669 * benchtests/atan-inputs: Add slow benchmark inputs.
37670 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37671 (BENCH_FUNC): Accept variant offset.
37673 * benchtests/bench-skeleton.c (main): Run benchmark for each
37675 * benchtests/cos-inputs: Add slow benchmark inputs.
37676 * benchtests/exp-inputs: Likewise.
37677 * benchtests/pow-inputs: Likewise.
37678 * benchtests/sin-inputs: Likewise.
37679 * benchtests/slowatan-inputs: Remove.
37680 * benchtests/slowatan.c: Remove.
37681 * benchtests/slowcos-inputs: Remove.
37682 * benchtests/slowcos.c: Remove.
37683 * benchtests/slowexp-inputs: Remove.
37684 * benchtests/slowexp.c: Remove.
37685 * benchtests/slowpow-inputs: Remove.
37686 * benchtests/slowpow.c: Remove.
37687 * benchtests/slowsin-inputs: Remove.
37688 * benchtests/slowsin.c: Remove.
37689 * benchtests/slowtan-inputs: Remove.
37690 * benchtests/slowtan.c: Remove.
37691 * benchtests/tan-inputs: Add slow benchmark inputs.
37692 * scripts/bench.pl: Parse comments and directives.
37694 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37696 ($(objpfx)bench-%.c): Remove *-ITER.
37697 * benchtests/bench-modf.c: Remove definition of ITER.
37698 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37699 (main): Loop for DURATION seconds instead of fixed number of
37701 * scripts/bench.pl: Don't expect iterations in parameters.
37703 2013-04-29 Roland McGrath <roland@hack.frob.com>
37705 * io/fchdir.c (__fchdir): Renamed from fchdir.
37706 (fchdir): Define as weak alias.
37708 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37710 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37711 (ERRNO_EDOM): Likewise.
37712 (ERRNO_ERANGE): Likewise.
37713 (noErrnoTests): New variable.
37714 (init_max_error): Set errno to 0.
37715 (test_single_errno): New function.
37716 (test_errno): Likewise.
37717 (check_float_internal): Call test_errno. Set errno to 0.
37718 (check_complex): Refer to errno tests in comment.
37719 (check_int): Call test_errno. Set errno to 0.
37720 (check_long): Likewise.
37721 (check_bool): Likewise.
37722 (check_longlong): Likewise.
37723 (cos_test): Use ERRNO_* flags for errno tests instead of
37725 (expm1_test): Likewise.
37726 (fmod_test): Likewise.
37727 (ilogb_test): Likewise.
37728 (lgamma_test): Likewise.
37729 (pow_test): Likewise.
37730 (remainder_test): Likewise.
37731 (sin_test): Likewise.
37732 (tan_test): Likewise.
37733 (yn_test): Likewise.
37734 (initialize): Set errno to 0.
37735 (main): Print number of errno tests.
37736 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37738 2013-04-29 Andreas Jaeger <aj@suse.de>
37741 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37745 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37746 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37750 * stdlib/random.c (__initstate): Return NULL if
37754 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37755 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37758 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37762 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37764 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37765 of individual tests.
37766 (casin_test): Likewise.
37767 (casinh_test): Likewise.
37769 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37772 * math/s_catan.c (__catan): Handle arguments with large real or
37773 imaginary part separately without squaring.
37774 * math/s_catanf.c (__catanf): Likewise.
37775 * math/s_catanh.c (__catanh): Likewise.
37776 * math/s_catanhf.c (__catanhf): Likewise.
37777 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37779 (__catanhl): Handle arguments with large real or imaginary part
37780 separately without squaring.
37781 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37783 (__catanl): Handle arguments with large real or imaginary part
37784 separately without squaring.
37785 * math/libm-test.inc (catan_test): Add more tests.
37786 (catanh_test): Likewise.
37787 * sysdeps/i386/fpu/libm-test-ulps: Update.
37788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37790 2013-04-27 Andreas Jaeger <aj@suse.de>
37793 * stdlib/stdlib.h: Update guards for qecvt.
37794 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37797 2013-04-27 Allan McRae <allan@archlinux.org>
37799 * sysdeps/i386/fpu/libm-test-ulps: Update.
37801 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37804 * math/s_catan.c: Include <float.h>.
37805 (__catan): Ensure underflow exception occurs for underflowed
37807 * math/s_catanf.c: Include <float.h>.
37808 (__catanf): Ensure underflow exception occurs for underflowed
37810 * math/s_catanh.c: Include <float.h>.
37811 (__catanh): Ensure underflow exception occurs for underflowed
37813 * math/s_catanhf.c: Include <float.h>.
37814 (__catanhf): Ensure underflow exception occurs for underflowed
37816 * math/s_catanhl.c: Include <float.h>.
37817 (__catanhl): Ensure underflow exception occurs for underflowed
37819 * math/s_catanl.c: Include <float.h>.
37820 (__catanl): Ensure underflow exception occurs for underflowed
37822 * math/libm-test.inc (catan_test): Add more tests.
37823 (catanh_test): Likewise.
37826 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37827 underflowed result.
37828 * math/s_ccoshf.c (__ccoshf): Likewise.
37829 * math/s_ccoshl.c (__ccoshl): Likewise.
37830 * math/s_csin.c (__csin): Likewise.
37831 * math/s_csinf.c (__csinf): Likewise.
37832 * math/s_csinh.c (__csinh): Likewise.
37833 * math/s_csinhf.c (__csinhf): Likewise.
37834 * math/s_csinhl.c (__csinhl): Likewise.
37835 * math/s_csinl.c (__csinl): Likewise.
37836 * math/libm-test.inc (ccos_test): Add more tests.
37837 (ccosh_test): Likewise.
37838 (csin_test): Likewise.
37839 (csinh_test): Likewise.
37841 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37843 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37844 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37845 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37846 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37847 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37848 powerpc/power5+/fpu folders.
37849 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37852 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37856 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37858 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37859 additions to variable.
37860 [$(config-machine) = x86_64] (modules-names): Likewise.
37861 ($(objpfx)tst-audit3): Remove dependency.
37862 ($(objpfx)tst-audit3.out): Likewise.
37863 ($(objpfx)tst-audit4): Likewise.
37864 ($(objpfx)tst-audit4.out): Likewise.
37865 ($(objpfx)tst-audit5): Likewise.
37866 ($(objpfx)tst-audit5.out): Likewise.
37867 ($(objpfx)tst-audit6): Likewise.
37868 ($(objpfx)tst-audit6.out): Likewise.
37869 ($(objpfx)tst-audit7): Likewise.
37870 ($(objpfx)tst-audit7.out): Likewise.
37871 (tst-audit3-ENV): Remove variable.
37872 (tst-audit4-ENV): Likewise.
37873 (tst-audit5-ENV): Likewise.
37874 (tst-audit6-ENV): Likewise.
37875 (tst-audit7-ENV): Likewise.
37876 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37877 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37878 addition to variable.
37879 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37880 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37881 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37882 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37883 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37884 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37885 tst-audit3, tst-audit4 and tst-audit5.
37886 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37887 tst-audit6 and tst-audit7.
37888 [$(subdir) = elf] (modules-names): Add audit modules for those
37890 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37891 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37892 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37893 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37894 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37895 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37896 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37897 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37898 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37899 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37900 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37901 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37902 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37903 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37904 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37905 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37907 [$(subdir) = elf && $(config-cflags-avx) = yes]
37908 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37909 [$(subdir) = elf && $(config-cflags-avx) = yes]
37910 (CFLAGS-tst-auditmod4a.c): Likewise.
37911 [$(subdir) = elf && $(config-cflags-avx) = yes]
37912 (CFLAGS-tst-auditmod4b.c): Likewise.
37913 [$(subdir) = elf && $(config-cflags-avx) = yes]
37914 (CFLAGS-tst-auditmod6b.c): Likewise.
37915 [$(subdir) = elf && $(config-cflags-avx) = yes]
37916 (CFLAGS-tst-auditmod6c.c): Likewise.
37917 [$(subdir) = elf && $(config-cflags-avx) = yes]
37918 (CFLAGS-tst-auditmod7b.c): Likewise.
37919 * elf/tst-audit3.c: Move to ...
37920 * sysdeps/x86_64/tst-audit3.c: ... here.
37921 * elf/tst-audit4.c: Move to ...
37922 * sysdeps/x86_64/tst-audit4.c: ... here.
37923 * elf/tst-audit5.c: Move to ...
37924 * sysdeps/x86_64/tst-audit5.c: ... here.
37925 * elf/tst-audit6.c: Move to ...
37926 * sysdeps/x86_64/tst-audit6.c: ... here.
37927 * elf/tst-audit7.c: Move to ...
37928 * sysdeps/x86_64/tst-audit7.c: ... here.
37929 * elf/tst-auditmod3a.c: Move to ...
37930 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37931 * elf/tst-auditmod3b.c: Move to ...
37932 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37933 * elf/tst-auditmod4a.c: Move to ...
37934 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37935 * elf/tst-auditmod4b.c: Move to ...
37936 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37937 * elf/tst-auditmod5a.c: Move to ...
37938 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37939 * elf/tst-auditmod5b.c: Move to ...
37940 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37941 * elf/tst-auditmod6a.c: Move to ...
37942 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37943 * elf/tst-auditmod6b.c: Move to ...
37944 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37945 * elf/tst-auditmod6c.c: Move to ...
37946 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37947 * elf/tst-auditmod7a.c: Move to ...
37948 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37949 * elf/tst-auditmod7b.c: Move to ...
37950 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37952 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37955 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37956 define unconditionally.
37957 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37958 define unconditionally.
37959 (INT8_C, INT16_C, etc.): Likewise.
37961 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37963 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37964 __ehdr_start with hidden visibility.
37966 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37968 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37970 * math/libm-test.inc (cos_test): Use accurate hex constants.
37971 (sincost_test): Likewise.
37973 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37975 * math/libm-test.inc (catan_test): Add more tests.
37976 (catanh_test): Likewise.
37978 * math/s_catanf.c (__catanf): Use suffixed floating-point
37980 * math/s_catanhf.c (__catanhf): Likewise.
37981 * math/s_catanhl.c (__catanhl): Likewise.
37982 * math/s_catanl.c (__catanl): Likewise.
37985 * math/s_catan.c (__catan): Calculate imaginary part of result
37986 with log1p not log unless computing log of number close to 0.
37987 * math/s_catanf.c (__catanf): Likewise.
37988 * math/s_catanl.c (__catanl): Likewise.
37989 * math/s_catanh.c (__catanh): Calculate real part of result with
37990 log1p not log unless computing log of number close to 0.
37991 * math/s_catanhf.c (__catanhf): Likewise.
37992 * math/s_catanhl.c (__catanhl): Likewise.
37993 * math/libm-test.inc (catan_test): Add more tests.
37994 (catanh_test): Likewise.
37995 * sysdeps/i386/fpu/libm-test-ulps: Update.
37996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37998 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38000 * benchtests/Makefile: Mention files in which fast and slow
38001 paths of math functions are implemented.
38003 2013-04-23 Roland McGrath <roland@hack.frob.com>
38005 * sysdeps/posix/timespec_get.c: New file.
38007 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38009 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38011 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38013 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38014 powerpc/power5/fpu folders.
38015 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38016 * benchtests/Makefile: Add modf testcase.
38017 * benchtests/bench-modf.c: New file: Benchmark test for mo
38019 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38022 * time/Makefile (tests): Add tst-strptime-whitespace.
38023 * time/strptime_l.c (get_number): Use ISSPACE.
38024 (__strptime_internal): Likewise.
38025 * time/tst-strptime-whitespace.c: New test case.
38027 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38029 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38031 (_nss_files_init): Set it here.
38033 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38035 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38036 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38039 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38041 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38043 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38048 2013-04-21 David S. Miller <davem@davemloft.net>
38050 * po/ru.po: Update Russion translation from translation project.
38052 2013-04-17 Adam Conrad <adconrad@0c3.net>
38054 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38057 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38059 * configure.in: Remove i386 configure warning. Remove i386 case.
38060 * configure: Regenerate.
38061 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38062 Add example to error message.
38063 * sysdeps/i386/configure: Regenerate.
38065 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38067 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38069 * benchtests/cos-inputs: New file.
38070 * benchtests/slowcos-inputs: New file.
38071 * benchtests/slowcos.c: New file.
38072 * benchtests/slowtan-inputs: New file.
38073 * benchtests/slowtan.c: New file.
38074 * benchtests/tan-inputs: New file.
38076 2013-04-16 Roland McGrath <roland@hack.frob.com>
38078 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38081 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38083 * benchtests/Makefile: Include cppflags-iterator.mk to add
38084 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38086 * Makefile.in (bench-clean): New target.
38087 * benchtests/Makefile (bench-clean): Likewise.
38089 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38091 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38093 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38095 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38097 2013-04-15 Andreas Schwab <schwab@suse.de>
38099 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38101 * nscd/pwdcache.c (cache_addpw): Likewise.
38102 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38105 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38107 * benchtests/Makefile (bench): Write all output to
38108 bench-out.tmp together.
38110 2013-04-15 Andreas Schwab <schwab@suse.de>
38112 * nscd/nscd.c (main): Don't fork again after closing files.
38114 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38116 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38118 * benchtests/Rules (bench-deps): Collect dependencies into a
38119 single variable. Add Makefile to dependencies.
38120 ($(objpfx)bench-%.c): Depend on bench-deps.
38122 2013-04-12 Roland McGrath <roland@hack.frob.com>
38123 Xavier Roche <roche+kml2@exalead.com>
38126 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38127 just that it's a file descriptor.
38128 * manual/llio.texi (Synchronizing AIO Operations): Update description
38129 for EBADF error from aio_fsync.
38131 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38133 * Rules (bench): Move target definition...
38134 * benchtests/Makefile: ... here.
38136 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38138 * math/libm-test.inc (cos_test): Fix PI/2 test.
38139 (sincos_test): Likewise.
38140 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38141 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38143 2013-04-11 Andreas Schwab <schwab@suse.de>
38146 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38147 accept exponent character only when digits were seen.
38148 * stdio-common/Makefile (tests): Add bug26.
38149 * stdio-common/bug26.c: New file.
38152 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38155 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38157 * Makeconfig (rtld-prefix): Define built linker prefix.
38158 * Rules (run-bench): Use it.
38159 * math/Makefile (run-regen-ulps): Likewise.
38161 * Rules (bench): Remove eval.
38163 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38164 Roland McGrath <roland@hack.frob.com>
38165 Ondrej Bilka <neleai@seznam.cz>
38168 * time/getdate.c: Include ctype.h and alloca.h.
38169 (__getdate_r): Trim leading and trailing spaces of input.
38170 * time/tst-getdate.c (tests): Add tests with leading and
38173 2013-04-08 Roland McGrath <roland@hack.frob.com>
38176 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38177 when computing value.
38179 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38181 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38182 Use testrun.sh to run libm tests.
38185 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38187 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38190 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38192 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38194 * Makefile.in (regen-ulps): New target.
38195 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38196 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38197 [ifneq (no,$(PERL)] (regen-ulps): New target.
38198 [ifeq (no,$(PERL)] (regen-ulps): New target.
38199 * math/libm-test.inc (ulps_file_name): Define.
38200 (output_dir): New variable.
38201 (options): Add "output-dir" option.
38202 (parse_opt): Handle 'o' case.
38203 (main): If output_dir is non-NULL use it as a prefix
38205 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38207 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38209 [BZ #10060, #10062]
38210 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38211 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38212 fail configure if __sync_val_compare_and_swap is not inlined.
38213 * sysdeps/i386/configure: Regenerate.
38214 * configure.in: Build for i686 when configured for i386.
38215 * configure: Regenerate.
38216 * README: Remove i386 reference.
38218 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38220 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38223 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38225 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38226 (lmsnanval): New variables.
38227 (F): Add conversion tests.
38228 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38229 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38231 * stdio-common/tstdiomisc.c (F): Properly collect individual
38234 [BZ #14686, #15336]
38235 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38236 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38237 Instead, use input NaN values or generate a qNaN by arithmetic
38238 operation. Also fix bugs to comply with the standard.
38239 * math/libm-test.inc (remainder_test): Add more tests.
38241 [BZ #15335, #15342]
38242 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38244 input NaN values or generate a qNaN by arithmetic operation.
38246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38249 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38252 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38255 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38256 underflowed result.
38257 * math/s_cexpf.c (__cexpf): Likewise.
38258 * math/s_cexpl.c (__cexpl): Likewise.
38259 * math/libm-test.inc (cexp_test): Add more tests.
38261 2013-04-03 Andreas Schwab <schwab@suse.de>
38264 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38265 order arrays from heap if bigger than alloca cutoff.
38267 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38269 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38270 (SNAN_TESTS_double): Refer to GCC PR56831.
38271 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38274 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38276 * Rules (bench): Move bench.out after the run is complete.
38278 * Rules (bench): Echo currently running benchmark.
38280 * benchtests/Makefile (bench): Add atan and slowatan.
38281 * benchtests/atan-inputs: New file.
38282 * benchtests/slowatan-inputs: New file.
38283 * benchtests/slowatan.c: New file.
38285 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38286 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38290 * sysdeps/unix/sysv/linux/kernel-features.h
38291 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38292 __ASSUME_XFS_RESTRICTED_CHOWN.
38293 * sysdeps/unix/sysv/linux/pathconf.c
38294 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38295 Save and restore errno.
38297 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38300 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38301 arguments using __kernel_casinh.
38302 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38303 arguments using __kernel_casinhf.
38304 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38305 arguments using __kernel_casinhl.
38306 * math/libm-test.inc (cacosh_test): Add more tests.
38307 * sysdeps/i386/fpu/libm-test-ulps: Update.
38308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38310 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38312 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38315 * bench/Makefile (bench): Add sin and slowsin.
38316 * benchtests/sin-inputs: New file.
38317 * benchtests/slowsin-inputs: New file.
38318 * benchtests/slowsin.c: New file.
38320 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38321 (bench): Add slowexp and slowpow.
38322 (exp-ITER): Increase iterations.
38323 (pow-ITER): Likewise.
38324 * benchtests/exp-inputs: Change input.
38325 * benchtests/pow-inputs: Likewise.
38326 * benchtests/slowexp-inputs: New file.
38327 * benchtests/slowexp.c: New file.
38328 * benchtests/slowpow-inputs: New file.
38329 * benchtests/slowpow.c: New file.
38331 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38333 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38335 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38336 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38337 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38338 * benchtests/Makefile: Add rint benchtest.
38339 * benchtests/rint-inputs: Input for rint benchtest.
38341 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38343 * Versions.def (libm): Add GLIBC_2.18.
38344 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38345 hidden libm prototypes.
38346 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38347 * math/Makefile (libm-calls): Add s_issignaling.
38348 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38349 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38350 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38352 * math/math.h [__USE_GNU] (issignaling): New macro.
38353 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38354 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38355 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38359 * manual/arith.texi (issignaling): New section.
38360 * manual/libm-err-tab.pl (@all_functions): Update comment.
38361 * math/gen-libm-test.pl (parse_args): Apply special handling for
38363 * math/libm-test.inc (print_float, issignaling_test): New
38365 (check_float_internal): Add issignaling checks.
38366 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38367 default definition.
38368 * sysdeps/powerpc/math-tests.h: New file.
38369 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38371 * math/test-snan.c (TEST_FUNC): Likewise.
38373 2013-03-30 David S. Miller <davem@davemloft.net>
38375 * po/de.po: Update from translation team.
38377 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38380 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38381 imaginary part less than 1.0 and real part less than 0.5
38383 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38384 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38385 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38386 (cacos_test): Add more tests.
38387 (casin_test): Likewise.
38388 (casinh_test): Likewise.
38389 * sysdeps/i386/fpu/libm-test-ulps: Update.
38390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38392 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38394 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38395 ONE with its value.
38397 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38398 (__pow_mp): Replace ONE and MONE with their values.
38399 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38400 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38401 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38402 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38403 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38404 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38406 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38408 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38409 (__pow_mp): Replace ZERO and MZERO with their values.
38410 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38412 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38414 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38415 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38418 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38420 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38422 2013-03-28 Roland McGrath <roland@hack.frob.com>
38424 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38425 Declare with __attribute__ ((weak)).
38426 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38427 Call __call_tls_dtors only if it's not NULL.
38429 2013-03-28 Roland McGrath <roland@hack.frob.com>
38431 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38432 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38433 magic __ehdr_start linker symbol if it's defined.
38434 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38435 them up here if it was already done.
38437 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38438 (_dl_aux_init): Use const in cast when setting it.
38439 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38440 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38441 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38443 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38445 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38446 * csu/libc-tls.c: Nor here.
38447 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38449 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38450 (__libc_message): Never call vsyslog.
38452 2013-03-28 Alan Modra <amodra@gmail.com>
38454 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38456 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38459 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38462 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38466 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38469 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38470 Don't add gid passed as argument.
38472 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38474 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38477 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38478 imaginary part between 1.0 and 1.5 and real part less than 0.5
38480 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38481 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38482 * math/libm-test.inc (cacos_test): Add more tests.
38483 (casin_test): Likewise.
38484 (casinh_test): Likewise.
38485 * sysdeps/i386/fpu/libm-test-ulps: Update.
38486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38490 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38493 (denorm): Likewise.
38494 (__dbl_mp): Likewise.
38495 (add_magnitudes): Likewise.
38496 (sub_magnitudes): Likewise.
38504 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38506 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38507 (__dubcos): Likewise.
38508 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38509 (__ieee754_acos): Likewise.
38510 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38511 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38512 (__exp1): Likewise.
38513 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38516 (my_log2): Likewise.
38517 (checkint): Likewise.
38518 * sysdeps/ieee754/dbl-64/e_remainder.c
38519 (__ieee754_remainder): Likewise.
38520 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38522 (bsloww): Likewise.
38523 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38525 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38526 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38527 MANTISSA_STORE_T to store computations on mantissa. Use
38528 macros for rounding and division.
38529 (denorm): Likewise.
38530 (__dbl_mp): Likewise.
38531 (add_magnitudes): Likewise.
38532 (sub_magnitudes): Likewise.
38535 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38536 powers of two in terms of TWOPOW macro.
38537 (mp_no): Make type of mantissa as MANTISSA_T.
38538 [!RADIXI]: Define RADIXI.
38539 [!TWO52]: Define TWO52.
38540 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38542 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38544 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38545 llroundl symbol when building for PPC32.
38547 2013-03-24 Mark H Weaver <mhw@netris.org>
38549 * manual/arith.texi (Normalization Functions): Fix prototypes for
38550 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38552 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38556 high value to check if expl overflow.
38557 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38558 to check for underflow and overflow.
38559 * math/libm-test.inc: Add exp test.
38561 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38564 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38567 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38569 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38572 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38574 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38575 wrap blocks consisting of several statements.
38577 * sysdeps/generic/math-tests.h: New file.
38578 * sysdeps/i386/fpu/math-tests.h: Likewise.
38579 * math/test-snan.c: Include it.
38580 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38582 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38585 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38586 (__ieee754_j0l): Do not improve calculations using cos of twice
38587 input for inputs above LDBL_MAX / 2.0L.
38588 (__ieee754_y0l): Likewise.
38589 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38590 (__ieee754_j1l): Do not improve calculations using cos of twice
38591 input for inputs above LDBL_MAX / 2.0L.
38592 (__ieee754_y1l): Likewise.
38593 * math/libm-test.inc (j0_test): Add another test.
38594 (j1_test): Likewise.
38595 (y0_test): Likewise.
38596 (y1_test): Likewise.
38597 * sysdeps/i386/fpu/libm-test-ulps: Update.
38599 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38601 * Rules ($(objpfx)bench-%.c): Include code from a C source
38604 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38607 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38608 imaginary part 1.0 and real part less than 0.5 specially.
38609 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38610 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38611 * math/libm-test.inc (cacos_test): Add more tests.
38612 (casin_test): Likewise.
38613 (casinh_test): Likewise.
38614 * sysdeps/i386/fpu/libm-test-ulps: Update.
38615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38617 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38619 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38620 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38622 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38624 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38625 * config.make.in (config-cflags-sse4): Remove variable.
38626 (config-cflags-avx): Likewise.
38627 (config-cflags-sse2avx): Likewise.
38628 (config-cflags-novzeroupper): Likewise.
38629 (config-asflags-i686): Likewise.
38630 (have-mfma4): Likewise.
38631 (have-as-vis3): Likewise.
38633 * configure.in (MIG): Do not AC_SUBST.
38634 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38635 (libc_cv_cc_sse4): Do not AC_SUBST.
38636 (libc_cv_cc_avx): Likewise.
38637 (libc_cv_cc_sse2avx): Likewise.
38638 (libc_cv_cc_novzeroupper): Likewise.
38639 (libc_cv_cc_fma4): Likewise.
38640 (libc_cv_as_i686): Likewise.
38641 (libc_cv_sparc_as_vis3): Likewise.
38642 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38644 (config-asflags-i686): Likewise.
38645 (config-cflags-avx): Likewise.
38646 (config-cflags-sse2avx): Likewise.
38647 (have-mfma4): Likewise.
38648 (config-cflags-novzeroupper): Likewise.
38649 * sysdeps/mach/configure.in (MIG): Likewise.
38650 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38651 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38653 (config-cflags-avx): Likewise.
38654 (config-cflags-sse2avx): Likewise.
38655 (have-mfma4): Likewise.
38656 (config-cflags-novzeroupper): Likewise.
38657 * configure: Regenerated.
38658 * sysdeps/i386/configure: Likewise.
38659 * sysdeps/mach/configure: Likewise.
38660 * sysdeps/sparc/configure: Likewise.
38661 * sysdeps/x86_64/configure: Likewise.
38663 2013-03-20 Roland McGrath <roland@hack.frob.com>
38666 * locale/programs/localedef.c (options): Put N_ translation marker
38667 on argument names, not just descriptions.
38669 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38671 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38673 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38676 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38678 2013-03-19 Roland McGrath <roland@hack.frob.com>
38680 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38681 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38682 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38683 [!BEFORE_ABORT] (before_abort): New function.
38684 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38685 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38686 (writev_for_fatal): New function.
38687 (WRITEV_FOR_FATAL): New macro; call that.
38688 (backtrace_and_maps): New function.
38689 (BEFORE_ABORT): New macro; call that.
38690 (struct str_list): Type removed.
38691 (__libc_message, __libc_fatal): Functions removed.
38692 Include <sysdeps/posix/libc_fatal.c> instead.
38694 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38696 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38698 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38701 2013-03-19 Andreas Schwab <schwab@suse.de>
38703 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38704 * sysdeps/gnu/configure: Regenerate.
38706 * configure.in: Substitute libc_cv_rtlddir.
38707 * configure: Regenerate.
38708 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38709 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38710 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38711 * elf/Makefile (install-others, CFLAGS-interp.c)
38712 (ldso_install, common-ldd-rewrite): Likewise.
38713 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38714 $(inst_slibdir)/$(rtld-installed-name).
38715 * scripts/rellns-sh: Add -p option.
38716 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38719 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38721 * manual/nptl.texi: Renamed to ...
38722 * manual/threads.texi: ... this.
38723 * manual/Makefile (chapters): Update.
38725 2013-03-18 Roland McGrath <roland@hack.frob.com>
38728 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38729 on argument names, not just descriptions.
38730 * malloc/memusagestat.c (options): Likewise.
38731 * nss/getent.c (options): Likewise.
38733 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38736 * iconv/iconv_prog.c (options): Put N_ translation marker
38737 on argument names, not just descriptions.
38738 * iconv/iconvconfig.c (options): Likewise.
38740 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38742 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38743 implementation which is faster on all x86_64 architectures.
38744 Tested on AMD, Intel Nehalem, SNB, IVB.
38745 * sysdeps/x86_64/strnlen.S: Likewise.
38747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38748 Remove all multiarch strlen and strnlen versions.
38749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38750 Remove strlen and strnlen related parts.
38752 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38753 Inline strlen part.
38754 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38756 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38757 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38759 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38760 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38761 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38763 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38765 * manual/memory.texi (Malloc Tunable Parameters):
38766 Sort parameters alphabetically. Add comments for missing entries.
38768 2013-03-17 David S. Miller <davem@davemloft.net>
38770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38772 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38775 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38776 for arguments at most half maximum finite value.
38777 * math/libm-test.inc (j0_test): Add more tests.
38778 (j1_test): Likewise.
38779 (y0_test): Likewise.
38780 (y1_test): Likewise.
38781 * sysdeps/i386/fpu/libm-test-ulps: Update.
38782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38785 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38786 1 / x and functions P and Q for arguments above 0x1p256L.
38787 (__ieee754_y0l): Likewise.
38788 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38789 (__ieee754_y1l): Likewise.
38790 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38791 (j1_test): Likewise.
38792 (y0_test): Likewise.
38793 (y1_test): Likewise.
38795 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38797 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38800 2013-03-15 Roland McGrath <roland@hack.frob.com>
38802 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38803 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38804 zero since it's initialized to EXEC_PAGESIZE.
38806 * sysdeps/unix/sysv/linux/ldsodefs.h
38807 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38808 * sysdeps/generic/ldsodefs.h: ... here.
38810 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38812 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38814 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38816 * math/test-snan.c: Renamed from
38817 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38818 * math/Makefile (tests): Add test-snan.
38819 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38822 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38823 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38825 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38826 __builtin_nan family of functions.
38827 * math/libm-test.inc (initialize): Initialize qnan_value with
38828 __builtin_nan family of functions.
38829 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38831 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38833 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38834 storage class. Initialize qNaN_var and sNaN_var with
38835 __builtin_nan and __builtin_nans families of functions,
38838 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38839 (sqrt_test): Remove duplicate test with qNaN input.
38840 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38841 (round_test, signbit_test, significand_test): Note missing +/-Inf
38842 as well as qNaN tests.
38844 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38845 qNaN_var. Fix a few strings, too.
38846 * math/libm-test.inc (nan_value): Rename to qnan_value.
38847 * math/gen-libm-test.pl (%beautify): Adjust to that.
38848 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38849 * math/test-misc.c (main): Likewise.
38850 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38851 to __qnan_bytes, and __qnan_union, respectively.
38852 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38854 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38855 and lqnanval, respectively.
38856 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38857 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38858 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38859 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38861 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38862 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38865 * math/test-misc.c (main): Fix copy'n'pastos.
38866 * misc/tst-efgcvt.c (special): Likewise.
38868 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38869 Remove declarations.
38871 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38873 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38874 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38875 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38876 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38878 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38881 macro to return vdso values correctly in IFUNC implementations.
38882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38883 Optimization by using IFUNC.
38885 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38886 Richard Henderson <rth@redhat.com>
38887 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38889 * Makefile.in (bench): New target.
38890 * NEWS: Mention the benchmark framework.
38891 * Rules (bench): Likewise.
38892 (binaries-bench): Generate binaries for functions to
38894 * benchtests/Makefile: New makefile for benchmark tests.
38895 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38897 * benchtests/exp-inputs: New input file for EXP function.
38898 * benchtests/pow-inputs: New input file for POW function.
38899 * scripts/bench.pl: New script to generate source files for
38900 benchmark programs.
38902 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38904 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38905 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38906 computations on mantissa. Use macros for rounding and
38908 (denorm): Likewise.
38909 (__dbl_mp): Likewise.
38910 (add_magnitudes): Likewise.
38911 (sub_magnitudes): Likewise.
38914 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38915 powers of two in terms of TWOPOW macro.
38916 (mp_no): Make type of mantissa as MANTISSA_T.
38917 [!RADIXI]: Define RADIXI.
38918 [!TWO52]: Define TWO52.
38919 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38921 * manual/nptl.texi (cindex): Modify threads to pthreads.
38923 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38925 * sysdeps/x86_64/preconfigure: Regenerated.
38927 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38930 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38932 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38933 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38935 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38936 * math/libm-test.inc (j0_test): Do not allow one spurious
38937 underflow exception.
38938 (y1_test): Likewise.
38940 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38942 * manual/Makefile (chapters): Add nptl.
38943 * manual/debug.texi (Debugging Support): Add link to Threads
38945 * manual/nptl.texi: New file.
38947 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38949 2013-03-14 Petr Baudis <pasky@ucw.cz>
38951 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38952 for non-NULL pointer before the memory validity test. Pointed
38953 out by Holger Brunck <holger.brunck@keymile.com>.
38955 2013-03-13 Andreas Schwab <schwab@suse.de>
38957 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38960 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38962 * timezone/zic.c: Update from tzcode 2013b.
38964 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38966 * manual/install.texi (Configuring and compiling):
38967 Mention i686 and i586.
38968 * INSTALL: Regenerate.
38970 2013-03-12 Roland McGrath <roland@hack.frob.com>
38972 * sysdeps/init_array/elf-init.c: New file.
38974 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38975 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38977 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38978 __gmon_start__ as global, but as static with a .preinit_array pointer.
38979 * sysdeps/init_array/gmon-start.c: New file. Use that.
38980 * sysdeps/init_array/crti.S: New file, empty except for comments.
38981 * sysdeps/init_array/crtn.S: Likewise.
38983 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38985 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38988 Remove Prefer_SSE_for_memop.
38989 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38990 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38991 HAS_PREFER_SSE_FOR_MEMOP.
38992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38995 Remove bzero, memset ifunc support.
38996 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38998 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38999 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39001 2013-03-11 Andreas Schwab <schwab@suse.de>
39004 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39007 (GLIBC_2.16): Remove pthread_atfork.
39009 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39011 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39012 (ptestcases.h): Likewise.
39014 2013-03-08 Roland McGrath <roland@hack.frob.com>
39016 * Makeconfig ($(common-objpfx)config.status): Depend on
39017 sysdeps/*/preconfigure{,.in} too.
39019 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39021 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39022 (__free_hook): Use void * instead of __malloc_ptr_t.
39023 (__malloc_hook): Likewise.
39024 (__realloc_hook): Likewise.
39025 (__memalign_hook): Likewise.
39026 (__after_morecore_hook): Likewise.
39027 * malloc/arena.c (save_malloc_hook): Likewise.
39028 (save_free_hook): Likewise.
39029 * malloc/hooks.c (malloc_hook_ini): Likewise.
39030 (realloc_hook_ini): Likewise.
39031 (memalign_hook_ini): Likewise.
39032 * malloc/malloc.c (malloc_hook_ini): Likewise.
39033 (realloc_hook_ini): Likewise.
39034 (memalign_hook_ini): Likewise.
39035 (__free_hook): Likewise.
39036 (__malloc_hook): Likewise.
39037 (__realloc_hook): Likewise.
39038 (__memalign_hook): Likewise.
39039 (__libc_malloc): Likewise.
39040 (__libc_free): Likewise.
39041 (__libc_realloc): Likewise.
39042 (__libc_memalign): Likewise.
39043 (__libc_valloc): Likewise.
39044 (__libc_pvalloc): Likewise.
39045 (__libc_calloc): Likewise.
39046 (__posix_memalign): Likewise.
39047 * malloc/morecore.c (__sbrk): Likewise.
39048 (__default_morecore): Likewise.
39050 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39052 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39053 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39054 __malloc_ptrdiff_t.
39056 * malloc/malloc.h (__malloc_size_t): Remove macro.
39057 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39059 (old_memalign_hook): Likewise.
39060 (old_realloc_hook): Likewise.
39061 (struct hdr): Likewise.
39063 (mallochook): Likewise.
39064 (memalignhook): Likewise.
39065 (reallochook): Likewise.
39066 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39067 (tr_old_realloc_hook): Likewise.
39068 (tr_old_memalign_hook): Likewise.
39069 (tr_mallochook): Likewise.
39070 (tr_reallochook): Likewise.
39071 (tr_memalignhook): Likewise.
39073 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39075 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39076 default_ldbl_pack and using as default implementation.
39077 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39079 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39080 redundant definition.
39081 (ldbl_insert_mantissa): Likewise.
39082 (ldbl_canonicalize): Likewise.
39083 (ldbl_nearbyint): Likewise.
39084 (ldbl_pack): Rename to ldbl_pack_ppc.
39085 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39086 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39087 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39089 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39092 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39093 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39094 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39096 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39097 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39098 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39100 2013-03-07 Andreas Jaeger <aj@suse.de>
39102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39105 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39107 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39108 Include mpa.h and declare __MPEXP.
39109 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39110 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39111 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39113 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39114 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39115 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39117 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39118 (__slowpow): Use long double EXPL and LOGL functions to
39120 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39121 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39122 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39123 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39124 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39128 intermediate variable to calculate exponent.
39130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39134 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39135 [!NO__SQR]: Define __sqr.
39136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39137 and NO__SQR. Remove all code except __mul and __sqr. Include
39138 sysdeps/ieee754/dbl-64/mpa.c.
39139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39142 * posix/Makefile (tests): Add tst-pathconf.
39143 * posix/tst-pathconf.c: New test case.
39144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39146 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39148 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39150 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39152 2013-03-06 Andreas Jaeger <aj@suse.de>
39154 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39155 definition via __MAP_ANONYMOUS.
39157 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39158 it's not part of Linux headers.
39160 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39161 (MAP_HUGE_MASK): Define.
39163 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39165 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39168 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39169 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39171 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39174 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39176 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39177 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39178 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39179 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39180 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39181 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39187 Handle f2fs and efivarfs.
39189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39192 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39193 (EFIVARFS_MAGIC): Add.
39194 (F2FS_LINK_MAX): Add.
39196 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39198 * stdio-common/vfprintf.c: Replace __builtin_expect with
39201 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39204 * sysdeps/generic/bp-sym.h: Remove file.
39205 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39206 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39207 <bp-sym.h> and <bp-asm.h>.
39208 (__longjmp): Don't use BP_SYM.
39209 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39211 (memcpy): Don't use BP_SYM.
39212 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39213 <bp-sym.h> and <bp-asm.h>.
39214 (memcpy): Don't use BP_SYM.
39215 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39217 (memcpy): Don't use BP_SYM.
39218 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39220 (memset): Don't use BP_SYM.
39221 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39222 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39223 (__bzero): Don't use BP_SYM.
39224 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39225 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39226 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39227 <bp-sym.h> and <bp-asm.h>.
39228 (memcmp): Don't use BP_SYM. Remove comment about bounded
39230 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39231 <bp-sym.h> and <bp-asm.h>.
39232 (memcpy): Don't use BP_SYM.
39233 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39234 <bp-sym.h> and <bp-asm.h>.
39235 (memset): Don't use BP_SYM.
39236 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39237 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39238 (__bzero): Don't use BP_SYM.
39239 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39240 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39241 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39242 <bp-sym.h> and <bp-asm.h>.
39243 (strncmp): Don't use BP_SYM. Remove comment about bounded
39245 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39246 <bp-sym.h> and <bp-asm.h>.
39247 (memcpy): Don't use BP_SYM.
39248 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39249 <bp-sym.h> and <bp-asm.h>.
39250 (memset): Don't use BP_SYM.
39251 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39252 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39253 (__bzero): Don't use BP_SYM.
39254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39256 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39257 <bp-sym.h> and <bp-asm.h>.
39258 (__memchr): Don't use BP_SYM.
39259 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39260 <bp-sym.h> and <bp-asm.h>.
39261 (memcmp): Don't use BP_SYM. Remove comment about bounded
39263 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39264 <bp-sym.h> and <bp-asm.h>.
39265 (memcpy): Don't use BP_SYM.
39266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39267 <bp-sym.h> and <bp-asm.h>.
39268 (__mempcpy): Don't use BP_SYM.
39269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39270 <bp-sym.h> and <bp-asm.h>.
39271 (__memrchr): Don't use BP_SYM.
39272 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39273 <bp-sym.h> and <bp-asm.h>.
39274 (memset): Don't use BP_SYM.
39275 (__bzero): Likewise.
39276 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39277 <bp-sym.h> and <bp-asm.h>.
39278 (__rawmemchr): Don't use BP_SYM.
39279 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39280 <bp-sym.h> and <bp-asm.h>.
39281 (__STRCMP): Don't use BP_SYM.
39282 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39283 <bp-sym.h> and <bp-asm.h>.
39284 (strchr): Don't use BP_SYM.
39285 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39286 <bp-sym.h> and <bp-asm.h>.
39287 (__strchrnul): Don't use BP_SYM.
39288 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39289 <bp-sym.h> and <bp-asm.h>.
39290 (strlen): Don't use BP_SYM.
39291 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39292 <bp-sym.h> and <bp-asm.h>.
39293 (strncmp): Don't use BP_SYM. Remove comment about bounded
39295 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39296 <bp-sym.h> and <bp-asm.h>.
39297 (__strnlen): Don't use BP_SYM.
39298 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39299 <bp-sym.h> and <bp-asm.h>.
39300 (__GI__setjmp): Don't use BP_SYM.
39301 (_setjmp): Likewise.
39302 (__sigsetjmp): Likewise.
39303 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39304 (L(start_addresses)): Don't use BP_SYM.
39305 (_start): Likewise.
39306 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39308 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39309 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39310 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39311 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39312 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39314 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39315 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39316 about bounded pointers.
39317 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39318 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39319 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39321 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39322 about bounded pointers. Remove GKM FIXME comments.
39323 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39324 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39326 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39327 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39328 Remove GKM FIXME comments.
39329 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39330 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39331 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39333 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39334 about bounded pointers. Remove GKM FIXME comment.
39335 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39337 (strncmp): Don't use BP_SYM. Remove comment about bounded
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39340 <bp-sym.h> and <bp-asm.h>.
39341 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39343 <bp-sym.h> and <bp-asm.h>.
39344 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39347 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39349 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39352 2013-03-05 David S. Miller <davem@davemloft.net>
39354 * po/es.po: Update from translation team.
39356 2013-03-05 Andreas Jaeger <aj@suse.de>
39358 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39359 <bits/mman-linux.h>.
39360 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39362 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39363 <bits/mman-linux.h> to end of file.
39364 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39366 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39367 <bits/mman-linux.h> to end of file.
39368 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39370 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39371 <bits/mman-linux.h> to end of file.
39373 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39374 (MCL_CURRENT, MCL_FUTURE): Define here.
39376 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39379 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39381 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39383 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39385 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39386 fourth parameter needed for rt_sigprocmask syscall.
39387 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39388 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39389 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39390 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39391 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39392 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39394 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39397 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39398 comment about bounded pointers.
39399 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39400 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39402 2013-03-04 Andreas Jaeger <aj@suse.de>
39404 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39405 common definitions.
39407 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39408 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39409 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39411 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39414 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39417 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39418 __ieee754_sqrl instead of __sqrl.
39420 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39422 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39423 * sysdeps/powerpc/fpu_control.h: ... here.
39424 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39425 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39426 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39427 * sysdeps/powerpc/bits/mathinline.h: ... here.
39429 2013-03-01 Roland McGrath <roland@hack.frob.com>
39431 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39432 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39433 to just [NEED_DL_SYSINFO_DSO].
39434 * elf/dl-support.c: Likewise.
39435 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39436 * elf/rtld.c (dl_main): Likewise.
39437 * elf/setup-vdso.h (setup_vdso): Likewise.
39438 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39439 * sysdeps/unix/sysv/linux/dl-sysdep.c
39440 (_dl_discover_osversion): Likewise.
39442 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39444 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39445 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39447 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39449 * NEWS: Mention libm performance improvements and non-x86 PI
39452 * csu/libc-start.c (__pthread_initialize_minimal): Change
39453 function arguments.
39454 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39456 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39459 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39460 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39461 <bp-sym.h> and <bp-asm.h>.
39462 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39463 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39465 (memcpy): Don't use BP_SYM.
39466 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39468 (__mpn_add_n): Don't use BP_SYM.
39469 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39470 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39472 (__mpn_addmul_1): Don't use BP_SYM.
39473 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39474 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39476 (_setjmp): Don't use BP_SYM.
39477 (__novmx_setjmp): Likewise.
39478 (__GI__setjmp): Likewise.
39479 (__vmx_setjmp): Likewise.
39480 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39482 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39483 (__bzero): Don't use BP_SYM.
39484 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39485 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39486 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39487 <bp-sym.h> and <bp-asm.h>.
39488 (memcpy): Don't use BP_SYM.
39489 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39490 <bp-sym.h> and <bp-asm.h>.
39491 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39492 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39493 <bp-sym.h> and <bp-asm.h>.
39494 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39495 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39497 (__mpn_lshift): Don't use BP_SYM.
39498 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39499 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39501 (memset): Don't use BP_SYM.
39502 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39503 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39504 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39506 (__mpn_mul_1): Don't use BP_SYM.
39507 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39508 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39509 <bp-sym.h> and <bp-asm.h>.
39510 (memcmp): Don't use BP_SYM.
39511 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39512 <bp-sym.h> and <bp-asm.h>.
39513 (memcpy): Don't use BP_SYM.
39514 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39515 <bp-sym.h> and <bp-asm.h>.
39516 (memset): Don't use BP_SYM.
39517 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39518 <bp-sym.h> and <bp-asm.h>.
39519 (strncmp): Don't use BP_SYM.
39520 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39521 <bp-sym.h> and <bp-asm.h>.
39522 (memcpy): Don't use BP_SYM.
39523 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39524 <bp-sym.h> and <bp-asm.h>.
39525 (memset): Don't use BP_SYM.
39526 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39527 <bp-sym.h> and <bp-asm.h>.
39528 (__memchr): Don't use BP_SYM.
39529 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39530 <bp-sym.h> and <bp-asm.h>.
39531 (memcmp): Don't use BP_SYM.
39532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39533 <bp-sym.h> and <bp-asm.h>.
39534 (memcpy): Don't use BP_SYM.
39535 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39536 <bp-sym.h> and <bp-asm.h>.
39537 (__mempcpy): Don't use BP_SYM.
39538 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39539 <bp-sym.h> and <bp-asm.h>.
39540 (__memrchr): Don't use BP_SYM.
39541 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39542 <bp-sym.h> and <bp-asm.h>.
39543 (memset): Don't use BP_SYM.
39544 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39545 <bp-sym.h> and <bp-asm.h>.
39546 (__rawmemchr): Don't use BP_SYM.
39547 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39548 <bp-sym.h> and <bp-asm.h>.
39549 (__STRCMP): Don't use BP_SYM.
39550 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39551 <bp-sym.h> and <bp-asm.h>.
39552 (strchr): Don't use BP_SYM.
39553 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39554 <bp-sym.h> and <bp-asm.h>.
39555 (__strchrnul): Don't use BP_SYM.
39556 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39557 <bp-sym.h> and <bp-asm.h>.
39558 (strlen): Don't use BP_SYM.
39559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39560 <bp-sym.h> and <bp-asm.h>.
39561 (strncmp): Don't use BP_SYM.
39562 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39563 <bp-sym.h> and <bp-asm.h>.
39564 (__strnlen): Don't use BP_SYM.
39565 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39567 (__mpn_rshift): Don't use BP_SYM.
39568 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39569 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39570 <bp-sym.h> and <bp-asm.h>.
39571 (__sigsetjmp): Don't use BP_SYM.
39572 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39573 (L(start_addresses)): Don't use BP_SYM.
39574 (_start): Likewise.
39575 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39577 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39578 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39579 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39580 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39582 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39583 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39584 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39585 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39587 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39589 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39590 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39592 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39594 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39595 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39596 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39598 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39600 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39602 (strncmp): Don't use BP_SYM,
39603 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39605 (__mpn_sub_n): Don't use BP_SYM.
39606 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39607 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39609 (__mpn_submul_1): Don't use BP_SYM.
39610 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39612 <bp-sym.h> and <bp-asm.h>.
39613 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39615 <bp-sym.h> and <bp-asm.h>.
39616 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39619 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39622 Use ZK to minimize writes to Z.
39623 (sub_magnitudes): Simplify code a bit.
39624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39625 Use ZK to minimize writes to Z.
39626 (sub_magnitudes): Simplify code a bit.
39628 2013-02-27 Roland McGrath <roland@hack.frob.com>
39630 * csu/gmon-start.c: Add special exception to license text.
39632 2013-02-27 Richard Henderson <rth@redhat.com>
39634 * scripts/config.guess: Update from config.git.
39635 * scripts/config.sub: Likewise.
39637 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39639 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39641 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39643 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39645 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39647 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39649 2013-02-26 Roland McGrath <roland@hack.frob.com>
39651 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39652 [$(build-shared = yes].
39654 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39656 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39657 (__mul): Reduce iterations for calculating mantissa.
39659 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39661 (__mpranred): Likewise.
39664 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39665 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39667 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39669 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39670 Define __attribute__.
39672 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39674 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39676 * posix/regex_internal.h (__attribute): Remove.
39677 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39678 (re_string_context_at): Likewise.
39679 (bitset_not): Use __attribute__ and mark function as possibly
39681 (bitset_merge): Likewise.
39682 (bitset_mask): Likewise.
39683 (re_string_char_size_at): Likewise.
39684 (re_string_wchar_at): Likewise.
39685 (re_string_elem_size_at): Likewise.
39687 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39689 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39693 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39697 (denorm): Likewise.
39698 (__dbl_mp): Likewise.
39699 (add_magnitudes): Likewise.
39700 (sub_magnitudes): Likewise.
39704 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39707 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39710 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39714 up changes with default code.
39715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39718 2013-02-24 Allan McRae <allan@archlinux.org>
39720 * manual/socket.texi (The Internet Namespace): Order menu items
39721 to match that in the file.
39723 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39724 node listing of the info page menu.
39726 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39729 * sysdeps/i386/bp-asm.h: Remove file.
39730 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39731 (PARMS): Do not use macros from bp-asm.h.
39735 (__mpn_add_n): Do not use BP_SYM
39736 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39738 (PARMS): Do not use macros from bp-asm.h.
39741 (__mpn_addmul_1): Do not use BP_SYM
39742 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39744 (PARMS): Do not use macros from bp-asm.h.
39745 (SIGMSK): Likewise.
39746 (_setjmp): Likewise. Do not use BP_SYM.
39747 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39749 (PARMS): Do not use macros from bp-asm.h.
39750 (SIGMSK): Likewise.
39751 (setjmp): Likewise. Do not use BP_SYM.
39752 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39754 (PARMS): Do not use macros from bp-asm.h.
39755 (__frexp): Do not use BP_SYM.
39757 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39759 (PARMS): Do not use macros from bp-asm.h.
39760 (__frexpf): Do not use BP_SYM.
39761 (frexpf): Likewise.
39762 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39764 (PARMS): Do not use macros from bp-asm.h.
39765 (__frexpl): Do not use BP_SYM.
39766 (frexpl): Likewise.
39767 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39769 (PARMS): Do not use macros from bp-asm.h.
39770 (__remquo): Do not use BP_SYM.
39771 (remquo): Likewise.
39772 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39774 (PARMS): Do not use macros from bp-asm.h.
39775 (__remquof): Do not use BP_SYM.
39776 (remquof): Likewise.
39777 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39779 (PARMS): Do not use macros from bp-asm.h.
39780 (__remquol): Do not use BP_SYM.
39781 (remquol): Likewise.
39782 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39784 (PARMS): Do not use macros from bp-asm.h.
39787 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39788 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39790 (PARMS): Do not use macros from bp-asm.h.
39791 (strlen): Do not use BP_SYM.
39792 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39794 (PARMS): Do not use macros from bp-asm.h.
39798 (__mpn_add_n): Do not use BP_SYM.
39799 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39801 (PARMS): Do not use macros from bp-asm.h.
39804 (__mpn_addmul_1): Do not use BP_SYM.
39805 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39808 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39810 (PARMS): Do not use macros from bp-asm.h.
39813 (__mpn_lshift): Do not use BP_SYM.
39814 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39816 (PARMS): Do not use macros from bp-asm.h.
39820 (memcpy): Likewise. Do not use BP_SYM.
39821 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39822 libc_hidden_def and weak_alias.
39823 (mempcpy): Do not use BP_SYM in weak_alias.
39824 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39826 (PARMS): Do not use macros from bp-asm.h.
39829 [!BZERO_P] (CHR): Likewise.
39830 (memset): Likewise. Do not use BP_SYM.
39831 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39833 (PARMS): Do not use macros from bp-asm.h.
39836 (__mpn_mul_1): Do not use BP_SYM.
39837 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39839 (PARMS): Do not use macros from bp-asm.h.
39842 (__mpn_rshift): Do not use BP_SYM.
39843 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39845 (PARMS): Do not use macros from bp-asm.h.
39848 (strchr): Likewise. Do not use BP_SYM.
39849 (index): Do not use BP_SYM in weak_alias.
39850 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39852 (PARMS): Do not use macros from bp-asm.h.
39855 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39856 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39858 (PARMS): Do not use macros from bp-asm.h.
39859 (strlen): Do not use BP_SYM.
39860 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39862 (PARMS): Do not use macros from bp-asm.h.
39866 (__mpn_sub_n): Do not use BP_SYM.
39867 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39869 (PARMS): Do not use macros from bp-asm.h.
39872 (__mpn_submul_1): Do not use BP_SYM.
39873 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39875 (PARMS): Do not use macros from bp-asm.h.
39879 (__mpn_add_n): Do not use BP_SYM.
39880 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39883 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39885 (PARMS): Do not use macros from bp-asm.h.
39888 (memcmp): Do not use BP_SYM.
39889 (bcmp): Do not use BP_SYM in weak_alias.
39890 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39892 (PARMS): Do not use macros from bp-asm.h.
39896 (memcpy): Likewise. Do not use BP_SYM.
39897 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39899 (PARMS): Do not use macros from bp-asm.h.
39903 (memmove): Likewise. Do not use BP_SYM.
39904 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39906 (PARMS): Do not use macros from bp-asm.h.
39910 (__mempcpy): Likewise. Do not use BP_SYM.
39911 (mempcpy): Do not use BP_SYM in weak_alias.
39912 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39914 (PARMS): Do not use macros from bp-asm.h.
39917 [!BZERO_P] (CHR): Likewise.
39918 (memset): Likewise. Do not use BP_SYM.
39919 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39921 (PARMS): Do not use macros from bp-asm.h.
39923 (strcmp): Do not use BP_SYM.
39924 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39926 (PARMS): Do not use macros from bp-asm.h.
39929 [USE_AS_STRTOK_R] (SAVE): Likewise.
39930 (FUNCTION): Likewise. Do not use BP_SYM.
39931 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39933 (strtok_r): Likewise.
39934 (__GI___strtok_r): Likewise.
39935 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39936 (PARMS): Do not use macros from bp-asm.h.
39939 (__mpn_lshift): Do not use BP_SYM.
39940 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39941 (PARMS): Do not use macros from bp-asm.h.
39944 (__memchr): Do not use BP_SYM.
39945 (memchr): Do not use BP_SYM in weak_alias.
39946 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39947 (PARMS): Do not use macros from bp-asm.h.
39950 (memcmp): Do not use BP_SYM.
39951 (bcmp): Do not use BP_SYM in weak_alias.
39952 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39953 (PARMS): Do not use macros from bp-asm.h.
39956 (__mpn_mul_1): Do not use BP_SYM.
39957 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39959 (PARMS): Do not use macros from bp-asm.h.
39962 (__rawmemchr): Do not use BP_SYM.
39963 (rawmemchr): Do not use BP_SYM in weak_alias.
39964 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39965 (PARMS): Do not use macros from bp-asm.h.
39968 (__mpn_rshift): Do not use BP_SYM.
39969 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39970 (PARMS): Do not use macros from bp-asm.h.
39971 (SIGMSK): Likewise.
39972 (__sigsetjmp): Likewise. Do not use BP_SYM.
39973 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39974 (_start): Do not use BP_SYM.
39975 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39976 (PARMS): Do not use macros from bp-asm.h.
39979 (__stpcpy): Likewise. Do not use BP_SYM.
39980 (stpcpy): Do not use BP_SYM in weak_alias.
39981 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39983 (PARMS): Do not use macros from bp-asm.h.
39987 (__stpncpy): Likewise. Do not use BP_SYM.
39988 (stpncpy): Do not use BP_SYM in weak_alias.
39989 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39990 (PARMS): Do not use macros from bp-asm.h.
39993 (strchr): Likewise. Do not use BP_SYM.
39994 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39996 (PARMS): Do not use macros from bp-asm.h.
39999 (__strchrnul): Likewise. Do not use BP_SYM.
40000 (strchrnul): Do not use BP_SYM in weak_alias.
40001 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40003 (PARMS): Do not use macros from bp-asm.h.
40005 (strcspn): Do not use BP_SYM.
40006 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40008 (PARMS): Do not use macros from bp-asm.h.
40011 (strpbrk): Likewise. Do not use BP_SYM.
40012 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40014 (PARMS): Do not use macros from bp-asm.h.
40017 (strrchr): Likewise. Do not use BP_SYM.
40018 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40019 (PARMS): Do not use macros from bp-asm.h.
40021 (strspn): Do not use BP_SYM.
40022 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40023 (PARMS): Do not use macros from bp-asm.h.
40027 (FUNCTION): Likewise. Do not use BP_SYM.
40028 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40030 (strtok_r): Likewise.
40031 (__GI___strtok_r): Likewise.
40032 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40033 (PARMS): Do not use macros from bp-asm.h.
40037 (__mpn_sub_n): Do not use BP_SYM.
40038 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40040 (PARMS): Do not use macros from bp-asm.h.
40043 (__mpn_submul_1): Do not use BP_SYM.
40044 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40046 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40048 (PARMS): Do not use macros from bp-asm.h.
40053 (__clone): Do not use BP_SYM.
40054 (clone): Do not use BP_SYM in weak_alias.
40055 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40057 (PARMS): Do not use macros from bp-asm.h.
40059 (__mmap64): Do not use BP_SYM.
40060 (mmap64): Do not use BP_SYM in weak_alias.
40061 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40062 <bp-sym.h> and <bp-asm.h>.
40063 (PARMS): Do not use macros from bp-asm.h.
40064 (__posix_fadvise64_l64): Do not use BP_SYM.
40065 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40066 (PARMS): Do not use macros from bp-asm.h.
40068 (semtimedop): Do not use BP_SYM.
40069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40072 2013-02-21 Allan McRae <allan@archlinux.org>
40074 * manual/message.texi (Charset conversion in gettext):
40075 Move @end statement to beginning of line.
40077 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40084 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40085 (denorm): Likewise.
40086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40089 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40091 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40092 tail-call to the resolved function if pltexit isn't needed.
40094 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40097 or Y being zero as being unlikely.
40098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40101 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40103 * manual/nss.texi (System Databases and Name Service Switch):
40104 Remove frobnicate @pxref.
40106 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40108 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40109 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40111 2013-02-20 Petr Machata <pmachata@redhat.com>
40113 * elf/elf.h (R_ARM_TARGET1): New macro.
40114 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40115 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40116 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40117 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40118 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40119 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40120 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40121 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40122 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40123 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40124 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40125 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40126 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40127 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40128 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40129 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40130 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40131 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40132 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40133 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40134 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40135 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40136 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40137 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40138 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40139 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40140 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40141 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40142 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40143 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40144 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40145 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40146 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40147 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40148 (R_ARM_THM_GOT_BREL12): Likewise.
40149 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40150 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40151 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40152 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40153 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40154 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40155 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40156 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40157 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40159 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40161 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40162 __attribute_used__ to __attribute__ ((unused)).
40164 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40166 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40169 comment formatting.
40170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40172 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40175 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40177 (ENTER): Remove both macro definitions.
40179 (CHECK_BOUNDS_LOW): Likewise.
40180 (CHECK_BOUNDS_HIGH): Likewise.
40181 (CHECK_BOUNDS_BOTH): Likewise.
40182 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40183 (RETURN_BOUNDED_POINTER): Likewise.
40184 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40185 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40186 (POP_ERRNO_LOCATION_RETURN): Likewise.
40187 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40188 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40189 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40191 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40192 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40193 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40194 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40195 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40196 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40197 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40198 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40199 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40200 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40201 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40202 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40203 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40204 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40206 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40207 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40209 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40210 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40211 * sysdeps/i386/i586/memset.S (memset): Likewise.
40212 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40213 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40214 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40216 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40217 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40218 Change uses of L(2) to L(out).
40219 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40220 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40221 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40222 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40223 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40225 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40226 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40228 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40229 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40230 (RETURN): Do not use macro LEAVE.
40231 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40232 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40233 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40234 * sysdeps/i386/i686/memset.S (memset): Likewise.
40235 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40236 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40237 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40238 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40240 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40241 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40242 L(1_2) and L(1_3) into L(1).
40243 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40244 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40245 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40246 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40247 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40248 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40249 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40250 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40251 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40253 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40254 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40255 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40256 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40257 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40258 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40259 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40260 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40261 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40262 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40263 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40264 * sysdeps/i386/strspn.S (strspn): Likewise.
40265 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40267 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40268 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40269 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40270 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40271 L(1_3) into L(1_1).
40272 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40273 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40274 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40276 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40278 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40280 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40283 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40285 * math/atest-exp.c (exp_mpn): Remove ROUND.
40286 * math/atest-exp2.c (exp_mpn): Likewise.
40287 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40289 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40290 * stdlib/tst-tls-atexit-lib.c: Likewise.
40291 * stdlib/tst-tls-atexit.c: Likewise.
40293 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40295 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40296 and __attribute_alloc_size__.
40298 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40300 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40301 __attribute_alloc_size__.
40302 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40303 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40305 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40307 * include/programs/xmalloc.h: New file.
40308 * catgets/gencat.c: Include it.
40309 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40310 * elf/pldd.c: Likewise.
40311 * iconv/iconv_charmap.c: Likewise.
40312 * iconv/iconvconfig.c: Likewise.
40313 * iconv/strtab.c: Likewise.
40314 * locale/programs/locale.c: Likewise.
40315 * locale/programs/localedef.h: Likewise.
40316 * locale/programs/simple-hash.c: Likewise.
40317 * nscd/nscd.h: Likewise.
40318 * nss/makedb.c: Likewise.
40319 * sysdeps/generic/ldconfig.h: Likewise.
40321 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40323 * Versions.def: Add GLIBC_2.18.
40324 * include/link.h (struct link_map): New member l_tls_dtor_count.
40325 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40326 (__call_tls_dtors): Likewise.
40327 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40328 __cxa_thread_atexit_impl.
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40345 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40346 (tests): Add test case tst-tls-atexit.
40347 (modules-names): Add shared library for tst-tls-atexit.
40348 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40349 (GLIBC_PRIVATE): Add __call_tls_dtors.
40350 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40352 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40353 * stdlib/tst-tls-atexit.c: New test case.
40354 * stdlib/tst-tls-atexit-lib.c: New test case.
40356 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40358 * elf/Versions (ld): Add _dl_find_dso_for_object.
40359 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40360 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40361 (dl_open_worker): Use _dl_find_dso_for_object.
40362 * elf/dl-sym.c (do_sym): Likewise.
40363 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40365 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40367 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40368 Syntactic changes only.
40369 (_dl_runtime_profile): Do a tail-call to the resolved function.
40371 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40374 * sysdeps/x86_64/bp-asm.h: Remove file.
40375 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40376 <bp-sym.h> and <bp-asm.h>.
40377 (__clone): Do not use BP_SYM.
40378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40379 <bp-sym.h> and <bp-asm.h>.
40380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40381 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40383 (_setjmp): Do not use BP_SYM.
40384 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40386 (setjmp): Do not use BP_SYM.
40387 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40389 (mempcpy): Do not use BP_SYM in weak_alias.
40390 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40392 (strchr): Do not use BP_SYM.
40393 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40395 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40396 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40397 (_start): Do not use BP_SYM.
40398 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40400 (strcat): Do not use BP_SYM.
40401 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40403 (STRCMP): Do not use BP_SYM.
40404 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40406 (STRCPY): Do not use BP_SYM.
40407 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40409 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40411 (FUNCTION): Do not use BP_SYM.
40412 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40414 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40416 2013-02-17 Andreas Jaeger <aj@suse.de>
40418 * time/Versions: Sort entries.
40419 * string/Versions: Likewise.
40420 * resolv/Versions: Likewise.
40421 * posix/Versions: Likewise.
40422 * iconv/Versions: Likewise.
40423 * elf/Versions: Likewise.
40424 * wcsmbs/Versions: Likewise.
40426 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40428 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40429 loop termination condition.
40431 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40432 variable to calculate EZ.
40435 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40436 the lower precision input.
40438 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40441 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40442 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40443 (run-via-rtld-prefix): Do not handle %-bp tests.
40444 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40445 (all-object-suffixes): Remove .ob.
40446 (bppfx): Remove variable.
40447 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40448 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40449 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40450 [$(build-bounded) = yes] (libtype.ob): Likewise.
40451 * Makerules (elide-routines.ob): Remove variable.
40452 (do-tests-clean): Do not handle *-bp.out.
40453 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40454 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40455 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40456 (tests): Do not include $(tests-bp.out).
40457 (xtests): Do not include $(xtests-bp.out).
40458 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40459 [$(build-bounded) = yes] ($(addprefix
40460 $(objpfx),$(binaries-bounded))): Remove rule.
40461 ($(objpfx)%-bp.out): Remove rule.
40462 * config.make.in (build-bounded): Remove variable.
40463 * crypt/Makefile [$(build-bounded) = yes]
40464 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40465 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40466 append to variable.
40467 [$(build-bounded) = yes] (install-lib): Likewise.
40468 [$(build-bounded) = yes] (generated): Likewise.
40469 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40471 * intl/Makefile [$(build-bounded) = yes]
40472 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40473 * math/Makefile [$(build-bounded) = yes]
40474 ($(tests:%=$(objpfx)%-bp): Likewise.
40475 * misc/Makefile [$(build-bounded) = yes]
40476 ($(objpfx)tst-tsearch-bp): Likewise.
40477 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40478 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40480 * string/Makefile (o-objects.ob): Remove variable.
40481 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40482 (CFLAGS-.ob): Remove variable.
40483 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40484 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40485 both definitions of variable.
40486 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40487 (ASFLAGS-.ob): Remove variable.
40489 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40492 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40493 Remove __BOUNDED_POINTERS__ from condition.
40494 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40495 * string/bits/string2.h [!__NO_STRING_INLINES &&
40496 !__BOUNDED_POINTERS__]: Likewise.
40497 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40499 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40500 Remove conditional code.
40501 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40502 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40503 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40507 * csu/libc-start.c: Do not include <bp-sym.h>.
40508 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40509 * elf/dl-open.c: Do not include <bp-sym.h>.
40510 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40511 * math/fegetenv.c: Do not include <bp-sym.h>.
40512 (fegetenv): Do not use BP_SYM in versioned symbols.
40513 * nptl/sysdeps/pthread/bits/libc-lockP.h
40514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40517 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40519 (__pthread_mutex_destroy): Likewise.
40520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40521 (__pthread_mutex_lock): Likewise.
40522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40523 (__pthread_mutex_trylock): Likewise.
40524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40525 (__pthread_mutex_unlock): Likewise.
40526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40527 (__pthread_mutexattr_init): Likewise.
40528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40529 (__pthread_mutexattr_destroy): Likewise.
40530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40531 (__pthread_mutexattr_settype): Likewise.
40532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40533 (__pthread_rwlock_init): Likewise.
40534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40535 (__pthread_rwlock_destroy): Likewise.
40536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40537 (__pthread_rwlock_rdlock): Likewise.
40538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40539 (__pthread_rwlock_tryrdlock): Likewise.
40540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40541 (__pthread_rwlock_wrlock): Likewise.
40542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40543 (__pthread_rwlock_trywrlock): Likewise.
40544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40545 (__pthread_rwlock_unlock): Likewise.
40546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40547 (__pthread_key_create): Likewise.
40548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40549 (__pthread_setspecific): Likewise.
40550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40551 (__pthread_getspecific): Likewise.
40552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40555 (_pthread_cleanup_push_defer): Likewise.
40556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40557 (_pthread_cleanup_pop_restore): Likewise.
40558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40559 (pthread_setcancelstate): Likewise.
40560 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40562 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40563 (memchr): Do not use BP_SYM in weak_alias.
40564 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40565 (fegetenv): Do not use BP_SYM in versioned symbols.
40566 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40567 (fesetenv): Do not use BP_SYM in versioned symbols.
40568 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40569 (feupdateenv): Do not use BP_SYM in versioned symbols.
40570 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40571 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40572 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40573 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40574 (open64): Do not use BP_SYM in weak_alias.
40575 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40576 (fegetenv): Do not use BP_SYM in versioned symbols.
40577 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40578 (fesetenv): Do not use BP_SYM in versioned symbols.
40579 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40580 (feupdateenv): Do not use BP_SYM in versioned symbols.
40581 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40582 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40583 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40584 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40585 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40586 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40587 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40589 (__libc_start_main): Do not use BP_SYM.
40591 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40594 redundant return line.
40596 (denorm): Likewise.
40597 (dbl_mp): Likewise.
40598 (sub_magnitudes): Likewise.
40604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40606 (denorm): Likewise.
40607 (dbl_mp): Likewise.
40608 (sub_magnitudes): Likewise.
40615 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40617 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40618 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40621 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40622 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40624 of __mul for squares.
40625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40629 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40632 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40635 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40637 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40638 prototype or function definition. Rename ubp_* variables and
40639 parameters. Remove argv definitions conditional on
40640 [__BOUNDED_POINTERS__].
40641 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40642 * elf/dl-runtime.c (_dl_fixup): Likewise.
40643 * include/set-hooks.h (RUN_HOOK): Likewise.
40644 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40646 * string/strcpy.c (strcpy): Do not use __unbounded.
40647 * sysdeps/generic/frame.h (struct layout): Likewise.
40648 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40649 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40650 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40651 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40652 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40653 (__backtrace): Likewise.
40654 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40656 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40657 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40658 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40660 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40661 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40662 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40663 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40664 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40665 Do not use __unbounded.
40666 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40667 Rename __unboundedrlimits parameter to rlimits in prototype.
40668 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40669 Do not use __unbounded.
40670 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40671 not use __ptrvalue.
40672 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40673 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40674 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40675 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40676 __ptrvalue or __unbounded.
40677 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40678 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40680 (__new_msgctl): Do not use __ptrvalue.
40681 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40683 (__libc_msgrcv): Do not use __ptrvalue.
40684 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40685 startup_info): Do not use __unbounded.
40686 (__libc_start_main): Likewise. Rename ubp_* variables and
40687 parameters. Remove argv definitions conditional on
40688 [__BOUNDED_POINTERS__].
40689 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40691 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40693 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40695 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40697 (__new_shmctl): Do not use __ptrvalue.
40698 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40699 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40701 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40703 (__libc_sigaction): Likewise.
40704 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40705 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40707 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40709 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40711 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40713 * string/mempcpy.c: Implement by calling memcpy.
40715 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40723 values in the mantissa.
40725 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40726 minimize writes to Z.
40727 (sub_magnitudes): Simplify code a bit.
40729 2013-02-12 Roland McGrath <roland@hack.frob.com>
40731 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40732 from the message. The linker prefixes all warnings with that already.
40734 2013-02-12 Andreas Schwab <schwab@suse.de>
40737 * posix/regexec.c (extend_buffers): Add parameter min_len.
40738 (check_matching): Pass minimum needed length.
40739 (clean_state_log_if_needed): Likewise.
40740 (get_subexp): Likewise.
40741 * posix/Makefile (tests): Add bug-regex34.
40742 (bug-regex34-ENV): Define.
40743 * posix/bug-regex34.c: New file.
40746 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40747 elements compare against the byte sequence of it, not its name.
40748 * posix/Makefile (tests): Add bug-regex35.
40749 (bug-regex35-ENV): Define.
40750 * posix/bug-regex35.c: New file.
40752 2013-02-11 Tom de Vries <tom@codesourcery.com>
40754 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40756 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40757 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40758 (CHECK_EOL): Add undef.
40760 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40762 * bits/stdlib-bsearch.h: New file.
40763 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40764 * stdlib/stdlib.h: Likewise.
40766 2013-02-11 Roland McGrath <roland@hack.frob.com>
40768 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40769 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40771 * manual/search.texi (Array Search Function): Add missing const in
40773 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40774 declaration to use rlim_t.
40775 (Basic Scheduling Functions): Remove erroneous const from
40776 sched_getparam prototype. Remove erroneous * from
40777 sched_get_priority_max and sched_get_priority_min prototypes.
40778 (Resource Usage): Fix summary @comment on vtimes to refer to
40779 sys/vtimes.h rather than vtimes.h.
40780 Add missing *s in vtimes prototype.
40781 (Limits on Resources): Fix ulimit prototype to return long int.
40782 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40783 prototypes to use long int rather than double.
40784 (BSD Random): Fix initstate and setstate to use char *, not void *.
40785 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40786 prototype to make second argument 'struct aiocb64 *const[]'.
40787 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40788 (Status of AIO Operations): Remove erroneous const in aio_return and
40789 aio_return64 prototypes.
40790 (Synchronizing I/O): Fix sync prototype to return void.
40791 * manual/startup.texi (Suboptions): Remove an erroneous const in
40792 getsubopt prototype.
40793 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40794 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40795 use size_t rather than int.
40796 (Scanning All Users): Likewise for getpwent_r.
40797 (Setting Groups): Add missing const to setgroups prototype.
40798 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40799 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40800 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40801 'const void *' rather than 'const char *'.
40802 (Host Address Functions): Likewise for inet_ntop.
40803 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40804 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40805 ssize_t for return value.
40806 (Sending Data): Likewise for send, sendto, sendmsg.
40807 (Socket Option Functions): Add a missing const in setsockopt prototype.
40808 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40809 use wchar_t for the argument.
40810 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40811 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40813 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40814 double/float/long double for second argument.
40815 Fix return types of significand, significandf, significandl.
40816 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40817 argument in fchmod prototype.
40818 (File Owner): Use uid_t and gid_t in fchown prototype.
40819 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40820 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40821 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40822 use 'const struct dirent **' as argument types to CMP function pointer
40824 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40825 (File Times): Fix summary magic @comment for struct utimbuf and utime
40826 to refer to utime.h, not time.h.
40827 * manual/string.texi (Argz Functions): Add missing const in
40828 argz_extract and argz_next prototypes.
40829 (Finding Tokens in a String): Likewise for basename.
40830 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40831 (Copying and Concatenation): Fix typo in wmemmove prototype.
40832 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40833 (Signal Stack): Remove erroneous const in sigstack prototype.
40834 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40836 (Simple Calendar Time): Likewise for stime.
40837 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40839 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40840 say sys/sysctl.h instead.
40841 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40842 and vsyslog prototypes.
40844 2013-02-11 Tom de Vries <tom@codesourcery.com>
40846 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40849 2013-02-11 Roland McGrath <roland@hack.frob.com>
40851 * misc/sys/mman.h: Fix typo in mremap comment.
40853 2013-02-08 Roland McGrath <roland@hack.frob.com>
40855 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40856 the '\0' terminator.
40858 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40861 * debug/segfault.c: Don't include <bp-checks.h>.
40862 * sysdeps/generic/bp-checks.h: Remove file.
40863 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40864 (__GETDENTS): Don't use CHECK_N.
40865 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40866 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40867 (__getgroups): Don't use CHECK_N.
40868 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40869 (setgroups): Don't use CHECK_N.
40870 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40871 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40872 (__libc_msgrcv): Don't use CHECK_N.
40873 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40874 (__libc_msgsnd): Don't use CHECK_N.
40875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40877 (__libc_pread): Don't use CHECK_N.
40878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40879 include <bp-checks.h>.
40880 (__libc_pread64): Don't use CHECK_N.
40881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40882 include <bp-checks.h>.
40883 (__libc_pwrite): Don't use CHECK_N.
40884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40885 include <bp-checks.h>.
40886 (__libc_pwrite64): Don't use CHECK_N.
40887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40889 (__libc_pread): Don't use CHECK_N.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40891 include <bp-checks.h>.
40892 (__libc_pread64): Don't use CHECK_N.
40893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40894 include <bp-checks.h>.
40895 (__libc_pwrite): Don't use CHECK_N.
40896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40897 include <bp-checks.h>.
40898 (__libc_pwrite64): Don't use CHECK_N.
40899 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40900 (do_pread): Don't use CHECK_N.
40901 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40902 (do_pread64): Don't use CHECK_N.
40903 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40904 (do_pwrite): Don't use CHECK_N.
40905 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40906 (do_pwrite64): Don't use CHECK_N.
40907 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40908 (__libc_readv): Don't use CHECK_N.
40909 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40910 (semop): Don't use CHECK_N.
40911 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40913 (semtimedop): Don't use CHECK_N.
40914 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40915 (__libc_pread): Don't use CHECK_N.
40916 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40918 (__libc_pread64): Don't use CHECK_N.
40919 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40921 (__libc_pwrite): Don't use CHECK_N.
40922 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40924 (__libc_pwrite64): Don't use CHECK_N.
40925 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40927 (__libc_msgrcv): Don't use CHECK_N.
40928 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40929 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40930 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40931 (__libc_writev): Don't use CHECK_N.
40933 2013-02-08 Roland McGrath <roland@hack.frob.com>
40935 * string/strcpy.c: Removed unused variable.
40937 * Makeconfig (+sysdep-includes): Define with := rather than =.
40938 Use an existing include/ subdir of each sysdeps dir before it.
40940 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40942 * nscd/connection.c (register_traced_file): Comment function.
40943 [HAVE_INOTIFY] (union __inev): Define.
40944 [HAVE_INOTIFY] (inotify_check_files): New function.
40945 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40946 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40948 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40950 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40952 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40953 loaded if not already and that a failure is permanent.
40955 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40958 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40959 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40961 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40964 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40965 (CHECK_1_NULL_OK): Likewise.
40966 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40967 (__fxstat): Do not use CHECK_1.
40968 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40970 (___fxstat64): Do not use CHECK_1.
40971 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40973 (__fxstatat): Do not use CHECK_1.
40974 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40976 (__fxstatat64): Do not use CHECK_1.
40977 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40979 (__fxstat): Do not use CHECK_1.
40980 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40982 (__fxstatat): Do not use CHECK_1.
40983 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40985 (__getresgid): Do not use CHECK_1.
40986 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40988 (__getresuid): Do not use CHECK_1.
40989 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40991 (__lxstat): Do not use CHECK_1.
40992 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40994 (__old_msgctl): Do not use CHECK_1.
40995 (__new_msgctl): Likewise.
40996 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40998 (__new_setrlimit): Do not use CHECK_1.
40999 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41001 (__old_shmctl): Do not use CHECK_1.
41002 (__new_shmctl): Likewise.
41003 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41005 (__xstat): Do not use CHECK_1.
41006 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41007 (__lxstat): Do not use CHECK_1.
41008 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41010 (___lxstat64): Do not use CHECK_1.
41011 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41012 (__old_msgctl): Do not use CHECK_1.
41013 (__new_msgctl): Likewise.
41014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41016 (__gettimeofday): Do not use CHECK_1.
41017 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41018 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41019 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41021 (__gettimeofday): Do not use CHECK_1.
41022 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41023 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41024 (__new_shmctl): Do not use CHECK_1.
41025 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41027 (do_sigtimedwait): Do not use CHECK_1.
41028 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41030 (do_sigwaitinfo): Do not use CHECK_1.
41031 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41033 (msgctl): Do not use CHECK_1.
41034 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41036 (shmctl): Do not use CHECK_1.
41037 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41038 (ustat): Do not use CHECK_1.
41039 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41041 (__fxstat): Do not use CHECK_1.
41042 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41044 (__fxstatat): Do not use CHECK_1.
41045 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41047 (__lxstat): Do not use CHECK_1.
41048 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41050 (__xstat): Do not use CHECK_1.
41051 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41052 (__xstat): Do not use CHECK_1.
41053 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41054 (___xstat64): Do not use CHECK_1.
41057 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41059 (CHECK_BOUNDS_HIGH): Likewise.
41060 * string/strcpy.c: Do not include <bp-checks.h>.
41061 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41063 2013-02-07 Roland McGrath <roland@hack.frob.com>
41065 * nscd/nscd-client.h (__nscd_drop_map_ref):
41066 Add __attribute__ ((unused)).
41067 * nis/nss-nisplus.h (niserr2nss): Likewise.
41069 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41070 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41072 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41073 Remove inline keyword.
41074 * include/rounding-mode.h (round_away): Likewise.
41075 * libio/wfileops.c (adjust_wide_data): Likewise.
41076 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41077 (__m128i_strloadu_tolower): Likewise.
41078 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41079 (__m128i_strloadu_tolower): Likewise.
41080 * time/mktime.c (ydhms_diff): Likewise.
41081 * locale/elem-hash.h (elem_hash): Likewise.
41082 * locale/setlocale.c (setdata): Likewise.
41083 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41084 (re_string_wchar_at): Likewise.
41085 (bitset_not, bitset_merge, bitset_mask): Likewise.
41086 [!(__GNUC__ > 3)] (inline): Remove macro.
41087 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41088 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41089 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41090 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41091 * string/memcmp.c (memcmp_bytes): Likewise.
41092 * locale/programs/locarchive.c (compute_hashval): Likewise.
41093 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41094 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41095 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41096 * nss/getent.c (print_rpc, print_protocols): Likewise.
41097 (print_passwd, print_group, print_aliases): Likewise.
41098 * nis/nss-nisplus.h (niserr2nss): Likewise.
41099 * nscd/connections.c (restart_p): Likewise.
41100 Change return type to bool.
41102 2013-02-05 Roland McGrath <roland@hack.frob.com>
41104 * Makeconfig (all-Depend-files): Add existing
41105 $(sorted-subdirs:=/Depend) files.
41106 (all-subdirs): Remove nss.
41107 * sysdeps/unix/inet/Subdirs: Add it here instead.
41108 * hesiod/Depend: New file.
41110 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41111 instead of calling alloca.
41113 * io/lseek.c (__lseek): Rename to __libc_lseek.
41114 Define __lseek as an alias.
41116 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41118 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41120 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41121 else clause and remove check for non-standard endianness.
41123 2013-02-04 David S. Miller <davem@davemloft.net>
41125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41127 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41130 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41131 (__ubp_memchr): Remove prototype.
41132 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41133 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41134 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41135 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41136 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41138 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41139 (__ubp_memchr): Likewise.
41140 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41141 (__ubp_memchr): Likewise.
41142 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41143 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41144 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41145 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41147 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41148 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41149 (__getcwd): Do not use CHECK_STRING.
41150 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41152 (__real_chown): Do not use CHECK_STRING.
41153 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41155 (fchownat): Do not use CHECK_STRING.
41156 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41158 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41160 (__lchown): Do not use CHECK_STRING.
41161 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41162 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41163 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41164 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41166 include <bp-checks.h>.
41167 (truncate64): Do not use CHECK_STRING.
41168 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41170 (__real_chown): Do not use CHECK_STRING.
41171 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41173 (__lchown): Do not use CHECK_STRING.
41174 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41176 (__chown): Do not use CHECK_STRING.
41177 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41179 (truncate64): Do not use CHECK_STRING.
41180 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41182 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41183 (__xmknod): Do not use CHECK_STRING.
41184 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41186 (__xmknodat): Do not use CHECK_STRING.
41187 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41188 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41190 2013-02-04 Andreas Schwab <schwab@suse.de>
41193 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41194 * include/netdb.h: Likewise for h_errno.
41195 * elf/tst-stackguard1.c: Include <tls.h>.
41197 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41199 * elf/link.h (struct link_map): Extend the l_addr comment.
41200 * include/link.h (struct link_map): Likewise.
41202 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41205 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41206 (BOUNDED_1): Remove macro.
41207 * debug/backtrace.c: Don't include <bp-checks.h>.
41208 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41209 (__backtrace): Likewise.
41210 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41212 (__backtrace): Don't use BOUNDED_1.
41213 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41215 (__backtrace): Don't use BOUNDED_1.
41216 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41217 (__backtrace): Don't use BOUNDED_1.
41218 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41219 (shmat): Don't use BOUNDED_N.
41221 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41224 * sysdeps/generic/bp-start.h: Remove file.
41225 * csu/libc-start.c: Don't include <bp-start.h>.
41226 (LIBC_START_MAIN): Set up __environ directly instead of using
41227 INIT_ARGV_and_ENVIRON.
41228 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41232 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41234 (CHECK_FCNTL): Likewise.
41235 (CHECK_N_PAGES): Likewise.
41238 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41240 (CHECK_SIGSET_NULL_OK): Likewise.
41241 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41243 (sigpending): Don't use CHECK_SIGSET.
41244 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41246 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41247 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41249 (do_sigsuspend): Don't use CHECK_SIGSET.
41250 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41252 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41253 (do_sigwait): Don't use CHECK_SIGSET.
41254 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41256 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41257 include <bp-checks.h>.
41258 (sigpending): Don't use CHECK_SIGSET.
41259 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41260 include <bp-checks.h>.
41261 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41262 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41264 (sigpending): Don't use CHECK_SIGSET.
41265 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41267 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41270 * sysdeps/generic/bp-semctl.h: Remove file.
41271 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41272 <bp-checks.h> and <bp-semctl.h>.
41273 (__old_semctl): Don't use CHECK_SEMCTL.
41274 (__new_semctl): Likewise.
41275 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41277 (__old_semctl): Don't use CHECK_SEMCTL.
41278 (__new_semctl): Likewise.
41279 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41280 <bp-checks.h> and <bp-semctl.h>.
41281 (__old_semctl): Don't use CHECK_SEMCTL.
41282 (__new_semctl): Likewise.
41283 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41284 <bp-checks.h> and <bp-semctl.h>.
41285 (semctl): Don't use CHECK_SEMCTL.
41288 * Makerules (elide-bp-thunks): Remove variable.
41289 (elide-routines.oS): Don't use $(elide-bp-thunks).
41290 (elide-routines.os): Likewise.
41291 (elide-routines.o): Likewise.
41292 (elide-routines.op): Likewise.
41293 (elide-routines.og): Likewise.
41294 (objects): Don't use $(bp-thunks).
41295 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41297 (common-generated): Do not add s-proto-bp.d.
41298 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41301 Do not generate makefile rules for bounded-pointer thunks.
41302 * sysdeps/generic/bp-thunks.h: Remove file.
41303 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41304 * sysdeps/unix/s-proto-bp.S: Likewise.
41307 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41308 parts of result separately when argument is not close to line from
41309 -i to i and one part of argument is small.
41310 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41311 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41312 * math/libm-test.inc (cacos_test): Add more tests.
41313 (casin_test): Likewise.
41314 (casinh_test): Likewise.
41315 * sysdeps/i386/fpu/libm-test-ulps: Update.
41316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41318 2013-01-31 David S. Miller <davem@davemloft.net>
41320 * po/de.po: Update from translation team.
41322 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41324 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41326 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41328 * configure.in (_AC_PROG_CC_C89): New definition.
41329 * configure: Regenerate.
41331 * configure.in (AC_PROG_CPP): New definition.
41332 * configure: Regenerate.
41334 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41336 * debug/tst-backtrace.h: New file.
41337 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41338 (ret): Remove variable.
41340 (FAIL): Remove macro.
41341 (NO_INLINE): Likewise.
41342 (fn1): Use match function instead of strstr.
41343 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41344 (ret): Remove variable.
41346 (FAIL): Remove macro.
41347 (NO_INLINE): Likewise.
41348 (fn): Use match function instead of strstr.
41349 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41350 (ret): Remove variable.
41352 (FAIL): Remove macro.
41353 (NO_INLINE): Likewise.
41354 (handle_signal): Use match function instead of strstr.
41355 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41356 (ret): Remove variable.
41358 (FAIL): Remove macro.
41359 (NO_INLINE): Likewise.
41360 (handle_signal): Use match function instead of strstr.
41362 2013-01-23 Roland McGrath <roland@hack.frob.com>
41364 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41366 2013-01-23 David S. Miller <davem@davemloft.net>
41368 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41369 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41370 argument of CAS if possible.
41371 * sysdeps/sparc/sparc64/bits/atomic.h
41372 (__arch_compare_and_exchange_val_32_acq): Likewise.
41373 (__arch_compare_and_exchange_val_64_acq): Likewise.
41375 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41377 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41378 * sysdeps/posix/ulimit.c: ... this.
41379 Include <limits.h>.
41380 * sysdeps/unix/bsd/ulimit.c: Remove file.
41382 2013-01-23 Adam Conrad <adconrad@0c3.net>
41384 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41385 (LDFLAGS-tst-array5): Likewise.
41387 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41390 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41391 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41392 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41393 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41395 2013-01-21 David S. Miller <davem@davemloft.net>
41397 * sysdeps/sparc/backtrace.c: New file.
41398 * sysdeps/sparc/sparc32/backtrace.h: New file.
41399 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41400 * sysdeps/sparc/sparc64/backtrace.h: New file.
41401 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41402 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41405 2013-01-21 Andreas Schwab <schwab@suse.de>
41408 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41411 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41417 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41418 Mark Mitchell <mark@codesourcery.com>
41419 Tom de Vries <tom@codesourcery.com>
41420 Paul Pluzhnikov <ppluzhnikov@google.com>
41422 * debug/tst-backtrace2.c: New file.
41423 * debug/tst-backtrace3.c: Likewise.
41424 * debug/tst-backtrace4.c: Likewise.
41425 * debug/tst-backtrace5.c: Likewise.
41426 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41427 (CFLAGS-tst-backtrace3.c): Likewise.
41428 (CFLAGS-tst-backtrace4.c): Likewise.
41429 (CFLAGS-tst-backtrace5.c): Likewise.
41430 (LDFLAGS-tst-backtrace2): Likewise.
41431 (LDFLAGS-tst-backtrace3): Likewise.
41432 (LDFLAGS-tst-backtrace4): Likewise.
41433 (LDFLAGS-tst-backtrace5): Likewise.
41434 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41435 tst-backtrace4 and tst-backtrace5.
41437 2013-01-18 Anton Blanchard <anton@samba.org>
41438 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41440 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41441 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41442 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41443 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41445 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41446 "+r" and remove output regs list as redundant. Add explicit inline
41447 asm to specify register of return val to work around compiler codegen
41448 bug. Remove (int) cast on return value. Add return type parameter to
41449 use in macro so that this macro does not truncate return value for
41451 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41452 pass to INTERNAL_VSYSCALL_NCS.
41453 (INLINE_VSYSCALL): Add 'long int' as return type to
41454 INTERNAL_VSYSCALL_NCS macro invocation.
41455 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41456 INTERNAL_VSYSCALL_NCS macro invocation.
41457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41459 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41462 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41463 Fix application of SIMD FP exception mask.
41465 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41466 mp_no from a power of two.
41467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41468 __mpexp_twomm1. Use __pow_mp.
41470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41473 2013-01-17 David S. Miller <davem@davemloft.net>
41475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41477 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41480 * include/complex.h: Condition contents on [!_COMPLEX_H].
41481 (__kernel_casinhf): New prototype.
41482 (__kernel_casinh): Likewise.
41483 (__kernel_casinhl): Likewise.
41484 * math/Makefile (libm_calls): Add k_casinh.
41485 * math/k_casinh.c: New file.
41486 * math/k_casinhf.c: Likewise.
41487 * math/k_casinhl.c: Likewise.
41488 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41489 finite nonzero arguments.
41490 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41491 finite nonzero arguments.
41492 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41493 finite nonzero arguments.
41494 * math/s_casinh.c: Do not include <float.h>.
41495 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41496 * math/s_casinhf.c: Do not include <float.h>.
41497 (__casinhf): Move code for finite nonzero arguments to
41499 * math/s_casinhl.c: Do not include <float.h>.
41500 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41502 (__casinhl): Move code for finite nonzero arguments to
41504 * math/libm-test.inc (cacos_test): Add more tests.
41505 * sysdeps/i386/fpu/libm-test-ulps: Update.
41506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41508 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41510 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41511 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41512 [!HAVE_MREMAP]: Remove [defined linux] case.
41513 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41515 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41517 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41519 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41521 * elf/elf.h (R_386_SIZE32): New relocation.
41522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41524 (elf_machine_rela): Likewise.
41525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41526 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41528 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41530 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41531 (FP_FAST_FMA): Do not define.
41532 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41533 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41534 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41535 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41536 !_SOFT_FLOAT]: Likewise.
41537 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41538 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41540 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41541 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41542 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41543 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41544 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41545 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41548 2013-01-16 Andreas Schwab <schwab@suse.de>
41551 * include/stdlib.h (__mktemp): Add declaration.
41552 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41553 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41555 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41557 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41559 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41560 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41561 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41563 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41564 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41566 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41568 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41569 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41570 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41572 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41573 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41575 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41577 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41579 2013-01-15 David S. Miller <davem@davemloft.net>
41581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41582 trunc{,f} to libm-sysdep_routes.
41583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41593 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41594 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41595 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41596 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41597 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41598 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41601 nearbyint{,f} to libm-sysdep_routes.
41602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41615 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41618 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41619 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41620 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41622 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41623 libc_feholdexcept and libc_fesetenv.
41625 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41627 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41629 2013-01-14 David S. Miller <davem@davemloft.net>
41631 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41632 (SPARC_ASM_VIS2_IFUNC): Likewise.
41633 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41635 use of 'siam' instruction.
41636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41669 routines to libm-sysdep_routines.
41670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41673 fdim/fdimf to libm-sysdep_routines.
41674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41682 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41683 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41684 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41685 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41687 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41689 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41690 to optimize copies.
41692 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41697 local variable MPTWO.
41698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41701 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41703 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41706 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41708 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41710 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41712 * manual/pattern.texi (glob_t): Document gl_flags.
41713 (glob64_t): Likewise.
41715 2013-01-11 David S. Miller <davem@davemloft.net>
41717 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41718 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41719 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41720 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41721 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41722 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41723 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41724 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41725 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41726 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41727 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41728 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41729 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41731 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41732 sparc V9 rather than using V8 code.
41733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41736 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41738 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41741 2013-01-11 Roland McGrath <roland@hack.frob.com>
41744 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41745 not in the main loop.
41746 * configure: Regenerated.
41748 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41750 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41751 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41753 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41754 [!__GLIBC_HAVE_LONG_LONG] case.
41755 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41756 condition to just #else.
41757 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41758 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41759 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41760 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41762 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41763 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41764 #elif condition to just #else.
41765 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41766 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41767 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41768 #elif condition to just #else.
41770 2013-01-11 Steve Ellcey <sellcey@mips.com>
41772 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41773 (EF_MIPS_ARCH_64): Fix value.
41774 (EF_MIPS_ARCH_32R2): New.
41775 (EF_MIPS_ARCH_64R2): New.
41777 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41779 * Makeconfig (+link-pie-before-libc): New.
41780 (+link-pie-after-libc): Likewise.
41781 (+link-pie-tests): Likewise.
41782 (+link-pie): Rewritten.
41783 (link-before-libc): Remove $(config-LDFLAGS).
41784 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41785 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41786 (config-LDFLAGS): Renamed to ...
41787 (rtld-LDFLAGS): This.
41788 (rtld-tests-LDFLAGS): New macro.
41789 (link-libc-rpath-link): Likewise.
41790 (link-libc-tests-rpath-link): Likewise.
41791 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41792 (link-libc): Prepand $(link-libc-rpath-link).
41793 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41794 (test-program-prefix): New macro.
41795 (test-via-rtld-prefix): Likewise.
41796 (test-program-cmd): Likewise.
41797 (host-test-program-cmd): Likewise.
41798 * Makefile ($(common-objpfx)testrun.sh): Replace
41799 $(run-program-prefix) with $(test-program-prefix).
41800 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41802 ($(common-objpfx)shlib.lds): Likewise.
41803 (build-module-helper): Likewise.
41804 ($(common-objpfx)format.lds): Likewise.
41805 * Rules (binaries-pie-tests): New.
41806 (binaries-pie-notests): Likewise.
41807 (binaries-pie): Rewritten.
41808 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41809 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41810 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41811 (make-test-out): Replace $(host-built-program-cmd) with
41812 $(host-test-program-cmd).
41813 * config.make.in (build-hardcoded-path-in-tests): New variable.
41814 * configure.in (--enable-hardcoded-path-in-tests): New configure
41816 (hardcoded_path_in_tests): New AC_SUBST.
41817 * configure: Regenerated.
41818 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41819 $(built-program-cmd) with $(test-program-cmd).
41820 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41821 (test_program_cmd): This.
41822 * elf/Makefile ($(objpfx)order.out): Run test with
41823 $(test-program-prefix).
41824 ($(objpfx)order2.out): Likewise.
41825 ($(objpfx)tst-initorder.out): Likewise.
41826 ($(objpfx)tst-initorder2.out): Likewise.
41827 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41828 $(test-program-cmd).
41829 ($(objpfx)tst-array1-static.out): Likewise.
41830 ($(objpfx)tst-array2.out): Likewise.
41831 ($(objpfx)tst-array3.out): Likewise.
41832 ($(objpfx)tst-array4.out): Likewise.
41833 ($(objpfx)tst-array5.out): Likewise.
41834 ($(objpfx)tst-array5-static.out): Likewise.
41835 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41836 $(test-program-cmd).
41837 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41838 $(run-program-prefix) with $(test-program-prefix).
41839 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41840 (test_program_prefix): This.
41841 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41842 $(run-program-prefix) with $(test-program-prefix).
41843 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41844 (test_program_prefix): This.
41845 * iconvdata/tst-tables.sh: Likewise.
41846 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41847 $(run-program-prefix) with $(test-program-prefix).
41848 ($(objpfx)tst-translit.out): Likewise.
41849 ($(objpfx)tst-gettext2.out): Likewise.
41850 ($(objpfx)tst-gettext4.out): Likewise.
41851 ($(objpfx)tst-gettext6.out): Likewise.
41852 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41853 (test_program_prefix): This.
41854 * intl/tst-gettext2.sh: Likewise.
41855 * intl/tst-gettext4.sh Likewise.
41856 * intl/tst-gettext6.sh: Likewise.
41857 * intl/tst-translit.sh: Likewise.
41858 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41859 with $(test-program-cmd).
41860 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41861 $(run-program-prefix) with $(test-program-prefix).
41862 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41863 (test_program_prefix): This.
41864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41865 $(run-program-prefix) with $(test-program-prefix).
41866 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41867 (test_program_prefix): This.
41868 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41869 * posix/Makefile ($(objpfx)globtest.out): Replace
41870 $(run-via-rtld-prefix) and $(test-wrapper) with
41871 $(test-program-prefix) and $(test-via-rtld-prefix).
41872 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41873 $(test-program-prefix).
41874 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41875 $(host-test-program-cmd).
41876 (tst-spawn-ARGS): Likewise.
41877 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41878 $(test-program-prefix).
41879 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41880 (test_via_rtld_prefix): This.
41881 (test_wrapper): Renamed to ...
41882 (test_program_prefix): This.
41883 (run_program_prefix): Replaced by test_program_prefix.
41884 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41885 (test_program_prefix): This.
41886 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41887 with $(host-test-program-cmd).
41888 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41889 $(run-program-prefix) with $(test-program-prefix).
41890 ($(objpfx)tst-printf.out): Likewise.
41891 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41892 $(test-program-cmd).
41893 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41894 (test_program_prefix): This.
41895 * stdio-common/tst-unbputc.sh: Likewise.
41896 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41897 $(run-program-prefix) with $(test-program-prefix).
41898 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41899 (test_program_prefix): This.
41900 * string/Makefile ($(objpfx)tst-svc.out): Replace
41901 $(built-program-cmd) with $(test-program-cmd).
41903 2013-01-11 Andreas Jaeger <aj@suse.de>
41906 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41907 value. Sync with Linux 3.7.
41909 2013-01-10 David S. Miller <davem@davemloft.net>
41911 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41912 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41913 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41915 2013-01-10 Roland McGrath <roland@hack.frob.com>
41917 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41919 * configure: Regenerated.
41921 2013-01-10 David S. Miller <davem@davemloft.net>
41923 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41924 sparc V9 rather than using V8 code.
41925 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41926 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41928 2013-01-10 Roland McGrath <roland@hack.frob.com>
41930 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41931 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41932 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41933 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41934 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41935 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41936 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41937 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41938 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41939 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41940 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41941 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41942 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41943 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41944 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41945 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41946 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41947 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41948 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41949 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41950 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41951 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41952 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41953 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41954 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41955 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41956 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41958 2013-01-10 David S. Miller <davem@davemloft.net>
41960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41962 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41964 * posix/Makefile (tests-static): New variable.
41965 (tests): Add $(tests-static).
41966 (tst-exec-static-ARGS): New variable.
41967 (tst-spawn-static-ARGS): Likewise.
41968 * posix/tst-exec-static.c: New file.
41969 * posix/tst-spawn-static.c: Likewise.
41970 * posix/tst-exec.c: Support run directly.
41971 * posix/tst-spawn.c: Likewise.
41973 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41975 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41977 * math/bits/mathcalls.h (llrint): Likewise.
41978 (llround): Likewise.
41979 * stdlib/stdlib.h (struct drand48_data): Likewise.
41980 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41981 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41982 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41984 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41986 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41987 (elf_greg_t): Likewise.
41988 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41989 (__jmp_buf): Likewise.
41990 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41992 (llrint): Likewise, for all definitions.
41993 (llrintl): Likewise.
41995 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41996 Remove [__GNUC__] condition.
41997 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41998 condition to just [__USE_ISOC99].
41999 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42001 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42004 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42005 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42007 (_POSIX_V6_ILP32_OFF32): Likewise.
42008 (_XBS5_ILP32_OFF32): Likewise.
42009 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42010 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42012 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42014 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42017 doubles __mpexp_twomm1. Adjust usage.
42018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42021 2013-01-10 Andreas Schwab <schwab@suse.de>
42024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42025 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42027 2013-01-09 David S. Miller <davem@davemloft.net>
42030 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42031 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42032 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42033 (TCP_FASTOPEN): Define.
42034 (tcp_repair_opt): New structure.
42035 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42037 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42038 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42039 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42040 (tcp_cookie_transactions): New structure.
42042 2013-01-09 Anton Blanchard <anton@samba.org>
42044 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42045 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42047 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42049 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42051 * include/features.h (__USE_ANSI): Remove.
42053 2013-01-09 Roland McGrath <roland@hack.frob.com>
42055 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42057 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42059 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42061 * sysdeps/s390/fpu/libm-test-ulps: Update.
42063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42065 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42069 (denorm): Likewise.
42070 (__mp_dbl): Likewise.
42071 (__dbl_mp): Likewise.
42072 (add_magnitudes): Likewise.
42073 (sub_magnitudes): Likewise.
42079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42083 (denorm): Likewise.
42084 (__mp_dbl): Likewise.
42085 (__dbl_mp): Likewise.
42086 (add_magnitudes): Likewise.
42087 (sub_magnitudes): Likewise.
42093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42097 (denorm): Likewise.
42098 (__mp_dbl): Likewise.
42099 (__dbl_mp): Likewise.
42100 (add_magnitudes): Likewise.
42101 (sub_magnitudes): Likewise.
42108 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42110 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42111 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42112 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42113 2 && __USE_EXTERN_INLINES]: Likewise.
42115 2013-01-08 Andreas Jaeger <aj@suse.de>
42118 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42120 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42121 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42123 2013-01-07 Anton Blanchard <anton@samba.org>
42125 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42126 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42127 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42128 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42129 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42130 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42131 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42132 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42134 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42135 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42136 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42139 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42141 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42142 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42143 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42144 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42145 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42148 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42149 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42150 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42151 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42152 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42154 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42155 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42157 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42158 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42159 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42160 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42161 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42163 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42164 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42165 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42167 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42169 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42171 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42172 (__MALLOC_PMT): Likewise.
42173 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42174 [__GNUC__], only on [_LIBC].
42175 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42176 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42177 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42178 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42179 forward declaration.
42180 (realloc_hook_ini): Likewise.
42181 (memalign_hook_ini): Likewise.
42182 (__libc_memalign): Do not use __MALLOC_PMT in variable
42184 (__libc_valloc): Likewise.
42185 (__libc_pvalloc): Likewise.
42186 (__libc_calloc): Likewise.
42187 (__posix_memalign): Likewise.
42190 * math/s_casinh.c: Include <float.h>.
42191 (__casinh): Do not do computation with squaring and square root
42192 for large arguments.
42193 * math/s_casinhf.c: Include <float.h>.
42194 (__casinhf): Do not do computation with squaring and square root
42195 for large arguments.
42196 * math/s_casinhl.c: Include <float.h>.
42197 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42198 (__casinhl): Do not do computation with squaring and square root
42199 for large arguments.
42200 * math/libm-test.inc (casin_test): Add more tests.
42201 (casinh_test): Likewise.
42202 * sysdeps/i386/fpu/libm-test-ulps: Update.
42203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42205 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42207 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42208 (__x86_64_raw_data_cache_size): Likewise.
42209 (__x86_64_data_cache_size_half): Likewise.
42210 (__x86_64_raw_data_cache_size_half): Likewise.
42211 (__x86_64_shared_cache_size): Likewise.
42212 (__x86_64_raw_shared_cache_size): Likewise.
42213 (__x86_64_shared_cache_size_half): Likewise.
42214 (__x86_64_raw_shared_cache_size_half): Likewise.
42215 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42217 (__x86_data_cache_size): This.
42218 (__x86_64_raw_data_cache_size): Renamed to ...
42219 (__x86_raw_data_cache_size): This.
42220 (__x86_64_data_cache_size_half): Renamed to ...
42221 (__x86_data_cache_size_half): This.
42222 (__x86_64_raw_data_cache_size_half): Renamed to ...
42223 (__x86_raw_data_cache_size_half): This.
42224 (__x86_64_shared_cache_size): Renamed to ...
42225 (__x86_shared_cache_size): This.
42226 (__x86_64_raw_shared_cache_size): Renamed to ...
42227 (__x86_raw_shared_cache_size): This.
42228 (__x86_64_shared_cache_size_half): Renamed to ...
42229 (__x86_shared_cache_size_half): This.
42230 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42231 (__x86_raw_shared_cache_size_half): This.
42232 * sysdeps/x86_64/memcpy.S: Updated.
42233 * sysdeps/x86_64/memset.S: Likewise.
42234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42238 2013-01-04 David S. Miller <davem@davemloft.net>
42240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42242 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42244 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42245 1 to avoid redefinition warning.
42246 (__USE_GNU): Don't define.
42247 (init_signaling_nan): Protoize.
42249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42251 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42253 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42255 (__cpymn): Likewise.
42256 (norm): Remove commented code.
42257 (denorm): Likewise.
42258 (__mp_dbl): Likewise.
42260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42261 (__cpymn): Likewise.
42262 (norm): Remove commented code.
42263 (denorm): Likewise.
42264 (__mp_dbl): Likewise.
42267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42268 mp_no value for 1.0 and 2.0.
42269 (norm): Use RADIXI instead of radixi.d.
42270 (denorm): Likewise.
42271 (__mul): Use 0.0 instead of zero.d.
42272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42273 mp_no value for 1.0 and 2.0.
42274 (norm): Use RADIXI instead of radixi.d.
42275 (denorm): Likewise.
42276 (__mul): Use 0.0 instead of zero.d.
42278 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42281 * math/s_casinh.c (__casinh): Reduce finite argument to first
42282 quadrant then set signs of results at the end.
42283 * math/s_casinhf.c (__casinhf): Likewise.
42284 * math/s_casinhl.c (__casinhl): Likewise.
42285 * math/libm-test.inc (casin_test): Add more tests.
42286 (casinh_test): Likewise.
42287 * sysdeps/i386/fpu/libm-test-ulps: Update.
42288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42290 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42292 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42294 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42296 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42298 (denorm): Likewise.
42299 (__mp_dbl): Likewise.
42302 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42303 and adjust the header comment.
42305 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42306 variable name from declaration.
42308 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42311 Initialize COMMON_CPUID_INDEX_7 element.
42312 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42313 (CPUID_RTM): Likewise.
42314 (HAS_RTM): Likewise.
42315 (COMMON_CPUID_INDEX_7): New enum.
42317 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42320 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42321 size is zero, record memory as freed.
42323 2013-01-03 Andreas Jaeger <aj@suse.de>
42325 * po/ia.po: Add new Interlingua translation.
42327 2012-01-03 Allan McRae <allan@archlinux.org>
42329 * locale/programs/localedef.c: Fix description of '--posix' flag.
42331 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42333 * NEWS: Update dates in second copyright notice.
42334 * README: Update copyright dates in example.
42335 * manual/libc.texinfo: Update copyright dates.
42336 * scripts/test-installation.pl: Update copyright date in --version
42339 * hurd/ctty-input.c: Fix copyright notice formatting.
42340 * hurd/ctty-output.c: Likewise.
42341 * hurd/dtable.c: Likewise.
42342 * hurd/hurd-raise.c: Likewise.
42343 * hurd/hurdprio.c: Likewise.
42344 * hurd/msgportdemux.c: Likewise.
42345 * misc/sys/file.h: Likewise.
42346 * misc/sys/ioctl.h: Likewise.
42347 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42348 * sysdeps/mach/hurd/chdir.c: Likewise.
42349 * sysdeps/mach/hurd/fchdir.c: Likewise.
42350 * sysdeps/mach/hurd/rename.c: Likewise.
42351 * sysdeps/mach/hurd/rmdir.c: Likewise.
42352 * sysdeps/mach/hurd/seekdir.c: Likewise.
42353 * sysdeps/mach/hurd/setsid.c: Likewise.
42354 * sysdeps/posix/wait3.c: Likewise.
42356 * All files with FSF copyright notices: Update copyright dates
42357 using scripts/update-copyrights.
42358 * intl/plural.c: Regenerated.
42359 * locale/programs/charmap-kw.h: Likewise.
42360 * locale/programs/locfile-kw.h: Likewise.
42362 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42367 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42368 calculation loop and add branch prediction.
42370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42371 check access beyond bounds of m1np.
42373 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42375 (__inv): Remove local variable MPTWO to use the global
42377 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42381 MP3HALFS static const.
42383 2013-01-01 David S. Miller <davem@davemloft.net>
42385 * po/ca.po: Update from translation team.
42387 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42389 * scripts/update-copyrights: New file.
42390 * Makeconfig: Reformat copyright notice.
42391 * ctype/ctype.h: Likewise.
42392 * debug/swprintf_chk.c: Likewise.
42393 * elf/dl-cache.c: Likewise.
42394 * elf/dl-debug.c: Likewise.
42395 * elf/dl-object.c: Likewise.
42396 * grp/initgroups.c: Likewise.
42397 * hurd/Makefile: Likewise.
42398 * hurd/hurd/signal.h: Likewise.
42399 * hurd/hurdfault.c: Likewise.
42400 * hurd/hurdioctl.c: Likewise.
42401 * hurd/hurdlookup.c: Likewise.
42402 * hurd/intr-msg.c: Likewise.
42403 * iconv/gconv_open.c: Likewise.
42404 * libio/swprintf.c: Likewise.
42405 * locale/lc-ctype.c: Likewise.
42406 * locale/nl_langinfo.c: Likewise.
42407 * mach/Machrules: Likewise.
42408 * mach/Makefile: Likewise.
42409 * malloc/obstack.h: Likewise.
42410 * manual/Makefile: Likewise.
42411 * manual/tsort.awk: Likewise.
42412 * misc/bits/stab.def: Likewise.
42413 * nis/nis_print_group_entry.c: Likewise.
42414 * nis/nis_table.c: Likewise.
42415 * nis/nss_compat/compat-pwd.c: Likewise.
42416 * nis/nss_compat/compat-spwd.c: Likewise.
42417 * po/Makefile: Likewise.
42418 * posix/fnmatch.c: Likewise.
42419 * posix/regex.h: Likewise.
42420 * resolv/Makefile: Likewise.
42421 * resolv/nss_dns/dns-network.c: Likewise.
42422 * resolv/res_hconf.c: Likewise.
42423 * scripts/gen-sorted.awk: Likewise.
42424 * soft-fp/soft-fp.h: Likewise.
42425 * stdio-common/printf.h: Likewise.
42426 * stdlib/monetary.h: Likewise.
42427 * stdlib/random.c: Likewise.
42428 * stdlib/random_r.c: Likewise.
42429 * sysdeps/generic/Makefile: Likewise.
42430 * sysdeps/gnu/Makefile: Likewise.
42431 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42433 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42438 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42439 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42441 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42442 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42443 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42444 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42445 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42446 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42447 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42451 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42452 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42453 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42459 * sysdeps/mach/hurd/errnos.awk: Likewise.
42460 * sysdeps/mach/hurd/fork.c: Likewise.
42461 * sysdeps/mach/hurd/getcwd.c: Likewise.
42462 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42463 * sysdeps/mach/hurd/mmap.c: Likewise.
42464 * sysdeps/mach/hurd/utimes.c: Likewise.
42465 * sysdeps/mach/hurd/xmknod.c: Likewise.
42466 * sysdeps/posix/profil.c: Likewise.
42467 * sysdeps/posix/readdir_r.c: Likewise.
42468 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42469 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42470 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42471 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42473 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42474 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42477 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42479 * sysdeps/pthread/lio_listio.c: Likewise.
42480 * sysdeps/sparc/dl-procinfo.h: Likewise.
42481 * sysdeps/unix/i386/sysdep.S: Likewise.
42482 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42483 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42484 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42485 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42487 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42488 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42489 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42490 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42491 * sysdeps/wordsize-32/divdi3.c: Likewise.
42492 * time/sys/time.h: Likewise.
42493 * wcsmbs/Makefile: Likewise.
42495 2013-01-01 David S. Miller <davem@davemloft.net>
42497 * po/fr.po: Update from translation team.
42499 * catgets/gencat.c: Update copyright year.
42500 * csu/version.c: Likewise.
42501 * debug/catchsegv.sh: Likewise.
42502 * debug/pcprofiledump.c: Likewise.
42503 * debug/xtrace.sh: Likewise.
42504 * elf/ldconfig.c: Likewise.
42505 * elf/ldd.bash.in: Likewise.
42506 * elf/pldd.c: Likewise.
42507 * elf/sotruss.ksh: Likewise.
42508 * elf/sprof.c: Likewise.
42509 * iconv/iconv_prog.c: Likewise.
42510 * iconv/iconvconfig.c: Likewise.
42511 * locale/programs/locale.c: Likewise.
42512 * locale/programs/localedef.c: Likewise.
42513 * login/programs/pt_chown.c: Likewise.
42514 * malloc/memusage.sh: Likewise.
42515 * malloc/memusagestat.c: Likewise.
42516 * malloc/mtrace.pl: Likewise.
42517 * nscd/nscd.c: Likewise.
42518 * nss/getent.c: Likewise.
42519 * nss/makedb.c: Likewise.
42520 * posix/getconf.c: Likewise.
42522 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42524 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42527 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42529 * math/bits/mathcalls.h (modf): Use __nonnull.
42531 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42533 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42534 (split): Use macro CN instead of the bare value.
42535 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42538 instead of the bare value.
42539 (power1): Likewise.
42541 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42545 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42547 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42549 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42550 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42551 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42552 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42554 2012-12-28 Andreas Jaeger <aj@suse.de>
42556 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42557 values are from Linux 3.7.
42559 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42560 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42562 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42564 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42567 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42569 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42570 variables with preprocessor constants.
42571 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42572 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42573 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42575 2012-12-27 Bruno Haible <bruno@clisp.org>
42578 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42581 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42584 and use variable directly.
42585 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42587 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42589 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42590 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42592 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42594 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42595 include directive. Remove local variable MPONE.
42596 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42598 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42600 2012-12-25 David S. Miller <davem@davemloft.net>
42602 * version.h (RELEASE): Set to "development".
42603 (VERSION): Set to "2.17.90".
42604 * NEWS: Add 2.18 section.
42606 2012-12-21 David S. Miller <davem@davemloft.net>
42608 * po/hr.po: Update from translation team.
42610 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42612 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42614 2012-12-19 Steve Ellcey <sellcey@mips.com>
42616 * NEWS: Mention new memcpy for MIPS.
42618 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42620 * manual/contrib.texi (Contributors): Spelling correction.
42622 2012-12-15 David S. Miller <davem@davemloft.net>
42624 * po/ru.po: Update from translation team.
42626 2012-12-13 David S. Miller <davem@davemloft.net>
42628 * NEWS: Mention IFUNC testsuite enhancements.
42630 * po/pl.po: Update from translation team.
42631 * po/bg.po: Likewise.
42633 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42634 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42636 2012-12-11 David S. Miller <davem@davemloft.net>
42638 * po/sv.po: Update from translation team.
42640 * po/vi.po: Update from translation team.
42642 * po/cs.po: Update from translation team.
42644 * po/de.po: Update from translation team.
42645 * po/eo.po: Likewise.
42646 * po/nl.po: Likewise.
42648 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42651 * manual/argp.texi (Argp Helper Functions): Move node to follow
42652 Argp Parsing State.
42655 * manual/conf.texi (Limits on File System Capacity): Mention if
42656 terminating null is included in the max size.
42658 2012-12-10 Andreas Jaeger <aj@suse.de>
42660 * po/cs.po: Update from translation team.
42662 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42664 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42665 void pointer and cast to uintptr_t.
42666 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42668 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42669 * sysdeps/s390/s390-64/memset.S: Likewise.
42671 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42674 * menual/message.texi (Message Translation): Fix typos.
42675 (Helper programs for gettext): Likewise.
42677 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42680 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42683 2012-12-07 David S. Miller <davem@davemloft.net>
42685 * po/libc.pot: Update.
42687 2012-12-07 Richard Henderson <rth@redhat.com>
42690 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42691 normal/normal case to before the switch.
42692 (_FP_DIV): Likewise.
42694 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42695 Mike Frysinger <vapier@gentoo.org>
42697 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42698 check for __NR_fadvise64_64.
42700 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42702 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42703 0, not just to plain "0" as a statement.
42704 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42707 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42709 * NEWS: Use sourceware.org in Bugzilla URL.
42711 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42714 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42716 * stdio-common/tst-put-error.c (do_test): Add newline to the
42717 padded test to ensure flush.
42719 2012-12-05 Jeff Law <law@redhat.com>
42721 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42723 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42725 * README: Don't refer to ports add-on as distributed separately.
42726 Mention AArch64 in list of systems supported in the ports add-on.
42728 * LICENSES: Add more non-FSF copyright and license notices.
42730 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42733 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42735 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42736 10000 as width of padded output.
42738 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42740 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42742 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42743 variable LX with __attribute__ ((unused)).
42744 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42746 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42749 with __attribute__ ((unused)).
42751 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42753 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42755 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42757 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42758 (CFLAGS-nldbl-acos.c): New variable.
42759 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42760 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42761 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42762 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42763 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42764 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42765 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42766 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42767 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42768 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42769 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42770 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42771 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42772 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42773 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42774 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42775 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42776 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42777 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42778 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42779 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42780 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42781 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42782 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42783 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42784 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42785 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42786 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42787 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42788 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42789 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42790 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42791 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42792 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42793 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42794 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42795 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42796 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42797 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42798 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42799 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42800 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42801 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42802 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42803 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42804 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42805 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42806 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42807 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42808 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42809 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42810 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42811 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42812 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42813 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42814 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42815 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42816 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42817 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42818 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42819 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42820 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42821 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42822 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42823 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42824 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42825 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42826 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42827 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42828 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42829 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42830 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42831 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42832 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42833 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42834 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42835 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42836 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42837 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42838 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42839 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42840 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42841 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42842 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42843 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42844 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42845 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42846 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42847 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42848 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42849 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42850 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42851 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42852 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42853 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42854 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42855 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42858 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42862 whole low double instead of just low 47 bits when splitting values
42865 2012-12-03 Allan McRae <allan@archlinux.org>
42867 * manual/stdio.texi (Predefined Printf Handlers): Remove
42868 @hsep and @vsep usage.
42870 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42872 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42873 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42875 2012-12-03 Jeff Law <law@redhat.com>
42877 * time/sys/time.h (settimeofday): Do not mark TV argument
42880 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42882 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42883 when currently writing and seek to current position when not.
42884 * libio/Makefile (tests): Remove bug-fclose1.
42885 * libio/bug-fclose1.c: Delete.
42887 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42889 * manual/arith.texi (feenableexcept): Fix typo.
42890 (fedisableexcept): Likewise.
42892 2012-11-30 Roland McGrath <roland@hack.frob.com>
42894 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42895 second, differently-typed declaration, rather than a cast.
42897 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42899 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42900 * include/rpc/svc.h: ... here.
42902 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42905 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42906 depending n and resplen2 to catch cases where answer
42909 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42911 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42912 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42914 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42916 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42918 2012-11-29 Roland McGrath <roland@hack.frob.com>
42920 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42922 2012-11-28 Jeff Law <law@redhat.com>
42925 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42926 dataset_temporary. Track alloca usage into alloca_used.
42927 If dataset is large allocate and release it via malloc/free.
42929 2012-06-04 Florian Weimer <fweimer@redhat.com>
42932 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42934 2012-11-28 David S. Miller <davem@davemloft.net>
42936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42938 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42941 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42942 of pi/2 rounded to nearest to 64 bits.
42943 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42944 nearest to 64 bits.
42945 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42948 2012-11-28 Jeff Law <law@redhat.com>
42949 Martin Osvald <mosvald@redhat.com>
42952 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42953 * sunrpc/svc.c: Include time.h.
42954 (__svc_accept_failed): New function.
42955 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42956 any reason other than EINTR, call __svc_accept_failed.
42957 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42958 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42960 2012-11-28 Andreas Schwab <schwab@suse.de>
42962 * scripts/abilist.awk: Also handle indirect functions in .opd
42965 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42968 * sysdeps/x86/fpu/powl_helper.c: New file.
42969 * sysdeps/x86/fpu/Makefile: Likewise.
42970 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42972 (__ieee754_powl): Use __powl_helper for finite arguments except
42973 integer exponents below 8.
42974 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42976 (__ieee754_powl): Use __powl_helper for finite arguments except
42977 integer exponents below 8.
42978 * math/libm-test.inc (pow_test): Add more tests and enable some
42979 previously disabled tests.
42980 * sysdeps/i386/fpu/libm-test-ulps: Update.
42981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42983 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42984 Carlos O'Donell <carlos_odonell@mentor.com>
42986 * nss/makedb.c (is_prime): Assert that input is odd and greater
42987 than 4. Note that fact in a comment too.
42988 (next_prime): Add 4 to input.
42990 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42993 * libio/Makefile (tests): Add test case tst-fwrite-error.
42994 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42995 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42996 * libio/tst-fwrite-error.c: New test case.
42998 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43000 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43001 before casting to void *.
43002 * include/libc-internal.h (__pointer_type): New macro.
43003 (__integer_if_pointer_type_sub): Likewise.
43004 (__integer_if_pointer_type): Likewise.
43005 (cast_to_integer): Likewise.
43006 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43007 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43008 before casting to atomic64_t.
43009 (atomic_exchange_acq): Likewise.
43010 (__arch_exchange_and_add_body): Likewise.
43011 (__arch_add_body): Likewise.
43012 (atomic_add_negative): Likewise.
43013 (atomic_add_zero): Likewise.
43015 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43017 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43018 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43019 (add_fdes): Likewise.
43020 (linear_search_fdes): Likewise.
43021 (binary_search_unencoded_fdes): Likewise.
43023 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43025 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43027 2012-11-24 Adam Conrad <adconrad@0c3.net>
43029 * configure.in: Autodetect C++ header directories.
43030 * configure: Regenerated.
43032 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43034 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43036 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43040 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43042 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43043 LDBL_MANT_DIG == 106]: Disable some tests.
43044 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43046 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43051 input for small inputs. Return +/- pi/2 for large inputs.
43052 * math/libm-test.inc (atan_test): Add more tests.
43054 * sysdeps/generic/unwind-dw2-fde-glibc.c
43055 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43056 __attribute__ ((unused)).
43059 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43060 x * y if x and y are nonzero and z is zero.
43063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43064 nonzero exponents with absolute value below 0x1p-117 to +/-
43068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43069 up arguments below 2**-450, not just those below 2**-500.
43070 * math/libm-test.inc (hypot_test): Add another test.
43073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43074 Return a+b for ratio over 2**120, not 2**60.
43075 * math/libm-test.inc (hypot_test): Add another test.
43077 * math/libm-test.inc (clog_test): Use
43078 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43079 (clog10_test): Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43084 2012-11-22 Andreas Schwab <schwab@suse.de>
43086 * sysdeps/i386/fpu/libm-test-ulps: Update.
43088 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43090 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43091 printf output with newline.
43093 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43096 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43097 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43098 -z nodlopen, -z initfirst and -z execstack support.
43099 * configure: Regenerated.
43101 * elf/elf.h (DF_1_NODIRECT): New macro.
43102 (DF_1_IGNMULDEF): Likewise.
43103 (DF_1_NOKSYMS): Likewise.
43104 (DF_1_NOHDR): Likewise.
43105 (DF_1_EDITED): Likewise.
43106 (DF_1_NORELOC): Likewise.
43107 (DF_1_SYMINTPOSE): Likewise.
43108 (DF_1_GLOBAUDIT): Likewise.
43109 (DF_1_SINGLETON): Likewise.
43110 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43111 DT_1_SUPPORTED_MASK bits.
43112 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43114 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43116 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43118 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43120 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43123 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43124 (sendmmsg): Move declarations...
43125 * socket/sys/socket.h: ... here.
43126 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43127 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43129 * socket/recvmmsg.c: ... this new file.
43130 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43131 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43132 definition of __sendmmsg hidden.
43133 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43134 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43135 Move ENOSYS stub into and include it from...
43136 * socket/sendmmsg.c: ... this new file.
43137 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43138 (sysdep_routines): Move recvmmsg and sendmmsg...
43139 * socket/Makefile (routines): ... here.
43140 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43141 (GLIBC_PRIVATE): Add __sendmmsg.
43142 * include/sys/socket.h (__sendmmsg): Add declarations.
43143 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43146 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43149 variable I1 with __attribute__ ((unused)).
43150 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43152 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43154 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43155 DUMMY variables with __attribute__ ((unused)).
43157 * bits/byteswap.h: Include <bits/types.h>.
43158 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43160 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43162 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43163 string_t. Do not manually set errno.
43164 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43165 length with __strnlen. Make sure to both set errno and return it on
43168 2012-11-19 David S. Miller <davem@davemloft.net>
43170 With help from Joseph Myers.
43171 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43172 very large arguments properly.
43173 * math/libm-test.inc (atan_test): New tests.
43174 (atan2_test): New tests.
43175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43178 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43181 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43184 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43185 [POSIX] (EADDRNOTAVAIL): Likewise.
43186 [POSIX] (EAFNOSUPPORT): Likewise.
43187 [POSIX] (EALREADY): Likewise.
43188 [POSIX] (ECONNABORTED): Likewise.
43189 [POSIX] (ECONNREFUSED): Likewise.
43190 [POSIX] (ECONNRESET): Likewise.
43191 [POSIX] (EDESTADDRREQ): Likewise.
43192 [POSIX] (EDQUOT): Likewise.
43193 [POSIX] (EHOSTUNREACH): Likewise.
43194 [POSIX] (EIDRM): Likewise.
43195 [POSIX] (EISCONN): Likewise.
43196 [POSIX] (ELOOP): Likewise.
43197 [POSIX] (EMULTIHOP): Likewise.
43198 [POSIX] (ENETDOWN): Likewise.
43199 [POSIX] (ENETUNREACH): Likewise.
43200 [POSIX] (ENOBUFS): Likewise.
43201 [POSIX] (ENODATA): Likewise.
43202 [POSIX] (ENOLINK): Likewise.
43203 [POSIX] (ENOMSG): Likewise.
43204 [POSIX] (ENOPROTOOPT): Likewise.
43205 [POSIX] (ENOSR): Likewise.
43206 [POSIX] (ENOSTR): Likewise.
43207 [POSIX] (ENOTCONN): Likewise.
43208 [POSIX] (ENOTSOCK): Likewise.
43209 [POSIX] (EOPNOTSUPP): Likewise.
43210 [POSIX] (EOVERFLOW): Likewise.
43211 [POSIX] (EPROTO): Likewise.
43212 [POSIX] (EPROTONOSUPPORT): Likewise.
43213 [POSIX] (EPROTOTYPE): Likewise.
43214 [POSIX] (ESTALE): Likewise.
43215 [POSIX] (ETIME): Likewise.
43216 [POSIX] (ETXTBSY): Likewise.
43217 [POSIX] (EWOULDBLOCK): Likewise.
43218 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43219 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43220 [POSIX] (SEEK_CUR): Likewise.
43221 [POSIX] (SEEK_END): Likewise.
43222 [POSIX || UNIX98] (mode_t): Do not require.
43223 [POSIX] (off_t): Likewise.
43224 [POSIX] (pid_t): Likewise.
43225 [POSIX] (sys/stat.h): Do not allow header.
43226 [POSIX] (unistd.h): Likewise.
43227 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43228 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43229 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43230 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43232 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43233 sigevent): Specify elements.
43234 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43236 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43237 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43239 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43240 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43241 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43242 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43243 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43244 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43245 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43246 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43247 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43248 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43249 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43250 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43251 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43252 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43254 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43256 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43258 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43260 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43261 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43262 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43263 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43264 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43265 Specify lower bound on value.
43266 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43267 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43268 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43269 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43270 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43271 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43272 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43273 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43275 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43277 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43278 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43279 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43280 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43281 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43282 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43283 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43284 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43285 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43286 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43287 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43288 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43289 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43290 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43291 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43292 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43294 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43296 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43297 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43298 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43299 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43300 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43301 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43303 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43304 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43305 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43306 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43307 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43308 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43309 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43311 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43312 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43313 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43314 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43315 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43316 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43317 specify as optional.
43318 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43319 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43320 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43321 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43322 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43323 [XPG3] (NL_LANGMAX): Likewise.
43324 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43325 [POSIX || XPG3] (NL_NMAX): Likewise.
43326 [POSIX || XPG3] (NL_SETMAX): Likewise.
43327 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43328 [XPG3] (NZERO): Likewise.
43329 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43330 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43331 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43332 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43333 (REG_ERANGE): Expect.
43334 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43336 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43337 Use (void) in prototype.
43338 [POSIX] (*_t): Allow.
43339 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43340 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43341 (WRDE_BADVAL): Expect.
43343 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43345 [XPG3 || XPG4] (O_RSYNC): Likewise.
43346 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43348 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43349 [XPG3 || XPG4] (sigqueue): Likewise.
43350 [XPG3 || XPG4] (sigtimedwait): Likewise.
43351 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43352 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43353 [XPG3 || XPG4] (vsnprintf): Likewise.
43354 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43356 [XPG3 || XPG4] (blksize_t): Likewise.
43357 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43359 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43360 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43361 [XPG3 || XPG4] (struct itimerspec): Likewise.
43362 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43363 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43364 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43365 [XPG3 || XPG4] (clockid_t): Likewise.
43366 [XPG3 || XPG4] (timer_t): Likewise.
43367 [XPG3 || XPG4] (clock_getres): Likewise.
43368 [XPG3 || XPG4] (clock_gettime): Likewise.
43369 [XPG3 || XPG4] (clock_settime): Likewise.
43370 [XPG3 || XPG4] (nanosleep): Likewise.
43371 [XPG3 || XPG4] (timer_create): Likewise.
43372 [XPG3 || XPG4] (timer_delete): Likewise.
43373 [XPG3 || XPG4] (timer_gettime): Likewise.
43374 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43375 [XPG3 || XPG4] (timer_settime): Likewise.
43376 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43377 [XPG3 || XPG4] (getlogin_r): Likewise.
43378 [XPG3 || XPG4] (pread): Likewise.
43379 [XPG3 || XPG4] (pthread_atfork): Likewise.
43380 [XPG3 || XPG4] (pwrite): Likewise.
43383 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43386 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43388 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43389 finalizing MALLSTREAM.
43391 * sysdeps/mach/hurd/syncfs.c: New file.
43393 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43396 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43397 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43398 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43399 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43400 (_nss_dns_gethostbyname4_r): Likewise.
43401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43402 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43404 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43407 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43409 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43411 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43412 * elf/cache.c (print_entry): Print ",AArch64" for
43415 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43416 * elf/cache.c (print_entry): Print ",hard-float" for
43419 2012-11-18 David S. Miller <davem@davemloft.net>
43421 With help from Joseph Myers.
43422 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43424 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43426 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43427 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43429 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43430 * math/libm-test.inc (y0_test): New tests.
43431 (y1_test): New tests.
43432 * sysdeps/i386/fpu/libm-test-ulps: Update.
43433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43436 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43438 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43440 * configure: Regenerated.
43442 2012-11-17 David S. Miller <davem@davemloft.net>
43445 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43446 nonzero exponents with absolute value below 0x1p-128 to +/-
43449 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43451 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43453 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43455 * posix/getconf-speclist.c: New file.
43456 * posix/posix-envs.def: Likewise.
43457 * posix/confstr.c (START_ENV_GROUP): New macro.
43458 (END_ENV_GROUP): Likewise.
43459 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43460 (KNOWN_PRESENT_ENV_STRING): Likewise.
43461 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43462 (UNKNOWN_ENVIRONMENT): Likewise.
43463 (confstr): Include posix-envs.def instead of handling
43464 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43465 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43466 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43467 (END_ENV_GROUP): Likewise.
43468 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43469 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43470 (UNKNOWN_ENVIRONMENT): Likewise.
43471 (__sysconf): Include posix-envs.def instead of handling associated
43472 cases directly here.
43473 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43474 preprocessing getconf-speclist.c rather than running getconf or
43475 generating empty file.
43477 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43479 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43481 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43484 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43486 2012-11-16 David S. Miller <davem@davemloft.net>
43488 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43489 smaller than LDBL_EPSILON/2.0L, just return xm1.
43491 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43493 * elf/tst-array1.c (init): Set constructor priority to 1000.
43494 (fini): Set destructor priority to 1000.
43495 * elf/tst-array2dep.c: Likewise.
43497 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43500 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43501 (_IO_new_file_xsputn): Also return EOF if none of the input
43502 data was written when overflow failed.
43503 * libio/iopadn.c (_IO_padn): Likewise.
43504 * libio/iowpadn.c (_IO_wpadn): Likewise.
43505 * stdio-common/tst-put-error.c: Add copyright notice.
43506 (do_test): Add case for printing padded string.
43507 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43508 _IO_padn returned error.
43509 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43510 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43513 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43515 * libio/libioP.h: Add comment note that the references to C++
43516 bits are now obsolete.
43518 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43520 * math/libm-test.inc (check_complex): Use asprintf.
43522 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43524 * debug/pcprofiledump.c (print_version): Update copyright year.
43525 * malloc/memusagestat.c (print_version): Likewise.
43527 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43530 * elf/Makefile (tests): Add tst-audit8.
43531 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43532 ($(objpfx)tst-audit8.out): New target.
43533 (tst-audit8-ENV): New variable.
43534 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43535 audit if l_reloc_result is NULL.
43536 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43537 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43538 * elf/tst-audit8.c: New file.
43540 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43542 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43543 * misc/Makefile (CFLAGS-select.c): Define.
43544 * posix/Makefile (CFLAGS-pause.c): Define.
43546 2012-11-13 David S. Miller <davem@davemloft.net>
43548 * crypt/Makefile: Move test targets after toplevel Rules
43549 inclusion. Grab any necessary sysdep routines when linking.
43550 * crypt/md5.c (md5_process_block): Remove define, we will always
43551 name it __md5_process_block.
43552 (md5_finish_ctx): Update md5_process_block call.
43553 (md5_stream): Likewise.
43554 (md5_process_bytes): Likewise.
43555 (md5_process_block): Rename to __md5_process_block and move to ...
43556 * crypt/md5-block.c: ... here.
43557 * crypt/sha256.c (sha256_process_block): Move to ...
43558 * crypt/sha256-block.c: ... here.
43559 * crypt/sha512.c (sha512_process_block): Move to ...
43560 * crypt/sha512-block.c: ... here.
43561 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43563 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43564 * sysdeps/sparc/sparc64/multiarch/Makefile
43565 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43567 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43568 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43570 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43571 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43572 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43573 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43574 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43575 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43576 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43577 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43578 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43580 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43581 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43583 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43585 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43587 * timezone/tzselect.ksh: Update from tzcode git revision
43588 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43589 * timezone/zdump.c: Likewise.
43590 * timezone/zic.c: Likewise.
43591 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43592 in TZVERSION setting, not $(PKGVERSION).
43593 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43594 REPORT_BUGS_TO settings.
43597 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43600 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43602 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43603 detection to immediately after _FP_ROUND().
43604 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43607 2012-11-11 David S. Miller <davem@davemloft.net>
43609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43611 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43612 __close rather than their public counterparts.
43614 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43616 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43618 [UNIX98] (sem_timedwait): Do not expect.
43619 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43620 [XPG4 || UNIX98] (sockatmark): Do not expect.
43621 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43622 (clock_getcpuclockid): Do not expect.
43623 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43624 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43626 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43627 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43628 [UNIX98] (vwscanf): Likewise.
43629 [UNIX98] (vswscanf): Likewise.
43631 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43633 * timezone/version.h: Remove file.
43634 * timezone/README: Do not refer to version.h.
43635 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43636 $(objpfx)version.h.
43637 ($(objpfx)zdump.o): Likewise.
43638 ($(objpfx)version.h): New target.
43640 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43642 * timezone/README: Don't mention modification to tzselect.ksh.
43643 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43644 work on unmodified tzselect.ksh. Substitute version numbers in
43647 * Makefile (format-me): Remove.
43648 (INSTALL): Adjust indentation. Use commands directly instead of
43649 using $(format-me).
43651 * aclocal.m4 (ACX_PKGVERSION): New macro.
43652 (ACX_BUGURL): Likewise.
43653 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43654 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43655 (REPORT_BUGS_TO): Likewise.
43656 * configure: Regenerated.
43657 * config.h.in (PKGVERSION): New macro.
43658 (REPORT_BUGS_TO): Likewise.
43659 * config.make.in (PKGVERSION): New variable.
43660 (PKGVERSION_TEXI): Likewise.
43661 (REPORT_BUGS_TO): Likewise.
43662 (REPORT_BUGS_TEXI): Likewise.
43663 * Makefile (format-me): Use -I$(common-objpfx)manual.
43664 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43665 ($(common-objpfx)manual/%): New target.
43666 (manual/%): Remove target.
43667 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43668 (print_version): Use PKGVERSION.
43669 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43670 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43671 and REPORT_BUGS_TO.
43672 ($(objpfx)xtrace): Likewise.
43673 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43674 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43675 (print_version): Use PKGVERSION.
43676 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43677 (do_version): Use PKGVERSION.
43678 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43680 (common-ldd-rewrite): Likewise.
43681 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43682 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43683 (print_version): Use PKGVERSION.
43684 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43685 * elf/pldd.c (argp_program_bug_address): Remove variable.
43686 (more_help): New function.
43687 (argp): Use more_help.
43688 (print_version): Use PKGVERSION.
43689 * elf/sln.c (main): Use PKGVERSION.
43690 (usage): Use REPORT_BUGS_TO.
43691 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43692 (top level): Use PKGVERSION.
43693 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43694 (print_version): Use PKGVERSION.
43695 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43696 (print_version): Use PKGVERSION.
43697 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43698 (print_version): Use PKGVERSION.
43699 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43700 (print_version): Use PKGVERSION.
43701 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43702 (print_version): Use PKGVERSION.
43703 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43704 (print_version): Use PKGVERSION.
43705 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43707 ($(objpfx)memusage): Likewise.
43708 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43709 (do_version): Use PKGVERSION.
43710 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43711 (print_version): Use PKGVERSION.
43712 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43713 ($PKGVERSION): New variable.
43714 ($REPORT_BUGS_TO): Likewise.
43715 (usage): Use $REPORT_BUGS_TO.
43716 (top level): Use $PKGVERSION.
43717 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43718 ($(objpfx)pkgvers.texi): New rule.
43719 ($(objpfx)stamp-pkgvers): Likewise.
43720 * manual/install.texi: Include pkgvers.texi.
43721 (--with-pkgversion): Document new configure option.
43722 (--with-bugurl): Likewise.
43723 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43724 than necessarily for this particular distribution. Use
43725 REPORT_BUGS_TO for where to report bugs.
43726 * INSTALL: Regenerated.
43727 * manual/libc.texinfo: Include pkgvers.texi.
43728 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43729 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43730 (print_version): Use PKGVERSION.
43731 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43732 (print_version): Use PKGVERSION.
43733 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43734 (print_version): Use PKGVERSION.
43735 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43736 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43738 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43739 (print_version): Use PKGVERSION.
43740 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43741 (print_version): Use PKGVERSION.
43742 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43745 * timezone/checktab.awk: Update from tzcode 2012i.
43746 * timezone/ialloc.c: Likewise.
43747 * timezone/private.h: Likewise.
43748 * timezone/scheck.c: Likewise.
43749 * timezone/tzfile.h: Likewise.
43750 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43751 (TZVERSION): Hardcode tzcode version number.
43752 * timezone/zdump.c: Update from tzcode 2012i.
43753 * timezone/zic.c: Likewise.
43754 * timezone/version.h: New file.
43755 * timezone/README: Describe version.h. Update upstream location.
43758 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43759 (mktemp): Enable declaration.
43760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43777 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43778 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43779 for copies of such integer values.
43780 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43781 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43783 2012-11-09 Andreas Jaeger <aj@suse.de>
43785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43786 definitions and declarations that are provided by
43787 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43789 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43791 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43792 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43793 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43796 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43798 * elf/elf.h: Update comment before AArch64 relocations.
43800 2012-11-07 David S. Miller <davem@davemloft.net>
43802 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43803 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43804 (__start_context): Declare.
43805 (__makecontext_ret): Delete.
43806 (__makecontext): Hook up __start_context instead of
43808 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43809 (sysdep_routines): Add __start_context when in stdlib.
43811 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43813 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43814 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43815 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43817 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43818 (READELF): New variable. Use it instead of hardcoded "readelf".
43820 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43822 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43823 * sysdeps/x86/Makefile: Here.
43824 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43825 * sysdeps/x86/tst-xmmymm.sh: This.
43827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43829 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43831 [UNIX98] (pthread_barrier_t): Do not expect.
43832 [UNIX98] (pthread_barrierattr_t): Likewise.
43833 [UNIX98] (pthread_spinlock_t): Likewise.
43834 [UNIX98] (pthread_barrier_destroy): Likewise.
43835 [UNIX98] (pthread_barrier_init): Likewise.
43836 [UNIX98] (pthread_barrier_wait): Likewise.
43837 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43838 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43839 [UNIX98] (pthread_barrierattr_init): Likewise.
43840 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43841 [UNIX98] (pthread_getcpuclockid): Likewise.
43842 [UNIX98] (pthread_mutex_timedlock): Likewise.
43843 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43844 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43845 [UNIX98] (pthread_sigmask): Likewise.
43846 [UNIX98] (pthread_spin_destroy): Likewise.
43847 [UNIX98] (pthread_spin_init): Likewise.
43848 [UNIX98] (pthread_spin_lock): Likewise.
43849 [UNIX98] (pthread_spin_trylock): Likewise.
43850 [UNIX98] (pthread_spin_unlock): Likewise.
43851 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43853 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43854 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43855 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43856 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43857 [XPG3 || XPG4] (pthread_key_t): Likewise.
43858 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43859 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43860 [XPG3 || XPG4] (pthread_once_t): Likewise.
43861 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43862 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43863 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43864 [XPG3 || XPG4] (pthread_t): Likewise.
43866 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43868 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43870 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43871 Change function return type to int.
43873 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43874 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43875 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43876 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43877 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43878 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43879 [!POSIX] (posix_madvise): Likewise.
43880 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43882 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43883 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43884 (mode_t): Likewise.
43885 (posix_mem_offset): Likewise.
43886 (posix_typed_mem_get_info): Likewise.
43887 (posix_typed_mem_open): Likewise.
43889 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43890 Change condition to [XOPEN2K8].
43892 * conform/conformtest.pl: Preprocess allow-header data with -x c
43893 instead of from stdin.
43894 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43895 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43896 [C99-based standards] (cerfc): Likewise.
43897 [C99-based standards] (cexp2): Likewise.
43898 [C99-based standards] (cexpm1): Likewise.
43899 [C99-based standards] (clog10): Likewise.
43900 [C99-based standards] (clog1p): Likewise.
43901 [C99-based standards] (clog2): Likewise.
43902 [C99-based standards] (clgamma): Likewise.
43903 [C99-based standards] (ctgamma): Likewise.
43904 [C99-based standards] (cerff): Likewise.
43905 [C99-based standards] (cerfcf): Likewise.
43906 [C99-based standards] (cexp2f): Likewise.
43907 [C99-based standards] (cexpm1f): Likewise.
43908 [C99-based standards] (clog10f): Likewise.
43909 [C99-based standards] (clog1pf): Likewise.
43910 [C99-based standards] (clog2f): Likewise.
43911 [C99-based standards] (clgammaf): Likewise.
43912 [C99-based standards] (ctgammaf): Likewise.
43913 [C99-based standards] (cerfl): Likewise.
43914 [C99-based standards] (cerfcl): Likewise.
43915 [C99-based standards] (cexp2l): Likewise.
43916 [C99-based standards] (cexpm1l): Likewise.
43917 [C99-based standards] (clog10l): Likewise.
43918 [C99-based standards] (clog1pl): Likewise.
43919 [C99-based standards] (clog2l): Likewise.
43920 [C99-based standards] (clgammal): Likewise.
43921 [C99-based standards] (ctgammal): Likewise.
43922 * conform/data/inttypes.h-data [C99-based standards]: Include
43923 stdint.h-data. Remove all expectations for stdint.h contents.
43924 [C99-based standards] (PRI*): Do not allow.
43925 [C99-based standards] (SCN*): Likewise.
43926 [C99-based standards] (*_t): Likewise.
43927 [C99-based-standards] (PRId8): Expect macro.
43928 [C99-based-standards] (PRIi8): Likewise.
43929 [C99-based-standards] (PRIo8): Likewise.
43930 [C99-based-standards] (PRIu8): Likewise.
43931 [C99-based-standards] (PRIx8): Likewise.
43932 [C99-based-standards] (PRIX8): Likewise.
43933 [C99-based-standards] (SCNd8): Likewise.
43934 [C99-based-standards] (SCNi8): Likewise.
43935 [C99-based-standards] (SCNo8): Likewise.
43936 [C99-based-standards] (SCNu8): Likewise.
43937 [C99-based-standards] (SCNx8): Likewise.
43938 [C99-based-standards] (PRIdLEAST8): Likewise.
43939 [C99-based-standards] (PRIiLEAST8): Likewise.
43940 [C99-based-standards] (PRIoLEAST8): Likewise.
43941 [C99-based-standards] (PRIuLEAST8): Likewise.
43942 [C99-based-standards] (PRIxLEAST8): Likewise.
43943 [C99-based-standards] (PRIXLEAST8): Likewise.
43944 [C99-based-standards] (SCNdLEAST8): Likewise.
43945 [C99-based-standards] (SCNiLEAST8): Likewise.
43946 [C99-based-standards] (SCNoLEAST8): Likewise.
43947 [C99-based-standards] (SCNuLEAST8): Likewise.
43948 [C99-based-standards] (SCNxLEAST8): Likewise.
43949 [C99-based-standards] (PRIdFAST8): Likewise.
43950 [C99-based-standards] (PRIiFAST8): Likewise.
43951 [C99-based-standards] (PRIoFAST8): Likewise.
43952 [C99-based-standards] (PRIuFAST8): Likewise.
43953 [C99-based-standards] (PRIxFAST8): Likewise.
43954 [C99-based-standards] (PRIXFAST8): Likewise.
43955 [C99-based-standards] (SCNdFAST8): Likewise.
43956 [C99-based-standards] (SCNiFAST8): Likewise.
43957 [C99-based-standards] (SCNoFAST8): Likewise.
43958 [C99-based-standards] (SCNuFAST8): Likewise.
43959 [C99-based-standards] (SCNxFAST8): Likewise.
43960 [C99-based-standards] (PRId16): Likewise.
43961 [C99-based-standards] (PRIi16): Likewise.
43962 [C99-based-standards] (PRIo16): Likewise.
43963 [C99-based-standards] (PRIu16): Likewise.
43964 [C99-based-standards] (PRIx16): Likewise.
43965 [C99-based-standards] (PRIX16): Likewise.
43966 [C99-based-standards] (SCNd16): Likewise.
43967 [C99-based-standards] (SCNi16): Likewise.
43968 [C99-based-standards] (SCNo16): Likewise.
43969 [C99-based-standards] (SCNu16): Likewise.
43970 [C99-based-standards] (SCNx16): Likewise.
43971 [C99-based-standards] (PRIdLEAST16): Likewise.
43972 [C99-based-standards] (PRIiLEAST16): Likewise.
43973 [C99-based-standards] (PRIoLEAST16): Likewise.
43974 [C99-based-standards] (PRIuLEAST16): Likewise.
43975 [C99-based-standards] (PRIxLEAST16): Likewise.
43976 [C99-based-standards] (PRIXLEAST16): Likewise.
43977 [C99-based-standards] (SCNdLEAST16): Likewise.
43978 [C99-based-standards] (SCNiLEAST16): Likewise.
43979 [C99-based-standards] (SCNoLEAST16): Likewise.
43980 [C99-based-standards] (SCNuLEAST16): Likewise.
43981 [C99-based-standards] (SCNxLEAST16): Likewise.
43982 [C99-based-standards] (PRIdFAST16): Likewise.
43983 [C99-based-standards] (PRIiFAST16): Likewise.
43984 [C99-based-standards] (PRIoFAST16): Likewise.
43985 [C99-based-standards] (PRIuFAST16): Likewise.
43986 [C99-based-standards] (PRIxFAST16): Likewise.
43987 [C99-based-standards] (PRIXFAST16): Likewise.
43988 [C99-based-standards] (SCNdFAST16): Likewise.
43989 [C99-based-standards] (SCNiFAST16): Likewise.
43990 [C99-based-standards] (SCNoFAST16): Likewise.
43991 [C99-based-standards] (SCNuFAST16): Likewise.
43992 [C99-based-standards] (SCNxFAST16): Likewise.
43993 [C99-based-standards] (PRId32): Likewise.
43994 [C99-based-standards] (PRIi32): Likewise.
43995 [C99-based-standards] (PRIo32): Likewise.
43996 [C99-based-standards] (PRIu32): Likewise.
43997 [C99-based-standards] (PRIx32): Likewise.
43998 [C99-based-standards] (PRIX32): Likewise.
43999 [C99-based-standards] (SCNd32): Likewise.
44000 [C99-based-standards] (SCNi32): Likewise.
44001 [C99-based-standards] (SCNo32): Likewise.
44002 [C99-based-standards] (SCNu32): Likewise.
44003 [C99-based-standards] (SCNx32): Likewise.
44004 [C99-based-standards] (PRIdLEAST32): Likewise.
44005 [C99-based-standards] (PRIiLEAST32): Likewise.
44006 [C99-based-standards] (PRIoLEAST32): Likewise.
44007 [C99-based-standards] (PRIuLEAST32): Likewise.
44008 [C99-based-standards] (PRIxLEAST32): Likewise.
44009 [C99-based-standards] (PRIXLEAST32): Likewise.
44010 [C99-based-standards] (SCNdLEAST32): Likewise.
44011 [C99-based-standards] (SCNiLEAST32): Likewise.
44012 [C99-based-standards] (SCNoLEAST32): Likewise.
44013 [C99-based-standards] (SCNuLEAST32): Likewise.
44014 [C99-based-standards] (SCNxLEAST32): Likewise.
44015 [C99-based-standards] (PRIdFAST32): Likewise.
44016 [C99-based-standards] (PRIiFAST32): Likewise.
44017 [C99-based-standards] (PRIoFAST32): Likewise.
44018 [C99-based-standards] (PRIuFAST32): Likewise.
44019 [C99-based-standards] (PRIxFAST32): Likewise.
44020 [C99-based-standards] (PRIXFAST32): Likewise.
44021 [C99-based-standards] (SCNdFAST32): Likewise.
44022 [C99-based-standards] (SCNiFAST32): Likewise.
44023 [C99-based-standards] (SCNoFAST32): Likewise.
44024 [C99-based-standards] (SCNuFAST32): Likewise.
44025 [C99-based-standards] (SCNxFAST32): Likewise.
44026 [C99-based-standards] (PRId64): Likewise.
44027 [C99-based-standards] (PRIi64): Likewise.
44028 [C99-based-standards] (PRIo64): Likewise.
44029 [C99-based-standards] (PRIu64): Likewise.
44030 [C99-based-standards] (PRIx64): Likewise.
44031 [C99-based-standards] (PRIX64): Likewise.
44032 [C99-based-standards] (SCNd64): Likewise.
44033 [C99-based-standards] (SCNi64): Likewise.
44034 [C99-based-standards] (SCNo64): Likewise.
44035 [C99-based-standards] (SCNu64): Likewise.
44036 [C99-based-standards] (SCNx64): Likewise.
44037 [C99-based-standards] (PRIdLEAST64): Likewise.
44038 [C99-based-standards] (PRIiLEAST64): Likewise.
44039 [C99-based-standards] (PRIoLEAST64): Likewise.
44040 [C99-based-standards] (PRIuLEAST64): Likewise.
44041 [C99-based-standards] (PRIxLEAST64): Likewise.
44042 [C99-based-standards] (PRIXLEAST64): Likewise.
44043 [C99-based-standards] (SCNdLEAST64): Likewise.
44044 [C99-based-standards] (SCNiLEAST64): Likewise.
44045 [C99-based-standards] (SCNoLEAST64): Likewise.
44046 [C99-based-standards] (SCNuLEAST64): Likewise.
44047 [C99-based-standards] (SCNxLEAST64): Likewise.
44048 [C99-based-standards] (PRIdFAST64): Likewise.
44049 [C99-based-standards] (PRIiFAST64): Likewise.
44050 [C99-based-standards] (PRIoFAST64): Likewise.
44051 [C99-based-standards] (PRIuFAST64): Likewise.
44052 [C99-based-standards] (PRIxFAST64): Likewise.
44053 [C99-based-standards] (PRIXFAST64): Likewise.
44054 [C99-based-standards] (SCNdFAST64): Likewise.
44055 [C99-based-standards] (SCNiFAST64): Likewise.
44056 [C99-based-standards] (SCNoFAST64): Likewise.
44057 [C99-based-standards] (SCNuFAST64): Likewise.
44058 [C99-based-standards] (SCNxFAST64): Likewise.
44059 [C99-based-standards] (PRIdMAX): Likewise.
44060 [C99-based-standards] (PRIiMAX): Likewise.
44061 [C99-based-standards] (PRIoMAX): Likewise.
44062 [C99-based-standards] (PRIuMAX): Likewise.
44063 [C99-based-standards] (PRIxMAX): Likewise.
44064 [C99-based-standards] (PRIXMAX): Likewise.
44065 [C99-based-standards] (SCNdMAX): Likewise.
44066 [C99-based-standards] (SCNiMAX): Likewise.
44067 [C99-based-standards] (SCNoMAX): Likewise.
44068 [C99-based-standards] (SCNuMAX): Likewise.
44069 [C99-based-standards] (SCNxMAX): Likewise.
44070 [C99-based-standards] (PRIdPTR): Likewise.
44071 [C99-based-standards] (PRIiPTR): Likewise.
44072 [C99-based-standards] (PRIoPTR): Likewise.
44073 [C99-based-standards] (PRIuPTR): Likewise.
44074 [C99-based-standards] (PRIxPTR): Likewise.
44075 [C99-based-standards] (PRIXPTR): Likewise.
44076 [C99-based-standards] (SCNdPTR): Likewise.
44077 [C99-based-standards] (SCNiPTR): Likewise.
44078 [C99-based-standards] (SCNoPTR): Likewise.
44079 [C99-based-standards] (SCNuPTR): Likewise.
44080 [C99-based-standards] (SCNxPTR): Likewise.
44081 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44083 * conform/data/stdint.h-data: Update comments to clarify
44085 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44087 [C99-based standards] (INT8_MAX): Likewise.
44088 [C99-based standards] (INT16_MIN): Likewise.
44089 [C99-based standards] (INT16_MAX): Likewise.
44090 [C99-based standards] (INT32_MIN): Likewise.
44091 [C99-based standards] (INT32_MAX): Likewise.
44092 [C99-based standards] (INT64_MIN): Likewise.
44093 [C99-based standards] (INT64_MAX): Likewise.
44094 [C99-based standards] (UINT8_MAX): Likewise.
44095 [C99-based standards] (UINT16_MAX): Likewise.
44096 [C99-based standards] (UINT32_MAX): Likewise.
44097 [C99-based standards] (UINT64_MAX): Likewise.
44098 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44099 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44100 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44101 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44102 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44103 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44104 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44105 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44106 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44107 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44108 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44109 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44110 [C99-based standards] (INT_FAST8_MIN): Likewise.
44111 [C99-based standards] (INT_FAST8_MAX): Likewise.
44112 [C99-based standards] (INT_FAST16_MIN): Likewise.
44113 [C99-based standards] (INT_FAST16_MAX): Likewise.
44114 [C99-based standards] (INT_FAST32_MIN): Likewise.
44115 [C99-based standards] (INT_FAST32_MAX): Likewise.
44116 [C99-based standards] (INT_FAST64_MIN): Likewise.
44117 [C99-based standards] (INT_FAST64_MAX): Likewise.
44118 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44119 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44120 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44121 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44122 [C99-based standards] (INTPTR_MIN): Likewise.
44123 [C99-based standards] (INTPTR_MAX): Likewise.
44124 [C99-based standards] (UINTPTR_MAX): Likewise.
44125 [C99-based standards] (INTMAX_MIN): Likewise.
44126 [C99-based standards] (INTMAX_MAX): Likewise.
44127 [C99-based standards] (UINTMAX_MAX): Likewise.
44128 [C99-based standards] (PTRDIFF_MIN): Likewise.
44129 [C99-based standards] (PTRDIFF_MAX): Likewise.
44130 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44131 [C99-based standards] (SIZE_MAX): Likewise.
44132 [C99-based standards] (WCHAR_MAX): Likewise.
44133 [C99-based standards] (WINT_MAX): Likewise.
44134 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44135 constraint on value.
44136 [C99-based standards] (WCHAR_MIN): Likewise.
44137 [C99-based standards] (WINT_MIN): Likewise.
44138 [C99-based standards] (*_t): Allow.
44139 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44140 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44141 Include math.h-data and complex.h-data. Remove all expectations
44142 of math.h and complex.h contents.
44143 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44145 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44146 (struct tm): Expect tag.
44147 [C99-based-standards] (wcstof): Expect function.
44148 [C99-based-standards] (wcstold): Likewise.
44149 [C99-based-standards] (wcstoll): Likewise.
44150 [C99-based-standards] (wcstoull): Likewise.
44151 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44152 macro-int-constant. Specify type.
44153 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44154 constraint on value.
44155 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44157 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44159 [ISO C standards]: Do not allow headers.
44160 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44161 wcs[abcdefghijklmnopqrstuvwxyz]*.
44162 [ISO C standards] (*_t): Do not allow.
44163 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44165 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44166 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44168 [ISO C standards]: Do not allow headers.
44169 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44170 is[abcdefghijklmnopqrstuvwxyz]*.
44171 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44172 to[abcdefghijklmnopqrstuvwxyz]*.
44173 [ISO C standards] (*_t): Do not allow.
44174 * conform/data/stdalign.h-data: New file.
44175 * conform/data/stdbool.h-data: Likewise.
44176 * conform/data/stdnoreturn.h-data: Likewise.
44178 2012-11-07 Roland McGrath <roland@hack.frob.com>
44181 * manual/filesys.texi (Directory Entries): Typo fix.
44182 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44184 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44186 * elf/elf.h (EM_AARCH64): New macro.
44187 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44188 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44189 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44190 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44191 (R_AARCH64_TLSDESC): Likewise.
44192 (NT_ARM_TLS): Likewise.
44193 (NT_ARM_HW_BREAK): Likewise.
44194 (NT_ARM_HW_WATCH): Likewise.
44196 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44199 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44200 (__ieee754_powl): Saturate nonzero exponents with absolute value
44201 below 0x1p-79 to +/- 0x1p-79.
44202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44203 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44204 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44205 nonzero exponents with absolute value below 0x1p-32 to +/-
44207 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44208 (__ieee754_powl): Saturate nonzero exponents with absolute value
44209 below 0x1p-79 to +/- 0x1p-79.
44210 * math/libm-test.inc (pow_test): Add more tests.
44212 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44214 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44215 _dl_s390_cap_flags with kernel. Increase string length.
44216 (_dl_s390_platforms): Add z196 and zEC12.
44218 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44220 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44221 Change XOPEN21K to XOPEN2K.
44223 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44225 * string/memmove.c: Use memcpy when possible.
44227 2012-11-06 Andreas Jaeger <aj@suse.de>
44229 * po/eo.po: Update from translation team.
44231 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44235 exponent and small x and y exponents, scale x or y up. Increase
44236 by 2 the exponent used in scaling up.
44237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44239 * math/libm-test.inc (fma_test): Add more tests.
44240 (fma_test_towardzero): Likewise.
44241 (fma_test_downward): Likewise.
44242 (fma_test_upward): Likewise.
44244 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44247 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44251 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44252 namespace for names of struct fields.
44253 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44255 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44256 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44258 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44261 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44263 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44265 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44269 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44272 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44276 definitely overflow as x * y not x * y + z.
44277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44279 * math/libm-test.inc (fma_test): Add more tests.
44280 (fma_test_towardzero): Likewise.
44281 (fma_test_downward): Likewise.
44282 (fma_test_upward): Likewise.
44284 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44288 * include/stub-tag.h: Remove file.
44289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44291 * manual/maint.texi (Porting): Don't reference it.
44292 * Makerules ($(objpfx)stubs): Likewise.
44293 * dirent/closedir.c: Don't include <stub-tag.h>.
44294 * dirent/dirfd.c: Likewise.
44295 * dirent/fdopendir.c: Likewise.
44296 * dirent/getdents.c: Likewise.
44297 * dirent/getdents64.c: Likewise.
44298 * dirent/opendir.c: Likewise.
44299 * dirent/readdir.c: Likewise.
44300 * dirent/readdir64.c: Likewise.
44301 * dirent/readdir64_r.c: Likewise.
44302 * dirent/readdir_r.c: Likewise.
44303 * dirent/rewinddir.c: Likewise.
44304 * dirent/seekdir.c: Likewise.
44305 * dirent/telldir.c: Likewise.
44306 * gmon/profil.c: Likewise.
44307 * grp/setgroups.c: Likewise.
44308 * inet/if_index.c: Likewise.
44309 * io/access.c: Likewise.
44310 * io/chdir.c: Likewise.
44311 * io/chmod.c: Likewise.
44312 * io/chown.c: Likewise.
44313 * io/close.c: Likewise.
44314 * io/dup.c: Likewise.
44315 * io/dup2.c: Likewise.
44316 * io/dup3.c: Likewise.
44317 * io/euidaccess.c: Likewise.
44318 * io/faccessat.c: Likewise.
44319 * io/fchdir.c: Likewise.
44320 * io/fchmod.c: Likewise.
44321 * io/fchmodat.c: Likewise.
44322 * io/fchown.c: Likewise.
44323 * io/fchownat.c: Likewise.
44324 * io/fcntl.c: Likewise.
44325 * io/flock.c: Likewise.
44326 * io/fstatfs.c: Likewise.
44327 * io/fstatfs64.c: Likewise.
44328 * io/fstatvfs.c: Likewise.
44329 * io/fstatvfs64.c: Likewise.
44330 * io/futimens.c: Likewise.
44331 * io/fxstat.c: Likewise.
44332 * io/fxstat64.c: Likewise.
44333 * io/fxstatat.c: Likewise.
44334 * io/fxstatat64.c: Likewise.
44335 * io/getcwd.c: Likewise.
44336 * io/isatty.c: Likewise.
44337 * io/lchmod.c: Likewise.
44338 * io/lchown.c: Likewise.
44339 * io/link.c: Likewise.
44340 * io/linkat.c: Likewise.
44341 * io/lseek.c: Likewise.
44342 * io/lseek64.c: Likewise.
44343 * io/lxstat64.c: Likewise.
44344 * io/mkdir.c: Likewise.
44345 * io/mkdirat.c: Likewise.
44346 * io/mkfifo.c: Likewise.
44347 * io/mkfifoat.c: Likewise.
44348 * io/open.c: Likewise.
44349 * io/open64.c: Likewise.
44350 * io/openat.c: Likewise.
44351 * io/openat64.c: Likewise.
44352 * io/pipe.c: Likewise.
44353 * io/pipe2.c: Likewise.
44354 * io/poll.c: Likewise.
44355 * io/posix_fadvise.c: Likewise.
44356 * io/posix_fadvise64.c: Likewise.
44357 * io/posix_fallocate.c: Likewise.
44358 * io/posix_fallocate64.c: Likewise.
44359 * io/read.c: Likewise.
44360 * io/readlink.c: Likewise.
44361 * io/readlinkat.c: Likewise.
44362 * io/rmdir.c: Likewise.
44363 * io/sendfile.c: Likewise.
44364 * io/sendfile64.c: Likewise.
44365 * io/statfs.c: Likewise.
44366 * io/statfs64.c: Likewise.
44367 * io/statvfs.c: Likewise.
44368 * io/statvfs64.c: Likewise.
44369 * io/symlink.c: Likewise.
44370 * io/symlinkat.c: Likewise.
44371 * io/ttyname.c: Likewise.
44372 * io/ttyname_r.c: Likewise.
44373 * io/umask.c: Likewise.
44374 * io/unlink.c: Likewise.
44375 * io/unlinkat.c: Likewise.
44376 * io/utime.c: Likewise.
44377 * io/utimensat.c: Likewise.
44378 * io/write.c: Likewise.
44379 * io/xmknod.c: Likewise.
44380 * io/xmknodat.c: Likewise.
44381 * io/xstat.c: Likewise.
44382 * io/xstat64.c: Likewise.
44383 * login/getpt.c: Likewise.
44384 * login/grantpt.c: Likewise.
44385 * login/unlockpt.c: Likewise.
44386 * math/e_acoshl.c: Likewise.
44387 * math/e_acosl.c: Likewise.
44388 * math/e_asinl.c: Likewise.
44389 * math/e_atan2l.c: Likewise.
44390 * math/e_atanhl.c: Likewise.
44391 * math/e_coshl.c: Likewise.
44392 * math/e_expl.c: Likewise.
44393 * math/e_fmodl.c: Likewise.
44394 * math/e_gammal_r.c: Likewise.
44395 * math/e_hypotl.c: Likewise.
44396 * math/e_j0l.c: Likewise.
44397 * math/e_j1l.c: Likewise.
44398 * math/e_jnl.c: Likewise.
44399 * math/e_lgammal_r.c: Likewise.
44400 * math/e_log10l.c: Likewise.
44401 * math/e_log2l.c: Likewise.
44402 * math/e_logl.c: Likewise.
44403 * math/e_powl.c: Likewise.
44404 * math/e_rem_pio2l.c: Likewise.
44405 * math/e_sinhl.c: Likewise.
44406 * math/e_sqrtl.c: Likewise.
44407 * math/fclrexcpt.c: Likewise.
44408 * math/fedisblxcpt.c: Likewise.
44409 * math/feenablxcpt.c: Likewise.
44410 * math/fegetenv.c: Likewise.
44411 * math/fegetexcept.c: Likewise.
44412 * math/fegetround.c: Likewise.
44413 * math/feholdexcpt.c: Likewise.
44414 * math/fesetenv.c: Likewise.
44415 * math/fesetround.c: Likewise.
44416 * math/feupdateenv.c: Likewise.
44417 * math/fgetexcptflg.c: Likewise.
44418 * math/fraiseexcpt.c: Likewise.
44419 * math/fsetexcptflg.c: Likewise.
44420 * math/ftestexcept.c: Likewise.
44421 * math/k_cosl.c: Likewise.
44422 * math/k_rem_pio2l.c: Likewise.
44423 * math/k_sinl.c: Likewise.
44424 * math/k_tanl.c: Likewise.
44425 * math/s_asinhl.c: Likewise.
44426 * math/s_atanl.c: Likewise.
44427 * math/s_cbrtl.c: Likewise.
44428 * math/s_erfl.c: Likewise.
44429 * math/s_expm1l.c: Likewise.
44430 * math/s_log1pl.c: Likewise.
44431 * math/s_tanhl.c: Likewise.
44432 * misc/acct.c: Likewise.
44433 * misc/brk.c: Likewise.
44434 * misc/chflags.c: Likewise.
44435 * misc/chroot.c: Likewise.
44436 * misc/fchflags.c: Likewise.
44437 * misc/fgetxattr.c: Likewise.
44438 * misc/flistxattr.c: Likewise.
44439 * misc/fremovexattr.c: Likewise.
44440 * misc/fsetxattr.c: Likewise.
44441 * misc/fsync.c: Likewise.
44442 * misc/ftruncate.c: Likewise.
44443 * misc/futimes.c: Likewise.
44444 * misc/futimesat.c: Likewise.
44445 * misc/getdomain.c: Likewise.
44446 * misc/getdtsz.c: Likewise.
44447 * misc/gethostid.c: Likewise.
44448 * misc/gethostname.c: Likewise.
44449 * misc/getloadavg.c: Likewise.
44450 * misc/getpagesize.c: Likewise.
44451 * misc/getsysstats.c: Likewise.
44452 * misc/getxattr.c: Likewise.
44453 * misc/gtty.c: Likewise.
44454 * misc/ioctl.c: Likewise.
44455 * misc/lgetxattr.c: Likewise.
44456 * misc/listxattr.c: Likewise.
44457 * misc/llistxattr.c: Likewise.
44458 * misc/lremovexattr.c: Likewise.
44459 * misc/lsetxattr.c: Likewise.
44460 * misc/lutimes.c: Likewise.
44461 * misc/madvise.c: Likewise.
44462 * misc/mincore.c: Likewise.
44463 * misc/mlock.c: Likewise.
44464 * misc/mlockall.c: Likewise.
44465 * misc/mmap.c: Likewise.
44466 * misc/mprotect.c: Likewise.
44467 * misc/msync.c: Likewise.
44468 * misc/munlock.c: Likewise.
44469 * misc/munlockall.c: Likewise.
44470 * misc/munmap.c: Likewise.
44471 * misc/preadv.c: Likewise.
44472 * misc/preadv64.c: Likewise.
44473 * misc/ptrace.c: Likewise.
44474 * misc/pwritev.c: Likewise.
44475 * misc/pwritev64.c: Likewise.
44476 * misc/readv.c: Likewise.
44477 * misc/reboot.c: Likewise.
44478 * misc/remap_file_pages.c: Likewise.
44479 * misc/removexattr.c: Likewise.
44480 * misc/revoke.c: Likewise.
44481 * misc/select.c: Likewise.
44482 * misc/setdomain.c: Likewise.
44483 * misc/setegid.c: Likewise.
44484 * misc/seteuid.c: Likewise.
44485 * misc/sethostid.c: Likewise.
44486 * misc/sethostname.c: Likewise.
44487 * misc/setregid.c: Likewise.
44488 * misc/setreuid.c: Likewise.
44489 * misc/setxattr.c: Likewise.
44490 * misc/sstk.c: Likewise.
44491 * misc/stty.c: Likewise.
44492 * misc/swapoff.c: Likewise.
44493 * misc/swapon.c: Likewise.
44494 * misc/sync.c: Likewise.
44495 * misc/syncfs.c: Likewise.
44496 * misc/syscall.c: Likewise.
44497 * misc/truncate.c: Likewise.
44498 * misc/ualarm.c: Likewise.
44499 * misc/usleep.c: Likewise.
44500 * misc/ustat.c: Likewise.
44501 * misc/utimes.c: Likewise.
44502 * misc/vhangup.c: Likewise.
44503 * misc/writev.c: Likewise.
44504 * posix/_exit.c: Likewise.
44505 * posix/alarm.c: Likewise.
44506 * posix/execve.c: Likewise.
44507 * posix/fexecve.c: Likewise.
44508 * posix/fork.c: Likewise.
44509 * posix/fpathconf.c: Likewise.
44510 * posix/getaddrinfo.c: Likewise.
44511 * posix/getegid.c: Likewise.
44512 * posix/geteuid.c: Likewise.
44513 * posix/getgid.c: Likewise.
44514 * posix/getgroups.c: Likewise.
44515 * posix/getlogin.c: Likewise.
44516 * posix/getlogin_r.c: Likewise.
44517 * posix/getpgid.c: Likewise.
44518 * posix/getpid.c: Likewise.
44519 * posix/getppid.c: Likewise.
44520 * posix/getresgid.c: Likewise.
44521 * posix/getresuid.c: Likewise.
44522 * posix/getsid.c: Likewise.
44523 * posix/getuid.c: Likewise.
44524 * posix/glob64.c: Likewise.
44525 * posix/nanosleep.c: Likewise.
44526 * posix/pathconf.c: Likewise.
44527 * posix/pause.c: Likewise.
44528 * posix/posix_madvise.c: Likewise.
44529 * posix/pread.c: Likewise.
44530 * posix/pread64.c: Likewise.
44531 * posix/pwrite.c: Likewise.
44532 * posix/pwrite64.c: Likewise.
44533 * posix/sched_getaffinity.c: Likewise.
44534 * posix/sched_getp.c: Likewise.
44535 * posix/sched_gets.c: Likewise.
44536 * posix/sched_primax.c: Likewise.
44537 * posix/sched_primin.c: Likewise.
44538 * posix/sched_rr_gi.c: Likewise.
44539 * posix/sched_setaffinity.c: Likewise.
44540 * posix/sched_setp.c: Likewise.
44541 * posix/sched_sets.c: Likewise.
44542 * posix/sched_yield.c: Likewise.
44543 * posix/setgid.c: Likewise.
44544 * posix/setlogin.c: Likewise.
44545 * posix/setpgid.c: Likewise.
44546 * posix/setresgid.c: Likewise.
44547 * posix/setresuid.c: Likewise.
44548 * posix/setsid.c: Likewise.
44549 * posix/setuid.c: Likewise.
44550 * posix/sleep.c: Likewise.
44551 * posix/spawni.c: Likewise.
44552 * posix/sysconf.c: Likewise.
44553 * posix/times.c: Likewise.
44554 * posix/wait.c: Likewise.
44555 * posix/wait3.c: Likewise.
44556 * posix/wait4.c: Likewise.
44557 * posix/waitpid.c: Likewise.
44558 * resolv/gai_sigqueue.c: Likewise.
44559 * resource/getpriority.c: Likewise.
44560 * resource/getrlimit.c: Likewise.
44561 * resource/getrusage.c: Likewise.
44562 * resource/nice.c: Likewise.
44563 * resource/setpriority.c: Likewise.
44564 * resource/setrlimit.c: Likewise.
44565 * resource/ulimit.c: Likewise.
44566 * rt/aio_cancel.c: Likewise.
44567 * rt/aio_fsync.c: Likewise.
44568 * rt/aio_read.c: Likewise.
44569 * rt/aio_sigqueue.c: Likewise.
44570 * rt/aio_suspend.c: Likewise.
44571 * rt/aio_write.c: Likewise.
44572 * rt/clock_getres.c: Likewise.
44573 * rt/clock_gettime.c: Likewise.
44574 * rt/clock_nanosleep.c: Likewise.
44575 * rt/clock_settime.c: Likewise.
44576 * rt/lio_listio.c: Likewise.
44577 * rt/mq_close.c: Likewise.
44578 * rt/mq_getattr.c: Likewise.
44579 * rt/mq_notify.c: Likewise.
44580 * rt/mq_open.c: Likewise.
44581 * rt/mq_receive.c: Likewise.
44582 * rt/mq_send.c: Likewise.
44583 * rt/mq_setattr.c: Likewise.
44584 * rt/mq_timedreceive.c: Likewise.
44585 * rt/mq_timedsend.c: Likewise.
44586 * rt/mq_unlink.c: Likewise.
44587 * rt/shm_open.c: Likewise.
44588 * rt/shm_unlink.c: Likewise.
44589 * rt/timer_create.c: Likewise.
44590 * rt/timer_delete.c: Likewise.
44591 * rt/timer_getoverr.c: Likewise.
44592 * rt/timer_gettime.c: Likewise.
44593 * rt/timer_settime.c: Likewise.
44594 * setjmp/__longjmp.c: Likewise.
44595 * setjmp/setjmp.c: Likewise.
44596 * signal/kill.c: Likewise.
44597 * signal/killpg.c: Likewise.
44598 * signal/raise.c: Likewise.
44599 * signal/sigaction.c: Likewise.
44600 * signal/sigaltstack.c: Likewise.
44601 * signal/sigblock.c: Likewise.
44602 * signal/sigignore.c: Likewise.
44603 * signal/sigintr.c: Likewise.
44604 * signal/signal.c: Likewise.
44605 * signal/sigpause.c: Likewise.
44606 * signal/sigpending.c: Likewise.
44607 * signal/sigqueue.c: Likewise.
44608 * signal/sigreturn.c: Likewise.
44609 * signal/sigset.c: Likewise.
44610 * signal/sigsetmask.c: Likewise.
44611 * signal/sigstack.c: Likewise.
44612 * signal/sigsuspend.c: Likewise.
44613 * signal/sigtimedwait.c: Likewise.
44614 * signal/sigvec.c: Likewise.
44615 * signal/sigwait.c: Likewise.
44616 * signal/sigwaitinfo.c: Likewise.
44617 * signal/sysv_signal.c: Likewise.
44618 * socket/accept.c: Likewise.
44619 * socket/accept4.c: Likewise.
44620 * socket/bind.c: Likewise.
44621 * socket/connect.c: Likewise.
44622 * socket/getpeername.c: Likewise.
44623 * socket/getsockname.c: Likewise.
44624 * socket/getsockopt.c: Likewise.
44625 * socket/isfdtype.c: Likewise.
44626 * socket/listen.c: Likewise.
44627 * socket/recv.c: Likewise.
44628 * socket/recvfrom.c: Likewise.
44629 * socket/recvmsg.c: Likewise.
44630 * socket/send.c: Likewise.
44631 * socket/sendmsg.c: Likewise.
44632 * socket/sendto.c: Likewise.
44633 * socket/setsockopt.c: Likewise.
44634 * socket/shutdown.c: Likewise.
44635 * socket/sockatmark.c: Likewise.
44636 * socket/socket.c: Likewise.
44637 * socket/socketpair.c: Likewise.
44638 * stdio-common/ctermid.c: Likewise.
44639 * stdio-common/cuserid.c: Likewise.
44640 * stdio-common/remove.c: Likewise.
44641 * stdio-common/rename.c: Likewise.
44642 * stdio-common/renameat.c: Likewise.
44643 * stdio-common/tempname.c: Likewise.
44644 * stdlib/getcontext.c: Likewise.
44645 * stdlib/makecontext.c: Likewise.
44646 * stdlib/setcontext.c: Likewise.
44647 * stdlib/swapcontext.c: Likewise.
44648 * stdlib/system.c: Likewise.
44649 * streams/fattach.c: Likewise.
44650 * streams/fdetach.c: Likewise.
44651 * streams/getmsg.c: Likewise.
44652 * streams/getpmsg.c: Likewise.
44653 * streams/putmsg.c: Likewise.
44654 * streams/putpmsg.c: Likewise.
44655 * sysdeps/unix/bsd/getpt.c: Likewise.
44656 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44657 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44658 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44661 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44662 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44663 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44664 * sysvipc/msgctl.c: Likewise.
44665 * sysvipc/msgget.c: Likewise.
44666 * sysvipc/msgrcv.c: Likewise.
44667 * sysvipc/msgsnd.c: Likewise.
44668 * sysvipc/semctl.c: Likewise.
44669 * sysvipc/semget.c: Likewise.
44670 * sysvipc/semop.c: Likewise.
44671 * sysvipc/semtimedop.c: Likewise.
44672 * sysvipc/shmat.c: Likewise.
44673 * sysvipc/shmctl.c: Likewise.
44674 * sysvipc/shmdt.c: Likewise.
44675 * sysvipc/shmget.c: Likewise.
44676 * termios/tcdrain.c: Likewise.
44677 * termios/tcflow.c: Likewise.
44678 * termios/tcflush.c: Likewise.
44679 * termios/tcgetattr.c: Likewise.
44680 * termios/tcgetpgrp.c: Likewise.
44681 * termios/tcsendbrk.c: Likewise.
44682 * termios/tcsetattr.c: Likewise.
44683 * termios/tcsetpgrp.c: Likewise.
44684 * time/adjtime.c: Likewise.
44685 * time/clock.c: Likewise.
44686 * time/getitimer.c: Likewise.
44687 * time/gettimeofday.c: Likewise.
44688 * time/setitimer.c: Likewise.
44689 * time/settimeofday.c: Likewise.
44690 * time/stime.c: Likewise.
44691 * time/time.c: Likewise.
44693 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44695 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44698 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44700 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44702 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44706 FE_TONEAREST before applying Dekker multiplication and Knuth
44707 addition. Clear inexact exceptions and check for exact zero
44708 results afterwards.
44709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44710 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44712 * math/libm-test.inc (fma_test): Add more tests.
44713 (fma_test_towardzero): Likewise.
44714 (fma_test_downward): Likewise.
44715 (fma_test_upward): Likewise.
44716 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44718 (libc_fesetround): New macro.
44719 (libc_fesetroundf): Likewise.
44720 (libc_fesetroundl): Likewise.
44721 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44723 (libc_fesetround_387): Likewise.
44724 (libc_fesetroundf): New macro.
44725 (libc_fesetround): Likewise.
44726 (libc_fesetroundl): Likewise.
44727 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44729 (libc_fesetroundf): New macro.
44730 (libc_fesetround): Likewise.
44731 (libc_fesetroundl): Likewise.
44732 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44733 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44734 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44736 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44737 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44739 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44740 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44742 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44746 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44747 integer constant usable in #if and use that to give value to enum
44749 (FE_DIVBYZERO): Likewise.
44750 (FE_UNDERFLOW): Likewise.
44751 (FE_OVERFLOW): Likewise.
44752 (FE_INVALID): Likewise.
44753 (FE_INVALID_SNAN): Likewise.
44754 (FE_INVALID_ISI): Likewise.
44755 (FE_INVALID_IDI): Likewise.
44756 (FE_INVALID_ZDZ): Likewise.
44757 (FE_INVALID_IMZ): Likewise.
44758 (FE_INVALID_COMPARE): Likewise.
44759 (FE_INVALID_SOFTWARE): Likewise.
44760 (FE_INVALID_SQRT): Likewise.
44761 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44762 (FE_TONEAREST): Likewise.
44763 (FE_TOWARDZERO): Likewise.
44764 (FE_UPWARD): Likewise.
44765 (FE_DOWNWARD): Likewise.
44766 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44767 (FE_DIVBYZERO): Likewise.
44768 (FE_OVERFLOW): Likewise.
44769 (FE_UNDERFLOW): Likewise.
44770 (FE_INEXACT): Likewise.
44771 (FE_TONEAREST): Likewise.
44772 (FE_DOWNWARD): Likewise.
44773 (FE_UPWARD): Likewise.
44774 (FE_TOWARDZERO): Likewise.
44775 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44776 (FE_UNDERFLOW): Likewise.
44777 (FE_OVERFLOW): Likewise.
44778 (FE_DIVBYZERO): Likewise.
44779 (FE_INVALID): Likewise.
44780 (FE_TONEAREST): Likewise.
44781 (FE_TOWARDZERO): Likewise.
44782 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44783 (FE_OVERFLOW): Likewise.
44784 (FE_UNDERFLOW): Likewise.
44785 (FE_DIVBYZERO): Likewise.
44786 (FE_INEXACT): Likewise.
44787 (FE_TONEAREST): Likewise.
44788 (FE_TOWARDZERO): Likewise.
44789 (FE_UPWARD): Likewise.
44790 (FE_DOWNWARD): Likewise.
44791 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44792 (FE_DIVBYZERO): Likewise.
44793 (FE_OVERFLOW): Likewise.
44794 (FE_UNDERFLOW): Likewise.
44795 (FE_INEXACT): Likewise.
44796 (FE_TONEAREST): Likewise.
44797 (FE_DOWNWARD): Likewise.
44798 (FE_UPWARD): Likewise.
44799 (FE_TOWARDZERO): Likewise.
44801 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44803 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44805 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44807 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44808 commands. Quote $PWD.
44809 (blacklist_exports): Don't use remove_newlines. Replace "declare
44811 (remove_newlines): Remove.
44813 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44815 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44816 * stdlib/stdlib.h (atof): Moved to ...
44817 * include/bits/stdlib-float.h: Here. New file.
44818 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44819 * stdlib/bits/stdlib-float.h: New file.
44820 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44822 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44825 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44827 * conform/conformtest.pl (@headers): Add fenv.h.
44828 * conform/data/fenv.h-data: New file.
44829 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44830 include of <math/fenv.h>.
44832 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44833 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44834 && !UNIX98]. Enables tests for XOPEN2K8.
44835 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44836 POSIX2008]: Likewise.
44838 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44839 (struct rusage): Do not expect type or its members.
44842 * math/math.h (FP_NAN): Define macro to integer constant usable in
44843 #if and use that to give value to enum constant.
44844 (FP_INFINITE): Likewise.
44845 (FP_ZERO): Likewise.
44846 (FP_SUBNORMAL): Likewise.
44847 (FP_NORMAL): Likewise.
44849 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44851 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44852 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44855 2012-11-02 Roland McGrath <roland@hack.frob.com>
44857 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44858 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44859 autoconf-time if not.
44860 * configure.in: Remove AC_PREREQ.
44862 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44864 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44865 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44866 of the internal implementation.
44868 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44870 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44871 except include of <misc/sys/syslog.h>.
44873 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44876 function returns with a NULL context exit with zero.
44878 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44880 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44882 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44884 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44885 (run_program_cmd): This.
44886 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44887 (tst_langinfo): New variable. Use it.
44889 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44891 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44892 floating point opcodes.
44894 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44896 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44899 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44901 * sysdeps/mach/hurd/powerpc: Remove directory.
44902 * sysdeps/mach/powerpc: Likewise.
44904 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44906 * scripts/check-local-headers.sh: Ignore c++ headers.
44908 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44910 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44911 __libc_cleanup_region_start argument.
44913 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44918 x * y using scaling, not as x * y + z.
44919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44921 * math/libm-test.inc (fma_test): Add more tests.
44922 (fma_test_towardzero): Likewise.
44923 (fma_test_downward): Likewise.
44924 (fma_test_upward): Likewise.
44926 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44928 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44930 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44932 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44935 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44937 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44939 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44946 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44949 Fix the order of the list for glibc 2.17.
44950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44953 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44957 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44960 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44961 for low part of x being zero before using __atanl (y).
44962 * math/libm-test.inc (atan2_test): Add another test.
44964 * manual/install.texi (Configuring and compiling): Document
44965 general use of test-wrapper and test-wrapper-env.
44966 * INSTALL: Regenerated.
44968 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44969 (__fma): Do not extract and scale down low bits on after-rounding
44970 systems when result rounded to normal precision would have normal
44972 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44973 (__fmal): Do not extract and scale down low bits on after-rounding
44974 systems when result rounded to normal precision would have normal
44976 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44977 (__fmal): Do not extract and scale down low bits on after-rounding
44978 systems when result rounded to normal precision would have normal
44980 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44982 (fma_test): Add more tests.
44983 (fma_test_towardzero): Likewise.
44984 (fma_test_downward): Likewise.
44985 (fma_test_upward): Likewise.
44987 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44989 * sysdeps/i386/tininess.h: Renamed to ...
44990 * sysdeps/x86/tininess.h: This.
44991 * sysdeps/x86_64/tininess.h: Removed.
44993 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44995 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44996 input. Use $(build-program-cmd).
44997 ($(objpfx)tst-array1-static.out): Likewise.
44998 ($(objpfx)tst-array2.out): Likewise.
44999 ($(objpfx)tst-array3.out): Likewise.
45000 ($(objpfx)tst-array4.out): Likewise.
45001 ($(objpfx)tst-array5.out): Likewise.
45002 ($(objpfx)tst-array5-static.out): Likewise.
45004 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45006 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45009 * nss/nsswitch.h (nss_interface_function): Provide new
45010 macro for use with NSS functions.
45011 * grp/initgroups.c: Use new macro.
45012 * nss/getXXbyYY.c: Likewise.
45013 * nss/getXXbyYY_r.c: Likewise.
45014 * nss/getXXent.c: Likewise.
45015 * nss/getXXent_r.c: Likewise.
45016 * sysdeps/posix/getaddrinfo.c: Likewise.
45018 2012-10-30 Andreas Jaeger <aj@suse.de>
45020 * po/ru.po: Update Russion translation from translation project.
45022 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45027 result and shift together with sticky bit instead of replicating
45028 round-to-nearest rounding.
45029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45031 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45032 missing underflow exceptions.
45033 (fma_test_towardzero): Add more tests.
45034 (fma_test_downward): Likewise.
45035 (fma_test_upward): Likewise.
45038 * sysdeps/generic/tininess.h: New file.
45039 * sysdeps/i386/tininess.h: Likewise.
45040 * sysdeps/sh/tininess.h: Likewise.
45041 * sysdeps/x86_64/tininess.h: Likewise.
45042 * stdlib/tst-strtod-underflow.c: Likewise.
45043 * stdlib/tst-tininess.c: Likewise.
45044 * stdlib/strtod_l.c: Include <tininess.h>.
45045 (round_and_return): Do not set errno for exact underflow cases.
45046 Force an underflow exception when setting errno for underflow.
45047 Determine underflow based on rounding to normal precision if
45048 TININESS_AFTER_ROUNDING.
45049 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45050 ERANGE for exact underflow cases.
45051 * stdlib/Makefile (tests): Add tst-tininess and
45052 tst-strtod-underflow.
45053 ($(objpfx)tst-tininess): Use $(link-libm).
45054 ($(objpfx)tst-strtod-underflow): Likewise.
45056 2012-10-30 Andreas Jaeger <aj@suse.de>
45059 * elf/Makefile (tests): Remove conditional for have-initfini-array
45060 since this is now always required and the variable does not exist
45062 (tests-static): Likewise.
45063 (modules-names): Likewise.
45065 * po/eo.po: Add Esperanto translation from translation project.
45067 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45068 merged with constructor/destructor.
45069 (init_array): Likewise.
45070 * elf/tst-array2dep.c (fini_array): Likewise.
45071 (init_array): Likewise.
45073 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45075 * manual/message.texi: Delete @cartouche tags.
45077 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45079 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45081 * sysdeps/mach/hurd/fsync.c: Likewise.
45083 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45084 [_POSIX_REALTIME_SIGNALS]: Change condition to
45085 [_POSIX_REALTIME_SIGNALS > 0].
45087 2012-10-27 Andreas Jaeger <aj@suse.de>
45089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45090 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45092 [__WORDSIZE != 64]: Likewise.
45094 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45096 * iconvdata/tst-table.sh: Remove ${SHELL}.
45097 * iconvdata/tst-tables.sh: Likewise.
45099 2012-10-25 David S. Miller <davem@davemloft.net>
45101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45102 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45107 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45108 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45109 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45112 2012-10-25 Roland McGrath <roland@hack.frob.com>
45114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45115 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45118 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45119 Jim Blandy <jimb@codesourcery.com>
45121 * scripts/cross-test-ssh.sh: New file.
45122 * manual/install.texi (Configuring and compiling): Document use of
45124 * INSTALL: Regenerated.
45126 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45128 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45131 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45133 * Makeconfig (run-program-prefix): Fix comment.
45135 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45136 Jim Blandy <jimb@codesourcery.com>
45138 * Makeconfig (test-wrapper): New variable,
45139 (test-wrapper-env): Likewise.
45140 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45141 (run-built-tests): Define to yes.
45142 (run-program-prefix): Use $(test-wrapper).
45143 (built-program-cmd): Likewise.
45144 * Rules (make-test-out): Use $(test-wrapper-env) and
45145 $(host-built-program-cmd).
45146 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45147 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45149 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45150 $(test-wrapper-env) to tst-rtld-load-self.sh.
45151 ($(objpfx)order2.out): Use $(test-wrapper).
45152 ($(objpfx)tst-initorder.out): Likewise.
45153 ($(objpfx)tst-initorder2.out): Likewise.
45154 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45155 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45156 (test_wrapper_env): New variable. Use it to run ld.so.
45157 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45158 Use it to run ld.so.
45159 (test_wrapper_env): Likewise.
45160 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45161 $(test-wrapper) to run-iconv-test.sh.
45162 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45163 (ICONV): Use $test_wrapper.
45164 * posix/Makefile ($(objpfx)globtest.out): Pass
45165 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45166 globtest.sh, not $(run-program-prefix).
45167 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45168 (test_wrapper): Likewise.
45169 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45170 set together with run_via_rtld_prefix.
45171 (run_program_prefix): Define in terms of test_wrapper and
45172 run_via_rtld_prefix.
45174 2012-10-24 Roland McGrath <roland@hack.frob.com>
45176 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45177 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45181 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45182 Declare __clock_getres, __clock_gettime, __clock_settime,
45183 __clock_nanosleep, and __clock_getcpuclockid.
45184 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45185 Remove librt_hidden_def (clock_gettime).
45186 * sysdeps/unix/clock_gettime.c: Likewise.
45187 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45188 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45189 * rt/clock_getres.c: Define __clock_getres as an alias.
45190 * sysdeps/posix/clock_getres.c: Likewise.
45191 * rt/clock_settime.c: Define __clock_settime as an alias.
45192 * sysdeps/unix/clock_settime.c: Likewise.
45193 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45194 * sysdeps/unix/clock_nanosleep.c: Likewise.
45195 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45196 * rt/clock-compat.c: New file.
45197 * rt/Makefile (librt-routines): Add clock-compat and move
45198 $(clock-routines) to ...
45199 (routines): ... here, new variable.
45200 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45201 Don't add get_clockfreq here.
45202 * rt/Versions (libc: GLIBC_2.17): New version set.
45203 Add clock_* symbols here.
45204 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45205 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45206 (GLIBC_2.17): Add clock_* symbols.
45207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45218 * NEWS: Mention the move.
45220 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45221 Use __open, __read, __close rather than their public counterparts.
45222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45223 (__get_clockfreq_via_cpuinfo): Likewise.
45224 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45225 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45227 * config.h.in (HAVE_IFUNC): New #undef.
45228 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45230 * configure: Regenerated.
45232 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45234 * configure.in: Move READELF check to start of file.
45235 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45236 libc_cv_asm_gnu_indirect_function in the process.
45237 * configure: Regenerated.
45239 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45241 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45242 send the output to /dev/null.
45243 (libc_cv_cc_with_libunwind): Likewise.
45244 (libc_cv_as_noexecstack): Likewise.
45245 * configure: Regenerate.
45247 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45249 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45251 * posix/globtest.sh (TMPDIR): Do not set.
45252 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45253 (testout): Likewise.
45255 2012-10-24 Andreas Jaeger <aj@suse.de>
45257 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45258 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45259 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45260 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45261 posix_fadvise64, posix_fallocate64.
45263 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45264 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45265 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45267 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45269 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45272 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45273 <bits/fcntl-linux.h>.
45274 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45277 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45278 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45279 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45280 [__WORDSIZE != 64]: Likewise.
45282 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45284 * Makeconfig (run-built-tests): New variable.
45285 * Rules [$(cross-compiling) = yes]: Change condition to
45286 [$(run-built-tests) = no].
45287 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45288 to [$(run-built-tests) = yes].
45289 * elf/Makefile [$(cross-compiling) = no]: Likewise
45290 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45291 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45292 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45293 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45294 * io/Makefile [$(cross-compiling) = no]: Likewise.
45295 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45296 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45297 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45298 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45299 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45300 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45301 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45302 * string/Makefile [$(cross-compiling) = no]: Likewise.
45304 * posix/Makefile ($(objpfx)globtest.out): Pass
45305 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45306 $(rtld-installed-name).
45307 * posix/globtest.sh (elf_objpfx): Remove variable.
45308 (rtld_installed_name): Likewise.
45309 (library_path): Likewise.
45310 (run_program_prefix): New variable. Use for running globtest
45313 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45314 Joseph Myers <joseph@codesourcery.com>
45316 * Makeconfig (host-built-program-cmd): New variable.
45317 * elf/Makefile (tst-stackguard1-ARGS): Use
45318 $(host-built-program-cmd).
45319 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45320 (tst-spawn-ARGS): Likewise.
45321 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45323 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45324 Jim Blandy <jimb@codesourcery.com>
45326 * Makeconfig (run-via-rtld-prefix): New variable.
45327 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45328 (built-program-cmd): Likewise.
45330 2012-10-22 Andreas Jaeger <aj@suse.de>
45332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45333 __O_RSYNC if it exists, otherwise to O_SYNC.
45335 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45336 Joseph Myers <joseph@codesourcery.com>
45338 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45340 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45342 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45345 2012-10-22 Andreas Jaeger <aj@suse.de>
45347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45352 bits/fcntl-linux.h.
45354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45355 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45362 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45363 Joseph Myers <joseph@codesourcery.com>
45365 * config.make.in (NM): New variable.
45367 2012-10-21 Andreas Jaeger <aj@suse.de>
45369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45370 definitions and declarations that are provided by
45371 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45373 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45376 * elf/Makefile (tests-static): Add tst-leaks1-static.
45377 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45378 ($(objpfx)tst-leaks1-static): New rule.
45379 ($(objpfx)tst-leaks1-static-mem): Likewise.
45380 (tst-leaks1-static-ENV): New macro.
45381 * elf/dl-open.c (dl_open_worker): Check the main application
45382 only if SHARED is defined.
45383 * elf/tst-leaks1-static.c: New file.
45385 2012-10-20 Andreas Jaeger <aj@suse.de>
45387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45388 generic values for Linux.
45389 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45390 and declarations that are provided by <bits/fcntl-linux.h> and
45391 include <bits/fcntl-linux.h>.
45392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45395 2012-10-20 Roland McGrath <roland@hack.frob.com>
45397 * io/fcntl.h: Move include of <bits/types.h> to the top and
45398 include it unconditionally.
45400 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45402 * wcsmbs/Makefile (tests-ifunc): New variable.
45403 (tests): Add $(tests-ifunc).
45404 * wcsmbs/test-wcschr-ifunc.c: New file.
45405 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45406 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45407 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45408 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45409 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45411 * string/Makefile (tests-ifunc): New variable.
45412 (tests): Add $(tests-ifunc).
45413 * string/test-memccpy.c (TEST_NAME): New macro.
45414 * string/test-memchr.c (TEST_NAME): Likewise.
45415 * string/test-memcmp.c (TEST_NAME): Likewise.
45416 * string/test-memcpy.c (TEST_NAME): Likewise.
45417 * string/test-memmem.c (TEST_NAME): Likewise.
45418 * string/test-memmove.c (TEST_NAME): Likewise.
45419 * string/test-memset.c (TEST_NAME): Likewise.
45420 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45421 * string/test-stpcpy.c (TEST_NAME): Likewise.
45422 * string/test-stpncpy.c (TEST_NAME): Likewise.
45423 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45424 * string/test-strcasestr.c (TEST_NAME): Likewise.
45425 * string/test-strcat.c (TEST_NAME): Likewise.
45426 * string/test-strchr.c (TEST_NAME): Likewise.
45427 * string/test-strcmp.c(TEST_NAME): Likewise.
45428 * string/test-strcpy.c (TEST_NAME): Likewise.
45429 * string/test-strcspn.c (TEST_NAME): Likewise.
45430 * string/test-strlen.c (TEST_NAME): Likewise.
45431 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45432 * string/test-strncmp.c (TEST_NAME): Likewise.
45433 * string/test-strncpy.c (TEST_NAME): Likewise.
45434 * string/test-strnlen.c (TEST_NAME): Likewise.
45435 * string/test-strpbrk.c (TEST_NAME): Likewise.
45436 * string/test-strrchr.c (TEST_NAME): Likewise.
45437 * string/test-strspn.c (TEST_NAME): Likewise.
45438 * string/test-strstr.c (TEST_NAME): Likewise.
45439 * string/test-bcopy-ifunc.c: New file.
45440 * string/test-bzero-ifunc.c: Likewise.
45441 * string/test-memccpy-ifunc.c: Likewise.
45442 * string/test-memchr-ifunc.c: Likewise.
45443 * string/test-memcmp-ifunc.c: Likewise.
45444 * string/test-memcpy-ifunc.c: Likewise.
45445 * string/test-memmem-ifunc.c: Likewise.
45446 * string/test-memmove-ifunc.c: Likewise.
45447 * string/test-mempcpy-ifunc.c: Likewise.
45448 * string/test-memset-ifunc.c: Likewise.
45449 * string/test-rawmemchr-ifunc.c: Likewise.
45450 * string/test-stpcpy-ifunc.c: Likewise.
45451 * string/test-stpncpy-ifunc.c: Likewise.
45452 * string/test-strcasecmp-ifunc.c: Likewise.
45453 * string/test-strcasestr-ifunc.c: Likewise.
45454 * string/test-strcat-ifunc.c: Likewise.
45455 * string/test-strchr-ifunc.c: Likewise.
45456 * string/test-strchrnul-ifunc.c: Likewise.
45457 * string/test-strcmp-ifunc.c: Likewise.
45458 * string/test-strcpy-ifunc.c: Likewise.
45459 * string/test-strcspn-ifunc.c: Likewise.
45460 * string/test-strlen-ifunc.c: Likewise.
45461 * string/test-strncasecmp-ifunc.c: Likewise.
45462 * string/test-strncat-ifunc.c: Likewise.
45463 * string/test-strncmp-ifunc.c: Likewise.
45464 * string/test-strncpy-ifunc.c: Likewise.
45465 * string/test-strnlen-ifunc.c: Likewise.
45466 * string/test-strpbrk-ifunc.c: Likewise.
45467 * string/test-strrchr-ifunc.c: Likewise.
45468 * string/test-strspn-ifunc.c: Likewise.
45469 * string/test-strstr-ifunc.c: Likewise.
45471 * debug/Makefile (tests-ifunc): New variable.
45472 (tests): Add $(tests-ifunc).
45473 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45474 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45475 * debug/test-stpcpy_chk-ifunc.c: New file.
45476 * debug/test-strcpy_chk-ifunc.c: Likewise.
45478 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45481 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45482 header is not read in.
45484 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45486 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45487 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45488 directly. Pass built executable to script as
45489 $(built-program-cmd).
45490 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45491 $testprogram without using LD_LIBRARY_PATH and $ldso.
45493 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45494 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45495 $(rtld-installed-name).
45496 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45497 (rtld_installed_name): Likewise.
45498 (library_path): Likewise.
45499 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45500 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45501 $(run-program-prefix) to tst-tables.sh.
45502 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45503 it to run tst-table-from and tst-table-to.
45504 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45505 Pass it to tst-table.sh.
45506 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45507 $(run-program-prefix) to tst-gettext.sh.
45508 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45510 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45512 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45513 to run tst-gettext.
45514 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45515 to run tst-gettext2.
45516 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45517 to run tst-translit.
45518 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45519 $(run-program-prefix) to tst-mtrace.sh.
45520 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45522 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45523 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45524 $(rtld-installed-name).
45525 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45526 (rtld_installed_name): Likewise.
45527 (run_program_prefix): New variable. Use it to run wordexp-test.
45529 * Makeconfig (ARCH): Remove all definitions.
45530 (machine): Likewise.
45531 [ARCH]: Remove conditional code.
45532 [!objdir]: Give error.
45533 [!objdir] (objpfx): Remove.
45534 [!objdir] (common-objpfx): Likewise.
45535 [!objdir] (common-objdir): Likewise.
45536 * configure.in (config_makefile): Remove. Hardcode Makefile in
45537 AC_CONFIG_FILES call.
45538 * configure: Regenerated.
45541 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45543 (testout): Likewise.
45545 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45546 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45547 $(rtld-installed-name).
45548 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45549 (rtld_installed_name): Likwise.
45550 (runit): Remove function.
45551 (run_getconf): New variable, Use it for running getconf binary.
45553 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45556 * string/test-memmem.c (check_result): New function.
45557 (do_one_test): Use it.
45558 (check1): New function.
45559 (test_main): Use it.
45561 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45563 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45565 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45567 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45568 (_G_LSEEK64): Likewise.
45569 (_G_MMAP64): Likewise.
45570 (_G_FSTAT64): Likewise.
45571 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45572 (_G_LSEEK64): Likewise.
45573 (_G_MMAP64): Likewise.
45574 (_G_FSTAT64): Likewise.
45575 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45576 unconditional. Call __mmap64 directly.
45577 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45578 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45579 __lseek64 directly.
45580 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45581 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45583 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45584 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45585 __lseek64 directly.
45586 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45587 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45588 __lseek64 directly.
45589 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45590 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45591 __lseek64 directly.
45592 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45593 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45594 __fxstat64 directly.
45595 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45596 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45598 (freopen64) [!_G_OPEN64]: Remove conditional code.
45599 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45601 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45602 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45604 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45605 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45607 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45608 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45610 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45611 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45613 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45614 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45616 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45617 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45619 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45621 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45624 * manual/memory.texi (Malloc Tunable Parameters): Add note
45625 about free list pointers overwriting some perturb bytes.
45626 Wording suggested by Roland McGrath.
45628 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45630 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45631 (lgamma_test): Likewise.
45632 (tgamma_test): Likewise.
45634 2012-10-16 Florian Weimer <fweimer@redhat.com>
45637 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45638 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45640 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45642 * NEWS: Mention BZ #14716.
45643 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45644 when removing AVAILABLE1_USES_J macro.
45646 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45648 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45649 (__bswap_64): __uint64_t for unsigned 64-bit int.
45651 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45653 * include/string.h (memmem): Declare libc hidden alias.
45654 * string/memmem.c (memmem): Define libc hidden alias.
45655 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45656 __read, __close instead of open, read, close.
45658 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45661 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45663 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45664 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45665 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45667 (__rawmemchr_sse2): Likewise.
45668 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45669 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45670 (__strchr_sse2): Likewise.
45671 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45672 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45673 (__strcasecmp_sse2): Likewise.
45674 (__strncasecmp_sse2): Likewise.
45675 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45676 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45677 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45678 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45679 (__strrchr_sse2): Likewise.
45680 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45682 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45683 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45684 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45685 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45686 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45687 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45688 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45689 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45690 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45691 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45692 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45693 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45694 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45695 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45696 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45697 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45698 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45699 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45700 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45701 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45702 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45703 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45704 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45705 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45706 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45707 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45708 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45709 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45710 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45711 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45713 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45715 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45716 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45717 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45718 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45720 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45722 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45723 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45724 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45725 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45727 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45728 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45729 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45730 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45731 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45732 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45733 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45734 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45735 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45736 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45737 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45738 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45739 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45740 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45741 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45743 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45744 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45745 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45746 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45747 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45748 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45749 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45750 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45752 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45753 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45754 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45755 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45756 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45757 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45758 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45759 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45760 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45761 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45762 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45763 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45764 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45765 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45766 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45767 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45769 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45770 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45771 * include/ifunc-impl-list.h: New file.
45772 * misc/ifunc-impl-list.c: Likewise.
45773 * misc/Makefile (routines): Add ifunc-impl-list.
45774 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45775 * string/test-string.h: Include <ifunc-impl-list.h>.
45776 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45777 TEST_NAME]: New variables.
45778 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45780 (test_init): Call __libc_ifunc_impl_list to initialize
45781 func_list if TEST_IFUNC and TEST_NAME are defined.
45783 * string/Makefile (strop-tests): Add bcopy and bzero.
45784 * string/test-bcopy.c: New file.
45785 * string/test-bzero.c: Likewise.
45786 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45788 * string/test-memset.c: Support bzero test if TEST_BZERO is
45790 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45792 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45794 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45797 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45799 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45800 * configure: Regenerated.
45802 * Makeconfig (+link-static-before-libc): Don't include
45803 $(link-static-libc).
45805 * libio/libio.h (_IO_pos_t): Remove.
45807 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45809 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45812 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45814 * crypt/crypt-entry.c: Include fips-private.h.
45815 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45816 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45817 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45818 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45820 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45822 * crypt/crypt-private.h: Include stdbool.h.
45823 (_ufc_setup_salt_r): Return bool.
45824 * crypt/crypt-entry.c: Include errno.h.
45825 (__crypt_r): Return NULL with EINVAL for bad salt.
45826 * crypt/crypt_util.c (bad_for_salt): New.
45827 (_ufc_setup_salt_r): Check that salt is long enough and within
45828 the specified alphabet.
45829 * crypt/badsalttest.c: New file.
45830 * crypt/Makefile (tests): Add it.
45831 ($(objpfx)badsalttest): New.
45833 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45835 * NEWS: Add entry for BZ #14602.
45837 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45839 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45841 * math/libm-test.inc: Update comment listing what functions and
45843 (isgreater_test): New function.
45844 (isgreaterequal_test): Likewise.
45845 (isless_test): Likewise.
45846 (islessequal_test): Likewise.
45847 (islessgreater_test): Likewise.
45848 (isunordered_test): Likewise.
45849 (main): Call the new functions.
45851 2012-10-09 Roland McGrath <roland@hack.frob.com>
45853 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45854 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45855 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45856 * sysdeps/i386/configure: Regenerated.
45857 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45858 * sysdeps/mach/configure: Regenerated.
45859 * sysdeps/mach/hurd/configure: Regenerated.
45860 * sysdeps/powerpc/configure: Regenerated.
45861 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45862 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45863 * sysdeps/s390/s390-32/configure: Regenerated.
45864 * sysdeps/s390/s390-64/configure: Regenerated.
45865 * sysdeps/sh/configure: Regenerated.
45866 * sysdeps/sparc/configure: Regenerated.
45867 * sysdeps/unix/sysv/linux/configure: Regenerated.
45868 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45869 * sysdeps/x86_64/configure: Regenerated.
45871 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45872 defined. Don't check if MAP is NULL.
45874 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45876 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45877 (_G_stat64): Likewise.
45878 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45879 (_G_stat64): Likewise.
45880 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45881 instead of struct _G_stat64.
45882 * libio/fileops.c (mmap_remap_check): Likewise.
45883 (decide_maybe_mmap): Likewise.
45884 (_IO_new_file_seekoff): Likewise.
45885 (_IO_file_stat): Likewise.
45886 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45888 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45889 instead of struct _G_stat64.
45890 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45892 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45895 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45897 (CHECK_EOL): New macro.
45898 (two_way_short_needle): Check beginning of haystack for EOL. Use
45900 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45901 Replace with CHECK_EOL.
45902 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45903 Replace with CHECK_EOL.
45905 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45907 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45909 * math/libm-test.inc: Update comment listing what functions and
45911 (finite_test): New function.
45912 (isinf_test): Likewise.
45913 (isnan_test): Likewise.
45914 (fpclassify_test): Test subnormal input.
45915 (isfinite_test): Likewise.
45916 (isnormal_test): Likewise.
45917 (main): Call the new functions.
45919 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45922 * Makerules (%.dynsym): Force C locale when running
45923 $(OBJDUMP) --dynamic-syms.
45925 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45927 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45930 2012-10-06 David S. Miller <davem@davemloft.net>
45932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45933 upper 32-bits of the length value in %o2 since we use branch-on-register
45934 tests which consider the entire 64-bit register.
45936 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45938 * string/test-strstr.c (check2): Add a test for page boundary.
45940 2012-10-05 David S. Miller <davem@davemloft.net>
45942 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45943 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45945 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45948 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45949 and bzero when HWCAP_SPARC_CRYPTO is present.
45951 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45954 * string/test-strstr.c (check2): New function.
45955 (test_main): Call check2.
45957 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45959 * string/bug-strcasestr1.c (do_test): Moved to ...
45960 * string/test-strcasestr.c (check1): Here. New function.
45961 (do_one_test): Break out result checking code into ...
45962 (check_result): This. New function.
45963 (do_one_test): Call check_result.
45964 (test_main): Call check1.
45965 * string/bug-strchr1.c (do_test): Moved to ...
45966 * string/test-strchr.c (check1): Here. New function.
45967 (do_one_test): Break out result checking code into ...
45968 (check_result): This. New function.
45969 (do_one_test): Call check_result.
45970 (test_main): Call check1.
45971 * string/bug-strstr1.c (main): Moved to ...
45972 * string/test-strstr.c (check1): Here. New function.
45973 (do_one_test): Break out result checking code into ...
45974 (check_result): This. New function.
45975 (do_one_test): Call check_result.
45976 (test_main): Call check1.
45977 * string/bug-strcasestr1.c: Removed.
45978 * string/bug-strchr1.c: Likewise.
45979 * string/bug-strstr1.c: Likewise.
45981 * elf/Makefile (dl-routines): Add hwcaps.
45982 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45983 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45984 (_dl_important_hwcaps): Moved to ...
45985 * elf/dl-hwcaps.c: Here. New file.
45986 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45989 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45990 if IS_IN_rtld isn't defined.
45992 * elf/dl-support.c (_dl_sysinfo_map): New.
45993 Include "get-dynamic-info.h" and "setup-vdso.h".
45994 (_dl_non_dynamic_init): Call setup_vdso.
45995 * elf/dynamic-link.h: Don't include <assert.h>.
45996 (elf_get_dynamic_info): Moved to ...
45997 * elf/get-dynamic-info.h: Here. New file.
45998 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45999 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46000 * elf/setup-vdso.h: Here. New file.
46001 * elf/rtld.c: Include "setup-vdso.h".
46002 (dl_main): Call setup_vdso.
46004 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46006 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46007 creal in comment listing functions tested. List finite, isinf,
46008 isnan, isless, islessequal, isgreater, isgreaterequal,
46009 islessgreater, isunordered, lgamma_r and pow10 as functions and
46010 macros not tested. Mention which functions not tested are aliases
46011 for other functions. Fix typo. Note that signs of NaNs are not
46014 * scripts/config.guess: Update from config.git.
46015 * scripts/config.sub: Likewise.
46017 2012-10-04 Roland McGrath <roland@hack.frob.com>
46019 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46020 * misc/madvise.c (madvise): Renamed to __madvise.
46021 Make madvise a weak alias.
46022 * include/sys/mman.h: Declare __madvise.
46023 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46024 * sysdeps/unix/syscalls.list
46025 (madvise): Make __madvise the strong name, and madvise a weak alias.
46026 * sysdeps/unix/sysv/linux/syscalls.list
46027 (madvise, mmap): Remove redundant entries.
46028 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46029 * malloc/malloc.c (mtrim): Likewise.
46030 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46032 2012-10-03 Roland McGrath <roland@hack.frob.com>
46034 * sysdeps/mach/hurd/dl-cache.c: File removed.
46035 * config.h.in (USE_LDCONFIG): New #undef.
46036 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46037 * configure: Regenerated.
46038 * elf/Makefile (dl-routines): Add dl-cache only under
46039 [$(use-ldconfig) = yes].
46040 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46041 cache on [USE_LDCONFIG].
46042 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46044 * elf/rtld.c (dl_main): Likewise.
46046 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46048 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46049 _SC_LEVEL4_CACHE_LINESIZE.
46051 2012-10-03 Roland McGrath <roland@hack.frob.com>
46053 * sysdeps/unix/bsd/confstr.h: File removed.
46055 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46057 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46060 2012-10-02 Roland McGrath <roland@hack.frob.com>
46062 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46063 Make 'mapoff' field ElfW(Off) rather than off_t.
46065 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46067 * nscd/Makefile: Remove nscd-cflags and all its users.
46068 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46069 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46072 * malloc.c (malloc_printerr): Clarify error message.
46074 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46078 Set bit_FMA_Usable if FMA is supported.
46079 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46081 (bit_FMA4_Usable): Updated.
46082 (index_FMA_Usable): New macro.
46083 (CPUID_FMA): Likewise
46084 (HAS_FMA): Defined with bit_FMA_Usable.
46086 2012-10-01 Roland McGrath <roland@hack.frob.com>
46088 * bits/types.h (__swblk_t): Type removed.
46089 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46090 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46092 (__SWBLK_T_TYPE): Likewise.
46093 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46094 (__SWBLK_T_TYPE): Likewise.
46095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46096 (__SWBLK_T_TYPE): Likewise.
46097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46098 (__SWBLK_T_TYPE): Likewise.
46100 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46101 Honza Horak <hhorak@redhat.com>
46103 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46104 (xdr_mapname): Use YPMAXMAP as maxsize.
46105 (xdr_peername): Use YPMAXPEER as maxsize.
46106 (xdr_keydat): Use YPAXRECORD as maxsize.
46107 (xdr_valdat): Use YPMAXRECORD as maxsize.
46109 2012-10-01 Roland McGrath <roland@hack.frob.com>
46111 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46113 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46114 * csu/init-first.c: ... here.
46115 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46116 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46117 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46118 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46119 * sysdeps/i386/init-first.c: File removed.
46120 * sysdeps/sh/init-first.c: File removed.
46122 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46126 if x * y might underflow to zero and z is zero.
46127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46128 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46129 * math/libm-test.inc (min_subnorm_value): New variable.
46130 (fma_test): Add more tests.
46131 (fma_test_towardzero): Likewise.
46132 (fma_test_downward): Likewise
46133 (fma_test_upward): Likewise.
46134 (initialize): Set min_subnorm_value.
46136 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46142 mode for addition resulting in exact zero.
46143 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46146 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46148 * math/libm-test.inc (fma_test): Add more tests.
46149 (fma_test_towardzero): New function.
46150 (fma_test_downward): Likewise.
46151 (fma_test_upward): Likewise.
46152 (main): Call the new functions.
46154 2012-09-28 David S. Miller <davem@davemloft.net>
46156 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46158 2012-09-28 Roland McGrath <roland@hack.frob.com>
46160 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46161 instead of SIGALRM.
46163 * sysdeps/gnu/_G_config.h: Moved to ...
46164 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46165 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46166 * sysdeps/generic/_G_config.h: ... here.
46168 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46170 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46172 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46173 Conditionalize target on [libnss_test1.so-version].
46175 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46177 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46178 (elfobjdir): Move out of conditionals.
46180 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46181 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46182 (__nss_lookup_function): Conditionalize label remove_from_tree on
46183 [!DO_STATIC_NSS || SHARED], matching its only use.
46185 2012-09-28 David S. Miller <davem@davemloft.net>
46187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46190 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46192 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46194 when HWCAP_SPARC_CRYPTO is present.
46196 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46198 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46200 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46203 * stdio-common/vfprintf.c (process_string_arg): Revert
46206 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46208 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46210 * stdio-common/tst-sprintf.c: Include <locale.h>
46211 (main): Test sprintf's handling of incomplete multibyte
46214 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46216 * elf/dl-runtime.c (VERSYMIDX): Removed.
46217 * elf/dl-version.c (VERSYMIDX): Likewise.
46218 * elf/do-rel.h (VERSYMIDX): Likewise.
46219 (VALIDX): Likewise.
46220 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46221 * elf/rtld.c (VALIDX): Likewise.
46222 (ADDRIDX): Likewise.
46223 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46224 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46225 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46226 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46227 (VALIDX): Likewise.
46228 (ADDRIDX): Likewise.
46230 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46232 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46234 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46237 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46239 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46240 addresses are in the same scope as 192.0.2/24.
46241 * posix/gai.conf: Document new scope table defaults.
46243 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46246 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46247 for ftell. Compute offsets from write pointers instead.
46248 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46250 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46253 * libio/Makefile (tests): New test case tst-fseek.
46254 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46255 combination works in wide mode.
46256 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46257 state when the external buffer state changes.
46259 2012-09-27 David S. Miller <davem@davemloft.net>
46262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46263 pass reloc->r_addend in as the 'high' argument to
46264 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46268 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46270 * rt/tst-aio2.c: Include <pthread.h>.
46271 * rt/tst-aio3.c: Likewise.
46273 2012-09-27 Steve Ellcey <sellcey@mips.com>
46275 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46277 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46279 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46280 contents on [SHARED].
46282 2012-09-26 Marek Polacek <polacek@redhat.com>
46286 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46287 for C++ and GCC <4.3 as well as for non GCC compilers.
46289 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46293 2012-09-25 Roland McGrath <roland@hack.frob.com>
46295 * Makefile.in (all, install): Declare with .PHONY.
46296 Reported by Michael Hope <michael.hope@linaro.org>.
46298 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46300 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46301 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46303 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46305 (sydep_routines): Add the new and the internal functions.
46306 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46307 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46309 (GLIBC_2.17): Add the new function.
46310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46311 (GLIBC_2.17): Likewise.
46312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46313 (GLIBC_2.17): Likewise.
46314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46315 (GLIBC_2.17): Likewise.
46316 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46318 2012-09-25 Alan Modra <amodra@gmail.com>
46320 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46321 Add release barrier before setting once_control to say
46322 initialisation is done. Add hints on lwarx. Use macro in
46324 (clear_once_control): Add release barrier.
46326 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46329 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46331 * math/s_clog10.c (__clog10): Likewise.
46332 * math/s_clog10f.c (__clog10f): Likewise.
46333 * math/s_clog10l.c (__clog10l): Likewise.
46334 * math/s_clogf.c (__clogf): Likewise.
46335 * math/s_clogl.c (__clogl): Likewise.
46336 * math/Makefile (libm-calls): Add x2y2m1.
46337 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46338 (__x2y2m1): Likewise.
46339 (__x2y2m1l): Likewise.
46340 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46341 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46342 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46343 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46344 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46345 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46346 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46347 * sysdeps/i386/fpu/libm-test-ulps: Update.
46348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46351 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46352 int as type of variable DEPTH.
46353 (glob): Use size_t instead of int as type of variables NEWCOUNT
46356 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46358 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46359 Add s_sincosf-sse2.
46360 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46361 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46362 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46363 macros for using routine as __sincosf_ia32.
46364 Use macro for function declaration and weak_alias.
46365 * sysdeps/i386/fpu/libm-test-ulps: Update.
46367 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46370 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46371 subnormal argument.
46372 * math/s_cexpf.c (__cexpf): Likewise.
46373 * math/s_csinf.c (__csinf): Likewise.
46374 * math/s_csinhf.c (__csinhf): Likewise.
46375 * math/s_ctanf.c (__ctanf): Likewise.
46376 * math/s_ctanhf.c (__ctanhf): Likewise.
46377 * math/s_ccosh.c (__ccoshf): Likewise.
46378 * math/s_cexp.c (__cexpl): Likewise.
46379 * math/s_csin.c (__csin): Likewise.
46380 * math/s_csinh.c (__csinh): Likewise.
46381 * math/s_ctan.c (__ctan): Likewise.
46382 * math/s_ctanh.c (ctanh): Likewise.
46383 * math/s_ccoshl.c (__ccoshl): Likewise.
46384 * math/s_cexpl.c (__cexpl): Likewise.
46385 * math/s_csinl.c (__csinl): Likewise.
46386 * math/s_csinhl.c (__csinhl): Likewise.
46387 * math/s_ctanl.c (__ctanl): Likewise.
46388 * math/s_ctanhl.c (__ctanhl): Likewise.
46390 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46392 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46393 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46394 (_IO_off_t): Define to __off_t, not _G_off_t.
46395 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46396 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46397 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46398 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46399 type of __dummy and __dummy2 fields.
46400 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46401 (_G_ssize_t): Likewise.
46402 (_G_off_t): Likewise.
46403 (_G_pid_t): Likewise.
46404 (_G_uid_t): Likewise.
46405 (_G_wchar_t): Likewise.
46406 (_G_wint_t): Likewise.
46407 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46408 (_G_ssize_t): Likewise.
46409 (_G_off_t): Likewise.
46410 (_G_pid_t): Likewise.
46411 (_G_uid_t): Likewise.
46412 (_G_wchar_t): Likewise.
46413 (_G_wint_t): Likewise.
46414 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46415 (_G_ssize_t): Likewise.
46416 (_G_off_t): Likewise.
46417 (_G_pid_t): Likewise.
46418 (_G_uid_t): Likewise.
46419 (_G_wchar_t): Likewise.
46420 (_G_wint_t): Likewise.
46422 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46424 * malloc/arena.c: Include malloc-sysdep.h.
46425 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46426 is sufficient to shrink the heap or an unmap is needed.
46427 * sysdeps/generic/malloc-sysdep.h: New file. Define
46428 new function check_may_shrink_heap.
46429 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46430 new function check_may_shrink_heap.
46432 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46434 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46437 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46439 * catgets/test-gencat.sh: Add "set -e".
46440 * elf/tst-pathopt.sh: Likewise.
46441 * grp/tst_fgetgrent.sh: Likewise.
46442 * iconvdata/run-iconv-test.sh: Likewise.
46443 * intl/tst-gettext.sh: Likewise.
46444 * intl/tst-gettext2.sh: Likewise.
46445 * intl/tst-gettext4.sh: Likewise.
46446 * intl/tst-gettext6.sh: Likewise.
46447 * intl/tst-translit.sh: Likewise.
46448 * io/ftwtest-sh: Likewise.
46449 * libio/test-freopen.sh: Likewise.
46450 * malloc/tst-mtrace.sh: Likewise.
46451 * posix/globtest.sh: Likewise.
46452 * posix/tst-getconf.sh: Likewise.
46453 * posix/wordexp-tst.sh: Likewise.
46454 * stdio-common/tst-printf.sh: Likewise.
46455 * stdio-common/tst-unbputc.sh: Likewise.
46456 * stdlib/tst-fmtmsg.sh: Likewise.
46457 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46458 * catgets/Makefile: Do not specify -e option when running
46459 testsuite shell scripts.
46460 * elf/Makefile: Likewise.
46461 * grp/Makefile: Likewise.
46462 * iconvdata/Makefile: Likewise.
46463 * intl/Makefile: Likewise.
46464 * io/Makefile: Likewise.
46465 * libio/Makefile: Likewise.
46466 * malloc/Makefile: Likewise.
46467 * posix/Makefile: Likewise.
46468 * stdio-common/Makefile: Likewise.
46469 * stdlib/Makefile: Likewise.
46470 * sysdeps/x86_64/Makefile: Likewise.
46472 * io/ftwtest-sh: Add copyright header.
46473 * posix/globtest.sh: Likewise.
46474 * posix/tst-getconf.sh: Likewise.
46475 * posix/wordexp-tst.sh: Likewise.
46476 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46478 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46481 * Makeconfig (+link): Defined as $(+link-static) if
46482 $(build-shared) isn't yes.
46483 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46485 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46487 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46490 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46491 new chunk size with MALLOC_ALIGN_MASK.
46493 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46496 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46498 (__printf_fphex): Determine rounding using get_rounding_mode and
46500 * stdio-common/tst-printf-round.c (struct hex_test): New
46502 (hex_tests): New variable.
46503 (test_hex_in_one_mode): New function.
46504 (do_test): Also run tests for hex float output.
46506 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46508 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46509 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46510 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46511 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46512 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46513 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46514 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46515 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46517 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46519 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46520 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46521 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46522 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46524 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46527 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46529 * elf/tst-rtld-load-self.sh: New test.
46530 * elf/Makefile: Run it.
46532 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46534 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46535 (tst-writev-ENV): Remove.
46536 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46538 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46540 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46542 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46544 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46546 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46548 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46549 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46550 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46553 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46556 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46557 * config.make.in (have-cpp-asm-debuginfo): Removed.
46558 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46559 * configure: Regenerated.
46561 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46564 * stdio-common/printf_fp.c: Include <stdbool.h> and
46566 (___printf_fp): Determine rounding using get_rounding_mode and
46568 * stdio-common/tst-printf-round.c: New file.
46569 * stdio-common/Makefile (tests): Add tst-printf-round.
46570 (link-libm): New variable.
46571 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46573 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46576 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46577 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46579 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46582 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46584 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46585 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46586 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46587 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46589 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46592 * include/rounding-mode.h: New file.
46593 * sysdeps/generic/get-rounding-mode.h: Likewise.
46594 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46595 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46596 (MAX_VALUE): New macro.
46597 (MIN_VALUE): Likewise.
46598 (overflow_value): New function.
46599 (underflow_value): Likewise.
46600 (round_and_return): Use overflow_value and underflow_value to
46601 determine return values in overflow and underflow cases. Use
46602 round_away to determine rounding depending on rounding mode.
46603 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46604 determine return values in overflow and underflow cases.
46605 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46606 (struct test_results): New structure.
46607 (struct test): Use struct test_results to store expected results
46608 for all rounding modes.
46609 (TEST): Include expected results for all rounding modes.
46610 (test_in_one_mode): New function.
46611 (do_test): Use test_in_one_mode to compute and check results.
46612 Check results for all rounding modes.
46613 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46616 2012-12-09 Allan McRae <allan@archlinux.org>
46618 * sysdeps/i386/fpu/libm-test-ulps: Update
46620 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46622 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46623 (_G_int32_t): Likewise.
46624 (_G_uint16_t): Likewise.
46625 (_G_uint32_t): Likewise.
46626 (_G_HAVE_BOOL): Likewise.
46627 (_G_HAVE_ATEXIT): Likewise.
46628 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46629 (_G_HAVE_IO_FILE_OPEN): Likewise.
46630 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46631 (_G_int32_t): Likewise.
46632 (_G_uint16_t): Likewise.
46633 (_G_uint32_t): Likewise.
46634 (_G_HAVE_BOOL): Likewise.
46635 (_G_HAVE_ATEXIT): Likewise.
46636 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46637 (_G_HAVE_IO_FILE_OPEN): Likewise.
46638 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46639 (_G_int32_t): Likewise.
46640 (_G_uint16_t): Likewise.
46641 (_G_uint32_t): Likewise.
46642 (_G_HAVE_BOOL): Likewise.
46643 (_G_HAVE_ATEXIT): Likewise.
46644 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46645 (_G_HAVE_IO_FILE_OPEN): Likewise.
46647 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46649 * csu/libc-tls.c: Update copyright years.
46651 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46653 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46654 [!_G_USING_THUNKS]: Remove conditional code.
46655 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46656 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46658 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46659 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46660 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46661 (_G_VTABLE_LABEL_PREFIX): Likewise.
46662 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46663 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46664 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46665 (_G_VTABLE_LABEL_PREFIX): Likewise.
46666 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46667 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46668 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46669 (_G_VTABLE_LABEL_PREFIX): Likewise.
46670 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46672 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46674 * libio/Makefile: Include ../Makeconfig before tests.
46675 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46676 only if $(build-shared) is yes.
46678 * iconv/gconv_db.c: Update copyright years.
46680 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46682 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46683 unwind info if defined PIC. Fix special cases description.
46684 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46686 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46688 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46690 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46692 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46694 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46697 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46698 (LDLIBS-tst-chk4): This.
46699 (LDFLAGS-tst-chk5): Renamed to ...
46700 (LDLIBS-tst-chk5): This.
46701 (LDFLAGS-tst-chk6): Renamed to ...
46702 (LDLIBS-tst-chk6): This.
46703 (LDFLAGS-tst-lfschk4): Renamed to ...
46704 (LDLIBS-tst-lfschk4): This.
46705 (LDFLAGS-tst-lfschk5): Renamed to ...
46706 (LDLIBS-tst-lfschk5): This.
46707 (LDFLAGS-tst-lfschk6): Renamed to ...
46708 (LDLIBS-tst-lfschk6): This.
46710 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46711 on $(common-objpfx)soversions.mk.
46713 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46716 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46719 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46721 * malloc/arena.c (arena_get_retry): New function that gets
46722 another arena for the caller to try its request on.
46723 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46724 current arena cannot fulfill the request.
46725 (__libc_memalign): Likewise.
46726 (__libc_memalign): Likewise.
46727 (__libc_pvalloc): Likewise.
46728 (__libc_calloc): Likewise.
46730 2012-09-05 John Tobey <john.tobey@gmail.com>
46733 * manual/arith.texi (Operations on Complex): Fix description
46734 of carg branch cut.
46736 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46739 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46743 * manual/memory.texi (Memory): Make order of menu items match
46746 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46748 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46749 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46750 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46752 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46754 * csu/libc-tls.c (static_dtv): Renamed to ...
46755 (_dl_static_dtv): This. Make it global.
46756 (_dl_initial_dtv): Removed.
46757 (__libc_setup_tls): Updated.
46758 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46759 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46762 2012-09-06 Petr Machata <pmachata@redhat.com>
46764 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46765 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46766 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46767 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46769 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46772 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46773 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46776 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46779 * Makeconfig (link-static-before-libc): Replace $(+prector)
46781 (link-static-after-libc): Replace $(+postctor) with
46783 (link-bounded): Replace $(+prector)/$(+postctor) with
46784 $(+prectorT)/$(+postctorT).
46785 (+prectorT): New macro.
46786 (+postctorT): Likewise.
46788 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46790 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46791 (round_str): Handle values above the maximum for IBM long double
46793 * stdlib/tst-strtod-round.c (tests): Regenerated.
46795 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46797 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46799 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46800 zarch_nohighgprs around the zarch optimized routines.
46801 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46802 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46806 2012-09-05 David S. Miller <davem@davemloft.net>
46808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46810 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46811 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46812 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46813 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46816 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46818 * malloc/arena.c: Fold copyright years.
46819 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46821 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46823 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46825 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46827 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46829 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46831 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46832 change internal state upon failure.
46834 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46836 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46837 * malloc/memusage.c (mmap): Likewise.
46838 (mmap64, mremap): Likewise. Adjust name in comment.
46840 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46842 * libio/fileops.c: Fix typos in comments.
46843 * libio/oldfileops.c: Likewise.
46844 * libio/wfileops.c: Likewise.
46846 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46849 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46850 (tst-malloc-usable-ENV): Set environment for test case.
46851 * malloc/hooks.c (malloc_check_get_size): New function to get
46853 * malloc/malloc.c (musable): Use malloc_check_get_size.
46854 * malloc/tst-malloc-usable.c: New test case.
46856 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46858 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46860 2012-09-05 Allan McRae <allan@archlinux.org>
46863 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46864 determine header location.
46865 * configure: Regenerated.
46867 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46869 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46871 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46872 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46874 (test): Regenerate.
46876 2012-09-04 David S. Miller <davem@davemloft.net>
46878 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46879 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46882 2012-09-04 Florian Weimer <fweimer@redhat.com>
46884 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46887 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46889 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46892 * libio/iogetdelim.c: Include <limits.h>.
46893 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46894 + len + 1 would overflow.
46896 2012-09-03 Andreas Jaeger <aj@suse.de>
46898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46899 * sysdeps/i386/fpu/libm-test-ulps: Update.
46901 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46903 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46904 Add s_sinf-sse2, s_conf-sse2.
46906 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46907 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46908 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46909 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46911 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46912 for using routine as __sinf_ia32.
46913 Use macro for function declaration and weak_alias.
46914 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46915 for using routine as __cosf_ia32.
46916 Use macro for function declaration and weak_alias.
46918 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46919 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46921 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46922 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46925 * math/libm-test.inc (cos_test): Add more test cases.
46926 (sin_test): Likewise.
46927 (sincos_test): Likewise.
46929 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46932 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46934 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46936 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46939 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46940 first element of the GOT.
46941 (elf_machine_load_address): Return the difference between
46942 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46944 2012-09-01 Allan McRae <allan@archlinux.org>
46947 * configure.in (AWK): Require gawk version 3.0 or later.
46948 * configure: Regenerated.
46950 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46952 * sysdeps/unix/sysv/linux/kernel-features.h
46953 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46954 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46955 [__NR_clock_getres]: Make code unconditional.
46956 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46957 (clock_getcpuclockid): Remove code left unreachable by removal of
46959 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46960 code unconditional.
46961 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46962 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46963 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46964 Make code unconditional.
46965 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46966 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46967 * sysdeps/unix/sysv/linux/clock_settime.c
46968 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46970 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46971 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46973 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46976 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46977 scripts/test-installation.pl.
46979 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46980 and $ld_so_version if it is set.
46982 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46985 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46986 failure if reading from procfs failed.
46987 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46989 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46991 * sysdeps/unix/sysv/linux/kernel-features.h
46992 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46993 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46994 Remove conditional code.
46995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46996 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46997 Remove conditional code.
46998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46999 * sysdeps/unix/sysv/linux/i386/fxstat.c
47000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47002 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47003 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47005 * sysdeps/unix/sysv/linux/i386/lxstat.c
47006 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47008 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47009 Remove conditional code.
47010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47011 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47012 Remove conditional code.
47013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47014 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47015 <kernel-features.h>.
47016 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47018 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47019 Remove conditional code.
47020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47021 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47022 Remove conditional.
47024 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47027 * NEWS: Add fixed bug number.
47029 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47032 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47033 underflowing exponent in case of negative sign.
47034 * stdlib/tst-strtod-round-data: Add more tests.
47035 * stdlib/tst-strtod-round.c (tests): Regenerated.
47038 * stdlib/strtod_l.c (NDIG): Remove.
47039 (HEXNDIG): Likewise.
47040 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47041 smallest representable value.
47042 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47043 lie within an exact representation of 1/2 ulp of the result.
47044 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47046 (TENS_P9_IDX): Define unconditionally.
47047 (TENS_P9_SIZE): Likewise.
47048 (TENS_P10_IDX): Likewise.
47049 (TENS_P10_SIZE): Likewise.
47050 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47051 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47052 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47053 entries for 10^2^13 and 10^2^14.
47054 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47055 (TENS_P13_IDX): Define.
47056 (TENS_P13_SIZE): Likewise.
47057 (TENS_P14_IDX): Likewise.
47058 (TENS_P14_SIZE): Likewise.
47059 (_fpioconst_pow10): Change array size to
47060 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47062 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47063 1024]: Add entries for 10^2^13 and 10^2^14.
47064 [LAST_POW10 > _LAST_POW10]: Remove #error.
47065 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47066 (_fpioconst_pow10): Change array size to
47067 FPIOCONST_POW10_ARRAY_SIZE.
47068 * stdlib/gen-fpioconst.c: New file.
47069 * stdlib/gen-tst-strtod-round.c: Likewise.
47070 * stdlib/tst-strtod-round-data: Likewise.
47071 * stdlib/tst-strtod-round.c: Likewise.
47072 * stdlib/Makefile (tests): Add tst-strtod-round.
47075 * stdlib/strtod_l.c: Include <stdint.h>.
47076 (NDEBUG): Do not define.
47077 (round_and_return): Change EXPONENT parameter to type intmax_t.
47078 Rearrange calculations to avoid internal overflow possibilities.
47079 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47080 Rearrange calculations to avoid internal overflow possibilities.
47081 Assert that number fits inside MPNSIZE limbs.
47082 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47083 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47084 calculations and add assertions to avoid internal overflow
47085 possibilities. Add casts to avoid signed/unsigned operations.
47086 * stdlib/tst-strtod-overflow.c: New file.
47087 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47089 2012-08-25 Marek Polacek <polacek@redhat.com>
47091 * time/time.h: Fix some typos in comments.
47093 2012-08-23 Roland McGrath <roland@hack.frob.com>
47095 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47096 * posix/tst-rfc3484-2.c: Likewise.
47097 * posix/tst-rfc3484-3.c: Likewise.
47099 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47101 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47102 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47104 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47106 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47107 #include of fxstatat64.c.
47109 2012-08-22 Roland McGrath <roland@hack.frob.com>
47111 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47112 * shadow/getspent_r.c: Likewise.
47113 * shadow/getspnam.c: Likewise.
47114 * shadow/getspnam_r.c: Likewise.
47115 * gshadow/getsgent.c: Likewise.
47116 * gshadow/getsgent_r.c: Likewise.
47117 * gshadow/getsgnam.c: Likewise.
47118 * gshadow/getsgnam_r.c: Likewise.
47119 * inet/getnetbyad.c: Likewise.
47120 * inet/getnetbyad_r.c: Likewise.
47121 * inet/getnetbynm.c: Likewise.
47122 * inet/getnetbynm_r.c: Likewise.
47123 * inet/getnetent.c: Likewise.
47124 * inet/getnetent_r.c: Likewise.
47125 * inet/getproto.c: Likewise.
47126 * inet/getproto_r.c: Likewise.
47127 * inet/getprtent.c: Likewise.
47128 * inet/getprtent_r.c: Likewise.
47129 * inet/getprtname.c: Likewise.
47130 * inet/getprtname_r.c: Likewise.
47131 * inet/getrpcbyname.c: Likewise.
47132 * inet/getrpcbyname_r.c: Likewise.
47133 * inet/getrpcbynumber.c: Likewise.
47134 * inet/getrpcbynumber_r.c: Likewise.
47135 * inet/getrpcent.c: Likewise.
47136 * inet/getrpcent_r.c: Likewise.
47137 * inet/getaliasent.c: Likewise.
47138 * inet/getaliasent_r.c: Likewise.
47139 * inet/getaliasname.c: Likewise.
47140 * inet/getaliasname_r.c: Likewise.
47141 * nscd/getgrgid_r.c: Likewise.
47142 * nscd/getgrnam_r.c: Likewise.
47143 * nscd/gethstbyad_r.c: Likewise.
47144 * nscd/gethstbynm3_r.c: Likewise.
47145 * nscd/getpwnam_r.c: Likewise.
47146 * nscd/getpwuid_r.c: Likewise.
47147 * nscd/getsrvbynm_r.c: Likewise.
47148 * nscd/getsrvbypt_r.c: Likewise.
47149 * nscd/gai.c: Likewise.
47151 * configure.in (build_nscd): New substituted variable, set
47152 by --disable-build-nscd and defaults to $use_nscd.
47153 * configure: Regenerated.
47154 * config.make.in (build-nscd): New substituted variable.
47155 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47156 Change conditional to require [$(build-nscd) = yes] as well.
47157 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47160 * configure.in (use_nscd): New substituted variable, set by
47161 --disable-nscd. If enabled, define USE_NSCD.
47162 * configure: Regenerated.
47163 * config.h.in: Add USE_NSCD.
47164 * config.make.in (use-nscd): New substituted variable.
47165 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47166 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47167 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47168 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47169 (CFLAGS-getgrnam_r.c): Likewise.
47170 (CFLAGS-initgroups.c): Likewise.
47171 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47172 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47174 * inet/getnetgrent_r.c
47175 (nscd_setnetgrent): New function, broken out of ...
47176 (setnetgrent): ... here. Call it.
47177 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47178 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47179 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47180 * nscd/Makefile (routines, aux): Move definitions after include of
47181 Makeconfig. Conditionalize on [$(use-nscd) != no].
47182 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47183 Conditionalize on [USE_NSCD].
47184 (is_nscd, nscd_init_cb): Likewise.
47185 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47186 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47187 * nss/nss_db/db-init.c: Likewise.
47188 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47190 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47191 (make_request): Use it.
47192 (cache_valid_p): New function.
47193 (__check_pf): Use it.
47194 * NEWS: Add item for --disable-nscd.
47196 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47198 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47199 to support sed >= 4.2.1-20-ga9bf076.
47200 * configure: Regenerated.
47202 2012-08-22 Roland McGrath <roland@hack.frob.com>
47204 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47205 Conditionalize whole body on [IREL].
47207 2012-08-22 Jeff Law <law@redhat.com>
47210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47211 if the family is PF_UNSPEC.
47213 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47215 * Makerules (lib-version): Rename from V.
47216 (install-lib-nosubdir): Change V to lib-version.
47218 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47221 * powerpc32/power6/wcschr.c: New file.
47222 * powerpc32/power6/wcscpy.c: New file.
47223 * powerpc32/power6/wcsrchr.c: New file.
47224 * powerpc64/power6/wcschr.c: New file.
47225 * powerpc64/power6/wcscpy.c: New file.
47226 * powerpc64/power6/wcsrchr.c: New file.
47228 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47230 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47231 (two_way_short_needle): Use it.
47232 * string/strstr.c (AVAILABLE1_USES_J): Define.
47233 * string/strcasestr.c: Likewise.
47235 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47237 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47240 * NEWS: Add an entry.
47241 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47242 define their defaults.
47243 (two_way_short_needle): Detect end-of-string on-the-fly.
47244 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47245 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47246 * string/bug-strcasestr1.c: New test.
47247 * string/Makefile: Run it.
47249 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47252 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47253 the first character.
47255 2012-08-21 Roland McGrath <roland@hack.frob.com>
47257 * csu/elf-init.c (__libc_csu_irel): Function removed.
47258 * csu/libc-start.c (apply_irel): New function.
47259 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47261 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47263 * sysdeps/unix/sysv/linux/kernel-features.h
47264 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47265 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47266 <kernel-features.h>.
47267 [__NR_fadvise64_64]: Make code unconditional.
47268 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47269 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47270 !__NR_fadvise64_64)]: Likewise.
47271 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47272 !__NR_fadvise64_64))]: Likewise.
47273 [__NR_fadvise64]: Make code unconditional.
47274 [!__NR_fadvise64]: Remove conditional code.
47275 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47276 <kernel-features.h>.
47277 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47279 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47282 not include <kernel-features.h>.
47283 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47285 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47287 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47288 include <kernel-features.h>.
47289 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47291 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47294 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47296 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47297 slight instruction rearrangements per scrollpipe analysis.
47298 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47300 2012-08-20 Roland McGrath <roland@hack.frob.com>
47302 * manual/syslog.texi (syslog; vsyslog, closelog):
47303 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47304 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47306 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47307 DSOCAPS to match condition on defining it.
47309 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47311 * sysdeps/unix/sysv/linux/kernel-features.h
47312 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47317 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47318 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47320 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47321 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47323 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47324 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47326 * sysdeps/unix/sysv/linux/kernel-features.h
47327 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47328 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47330 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47331 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47332 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47333 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47334 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47335 Make code unconditional.
47336 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47337 (__mmap64) [!__NR_mmap2]: Likewise.
47338 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47339 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47340 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47341 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47342 [__NR_mmap2]: Make code unconditional.
47343 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47344 (__mmap64) [!__NR_mmap2]: Likewise.
47346 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47348 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47350 2012-08-18 Andreas Jaeger <aj@suse.de>
47352 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47354 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47356 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47357 * include/unistd.h (__have_sock_cloexec): Likewise.
47358 (__have_pipe2): Likewise.
47359 (__have_dup3): Likewise.
47361 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47364 * include/unistd.h (__have_pipe2): Change define into an extern int.
47365 (__have_dup3): Likewise.
47366 * socket/have_sock_cloexec.c: Include fcntl.h.
47367 (__have_pipe2): New variable.
47368 (__have_dup3): Likewise.
47370 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47372 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47374 2012-08-17 Marek Polacek <polacek@redhat.com>
47376 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47377 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47379 2012-08-17 Roland McGrath <roland@hack.frob.com>
47381 * configure.in: Add AC_SUBST for sysheaders.
47382 * configure: Regenerated.
47383 * config.make.in (sysheaders): New substituted variable.
47385 * sysdeps/unix/mkfifo.c: Moved ...
47386 * sysdeps/posix/mkfifo.c: ... here.
47387 * sysdeps/unix/mkfifoat.c: Moved ...
47388 * sysdeps/posix/mkfifoat.c: ... here.
47390 * sysdeps/unix/utime.c: Moved ...
47391 * sysdeps/posix/utime.c: ... here.
47393 * sysdeps/unix/time.c: Moved ...
47394 * sysdeps/posix/time.c: ... here.
47395 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47396 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47398 * sysdeps/unix/nice.c: Moved ...
47399 * sysdeps/posix/nice.c: ... here.
47401 * sysdeps/unix/alarm.c: Moved ...
47402 * sysdeps/posix/alarm.c: ... here.
47404 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47406 2012-08-17 Jeff Law <law@redhat.com>
47408 * intl/Makefile (codeset_mo): New variable.
47409 ($(codeset_mo)): New target.
47410 (tst-codeset.out): Depend on that. Remove explicit rule.
47411 (tst-gettext3.out, tst-gettext5.out): Likewise.
47412 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47413 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47414 * intl/tst-codeset.sh: Remove.
47415 * intl/tst-gettext3.sh: Likewise.
47416 * intl/tst-gettext5.sh: Likewise.
47418 2012-08-17 Roland McGrath <roland@hack.frob.com>
47420 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47421 * sysdeps/unix/syscalls.list: ... here.
47423 * sysdeps/posix/getaddrinfo.c
47424 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47425 (gaiconf_init, gaiconf_reload): Use them.
47426 [!_STATBUF_ST_NSEC]
47427 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47428 Define using time_t rather than struct timespec.
47430 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47431 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47433 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47435 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47436 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47439 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47440 __libc_cleanup_push argument.
47442 * bits/param.h: New file.
47443 * misc/sys/param.h: New file.
47444 * include/sys/param.h: New file.
47445 * misc/Makefile (headers): Add bits/param.h.
47446 * sysdeps/generic/sys/param.h: File removed.
47447 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47448 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47449 * sysdeps/mach/hurd/bits/param.h: New file.
47450 * sysdeps/mach/hurd/sys/param.h: File removed.
47452 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47455 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47457 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47458 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47461 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47462 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47463 rather than -D_IO_MTSAFE_IO conditionally.
47464 * stdio-common/Makefile (CPPFLAGS): Likewise.
47465 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47466 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47467 Use $(libio-mtsafe).
47468 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47469 of -D_IO_MTSAFE_IO.
47470 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47471 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47472 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47473 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47474 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47475 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47476 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47477 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47478 (CFLAGS-fread_u_chk.c): Likewise.
47479 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47480 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47481 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47482 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47483 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47484 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47485 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47486 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47487 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47489 * libio/Makefile: Test [$(libc-reentrant) = yes]
47490 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47493 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47494 * sysdeps/pthread/configure: File removed.
47495 * sysdeps/pthread/Makeconfig: New file.
47496 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47497 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47499 2012-08-16 Gary Benson <gbenson@redhat.com>
47501 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47502 unmapping the first object in a namespace.
47504 2012-08-16 Roland McGrath <roland@hack.frob.com>
47506 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47507 (__internal_setnetgrent): ... this. Add internal_function to
47508 definition. Add libc_hidden_def.
47509 (setnetgrent): Update caller.
47510 (internal_endnetgrent): Renamed to ...
47511 (__internal_endnetgrent): ... this. Add internal_function to
47512 definition. Add libc_hidden_def.
47513 (endnetgrent): Update caller.
47514 (internal_getnetgrent_r): Renamed to ...
47515 (__internal_getnetgrent_r): ... this. Add internal_function to
47516 definition. Add libc_hidden_def.
47517 (__getnetgrent_r): Update caller.
47518 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47520 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47522 * stdlib/longlong.h: Update from GCC.
47524 2012-08-16 Roland McGrath <roland@hack.frob.com>
47526 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47527 on _QL, which is set by umul_ppmm but never used.
47528 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47529 variables, which are set by GMP macros but never used.
47530 * stdio-common/_itowa.c (_itowa): Likewise.
47531 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47532 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47534 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47536 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47537 struct La_sh_regs is not constant.
47538 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47539 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47540 and struct La_sparc64_regs are not constant.
47542 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47544 * sysdeps/unix/sysv/linux/kernel-features.h
47545 (__ASSUME_POSIX_TIMERS): Remove.
47546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47548 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47549 Make code unconditional.
47550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47551 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47552 Make code unconditional.
47553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47554 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47555 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47556 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47557 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47558 Make code unconditional.
47559 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47560 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47561 (__libc_missing_posix_timers): Remove.
47563 2012-08-15 Roland McGrath <roland@hack.frob.com>
47565 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47566 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47568 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47570 * elf/dl-sym.c: Include <stdlib.h>.
47572 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47573 constants, which avoids warnings in 32-bit builds.
47575 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47576 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47578 * misc/lseek.c: File moved to ...
47579 * io/lseek.c: ... here.
47581 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47583 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47584 shifting LEN more than 31 bits at once.
47586 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47589 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47590 segmentation fault for a case of two empty input strings.
47591 * string/test-strncasecmp.c (check1): Renamed to...
47592 (bz12205): ...this.
47593 (bz14195): Add new testcase for two empty input strings and N > 0.
47594 (test_main): Call new testcase, adapt for renamed function.
47596 2012-08-15 Andreas Jaeger <aj@suse.de>
47599 * crypt/md5test2.c: New test, based on test supplied by Serge
47600 Belyshev <belyshev@depni.sinp.msu.ru>.
47601 * crypt/Makefile (xtests): Add md5test-giant..
47602 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47604 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47607 * crypt/md5.c (md5_process_block): Don't assume the buffer
47608 length is less than 2**32.
47609 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47610 length is less than 2**64.
47612 2012-08-15 Roland McGrath <roland@hack.frob.com>
47614 * string/str-two-way.h: Include <sys/param.h>.
47615 (MAX): Macro removed.
47617 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47618 Move #define and #undef of memmove to just before and after
47619 including <string.h>.
47621 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47622 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47623 and after including <string.h>. Move declarations of
47624 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47625 to before #include "string/memmove.c".
47627 * include/dirent.h: Declare __getdirentries.
47629 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47630 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47632 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47634 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47635 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47636 * sysdeps/i386/configure: Regenerated.
47637 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47638 STABS_CURRENT_FILE, and STABS_FUN.
47639 (END): Remove call to STABS_FUN_END.
47640 (STABS_CURRENT_FILE1): Delete.
47641 (STABS_CURRENT_FILE): Likewise.
47642 (STABS_FUN): Likewise.
47643 (STABS_FUN_END): Likewise.
47644 (STABS_FUN2): Likewise.
47645 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47646 * sysdeps/x86_64/configure: Regenerated.
47648 2012-08-14 Roland McGrath <roland@hack.frob.com>
47650 * elf/dl-open.c: Include <atomic.h>.
47651 * elf/dl-lookup.c: Likewise.
47653 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47655 * sysdeps/unix/sysv/linux/kernel-features.h
47656 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47657 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47659 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47661 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47662 condition on __ASSUME_CLONE_THREAD_FLAGS.
47664 2012-08-14 Andreas Jaeger <aj@suse.de>
47666 * sysdeps/i386/fpu/libm-test-ulps: Update.
47668 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47670 * include/atomic.h (atomic_exchange_and_add): Split into ...
47671 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47674 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47678 2012-08-13 Jeff Law <law@redhat.com>
47680 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47681 null byte in the output string.
47683 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47685 * sysdeps/unix/sysv/linux/kernel-features.h
47686 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47687 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47688 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47690 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47691 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47692 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47694 2012-08-09 Jeff Law <law@redhat.com>
47697 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47698 When avoid_arena is set, don't retry in the that arena. Pick the
47699 next one, whatever it might be.
47700 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47701 (arena_lock): Pass in new parameter to arena_get2.
47702 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47704 (__libc_malloc): Unify retrying after main arena failure with
47705 __libc_memalign version.
47706 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47708 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47711 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47712 to __redirect_strstr.
47713 (__strstr_sse42): Use typeof __redirect_strstr.
47714 (__strstr_ia32): Likewise.
47715 (__libc_strstr): New prototype.
47716 (strstr): Renamed to ...
47717 (__libc_strstr): This.
47718 (strstr): New strong alias of __libc_strstr.
47719 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47720 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47723 (__libc_time): New prototype.
47724 (time_ifunc): Replace time with __libc_time.
47725 (time): New strong alias and hidden definition of __libc_time.
47726 (__GI_time): Remove strong alias.
47727 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47728 Include <stddef.h>.
47729 (memmove): Redefined to __redirect_memmove.
47730 (__memmove_sse2): Use typeof __redirect_memmove.
47731 (__memmove_ssse3): Likewise.
47732 (__memmove_ssse3_back): Likewise.
47733 (__libc_memmove): New prototype.
47734 (memmove): Renamed to ...
47735 (__libc_memmove): This.
47736 (memmove): New strong alias of __libc_memmove.
47738 2012-08-08 Mark Salter <msalter@redhat.com>
47741 (R_MN10300_TLS_GD): Define.
47742 (R_MN10300_TLS_LD): Likewise.
47743 (R_MN10300_TLS_LDO): Likewise.
47744 (R_MN10300_TLS_GOTIE): Likewise.
47745 (R_MN10300_TLS_IE): Likewise.
47746 (R_MN10300_TLS_LE): Likewise.
47747 (R_MN10300_TLS_DTPMOD): Likewise.
47748 (R_MN10300_TLS_DTPOFF): Likewise.
47749 (R_MN10300_TLS_TPOFF): Likewise.
47750 (R_MN10300_SYM_DIFF): Likewise.
47751 (R_MN10300_ALIGN): Likewise.
47752 (R_MN10300_NUM): Update.
47754 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47756 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47759 2012-08-08 Roland McGrath <roland@hack.frob.com>
47761 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47763 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47764 sysdeps/unix -> sysdeps/posix move.
47765 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47767 2012-08-07 Allan McRae <allan@archlinux.org>
47770 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47771 (SUNOS_CPP): Likewise.
47772 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47774 (open_input): Call CPP using execvp.
47776 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47778 * sysdeps/unix/sysv/linux/kernel-features.h
47779 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47780 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47781 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47782 (__ASSUME_WAITID_SYSCALL): Likewise.
47783 * sysdeps/unix/sysv/linux/dl-execstack.c
47784 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47785 code unconditional.
47786 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47788 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47789 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47790 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47792 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47794 [__ASSUME_WAITID_SYSCALL]: Likewise.
47795 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47797 2012-08-07 Roland McGrath <roland@hack.frob.com>
47799 * sysdeps/unix/closedir.c: Renamed to ...
47800 * sysdeps/posix/closedir.c: ... here.
47801 * sysdeps/unix/dirfd.c: Renamed to ...
47802 * sysdeps/posix/dirfd.c: ... here.
47803 * sysdeps/unix/dirstream.h: Renamed to ...
47804 * sysdeps/posix/dirstream.h: ... here.
47805 * sysdeps/unix/fdopendir.c: Renamed to ...
47806 * sysdeps/posix/fdopendir.c: ... here.
47807 * sysdeps/unix/opendir.c: Renamed to ...
47808 * sysdeps/posix/opendir.c: ... here.
47809 * sysdeps/unix/readdir.c: Renamed to ...
47810 * sysdeps/posix/readdir.c: ... here.
47811 * sysdeps/unix/readdir_r.c: Renamed to ...
47812 * sysdeps/posix/readdir_r.c: ... here.
47813 * sysdeps/unix/rewinddir.c: Renamed to ...
47814 * sysdeps/posix/rewinddir.c: ... here.
47815 * sysdeps/unix/seekdir.c: Renamed to ...
47816 * sysdeps/posix/seekdir.c: ... here.
47817 * sysdeps/unix/telldir.c: Renamed to ...
47818 * sysdeps/posix/telldir.c: ... here.
47819 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47820 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47821 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47822 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47824 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47825 * bits/fcntl.h: ... here.
47827 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47829 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47830 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47831 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47832 (struct flock): Move l_start, l_len to the beginning.
47833 Use __pid_t for l_pid.
47834 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47835 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47836 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47837 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47838 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47839 [__USE_LARGEFILE64] (struct flock64): New type.
47840 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47842 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47843 * bits/dirent.h: ... here.
47845 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47846 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47848 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47851 Change from 2.6.0 to 2.6.16.
47852 * sysdeps/unix/sysv/linux/configure: Regenerated.
47853 * sysdeps/unix/sysv/linux/kernel-features.h
47854 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47855 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47857 (__ASSUME_UTIMES): Likewise.
47858 (__ASSUME_CLONE_STOPPED): Remove.
47859 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47860 architectures, not kernel version.
47861 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47862 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47863 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47864 (__ASSUME_WAITID_SYSCALL): Likewise.
47865 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47866 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47867 * README: State 2.6.16 as minimum Linux kernel version. Do not
47868 refer to older versions.
47870 2012-08-06 Roland McGrath <roland@hack.frob.com>
47872 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47873 Define alphasort64 as an alias.
47874 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47875 Define versionsort64 as an alias.
47876 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47877 Define scandir64 as an alias.
47878 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47879 Define scandirat64 as an alias.
47880 * dirent/alphasort64.c (alphasort64):
47881 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47882 * dirent/versionsort64.c: Likewise.
47883 * dirent/scandir64.c: Likewise.
47884 * dirent/scandirat64.c: Likewise.
47885 * sysdeps/wordsize-64/alphasort.c: File removed.
47886 * sysdeps/wordsize-64/alphasort64.c: File removed.
47887 * sysdeps/wordsize-64/scandir.c: File removed.
47888 * sysdeps/wordsize-64/scandir64.c: File removed.
47889 * sysdeps/wordsize-64/scandirat.c: File removed.
47890 * sysdeps/wordsize-64/scandirat64.c: File removed.
47891 * sysdeps/wordsize-64/versionsort.c: File removed.
47892 * sysdeps/wordsize-64/versionsort64.c: File removed.
47893 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47894 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47896 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47898 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47899 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47902 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47904 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47906 [defined __arch64__ || defined __sparcv9]
47907 (__INO_T_MATCHES_INO64_T): New macro.
47908 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47909 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47910 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47911 * sysdeps/unix/sysv/linux/bits/dirent.h
47912 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47913 (_DIRENT_MATCHES_DIRENT64): New macro.
47915 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47916 Define lockf64 as an alias.
47917 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47918 Define fseeko64 as an alias.
47919 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47920 Define ftello64 as an alias.
47921 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47922 Define _IO_fgetpos64 and fgetpos64 as aliases.
47923 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47924 Define _IO_fsetpos64 and fsetpos64 as aliases.
47925 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47926 Conditionalize body on this.
47927 * libio/fseeko64.c: Likewise.
47928 * libio/ftello64.c: Likewise.
47929 * libio/iofgetpos64.c: Likewise.
47930 * libio/iofsetpos64.c: Likewise.
47931 * sysdeps/wordsize-64/lockf.c: File removed.
47932 * sysdeps/wordsize-64/lockf64.c: File removed.
47933 * sysdeps/wordsize-64/fseeko.c: File removed.
47934 * sysdeps/wordsize-64/fseeko64.c: File removed.
47935 * sysdeps/wordsize-64/ftello.c: File removed.
47936 * sysdeps/wordsize-64/ftello64.c: File removed.
47937 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47938 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47939 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47940 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47942 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47943 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47944 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47945 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47946 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47947 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47948 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47949 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47950 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47952 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47954 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47956 [defined __arch64__ || defined __sparcv9]
47957 (__OFF_T_MATCHES_OFF64_T): New macro.
47958 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47959 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47961 (__OFF_T_MATCHES_OFF64_T): New macro.
47963 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47965 * stdlib/secure-getenv.c (__secure_getenv): Replace
47966 GLIBC_2_16 with GLIBC_2_17.
47968 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47973 2012-08-03 David S. Miller <davem@davemloft.net>
47975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47977 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47979 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47981 (__ASSUME_CORRECT_SI_PID): Likewise.
47982 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47983 (__ASSUME_TMPFS_NAME): Likewise.
47984 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47985 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47986 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47987 (HAVE_AUX_SECURE): Make definition unconditional.
47988 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47989 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47991 2012-08-03 Roland McGrath <roland@hack.frob.com>
47993 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47994 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47995 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47996 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47997 __eloop_threshold instead of SYMLOOP_MAX.
47999 * sysdeps/generic/eloop-threshold.h: New file.
48000 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48002 * elf/chroot_canon.c (chroot_canon): Likewise.
48004 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48007 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48008 Change to 2.6.0 everywhere.
48009 * sysdeps/unix/sysv/linux/configure: Regenerated.
48010 * sysdeps/unix/sysv/linux/kernel-features.h
48011 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48012 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48014 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48015 (__ASSUME_FUTEX_REQUEUE): Remove.
48016 (__ASSUME_STATFS64): Define unconditionally.
48017 (__ASSUME_AT_SECURE): Likewise.
48018 (__ASSUME_CORRECT_SI_PID): Likewise.
48019 (__ASSUME_TGKILL): Define without depending on kernel version for
48021 (__ASSUME_UTIMES): Likewise.
48022 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48024 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48025 (__ASSUME_TMPFS_NAME): Likewise.
48026 * README: Update reference to Linux kernel versions.
48028 2012-08-02 Marek Polacek <polacek@redhat.com>
48031 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48032 libc_cv_asm_type_prefix with %.
48033 * configure: Regenerated.
48034 * include/libc-symbols.h: Remove comment about
48035 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48036 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48037 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48038 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48039 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48040 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48041 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48042 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48043 * elf/tst-unique2mod1.c: Likewise.
48044 * elf/tst-unique1mod2.c: Likewise.
48045 * elf/tst-unique1mod1.c: Likewise.
48046 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48047 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48048 Replace ASM_TYPE_DIRECTIVE with .type.
48049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48050 * sysdeps/i386/sysdep.h: Likewise.
48051 * sysdeps/x86_64/sysdep.h: Likewise.
48052 * sysdeps/sh/sysdep.h: Likewise.
48053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48054 Do not define ASM_TYPE_DIRECTIVE.
48055 * sysdeps/powerpc/sysdep.h: Likewise.
48056 * sysdeps/powerpc/powerpc32/sysdep.h:
48057 Replace ASM_TYPE_DIRECTIVE with .type.
48058 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48059 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48060 * sysdeps/i386/fpu/e_powf.S: Likewise.
48061 * sysdeps/i386/fpu/e_expl.S: Likewise.
48062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48063 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48064 * sysdeps/i386/fpu/e_pow.S: Likewise.
48065 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48066 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48067 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48068 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48069 * sysdeps/i386/fpu/e_log2.S: Likewise.
48070 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48072 * sysdeps/i386/fpu/e_powl.S: Likewise.
48073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48074 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48075 * sysdeps/i386/fpu/e_logl.S: Likewise.
48076 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48077 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48078 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48079 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48080 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48081 * sysdeps/i386/fpu/e_log.S: Likewise.
48082 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48083 * sysdeps/i386/fpu/e_logf.S: Likewise.
48084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48085 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48086 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48087 * sysdeps/i386/fpu/e_log10.S: Likewise.
48088 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48089 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48090 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48091 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48094 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48095 * sysdeps/i386/i686/strtok.S: Likewise.
48096 * sysdeps/i386/i386-mcount.S: Likewise.
48097 * sysdeps/i386/strtok.S: Likewise.
48098 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48099 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48100 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48101 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48102 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48103 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48104 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48105 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48106 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48107 * sysdeps/x86_64/_mcount.S: Likewise.
48108 * sysdeps/x86_64/strtok.S: Likewise.
48109 * sysdeps/sh/_mcount.S: Likewise.
48111 2012-08-01 Roland McGrath <roland@hack.frob.com>
48113 * libio/iofopen.c: Include <fcntl.h>.
48114 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48115 (_IO_fopen64, fopen64): Define as aliases.
48116 * libio/iofopen64.c: Include <fcntl.h>.
48117 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48118 Conditionalize body on this.
48119 * sysdeps/wordsize-64/iofopen.c: File removed.
48120 * sysdeps/wordsize-64/iofopen64.c: File removed.
48122 2012-08-01 Marek Polacek <polacek@redhat.com>
48124 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48125 Use dlfcn directly instead of a variable.
48126 (binfmt-subdir): Do not define.
48129 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48132 Remove all definitions.
48133 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48134 <kernel-features.h>.
48135 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48136 (miss_F_GETOWN_EX): Remove all definitions.
48137 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48139 [!__ASSUME_FCNTL64]: Remove conditional code.
48140 [__ASSUME_FCNTL64]: Make code unconditional.
48141 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48142 <kernel-features.h>.
48143 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48144 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48145 (lockf64) [__NR_fcntl64]: Make code unconditional.
48146 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48148 * sysdeps/unix/sysv/linux/kernel-features.h
48149 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48150 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48151 Make code unconditional.
48152 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48153 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48155 [__NR_vfork]: Make code unconditional.
48156 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48157 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48159 [__NR_vfork]: Make code unconditional.
48160 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48161 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48163 2012-08-01 Roland McGrath <roland@hack.frob.com>
48165 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48166 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48168 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48169 Define mkstemp64 as an alias.
48170 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48171 Define mkstemps64 as an alias.
48172 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48173 Define mkostemp64 as an alias.
48174 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48175 Define mkostemps64 as an alias.
48176 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48177 Conditionalize body on this.
48178 * misc/mkostemp64.c: Likewise.
48179 * misc/mkostemps64.c: Likewise.
48180 * misc/mkstemps64.c: Likewise.
48181 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48182 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48183 * sysdeps/wordsize-64/mkostemp.c: File removed.
48184 * sysdeps/wordsize-64/mkstemp.c: File removed.
48185 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48186 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48187 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48188 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48191 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48192 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48193 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48194 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48196 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48197 compat_symbol macros from <shlib-compat.h> rather than the underlying
48198 default_symbol_version and symbol_version macros, so that DEFAULT
48199 lines in shlib-versions are respected.
48200 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48202 2012-08-01 Florian Weimer <fweimer@redhat.com>
48204 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48205 Declare with warn_unused_result.
48206 (setgid, setregid, setegid, setresgid): Likewise.
48207 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48209 * WUR-REPORT: Remove set*id functions.
48211 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48213 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48215 2012-07-31 Roland McGrath <roland@hack.frob.com>
48218 * include/sys/socket.h (__libc_accept, __libc_accept4):
48219 Add attribute_hidden.
48220 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48222 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48224 * inet/getnetgrent_r.c (setup): Likewise.
48226 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48228 2012-07-31 David S. Miller <davem@davemloft.net>
48230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48232 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48235 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48236 value between 1.0 and 2.0 and smaller part has absolute value less
48238 * math/s_clog10.c (__clog10): Likewise.
48239 * math/s_clog10f.c (__clog10f): Likewise.
48240 * math/s_clog10l.c (__clog10l): Likewise.
48241 * math/s_clogf.c (__clogf): Likewise.
48242 * math/s_clogl.c (__clogl): Likewise.
48243 * math/libm-test.inc (clog_test): Add more tests.
48244 (clog10_test): Likewise.
48245 * sysdeps/i386/fpu/libm-test-ulps: Update.
48246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48248 2012-07-31 Florian Weimer <fweimer@redhat.com>
48250 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48251 Exit with zero in case no suitable GID is found, and write a
48252 message to standard error.
48254 2012-07-30 Roland McGrath <roland@hack.frob.com>
48256 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48258 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48259 (MAXPATHLEN): Removed.
48260 (NOGROUP, NODEV): New macros.
48261 (setbit, clrbit, isset, isclr): New macros.
48262 (howmany, roundup, powerof2): New macros.
48263 (DEV_BSIZE): New macro.
48265 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48266 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48268 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48269 definition on [!__NO_LONG_DOUBLE_MATH].
48271 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48272 PTR_MANGLE and PTR_DEMANGLE.
48274 * socket/accept4.c (accept4): Rename to __libc_accept4.
48275 Define accept4 as a weak alias.
48277 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48278 on [_DIRENT_HAVE_D_TYPE].
48279 * io/ftw.c (ftw_dir): Likewise.
48281 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48283 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48285 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48286 Use the BSD numbers rather than the arbitrary ones we had.
48287 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48288 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48289 (SIGXCPU, SIGXFSZ): New macros.
48292 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48293 initializer on [_LIBC_REENTRANT].
48295 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48296 definitions inside [_POSIX_MAPPED_FILES].
48298 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48300 * dirent/opendir.c: Include <fcntl.h>.
48302 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48303 (__libc_getspecific): Likewise.
48304 (__libc_key_create): Likewise.
48306 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48307 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48308 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48309 (tmpfile64): Define as alias.
48310 * sysdeps/wordsize-64/tmpfile.c: File removed.
48311 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48313 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48315 * stdio-common/vfscanf.c: Include <stdbool.h>.
48316 * nss/makedb.c: Likewise.
48317 * stdio-common/_i18n_number.h: Likewise.
48318 * argp/argp-help.c: Likewise.
48319 * posix/wordexp.c: Likewise.
48320 * sysdeps/posix/spawni.c: Likewise.
48321 * nss/nss_files/files-initgroups.c: Likewise.
48322 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48323 * nss/nss_files/files-initgroups.c: Likewise.
48324 * nss/nss_db/db-netgrp.c: Likewise.
48325 * nss/nss_db/db-initgroups.c: Likewise.
48326 * io/fchmodat.c: Include <sys/stat.h>.
48328 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48329 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48331 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48334 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48335 Add multiple inclusion protection.
48337 2012-07-27 David S. Miller <davem@davemloft.net>
48339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48341 2012-07-27 Gary Benson <gbenson@redhat.com>
48344 * elf/rtld.c: Include <stap-probe.h>.
48345 (dl_main): Added static probes "init_start" and "init_complete".
48346 * elf/dl-load.c: Include <stap-probe.h>.
48347 (lose): Take new parameter "nsid".
48348 Added static probe "map_failed".
48349 (_dl_map_object_from_fd): Pass namespace id to lose.
48350 Added static probe "map_start".
48351 (open_verify): Pass namespace id to lose.
48352 * elf/dl-open.c: Include <stap-probe.h>.
48353 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48354 and "reloc_complete".
48355 * elf/dl-close.c: Include <stap-probe.h>.
48356 (_dl_close_worker): Added static probes "unmap_start" and
48358 * elf/rtld-debugger-interface.txt: New file documenting the above.
48360 2012-07-26 Roland McGrath <roland@hack.frob.com>
48362 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48363 rather than a string variable.
48364 * sunrpc/rpc_main.c (h_output): Likewise.
48365 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48367 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48369 * inet/check_native.c: New file.
48371 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48374 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48375 if larger part has absolute value 1.0.
48376 * math/s_clog10.c (__clog10): Likewise.
48377 * math/s_clog10f.c (__clog10f): Likewise.
48378 * math/s_clog10l.c (__clog10l): Likewise.
48379 * math/s_clogf.c (__clogf): Likewise.
48380 * math/s_clogl.c (__clogl): Likewise.
48381 * math/libm-test.inc (clog_test): Add more tests.
48382 (clog10_test): Likewise.
48383 * sysdeps/i386/fpu/libm-test-ulps: Update.
48384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48386 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48387 (pltexit): Likewise.
48388 (La_regs): Likewise.
48389 (La_retval): Likewise.
48390 (int_retval): Likewise.
48391 Update #error for removed macros to refer only to definitions in
48393 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48395 (pltexit): Likewise.
48396 (La_regs): Likewise.
48397 (La_retval): Likewise.
48398 (int_retval): Likewise.
48399 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48401 (pltexit): Likewise.
48402 (La_regs): Likewise.
48403 (La_retval): Likewise.
48404 (int_retval): Likewise.
48405 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48407 (pltexit): Likewise.
48408 (La_regs): Likewise.
48409 (La_retval): Likewise.
48410 (int_retval): Likewise.
48411 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48413 (pltexit): Likewise.
48414 (La_regs): Likewise.
48415 (La_retval): Likewise.
48416 (int_retval): Likewise.
48417 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48419 (pltexit): Likewise.
48420 (La_regs): Likewise.
48421 (La_retval): Likewise.
48422 (int_retval): Likewise.
48423 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48425 (pltexit): Likewise.
48426 (La_regs): Likewise.
48427 (La_retval): Likewise.
48428 (int_retval): Likewise.
48429 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48430 macro definitions in tst-audit.h.
48431 * sysdeps/i386/tst-audit.h: New file.
48432 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48433 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48434 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48435 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48436 * sysdeps/sh/tst-audit.h: Likewise.
48437 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48438 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48439 * sysdeps/x86_64/tst-audit.h: Likewise.
48441 2012-07-26 Andreas Jaeger <aj@suse.de>
48443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48446 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48447 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48448 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48450 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48451 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48452 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48454 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48457 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48459 (si_call_addr, si_syscall, si_arch): Define new macro.
48460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48462 (si_call_addr, si_syscall, si_arch): Define new marcro.
48463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48465 (si_call_addr, si_syscall, si_arch): Define new macro.
48466 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48468 (si_call_addr, si_syscall, si_arch): Define new macro.
48470 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48474 Change to 2.4.21 where previously 2.4.1.
48475 * sysdeps/unix/sysv/linux/configure: Regenerated.
48476 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48477 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48478 Linux kernel version.
48479 (__ASSUME_STD_AUXV): Remove.
48480 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48482 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48483 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48484 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48485 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48486 (__ASSUME_NETLINK_SUPPORT): Likewise.
48487 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48488 (__no_netlink_support): Remove conditional definition.
48489 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48491 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48492 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48493 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48494 (if_nameindex_ioctl): Remove.
48495 (if_nameindex_netlink): Do not handle __no_netlink_support.
48496 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48498 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48499 Remove conditional code.
48500 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48502 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48504 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48505 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48506 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48508 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48509 [!__ASSUME_STD_AUXV]: Remove conditional code.
48510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48511 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48512 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48514 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48515 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48517 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48519 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48520 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48522 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48524 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48527 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48530 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48531 code unconditional.
48532 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48534 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48536 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48539 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48541 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48544 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48545 code unconditional.
48546 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48548 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48550 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48553 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48554 code unconditional.
48555 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48557 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48559 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48562 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48564 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48565 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48566 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48567 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48568 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48569 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48570 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48571 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48572 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48573 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48574 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48575 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48576 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48577 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48578 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48579 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48580 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48581 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48582 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48584 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48585 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48586 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48588 2012-07-25 Florian Weimer <fweimer@redhat.com>
48590 * Versions.def: Add GLIBC_2.17.
48591 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48592 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48593 Introduce __libc_secure_getenv.
48594 * stdlib/Versions (2.17): Add secure_getenv
48595 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48596 * stdlib/secure-getenv.c: Rename __secure_getenv to
48597 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48598 symbol __secure_getenv for GLIBC_2.0.
48599 * stdlib/tst-secure-getenv.c: New.
48600 * stdlib/Makefile (tests): Add testcase.
48601 * manual/startup.texi (Environment Access): Document
48603 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48604 __libc_secure_getenv.
48605 * inet/ruserpass.c (ruserpass): Likewise.
48606 * malloc/mtrace.c (mtrace): Likewise.
48607 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48608 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48609 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48610 * sysdeps/posix/tempname.c: Likewise. Evaluate
48611 HAVE_SECURE_GETENV.
48612 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48613 __secure_getenv to __libc_secure_getenv.
48614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48627 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48629 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48630 (struct La_i86_retval): Likewise.
48631 (struct La_x86_64_regs): Likewise.
48632 (struct La_x86_64_retval): Likewise.
48633 (struct La_x32_regs): Likewise.
48634 (struct La_x32_retval): Likewise.
48635 (struct La_ppc32_regs): Likewise.
48636 (struct La_ppc32_retval): Likewise.
48637 (struct La_ppc64_regs): Likewise.
48638 (struct La_ppc64_retval): Likewise.
48639 (struct La_sh_regs): Likewise.
48640 (struct La_sh_retval): Likewise.
48641 (struct La_s390_32_regs): Likewise.
48642 (struct La_s390_32_retval): Likewise.
48643 (struct La_s390_64_regs): Likewise.
48644 (struct La_s390_64_retval): Likewise.
48645 (struct La_sparc32_regs): Likewise.
48646 (struct La_sparc32_retval): Likewise.
48647 (struct La_sparc64_regs): Likewise.
48648 (struct La_sparc64_retval): Likewise.
48649 (struct audit_ifaces): Remove architecture-specific pltenter and
48651 * sysdeps/i386/ldsodefs.h: New file.
48652 * sysdeps/powerpc/ldsodefs.h: Likewise.
48653 * sysdeps/s390/ldsodefs.h: Likewise.
48654 * sysdeps/sh/ldsodefs.h: Likewise.
48655 * sysdeps/sparc/ldsodefs.h: Likewise.
48656 * sysdeps/x86_64/ldsodefs.h: Likewise.
48658 2012-07-25 Marek Polacek <polacek@redhat.com>
48661 * math/libm-test.inc (yn_test): Add another test.
48662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48663 to ERANGE when the result is +-Inf.
48664 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48665 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48666 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48667 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48669 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48671 * conform/data/time.h-data (NULL): Use macro-constant. Require
48673 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48675 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48677 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48679 * configure.in <sysdeps resolving>: Correct printing
48681 * configure: Regenerate.
48683 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48685 * math/w_ilogb.c: Include <limits.h>.
48686 * math/w_ilogbl.c: Likewise.
48688 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48690 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48691 va_copy. Document allowing for unavailable va_copy only as
48692 pre-C99 compatibility.
48693 * manual/string.texi (Copying and Concatenation): Use va_copy
48694 instead of __va_copy in concat example.
48696 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48698 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48699 (__sendto): Use create_address_port. Initialize APORT and deallocate
48702 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48703 with O_NOLINK passed to __file_name_lookup.
48705 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48706 with O_NOLINK passed to __file_name_lookup.
48708 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48709 negative N or less than NGIDS.
48711 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48712 type to string_t. Set ERANGE as errno and return it if NAME is not big
48713 enough. Use memcpy instead of strncpy.
48715 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48717 * elf/Makefile (check-data): Remove.
48718 (localplt.data): New vpath directive.
48719 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48720 instead of $(check-data).
48721 * scripts/data/localplt-generic.data: Move to ...
48722 * sysdeps/generic/localplt.data: ... here.
48723 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48724 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48725 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48728 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48731 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48734 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48737 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48740 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48744 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48746 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48747 PPC32 and PPC64 files.
48748 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48749 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48751 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48753 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48754 __makecontext_ret to ...
48755 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48756 ... here and call exit if uc_link is NULL. New file.
48757 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48758 __makecontext_ret.S.
48759 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48760 __makecontext_ret to ...
48761 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48762 ... here and call exit if uc_link is NULL. New file.
48763 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48764 __makecontext_ret.S.
48766 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48768 * elf/elf.h (R_390_IRELATIVE): New definition.
48769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48770 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48771 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48772 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48773 (elf_machine_lazy_rel): Likewise.
48774 * sysdeps/s390/dl-irel.h: New file.
48775 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48776 * sysdeps/s390/s390-64/memset.S: New asm code.
48777 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48778 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48779 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48780 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48781 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48782 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48784 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48785 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48786 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48787 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48788 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48789 * sysdeps/s390/s390-32/memset.S: New asm code.
48790 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48792 2012-07-17 Marek Polacek <polacek@redhat.com>
48795 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48796 * sysdeps/s390/s390-64/configure.in: Likewise.
48797 * sysdeps/sparc/configure.in: Likewise.
48798 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48799 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48800 * sysdeps/i386/configure.in: Likewise.
48801 * sysdeps/x86_64/configure.in: Likewise.
48802 * sysdeps/sh/configure.in: Likewise.
48803 * sysdeps/s390/s390-32/configure: Regenerated.
48804 * sysdeps/s390/s390-64/configure: Likewise.
48805 * sysdeps/x86_64/configure: Likewise.
48806 * sysdeps/sh/configure: Likewise.
48807 * sysdeps/powerpc/powerpc64/configure: Likewise.
48808 * sysdeps/powerpc/powerpc32/configure: Likewise.
48809 * sysdeps/sparc/configure: Likwise.
48810 * sysdeps/i386/configure: Likewise.
48812 * elf/dl-open.c: Comment fixes.
48814 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48816 * Makefile [CXX] (check-data): Remove.
48817 [CXX] (c++-types.data): New vpath directive.
48818 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48819 vpath. Do not allow for C++ type data being missing.
48820 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48821 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48822 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48823 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48824 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48825 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48826 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48829 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48832 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48835 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48838 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48841 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48844 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48847 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48850 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48851 definitions to architecture-specific files.
48852 (TLS_IE): Likewise.
48853 (TLS_LD): Likewise.
48854 (TLS_GD): Likewise.
48855 * sysdeps/i386/tls-macros.h: New file.
48856 * sysdeps/powerpc/tls-macros.h: Likewise.
48857 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48858 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48859 * sysdeps/sh/tls-macros.h: Likewise.
48860 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48861 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48862 * sysdeps/x86_64/tls-macros.h: Likewise.
48864 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48866 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48867 zero value for regular exit case.
48869 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48870 (__start_context): Preserve zero value for regular exit case.
48872 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48873 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48875 * manual/setjmp.texi (setcontext): Clarify normal process
48876 termination when uc_link is the null pointer.
48877 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48880 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48882 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48883 preprocessor. Test for each exception mask separately.
48885 2012-07-16 Andreas Jaeger <aj@suse.de>
48887 * po/ru.po: Update from translation team.
48889 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48891 * conform/data/string.h-data (NULL): Use macro-constant. Require
48893 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48894 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48895 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48896 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48899 2012-07-13 Andreas Jaeger <aj@suse.de>
48901 * po/fr.po: Update from translation team.
48903 2012-07-12 Marek Polacek <polacek@redhat.com>
48906 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48907 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48910 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48913 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48914 Change to 2.4.1 where previously 2.4.0.
48915 * sysdeps/unix/sysv/linux/configure: Regenerated.
48916 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48917 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48919 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48920 (__ASSUME_AT_CLKTCK): Remove.
48921 (__ASSUME_AT_PAGESIZE): Likewise.
48922 (__ASSUME_AT_XID): Likewise.
48923 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48924 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48925 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48927 (HAVE_AUX_PAGESIZE): Likewise.
48928 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48929 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48930 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48932 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48936 the temporary buffer used to invoke __gethostbyname2_r,
48937 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48938 host_data / struct gaih_addrtuple.
48939 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48940 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48941 header file nss/nsswitch.h.
48942 * nss/nsswitch.h (global scope): Add definition of implementation
48943 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48944 resolv/nss_dns/dns-host.c).
48946 2012-07-11 Andreas Jaeger <aj@suse.de>
48948 * po/fr.po: Update from translation team.
48950 * po/sv.po: Update from translation team
48951 * po/fr.po: Another update from translation team.
48953 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48955 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48956 for subnormals or multiply small sinh result by itself.
48957 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48960 2012-07-11 David S. Miller <davem@davemloft.net>
48962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48964 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48967 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48968 (INTERNAL_MARK): Shift it here.
48970 2012-07-10 Marek Polacek <polacek@redhat.com>
48973 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48974 libc_cv_asm_global_directive with .globl.
48975 * configure: Regenerated.
48976 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48978 * sysdeps/i386/configure: Regenerated.
48979 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48981 * sysdeps/x86_64/configure: Regenerated.
48982 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48983 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48984 * elf/tst-unique2mod2.c: Likewise.
48985 * elf/tst-unique2mod1.c: Likewise.
48986 * elf/tst-unique1mod2.c: Likewise.
48987 * elf/tst-unique1mod1.c: Likewise.
48988 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48989 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48991 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48992 * sysdeps/mach/sysdep.h: Likewise.
48993 * sysdeps/i386/sysdep.h: Likewise.
48994 * sysdeps/i386/i386-mcount.S: Likewise.
48995 * sysdeps/x86_64/_mcount.S: Likewise.
48996 * sysdeps/x86_64/sysdep.h: Likewise.
48997 * sysdeps/sh/_mcount.S: Likewise.
48998 * sysdeps/sh/sysdep.h: Likewise.
48999 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49000 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49001 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49002 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49003 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49004 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49005 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49006 * locale/localeinfo.h: Likewise.
49007 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49008 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49010 2012-07-09 Roland McGrath <roland@hack.frob.com>
49013 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49015 * manual/message.texi (The Uniforum approach): Likewise.
49016 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49017 (glibc iconv Implementation): Likewise.
49019 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49022 * math/s_clog.c (__clog): Avoid scaling a value down where that
49023 could result in underflow.
49024 * math/s_clog10.c (__clog10): Likewise.
49025 * math/s_clog10f.c (__clog10f): Likewise.
49026 * math/s_clog10l.c (__clog10l): Likewise.
49027 * math/s_clogf.c (__clogf): Likewise.
49028 * math/s_clogl.c (__clogl): Likewise.
49029 * math/libm-test.inc (clog_test): Add more tests.
49030 (clog10_test): Likewise.
49031 * sysdeps/i386/fpu/libm-test-ulps: Update.
49032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49034 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49037 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49038 by 7 not 8 to examine high bit of fractional part.
49041 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49042 for call to __mcount_internal.
49043 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49044 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49045 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49047 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49050 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49051 approximation for values within 0x1p-13f of an odd multiple of
49053 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49054 exception. Add more tests.
49055 * sysdeps/i386/fpu/libm-test-ulps: Update.
49058 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49059 inputs and return -1 for them. Do not check for +Inf in case not
49060 reachable for +Inf.
49061 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49062 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49064 and return -1 for them. Do not check for +Inf in case not
49065 reachable for +Inf.
49066 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49068 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49069 and return -1 for them. Do not check for +Inf in case not
49070 reachable for +Inf.
49071 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49072 spurious underflow.
49073 * sysdeps/i386/fpu/libm-test-ulps: Update.
49074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49076 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49078 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49080 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49084 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49085 could result in spurious underflow. Scale down values above
49086 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49087 * math/s_csqrtf.c (__csqrtf): Likewise.
49088 * math/s_csqrtl.c (__csqrtl): Likewise.
49089 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49090 spurious underflow.
49091 * sysdeps/i386/fpu/libm-test-ulps: Update.
49092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49094 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49096 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49098 * catgets/xopen-msg.awk: New file.
49099 * catgets/xopen-msg.sed: Removed.
49101 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49103 * intl/po2test.awk: New file.
49104 * intl/po2test.sed: Removed.
49106 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49109 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49110 or multiply small sinh result by itself.
49111 * math/s_ctanf.c (__ctanf): Likewise.
49112 * math/s_ctanh.c (__ctanh): Likewise.
49113 * math/s_ctanhf.c (__ctanhf): Likewise.
49114 * math/s_ctanhl.c (__ctanhl): Likewise.
49115 * math/s_ctanl.c (__ctanl): Likewise.
49116 * math/libm-test.inc (ctan_test_tonearest): New function.
49117 (ctan_test_towardzero): Likewise.
49118 (ctan_test_downward): Likewise.
49119 (ctan_test_upward): Likewise.
49120 (ctanh_test_tonearest): Likewise.
49121 (ctanh_test_towardzero): Likewise.
49122 (ctanh_test_downward): Likewise.
49123 (ctanh_test_upward): Likewise.
49124 (main): Call these new functions.
49125 * sysdeps/i386/fpu/libm-test-ulps: Update.
49126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49128 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49130 * .gitignore: Delete /ports entry.
49132 2012-07-03 Andreas Jaeger <aj@suse.de>
49134 * po/bg.po: Update from translation team.
49135 * po/cs.po: Likewise.
49136 * po/de.po: Likewise.
49137 * po/hr.po: Likewise.
49138 * po/nl.pl: Likewise.
49139 * po/pl.po: Likewise.
49140 * po/vi.po: Likewise.
49142 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49144 * Makeconfig [!+link] (+link-before-libc): New variable.
49145 [!+link] (+link-after-libc): Likewise.
49146 [!+link] (+link-tests): Likewise.
49147 [!+link] (+link): Define in terms of $(+link-before-libc) and
49148 $(+link-after-libc).
49149 [!+link-static] (+link-static-before-libc): New variable.
49150 [!+link-static] (+link-static-after-libc): Likewise.
49151 [!+link-static] (+link-static-tests): Likewise.
49152 [!+link-static] (+link-static): Define in terms of
49153 $(+link-static-before-libc) and $(+link-static-after-libc).
49154 [build-shared] (link-libc-before-gnulib): New variable.
49155 [build-shared] (link-libc-tests): Likewise.
49156 [build-shared] (link-libc): Define in terms of
49157 $(link-libc-before-gnulib).
49158 [!build-shared] (link-libc-tests): New variable.
49159 (link-libc-static-tests): New variable.
49160 [!gnulib] (gnulib-arch): New variable.
49161 [!gnulib] (gnulib-tests): Likewise.
49162 [!gnulib] (static-gnulib-arch): Likewise.
49163 [!gnulib] (static-gnulib-tests): Likewise.
49164 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49165 Define with "=" instead of ":=".
49166 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49167 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49168 * Rules (binaries-all-notests): New variable.
49169 (binaries-all-tests): Likewise.
49170 (binaries-static-notests): Likewise.
49171 (binaries-static-tests): Likewise.
49172 (binaries-all): Define using $(binaries-all-notests) and
49173 $(binaries-all-tests).
49174 (binaries-static): Define using $(binaries-static-notests) and
49175 $(binaries-static-tests).
49176 (binaries-shared-tests): New variable.
49177 (binaries-shared-notests): Likewise.
49178 (binaries-shared): Remove variable.
49179 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49180 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49181 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49182 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49183 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49184 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49185 * elf/Makefile (sln-modules): New variable.
49186 (extra-objs): Add $(sln-modules:=.o).
49187 (ldconfig-modules): Add static-stubs.
49188 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49189 * elf/static-stubs.c: New file.
49192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49193 by 7 not 8 to examine high bit of fractional part. Use volatile
49194 variables when splitting into final array of floats if
49195 __FLT_EVAL_METHOD__ != 0.
49196 * math/libm-test.inc (cos_test): Add another test.
49197 (sin_test): Likewise.
49198 * sysdeps/i386/fpu/libm-test-ulps: Update.
49201 * math/libm-test.inc (cosh_test): Add more tests.
49203 * version.h (RELEASE): Set to "development".
49204 (VERSION): Set to "2.16.90".
49206 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49208 * NEWS: Update copyright. Remove last-updated date.
49209 Mention math library bug fixes and timezone data changes.
49210 * README: Mention GNU/Hurd, x32, and HPPA support status.
49212 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49214 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49216 2012-06-27 Andreas Jaeger <aj@suse.de>
49218 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49220 2012-06-25 Andreas Jaeger <aj@suse.de>
49222 * sysdeps/s390/fpu/libm-test-ulps: Update.
49224 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49225 Thomas Schwinge <thomas@codesourcery.com>
49227 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49228 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49232 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49234 * sysdeps/mach/start.c: Remove file.
49235 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49236 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49237 * sysdeps/sh/init-first.c: Likewise.
49239 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49240 registers for frame unwinding purposes, add CFI directives.
49241 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49242 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49243 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49246 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49247 __fortify_fail returning.
49248 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49250 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49251 sysdeps/sh/____longjmp_chk.S.
49252 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49253 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49254 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49255 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49257 * sysdeps/sh/abort-instr.h: New file.
49258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49259 process in case exit returns.
49261 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49262 initialize the GOT register before use.
49264 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49265 calculation of ARGC > 4.
49267 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49268 meaningful names to some local labels.
49270 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49271 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49273 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49274 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49275 (__arch_compare_and_exchange_val_16_acq): Likewise.
49276 (__arch_compare_and_exchange_val_32_acq): Likewise.
49277 (atomic_exchange_and_add): Fix gUSA sequence.
49278 (atomic_add): Likewise.
49279 (atomic_add_negative): Likewise.
49280 (atomic_add_zero): Likewise.
49281 (atomic_bit_test_set): Likewise.
49283 2012-06-22 Andreas Schwab <schwab@redhat.com>
49286 * include/link.h (struct link_map): Add l_free_initfini.
49287 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49289 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49290 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49291 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49294 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49296 * configure.in: Use AC_LANG_SOURCE.
49297 * configure: Regenerate.
49299 2012-06-22 Roland McGrath <roland@hack.frob.com>
49301 * configure.in (libc_cv_localstatedir): New substituted variable.
49302 * configure: Regenerated.
49303 * config.make.in (localstatedir): New variable, substituted from
49304 libc_cv_localstatedir.
49305 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49306 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49307 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49308 * sysdeps/gnu/configure: Regenerated.
49310 2012-06-21 Jeff Law <law@redhat.com>
49313 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49314 free. Simplify list management for _LIBC case.
49316 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49319 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49320 Clear sign bit of 64-bit integer value before comparing against
49323 * sysdeps/mach/configure: Regenerated.
49325 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49328 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49330 2012-06-21 Jeff Law <law@redhat.com>
49333 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49334 uint16_t for elements in the "seen" array to avoid char overflows.
49335 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49336 * elf/dl-open.c (dl_open_worker): Likewise.
49338 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49340 * scripts/list-sources.sh: Scan PORTS for translations.
49341 * po/libc.pot: Regenerated.
49343 2012-06-21 Andreas Jaeger <aj@suse.de>
49346 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49348 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49349 * bits/byteswap-16.h (__bswap_16): Likewise.
49350 * bits/byteswap.h (__bswap_constant_16): Likewise.
49352 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49355 * sysdeps/i386/fpu_control.h: Removed.
49356 * sysdeps/x86_64/fpu_control.h: Moved to ...
49357 * sysdeps/x86/fpu_control.h: Here.
49359 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49360 (_FPU_SETCW): Likewise.
49362 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49365 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49366 * sysdeps/x86/fpu/bits/mathinline.h: This.
49367 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49371 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49372 functions if __x86_64__ is defined.
49374 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49376 * string/endian.h: Add !__ASSEMBLER__ condition for including
49377 conversion interfaces.
49379 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49382 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49383 of ABS(x) in calculating zero to negative powers other than odd
49385 * math/libm-test.inc (pow_test): Add more tests.
49387 2012-06-15 Andreas Jaeger <aj@suse.de>
49389 * manual/contrib.texi (Contributors): Update entry of Liubov
49390 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49393 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49395 * string/string.h: Add __wur to GNU version of strerror_r.
49397 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49400 * string/Makefile (tests): Add tst-strtok_r.
49401 * string/tst-strtok_r.c: New file.
49402 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49403 RAX_LP/RDX_LP on SAVE_PTR.
49405 2012-06-14 Roland McGrath <roland@hack.frob.com>
49407 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49409 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49411 * libm_test.inc (csqrt_test): Allow more spurious underflow
49413 (j0_test): Likewise.
49414 (j1_test): Likewise.
49415 (y0_test): Likewise.
49416 (y1_test): Likewise.
49418 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49420 * po/Makefile (libc.pot): Use UTF-8 charset.
49422 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49425 Suppress sign-conversion warning from FD_SET.
49426 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49427 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49428 not unsigned long int.
49429 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49431 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49435 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49436 __extern_always_inline instead of __extern_inline.
49437 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49438 (__signbit): Likewise.
49439 (__signbitl): Support C++ namespace.
49440 (lrintf): New inline function.
49442 (llrintf): Likewise.
49443 (llrint): Likewise.
49453 (floorf): Likewise.
49454 (nearbyint): Likewise.
49455 (nearbyintf): Likewise.
49457 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49459 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49460 non-default versions.
49462 2012-06-11 Roland McGrath <roland@hack.frob.com>
49465 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49467 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49469 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49470 (FE_UPWARD, FE_DOWNWARD): Don't define.
49471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49476 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49477 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49479 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49481 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49483 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49484 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49486 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49489 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49490 * sysdeps/i386/fpu/Implies: New file.
49491 * sysdeps/x86_64/fpu/Implies: Likewise.
49492 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49493 * sysdeps/x86/fpu/bits/fenv.h: This.
49495 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49498 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49501 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49502 character 0xffff that matches the last element of the
49505 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49510 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49512 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49513 values higher than 25.6283.
49515 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49518 subnormal exponent extraction and add some __builtin_expect.
49519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49520 Fix for subnormal mantissa calculation.
49522 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49524 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49525 cpu2 is -1 and errno is not ENOSYS.
49527 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49530 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49531 * sysdeps/x86/bits/string.h: This.
49532 * sysdeps/x86_64/bits/string.h: Removed.
49534 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49535 if not compiling for x86-64, but compiling for >= i486.
49537 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49538 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49540 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49541 New macro from Linux kernel 3.4.0.
49542 (FP_XSTATE_MAGIC2): Likewise.
49543 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49544 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49545 (struct _fpx_sw_bytes): New struct.
49546 (struct _xsave_hdr): Likewise.
49547 (struct _ymmh_state): Likewise.
49548 (struct _xstate): Likewise.
49550 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49551 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49553 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49555 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49557 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49558 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49559 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49560 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49561 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49562 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49564 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49567 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49568 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49569 (sysdep_headers): Include sys/platform/ppc.h.
49570 * sysdeps/powerpc/test-gettimebase.c: Test for
49571 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49572 * manual/Makefile (appendices): Include platform.texi.
49573 * manual/contrib.texi (Contributors): Update @node pointers.
49574 * manual/maint.texi (Maintenance): Likewise.
49575 (Platform): New node.
49576 * manual/platform.texi: New file. Document the new features.
49578 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49579 Jakub Jelinek <jakub@redhat.com>
49582 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49583 where __builtin_expect is unavailable.
49585 2012-06-03 David S. Miller <davem@davemloft.net>
49587 * stdlib/longlong.h: Updated from GCC.
49589 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49592 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49593 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49596 (GLIBC_2.16): Likewise.
49598 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49600 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49602 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49605 (default-abi): New variable.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49607 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49609 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49611 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49613 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49616 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49617 definition. Document in comment.
49619 2012-06-01 David S. Miller <davem@davemloft.net>
49621 * stdlib/longlong.h: Updated from GCC.
49623 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49626 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49627 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49628 sys/debugreg.h sys/io.h here.
49629 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49630 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49632 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49633 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49634 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49635 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49636 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49637 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49640 Define only if __x86_64__ is defined.
49642 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49646 Use int64_t for variable i.
49647 * math/libm-test.inc (fmod_test): Add more tests.
49649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49650 z computation is not scheduled after fetestexcept.
49651 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49652 Use math_force_eval instead of asm to ensure calculation scheduled
49653 before exception test.
49654 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49655 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49657 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49660 computation is not scheduled after fetestexcept.
49662 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49665 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49666 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49668 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49670 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49671 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49673 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49676 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49678 (__WCHAR_MIN): Support __WORDSIZE == 64.
49679 (__WCHAR_MAX): Likewise.
49681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49685 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49686 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49689 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49690 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49692 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49693 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49696 Defined to 1 if __x86_64__ isn't defined.
49697 (_STAT_VER_LINUX_OLD): New.
49698 (st_atime): Remove duplicate.
49699 (st_mtime): Likewise.
49700 (st_ctime): Likewise.
49702 2012-05-31 David S. Miller <davem@davemloft.net>
49704 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49707 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49709 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49713 * elf/dl-reloc.c: Include <_itoa.h>.
49714 (_dl_reloc_bad_type): Remove use of INTUSE.
49715 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49716 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49717 * stdio-common/psiginfo.c (psiginfo): Likewise.
49718 * stdio-common/psignal.c (psignal): Likewise.
49719 * string/strsignal.c (strsignal): Likewise.
49720 * include/signal.h (_sys_siglist): Declare hidden proto.
49721 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49722 INTVARDEF with libc_hidden_data_def.
49723 * stdio-common/itoa-udigits.c: Likewise.
49724 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49725 (_itoa_lower_digits_internal): Remove declaration.
49726 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49727 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49728 (_sys_sigabbrev_internal): Remove aliases.
49729 (_sys_siglist): Define hidden alias.
49731 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49736 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49739 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49740 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49742 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49743 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49744 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49745 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49746 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49747 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49749 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49750 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49751 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49753 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49761 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49762 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49763 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49765 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49766 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49767 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49768 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49769 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49770 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49772 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49773 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49775 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49776 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49780 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49782 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49783 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49785 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49787 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49788 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49789 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49791 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49793 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49795 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49797 * math/math.h (M_El): Use two more decimal places.
49798 (M_LOG2El): Likewise.
49799 (M_LOG10El): Likewise.
49800 (M_LN2l): Likewise.
49801 (M_LN10l): Likewise.
49803 (M_PI_2l): Likewise.
49804 (M_PI_4l): Likewise.
49805 (M_1_PIl): Likewise.
49806 (M_2_PIl): Likewise.
49807 (M_2_SQRTPIl): Likewise.
49808 (M_SQRT2l): Likewise.
49809 (M_SQRT1_2l): Likewise.
49811 2012-05-31 David S. Miller <davem@davemloft.net>
49813 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49814 values between float registers.
49815 * sysdeps/sparc/sparc64/memset.S: Likewise.
49816 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49818 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49820 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49821 -D_FORTIFY_SOURCE=1.
49822 (CPPFLAGS-tst-longjmp_chk.c): Define.
49823 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49824 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49825 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49826 CFLAGS-tst-wchar-h.c.
49828 2012-05-31 Marek Polacek <polacek@redhat.com>
49831 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49832 __endmntent_internal): Remove declaration.
49833 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49834 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49835 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49837 2012-05-30 David S. Miller <davem@davemloft.net>
49839 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49840 (___Q_simulate_exceptions): Use real FP ops rather than writing
49842 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49845 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49848 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49849 * sysdeps/x86/bits/xtitypes.h: This.
49851 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49852 * sysdeps/x86/bits/wordsize.h: This.
49854 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49855 * sysdeps/x86/bits/huge_vall.h: This.
49857 * sysdeps/i386/bits/select.h: Removed.
49858 * sysdeps/x86_64/bits/select.h: Renamed to ...
49859 * sysdeps/x86/bits/select.h: This.
49861 * sysdeps/i386/bits/setjmp.h: Removed.
49862 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49863 * sysdeps/x86/bits/setjmp.h: This.
49865 * sysdeps/i386/bits/mathdef.h: Removed.
49866 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49867 * sysdeps/x86/bits/mathdef.h: This.
49869 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49872 * include/sys/socket.h (__connect_internal)
49873 (__libc_sa_len_internal): Remove declaration.
49874 (__connect, __libc_sa_len): Declare hidden_proto.
49875 (SA_LEN): Remove use of INTUSE.
49876 * socket/connect.c: Add libc_hidden_def.
49877 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49878 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49879 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49881 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49882 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49883 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49884 of adding _internal alias.
49886 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49889 * sysdeps/i386/bits/link.h: Removed.
49890 * sysdeps/i386/bits/linkmap.h: Likewise.
49891 * sysdeps/x86_64/bits/link.h: Renamed to ...
49892 * sysdeps/x86/bits/link.h: This.
49893 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49894 * sysdeps/x86/bits/linkmap.h: This.
49896 * sysdeps/i386/bits/endian.h: Removed.
49897 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49898 * sysdeps/x86/bits/endian.h: This.
49900 * sysdeps/i386/bits/byteswap.h: Removed.
49901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49902 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49903 * sysdeps/x86/bits/byteswap.h: This.
49904 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49905 * sysdeps/x86/bits/byteswap-16.h: This.
49906 * sysdeps/i386/Implies: Add x86.
49907 * sysdeps/x86_64/Implies: Likewise.
49909 2012-05-30 David S. Miller <davem@davemloft.net>
49911 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49912 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49913 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49914 (FP_TRAPPING_EXCEPTIONS): Define.
49915 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49916 (FP_TRAPPING_EXCEPTIONS): Define.
49917 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49918 subnormals only when inexact has been signalled or underflow
49919 exceptions are enabled.
49920 (_FP_PACK_CANONICAL): Likewise.
49922 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49926 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49928 2012-05-30 Richard Henderson <rth@twiddle.net>
49930 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49931 with #ifndef NOT_IN_libc.
49933 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49934 marked to avoid plt entry.
49936 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49939 * Makeconfig (default-abi): New macro.
49940 (abi-includes): Likewise.
49941 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49942 $(abi-$(default-abi)-lib-soname) for soname if defined.
49943 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49945 * Makefile (installed-stubs): Likewise.
49946 * include/stubs-biarch.h: Removed.
49947 * scripts/lib-names.awk: Only handle one library at a time.
49948 * scripts/soversions.awk: Remove WORDSIZE support.
49949 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49951 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49953 (syscall-list-default-condition): Likewise.
49954 (syscall-list-default-condition): Likewise.
49955 (syscall-list-includes): Likewise.
49956 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49957 syscall-list-* with abi-*. Handle undefined abi-variants.
49958 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49959 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49960 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49961 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49962 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49963 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49965 (syscall-list-32-options): Likewise.
49966 (syscall-list-32-condition): Likewise.
49967 (syscall-list-64-options): Likewise.
49968 (syscall-list-64-condition): Likewise.
49969 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49971 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49974 (abi-64-ld-soname): New macro.
49975 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49976 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49979 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49980 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49982 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49984 * sysdeps/unix/sysv/linux/kernel-features.h
49985 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49986 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49987 include <kernel-features.h>.
49988 [!__NR_ftruncate64]: Remove conditional code.
49989 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49990 [__NR_ftruncate64]: Make code unconditional.
49991 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49992 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49993 include <kernel-features.h>.
49994 [!__NR_ftruncate64]: Remove conditional code.
49995 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49996 [__NR_ftruncate64]: Make code unconditional.
49997 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49999 include <kernel-features.h>.
50000 [!__NR_ftruncate64]: Remove conditional code.
50001 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50002 [__NR_ftruncate64]: Make code unconditional.
50003 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50005 include <kernel-features.h>.
50006 [!__NR_ftruncate64]: Remove conditional code.
50007 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50008 [__NR_ftruncate64]: Make code unconditional.
50009 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50011 * configure.in (libc_cv_fpie): Weaken to a compile test using
50012 LIBC_TRY_CC_OPTION.
50013 * configure: Regenerated.
50015 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50030 2012-05-27 David S. Miller <davem@davemloft.net>
50032 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50034 (__Q_simulate_exceptions): Return void. Change to simulate
50035 exceptions by writing into the %fsr.
50036 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50037 (__Qp_handle_exceptions): Likewise.
50039 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50040 __Qp_handle_exceptions.
50041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50042 __Qp_handle_exceptions.
50043 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50044 as unused and give dummy FP_RND_NEAREST initializer.
50045 (FP_INHIBIT_RESULTS): Define.
50046 (___Q_simulate_exceptions): Update declaration.
50047 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50049 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50050 as unused and give dummy FP_RND_NEAREST initializer.
50051 (__Qp_handle_exceptions): Update declaration.
50052 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50055 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50057 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50058 the temporary FPU control word.
50059 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50060 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50061 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50062 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50063 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50064 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50065 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50067 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50068 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50069 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50071 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50073 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50076 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50078 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50079 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50080 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50081 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50083 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50084 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50087 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50089 * po/h.po: Update from translation team.
50091 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50093 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50095 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50096 handling of denormals.
50097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50098 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50099 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50100 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50106 2012-05-26 Marek Polacek <polacek@redhat.com>
50109 * math/libm-test.inc (fma_test): Don't always expect underflow
50112 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50115 * elf/tst-execstack.c: Include stackinfo.h.
50116 (do_test): Adjust test case to ensure that pthread_getattr_np
50117 behaviour remains the same after marking stack executable.
50119 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50121 * sysdeps/unix/sysv/linux/kernel-features.h
50122 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50123 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50125 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50126 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50127 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50129 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50130 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50132 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50134 * configure.in: Define the default includes to being none.
50135 * configure: Regenerated.
50137 2012-05-25 Roland McGrath <roland@hack.frob.com>
50139 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50140 * sysdeps/x86_64/setjmp.S: Likewise.
50141 * sysdeps/i386/bsd-setjmp.S: Likewise.
50142 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50143 * sysdeps/i386/setjmp.S: Likewise.
50144 * sysdeps/i386/__longjmp.S: Likewise.
50145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50146 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50148 * include/stap-probe.h: New file.
50149 * configure.in: Handle --enable-systemtap.
50150 * configure: Regenerated.
50151 * config.h.in (USE_STAP_PROBE): New #undef.
50152 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50153 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50154 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50156 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50160 to 2.4.0 where earlier.
50161 * sysdeps/unix/sysv/linux/configure: Regenerated.
50162 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50163 <kernel-features.h>.
50164 [__ASSUME_32BITUIDS]: Make code unconditional.
50165 [!__ASSUME_32BITUIDS]: Remove conditional code.
50166 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50167 <kernel-features.h>.
50168 [__ASSUME_32BITUIDS]: Make code unconditional.
50169 [!__ASSUME_32BITUIDS]: Remove conditional code.
50170 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50171 [__ASSUME_32BITUIDS]: Make code unconditional.
50172 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50173 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50174 <kernel-features.h>.
50175 [__ASSUME_32BITUIDS]: Make code unconditional.
50176 [!__ASSUME_32BITUIDS]: Remove conditional code.
50177 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50178 <kernel-features.h>.
50179 [__ASSUME_32BITUIDS]: Make code unconditional.
50180 [!__ASSUME_32BITUIDS]: Remove conditional code.
50181 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50182 <kernel-features.h>.
50183 [__ASSUME_32BITUIDS]: Make code unconditional.
50184 [!__ASSUME_32BITUIDS]: Remove conditional code.
50185 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50186 <kernel-features.h>.
50187 [__ASSUME_32BITUIDS]: Make code unconditional.
50188 [!__ASSUME_32BITUIDS]: Remove conditional code.
50189 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50190 <kernel-features.h>.
50191 [__ASSUME_32BITUIDS]: Make code unconditional.
50192 [!__ASSUME_32BITUIDS]: Remove conditional code.
50193 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50194 <kernel-features.h>.
50195 [__ASSUME_32BITUIDS]: Make code unconditional.
50196 [!__ASSUME_32BITUIDS]: Remove conditional code.
50197 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50198 <kernel-features.h>.
50199 [__ASSUME_32BITUIDS]: Make code unconditional.
50200 [!__ASSUME_32BITUIDS]: Remove conditional code.
50201 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50202 <kernel-features.h>.
50203 [__ASSUME_32BITUIDS]: Make code unconditional.
50204 [!__ASSUME_32BITUIDS]: Remove conditional code.
50205 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50206 <kernel-features.h>.
50207 [__ASSUME_32BITUIDS]: Make code unconditional.
50208 [!__ASSUME_32BITUIDS]: Remove conditional code.
50209 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50210 <kernel-features.h>.
50211 [__ASSUME_32BITUIDS]: Make code unconditional.
50212 [!__ASSUME_32BITUIDS]: Remove conditional code.
50213 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50214 <kernel-features.h>.
50215 [__NR_setresgid] (__setresgid): Do not declare.
50216 [__ASSUME_32BITUIDS]: Make code unconditional.
50217 [!__ASSUME_32BITUIDS]: Remove conditional code.
50218 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50219 <kernel-features.h>.
50220 [__NR_setresuid] (__setresuid): Do not declare.
50221 [__ASSUME_32BITUIDS]: Make code unconditional.
50222 [!__ASSUME_32BITUIDS]: Remove conditional code.
50223 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50224 <kernel-features.h>.
50225 [__ASSUME_32BITUIDS]: Make code unconditional.
50226 [!__ASSUME_32BITUIDS]: Remove conditional code.
50227 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50228 <kernel-features.h>.
50229 [__ASSUME_32BITUIDS]: Make code unconditional.
50230 [!__ASSUME_32BITUIDS]: Remove conditional code.
50231 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50232 <kernel-features.h>.
50233 [__ASSUME_32BITUIDS]: Make code unconditional.
50234 [!__ASSUME_32BITUIDS]: Remove conditional code.
50235 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50236 <kernel-features.h>.
50237 [__ASSUME_32BITUIDS]: Make code unconditional.
50238 [!__ASSUME_32BITUIDS]: Remove conditional code.
50239 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50240 <kernel-features.h>.
50241 [__ASSUME_32BITUIDS]: Make code unconditional.
50242 [!__ASSUME_32BITUIDS]: Remove conditional code.
50243 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50244 <kernel-features.h>.
50245 [__ASSUME_32BITUIDS]: Make code unconditional.
50246 [!__ASSUME_32BITUIDS]: Remove conditional code.
50247 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50248 <kernel-features.h>.
50249 [__ASSUME_32BITUIDS]: Make code unconditional.
50250 [!__ASSUME_32BITUIDS]: Remove conditional code.
50251 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50252 <kernel-features.h>.
50253 [__ASSUME_32BITUIDS]: Make code unconditional.
50254 [!__ASSUME_32BITUIDS]: Remove conditional code.
50255 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50256 <kernel-features.h>.
50257 [__ASSUME_32BITUIDS]: Make code unconditional.
50258 [!__ASSUME_32BITUIDS]: Remove conditional code.
50259 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
50264 (__ASSUME_SETRESUID_SYSCALL): Remove.
50265 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50266 (__ASSUME_32BITUIDS): Likewise.
50267 (__ASSUME_LDT_WORKS): Likewise.
50268 (__ASSUME_O_DIRECTORY): Likewise.
50269 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50270 architecture but not kernel version.
50271 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50272 (__ASSUME_MMAP2_SYSCALL): Likewise.
50273 (__ASSUME_STAT64_SYSCALL): Likewise.
50274 (__ASSUME_IPC64): Likewise.
50275 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50276 <kernel-features.h>.
50277 [__ASSUME_32BITUIDS]: Make code unconditional.
50278 [!__ASSUME_32BITUIDS]: Remove conditional code.
50279 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50280 <kernel-features.h>.
50281 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50282 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50283 132096]: Remove conditional code.
50284 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50286 <kernel-features.h>.
50287 [__ASSUME_32BITUIDS]: Make code unconditional.
50288 [!__ASSUME_32BITUIDS]: Remove conditional code.
50289 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50290 <kernel-features.h>.
50291 [__ASSUME_32BITUIDS]: Make code unconditional.
50292 [!__ASSUME_32BITUIDS]: Remove conditional code.
50293 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50294 <kernel-features.h>.
50295 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50297 (__setresgid): Do not declare.
50298 [__ASSUME_32BITUIDS]: Make code unconditional.
50299 [!__ASSUME_32BITUIDS]: Remove conditional code.
50300 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50301 <kernel-features.h>.
50302 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50304 (__setresuid): Do not declare.
50305 [__ASSUME_32BITUIDS]: Make code unconditional.
50306 [!__ASSUME_32BITUIDS]: Remove conditional code.
50307 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50308 <kernel-features.h>.
50309 [__ASSUME_32BITUIDS]: Make code unconditional.
50310 [!__ASSUME_32BITUIDS]: Remove conditional code.
50311 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50312 <kernel-features.h>.
50313 [__ASSUME_32BITUIDS]: Make code unconditional.
50314 [!__ASSUME_32BITUIDS]: Remove conditional code.
50316 2012-05-25 Richard Henderson <rth@twiddle.net>
50318 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50319 dl_hwcap to ifunc resolver.
50320 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50322 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50323 dl_hwcap to ifunc resolver.
50324 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50326 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50329 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50330 for |x| <= 2**-26, not 2**-57.
50331 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50334 2012-05-24 Jeff Law <law@redhat.com>
50336 * stdio-common/Makefile (tests): Add bug25.
50337 * stdio-common/bug25.c: New test.
50339 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50342 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50343 multiple of MALLOC_ALIGNMENT in size.
50344 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50346 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50348 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50350 (FILENAME_MAX): Use macro-int-constant.
50351 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50352 (_IOFBF): Use macro-int-constant.
50353 (_IOLBF): Likewise.
50354 (_IONBF): Likewise.
50355 (SEEK_CUR): Likewise.
50356 (SEEK_END): Likewise.
50357 (SEEK_SET): Likewise.
50358 (TMP_MAX): Likewise.
50359 (EOF): Use macro-int-constant. Require < 0.
50360 (NULL): Use macro-constant. Require == 0.
50361 (stdin): Require type to be FILE *.
50362 (stdout): Likewise.
50363 (stderr): Likewise.
50364 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50365 macro-int-constant.
50366 (EXIT_SUCCESS): Likewise.
50367 (NULL): Use macro-constant. Require == 0.
50368 (RAND_MAX): Use macro-int-constant.
50369 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50370 [C99-based standards] (strtof): Require function.
50371 [C99-based standards] (strtold): Likewise.
50372 [C99-based standards] (strtoll): Likewise.
50373 [C99-based standards] (strtoull): Likewise.
50374 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50375 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50376 [ISO || ISO99 || ISO11] (math.h): Likewise.
50377 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50378 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50381 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50384 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50385 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50386 * intl/dgettext.c (DCGETTEXT): Likewise.
50387 * intl/gettext.c (DCGETTEXT): Likewise.
50388 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50389 * posix/regex_internal.h (gettext): Likewise.
50390 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50391 Remove declaration.
50392 * include/argz.h (__argz_count_internal)
50393 (__argz_stringify_internal): Remove declaration.
50394 (__argz_count, __argz_stringify): Declare hidden proto.
50395 * intl/dcgettext.c: Remove use of INTDEF.
50396 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50397 * string/argz-stringify.c: Likewise.
50398 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50399 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50400 Declare hidden proto.
50401 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50402 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50403 Declare hidden proto.
50404 * include/stdio.h (__asprintf_internal): Don't declare.
50405 (__asprintf): Don't define as macro. Declare hidden proto.
50406 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50407 (__fsetlocking): Declare hidden proto.
50408 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50409 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50411 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50412 (_IO_setlinebuf): Remove use of INTUSE.
50413 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50414 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50415 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50416 Remove declaration.
50417 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50418 (_IO_do_flush): Remove use of INTUSE.
50419 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50420 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50421 (_IO_adjust_column, _IO_least_wmarker)
50422 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50423 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50424 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50425 (_IO_default_doallocate, _IO_wdefault_doallocate)
50426 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50427 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50428 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50429 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50430 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50431 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50432 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50433 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50434 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50435 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50436 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50437 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50438 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50440 (_IO_flush_all_internal, _IO_adjust_column_internal)
50441 (_IO_default_uflow_internal, _IO_default_finish_internal)
50442 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50443 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50444 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50445 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50446 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50447 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50448 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50449 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50450 (_IO_file_close_internal, _IO_file_close_it_internal)
50451 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50452 (_IO_file_init_internal, _IO_file_attach_internal)
50453 (_IO_file_fopen_internal, _IO_file_read_internal)
50454 (_IO_file_sync_internal, _IO_file_seek_internal)
50455 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50456 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50457 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50458 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50459 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50460 (_IO_list_all_internal, _IO_link_in_internal)
50461 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50462 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50463 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50464 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50465 (_IO_do_write_internal, _IO_padn_internal)
50466 (_IO_getline_info_internal, _IO_getline_internal)
50467 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50468 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50469 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50470 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50471 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50472 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50473 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50474 with libc_hidden_ver, remove use of INTUSE.
50475 * libio/genops.c: Likewise.
50476 * libio/freopen.c: Likewise.
50477 * libio/freopen64.c: Likewise.
50478 * libio/iofclose.c: Likewise.
50479 * libio/iofdopen.c: Likewise.
50480 * libio/iofflush.c: Likewise.
50481 * libio/iofflush_u.c: Likewise.
50482 * libio/iofgets.c: Likewise.
50483 * libio/iofgets_u.c: Likewise.
50484 * libio/iofopen.c: Likewise.
50485 * libio/iofopncook.c: Likewise.
50486 * libio/iofread.c: Likewise.
50487 * libio/iofread_u.c: Likewise.
50488 * libio/ioftell.c: Likewise.
50489 * libio/iofwrite.c: Likewise.
50490 * libio/iogetline.c: Likewise.
50491 * libio/iogets.c: Likewise.
50492 * libio/iogetwline.c: Likewise.
50493 * libio/iopadn.c: Likewise.
50494 * libio/iopopen.c: Likewise.
50495 * libio/ioseekoff.c: Likewise.
50496 * libio/ioseekpos.c: Likewise.
50497 * libio/iosetbuffer.c: Likewise.
50498 * libio/iosetvbuf.c: Likewise.
50499 * libio/ioungetc.c: Likewise.
50500 * libio/ioungetwc.c: Likewise.
50501 * libio/iovdprintf.c: Likewise.
50502 * libio/iovsprintf.c: Likewise.
50503 * libio/iovsscanf.c: Likewise.
50504 * libio/memstream.c: Likewise.
50505 * libio/obprintf.c: Likewise.
50506 * libio/oldfileops.c: Likewise.
50507 * libio/oldiofclose.c: Likewise.
50508 * libio/oldiofdopen.c: Likewise.
50509 * libio/oldiofopen.c: Likewise.
50510 * libio/oldiopopen.c: Likewise.
50511 * libio/oldstdfiles.c: Likewise.
50512 * libio/putc.c: Likewise.
50513 * libio/setbuf.c: Likewise.
50514 * libio/setlinebuf.c: Likewise.
50515 * libio/stdfiles.c: Likewise.
50516 * libio/strops.c: Likewise.
50517 * libio/vasprintf.c: Likewise.
50518 * libio/vscanf.c: Likewise.
50519 * libio/vsnprintf.c: Likewise.
50520 * libio/vswprintf.c: Likewise.
50521 * libio/wfiledoalloc.c: Likewise.
50522 * libio/wfileops.c: Likewise.
50523 * libio/wgenops.c: Likewise.
50524 * libio/wmemstream.c: Likewise.
50525 * libio/wstrops.c: Likewise.
50526 * libio/__fpurge.c: Likewise.
50527 * libio/__fsetlocking.c: Likewise.
50528 * assert/assert.c: Likewise.
50529 * debug/fgets_chk.c: Likewise.
50530 * debug/fgets_u_chk.c: Likewise.
50531 * debug/fread_chk.c: Likewise.
50532 * debug/fread_u_chk.c: Likewise.
50533 * debug/gets_chk.c: Likewise.
50534 * debug/obprintf_chk.c: Likewise.
50535 * debug/vasprintf_chk.c: Likewise.
50536 * debug/vdprintf_chk.c: Likewise.
50537 * debug/vsnprintf_chk.c: Likewise.
50538 * debug/vsprintf_chk.c: Likewise.
50539 * malloc/mtrace.c: Likewise.
50540 * misc/error.c: Likewise.
50541 * misc/syslog.c: Likewise.
50542 * stdio-common/asprintf.c: Likewise.
50543 * stdio-common/fxprintf.c: Likewise.
50544 * stdio-common/getw.c: Likewise.
50545 * stdio-common/isoc99_fscanf.c: Likewise.
50546 * stdio-common/isoc99_scanf.c: Likewise.
50547 * stdio-common/isoc99_vfscanf.c: Likewise.
50548 * stdio-common/isoc99_vscanf.c: Likewise.
50549 * stdio-common/isoc99_vsscanf.c: Likewise.
50550 * stdio-common/printf-prs.c: Likewise.
50551 * stdio-common/printf_fp.c: Likewise.
50552 * stdio-common/printf_fphex.c: Likewise.
50553 * stdio-common/printf_size.c: Likewise.
50554 * stdio-common/putw.c: Likewise.
50555 * stdio-common/scanf.c: Likewise.
50556 * stdio-common/sprintf.c: Likewise.
50557 * stdio-common/tmpfile.c: Likewise.
50558 * stdio-common/vfprintf.c: Likewise.
50559 * stdio-common/vfscanf.c: Likewise.
50560 * stdlib/strfmon_l.c: Likewise.
50561 * sunrpc/openchild.c: Likewise.
50562 * sunrpc/xdr_stdio.c: Likewise.
50563 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50564 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50566 2012-05-24 Roland McGrath <roland@hack.frob.com>
50568 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50570 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50571 in the third column, to generate for the shared library an IFUNC
50572 that uses _dl_vdso_vsym.
50573 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50574 * Makeconfig (object-suffixes-noshared): New variable.
50576 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50577 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50578 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50579 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50582 * include/sys/time.h (__gettimeofday): Remove macro.
50583 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50584 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50586 (__gettimeofday): Add libc_hidden_def.
50587 (gettimeofday): Add libc_hidden_weak.
50588 * sysdeps/mach/gettimeofday.c: Likewise.
50589 * sysdeps/posix/gettimeofday.c: Likewise.
50590 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50593 (__gettimeofday_internal): Remove strong_alias.
50594 (__gettimeofday): Add libc_hidden_def.
50595 (gettimeofday): Add libc_hidden_weak.
50596 * sysdeps/unix/syscalls.list (gettimeofday):
50597 Remove __gettimeofday_internal alias.
50599 2012-05-24 Daniel Jacobowitz <drow@false.org>
50600 H.J. Lu <hongjiu.lu@intel.com>
50603 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50604 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50605 (largebin_index_32_big): New.
50606 (largebin_index): Use it for 16-byte alignment.
50607 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50608 correction with front_misalign.
50610 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50638 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50639 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50641 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50645 * math/libm-test.inc (exp_test): Add test from bug 14036.
50646 (pow_test): Add test from bug 10846.
50648 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50650 (special_function): Do not include flags in test name.
50651 (parse_args): Likewise.
50652 * sysdeps/i386/fpu/libm-test-ulps: Update.
50653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50654 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50658 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50660 * math/libm-test.inc ("Philosophy"): Update comment about
50662 (UNDERFLOW_EXCEPTION): New macro.
50663 (UNDERFLOW_EXCEPTION_OK): Likewise.
50664 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50665 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50666 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50667 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50668 (INVALID_EXCEPTION_OK): Update value.
50669 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50670 (OVERFLOW_EXCEPTION_OK): Likewise.
50671 (IGNORE_ZERO_INF_SIGN): Likewise.
50672 (test_exceptions): Handle underflow exceptions.
50673 (acos_test): Update for underflow exception expectations.
50674 (cexp_test): Likewise.
50675 (clog_test): Likewise.
50676 (clog10_test): Likewise.
50677 (csqrt_test): Likewise.
50678 (ctan_test): Likewise.
50679 (ctanh_test): Likewise.
50680 (exp_test): Likewise.
50681 (exp10_test): Likewise.
50682 (exp2_test): Likewise.
50683 (expm1_test): Likewise.
50684 (fma_test): Likewise.
50685 (j0_test): Likewise.
50686 (jn_test): Likewise.
50687 (nexttoward_test): Likewise.
50688 (pow_test): Likewise.
50689 (scalbn_test): Likewise.
50690 (scalbln_test): Likewise.
50691 (tan_test): Likewise.
50692 (y1_test): Likewise.
50693 * sysdeps/i386/fpu/libm-test-ulps: Update.
50694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50696 2012-05-23 David S. Miller <davem@davemloft.net>
50698 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50699 (__libc_sigaction): Remove unused local variables.
50701 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50703 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50705 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50707 mktime: avoid signed integer overflow
50708 * time/mktime.c (__mktime_internal): Do not mishandle the case
50709 where diff == INT_MIN.
50711 mktime: simplify computation of average
50712 * time/mktime.c (ranged_convert): Use new time_t_avg function
50713 instead of rolling our own (probably-slower) code.
50715 mktime: do not assume signed right shift propagates sign bit
50716 * time/mktime.c (isdst_differ): New static function.
50717 (__mktime_internal): No need to normalize tm_isdst now.
50718 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50721 mktime: merge another wrapv change from gnulib
50722 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50723 from some compilers.
50725 mktime: remove incorrect attempt at unusual arithmetics
50726 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50727 The code didn't really work on such machines anyway.
50728 (TYPE_MINIMUM): Assume two's complement.
50729 (twos_complement_arithmetic): Verify that long_int and time_t
50730 are two's complement (or unsigned, in the latter case).
50732 mktime: check signed shifts on long_int and time_t, too
50733 * time/mktime.c (SHR): Check that shifts work as desired
50734 on the types long_int and time_t too, as SHR is used on
50737 mktime: do not assume 'long' is wide enough
50738 * time/mktime.c (verify): Move decl up.
50739 (long_int): New type.
50740 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50741 to remove assumption in the code that 'long' is wide enough to
50742 store year values. This assumption is not true on x32 and on
50743 some non-glibc platforms.
50745 mktime: merge wrapv change from gnulib
50746 * time/mktime.c (WRAPV): New macro.
50747 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50748 (guess_time_tm, __mktime_internal): Do not assume that signed
50749 integer overflow wraps around; modern compilers generate code
50750 where this assumption is no longer valid.
50752 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50754 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50755 Replace "jmp L(pseudo_end)" with "ret".
50756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50759 2012-05-23 Andreas Jaeger <aj@suse.de>
50761 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50762 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50764 2012-05-23 Andreas Jaeger <aj@suse.de>
50765 Maximilian Attems <max@stro.at>
50767 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50770 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50772 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50773 code so that pseudo_end is just ret and the stack pointer is
50774 correct also for static library in error case.
50776 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50778 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50779 move to syscalls.list.
50780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50785 * manual/install.texi (Running make install): Do not mention Linux
50786 kernel version for which pt_chown is not needed.
50787 (Linux): Do not mention problems with nscd with 2.0 kernels.
50788 * INSTALL: Regenerated.
50790 2012-05-23 Andreas Jaeger <aj@suse.de>
50792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50793 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50795 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50797 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50798 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50799 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50800 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50801 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50802 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50803 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50804 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50805 * sysdeps/unix/sysv/linux/bits/in.h
50806 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50808 2012-05-22 Roland McGrath <roland@hack.frob.com>
50810 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50811 (PREPARE_VERSION): Just use assert instead, it will be elided
50812 under [NDEBUG] anyway.
50814 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50816 * sysdeps/unix/sysv/linux/Makefile: Include
50817 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50818 (sysdep_routines): Remove sysctl.
50819 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50820 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50821 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50822 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50823 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50825 2012-05-22 Andreas Jaeger <aj@suse.de>
50827 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50828 that pseudo_end is just ret and the stack pointer is correct also
50829 for static library in error case.
50831 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50834 * nss/nsswitch.c (defconfig_entries): New variable.
50835 (__nss_database_lookup): Don't leak defconfig entries.
50836 (nss_parse_service_list): Don't leak on error paths.
50837 (free_database_entries): New function.
50838 (free_defconfig): New function.
50839 (free_mem): Move common code to free_database_entries.
50841 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50843 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50845 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50847 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50848 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50851 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50852 (INTERNAL_SYSCALL_TYPES): Likewise.
50853 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50854 (LOAD_REGS_TYPES_[1-6]): Likewise.
50855 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50856 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50858 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50860 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50861 copysignl for GLIBC_2_0.
50862 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50863 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50865 logbl for GLIBC_2_0.
50866 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50867 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50869 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50872 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50874 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50877 * time/mktime.c: Update copyright years.
50879 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50881 mktime: merge comment-quoting-style change from gnulib
50882 * time/mktime.c: Quote 'like this' in comments.
50883 The GNU coding standards suggest that we no longer quote `like this',
50884 as "`" and "'" are typically rendered asymmetrically nowadays.
50885 The typical gnulib style is to quote 'like this' when quoting
50886 code, and "like this" when quoting English.
50888 * time/mktime.c (compile-command): Add "-I.".
50890 mktime: merge mktime-internal.h change from gnulib
50891 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50893 mktime: merge time_r change from gnulib
50894 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50896 mktime: merge DEBUG change from gnulib
50897 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50898 case system <time.h> has a #define.
50900 mktime: merge <sys/types.h> change from gnulib
50901 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50902 since <time.t> is now guaranteed to define time_t.
50904 mktime: merge HAVE_CONFIG_H change from gnulib
50905 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50907 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50912 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50914 (struct rusage): Use anonymous union to pad each field to
50917 2012-05-21 David S. Miller <davem@davemloft.net>
50919 * Makefules (o-iterator): Remove .s cases.
50920 (compile-command.s): Delete.
50921 (COMPILE.s): Delete.
50922 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50924 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50926 * configure.in (libc_cv_predef_stack_protector): Only consider
50927 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50928 * configure: Regenerated.
50930 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50933 New macro. Use R*LP on int and pointer.
50934 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50935 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50936 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50937 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50939 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50940 [__WORDSIZE_TIME64_COMPAT32] instead of
50941 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50942 (struct utmp): Likewise.
50943 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50944 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50946 (__WORDSIZE_TIME64_COMPAT32): This.
50947 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50948 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50949 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50950 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50951 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50952 (__WORDSIZE_TIME64_COMPAT32): New macro.
50954 2012-05-21 Andreas Jaeger <aj@suse.de>
50956 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50957 only if [SHARED]. Add prototype for __wcschr_ia32.
50959 2012-05-21 Roland McGrath <roland@hack.frob.com>
50961 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50962 of %rbp unmolested in the jmp_buf while mangling the low bits.
50963 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50964 unmolested high bits of %rbp while demangling the low bits.
50965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50967 2012-05-21 Andreas Jaeger <aj@suse.de>
50969 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50970 * sunrpc/svc_simple.c: Use it for registerrpc.
50971 * sunrpc/xcrypt.c: Use it for passwd2des.
50973 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50975 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50977 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50978 Don't define if [__SYSCALL_WORDSIZE != 32].
50979 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50982 2012-05-21 Bruno Haible <bruno@clisp.org>
50983 Andreas Jaeger <aj@suse.de>
50985 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50986 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50987 inptr and inend for must_buffer_ch.
50988 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50989 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50990 * stdio-common/Makefile (tests): Remove bug15.
50991 (bug15-ENV): Remove macro.
50992 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50995 2012-05-19 Andreas Jaeger <aj@suse.de>
50996 Roland McGrath <roland@hack.frob.com>
50998 * manual/contrib.texi: Completely rewritten. It contains now an
50999 alphabetical list of contributors and their contributions.
51001 2012-05-21 Richard Henderson <rth@twiddle.net>
51003 * misc/getauxval.c (__getauxval): Use unsigned long int.
51004 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51005 (getauxval): Use unsigned long int.
51007 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51009 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51011 2012-05-21 Roland McGrath <roland@hack.frob.com>
51013 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51014 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51015 __alignof__ (long double).
51017 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51021 2012-05-20 Richard Henderson <rth@twiddle.net>
51023 * misc/getauxval.c: New file.
51024 * misc/sys/auxv.h: New file.
51025 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51026 (routines): Add getauxval.
51027 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51028 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51029 * elf/dl-sysdep.c (_dl_auxv): Remove.
51030 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51031 * elf/dl-support.c (_dl_auxv): New variable.
51032 (_dl_aux_init): Initialize it.
51033 * manual/startup.texi (Auxiliary Vector): New node.
51034 * sysdeps/generic/bits/hwcap.h: New file.
51035 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51036 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51037 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51038 * sysdeps/sparc/sysdep.h: ... here. Include it.
51039 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51040 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51046 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51052 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51056 2012-05-19 David S. Miller <davem@davemloft.net>
51058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51060 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51063 * math/s_ccosh.c: Include <float.h>
51064 (__ccosh): Avoid internal overflow calculating sinh and cosh
51065 values before multiplying by sin and cos values.
51066 * math/s_ccoshf.c: Likewise.
51067 * math/s_ccoshl.c: Likewise.
51068 * math/s_csin.c: Likewise.
51069 * math/s_csinf.c: Likewise.
51070 * math/s_csinl.c: Likewise.
51071 * math/s_csinh.c: Likewise.
51072 * math/s_csinhf.c: Likewise.
51073 * math/s_csinhl.c: Likewise.
51074 * math/libm-test.inc (ccos_test): Add more tests.
51075 (ccosh_test): Likewise.
51076 (csin_test): Likewise.
51077 (csinh_test): Likewise.
51078 * sysdeps/i386/fpu/libm-test-ulps: Update.
51079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51081 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51083 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51084 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51086 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51088 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51090 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51091 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51092 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51093 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51094 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51095 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51096 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51097 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51098 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51099 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51100 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51101 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51102 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51103 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51104 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51105 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51106 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51107 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51108 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51109 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51110 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51111 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51112 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51113 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51114 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51115 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51116 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51117 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51118 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51119 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51120 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51122 2012-05-18 Andreas Jaeger <aj@suse.de>
51124 * csu/.gitignore: Delete.
51126 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51128 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51129 (timex): Use __syscall_slong_t.
51131 2012-05-18 Andreas Jaeger <aj@suse.de>
51132 Carlos O'Donell <carlos_odonell@mentor.com>
51134 * manual/install.texi (Configuring and compiling): Update
51135 description about files modified in the source directory.
51136 * INSTALL: Regenerated.
51138 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51140 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51141 value. Use "or" to set return value to -1.
51142 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51143 negate return value.
51145 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51147 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51148 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51149 failure if the compiler has Graphite support disabled.
51150 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51152 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51153 (CFLAGS-memmove.c): Likewise.
51154 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51157 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51159 * sysdeps/x86_64/x32/_itoa.h: New file.
51161 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51162 getdents system call only if kernel and user dirents have the
51163 same d_ino and d_off.
51165 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51166 LLONG_MAX != LONG_MAX.
51167 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51168 (_fitoa_word): Likewise.
51170 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51172 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51173 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51176 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51177 include <bits/wordsize.h>. Check __x86_64__ instead of
51179 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51180 if __x86_64__ is defined. Use anonymous union on fpstate.
51182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51185 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51187 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51188 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51189 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51190 Refer to _rtld_local_ro instead of _rtld_global_ro.
51191 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51193 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51195 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51197 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51198 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51199 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51202 * sysdeps/powerpc/powerpc32/dl-machine.c
51203 (__elf_machine_runtime_setup) [PROF]: Don't reference
51206 2012-05-18 Andreas Jaeger <aj@suse.de>
51208 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51209 function only available for GCCs before 3.4 since GCC 3.4
51210 introduced a builtin.
51212 (llrintf): Likewise.
51213 (llrint): Likewise.
51220 (nearbyint): Likewise.
51221 (nearbyintf): Likewise.
51225 (floorf): Likewise.
51227 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51229 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51230 on both fields and cast pointer to __syscall_ulong_t.
51232 * bits/types.h (__fsword_t): New type.
51233 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51234 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51236 (__FSWORD_T_TYPE): Likewise.
51237 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51238 (__FSWORD_T_TYPE): Likewise.
51239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51240 (__FSWORD_T_TYPE): Likewise.
51241 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51242 (__FSWORD_T_TYPE): Likewise.
51243 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51244 __SWORD_TYPE with __fsword_t.
51245 (statfs64): Likewise.
51247 2012-05-17 David S. Miller <davem@davemloft.net>
51249 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51251 2012-05-17 Andreas Jaeger <aj@suse.de>
51253 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51256 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51258 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51260 2012-05-17 Andreas Jaeger <aj@suse.de>
51262 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51265 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51267 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51269 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51271 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51272 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51274 2012-05-17 Andreas Jaeger <aj@suse.de>
51275 Carlos O'Donell <carlos_odonell@mentor.com>
51278 * sysdeps/x86_64/multiarch/init-arch.h
51279 (bit_YMM_Usable): Rename to...
51280 (bit_AVX_Usable): ... this.
51281 (bit_FMA4_Usable): New macro.
51282 (bit_XMM_state): New macro.
51283 (bit_YMM_state): New macro.
51284 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51285 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51286 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51287 (CPUID_OSXSAVE): New macro.
51288 (CPUID_AVX): New macro.
51289 (CPUID_FMA4): New macro.
51290 (index_YMM_Usable): Rename to...
51291 (index_AVX_Usable): ... this.
51292 (HAS_AVX): Use HAS_ARCH_FEATURE.
51293 (HAS_FMA4): Likewise.
51294 (HAS_YMM_USABLE): Remove.
51295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51296 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51298 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51299 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51300 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51301 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51302 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51304 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51306 * math/libm-test.c: Support platforms without multiple rounding modes.
51307 * math/bug-nextafter.c: Support platforms without FP exceptions.
51308 * math/bug-nexttoward.c: Likewise.
51309 * math/test-fenv.c: Likewise.
51310 * math/test-misc.c: Likewise.
51311 * stdlib/bug-getcontext.c: Likewise.
51313 2012-05-17 Andreas Jaeger <aj@suse.de>
51315 * manual/examples/search.c (critter_cmp): Change signature to
51317 * manual/string.texi (Collation Functions): Likewise.
51319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51321 * bits/types.h: Fold copyright years.
51322 * bits/typesizes.h: Likewise.
51323 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51327 * time/time.h: Likewise.
51329 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51332 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51333 in instead of returning them. Return void.
51334 (__libc_mallinfo): Accumulate over all arenas.
51335 (__malloc_stats): Adjust for change in int_mallinfo interface.
51337 2012-05-16 Roland McGrath <roland@hack.frob.com>
51340 * configure.in (NM): Add AC_CHECK_TOOL for it.
51341 (libc_extra_cflags): New substituted variable.
51342 Check for -fstack-protector being used implicitly.
51343 * configure: Regenerated.
51344 * config.make.in (config-extra-cflags): New variable,
51345 gets @libc_extra_cflags@.
51346 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51349 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51350 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51351 * configure: Regenerated.
51352 * config.make.in (CPPUNDEFS): New substituted variable.
51353 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51354 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51355 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51357 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51359 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51360 (mq_attr): Use __syscall_slong_t.
51362 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51364 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51365 Check __x86_64__ instead of __WORDSIZE.
51366 (_STAT_VER_LINUX): Likewise.
51367 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51368 __syscall_ulong_t and __syscall_slong_t.
51369 (stat64): Likewise.
51371 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51373 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51375 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51377 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51379 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51381 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51384 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51385 include <bits/wordsize.h>. Check __x86_64__ instead of
51387 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51389 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51392 include <bits/wordsize.h>. Check __x86_64__ instead of
51394 (user_regs_struct): Use "__extension__ unsigned long long"
51395 instead of "unsigned long" if __x86_64__ is defined.
51396 (user): Likewise. Pad after pointer field if __ILP32__ is
51399 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51401 * configure.in (makeinfo): Require version 4.5 or later. Allow
51403 * configure: Regenerated.
51404 * manual/install.texi (texinfo): Increase version requirement to
51406 * INSTALL: Regenerated.
51408 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51410 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51412 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51414 * sysdeps/x86_64/x32/ffs.c: New file.
51416 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51418 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51419 defined. Use __syscall_ulong_t.
51420 (shminfo): Use __syscall_ulong_t.
51421 (shm_info): Likewise.
51423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51426 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51428 (msgqnum_t): Use __syscall_ulong_t.
51429 (msglen_t): Likewise.
51430 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51433 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51434 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51436 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51438 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51439 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51441 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51444 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51445 include <bits/wordsize.h>. Check __x86_64__ instead of
51448 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51449 "unsigned long long int" if __x86_64__ is defined.
51450 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51452 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51453 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51454 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51456 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51458 (GET_PC): Cast to uintptr_t first.
51459 (GET_FRAME): Likewise.
51460 (GET_STACK): Likewise.
51462 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51463 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51464 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51465 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51466 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51467 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51468 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51469 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51470 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51471 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51472 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51473 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51474 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51475 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51476 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51477 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51478 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51480 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51482 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51483 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51485 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51487 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51488 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51490 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51492 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51494 * Makerules (+depfiles): Also collect depfiles from .oS in
51496 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51497 .oS, $(libnldbl-routines)).
51499 * Makerules (native-compile-mkdep-flags): Define.
51500 * sunrpc/Makefile (extra-objs): Add $(addprefix
51501 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51502 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51503 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51504 calling $(make-target-directory).
51506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51508 * bits/types.h (__snseconds_t): Removed.
51509 * time/time.h (struct timespec): Replace __snseconds_t with
51511 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51512 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51515 (__SNSECONDS_T_TYPE): Likewise.
51516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51517 (__SNSECONDS_T_TYPE): Likewise.
51518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51519 (__SNSECONDS_T_TYPE): Likewise.
51521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51523 * sysdeps/mach/hurd/bits/typesizes.h
51524 (__SYSCALL_SLONG_TYPE): New macro.
51525 (__SYSCALL_ULONG_TYPE): Likewise.
51527 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51529 * bits/types.h (__syscall_slong_t): New type.
51530 (__syscall_ulong_t): Likewise.
51532 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51533 (__SYSCALL_ULONG_TYPE): Likewise.
51534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51535 (__SYSCALL_SLONG_TYPE): Likewise.
51536 (__SYSCALL_ULONG_TYPE): Likewise.
51537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51538 (__SYSCALL_SLONG_TYPE): Likewise.
51539 (__SYSCALL_ULONG_TYPE): Likewise.
51540 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51541 (__SYSCALL_SLONG_TYPE): Likewise.
51542 (__SYSCALL_ULONG_TYPE): Likewise.
51544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51546 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51547 Add sigaltstack-offsets.sym.
51548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51549 <sigaltstack-offsets.h>.
51550 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51551 longjmp_msg pointer.
51552 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51553 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51555 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51557 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51559 * elf/stackguard-macros.h: Remove file.
51560 * sysdeps/generic/stackguard-macros.h: New file.
51561 * sysdeps/i386/stackguard-macros.h: Likewise.
51562 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51563 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51564 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51565 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51566 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51567 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51568 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51569 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51570 <elf/stackguard-macros.h>.
51573 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51574 __aligned__ in attribute.
51575 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51576 (gregset_t): Likewise.
51578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51580 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51581 * sysdeps/x86_64/64/Implies-after: Here. New file.
51582 * sysdeps/x86_64/x32/Implies-after: New file.
51584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51586 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51587 and access return value for _dl_profile_fixup. Use R10_LP to
51590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51592 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51596 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51597 * sysdeps/x86_64/x32/sysdep.h: New file.
51599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51601 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51602 * sysdeps/x86_64/setjmp.S: Likewise.
51604 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51606 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51607 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51608 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51609 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51610 remove unused global constant.
51612 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51614 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51615 include of <not-cancel.h>.
51617 2012-05-15 Roland McGrath <roland@hack.frob.com>
51619 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51621 2012-05-15 Jeff Law <law@redhat.com>
51622 Andreas Jaeger <aj@suse.de>
51625 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51627 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51628 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51629 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51630 code changing __hst_map_handle.map.
51632 2012-05-15 Roland McGrath <roland@hack.frob.com>
51634 * configure.in (sysnames): Look for Implies-before and Implies-after
51636 * configure: Regenerated.
51638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51640 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51641 8-byte data alignment with LP_SIZE alignment.
51643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51645 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51650 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51654 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51655 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51656 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51658 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51662 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51663 (stackinfo_sub_sp): Likewise.
51665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51672 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51682 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51686 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51687 into R11_LP and load __x86_64_shared_cache_size_half into
51690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51692 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51695 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51703 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51704 powerpc32/power7/fpu/s_logb.c via #include.
51705 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51706 powerpc32/power7/fpu/s_logbf.c via #include.
51707 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51708 powerpc32/power7/fpu/s_logbl.c via #include.
51710 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51712 * README.libm: Remove file.
51714 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51716 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51717 count for x32. Use R*_LP and omit operand-size suffix.
51719 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51721 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51722 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51723 * sysdeps/x86_64/x32/shlib-versions: New file.
51725 2012-05-14 Roland McGrath <roland@hack.frob.com>
51727 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51728 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51729 Use _dl_fatal_printf instead.
51731 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51733 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51734 set if not set by the user. Do not allow for being unset.
51735 * sysdeps/unix/sysv/linux/configure: Regenerated.
51737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51739 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51740 the `q' suffix from lea and replace .quad with ASM_ADDR.
51742 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51745 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51747 (PTR_DEMANGLE): Likewise.
51749 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51751 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51753 (ASM_ADDR): Likewise.
51754 (RAX_LP): Likewise.
51755 (RBP_LP): Likewise.
51756 (RBX_LP): Likewise.
51757 (RCX_LP): Likewise.
51758 (RDI_LP): Likewise.
51759 (RSI_LP): Likewise.
51760 (RSP_LP): Likewise.
51763 (R10_LP): Likewise.
51764 (R10_LP): Likewise.
51765 (R11_LP): Likewise.
51766 (R12_LP): Likewise.
51767 (R13_LP): Likewise.
51768 (R14_LP): Likewise.
51769 (R15_LP): Likewise.
51771 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51773 * sysdeps/x86_64/x32/dl-machine.h: New file.
51775 2012-05-14 Andreas Jaeger <aj@suse.de>
51777 * manual/Makefile (subdir): Remove export of subdir.
51778 (all): Remove target.
51779 (.PHONY): Remove all from list.
51780 (mkinstalldirs): Remove.
51781 (.PHONY): Remove installdirs from list.
51782 ($(inst_infodir)/libc.info): Use make-target-directory.
51783 (installdirs): Remove.
51784 (subdir_%): Remove.
51785 (glibc-targets): Remove.
51788 ($(objpfx)stubs ../po/manual.pot): Remove.
51789 ($(objpfx)stamp%): Remove.
51790 (make-target-directory): Remove.
51791 (subdir_install): Remove.
51792 (routines): Remove.
51799 * manual/.gitignore: Remove, it's not needed anymore.
51800 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51802 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51804 (texis): Renamed to $(objpfx)texis.
51805 (texis-path): New, contains path to generated files.
51806 (chapters.%): Use texis-path for complete path, add extra argument
51808 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51809 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51810 (summary,texi, stamp-summary): Use complete path of
51811 files. Generate files in build dir.
51812 (dir-add.texi): Build in build dir.
51813 (libm-err.texi,stamp-libm-err): Likewise.
51814 (version.texi, stamp-version): Likewise.
51815 (.%c.texi): Likewise.
51816 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51817 (mostlyclean): Remove target.
51818 (realclean): Remove target.
51819 (generated): Add new variable with contents from mostlyclean and
51820 realclean, remove entries duplicated in common-mostlyclean, add
51821 stamp-libm-err and stamp-version.
51822 (generated-dirs): Add libc directory.
51823 ($(inst_infodir)/libc.info): Install files from build dir.
51825 * manual/install.texi (Configuring and compiling): Adjust since
51826 the info files are not part of the tar ball anymore.
51828 2012-05-14 Andreas Jaeger <aj@suse.de>
51830 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51833 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51836 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51837 to 2.2.0 where earlier.
51838 * sysdeps/unix/sysv/linux/configure: Regenerated.
51839 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51840 Remove conditional code.
51841 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51842 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51843 Remove conditional code.
51844 [!__NR_lchown]: Likewise.
51845 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51846 [__NR_lchown]: Likewise.
51847 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51848 comment referencing __ASSUME_LCHOWN_SYSCALL.
51849 * sysdeps/unix/sysv/linux/i386/sigaction.c
51850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51852 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51853 Remove conditional code.
51854 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51855 (__protocol_available): Remove #if 0 code.
51856 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51858 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51859 * sysdeps/unix/sysv/linux/kernel-features.h
51860 (__ASSUME_GETCWD_SYSCALL): Don't define.
51861 (__ASSUME_REALTIME_SIGNALS): Likewise.
51862 (__ASSUME_PREAD_SYSCALL): Likewise.
51863 (__ASSUME_PWRITE_SYSCALL): Likewise.
51864 (__ASSUME_POLL_SYSCALL): Likewise.
51865 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51866 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51868 (__ASSUME_SIOCGIFNAME): Don't define.
51869 (__ASSUME_MSG_NOSIGNAL): Likewise.
51870 (__ASSUME_SENDFILE): Define unconditionally.
51871 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51872 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51874 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51875 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51876 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51877 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51878 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51879 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51880 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51882 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51885 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51888 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51891 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51892 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51894 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51897 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51903 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51905 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51906 Remove conditional code.
51907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51908 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51909 Remove conditional code.
51910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51911 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51912 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51913 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51914 Remove conditional code.
51915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51916 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51917 Remove conditional code.
51918 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51919 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51920 Remove conditional code.
51921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51922 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51923 Remove conditional code.
51924 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51925 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51926 Remove conditional code.
51927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51928 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51929 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51931 * sysdeps/unix/sysv/linux/sigaction.c
51932 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51933 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51934 * sysdeps/unix/sysv/linux/sigpending.c
51935 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51936 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51937 * sysdeps/unix/sysv/linux/sigprocmask.c
51938 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51939 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51940 * sysdeps/unix/sysv/linux/sigsuspend.c
51941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51943 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51944 (__libc_missing_rt_sigs): Remove.
51945 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51946 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51947 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51948 Remove conditional code.
51949 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51950 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51953 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51954 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51955 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51957 2012-05-14 Andreas Jaeger <aj@suse.de>
51959 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51960 it's not used in glibc.
51961 (__coshm1): Likewise.
51962 (__acosh1p): Likewise.
51965 * manual/string.texi (Copying and Concatenation): Add missing
51966 variable in concat example.
51967 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51972 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51973 __builtin_clzl with __builtin_clzll.
51975 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51978 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51981 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51983 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51984 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51985 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51986 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51988 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51990 * NEWS: Update ia64 info.
51992 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51994 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51997 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51999 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52000 * sysdeps/unix/syscalls.list (dup3): Likewise.
52001 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52002 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52004 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52006 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52007 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52009 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52011 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52013 (TLS_IE): Use mov/add instead of movq/addq to load thread
52015 (TLS_GD_PREFIX): New.
52018 2012-05-11 David S. Miller <davem@davemloft.net>
52020 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52021 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52022 (_FPU_SETCW): Likewise.
52024 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52026 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52027 is 32-byte aligned.
52029 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52032 * iconvdata/gb18030.c: Update tables.
52033 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52034 characters specially.
52035 (BODY for TO_LOOP): Add encoding of missing ranges.
52037 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52040 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52041 * sysdeps/mach/hurd/dup3.c: Likewise.
52042 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52043 * sysdeps/powerpc/memmove.c:: Likewise.
52045 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52048 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52050 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52052 * elf/elf.h (R_X86_64_RELATIVE64): New.
52053 (R_X86_64_NUM): Updated.
52054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52055 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52056 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52057 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52058 tst-quad1pie tst-quad2pie
52059 (modules-names): Add tst-quadmod1 tst-quadmod2.
52060 ($(objpfx)tst-quad1): New dependency.
52061 ($(objpfx)tst-quad2): Likewise.
52062 ($(objpfx)tst-quad1pie): Likewise.
52063 ($(objpfx)tst-quad2pie): Likewise.
52064 * sysdeps/x86_64/tst-quad1.c: New file.
52065 * sysdeps/x86_64/tst-quad1pie.c: New file.
52066 * sysdeps/x86_64/tst-quad2.c: Likewise.
52067 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52068 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52069 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52070 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52071 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52075 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52076 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52077 * streams/stropts.h (t_scalar_t): Define type.
52079 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52080 (_PATH_PRESERVE): Set to "/var/lib".
52081 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52083 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52086 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52087 if __dir_mkfile succeeded.
52089 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52090 checking for _hurd_dtablesize. Unlock it right after having
52091 finished _hurd_dtable allocation.
52093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52095 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52096 * sysdeps/mach/hurd/configure: Regenerated.
52097 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52098 special-casing to...
52099 * sysdeps/gnu/configure.in: ... this new file.
52100 * sysdeps/unix/sysv/linux/configure: Regenerated.
52101 * sysdeps/gnu/configure: New generated file.
52103 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52104 for Linux: use nsec instead of usec, as well as:
52105 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52106 members of type struct timespec.
52107 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52109 (struct stat64): Likewise.
52110 (_STATBUF_ST_NSEC): New macro.
52111 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52113 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52114 __strtoul_internal rather than strtoul.
52116 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52118 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52123 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52124 which preserves existing values.
52125 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52127 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52129 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52130 TIMEOUT values. Return EINVAL for NFDS values either negative or
52131 greater than FD_SETSIZE.
52133 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52135 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52136 allocated, call __vm_protect to finish enabling the existing space, and
52137 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52138 allocate the remainder.
52140 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52142 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52143 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52147 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52148 sysdeps/mach/hurd/readlink.c.
52150 * posix/tst-sysconf.c (posix_options): Only use
52151 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52152 _POSIX_SYNCHRONIZED_IO when they are defined
52153 * sysdeps/mach/hurd/bits/posix_opt.h:
52154 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52155 (_XOPEN_REALTIME): Undefine macro.
52156 (_XOPEN_REALTIME_THREADS): Undefine macro.
52157 (_XOPEN_SHM): Undefine macro.
52158 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52160 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52162 (_POSIX_ASYNC_IO): Undefine macro.
52163 (_POSIX_PRIORITIZED_IO): Undefine macro.
52164 (_POSIX_SPIN_LOCKS): Define macro to -1.
52166 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52167 SA_NODEFER, SA_RESETHAND.
52168 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52169 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52174 * elf/Makefile (pldd-modules): Define unconditionally.
52176 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52178 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52182 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52183 Return ENOENT when name is empty.
52184 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52188 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52190 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52194 Fix mlock in all cases except non-readable pages.
52195 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52196 instead of VM_PROT_ALL as parameter to __vm_wire function.
52198 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52199 (__mkdir): When path is `/', just fail with EEXIST.
52200 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52204 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52205 <sys/uio.h> (for writev).
52206 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52207 and <sys/param.h> (for MIN).
52209 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52211 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52212 REQUESTED_TIME. Properly set the remaining time and return EINTR
52215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52217 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52218 Depend on against $(link-rpcuserlibs).
52220 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52222 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52223 (__libc_stack_end): Do not use attribute_relro.
52224 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52225 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52226 to libthread-provided value.
52227 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52230 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52233 * bits/libc-lock.h (__libc_once_get): New macro.
52234 * sysdeps/mach/bits/libc-lock.h: Likewise.
52235 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52236 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52237 instead of using implementation details.
52239 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52240 * libio/freopen.c: Likewise.
52241 * libio/freopen64.c: Likewise.
52242 * misc/syslog.c: Likewise.
52243 * nscd/connections.c: Likewise.
52244 * nscd/netgroupcache.c: Likewise.
52245 * sysdeps/posix/getcwd.c: Likewise.
52247 2012-05-10 Roland McGrath <roland@hack.frob.com>
52249 * math/w_ilogbf.c: Add #include <limits.h>.
52251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52253 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52254 path instead of returning without unlocking.
52256 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52257 immediate-write ioctls.
52258 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52260 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52262 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52263 __builtin_frame_address instead of making assumptions about the
52264 location of the return address relative to DATA. Force early load of
52265 the return address.
52266 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52267 __builtin_frame_address.
52270 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52271 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52272 implement dup3 and do some further code clean-ups.
52273 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52274 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52278 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52280 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52281 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52282 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52283 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52284 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52287 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52288 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52289 when handler == SIG_ERR, not when handler != SIG_ERR.
52291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52293 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52294 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52297 accept4 for GNU Hurd.
52298 * include/sys/socket.h (__libc_accept4): New prototype.
52299 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52300 to implement __libc_accept4.
52301 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52303 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52305 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52306 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52307 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52308 signal-defines.sym.
52310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52312 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52314 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52316 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52317 assertion on O_CLOEXEC flag.
52318 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52319 * hurd/intern-fd.c: Likewise.
52320 * hurd/port2fd.c: Likewise.
52322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52325 * bits/in.h (IPV6_PKTINFO): Define new macro.
52326 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52328 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52333 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52334 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52335 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52336 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52338 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52339 * math/libm-test.inc (logb_test) : Additional logb tests.
52341 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52342 Andreas Jaeger <aj@suse.de>
52344 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52345 * configure: Regenerated.
52346 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52347 * config.make.in (link-obsolete-rpc): New substituted variable.
52348 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52349 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52350 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52351 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52352 so that libc.a contains the symbols.
52353 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52354 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52355 * sunrpc/auth_none.c: Likewise.
52356 * sunrpc/auth_unix.c: Likewise.
52357 * sunrpc/authdes_prot.c: Likewise.
52358 * sunrpc/authuxprot.c: Likewise.
52359 * sunrpc/clnt_gen.c: Likewise.
52360 * sunrpc/clnt_perr.c: Likewise.
52361 * sunrpc/clnt_raw.c: Likewise.
52362 * sunrpc/clnt_simp.c: Likewise.
52363 * sunrpc/clnt_tcp.c: Likewise.
52364 * sunrpc/clnt_udp.c: Likewise.
52365 * sunrpc/clnt_unix.c: Likewise.
52366 * sunrpc/des_crypt.c: Likewise.
52367 * sunrpc/des_soft.c: Likewise.
52368 * sunrpc/get_myaddr.c: Likewise.
52369 * sunrpc/key_call.c: Likewise.
52370 * sunrpc/key_prot.c: Likewise.
52371 * sunrpc/netname.c: Likewise.
52372 * sunrpc/pm_getmaps.c: Likewise.
52373 * sunrpc/pm_getport.c: Likewise.
52374 * sunrpc/pmap_clnt.c: Likewise.
52375 * sunrpc/pmap_prot.c: Likewise.
52376 * sunrpc/pmap_prot2.c: Likewise.
52377 * sunrpc/pmap_rmt.c: Likewise.
52378 * sunrpc/publickey.c: Likewise.
52379 * sunrpc/rpc_cmsg.c: Likewise.
52380 * sunrpc/rpc_common.c: Likewise.
52381 * sunrpc/rpc_dtable.c: Likewise.
52382 * sunrpc/rpc_prot.c: Likewise.
52383 * sunrpc/rpc_thread.c: Likewise.
52384 * sunrpc/rtime.c: Likewise.
52385 * sunrpc/svc.c: Likewise.
52386 * sunrpc/svc_auth.c: Likewise.
52387 * sunrpc/svc_raw.c: Likewise.
52388 * sunrpc/svc_run.c: Likewise.
52389 * sunrpc/svc_tcp.c: Likewise.
52390 * sunrpc/svc_udp.c: Likewise.
52391 * sunrpc/svc_unix.c: Likewise.
52392 * sunrpc/svcauth_des.c: Likewise.
52393 * sunrpc/xcrypt.c: Likewise.
52394 * sunrpc/xdr.c: Likewise.
52395 * sunrpc/xdr_array.c: Likewise.
52396 * sunrpc/xdr_float.c: Likewise.
52397 * sunrpc/xdr_intXX_t.c: Likewise.
52398 * sunrpc/xdr_mem.c: Likewise.
52399 * sunrpc/xdr_rec.c: Likewise.
52400 * sunrpc/xdr_ref.c: Likewise.
52401 * sunrpc/xdr_sizeof.c: Likewise.
52402 * sunrpc/xdr_stdio.c: Likewise.
52404 2012-05-10 Roland McGrath <roland@hack.frob.com>
52406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52407 change. Update copyright years.
52409 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52411 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52413 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52414 Joseph Myers <joseph@codesourcery.com>
52415 Paul Pluzhnikov <ppluzhnikov@google.com>
52418 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52420 [cross-compiling] (extra-libs): Likewise.
52421 [cross-compiling] (extra-libs-others): Likewise.
52422 [cross-compiling] (librpcsvc-routines): Likewise.
52423 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52424 [cross-compiling] (omit-deps): Likewise.
52425 (sunrpc-CPPFLAGS): New variable.
52426 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52427 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52428 (cross-rpcgen-objs): New variable.
52429 (extra-objs): Append $(cross-rpcgen-objs).
52430 ($(cross-rpcgen-objs)): New rule.
52431 ($(objpfx)cross-rpcgen): Likewise.
52432 (rpcgen-cmd): Define to use $(built-program-file). Expand
52434 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52435 ($(objpfx)x%.stmp): Likewise.
52436 * sunrpc/proto.h [IS_IN_build] (_): Define.
52437 [IS_IN_build] (_libc_intl_domainname): Likewise.
52439 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52441 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52442 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52443 and R_X86_64_TPOFF64.
52445 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52447 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52448 sysdeps/unix/sysv/syscalls.list.
52451 * sysdeps/unix/sysv/syscalls.list: Remove file.
52453 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52456 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52457 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52458 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52459 (__LC_IDENTIFICATION): Make these macros useful in #if
52460 expressions, as required by C99.
52462 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52464 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52465 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52468 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52470 * stdlib/longlong.h: Updated from GCC.
52472 2012-05-09 Andreas Jaeger <aj@suse.de>
52474 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52475 default is first entry.
52476 (run_mode): Set type.
52477 (main): Remove informal message about syslog.
52478 (options): Fix typo.
52481 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52484 (llrintf): Likewise.
52485 (llrint): Likewise.
52488 (nearbyint): Likewise.
52489 (nearbyintf): Likewise.
52491 2012-05-09 Andreas Jaeger <aj@suse.de>
52492 Pedro Alves <palves@redhat.com>
52494 * nscd/nscd.c (run_mode): Use enum.
52495 (main): Cleanup coding style issue.
52497 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52498 Andreas Jaeger <aj@suse.de>
52500 * nscd/nscd.c (go_background): Replaced with...
52501 (run_mode): ... this.
52502 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52503 (options): Add -F --foreground.
52504 (main): Implement it.
52505 (parse_opt): Parse it.
52507 2012-05-09 Andreas Jaeger <aj@suse.de>
52510 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52511 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52512 -Wconversion warning.
52513 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52516 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52518 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52520 (LC_ALL): Use macro-int-constant.
52521 (LC_COLLATE): Likewise.
52522 (LC_CTYPE): Likewise.
52523 (LC_MESSAGES): Likewise.
52524 (LC_MONETARY): Likewise.
52525 (LC_NUMERIC): Likewise.
52526 (LC_TIME): Likewise.
52527 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52528 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52530 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52532 [C99-based standards] (float_t): Expect type.
52533 [C99-based standards] (double_t): Expect type.
52534 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52536 [C99-based standards] (HUGE_VALL): Likewise.
52537 [C99-based standards] (INFINITY): Likewise.
52538 [C99-based standards] (NAN): Likewise.
52539 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52540 [C99-based standards] (FP_NAN): Likewise.
52541 [C99-based standards] (FP_NORMAL): Likewise.
52542 [C99-based standards] (FP_SUBNORMAL): Likewise.
52543 [C99-based standards] (FP_ZERO): Likewise.
52544 [C99-based standards] (FP_FAST_FMA): Use
52545 optional-macro-int-constant. Specify type. Require == 1.
52546 [C99-based standards] (FP_FAST_FMAF): Likewise.
52547 [C99-based standards] (FP_FAST_FMAL): Likewise.
52548 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52549 [C99-based standards] (FP_ILOGBNAN): Likewise.
52550 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52552 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52553 [C99-based standards] (math_errhandling): Specify type.
52554 [ISO99 || ISO11] (signgam): Do not allow.
52555 [non-C99-based standards] (copysignf): Do not allow.
52556 [non-C99-based standards] (exp2f): Likewise.
52557 [non-C99-based standards] (log2f): Likewise.
52558 [non-C99-based standards] (modff): Allow.
52559 [non-C99-based standards] (erff): Do not allow.
52560 [non-C99-based standards] (erfcf): Likewise.
52561 [non-C99-based standards] (gammaf): Likewise.
52562 [non-C99-based standards] (hypotf): Likewise.
52563 [non-C99-based standards] (j0f): Likewise.
52564 [non-C99-based standards] (j1f): Likewise.
52565 [non-C99-based standards] (jnf): Likewise.
52566 [non-C99-based standards] (lgammaf): Likewise.
52567 [non-C99-based standards] (tgammaf): Likewise.
52568 [non-C99-based standards] (y0f): Likewise.
52569 [non-C99-based standards] (y1f): Likewise.
52570 [non-C99-based standards] (ynf): Likewise.
52571 [non-C99-based standards] (isnanf): Likewise.
52572 [non-C99-based standards] (acoshf): Likewise.
52573 [non-C99-based standards] (asinhf): Likewise.
52574 [non-C99-based standards] (atanhf): Likewise.
52575 [non-C99-based standards] (cbrtf): Likewise.
52576 [non-C99-based standards] (expm1f): Likewise.
52577 [non-C99-based standards] (ilogbf): Likewise.
52578 [non-C99-based standards] (log1pf): Likewise.
52579 [non-C99-based standards] (logbf): Likewise.
52580 [non-C99-based standards] (nextafterf): Likewise.
52581 [non-C99-based standards] (remainderf): Likewise.
52582 [non-C99-based standards] (rintf): Likewise.
52583 [non-C99-based standards] (scalbf): Likewise.
52584 [non-C99-based standards] (copysignl): Likewise.
52585 [non-C99-based standards] (exp2l): Likewise.
52586 [non-C99-based standards] (log2l): Likewise.
52587 [non-C99-based standards] (modfl): Allow.
52588 [non-C99-based standards] (erfl): Do not allow.
52589 [non-C99-based standards] (erfcl): Likewise.
52590 [non-C99-based standards] (gammal): Likewise.
52591 [non-C99-based standards] (hypotl): Likewise.
52592 [non-C99-based standards] (j0l): Likewise.
52593 [non-C99-based standards] (j1l): Likewise.
52594 [non-C99-based standards] (jnl): Likewise.
52595 [non-C99-based standards] (lgammal): Likewise.
52596 [non-C99-based standards] (tgammal): Likewise.
52597 [non-C99-based standards] (y0l): Likewise.
52598 [non-C99-based standards] (y1l): Likewise.
52599 [non-C99-based standards] (ynl): Likewise.
52600 [non-C99-based standards] (isnanl): Likewise.
52601 [non-C99-based standards] (acoshl): Likewise.
52602 [non-C99-based standards] (asinhl): Likewise.
52603 [non-C99-based standards] (atanhl): Likewise.
52604 [non-C99-based standards] (cbrtl): Likewise.
52605 [non-C99-based standards] (expm1l): Likewise.
52606 [non-C99-based standards] (ilogbl): Likewise.
52607 [non-C99-based standards] (log1pl): Likewise.
52608 [non-C99-based standards] (logbl): Likewise.
52609 [non-C99-based standards] (nextafterl): Likewise.
52610 [non-C99-based standards] (remainderl): Likewise.
52611 [non-C99-based standards] (rintl): Likewise.
52612 [non-C99-based standards] (scalbl): Likewise.
52613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52614 [non-C99-based standards] (FP_*): Do not allow.
52615 [C99-based standards] (FP_*): Change to
52616 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52617 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52619 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52620 (SIG_ERR): Likewise.
52621 [X/Open-based standards] (SIG_HOLD): Likewise.
52622 (SIG_IGN): Likewise.
52623 (SIGABRT): Use macro-int-constant. Specify type. Require
52625 (SIGFPE): Likewise.
52626 (SIGILL): Likewise.
52627 (SIGINT): Likewise.
52628 (SIGSEGV): Likewise.
52629 (SIGTER): Likewise.
52630 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52631 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52632 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52633 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52634 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52635 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52636 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52637 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52638 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52639 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52640 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52641 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52642 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52643 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52644 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52645 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52646 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52647 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52648 [X/Open-based standards] (SIGTRAP): Likewise.
52649 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52650 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52651 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52652 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52653 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52656 2012-05-08 Ian Wienand <ianw@vmware.com>
52659 * time/tzset.c (__tzset_parse_tz): Update default rules for
52660 daylight time changes in the Energy Policy Act of 2005.
52662 2012-05-09 Andreas Jaeger <aj@suse.de>
52665 * elf/ldconfig.c (parse_conf): Change string to make clear that
52666 ldconfig only issued a warning if ld.so.conf does not exist.
52668 2012-05-08 David S. Miller <davem@davemloft.net>
52670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52671 movxtod instead of popping the value on the stack.
52673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52675 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52677 * config.h.in: Add HAVE_ARM_PCS_VFP.
52679 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52682 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52683 checking but the checks are disabled for any reason.
52685 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52687 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52688 and ELF64_R_TYPE with ELFW(R_TYPE).
52690 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52692 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52693 (ulimit): Likewise.
52695 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52696 (settimeofday): Likewise.
52698 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52700 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52701 a struct th_u2 inside the union, and move tu_block/tu_code into
52702 a new th_u3 union of tu_block/tu_code inside of that. Move
52703 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52704 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52705 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52706 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52707 (th_stuff): Change to th_u1.tu_stuff.
52709 (th_msg): Change to th_u1.th_u2.tu_data.
52711 2012-05-07 David S. Miller <davem@davemloft.net>
52713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52716 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52717 (SETUP_PIC_REG): Use it.
52718 (SETUP_PIC_REG_LEAF): Use it.
52720 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52724 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52726 (EXPL_FINITE): Likewise.
52727 (FLDLOG): Likewise.
52728 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52729 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52733 (EXPL_FINITE): Likewise.
52734 (FLDLOG): Likewise.
52735 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52736 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52738 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52739 test of -max_value argument for long double.
52740 * sysdeps/i386/fpu/libm-test-ulps: Update.
52741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52743 2012-05-06 David S. Miller <davem@davemloft.net>
52745 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52746 quad soft-float symbols whose references which are compiler
52748 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52750 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52756 (EXPL_FINITE): Likewise.
52757 (FLDLOG): Likewise.
52760 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52761 Adjust comments for base varying.
52762 (__expl_finite): Change alias to EXPL_FINITE.
52763 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52765 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52766 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52767 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52768 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52769 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52771 (EXPL_FINITE): Likewise.
52772 (FLDLOG): Likewise.
52775 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52776 Adjust comments for base varying.
52777 (__expl_finite): Change alias to EXPL_FINITE.
52778 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52783 * math/libm-test.inc (check_float_internal): Correct ulp
52784 calculation for subnormal expected results.
52786 2012-05-06 Andreas Jaeger <aj@suse.de>
52788 * Makeconfig (+math-flags): New, set to -frounding-math.
52789 (+cflags): Add +math-flags so that all of glibc gets compiled with
52792 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52794 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52796 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52802 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52803 (__ieee754_expl): Allow for and saturate large arguments.
52804 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52805 (u_threshold): Likewise.
52806 (__exp): Call __ieee754_exp before checking for overflow and
52808 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52809 (u_threshold): Likewise.
52810 (__expf): Call __ieee754_expf before checking for overflow and
52812 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52813 (u_threshold): Likewise.
52814 (__expl): Call __ieee754_expl before checking for overflow and
52816 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52817 (__ieee754_expl): Allow for and saturate large arguments.
52818 * math/libm-test.inc (exp_test): Add another test. Do not allow
52819 missing overflow exception on overflow.
52820 (expm1_test): Do not allow missing overflow exception on overflow.
52822 * sysdeps/i386/fpu/e_expl.c: Move to ...
52823 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52824 rather than using inline asm.
52825 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52826 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52827 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52829 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52832 (signal): Likewise.
52836 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52838 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52839 sysdeps/unix/common/syscalls.list.
52840 (fchmod): Likewise.
52841 (fchown): Likewise.
52842 (ftruncate): Likewise.
52843 (getrusage): Likewise.
52844 (gettimeofday): Likewise.
52845 (setpgid): Likewise.
52846 (setregid): Likewise.
52847 (setreuid): Likewise.
52848 (sigaction): Likewise.
52849 (truncate): Likewise.
52850 (vhangup): Likewise.
52851 * sysdeps/unix/common/syscalls.list: Remove file.
52852 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52853 * sysdeps/unix/sysv/linux/Implies: Likewise.
52855 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52857 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52859 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52863 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52866 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52869 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52872 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52875 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52878 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52881 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52885 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52889 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52892 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52896 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52900 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52902 * sysdeps/unix/common/bits/dirent.h: Remove file.
52903 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52905 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52906 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52907 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52908 * sysdeps/unix/bsd/isatty.c: Likewise.
52909 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52910 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52911 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52913 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52916 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52917 long double comparison inaccuracies.
52918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52921 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52923 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52926 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52929 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52930 nonzero digits before rounding a hex value.
52931 * stdlib/tst-strtod.c (tests): Add another test.
52933 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52935 * sysdeps/s390/fpu/libm-test-ulps: Update.
52937 2012-05-03 Andreas Jaeger <aj@suse.de>
52939 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52940 does not get optimized out.
52941 (malloc_opt_barrier): New.
52943 2012-05-03 Andreas Jaeger <aj@suse.de>
52944 Roland McGrath <roland@hack.frob.com>
52946 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52947 intermediate file deletion.
52948 (generated): Add .symlist files.
52950 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52953 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52954 Redirect under this condition.
52955 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52956 [__USE_GNU] (__dprintf_chk): Not under this condition.
52957 [__USE_GNU] (__vdprintf_chk): Likewise.
52958 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52959 under this condition.
52960 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52961 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52962 [__USE_XOPEN2K8] (vdprintf): Likewise.
52963 [__USE_GNU] (__dprintf_chk): Not under this condition.
52964 [__USE_GNU] (__vdprintf_chk): Likewise.
52965 [__USE_GNU] (dprintf): Likewise.
52966 [__USE_GNU] (vdprintf): Likewise.
52968 2012-05-03 Roland McGrath <roland@hack.frob.com>
52970 * elf/Makefile (common-generated): Set this instead of generated for
52971 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52972 $(all-built-dso)-derived lists.
52974 2012-05-03 Andreas Jaeger <aj@suse.de>
52976 * sysdeps/i386/fpu/libm-test-ulps: Update.
52979 * FAQ.in: Likewise.
52980 * scripts/gen-FAQ.pl: Likewise.
52981 * manual/install.texi (Installation): Point to online location of
52983 * Makefile (files-for-dist): Remove FAQ.
52986 2012-05-02 Allan McRae <allan@archlinux.org>
52988 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52989 (LDFLAGS-reldepmod5.so): Likewise.
52990 (LDFLAGS-reldep6mod1.so): Likewise.
52991 (LDFLAGS-reldep6mod4.so): Likewise.
52992 (LDFLAGS-reldep8mod3.so): Likewise.
52993 (LDFLAGS-unload4mod1.so): Likewise.
52994 (LDFLAGS-unload4mod2.so): Likewise.
52995 (LDFLAGS-tst-initorder): Likewise.
52996 (LDFLAGS-tst-initordera2.so): Likewise.
52997 (LDFLAGS-tst-initordera3.so): Likewise.
52998 (LDFLAGS-tst-initordera4.so): Likewise.
52999 (LDFLAGS-tst-initorderb2.so): Likewise.
53000 (LDFLAGS-noload): Likewise.
53001 (LDFLAGS-next): Likewise.
53002 (LDFLAGS-order2mod1.so): Likewise.
53003 (LDFLAGS-order2mod2.so): Likewise.
53004 (LDFLAGS-tst-initorder2): Likewise.
53005 (LDFLAGS-tst-initorder2a.so): Likewise.
53006 (LDFLAGS-tst-initorder2b.so): Likewise.
53007 (LDFLAGS-tst-initorder2c.so): Likewise.
53008 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53010 2012-05-02 David S. Miller <davem@davemloft.net>
53012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53014 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53017 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53019 2012-05-02 Andreas Jaeger <aj@suse.de>
53021 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53022 since we manipulate rounding mode.
53023 (CPPFLAGS-test-idouble.c): Likewise.
53024 (CPPFLAGS-test-ifloat.c): Likewise.
53025 (CFLAGS-test-ldouble.c): Likewise.
53026 (CFLAGS-test-double.c): Likewise.
53027 (CFLAGS-test-float.c): Likewise.
53028 (CFLAGS-test-misc.c): Likewise.
53029 (CFLAGS-test-test-fenv.c): Likewise.
53031 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53035 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53036 comparisons to determine direction to adjust input.
53038 2012-05-01 Roland McGrath <roland@hack.frob.com>
53040 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53041 output to the target.
53043 * scripts/localplt.awk: New file.
53044 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53045 (check-localplt-CFLAGS): Variable removed.
53046 ($(all-built-dso:=.jmprel)): New static pattern rule.
53047 (generated): Add those targets.
53048 (localplt-built-dso): New variable.
53049 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53051 * elf/check-localplt.c: File removed.
53053 * scripts/check-execstack.awk: New file.
53054 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53055 (check-execstack-CFLAGS): Variable removed.
53056 ($(objpfx)check-execstack.h): Target removed.
53057 ($(objpfx)execstack-default): New target.
53058 (generated): Add that instead of check-execstack.h.
53059 ($(all-built-dso:=.phdr)): New static pattern rule.
53060 (generated): Add those targets.
53061 * elf/check-execstack.c: File removed.
53063 * scripts/check-textrel.awk: New file.
53064 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53065 (check-textrel-CFLAGS): Variable removed.
53066 (all-built-dso): Use := to define.o
53067 ($(all-built-dso:=.dyn)): New static pattern rule.
53068 (generated): Add those targets.
53069 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53070 * config.make.in (READELF): New substituted variable.
53071 * elf/check-textrel.c: File removed.
53073 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53075 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53077 * conform/data/ctype.h-data [C99-based standards] (isblank):
53079 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53080 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53081 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53082 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53083 Specify type. Require positive value.
53084 (EILSEQ): Likewise.
53085 (ERANGE): Likewise.
53086 [ISO || POSIX] (EILSEQ): Do not expect.
53087 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53088 Specify type. Require positive value.
53089 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53090 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53091 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53092 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53093 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53094 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53095 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53096 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53097 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53098 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53099 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53100 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53101 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53102 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53103 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53104 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53105 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53106 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53107 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53108 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53109 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53110 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53111 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53112 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53113 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53114 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53115 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53116 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53117 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53118 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53119 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53120 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53121 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53122 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53123 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53124 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53125 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53126 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53127 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53128 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53129 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53130 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53131 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53132 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53133 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53134 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53135 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53136 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53137 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53138 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53139 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53140 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53141 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53142 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53143 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53144 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53145 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53146 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53147 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53148 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53149 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53150 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53151 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53152 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53153 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53154 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53155 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53156 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53157 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53158 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53159 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53160 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53161 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53162 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53163 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53164 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53165 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53167 (FLT_ROUNDS): Expect as macro, not constant.
53168 (FLT_MANT_DIG): Use macro-int-constant.
53169 (DBL_MANT_DIG): Likewise.
53170 (LDBL_MANT_DIG): Likewise.
53171 (FLT_DIG): Likewise.
53172 (DBL_DIG): Likewise.
53173 (LDBL_DIG): Likewise.
53174 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53175 (DBL_MIN_EXP): Likewise.
53176 (LDBL_MIN_EXP): Likewise.
53177 (FLT_MAX_EXP): Use macro-int-constant.
53178 (DBL_MAX_EXP): Likewise.
53179 (LDBL_MAX_EXP): Likewise.
53180 (FLT_MAX_10_EXP): Likewise.
53181 (DBL_MAX_10_EXP): Likewise.
53182 (LDBL_MAX_10_EXP): Likewise.
53183 (FLT_MAX): Use macro-constant.
53184 (DBL_MAX): Likewise.
53185 (LDBL_MAX): Likewise.
53186 (FLT_EPSILON): Use macro-constant. Give upper bound.
53187 (DBL_EPSILON): Likewise.
53188 (LDBL_EPSILON): Likewise.
53189 (FLT_MIN): Likewise.
53190 (DBL_MIN): Likewise.
53191 (LDBL_MIN): Likewise.
53192 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53193 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53194 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53195 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53196 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53197 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53198 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53199 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53200 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53201 [ISO11] (FLT_TRUE_MIN): Likewise.
53202 [ISO11] (LDBL_TRUE_MIN): Likewise.
53203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53204 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53205 (SCHAR_MIN): Use macro-int-constant. Specify type.
53206 (SCHAR_MAX): Likewise.
53207 (UCHAR_MAX): Likewise.
53208 (CHAR_MIN): Likewise.
53209 (CHAR_MAX): Likewise.
53210 (MB_LEN_MAX): Use macro-int-constant.
53211 (SHRT_MIN): Use macro-int-constant. Specify type.
53212 (SHRT_MAX): Likewise.
53213 (USHRT_MAX): Likewise.
53214 (INT_MAX): Likewise.
53215 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53217 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53219 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53221 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53222 bound negative. Suffix upper bound with "L".
53223 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53225 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53227 [C99-based standards] (LLONG_MAX): Likewise.
53228 [C99-based standards] (ULLONG_MAX): Likewise.
53229 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53231 [ISO11] (max_align_t): Require type.
53232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53234 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53235 from $CFLAGS, without defining away __attribute__ calls.
53236 (checknamespace): Use $CFLAGS_namespace.
53238 * conform/conformtest.pl (@keywords): Only include C99 keywords
53239 for standards based on C99 or C11.
53241 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53243 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53246 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53247 usability of symbols in #if.
53249 * conform/conformtest.pl: If macro or constant types start
53250 "promoted:", expect the symbol to be of the following type
53251 promoted by the integer promotions.
53253 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53254 in one place. Also handle "macro-constant".
53256 * conform/conformtest.pl: Only accept expected macro values with
53257 "==". Parse all "macro" lines in one place.
53258 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53260 * conform/conformtest.pl: Handle braced types on "constant" lines
53261 instead of handling "typed-constant".
53262 * conform/data/signal.h-data: Use "constant" instead of
53265 * conform/conformtest.pl: Handle "optional-" at start of lines in
53266 one place rather than duplicating several cases. Handle each
53267 format of "macro" line with initial "optional-".
53269 * conform/conformtest.pl: Only accept expected constant or
53270 optional-constant values with "==". Parse all "constant" lines in
53271 one place. Parse all "optional-constant" lines in one place.
53272 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53273 * conform/data/fmtmsg.h-data: Likewise.
53274 * conform/data/netinet/in.h-data: Likewise.
53275 * conform/data/tar.h-data: Likewise.
53276 * conform/data/limits.h-data: Use "==" form on "constant" and
53277 "optional-constant" lines.
53279 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53280 Use -std=c99 for XOPEN2K.
53281 (@knownproblems): Remove.
53282 (newtoken): Don't check %isknown.
53284 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53285 Do not expect macro.
53286 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53287 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53288 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53289 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53290 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53291 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53292 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53293 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53294 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53295 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53296 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53297 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53298 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53299 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53300 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53301 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53302 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53303 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53304 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53305 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53306 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53307 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53308 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53309 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53310 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53311 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53312 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53313 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53314 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53315 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53316 [XPG3] (acosh): Likewise.
53317 [XPG3] (asinh): Likewise.
53318 [XPG3] (atanh): Likewise.
53319 [XPG3] (cbrt): Likewise.
53320 [XPG3] (expm1): Likewise.
53321 [XPG3] (ilogb): Likewise.
53322 [XPG3] (log1p): Likewise.
53323 [XPG3] (logb): Likewise.
53324 [XPG3] (nextafter): Likewise.
53325 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53326 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53327 [XPG3] (remainder): Likewise.
53328 [XPG3] (rint): Likewise.
53329 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53330 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53331 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53332 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53333 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53334 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53335 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53336 [UNIX98 || XOPEN2K] (scalb): Expect.
53337 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53338 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53339 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53340 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53341 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53342 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53343 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53344 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53345 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53346 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53347 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53348 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53349 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53350 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53351 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53352 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53353 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53354 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53355 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53356 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53357 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53358 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53359 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53360 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53361 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53362 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53363 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53364 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53365 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53366 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53367 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53368 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53369 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53370 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53371 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53372 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53373 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53374 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53375 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53376 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53377 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53378 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53379 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53380 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53381 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53382 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53383 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53384 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53385 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53386 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53387 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53388 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53389 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53390 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53391 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53392 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53393 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53394 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53395 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53396 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53397 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53398 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53399 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53400 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53401 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53402 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53403 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53404 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53405 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53406 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53407 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53408 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53409 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53410 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53411 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53412 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53413 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53414 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53415 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53416 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53417 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53418 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53419 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53420 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53421 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53422 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53423 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53424 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53425 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53426 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53427 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53428 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53429 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53430 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53431 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53432 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53433 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53434 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53435 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53436 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53437 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53438 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53439 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53440 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53441 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53442 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53443 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53444 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53445 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53446 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53447 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53448 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53449 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53450 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53451 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53452 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53453 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53454 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53455 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53456 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53457 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53458 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53459 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53460 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53461 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53462 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53463 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53464 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53465 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53466 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53467 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53468 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53469 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53470 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53471 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53472 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53473 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53475 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53476 _XOPEN_SOURCE_EXTENDED for XPG4.
53478 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53480 * Makeconfig (localtime): Remove variable.
53481 (inst_localtime-file): Likewise.
53483 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53504 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53508 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53509 comparisons to determine direction to adjust input.
53510 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53511 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53512 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53514 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53516 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53518 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53519 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53521 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53523 * math/libm-test.inc (nexttoward_test): Add more tests.
53525 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53528 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53529 in version GLIBC_2.1, not GLIBC_2.0.
53530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53533 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53536 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53538 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53539 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53540 * math/libm-test.inc (acos_test): Add more tests.
53541 (asin_test): Likewise.
53542 * sysdeps/i386/fpu/libm-test-ulps: Update.
53543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53546 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53548 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53549 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53550 * math/libm-test.inc (acos_test_tonearest): New function.
53551 (acos_test_towardzero): Likewise.
53552 (acos_test_downward): Likewise.
53553 (acos_test_upward): Likewise.
53554 (asin_test_tonearest): Likewise.
53555 (asin_test_towardzero): Likewise.
53556 (asin_test_downward): Likewise.
53557 (asin_test_upward): Likewise.
53558 (main): Call the new functions.
53559 * sysdeps/i386/fpu/libm-test-ulps: Update.
53560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53564 * math/e_exp10.c: Include <float.h>.
53565 (__ieee754_exp10): Handle underflow here rather than multiplying
53566 large negative argument by M_LN10.
53567 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53569 * math/e_exp10l.c: Include <float.h>.
53570 (__ieee754_exp10l): Handle underflow here rather than multiplying
53571 large negative argument by M_LN10l.
53572 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53573 spurious overflow exception on underflow.
53575 2012-04-29 Marek Polacek <polacek@redhat.com>
53577 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53578 (__fortify_function): New macro.
53579 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53580 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53581 __extern_always_inline.
53582 * libio/bits/stdio2.h: Likewise.
53583 * libio/bits/stdio.h: Likewise.
53584 * string/string.h: Likewise.
53585 * string/bits/string3.h: Likewise.
53586 * include/stdio.h: Likewise.
53587 * stdlib/bits/stdlib.h: Likewise.
53588 * stdlib/stdlib.h: Likewise.
53589 * rt/bits/mqueue2.h: Likewise.
53590 * rt/mqueue.h: Likewise.
53591 * posix/bits/unistd.h: Likewise.
53592 * posix/unistd.h: Likewise.
53593 * io/bits/poll2.h: Likewise.
53594 * io/bits/fcntl2.h: Likewise.
53595 * io/fcntl.h: Likewise.
53596 * io/sys/poll.h: Likewise.
53597 * misc/bits/syslog.h: Likewise.
53598 * misc/bits/syslog-ldbl.h: Likewise.
53599 * misc/sys/syslog.h: Likewise.
53600 * socket/bits/socket2.h: Likewise.
53601 * socket/sys/socket.h: Likewise.
53602 * debug/tst-chk1.c: Likewise.
53603 * wcsmbs/bits/wchar2.h: Likewise.
53604 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53605 * wcsmbs/wchar.h: Likewise.
53607 2012-04-29 Andreas Jaeger <aj@suse.de>
53609 * Makerules (tests): Remove enable-check-abi protection.
53610 (check-abi-warn): Remove.
53611 (check-abi-%): Remove check-abi-warn usage.
53613 * configure.in: Remove check-abi configure option.
53614 * configure: Regenerated.
53615 * config.make.in (enable-check-abi): Remove.
53617 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53620 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53621 double functions to double *_finite functions.
53624 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53625 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53627 * stdio-common/Makefile (tests): Add tst-sprintf3.
53628 * stdio-common/tst-sprintf3.c: New file.
53630 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53631 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53633 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53635 * conform/conformtest.pl: Remove duplicate typed-constant
53638 2012-04-28 David S. Miller <davem@davemloft.net>
53640 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53641 (check-abi-%): Remove AWK script prerequisite and explicit
53643 (check-abi): Rewrite to just diff the symlist with the abilist.
53644 (config-tls, config-abi-config): Delete, no longer used.
53645 (update-abi-%): Remove AWK script and explicit abilist directory.
53646 (update-abi): Rewrite to simply compare and conditionally copy the
53647 symlist and the sysdep abilist file. Remove update-abi-config
53649 * abilist/ld.abilist: Remove.
53650 * abilist/libBrokenLocale.abilist: Remove.
53651 * abilist/libanl.abilist: Remove.
53652 * abilist/libcrypt.abilist: Remove.
53653 * abilist/libdl.abilist: Remove.
53654 * abilist/librt.abilist: Remove.
53655 * abilist/libthread_db.abilist: Remove.
53656 * abilist/libutil.abilist: Remove.
53657 * scripts/extract-abilist.awk: Remove.
53658 * scripts/merge-abilist.awk: Remove.
53659 * sysdeps/generic/libcidn.abilist: New file.
53660 * sysdeps/generic/libnss_compat.abilist: New file.
53661 * sysdeps/generic/libnss_db.abilist: New file.
53662 * sysdeps/generic/libnss_dns.abilist: New file.
53663 * sysdeps/generic/libnss_files.abilist: New file.
53664 * sysdeps/generic/libnss_hesiod.abilist: New file.
53665 * sysdeps/generic/libnss_nis.abilist: New file.
53666 * sysdeps/generic/libnss_nisplus.abilist: New file.
53667 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53668 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53669 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53672 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53673 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53674 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53675 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53676 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53677 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53678 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53679 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53681 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53682 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53683 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53684 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53686 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53687 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53688 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53689 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53690 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53691 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53693 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53694 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53695 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53697 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53800 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53801 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53802 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53805 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53806 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53807 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53808 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53809 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53810 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53811 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53812 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53813 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53865 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53867 * conform/conformtest.pl: Fix typo in handling typed-constant from
53870 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53872 * README: Cut down references to pre-2.6 Linux kernels and
53873 Linuxthreads. Update lists of configurations in libc and ports
53874 and sort alphabetically. Say "or newer" with Linux kernel version
53877 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53879 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53882 * math/libm-test.inc (logb_test_downward): New test to expose
53883 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53886 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53889 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53891 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53892 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53894 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53896 * sysdeps/unix/i386/brk.S: Remove file.
53897 * sysdeps/unix/i386/dl-brk.S: Likewise.
53898 * sysdeps/unix/i386/pipe.S: Likewise.
53899 * sysdeps/unix/i386/sigreturn.S: Likewise.
53900 * sysdeps/unix/i386/syscall.S: Likewise.
53901 * sysdeps/unix/i386/vfork.S: Likewise.
53902 * sysdeps/unix/i386/wait.S: Likewise.
53904 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53905 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53907 * configure.in (arm*-none*): Do not allow without
53908 --enable-hacker-mode.
53909 (netbsd*): Remove case setting base_os.
53910 (386bsd*): Likewise.
53911 (freebsd*): Likewise.
53914 (sunos*): Likewise.
53915 (ultrix*): Likewise.
53916 (newsos*): Likewise.
53917 (dynix*): Likewise.
53923 (minix*): Likewise.
53924 (irix4*): Likewise.
53925 (irix6*): Likewise.
53926 (solaris[2-9]*): Likewise.
53928 * configure: Regenerated.
53930 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53933 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53934 overflow or cancellation in calculating denominator.
53935 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53937 down expression to avoid unexpected rounding in newer GCCs.
53938 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53940 2012-04-26 David S. Miller <davem@davemloft.net>
53942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53943 long-double compat symbols.
53944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53958 2012-04-25 David S. Miller <davem@davemloft.net>
53960 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53961 HWCAP_* values only after the memory barriers have been defined.
53962 (atomic_full_barrier): Define.
53963 (atomic_read_barrier): Define.
53964 (atomic_write_barrier): Define.
53966 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53968 * shlib-versions: Add libgcc_s version information.
53969 * sysdeps/generic/libgcc_s.h: Remove.
53970 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53972 * sysdeps/gnu/unwind-resume.c: Likewise.
53973 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53975 2012-04-25 David S. Miller <davem@davemloft.net>
53977 * sysdeps/unix/sparc/brk.S: Delete.
53978 * sysdeps/unix/sparc/dl-brk.S: Delete.
53979 * sysdeps/unix/sparc/pipe.S: Delete.
53980 * sysdeps/unix/sparc/sysdep.S: Delete.
53981 * sysdeps/unix/sparc/sysdep.h: Delete.
53982 * sysdeps/unix/sparc/vfork.S: Delete.
53983 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53984 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53985 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53986 (ret_ERRVAL, r0, r1, MOVE): Define.
53987 (JUMPTARGET): Remove.
53988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53989 sysdeps/unix/sparc/sysdep.h
53990 (ENTRY, END): Remove.
53991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53993 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53995 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53996 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53999 * timezone/README: Update upstream location and email address for
54001 * timezone/zdump.c: Update from tzcode 2012b.
54002 * timezone/zic.c: Likewise.
54004 * configure.in (libc_cv_as_needed): Remove test.
54005 * configure: Regenerated.
54006 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54007 conditional definition.
54008 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54009 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54010 * config.make.in (have-as-needed): Remove variable.
54012 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54013 Paul Pluzhnikov <ppluzhnikov@google.com>
54015 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54018 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54020 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54021 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54022 * sysdeps/sh/strlen.S: Likewise.
54024 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54026 * sysdeps/unix/fork.S: Remove file.
54027 * sysdeps/unix/i386/fork.S: Likewise.
54028 * sysdeps/unix/sparc/fork.S: Likewise.
54030 * sysdeps/unix/system.c: Remove file.
54031 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54033 * sysdeps/unix/getegid.S: Remove file.
54034 * sysdeps/unix/geteuid.S: Likewise.
54036 2012-04-24 Roland McGrath <roland@hack.frob.com>
54038 * scripts/check-localplt.awk: New file.
54039 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54041 * scripts/data/localplt-generic.data: Add a comment.
54043 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54044 NODE when __dir_mkfile failed.
54045 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54046 Reported by Ludovic Courtès <ludo@gnu.org>.
54048 2012-04-24 Andreas Jaeger <aj@suse.de>
54050 * Makerules (common-clean): Also remove gen-as-const-headers
54053 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54055 * Makerules (native-compile): Do not change working directory for
54056 build. Use $(OUTPUT_OPTION) in command.
54057 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54059 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54062 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54063 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54064 * math/libm-test.inc (floor_test): Add more tests.
54065 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54067 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54069 * sysdeps/unix/getdents.c: Remove file.
54070 * sysdeps/unix/sysv/getdents.c: Likewise.
54071 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54073 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54074 sysdeps/unix/mman/syscalls.list.
54076 (mprotect): Likewise.
54078 (munmap): Likewise.
54079 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54080 * sysdeps/unix/mman/syscalls.list: Remove.
54081 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54083 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54084 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54085 * configure: Regenerated.
54086 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54087 $(libgcc_s_suffix).
54088 * config.make.in (libgcc_s_suffix): Remove variable.
54090 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54092 * sysdeps/unix/sysv/gethostname.c: Move to ...
54093 * sysdeps/posix/gethostname.c: ... here.
54095 * sysdeps/unix/execve.S: Remove file.
54097 * sysdeps/unix/_exit.S: Remove file.
54099 2012-04-23 Andreas Jaeger <aj@suse.de>
54102 * manual/Makefile: Remove make dist support, there's no
54103 need for a stand-alone documentation tar ball.
54104 (TEXI2DVI): Define always, it's not in Makeconfig.
54107 (edition): Removed.
54108 (glibc-doc-$(edition).tar): Removed
54112 (ETAGS): Remove, it's in Makeconfig.
54113 (move-if-change): Remove, it's in Makeconfig.
54115 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54118 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54119 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54120 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54121 (strtod_l, strtof_l, strtold_l): Remove __wur.
54122 It is not necessarily an error to ignore strtol's return value.
54123 One can reliably look at the stored endptr to decide whether
54124 the number had valid syntax.
54126 2012-04-21 Andreas Jaeger <aj@suse.de>
54129 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54131 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54133 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54134 * sysdeps/unix/sysv/Versions: Remove file.
54136 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54141 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54145 version from __vm86.
54147 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54149 * sysdeps/unix/common/lxstat.c: Remove file.
54150 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54152 * sysdeps/unix/sysv/Makefile: Remove file.
54154 * sysdeps/unix/sysv/direct.h: Remove file.
54156 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54157 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54158 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54159 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54160 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54161 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54162 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54164 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54166 * sysdeps/unix/xmknod.c: Remove file.
54167 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54169 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54171 * sysdeps/unix/sysv/i386/time.S: Remove file.
54173 * sysdeps/unix/fxstat.c: Remove file.
54174 * sysdeps/unix/xstat.c: Likewise.
54175 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54177 * sysdeps/unix/sysv/sigaction.c: Remove file.
54179 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54180 (sysdep_headers): Remove variable.
54181 [termio.h not in sysdep_headers] (generated): Likewise.
54182 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54183 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54184 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54185 * sysdeps/unix/sysv/tcflow.c: Likewise.
54186 * sysdeps/unix/sysv/tcflush.c: Likewise.
54187 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54188 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54189 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54190 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54191 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54193 * sysdeps/unix/siglist.c: Remove file.
54195 * sysdeps/unix/getppid.S: Remove file.
54197 * sysdeps/unix/mkdir.c: Remove file.
54198 * sysdeps/unix/rmdir.c: Likewise.
54200 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54202 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54204 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54205 errlist-compat value.
54207 2012-04-18 David S. Miller <davem@davemloft.net>
54209 * sysdeps/generic/memcopy.h (reg_char): Delete.
54210 * debug/strcat_chk.c: Use char, not reg_char.
54211 * debug/strcpy_chk.c: Likewise.
54212 * debug/strncat_chk.c: Likewise.
54213 * debug/strncpy_chk.c: Likewise.
54214 * string/memchr.c: Likewise.
54215 * string/memrchr.c: Likewise.
54216 * string/rawmemchr.c: Likewise.
54217 * string/strcat.c: Likewise.
54218 * string/strchr.c: Likewise.
54219 * string/strchrnul.c: Likewise.
54220 * string/strcmp.c: Likewise.
54221 * string/strcpy.c: Likewise.
54222 * string/strncat.c: Likewise.
54223 * string/strncmp.c: Likewise.
54224 * string/strncpy.c: Likewise.
54226 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54228 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54229 __builtin_memcopy is called when src and dest ranges are known to not
54232 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54234 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54235 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54236 fwd_align_merge macro call.
54237 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54238 bwd_align_merge macro call.
54239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54241 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54243 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54244 bwd_align_merge macros.
54245 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54246 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54247 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54249 2012-04-18 David S. Miller <davem@davemloft.net>
54251 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54253 2012-04-18 Andreas Jaeger <aj@suse.de>
54256 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54257 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54258 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54260 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54261 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54264 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54265 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54266 Adjust for changed ldbl-128 files.
54268 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54269 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54270 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54272 2012-04-17 David S. Miller <davem@davemloft.net>
54274 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54276 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54278 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54279 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54280 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54281 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54282 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54283 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54285 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54288 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54289 * math/libm-test.inc: Add ilogb errno and exception tests.
54290 * math/w_ilogb.c: New file: ilogb wrapper.
54291 * math/w_ilogbf.c: New file: ilogbf wrapper.
54292 * math/w_ilogbl.c: New file: ilogbl wrapper.
54293 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54294 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54295 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54296 exception being thrown with 0.0 as argument.
54297 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54298 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54299 exception being thrown with 0.0 as argument.
54300 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54301 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54302 exception being thrown with 0.0 as argument.
54303 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54304 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54305 exception being thrown with 0.0 as argument.
54306 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54307 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54308 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54309 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54310 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54311 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54312 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54313 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54314 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54316 2012-04-17 Petr Baudis <pasky@ucw.cz>
54318 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54321 2012-04-16 Marek Polacek <polacek@redhat.com>
54323 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54325 2012-04-16 Marek Polacek <polacek@redhat.com>
54327 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54328 operands of fdivp instruction.
54330 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54332 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54333 * elf/tst-auditmod3b.c: Likewise.
54334 * elf/tst-auditmod4b.c: Likewise.
54335 * elf/tst-auditmod5b.c: Likewise.
54336 * elf/tst-auditmod6b.c: Likewise.
54337 * elf/tst-auditmod6c.c: Likewise.
54338 * elf/tst-auditmod7b.c: Likewise.
54339 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54340 * sysdeps/x86_64/preconfigure.in: Likewise.
54341 * sysdeps/x86_64/preconfigure: Regenerated.
54343 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54345 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54348 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54351 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54353 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54356 * locale/iso-639.def: Fix gl language name. Spotted by
54359 2012-04-12 Roland McGrath <roland@hack.frob.com>
54362 * libio/libio.h (__io_write_fn): Update comment.
54364 2012-04-12 Petr Baudis <pasky@ucw.cz>
54367 * stdio.texi (Hook Functions): The user provided writer function
54368 is not allowed to return -1.
54370 2012-04-11 David S. Miller <davem@davemloft.net>
54372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54374 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54376 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54377 Add a leading slash to rtkaio.
54379 2012-04-11 Jim Meyering <meyering@redhat.com>
54382 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54383 It is not necessarily an error to ignore fwrite's return
54384 value. One can reliably use ferror to test for errors after
54387 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54389 * bits/types.h (__snseconds_t): New type.
54390 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54392 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54394 (__SNSECONDS_T_TYPE): Likewise.
54395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54396 (__SNSECONDS_T_TYPE): Likewise.
54397 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54398 (__SNSECONDS_T_TYPE): Likewise.
54400 2012-04-10 Andreas Jaeger <aj@suse.de>
54403 * manual/time.texi (Processor Time): Return type of times is
54404 elapsed real time since an arbitrary point in the past.
54405 (CPU Time): Move CLK_TCK from here...
54406 (Processor Time): ...to here. Correct description.
54407 * manual/conf.texi (Constants for Sysconf): Correct description of
54410 2012-04-10 David S. Miller <davem@davemloft.net>
54413 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54414 where the is a gap between DT_REL(A) and DT_JMPREL.
54416 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54418 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54419 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54420 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54422 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54424 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54425 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54426 (dl_main): Handle --inhibit-cache.
54427 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54429 * elf/dl-load.c (_dl_map_object): Use it.
54430 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54432 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54435 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54436 (__ieee754_powl): Saturate large exponents rather than testing for
54437 overflow of y*log2(x).
54438 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54439 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54443 * math/s_ctan.c: Include <float.h>.
54444 (__ctan): Avoid internal overflow or cancellation in calculating
54446 * math/s_ctanf.c: Likewise.
54447 * math/s_ctanl.c: Likewise.
54448 * math/s_ctanh.c: Likewise.
54449 * math/s_ctanhf.c: Likewise.
54450 * math/s_ctanhl.c: Likewise.
54451 * math/libm-test.inc (ctan_test): Add more tests.
54452 (ctanh_test): Likewise.
54453 * sysdeps/i386/fpu/libm-test-ulps: Update.
54454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54456 2012-04-09 Andreas Jaeger <aj@suse.de>
54459 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54460 is an optional BSD extension.
54463 * manual/stdio.texi (Opening Streams): Document additional fopen
54466 2012-04-09 Roland McGrath <roland@hack.frob.com>
54468 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54469 %eax without telling the compiler.
54471 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54474 * manual/install.texi: Use sourceware.org.
54476 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54479 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54480 (__ieee754_pow): Generate overflow and underflow using huge*huge
54481 and tiny*tiny rather than just returning constant infinity or zero
54482 for large exponents.
54483 * math/libm-test.inc (pow_test): Require overflow exceptions for
54484 applicable cases of large exponents.
54487 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54488 (__ieee754_pow): Use iterative multiplication algorithm only for
54489 integer exponents with absolute value below 1024. Check for odd
54490 integer exponents when using algorithm for real exponents.
54491 * math/libm-test.inc (pow_test): Add more tests.
54492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54494 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54497 * math/libm-test.inc (exp_test): Do not allow overflow exception
54500 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54503 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54504 instead of __kernel_standard_f.
54506 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54508 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54509 * sysdeps/x86_64/memset_chk.S: Likewise.
54511 2012-04-08 Andreas Jaeger <aj@suse.de>
54514 * manual/startup.texi (Environment Access): Describe return value
54515 for putenv and setenv.
54518 * manual/filesys.texi (Directory Entries): Add description for
54522 * manual/filesys.texi (Directory Entries): Clarify that it's file
54523 system not operating system in the description of DT_UNKNOWN.
54526 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54528 2012-04-08 Stephen Compall <s11@member.fsf.org>
54531 * manual/llio.texi (Opening and Closing Files): Add cross
54532 reference to explain mode argument.
54534 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54536 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54537 * sysdeps/x86_64/memset_chk.S: Likewise.
54539 2012-04-07 David S. Miller <davem@davemloft.net>
54541 * elf/elf.h (R_SPARC_WDISP10): Define.
54542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54545 R_SPARC_SIZE64 and R_SPARC_H34.
54547 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54550 conditions and remove no longer applicable assertion.
54552 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54554 * bits/byteswap.h: Include <features.h>.
54555 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54556 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54558 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54560 * bits/byteswap.h (__bswap_16): Removed.
54561 Include <bits/byteswap-16.h> to get __bswap_16.
54562 * sysdeps/i386/bits/byteswap.h: Likewise.
54563 * sysdeps/s390/bits/byteswap.h: Likewise.
54564 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54565 * bits/byteswap-16.h: New file.
54566 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54567 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54568 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54569 * string/Makefile (headers): Add bits/byteswap-16.h.
54571 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54574 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54576 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54577 * nss/tst-nss-static.c: New.
54579 2012-04-06 Robert Millan <rmh@gnu.org>
54582 * manual/llio.texi (File Position Primitive): lseek
54583 refers to WHENCE when it really means OFFSET.
54585 2012-04-06 Andreas Jaeger <aj@suse.de>
54587 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54588 strncmp declarations.
54590 * abilist/libc.abilist: Add __poll and __ppoll.
54592 2012-04-05 David S. Miller <davem@davemloft.net>
54594 * scripts/check-local-headers.sh: Accept a host triplet in the
54595 path matched by the exclude regexp.
54597 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54599 * sysdeps/powerpc/powerpc32/dl-machine.h
54600 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54601 * sysdeps/s390/s390-32/dl-machine.h
54602 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54603 * sysdeps/sparc/sparc32/dl-machine.h
54604 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54605 * sysdeps/sparc/sparc64/dl-machine.h
54606 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54608 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54610 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54611 undefined symbol errors.
54613 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54616 2012-04-05 Michael Matz <matz@suse.de>
54619 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54621 2012-04-05 Andreas Jaeger <aj@suse.de>
54624 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54627 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54629 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54630 which ROUND is no valid rounding mode.
54632 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54634 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54636 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54638 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54640 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54641 an exception using FPU order intentionally.
54643 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54645 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54646 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54647 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54648 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54650 2012-04-05 Simon Josefsson <simon@josefsson.org>
54653 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54654 EINVAL when BUFLEN is too smal.
54656 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54659 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54660 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54662 2012-04-03 Andreas Jaeger <aj@suse.de>
54665 * manual/setjmp.texi (System V contexts): Fix sentence.
54668 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54669 New macro for this case.
54670 [!__GNUC__] (__bswap_64): New inline function for this case.
54671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54672 * bits/byteswap.h: Likewise.
54673 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54674 ull, guard with __GLIBC_HAVE_LONG_LONG.
54676 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54677 __GLIBC_HAVE_LONG_LONG.
54679 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54680 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54682 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54685 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54686 inptr and inend, rather than using last_ch.
54688 2012-04-02 David S. Miller <davem@davemloft.net>
54690 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54691 * stdio-common/printf-parse.h (read_int): Change return type to
54692 'int', return -1 on INT_MAX overflow.
54693 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54694 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54695 overflows INT_MAX. Check for overflow of in-format-string precision
54696 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54697 SIZE_MAX not INT_MAX for integer overflow test.
54698 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54699 skip the construct in the format string but do not record anything.
54700 * stdio-common/bug22.c: Adjust to test both width/prevision
54701 INT_MAX overflow as well as total length INT_MAX overflow. Check
54702 explicitly for proper errno values.
54704 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54706 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54708 * string/test-strcmp.c [! WIDE]: Likewise.
54709 * time/tst-mktime2.c: Likewise for INT_MAX.
54710 * string/test-string.h: #include <sys/param.h> for MIN.
54712 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54713 * sysdeps/i386/init-first.c (init): Likewise.
54714 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54715 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54716 * sysdeps/sh/init-first.c (init): Likewise.
54718 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54720 * po/ru.po: Update from translation team.
54721 * po/vi.po: Likewise.
54723 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54725 * resolv/nss_dns/dns-host.c: Merge copyright years.
54727 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54729 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54730 Optimize memcpy with prefetch if
54731 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54732 src, dst pointers have unequal 16 byte alignments.
54734 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54737 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54738 from a CNAME entry and return the minimum ttl for the query.
54739 (gaih_getanswer_slice): Likewise.
54741 2012-03-30 Jeff Law <law@redhat.com>
54743 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54745 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54746 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54748 * resolv/nss_dns/dns-host.c: Update copyright year.
54750 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54752 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54753 requests to save a system call. Fix check that all bytes are sent.
54755 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54756 comments for sendmmsg.
54758 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54761 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54762 with only 1 character between 0x0041 and 0x01b0.
54763 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54764 * wcsmbs/tst-mbsnrtowcs.c: New file.
54766 2012-03-29 David S. Miller <davem@davemloft.net>
54768 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54769 small copies by hand.
54771 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54774 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54775 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54778 2012-03-28 David S. Miller <davem@davemloft.net>
54780 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54781 that branches into memcpy.
54782 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54785 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54788 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54789 implementation too.
54790 * sysdeps/sparc/mempcpy.S: New file.
54792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54793 the IFUNC routine in the libc case.
54794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54796 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54797 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54798 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54799 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54800 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54801 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54802 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54803 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54805 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54806 loop to 256 bytes instead of 64 bytes and fix test signedness.
54808 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54809 * sysdeps/sparc/sparc32/Makefile: rather than here...
54810 * sysdeps/sparc/sparc64/Makefile: and here.
54812 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54814 * malloc/mallocbug.c: Avoid warnings about unused variables.
54816 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54819 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54820 in the right place. Discard and retry query if response is
54821 larger than input buffer size.
54823 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54829 x for large integer exponent.
54830 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54831 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54832 sign of result as needed afterwards.
54833 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54834 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54835 result for underflowing pow the same as for overflow.
54836 (__kernel_standard_l): Handle powl overflow and underflow here
54837 rather than calling __kernel_standard.
54838 * math/libm-test.inc (pow_test): Add more tests.
54853 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54854 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54855 (__kernel_standard_l): New function.
54856 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54858 * math/w_acosl.c (__acosl): Likewise.
54859 * math/w_asinl.c (__asinl): Likewise.
54860 * math/w_atan2l.c (__atan2l): Likewise.
54861 * math/w_atanhl.c (__atanhl): Likewise.
54862 * math/w_coshl.c (__coshl): Likewise.
54863 * math/w_exp10l.c (__exp10l): Likewise.
54864 * math/w_exp2l.c (__exp2l): Likewise.
54865 * math/w_fmodl.c (__fmodl): Likewise.
54866 * math/w_hypotl.c (__hypotl): Likewise.
54867 * math/w_j0l.c (__j0l, __y0l): Likewise.
54868 * math/w_j1l.c (__j1l, __y1l): Likewise.
54869 * math/w_jnl.c (__jnl, __ynl): Likewise.
54870 * math/w_lgammal.c (__lgammal): Likewise.
54871 * math/w_log10l.c (__log10l): Likewise.
54872 * math/w_log2l.c (__log2l): Likewise.
54873 * math/w_logl.c (__logl): Likewise.
54874 * math/w_powl.c (__powl): Likewise.
54875 * math/w_remainderl.c (__remainderl): Likewise.
54876 * math/w_scalbl.c (sysv_scalbl): Likewise.
54877 * math/w_sinhl.c (__sinhl): Likewise.
54878 * math/w_sqrtl.c (__sqrtl): Likewise.
54879 * math/w_tgammal.c (__tgammal): Likewise.
54880 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54881 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54882 * math/libm-test.inc (acos_test): Add more tests.
54883 (acosh_test): Likewise.
54884 (asin_test): Likewise.
54885 (atanh_test): Likewise.
54886 (exp_test): Likewise.
54887 (exp10_test): Likewise.
54888 (exp2_test): Likewise.
54889 (expm1_test): Likewise.
54890 (lgamma_test): Likewise.
54891 (log_test): Likewise.
54892 (log10_test): Likewise.
54893 (log1p_test): Likewise.
54894 (log2_test): Likewise.
54895 (pow_test): Do not allow some spurious overflow exceptions.
54896 (sqrt_test): Add more tests.
54897 (tgamma_test): Likewise.
54898 (y0_test): Likewise.
54899 (y1_test): Likewise.
54900 (yn_test): Likewise.
54902 2012-03-27 Anton Blanchard <anton@samba.org>
54904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54906 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54907 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54908 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54910 2012-03-27 David S. Miller <davem@davemloft.net>
54912 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54914 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54915 have-as-vis3 check.
54917 2012-03-27 Andreas Jaeger <aj@suse.de>
54919 * sysdeps/x86_64/elf/configure.in: Moved to ...
54920 * sysdeps/x86_64/configure.in: ... here.
54921 * sysdeps/x86_64/elf/start.S: Moved to ...
54922 * sysdeps/x86_64/start.S: ... here.
54923 * sysdeps/x86_64/elf/configure: Delete.
54925 * sysdeps/x86_64/configure.in: Merge contents from
54926 sysdeps/i386/configure.in (without i686 check).
54928 * sysdeps/i386/elf/Versions: Merge into ...
54929 * sysdeps/i386/Versions: ... this.
54930 * sysdeps/i386/elf/Versions: Delete file.
54931 * sysdeps/i386/elf/start.S: Moved to ...
54932 * sysdeps/i386/start.S: ...here.
54933 * sysdeps/i386/elf/configure.in: Merge into...
54934 * sysdeps/i386/configure.in: ...here.
54935 * sysdeps/i386/elf/configure.in: Delete file.
54936 * sysdeps/i386/elf/configure: Delete file.
54938 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54939 * debug/backtracesyms.c: ... here.
54940 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54941 * debug/backtracesymsfd.c: ... here.
54942 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54943 * sysdeps/generic/ifunc-sel.h: ... here.
54945 * sysdeps/unix/i386/start.c: Delete file.
54946 * sysdeps/unix/sparc/start.c: Delete file.
54947 * sysdeps/unix/start.c: Delete file.
54949 * sysdeps/sh/elf/configure.in: Moved to ...
54950 * sysdeps/sh/configure.in: ... here.
54951 * sysdeps/sh/elf/start.S: Moved to ...
54952 * sysdeps/sh/start.S: ... here.
54953 * sysdeps/sh/elf/configure: Delete file.
54955 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54956 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54957 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54958 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54959 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54960 * sysdeps/powerpc/powerpc64/start.S: here.
54961 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54962 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54963 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54964 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54965 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54967 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54968 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54969 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54970 * sysdeps/powerpc/powerpc32/start.S: ... here.
54971 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54972 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54973 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54975 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54976 * sysdeps/powerpc/ifunc-sel.h: ... here.
54977 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54978 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54980 * sysdeps/sparc/elf/configure.in: Moved to ...
54981 * sysdeps/sparc/configure.in: ... here.
54982 * sysdeps/sparc/elf/configure: Delete file.
54983 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54984 * sysdeps/sparc/sparc32/start.S: ... here.
54985 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54986 * sysdeps/sparc/sparc64/start.S: ... here.
54987 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54988 * sysdeps/sparc/sparc32/Makefile: ... this.
54989 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54990 * sysdeps/sparc/sparc64/Makefile: ... this.
54992 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54993 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54994 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54995 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54996 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54997 * sysdeps/s390/s390-32/setjmp.S: ... here.
54998 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54999 * sysdeps/s390/s390-32/configure.in: ... here.
55000 * sysdeps/s390/s390-32/elf/configure: Delete file.
55001 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55002 * sysdeps/s390/s390-32/start.S: ... here.
55004 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55005 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55006 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55007 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55008 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55009 * sysdeps/s390/s390-64/setjmp.S: ... here.
55010 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55011 * sysdeps/s390/s390-64/configure.in: ... here
55012 * sysdeps/s390/s390-64/elf/configure: Delete file.
55013 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55014 * sysdeps/s390/s390-64/start.S: ... here.
55015 * sysdeps/s390/s390-64/elf/configure: Delete.
55017 * configure.in: Remove support for elf directories in sysdeps.
55019 * configure: Regenerated.
55020 * sysdeps/i386/configure: Regenerated.
55021 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55022 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55023 * sysdeps/s390/s390-32/configure: Regenerated.
55024 * sysdeps/s390/s390-64/configure: Regenerated.
55025 * sysdeps/sh/configure: Regenerated.
55026 * sysdeps/sparc/configure: Regenerated.
55027 * sysdeps/x86_64/configure: Regenerated.
55029 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55033 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55034 denormal result into account.
55036 2012-03-25 Roland McGrath <roland@hack.frob.com>
55038 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55039 Reported by Allan McRae <allan@archlinux.org>.
55041 2012-03-23 Jeff Law <law@redhat.com>
55043 * nss/getnssent.c (__nss_getent): Fix typo.
55045 2012-03-23 David S. Miller <davem@davemloft.net>
55047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55049 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55051 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55052 to pad to uint64_t for each field.
55053 (dl_tls_index): Replace unsigned long with uint64_t.
55055 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55056 Paul Pluzhnikov <ppluzhnikov@google.com>
55059 * grp/Makefile (otherlibs): Don't set it.
55060 * inet/Makefile (otherlibs): Likewise.
55061 * login/Makefile (otherlibs): Likewise.
55062 * nscd/Makefile (otherlibs): Likewise.
55063 * posix/Makefile (otherlibs): Likewise.
55064 * pwd/Makefile (otherlibs): Likewise.
55065 * rt/Makefile (otherlibs): Likewise.
55066 * sunrpc/Makefile (otherlibs): Likewise.
55067 * nss/Makefile (otherlibs): Likewise.
55068 Add libnss_files to routines and static-only-routines.
55069 ($(objpfx)getent): Remove rule.
55070 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55071 static-only-routines.
55073 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55076 * math/s_cexp.c: Include <float.h>.
55077 (__cexp): Handle exp result overflowing not necessarily
55078 overflowing both real and imaginary parts of result.
55079 * math/s_cexpf.c: Likewise.
55080 * math/s_cexpl.c: Likewise.
55081 * math/libm-test.inc (cexp_test): Add more tests.
55082 * sysdeps/i386/fpu/libm-test-ulps: Update.
55083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55085 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55087 * include/link.h (ELFW): New macro.
55088 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55089 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55091 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55093 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55096 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55098 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55100 (struct La_x32_retval): Likewise.
55102 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55104 * sysdeps/x86_64/preconfigure.in: New file.
55105 * sysdeps/x86_64/preconfigure: New generated file.
55107 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55110 * math/e_exp2l.c: Include <float.h>.
55111 (__ieee754_exp2l): Handle overflow and underflow cases
55112 separately. Only pass fractional part of argument to
55114 * math/libm-test.inc (exp2_test): Add more tests.
55116 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55117 negating x to take absolute value.
55118 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55120 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55121 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55123 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55124 computing low part if x was negated.
55125 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55127 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55129 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55130 la_x32_gnu_pltexit.
55131 (pltexit): Cast int_retval to ptrdiff_t.
55132 * elf/tst-auditmod3b.c: Likewise.
55133 * elf/tst-auditmod4b.c: Likewise.
55134 * elf/tst-auditmod5b.c: Likewise.
55135 * elf/tst-auditmod6b.c: Likewise.
55136 * elf/tst-auditmod6c.c: Likewise.
55137 * elf/tst-auditmod7b.c: Likewise.
55139 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55140 and x32_gnu_pltexit.
55142 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55143 __ELF_NATIVE_CLASS.
55144 (La_x32_regs): New macro.
55145 (La_x32_retval): Likewise.
55146 (la_x32_gnu_pltenter): New function prototype.
55147 (la_x32_gnu_pltexit): Likewise.
55149 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55156 * configure.in (libc_cv_cc_nofma): Check for option to disable
55157 generation of FMA instructions.
55158 * configure: Regenerate.
55159 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55160 * sysdeps/ieee754/dbl-64/Makefile: New file.
55161 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55162 Remove brandred-fma4.
55163 (CFLAGS-brandred-fma4.c): Remove.
55164 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55165 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55167 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55170 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55172 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55173 LLONG_MAX != LONG_MAX.
55174 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55175 (_fitoa_word): Likewise.
55176 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55177 LLONG_MAX != LONG_MAX.
55178 * stdio-common/_itowa.h: Include <_itoa.h>.
55179 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55180 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55181 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55182 only if not defined.
55183 (_ITOA_WORD_TYPE): Likewise.
55184 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55185 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55187 2012-03-21 David S. Miller <davem@davemloft.net>
55189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55191 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55193 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55194 of x86_64 when setting libc_cv_slibdir, libdir and
55196 * sysdeps/unix/sysv/linux/configure: Regenerated.
55198 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55200 * manual/lang.texi (Old Varargs): Remove section.
55201 (How Variadic): Update menu.
55202 (va_start): Do not mention varargs.h.
55204 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55205 Joseph Myers <joseph@codesourcery.com>
55207 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55209 * configure: Regenerated.
55211 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55213 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55214 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55217 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55220 * Makefile (files-for-dist): Remove NOTES.
55221 (NOTES): Remove rule.
55222 * README: Don't refer to NOTES.
55223 * manual/creature.texi: Don't include macros.texi.
55224 * manual/intro.texi (creature.texi): Remove comment referring to
55227 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55228 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55229 * configure: Regenerated.
55230 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55231 LIBC_TRY_CC_OPTION.
55232 (libc_cv_as_i686): Likewise.
55233 (libc_cv_cc_avx): Likewise.
55234 (libc_cv_cc_sse2avx): Likewise.
55235 (libc_cv_cc_fma4): Likewise.
55236 (libc_cv_cc_novzeroupper): Likewise.
55237 * sysdeps/i386/configure: Regenerated.
55240 * sysdeps/i386/fpu/s_cexp.S: Remove.
55241 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55242 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55243 * math/libm-test.inc (cexp_test): Add more tests.
55244 * sysdeps/i386/fpu/libm-test-ulps: Update.
55245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55247 2012-03-21 Allan McRae <allan@archlinux.org>
55249 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55251 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55254 * math/w_exp2.c: Do not include <float.h>.
55255 (o_threshold, u_threshold): Remove.
55256 (__exp2): Calculate result before checking finiteness and calling
55258 * math/w_exp2f.c: Likewise.
55259 * math/w_exp2l.c: Likewise.
55260 * math/libm-test.inc (exp2_test): Require overflow exception for
55264 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55265 range of signed 64-bit integers before using fistpll. Remove
55266 checks for whether integers fit in mantissa bits.
55267 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55268 the range of signed 32-bit integers before using fistpl. Remove
55269 checks for whether integers fit in mantissa bits.
55270 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55271 (__ieee754_powl): Test for y outside the range of signed 64-bit
55272 integers before using fistpll. Reduce 64-bit values to 63-bit
55274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55275 divide-by-zero is raised for zero to large negative powers.
55276 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55277 (__ieee754_powl): Test for y outside the range of signed 64-bit
55278 integers before using fistpll. Reduce 64-bit values to 63-bit
55280 * math/libm-test.inc (pow_test): Add more tests.
55282 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55284 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55285 <stdio-common/_itoa.h>.
55286 * debug/segfault.c: Likewise.
55287 * elf/dl-cache.c: Likewise.
55288 * elf/dl-minimal.c: Likewise.
55289 * elf/dl-misc.c: Likewise.
55290 * elf/dl-sysdep.c: Likewise.
55291 * elf/dl-version.c: Likewise.
55292 * elf/rtld.c: Likewise.
55293 * hurd/hurdsock.c: Likewise.
55294 * hurd/lookup-retry.c: Likewise.
55295 * malloc/malloc.c: Likewise.
55296 * malloc/mtrace.c: Likewise.
55297 * nscd/nscd_getgr_r.c: Likewise.
55298 * nscd/nscd_getpw_r.c: Likewise.
55299 * nscd/nscd_getserv_r.c: Likewise.
55300 * posix/getopt_init.c: Likewise.
55301 * posix/wordexp.c: Likewise.
55302 * stdio-common/_itoa.c: Likewise.
55303 * stdio-common/printf_fphex.c: Likewise.
55304 * stdio-common/vfprintf.c: Likewise.
55305 * string/_strerror.c: Likewise.
55306 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55307 * sysdeps/i386/i686/hp-timing.h: Likewise.
55308 * sysdeps/mach/_strerror.c: Likewise.
55309 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55310 * sysdeps/mach/hurd/sethostid.c: Likewise.
55311 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55312 * sysdeps/mach/xpg-strerror.c: Likewise.
55313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55315 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55316 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55317 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55318 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55319 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55320 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55321 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55322 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55323 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55324 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55325 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55326 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55327 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55328 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55329 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55330 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55331 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55332 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55333 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55335 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55337 * stdio-common/_itoa.h: Moved to ...
55338 * sysdeps/generic/_itoa.h: Here.
55340 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55342 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55343 instead of "_itoa.h" and "_itowa.h".
55344 * stdio-common/vfprintf.: Likewise.
55346 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55348 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55350 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55351 (__signbit): Likwise.
55352 (llrintf): Likwise.
55355 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55357 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55360 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55362 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55363 OVERFLOW_EXCEPTION_OK.
55364 * math/libm-test.inc ("Philosophy"): Update comment about
55366 (OVERFLOW_EXCEPTION): Define.
55367 (OVERFLOW_EXCEPTION_OK): Likewise.
55368 (INVALID_EXCEPTION_OK): Renumber.
55369 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55370 (IGNORE_ZERO_INF_SIGN): Likewise.
55371 (test_exceptions): Handle FE_OVERFLOW.
55372 (exp10_test): Expect overflow exceptions.
55373 (exp2_test): Likewise.
55374 (expm1_test): Likewise.
55375 (nextafter_test): Likewise.
55376 (pow_test): Likewise.
55377 (scalbn_test): Likewise.
55378 (scalbln_test): Likewise.
55380 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55382 * sysdeps/x86_64/bits/atomic.h
55383 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55385 (atomic_exchange_acq): Likewise.
55386 (__arch_exchange_and_add_body): Likewise.
55387 (__arch_add_body): Likewise.
55388 (atomic_add_negative): Likewise.
55389 (atomic_add_zero): Likewise.
55391 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55393 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55394 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55396 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55398 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55399 Check __x86_64__ instead of __WORDSIZE.
55401 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55403 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55405 2012-03-19 David S. Miller <davem@davemloft.net>
55407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55409 * sysdeps/sparc/fpu/fenv_private.h: New file.
55410 * sysdeps/sparc/fpu/math_private.h: Use it.
55411 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55413 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55414 (libc_feholdexcept_setroundl): Remove.
55415 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55417 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55418 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55420 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55422 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55423 int64_t instead of long int.
55424 (INSERT_WORDS64): Likwise.
55426 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55428 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55429 _Unwind_GetCFA return to _Unwind_Ptr first.
55431 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55434 * math/s_clog.c: Include <float.h>.
55435 (__clog): Scale large or subnormal inputs.
55436 * math/s_clogf.c: Likewise.
55437 * math/s_clogl.c: Likewise.
55438 * math/s_clog10.c: Include <float.h>.
55439 (M_LOG10_2): Define.
55440 (__clog10): Scale large or subnormal inputs.
55441 * math/s_clog10f.c: Likewise.
55442 * math/s_clog10l.c: Likewise.
55443 * math/libm-test.inc (clog_test): Add more tests.
55444 (clog10_test): Likewise.
55445 * sysdeps/i386/fpu/libm-test-ulps: Update.
55446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55449 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55451 * math/libm-test.inc (atan2_test): Add another test.
55453 * Makerules (common-objdir-compile): Remove.
55454 * sysdeps/unix/Makefile (config-generated): Do not add
55455 $(unix-generated) to variable.
55456 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55457 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55459 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55461 [generic bits/local_lim.h] (before-compile): Do not append to
55463 [generic bits/local_lim.h] (common-generated): Likewise.
55464 [generic sys/param.h] (before-compile): Do not append to variable.
55465 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55466 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55467 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55468 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55470 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55471 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55472 [generic sys/param.h] ($(addprefix
55473 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55474 [generic sys/param.h] (common-generated): Do not append to
55476 [generic sys/param.h] (sysdep_headers): Likewise.
55477 [generic bits/errno.h] (before-compile): Do not append to
55479 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55481 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55482 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55483 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55484 [generic bits/errno.h] (common-generated): Do not append to
55486 [generic bits/ioctls.h] (before-compile): Do not append to
55488 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55490 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55491 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55492 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55494 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55495 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55496 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55497 [generic bits/ioctls.h] (common-generated): Do not append to
55499 [generic sys/syscall.h] (syscall.h): Remove variable.
55500 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55502 [generic sys/syscall.h] (before-compile): Do not append to
55504 [generic sys/syscall.h] (common-generated): Likewise.
55505 * sysdeps/unix/errnos-tmpl.c: Remove file.
55506 * sysdeps/unix/errnos.awk: Likewise.
55507 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55508 * sysdeps/unix/ioctls.awk: Likewise.
55509 * sysdeps/unix/mk-local_lim.c: Likewise.
55510 * sysdeps/unix/snarf-ioctls: Likewise.
55512 2012-03-19 Richard Henderson <rth@twiddle.net>
55514 * sysdeps/i386/fpu/fenv_private.h: New file.
55515 * sysdeps/i386/fpu/math_private.h: Use it.
55516 (math_opt_barrier, math_force_eval): Remove.
55517 (libc_feholdexcept_setround_53bit): Remove.
55518 (libc_feupdateenv_53bit): Remove.
55519 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55520 (math_opt_barrier, math_force_eval): Remove.
55521 (libc_feholdexcept): Remove.
55522 (libc_feholdexcept_setround): Remove.
55523 (libc_fetestexcept, libc_fesetenv): Remove.
55524 (libc_feupdateenv_test): Remove.
55525 (libc_feupdateenv, libc_feholdsetround): Remove.
55526 (libc_feresetround): Remove.
55528 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55529 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55531 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55532 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55533 (libc_feupdateenv_testl): New.
55534 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55535 (libc_feupdateenv_testf): New.
55536 (libc_feupdateenv): Use libc_feupdateenv_test.
55537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55540 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55541 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55542 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55543 (libc_feresetround_noex): New.
55544 (libc_feresetround_noexf): New.
55545 (libc_feresetround_noexl): New.
55546 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55547 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55548 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55549 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55554 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55555 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55556 SET_RESTORE_ROUND_NOEX.
55557 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55558 SET_RESTORE_ROUND_NOEXF.
55559 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55560 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55561 (libc_feholdsetroundf): New.
55562 (libc_feresetround, libc_feresetroundf): New.
55564 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55565 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55566 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55568 * sysdeps/generic/math_private.h: Include <fenv.h>.
55569 (default_libc_feholdexcept): New.
55570 (default_libc_feholdexcept_setround): New.
55571 (default_libc_fesetenv, default_libc_feupdateenv): New.
55572 (libc_feholdexcept): Only define if undefined.
55573 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55574 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55575 (libc_feholdexcept_setroundl): Likewise.
55576 (libc_feholdexcept_setround_53bit): Likewise.
55577 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55578 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55579 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55580 (libc_feupdateenv_53bit): Likewise.
55581 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55582 (libc_feholdexcept): Convert from macro to inline function.
55583 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55584 (libc_fesetenv, libc_feupdateenv): Likewise.
55586 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55587 not previously defined.
55588 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55589 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55590 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55591 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55592 * sysdeps/ieee754/flt-32/math_private.h: New file.
55593 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55594 math_private.h below SET_FLOAT_WORD.
55595 (__isnan, __isinf_ns, __finite): Remove.
55596 (__isnanf, __isinf_nsf, __finitef): Remove.
55598 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55602 2012-03-17 David S. Miller <davem@davemloft.net>
55605 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55608 2012-03-16 David S. Miller <davem@davemloft.net>
55610 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55614 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55616 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55617 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55618 sysdep_routines when subdir is sysvipc.
55619 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55620 __getshmlba helper.
55622 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55624 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55626 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55629 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55631 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55632 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55633 (__lround): Renamed to ...
55634 (__llround): This. Replace long int with long long int.
55635 Define lround functions as aliases of llround functions.
55636 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55638 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55640 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55641 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55642 adresses to uintptr_t. Replace "long int" and "unsigned long
55643 int" with "greg_t" on va_arg.
55645 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55647 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55648 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55650 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55651 Move e_machine check before EI_CLASS check. Handle x32
55652 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55653 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55654 SKIP_EM_IA_64 and include
55655 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55657 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55658 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55659 (add_system_dir): New macro.
55661 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55662 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55664 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55675 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55677 * math/w_j0f.c (j0f): Likewise.
55679 * math/w_j0l.c (__j0l): Likewise.
55681 * math/w_j1.c (j1): Likewise.
55683 * math/w_j1f.c (j1f): Likewise.
55685 * math/w_j1l.c (__j1l): Likewise.
55687 * math/w_jn.c (jn): Likewise.
55689 * math/w_jnf.c (jnf): Likewise.
55691 * math/w_jnl.c (__jnl): Likewise.
55693 * math/libm-test.inc (j0_test): Add more tests.
55694 (j1_test): Likewise.
55695 (jn_test): Likewise. Add trailing semicolon to existing test.
55696 (y0_test): Likewise.
55697 (y1_test): Likewise.
55698 * sysdeps/i386/fpu/libm-test-ulps: Update.
55699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55703 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55704 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55705 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55706 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55707 (__tanl): Set errno for infinite argument.
55708 * sysdeps/i386/fpu/mptan.c: Remove.
55709 * sysdeps/i386/fpu/s_tan.S: Likewise.
55710 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55711 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55712 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55713 * math/libm-test.inc (tan_test): Add more tests and enable more
55714 tests for double and long double.
55715 * sysdeps/i386/fpu/libm-test-ulps: Update.
55716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55718 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55720 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55721 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55723 2012-03-16 Roland McGrath <roland@hack.frob.com>
55725 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55726 * configure.in: Use it for both main tree and add-ons.
55727 * configure: Regenerated.
55729 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55731 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55733 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55735 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55739 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55740 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55741 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55745 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55747 != 0 for prec == 2.
55748 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55749 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55750 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55751 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55752 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55753 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55754 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55755 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55756 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55757 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55758 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55759 * math/libm-test.inc (cos_test): Add more tests and enable more
55760 tests for long double.
55761 (sin_test): Likewise.
55762 (sincos_test): Likewise.
55763 * sysdeps/i386/fpu/libm-test-ulps: Update.
55764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55766 2012-03-16 David S. Miller <davem@davemloft.net>
55768 * sysdeps/sparc/fpu/math_private.h: New file.
55770 2012-03-15 David S. Miller <davem@davemloft.net>
55772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55786 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55787 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55789 * sysdeps/sparc/sparc-ifunc.h: New file.
55790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55831 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55835 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55837 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55841 2012-03-15 Andreas Jaeger <aj@suse.de>
55844 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55845 ieee754/flt-32 implementation for sin, cos and sincos.
55846 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55847 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55848 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55849 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55850 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55851 ieee754/flt-32 implementation for tan.
55853 * math/libm-test.inc (cos_test): Enable some large input tests for
55855 (sin_test): Likewise.
55856 (sincos_test): Likewise.
55857 (tan_test): Add tests for large input.
55859 * sysdeps/i386/fpu/libm-test-ulps: Update.
55861 2012-03-15 Andreas Jaeger <aj@suse.de>
55864 * math/libm-test.inc (cos_test): Add more test cases.
55865 (sin_test): Likewise.
55866 (sincos_test): Likewise.
55868 2012-03-15 Andreas Jaeger <aj@suse.de>
55871 * math/libm-test.inc (cos_test): Add a test case for large input
55873 (sin_test): Likewise.
55874 (sincos_test): Likewise.
55876 2012-03-15 Andreas Jaeger <aj@suse.de>
55877 Joseph Myers <joseph@codesourcery.com>
55880 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55881 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55882 * sysdeps/i386/fpu/branred.c: Likewise.
55883 * sysdeps/i386/fpu/dosincos.c: Likewise.
55884 * sysdeps/i386/fpu/mpa.c: Likewise.
55885 * sysdeps/i386/fpu/s_cos.S: Likewise.
55886 * sysdeps/i386/fpu/s_sin.S: Likewise.
55887 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55888 * sysdeps/i386/fpu/sincos32.c: Likewise.
55890 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55892 (libc_feupdateenv_53bit): Define.
55893 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55895 (libc_feupdateenv_53bit): Define.
55897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55898 53 bit (without extend i386 double precision).
55900 * math/libm-test.inc (sincos_test): Add tests for large input.
55904 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55906 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55910 2012-03-15 David S. Miller <davem@davemloft.net>
55912 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55913 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55914 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55915 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55940 fmin/fmax sysdep routines.
55941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55943 2012-03-14 David S. Miller <davem@davemloft.net>
55945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55949 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55950 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55951 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55966 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55967 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55968 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55969 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55971 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56017 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56022 * sysdeps/sparc/configure.in: New file.
56023 * sysdeps/sparc/configure: Generate.
56024 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56025 * configure: Regenerate.
56026 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56027 * config.make.in (have-as-vis3): New.
56028 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56029 available use -Av9d instead of -Av9a.
56030 * sysdeps/sparc/sparc64/Makefile: Likewise.
56031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56046 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56047 fzeros/fnegs to load 0x80000000 into a float register instead of
56049 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56051 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56055 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56056 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56057 ($(inst_includedir)/bits/syscall.h): Remove rule.
56058 ($(objpfx)bits/syscall.d): Include instead of
56059 $(objpfx)syscall-list.d.
56060 (generated): Change syscall-list.h and syscall-list.d to
56061 bits/syscall.h and bits/syscall.d.
56063 2012-03-14 Roland McGrath <roland@hack.frob.com>
56066 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56068 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56071 * math/s_csqrt.c: Include <float.h>.
56072 (__csqrt): Scale large or subnormal inputs.
56073 * math/s_csqrtf.c: Likewise.
56074 * math/s_csqrtl.c: Likewise.
56075 * math/libm-test.inc (csqrt_test): Add more tests.
56076 * sysdeps/i386/fpu/libm-test-ulps: Update.
56077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56080 * math/libm-test.inc (hypot_test): Add more tests.
56082 2012-03-13 David S. Miller <davem@davemloft.net>
56085 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56086 double-precision for the calculation instead of scaling.
56088 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56090 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56091 manipulate bits before adding and subtracting TWO52[sx].
56092 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56095 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56097 2012-03-13 David S. Miller <davem@davemloft.net>
56099 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56100 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56102 rtld-global-offsets.h
56103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56105 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56108 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56110 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56111 'err' in the ifdef scope in which it is actually used.
56113 * nss/nss_db/db-init.c: Include string.h
56115 2012-03-12 David S. Miller <davem@davemloft.net>
56117 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56118 masking out of the most significant byte of random value used.
56119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56120 Fix coding style in previous change.
56122 * sysdeps/unix/sysv/linux/kernel-features.h
56123 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56124 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56126 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56129 2012-03-11 David S. Miller <davem@davemloft.net>
56131 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56132 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56133 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56134 for 'resultvar' otherwise things get truncated on 64-bit.
56136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56137 Fix masking out of the most significant byte of random value used.
56139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56141 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56145 2012-03-09 David S. Miller <davem@davemloft.net>
56147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56148 variables with appropriate CPP guards.
56149 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56150 from the frame pointer, not the stack pointer. Correct layout
56151 comments. Fix test on resulting framesize and the management of
56152 the outregs buffer for pltexit. Preserve floating point return
56153 values across _dl_call_pltexit call.
56154 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56155 framesize and the management of the outregs buffer for pltexit.
56156 Preserve floating point return values across _dl_call_pltexit
56158 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56159 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56160 (la_sparc64_gnu_pltexit): New functions.
56161 (print_exit): Fix format string for return register value.
56163 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56165 * sunrpc/Makefile (others): Add rpcgen.
56166 ($(objpfx)rpcgen): Remove special build rule and dependency on
56168 * sunrpc/rpcgen.c: New file.
56170 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56173 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56174 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56175 * sysdeps/i386/crti.S: Likewise.
56176 * sysdeps/i386/crtn.S: Likewise.
56177 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56178 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56179 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56180 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56181 * sysdeps/sh/crti.S: Likewise.
56182 * sysdeps/sh/crtn.S: Likewise.
56183 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56186 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56188 * locale/programs/locfile-kw.gperf: Likewise.
56189 * locale/programs/charmap-kw.h: Regenerated.
56190 * locale/programs/locfile-kw.h: Likewise.
56193 * intl/plural.y: Replace FSF snail mail address with URL.
56194 * intl/plural.c: Regenerated.
56196 2012-03-09 Richard Henderson <rth@twiddle.net>
56198 * include/math_private.h: Remove file.
56199 * math/math_private.h: Move file ...
56200 * sysdeps/generic/math_private.h: ... here.
56202 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56203 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56204 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56206 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56207 and <math_private.h>.
56208 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56209 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56210 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56211 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56212 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56213 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56214 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56216 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56217 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56219 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56220 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56221 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56222 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56223 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56224 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56225 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56226 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56227 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56229 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56230 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56232 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56233 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56234 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56238 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56239 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56240 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56241 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56242 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56243 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56244 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56245 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56246 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56248 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56249 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56251 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56252 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56253 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56254 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56255 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56256 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56257 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56258 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56259 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56260 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56261 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56262 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56264 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56265 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56266 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56267 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56269 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56271 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56272 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56273 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56274 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56275 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56276 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56277 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56278 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56279 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56280 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56282 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56287 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56288 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56289 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56290 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56291 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56292 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56295 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56296 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56297 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56298 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56299 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56301 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56302 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56303 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56304 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56305 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56306 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56307 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56308 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56309 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56310 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56311 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56312 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56313 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56314 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56315 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56320 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56321 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56322 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56323 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56324 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56325 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56326 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56327 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56328 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56329 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56330 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56331 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56332 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56333 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56334 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56335 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56336 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56337 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56338 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56339 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56340 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56341 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56342 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56343 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56344 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56345 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56346 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56347 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56348 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56349 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56350 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56351 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56352 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56353 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56354 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56355 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56356 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56357 * sysdeps/ieee754/k_standard.c: Likewise.
56358 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56359 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56360 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56361 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56362 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56363 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56364 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56365 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56366 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56367 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56368 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56369 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56370 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56371 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56372 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56373 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56374 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56375 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56376 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56377 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56378 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56379 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56380 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56381 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56382 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56383 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56384 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56385 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56386 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56389 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56390 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56391 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56392 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56393 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56394 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56395 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56396 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56397 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56398 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56399 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56400 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56401 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56402 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56403 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56404 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56406 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56407 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56409 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56410 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56411 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56414 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56415 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56416 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56417 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56418 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56419 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56420 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56421 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56423 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56424 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56425 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56426 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56430 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56431 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56432 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56434 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56435 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56436 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56437 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56438 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56441 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56442 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56443 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56444 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56445 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56446 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56448 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56449 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56450 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56451 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56452 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56453 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56454 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56455 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56456 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56457 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56459 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56462 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56463 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56465 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56466 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56467 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56468 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56469 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56470 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56471 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56472 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56473 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56474 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56475 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56476 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56477 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56479 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56480 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56481 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56482 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56483 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56484 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56485 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56486 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56487 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56488 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56489 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56490 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56491 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56492 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56493 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56494 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56495 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56496 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56497 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56498 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56499 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56500 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56501 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56502 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56503 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56504 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56505 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56506 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56507 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56508 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56509 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56511 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56512 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56513 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56514 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56515 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56516 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56517 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56518 * sysdeps/ieee754/s_lib_version.c: Likewise.
56519 * sysdeps/ieee754/s_matherr.c: Likewise.
56520 * sysdeps/ieee754/s_signgam.c: Likewise.
56521 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56522 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56523 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56524 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56525 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56526 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56527 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56528 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56529 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56530 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56531 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56532 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56533 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56534 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56535 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56536 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56537 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56538 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56539 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56540 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56541 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56543 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56545 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56546 * sunrpc/rpc_main.c: Likewise.
56547 * sunrpc/rpc_svcout.c: Likewise.
56549 2012-03-09 David S. Miller <davem@davemloft.net>
56551 * include/math_private.h: New file.
56553 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56555 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56556 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56557 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56558 from <bits/socket_type.h>.
56559 (enum __socket_type): Don't define here.
56560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56562 bits/socket_type.h.
56565 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56566 checking __USE_GNU.
56568 * Makerules ($(inst_includedir)/%.h): New rule.
56569 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56570 (install-others): Remove variable setting.
56571 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56573 2012-03-08 Richard Henderson <rth@twiddle.net>
56575 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56576 from macro to inline function; merge with the
56577 !__LIBC_INTERNAL_MATH_INLINES version.
56578 (__ieee754_sqrtf): Likewise.
56580 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56581 to inline function.
56582 (__rintf, __floor, __floorf): Likewise.
56584 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56585 macro to inline function.
56586 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56588 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56589 not <math/math_private.h>.
56591 2012-03-08 David S. Miller <davem@davemloft.net>
56593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56595 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56597 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56599 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56601 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56602 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56604 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56606 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56607 be defined individually, they must be defined as a block. Define
56608 S for printing a string instead of hidint the different by using a
56609 macro for adding the 'l'.
56610 * stdio-common/tst-fphex-wide.c: Adjust.
56612 2012-03-07 Marek Polacek <polacek@redhat.com>
56614 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56616 2012-03-08 Marek Polacek <polacek@redhat.com>
56619 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56620 * stdio-common/tst-fphex.c: Define a few macros to make the
56621 test reusable. Use them.
56622 * stdio-common/tst-fphex-wide.c: New file.
56624 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56627 * manual/macros.texi (gnusystems): New macro.
56628 (nongnusystems): Likewise.
56629 (gnulinuxhurdsystems): Likewise.
56630 (gnuhurdsystems): Likewise..
56631 (gnulinuxsystems): Likewise.
56632 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56633 variants of the GNU system, not "GNU system".
56634 * manual/conf.texi: Likewise.
56635 * manual/errno.texi: Likewise. Update example of errno macro
56637 * manual/filesys.texi: Likewise.
56638 (getumask): Document as specific to GNU/Hurd.
56639 * manual/install.texi: Likewise. Reword some references to
56641 * manual/intro.texi: Likewise.
56642 * manual/io.texi: Likewise.
56643 (File Name Portability): Detail which constraints are inapplicable
56644 to all GNU systems and which are only inapplicable to GNU/Hurd.
56645 * manual/job.texi: Likewise.
56646 * manual/llio.texi: Likewise.
56647 (O_NOCTTY): Document as present on GNU/Linux.
56648 * manual/maint.texi: Likewise.
56649 * manual/memory.texi: Likewise.
56650 * manual/pattern.texi: Likewise.
56651 * manual/pipe.texi: Likewise.
56652 * manual/process.texi: Likewise.
56653 * manual/resource.texi: Likewise.
56654 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56656 * manual/setjmp.texi: Likewise.
56657 * manual/signal.texi: Likewise.
56658 * manual/startup.texi: Likewise.
56659 * manual/stdio.texi: Likewise.
56660 * manual/terminal.texi: Likewise.
56661 (ONLCR): Document as POSIX.
56662 (OXTABS): Document availability on GNU/Linux as XTABS.
56663 (ONOEOT): Document availability separately from other bits.
56664 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56665 * manual/time.texi: Likewise.
56666 * manual/users.texi: Likewise.
56667 * INSTALL: Regenerated.
56668 * sysdeps/gnu/errlist.c: Regenerated.
56670 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56671 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56672 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56674 * configure: Regenerated.
56676 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56678 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56679 default includes instead of AC_HEADER_CHECK.
56680 * sysdeps/i386/configure: Regenerated.
56683 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56684 * math/s_cacoshf.c (__cacoshf): Likewise.
56685 * math/s_cacoshl.c (__cacoshl): Likewise.
56686 * math/s_casinh.c (__casinh): Set signs of result from argument.
56687 * math/s_casinhf.c (__casinhf): Likewise.
56688 * math/s_casinhl.c (__casinhl): Likewise.
56689 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56690 (casinh_test): Add more tests.
56691 * sysdeps/i386/fpu/libm-test-ulps: Update.
56692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56694 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56696 * po/zh_TW.po: Update from translation team.
56698 * login/Makefile (distribute): Remove variable.
56699 * catgets/Makefile: Likewise.
56700 * mach/Makefile: Likewise.
56701 * malloc/Makefile: Likewise.
56702 * misc/Makefile: Likewise.
56703 * iconv/Makefile: Likewise.
56704 * nscd/Makefile: Likewise.
56705 * hurd/Makefile: Likewise.
56706 * manual/Makefile: Likewise.
56707 * locale/Makefile: Likewise.
56708 * intl/Makefile: Likewise.
56709 * conform/Makefile: Likewise.
56710 * nss/Makefile: Likewise.
56711 * time/Makefile: Likewise.
56712 * soft-fp/Makefile: Likewise.
56713 * dirent/Makefile: Likewise.
56714 * gmon/Makefile: Likewise.
56715 * po/Makefile: Likewise.
56716 * rt/Makefile: Likewise.
56717 * socket/Makefile: Likewise.
56718 * math/Makefile: Likewise.
56719 * signal/Makefile: Likewise.
56720 * debug/Makefile: Likewise.
56721 * elf/Makefile: Likewise.
56722 * timezone/Makefile: Likewise.
56723 * stdlib/Makefile: Likewise.
56724 * iconvdata/Makefile: Likewise.
56725 * sunrpc/Makefile: Likewise.
56726 * io/Makefile: Likewise.
56727 * argp/Makefile: Likewise.
56728 * inet/Makefile: Likewise.
56729 * hesiod/Makefile: Likewise.
56730 * grp/Makefile: Likewise.
56731 * csu/Makefile: Likewise.
56732 * wctype/Makefile: Likewise.
56733 * crypt/Makefile: Likewise.
56734 * libio/Makefile: Likewise.
56735 * string/Makefile: Likewise.
56736 * nis/Makefile: Likewise.
56737 * resolv/Makefile: Likewise.
56738 * stdio-common/Makefile: Likewise.
56739 * wcsmbs/Makefile: Likewise.
56740 * dlfcn/Makefile: Likewise.
56741 * posix/Makefile: Likewise.
56744 * timezone/Makefile: Don't install timezone files, just the programs
56747 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56749 * nss/databases.def: Add missing gshadow entry.
56751 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56753 2012-03-06 Marek Polacek <polacek@redhat.com>
56756 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56757 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56758 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56759 * stdio-common/tst-long-dbl-fphex.c: New file.
56761 2012-03-06 David S. Miller <davem@davemloft.net>
56763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56764 (set_obp_int): New function.
56765 (get_obp_int): New function.
56766 (__get_clockfreq_via_dev_openprom): Likewise.
56767 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56768 Avoid unused variable warnings on 'val' and use builtin_expect.
56769 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56771 (INLINE_CLONE_SYSCALL): Likewise.
56773 2012-03-05 David S. Miller <davem@davemloft.net>
56775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56777 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56781 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56782 only for |x| >= 40.
56783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56785 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56788 Replace gettimeofday with __vdso_gettimeofday.
56790 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56791 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56792 __vdso_clock_gettime and __vdso_getcpu.
56794 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56795 time with __vdso_time.
56797 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56799 * manual/lang.texi (size_t): Note types to which size_t may be
56800 equivalent with the GNU C Library, but do not describe when
56801 differences between them are significant.
56803 2012-03-05 Andreas Jaeger <aj@suse.de>
56805 * sysdeps/i386/fpu/libm-test-ulps: Update.
56807 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56810 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56811 (__ieee754_pow): Save and restore rounding mode and use
56812 round-to-nearest for main computations.
56813 * math/libm-test.inc (pow_test_tonearest): New function.
56814 (pow_test_towardzero): Likewise.
56815 (pow_test_downward): Likewise.
56816 (pow_test_upward): Likewise.
56817 (main): Call the new functions.
56818 * sysdeps/i386/fpu/libm-test-ulps: Update.
56819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56822 * math/libm-test.inc (cosh_test_tonearest): New function.
56823 (cosh_test_towardzero): Likewise.
56824 (cosh_test_downward): Likewise.
56825 (cosh_test_upward): Likewise.
56826 (sinh_test_tonearest): Likewise.
56827 (sinh_test_towardzero): Likewise.
56828 (sinh_test_downward): Likewise.
56829 (sinh_test_upward): Likewise.
56830 (main): Call the new functions.
56831 * sysdeps/i386/fpu/libm-test-ulps: Update.
56832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56834 2012-03-05 Tom de Vries <tom@codesourcery.com>
56836 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56837 default stack guard is set in last bytes.
56838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56840 2012-03-05 Kees Cook <keescook@chromium.org>
56842 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56845 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56846 possibly allocate from heap instead of stack.
56847 * stdio-common/bug-vfprintf-nargs.c: New file.
56848 * stdio-common/Makefile (tests): Add nargs overflow test.
56850 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56854 2012-03-03 Marek Polacek <polacek@redhat.com>
56856 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56857 * math/math_private.h: Likewise.
56858 * stdlib/tst-strtod.c: Likewise.
56859 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56860 * sysdeps/x86_64/bits/atomic.h: Likewise.
56862 2012-03-02 David S. Miller <davem@davemloft.net>
56864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56868 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56869 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56870 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56871 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56873 2012-03-02 Roland McGrath <roland@hack.frob.com>
56876 * manual/examples/README: New file, says the example source files
56877 can be used under GPL>=2.
56878 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56879 line containing just "*/".
56880 * manual/examples/add.c: Add copyright header (GPL>=2).
56881 * manual/examples/argp-ex1.c: Likewise.
56882 * manual/examples/argp-ex2.c: Likewise.
56883 * manual/examples/argp-ex3.c: Likewise.
56884 * manual/examples/argp-ex4.c: Likewise.
56885 * manual/examples/atexit.c: Likewise.
56886 * manual/examples/db.c: Likewise.
56887 * manual/examples/dir.c: Likewise.
56888 * manual/examples/dir2.c: Likewise.
56889 * manual/examples/execinfo.c: Likewise.
56890 * manual/examples/filecli.c: Likewise.
56891 * manual/examples/filesrv.c: Likewise.
56892 * manual/examples/fmtmsgexpl.c: Likewise.
56893 * manual/examples/genpass.c: Likewise.
56894 * manual/examples/inetcli.c: Likewise.
56895 * manual/examples/inetsrv.c: Likewise.
56896 * manual/examples/isockad.c: Likewise.
56897 * manual/examples/longopt.c: Likewise.
56898 * manual/examples/memopen.c: Likewise.
56899 * manual/examples/memstrm.c: Likewise.
56900 * manual/examples/mkfsock.c: Likewise.
56901 * manual/examples/mkisock.c: Likewise.
56902 * manual/examples/mygetpass.c: Likewise.
56903 * manual/examples/pipe.c: Likewise.
56904 * manual/examples/popen.c: Likewise.
56905 * manual/examples/rprintf.c: Likewise.
56906 * manual/examples/search.c: Likewise.
56907 * manual/examples/select.c: Likewise.
56908 * manual/examples/setjmp.c: Likewise.
56909 * manual/examples/sigh1.c: Likewise.
56910 * manual/examples/sigusr.c: Likewise.
56911 * manual/examples/stpcpy.c: Likewise.
56912 * manual/examples/strdupa.c: Likewise.
56913 * manual/examples/strftim.c: Likewise.
56914 * manual/examples/strncat.c: Likewise.
56915 * manual/examples/subopt.c: Likewise.
56916 * manual/examples/swapcontext.c: Likewise.
56917 * manual/examples/termios.c: Likewise.
56918 * manual/examples/testopt.c: Likewise.
56919 * manual/examples/testpass.c: Likewise.
56920 * manual/examples/timeval_subtract.c: Likewise.
56923 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56925 * manual/timeval_subtract.c.texi: ... here, new file.
56927 2012-03-02 David S. Miller <davem@davemloft.net>
56929 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56931 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56934 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56935 (__sin): Save and restore rounding mode and use round-to-nearest
56936 for all computations.
56937 (__cos): Save and restore rounding mode and use round-to-nearest
56938 for all computations.
56939 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56941 (tan): Save and restore rounding mode and use round-to-nearest for
56943 * math/libm-test.inc (cos_test_tonearest): New function.
56944 (cos_test_towardzero): Likewise.
56945 (cos_test_downward): Likewise.
56946 (cos_test_upward): Likewise.
56947 (sin_test_tonearest): Likewise.
56948 (sin_test_towardzero): Likewise.
56949 (sin_test_downward): Likewise.
56950 (sin_test_upward): Likewise.
56951 (tan_test_tonearest): Likewise.
56952 (tan_test_towardzero): Likewise.
56953 (tan_test_downward): Likewise.
56954 (tan_test_upward): Likewise.
56955 (main): Call the new functions.
56956 * sysdeps/i386/fpu/libm-test-ulps: Update.
56957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56960 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56961 small n, then large n, before computing and testing k+n.
56962 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56967 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56968 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56969 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56970 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56971 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56972 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56973 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56974 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56975 * math/libm-test.inc (scalbn_test): Add more tests.
56976 (scalbln_test): Likewise.
56978 * manual/filesys.texi (mode_t): Describe constraints on size and
56979 signedness, not exact equivalence to a particular type.
56981 (ino64_t): Likewise.
56983 (nlink_t): Likewise.
56984 (blkcnt_t): Likewise.
56985 (blkcnt64_t): Likewise.
56986 * manual/llio.texi (off_t): Likewise.
56989 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56990 (__ieee754_exp): Save and restore rounding mode and use
56991 round-to-nearest for all computations.
56992 * math/libm-test.inc (exp_test_tonearest): New function.
56993 (exp_test_towardzero): Likewise.
56994 (exp_test_downward): Likewise.
56995 (exp_test_upward): Likewise.
56996 (main): Call the new functions.
56997 * sysdeps/i386/fpu/libm-test-ulps: Update.
56998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57000 2012-03-01 Chris Demetriou <cgd@google.com>
57002 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57003 have predictable order.
57005 2012-03-01 David S. Miller <davem@davemloft.net>
57007 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57009 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57010 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57011 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57012 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57014 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57015 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57016 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57018 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57019 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57020 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57021 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57022 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57026 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57027 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57028 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57030 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57031 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57032 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57033 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57034 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57036 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57037 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57038 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57039 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57040 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57041 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57043 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57044 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57046 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57047 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57048 * sysdeps/sparc/elf/configure: Regenerated.
57050 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57052 * configure.in (AS, LD): Require binutils 2.20 or later.
57053 * configure: Regenerated.
57054 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57055 as required minimum version.
57056 * INSTALL: Regenerated.
57060 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57061 before squaring exponent.
57062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57063 bottom long double and 27 bits of top long double before squaring
57065 * math/libm-test.inc (erfc_test): Add more tests.
57066 * sysdeps/i386/fpu/libm-test-ulps: Update.
57067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57070 2012-03-01 Kai Tietz <ktietz@redhat.com>
57072 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57073 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57074 containing bit-fields.
57075 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57076 * soft-fp/single.h (_FP_UNION_S): Likewise.
57077 * soft-fp/double.h (_FP_UNION_D): Likewise.
57079 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57082 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57083 not include ../strcmp.S.
57084 [USE_AS_STRNCASECMP_L]: Likewise.
57085 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57086 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57087 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57088 (__strncasecmp_l_ia32): Define as alias to
57089 __strncasecmp_l_nonascii.
57092 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57093 * sysdeps/i386/fpu/libm-test-ulps: Update.
57094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57096 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57099 2012-02-29 Jeff Law <law@redhat.com>
57101 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57102 out of bounds read.
57104 2012-02-29 Marek Polacek <polacek@redhat.com>
57107 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57108 * elf/Makefile: Add rules to run tst-unused-dep.out.
57110 2012-02-28 David S. Miller <davem@davemloft.net>
57112 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57113 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57114 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57115 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57116 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57117 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57119 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57121 * math/libm-test.inc (llround_test): Move one test from
57122 lround_test. Use TEST_f_L in moved test.
57123 (lround_test): Move misplaced test to llround_test. Add testcase
57126 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57128 * sysdeps/x86_64/fpu/e_expf.S: New file.
57129 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57131 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57134 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57135 of remain_len that may cause incomplete multi-byte character and
57137 * posix/bug-regex33.c: New file.
57138 * posix/Makefile (tests): Add bug-regex33.
57140 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57142 * manual/macros.texi: New file.
57143 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57144 * manual/libc.texinfo: Include macros.texi.
57145 * manual/creatute.texi: Likewise.
57146 * manual/install.texi: Likewise.
57147 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57148 @glibcadj{} in references to the GNU C Library.
57149 * manual/charset.texi: Likewise.
57150 * manual/conf.texi: Likewise.
57151 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57152 when not using those macros.
57153 * manual/creature.texi: Likewise.
57154 * manual/crypt.texi: Likewise.
57155 * manual/errno.texi: Likewise.
57156 * manual/filesys.texi: Likewise.
57157 * manual/header.texi: Likewise.
57158 * manual/install.texi: Likewise.
57159 * manual/intro.texi: Likewise.
57160 * manual/io.texi: Likewise.
57161 * manual/job.texi: Likewise.
57162 * manual/lang.texi: Likewise.
57163 * manual/libc.texiinfo: Likewise.
57164 * manual/llio.texi: Likewise.
57165 * manual/locale.texi: Likewise.
57166 * manual/maint.texi: Likewise.
57167 * manual/math.texi: Likewise.
57168 * manual/memory.texi: Likewise.
57169 * manual/message.texi: Likewise.
57170 * manual/nss.texi: Likewise.
57171 * manual/pattern.texi: Likewise.
57172 * manual/process.texi: Likewise.
57173 * manual/resource.texi: Likewise.
57174 * manual/search.texi: Likewise.
57175 * manual/setjmp.texi: Likewise.
57176 * manual/signal.texi: Likewise.
57177 * manual/socket.texi: Likewise.
57178 * manual/startup.texi: Likewise.
57179 * manual/stdio.texi: Likewise.
57180 * manual/string.texi: Likewise.
57181 * manual/sysinfo.texi: Likewise.
57182 * manual/syslog.texi: Likewise.
57183 * manual/terminal.texi: Likewise.
57184 * manual/time.texi: Likewise.
57185 * manual/users.texi: Likewise.
57186 * INSTALL: Regenerated.
57187 * NOTES: Regenerated.
57188 * sysdeps/gnu/errlist.c: Regenerated.
57190 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57192 * include/dirent.h: Include <dirstream.h> before
57195 2012-02-28 David S. Miller <davem@davemloft.net>
57197 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57198 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57199 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57200 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57202 2012-02-27 David S. Miller <davem@davemloft.net>
57204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57206 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57207 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57210 frame pointer instead of stack pointer relative arg slot.
57211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57212 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57213 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57215 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57218 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57220 2012-02-27 David S. Miller <davem@davemloft.net>
57222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57226 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57227 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57228 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57229 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57231 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57233 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57234 later. Allow versions 5-9.
57235 * configure: Regenerated.
57236 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57237 required minimum version and 4.6 as recommended version. Do not
57238 mention bugs in GCC 2.7 and 2.8.
57239 * INSTALL: Regenerated.
57241 2012-02-27 David S. Miller <davem@davemloft.net>
57243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57249 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57250 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57253 manipulate bits before adding and subtracting TWO112[sx].
57254 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57256 2012-02-27 Roland McGrath <roland@hack.frob.com>
57259 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57260 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57261 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57262 being in POSIX, because they are in 1003.1-2008.
57264 * rt/tst-aio.c: Include <fcntl.h>.
57265 * rt/tst-aio7.c: Likewise.
57266 * rt/tst-aio64.c: Likewise.
57268 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57270 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57272 * manual/install.texi (--with-headers): Describe headers as
57273 interface headers, not private headers.
57274 (Specific advice for GNU/Linux systems): Describe use of headers
57275 from "make headers_install", not private headers from older
57277 * INSTALL: Regenerated.
57278 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57280 * sysdeps/unix/sysv/linux/configure: Regenerated.
57282 * manual/llio.texi (fclean): Remove documentation.
57284 * manual/Makefile (libc-texi-generated): New variable. Include
57286 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57287 $(libc-texi-generated), not duplicated list of files.
57288 (version.texi, stamp-version): New rules.
57289 (realclean): Remove $(libc-texi-generated), not individual files
57290 from that list. Do not remove dir-add.texinfo.
57291 * manual/libc.texinfo: Comment out uses of edition numbers and
57292 references to printed manual. Remove last-updated dates.
57293 (EDITION): Comment out.
57295 (VERSION, UPDATED): Remove.
57296 (version.texi): Include.
57298 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57300 * sysdeps/posix/spawni.c: Include <signal.h>.
57301 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57302 * sysdeps/pthread/aio_fsync.c: Likewise.
57304 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57306 * conform/Makefile (tests): Run only when not cross-compiling and
57307 when fast-check is not defined.
57309 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57310 * conform/data/limits.h-data: Fixes for POSIX2008.
57311 * conform/run-conformtest.sh: Run all tests.
57312 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57314 * include/bits/dlfcn.h: Likewise.
57315 * include/langinfo.h: Likewise.
57316 * include/monetary.h: Likewise.
57317 * include/sys/poll.h: Likewise.
57319 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57321 * posix/spawn.h: Define __need_sigset_t.
57322 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57323 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57324 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57325 to get sigevent_t only.
57326 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57327 only for __USE_GNU.
57328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57329 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57330 process_vm_writev only for __USE_GNU.
57331 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57333 * conform/Makefile: For now ignore errors from run-conformtest.
57334 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57335 POSIX to avoid namespace pollution. Don't prepend headers.
57336 * conform/data/aio.h-data: Fixes for POSIX testing.
57337 * conform/data/fcntl.h-data: Likewise.
57338 * conform/data/glob.h-data: Likewise.
57339 * conform/data/grp.h-data: Likewise.
57340 * conform/data/pthread.h-data: Likewise.
57341 * conform/data/pwd.h-data: Likewise.
57342 * conform/data/signal.h-data: Likewise.
57343 * conform/data/spawn.h-data: Likewise.
57344 * conform/data/stdio.h-data: Likewise.
57345 * conform/data/stdlib.h-data: Likewise.
57346 * conform/data/stropts.h-data: Likewise.
57347 * conform/data/sys/mman.h-data: Likewise.
57348 * conform/data/sys/stat.h-data: Likewise.
57349 * conform/data/sys/types.h-data: Likewise.
57350 * conform/data/sys/wait.h-data: Likewise.
57351 * conform/data/time.h-data: Likewise.
57352 * conform/data/unistd.h-data: Likewise.
57353 * conform/data/utime.h-data: Likewise.
57355 * io/sys/stat.h: fchmod was always in POSIX.
57356 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57357 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57358 * rt/aio.h: Define __need_timespec before including <time.h>.
57359 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57360 struct. Add forward declaration of pthread_attr_t and use it in
57362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57363 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57364 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57365 always remove CLK_TCK definition.
57367 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57369 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57371 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57373 * conform/run-conformtest.sh: New file.
57374 * conform/Makefile: Run run-conformtest for tests.
57375 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57378 * conform/data/uchar.h-data: New file.
57379 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57380 * conform/data/arpa/inet.h-data: Likewise.
57381 * conform/data/assert.h-data: Likewise.
57382 * conform/data/complex.h-data: Likewise.
57383 * conform/data/cpio.h-data: Likewise.
57384 * conform/data/ctype.h-data: Likewise.
57385 * conform/data/dirent.h-data: Likewise.
57386 * conform/data/dlfcn.h-data: Likewise.
57387 * conform/data/errno.h-data: Likewise.
57388 * conform/data/fcntl.h-data: Likewise.
57389 * conform/data/float.h-data: Likewise.
57390 * conform/data/fmtmsg.h-data: Likewise.
57391 * conform/data/fnmatch.h-data: Likewise.
57392 * conform/data/ftw.h-data: Likewise.
57393 * conform/data/glob.h-data: Likewise.
57394 * conform/data/grp.h-data: Likewise.
57395 * conform/data/iconv.h-data: Likewise.
57396 * conform/data/inttypes.h-data: Likewise.
57397 * conform/data/langinfo.h-data: Likewise.
57398 * conform/data/libgen.h-data: Likewise.
57399 * conform/data/limits.h-data: Likewise.
57400 * conform/data/locale.h-data: Likewise.
57401 * conform/data/math.h-data: Likewise.
57402 * conform/data/monetary.h-data: Likewise.
57403 * conform/data/mqueue.h-data: Likewise.
57404 * conform/data/ndbm.h-data: Likewise.
57405 * conform/data/net/if.h-data: Likewise.
57406 * conform/data/netdb.h-data: Likewise.
57407 * conform/data/netinet/in.h-data: Likewise.
57408 * conform/data/nl_types.h-data: Likewise.
57409 * conform/data/poll.h-data: Likewise.
57410 * conform/data/pthread.h-data: Likewise.
57411 * conform/data/pwd.h-data: Likewise.
57412 * conform/data/regex.h-data: Likewise.
57413 * conform/data/sched.h-data: Likewise.
57414 * conform/data/search.h-data: Likewise.
57415 * conform/data/semaphore.h-data: Likewise.
57416 * conform/data/setjmp.h-data: Likewise.
57417 * conform/data/signal.h-data: Likewise.
57418 * conform/data/spawn.h-data: Likewise.
57419 * conform/data/stdarg.h-data: Likewise.
57420 * conform/data/stdio.h-data: Likewise.
57421 * conform/data/stdlib.h-data: Likewise.
57422 * conform/data/string.h-data: Likewise.
57423 * conform/data/strings.h-data: Likewise.
57424 * conform/data/stropts.h-data: Likewise.
57425 * conform/data/sys/ipc.h-data: Likewise.
57426 * conform/data/sys/mman.h-data: Likewise.
57427 * conform/data/sys/msg.h-data: Likewise.
57428 * conform/data/sys/resource.h-data: Likewise.
57429 * conform/data/sys/select.h-data: Likewise.
57430 * conform/data/sys/sem.h-data: Likewise.
57431 * conform/data/sys/shm.h-data: Likewise.
57432 * conform/data/sys/socket.h-data: Likewise.
57433 * conform/data/sys/stat.h-data: Likewise.
57434 * conform/data/sys/statvfs.h-data: Likewise.
57435 * conform/data/sys/time.h-data: Likewise.
57436 * conform/data/sys/timeb.h-data: Likewise.
57437 * conform/data/sys/times.h-data: Likewise.
57438 * conform/data/sys/types.h-data: Likewise.
57439 * conform/data/sys/uio.h-data: Likewise.
57440 * conform/data/sys/un.h-data: Likewise.
57441 * conform/data/sys/utsname.h-data: Likewise.
57442 * conform/data/sys/wait.h-data: Likewise.
57443 * conform/data/syslog.h-data: Likewise.
57444 * conform/data/tar.h-data: Likewise.
57445 * conform/data/termios.h-data: Likewise.
57446 * conform/data/utime.h-data: Likewise.
57447 * conform/data/utmpx.h-data: Likewise.
57448 * conform/data/varargs.h-data: Likewise.
57449 * conform/data/wchar.h-data: Likewise.
57450 * conform/data/wctype.h-data: Likewise.
57451 * conform/data/wordexp.h-data: Likewise.
57453 * include/stropts.h: New file.
57454 * include/uchar.h: New file.
57455 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57456 * include/assert.h: Likewise.
57457 * include/ctype.h: Likewise.
57458 * include/dirent.h: Likewise.
57459 * include/dlfcn.h: Likewise.
57460 * include/fcntl.h: Likewise.
57461 * include/fnmatch.h: Likewise.
57462 * include/glob.h: Likewise.
57463 * include/grp.h: Likewise.
57464 * include/libio.h: Likewise.
57465 * include/locale.h: Likewise.
57466 * include/math.h: Likewise.
57467 * include/net/if.h: Likewise.
57468 * include/netdb.h: Likewise.
57469 * include/netinet/in.h: Likewise.
57470 * include/pthread.h: Likewise.
57471 * include/pwd.h: Likewise.
57472 * include/regex.h: Likewise.
57473 * include/sched.h: Likewise.
57474 * include/search.h: Likewise.
57475 * include/setjmp.h: Likewise.
57476 * include/signal.h: Likewise.
57477 * include/stdio.h: Likewise.
57478 * include/stdlib.h: Likewise.
57479 * include/string.h: Likewise.
57480 * include/sys/cdefs.h: Likewise.
57481 * include/sys/mman.h: Likewise.
57482 * include/sys/msg.h: Likewise.
57483 * include/sys/resource.h: Likewise.
57484 * include/sys/select.h: Likewise.
57485 * include/sys/socket.h: Likewise.
57486 * include/sys/stat.h: Likewise.
57487 * include/sys/statvfs.h: Likewise.
57488 * include/sys/time.h: Likewise.
57489 * include/sys/times.h: Likewise.
57490 * include/sys/uio.h: Likewise.
57491 * include/sys/utsname.h: Likewise.
57492 * include/sys/wait.h: Likewise.
57493 * include/termios.h: Likewise.
57494 * include/time.h: Likewise.
57495 * include/ulimit.h: Likewise.
57496 * include/unistd.h: Likewise.
57497 * include/utime.h: Likewise.
57498 * include/wchar.h: Likewise.
57499 * include/wctype.h: Likewise.
57500 * include/wordexp.h: Likewise.
57502 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57504 * time/time.h: TIME_UTC must be a macro.
57505 Make timespec_get available for ISO C11 only as well.
57507 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57509 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57510 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57512 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57514 * configure.in: Use -o not -a in test for unsupported multi-arch.
57516 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57518 * manual/texinfo.tex: Update to version 2012-01-19.16.
57520 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57522 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57524 2012-02-24 Roland McGrath <roland@hack.frob.com>
57527 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57528 * manual/fdl-1.3.texi: New file.
57529 * manual/fdl-1.1.texi: File removed.
57532 * manual/libc.texinfo (FDL_VERSION): New @set.
57533 Use it for mention of FDL in cover text.
57534 (Documentation License): Use it in @include file name.
57536 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57537 Roland McGrath <roland@hack.frob.com>
57540 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57541 (not LONG_LONG_MAX and LONG_LONG_MIN.
57542 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57543 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57545 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57547 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57551 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57552 manipulate bits before adding and subtracting TWO23[sx].
57553 * math/libm-test.inc (nearbyint_test): Add more tests.
57555 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57558 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57559 bits before adding and subtracting TWO23[sx].
57560 * math/libm-test.inc (rint_test): Add more tests.
57561 (rint_test_tonearest): Likewise.
57562 (rint_test_towardzero): Likewise.
57563 (rint_test_downward): Likewise.
57564 (rint_test_upward: Likewise.
57566 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57569 * include/stdc-predef.h: New file. Extracted from features.h.
57570 * include/features.h: Include stdc-predef.h.
57571 * Makefile (headers): Add stdc-predef.h.
57572 * CONFORMANCE (Compiler limitations): Update.
57574 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57576 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57578 2012-02-21 David S. Miller <davem@davemloft.net>
57580 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57581 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57583 2012-02-20 David S. Miller <davem@davemloft.net>
57585 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57586 using a normal save/restore sequence, rather than allocating a
57587 dummy stack frame just to store a frame pointer and restore.
57588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57590 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57592 * manual/install.texi: Fix stray word in line-wrapped comment.
57594 2012-02-20 David S. Miller <davem@davemloft.net>
57596 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57597 both binutils and gcc support GOTDATA.
57599 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57600 "rd %pc" in the PIC register setup sequences.
57602 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57603 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57604 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57605 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57606 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57608 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57611 (SYSCALL_ERROR_HANDLER): Likewise.
57612 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57613 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57615 (SYSCALL_ERROR_HANDLER): Likewise.
57617 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57618 (HAVE_GCC_GOTDATA): New.
57619 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57620 relocation support in both binutils and gcc.
57621 * sysdeps/sparc/elf/configure: Regenerate.
57623 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57624 * sysdeps/sparc/sparc32/elf/configure: Delete.
57625 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57626 * sysdeps/sparc/sparc64/elf/configure: Delete.
57627 * sysdeps/sparc/elf/configure.in: New file.
57628 * sysdeps/sparc/elf/configure: Generate.
57630 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57631 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57632 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57633 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57634 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57636 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57638 * manual/install.texi: Do not mention specific glibc version
57640 * manual/libc.texinfo (VERSION, UPDATED): Update.
57641 (@copying): Use @copyright{} and range of years.
57643 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57646 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57647 [crti.S not in sysdirs] (generated): Do not append.
57648 [crti.S not in sysdirs] (omit-deps): Likewise.
57649 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57650 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57651 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57652 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57653 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57655 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57656 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57657 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57658 * csu/defs.awk: Remove file.
57659 * sysdeps/generic/initfini.c: Likewise.
57660 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57662 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57665 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57667 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57668 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57669 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57670 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57671 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57672 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57674 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57675 (__EPOLL_PACKED): Define to empty if not defined by
57677 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57681 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57683 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57684 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57685 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57688 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57692 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57694 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57696 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57697 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57698 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57701 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57706 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57708 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57709 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57711 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57713 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57716 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57718 * math/w_acos.c: Use non-signaling floating-point comparisons.
57719 * math/w_acosf.c: Likewise.
57720 * math/w_acosh.c: Likewise.
57721 * math/w_acoshf.c: Likewise.
57722 * math/w_acoshl.c: Likewise.
57723 * math/w_acosl.c: Likewise.
57724 * math/w_asin.c: Likewise.
57725 * math/w_asinf.c: Likewise.
57726 * math/w_asinl.c: Likewise.
57727 * math/w_atanh.c: Likewise.
57728 * math/w_atanhf.c: Likewise.
57729 * math/w_atanhl.c: Likewise.
57730 * math/w_exp2.c: Likewise.
57731 * math/w_exp2f.c: Likewise.
57732 * math/w_exp2l.c: Likewise.
57733 * math/w_j0.c: Likewise.
57734 * math/w_j0f.c: Likewise.
57735 * math/w_j0l.c: Likewise.
57736 * math/w_j1.c: Likewise.
57737 * math/w_j1f.c: Likewise.
57738 * math/w_j1l.c: Likewise.
57739 * math/w_jn.c: Likewise.
57740 * math/w_jnf.c: Likewise.
57741 * math/w_log.c: Likewise.
57742 * math/w_log10.c: Likewise.
57743 * math/w_log10f.c: Likewise.
57744 * math/w_log10l.c: Likewise.
57745 * math/w_log2.c: Likewise.
57746 * math/w_log2f.c: Likewise.
57747 * math/w_log2l.c: Likewise.
57748 * math/w_logf.c: Likewise.
57749 * math/w_logl.c: Likewise.
57750 * math/w_sqrt.c: Likewise.
57751 * math/w_sqrtf.c: Likewise.
57752 * math/w_sqrtl.c: Likewise.
57753 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57754 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57756 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57757 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57759 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57762 * manual/string.texi (strnlen): Use correct parameter name in
57763 equivalent expression.
57765 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57768 * manual/users.texi (seteuid): Consistently use neweuid for
57771 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57774 * manual/nss.texi (Services in the NSS configuration): Correct
57775 list of services in example configuration file.
57777 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57780 * manual/arith.texi: Remove statements about negative zero
57781 behaving identically to zero.
57783 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57786 * manual/install.texi: Do not document upgrading from libc5.
57788 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57791 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57793 2012-02-18 David S. Miller <davem@davemloft.net>
57795 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57796 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57797 %o7 across the call.
57798 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57801 SETUP_PIC_REG_LEAF.
57802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57803 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57804 * sysdeps/sparc/crtn.S: Likewise.
57806 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57808 * aout/Makefile: Remove.
57810 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57813 * manual/examples/argp-ex1.c (main): Format definition in GNU
57815 * manual/examples/argp-ex2.c (main): Likewise.
57816 * manual/examples/argp-ex3.c (main): Likewise.
57817 * manual/examples/argp-ex4.c (main): Likewise.
57818 * manual/examples/longopt.c (main): Use new-style prototype
57820 * manual/examples/strncat.c (main): Specify return type and use
57821 (void) for arguments.
57822 * manual/examples/subopt.c (main): Use char **argv argument.
57824 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57827 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57830 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57833 * manual/string.texi (strchr): Change when strchrnul is
57836 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57839 * manual/locale.texi (setlocale): Document LOCPATH.
57841 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57844 * manual/process.texi (execle): Move @dots{} before last argument.
57846 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57849 * manual/charset.texi (Generic Charset Conversion): Fix typo
57850 (LC_TYPE -> LC_CTYPE).
57852 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57855 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57856 (scalbnf): Likewise.
57857 (scalbnl): Likewise.
57858 (scalbln): Likewise.
57859 (scalblnf): Likewise.
57860 (scalblnl): Likewise.
57861 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57862 (vwarnx): Likewise.
57865 * manual/filesys.texi (telldir): Use braces around return type.
57866 * manual/llio.texi (mmap): Add space after comma.
57867 (mmap64): Likewise.
57868 * manual/math.texi (jn): Use @var{} on parameter names.
57874 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57876 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57878 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57879 (sched_get_priority_max): Likewise.
57880 * manual/signal.texi (sigvec): Add space after comma.
57881 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57883 (if_indextoname): Likewise.
57884 (if_freenameindex): Likewise.
57885 (sendto): Use ',' instead of '.' in prototype.
57886 * manual/startup.texi (syscall): Use @dots{} instead of literal
57888 * manual/stdio.texi (__fpending): Separate initial words of
57889 paragraph from @deftypefun line.
57890 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57892 (vsyslog): Use @var{} on parameter names.
57893 * manual/terminal.texi (stty): Use @var{} on parameter names.
57894 * manual/users.texi (getutmp): Use @var{} on parameter names.
57895 (getutmpx): Likewise.
57897 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57900 * manual/stdio.texi (fopen): Fix typos in description of
57903 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57906 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57907 get clock_id definition.
57909 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57912 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57913 (madvise): Cast every argument to void on its own.
57915 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57918 * manual/startup.texi (Exit Status): Fix typo.
57920 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57923 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57924 * manual/examples/argp-ex2.c: Likewise.
57925 * manual/examples/argp-ex3.c: Likewise.
57927 2012-02-16 Richard Henderson <rth@redhat.com>
57929 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57930 * sysdeps/s390/s390-32/initfini.c: Remove.
57931 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57932 * sysdeps/s390/s390-64/initfini.c: Remove.
57934 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57936 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57937 compiler output for sysdeps/generic/initfini.c.
57938 * sysdeps/sh/elf/initfini.c: Remove file.
57940 2012-02-16 David S. Miller <davem@davemloft.net>
57943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57945 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57946 * sysdeps/sparc/crti.S: New file.
57947 * sysdeps/sparc/crtn.S: New file.
57948 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57949 * sysdeps/sparc/sparc64/Makefile: Likewise.
57951 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57954 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57956 2012-02-15 Roland McGrath <roland@hack.frob.com>
57959 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57961 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57962 (write, read, close): Likewise.
57963 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57965 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57967 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57968 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57969 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57970 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57972 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57976 2012-02-14 Marek Polacek <polacek@redhat.com>
57978 * sysdeps/x86_64/crti.S: New file.
57979 * sysdeps/x86_64/crtn.S: New file.
57980 * sysdeps/x86_64/elf/initfini.c: Remove file.
57982 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57984 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57985 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57986 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57987 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57989 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57993 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57995 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57996 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57997 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57998 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58000 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58004 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58006 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58007 __feraiseexcept instead of feraiseexcept.
58009 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58010 nanosleep invocations.
58011 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58012 strings, and add error checking for a nanosleep invocations.
58014 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58016 Replace FSF snail mail address with URLs, as per GNU coding standards.
58017 Most of the snail mail addresses were wrong anyway, and omitting
58018 them makes the source code easier to maintain. Almost all of the
58019 changes are to license notices and to locale LC_IDENTIFICATION
58020 addresses, except for this one:
58021 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58022 not its snail mail address.
58024 2012-02-09 Richard Henderson <rth@twiddle.net>
58026 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58027 of kernel-features.h.
58029 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58031 2012-02-08 Marek Polacek <polacek@redhat.com>
58033 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58034 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58035 * sysdeps/gnu/_G_config.h: Likewise.
58036 * sysdeps/generic/_G_config.h: Likewise.
58038 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58040 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58044 * sysdeps/powerpc/powerpc32/crti.S: New file.
58045 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58046 * sysdeps/powerpc/powerpc64/crti.S: New file.
58047 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58049 * Makeconfig (have-initfini): Don't set.
58050 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58051 * configure.in (nopic_initfini): Don't substitute.
58052 * config.h.in (HAVE_INITFINI): Don't #undef.
58053 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58054 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58056 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58058 Support crti.S and crtn.S provided directly by architectures.
58059 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58060 [crti.S in sysdirs] (omit-deps): Likewise.
58061 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58062 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58063 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58064 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58065 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58066 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58067 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58068 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58069 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58070 compiler output for sysdeps/generic/initfini.c.
58071 * sysdeps/i386/elf/Makefile: Remove file.
58072 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58074 2012-02-07 Marek Polacek <polacek@redhat.com>
58076 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58077 * sysdeps/gnu/_G_config.h: Likewise.
58078 * sysdeps/mach/hurd/_G_config.h: Likewise.
58080 2012-02-07 Marek Polacek <polacek@redhat.com>
58082 * math/Makefile (tests): Add tst-CMPLX2.
58083 * math/tst-CMPLX2.c: New file.
58085 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58087 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58089 * math/libm-test.inc (jn_test): Add missing L suffix.
58091 2012-02-06 Marek Polacek <polacek@redhat.com>
58093 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58094 * sysdeps/i386/fpu/e_powf.S: Likewise.
58095 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58096 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58097 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58098 * sysdeps/i386/fpu/e_pow.S: Likewise.
58099 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58100 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58101 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58102 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58103 * sysdeps/i386/fpu/e_log2.S: Likewise.
58104 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58105 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58106 * sysdeps/i386/fpu/e_powl.S: Likewise.
58107 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58108 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58109 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58110 * sysdeps/i386/fpu/e_logl.S: Likewise.
58111 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58112 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58113 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58114 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58115 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58116 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58117 * sysdeps/i386/fpu/e_log.S: Likewise.
58118 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58119 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58120 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58121 * sysdeps/i386/fpu/e_logf.S: Likewise.
58122 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58123 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58124 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58125 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58126 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58127 * sysdeps/i386/fpu/e_log10.S: Likewise.
58128 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58129 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58130 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58131 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58132 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58133 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58134 * sysdeps/i386/asm-syntax.h: Likewise.
58135 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58136 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58137 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58138 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58139 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58140 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58141 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58142 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58143 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58144 * sysdeps/powerpc/sysdep.h: Likewise.
58145 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58146 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58148 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58151 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58153 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58155 * sysdeps/i386/sysdep.h: Include <features.h>.
58156 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58159 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58161 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58163 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58166 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58168 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58169 (SETUP_PIC_REG): Use GET_PC_THUNK.
58170 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58173 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58175 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58176 for non-PIC compilation.
58177 (SETUP_PIC_REG): Add .p2align directive.
58178 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58179 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58180 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58181 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58183 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58184 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58185 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58186 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58187 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58188 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58189 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58190 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58191 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58192 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58193 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58194 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58195 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58196 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58197 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58198 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58199 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58200 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58201 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58204 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58206 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58207 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58208 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58210 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58211 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58212 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58213 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58214 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58215 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58216 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58217 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58218 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58220 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58222 * math/tst-CMPLX.c: Include <stdio.h>.
58224 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58226 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58228 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58229 * sysdeps/sparc/bits/mathdef.h: Likewise.
58231 2012-01-31 Marek Polacek <polacek@redhat.com>
58233 * libio/libio.h: Don't define _PARAMS.
58234 * locale/programs/config.h: Don't define PARAMS.
58235 * stdlib/strtol_l.c: Likewise.
58236 (__strtol_l): Remove PARAMS from the prototype.
58238 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58240 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58241 names. Just use the correct names. Remove unnecessary wrapper
58243 * malloc/arena.c: Likewise.
58244 * malloc/hooks.c: Likewise.
58246 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58247 ARENA_TEST says not to. Simplify test for creation of a new arena.
58248 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58250 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58252 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58254 (update_get_addr): New function.
58255 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58256 GET_ADDR_MODULE parameter.
58258 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58260 * crypt/cert.c: Remove __STDC__ conditionals.
58261 * crypt/crypt-entry.c: Likewise.
58262 * crypt/crypt_util.c: Likewise.
58263 * libio/filedoalloc.c: Likewise.
58264 * libio/fileops.c: Likewise.
58265 * libio/genops.c: Likewise.
58266 * libio/iofclose.c: Likewise.
58267 * libio/iofdopen.c: Likewise.
58268 * libio/iofopen.c: Likewise.
58269 * libio/iofopen64.c: Likewise.
58270 * libio/iogetdelim.c: Likewise.
58271 * libio/iopopen.c: Likewise.
58272 * libio/obprintf.c: Likewise.
58273 * libio/oldfileops.c: Likewise.
58274 * libio/oldiofclose.c: Likewise.
58275 * libio/oldiofdopen.c: Likewise.
58276 * libio/oldiofopen.c: Likewise.
58277 * libio/oldiopopen.c: Likewise.
58278 * libio/wfiledoalloc.c: Likewise.
58279 * libio/wgenops.c: Likewise.
58280 * locale/programs/xmalloc.c: Likewise.
58281 * misc/syslog.c: Likewise.
58282 * stdio-common/xbug.c: Likewise.
58283 * string/memchr.c: Likewise.
58284 * string/memcmp.c: Likewise.
58285 * string/memrchr.c: Likewise.
58286 * string/rawmemchr.c: Likewise.
58287 * sysdeps/posix/getcwd.c: Likewise.
58288 * time/strftime_l.c: Likewise.
58290 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58292 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58293 * config.make.in (config-cflags-sse2avx): Define.
58294 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58297 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58299 * scripts/config.guess: Update from upstream config git repository.
58300 * scripts/config.sub: Likewise.
58302 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58304 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58306 (R_TILEPRO_*, R_TILEGX_*): New macros.
58308 * scripts/firstversions.awk: Fix bug in version range handling.
58310 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58312 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58314 * include/sys/epoll.h: New file.
58315 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58318 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58320 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58321 Avoid unnecessary __WORDSIZE == 64 test.
58322 (fmaxf): Use VEX format if possible.
58327 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58328 * math/math_private.h: Remove libc_fegetround* and
58330 * sysdeps/i386/configure.in: Check for -msse2avx.
58331 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58332 also if SSE2AVX is defined.
58333 Remove libc_fegetround* and libc_fesetround*.
58334 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58335 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58344 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58346 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58348 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58350 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58352 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58355 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58357 * Makeconfig (libm): Define.
58358 * elf/Makefile: Add rules to build and run tst-relsort1.
58359 * elf/tst-relsort1.c: New file.
58360 * elf/tst-relsort1mod1.c: New file.
58361 * elf/tst-relsort1mod2.c: New file.
58363 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58365 * math/s_ldexp.c: Remove __STDC__ conditionals.
58366 * math/s_ldexpf.c: Likewise.
58367 * math/s_ldexpl.c: Likewise.
58368 * math/s_nextafter.c: Likewise.
58369 * math/s_nexttowardf.c: Likewise.
58370 * math/s_significand.c: Likewise.
58371 * math/s_significandf.c: Likewise.
58372 * math/s_significandl.c: Likewise.
58373 * math/w_jnl.c: Likewise.
58374 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58375 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58376 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58377 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58378 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58380 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58381 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58382 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58383 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58384 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58386 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58387 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58388 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58389 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58391 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58393 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58394 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58395 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58396 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58397 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58398 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58399 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58400 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58401 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58402 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58403 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58404 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58405 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58406 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58407 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58408 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58409 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58410 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58411 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58412 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58413 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58414 * sysdeps/ieee754/k_standard.c: Likewise.
58415 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58416 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58417 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58418 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58419 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58420 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58422 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58423 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58424 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58425 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58426 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58427 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58428 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58429 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58431 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58434 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58437 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58438 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58439 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58440 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58441 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58442 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58444 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58445 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58446 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58447 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58448 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58450 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58451 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58452 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58453 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58454 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58455 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58457 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58458 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58459 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58460 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58462 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58463 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58464 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58465 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58468 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58469 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58470 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58471 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58472 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58473 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58474 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58475 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58476 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58477 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58478 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58479 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58480 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58481 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58482 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58483 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58484 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58485 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58486 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58487 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58488 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58489 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58490 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58491 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58492 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58493 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58494 * sysdeps/ieee754/s_matherr.c: Likewise.
58495 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58496 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58500 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58502 * crypt/md5.h: Remove __STDC__ conditionals.
58503 * libio/libioP.h: Likewise.
58504 * locale/programs/config.h: Likewise.
58505 * sysdeps/generic/sysdep.h: Likewise.
58506 * sysdeps/i386/asm-syntax.h: Likewise.
58507 * sysdeps/s390/asm-syntax.h: Likewise.
58508 * sysdeps/unix/sysdep.h: Likewise.
58509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58512 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58514 * libio/libio.h: Remove __STDC__ conditionals.
58515 * malloc/obstack.h: Likewise.
58516 * math/complex.h: Likewise.
58517 * math/math.h: Likewise.
58518 * sysdeps/generic/_G_config.h: Likewise.
58519 * sysdeps/gnu/_G_config.h: Likewise.
58520 * sysdeps/mach/hurd/_G_config.h: Likewise.
58521 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58522 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58523 * sysdeps/sparc/bits/mathdef.h: Likewise.
58525 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58528 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58529 Clean up HAS_* macros.
58530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58531 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58533 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58535 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58536 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58537 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58538 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58539 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58541 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58543 * elf/tst-unique3.cc (gets): Remove declaration.
58544 * elf/tst-unique3lib.cc (gets): Likewise.
58545 * elf/tst-unique3lib2.cc (gets): Likewise.
58546 * elf/tst-unique4.cc (gets): Likewise.
58548 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58550 * include/stdio.h: Add C++ protection. Add gets declarations and
58552 * debug/tst-chk1.c: Don't declare gets here.
58553 * stdio-common/tst-gets.c: Likewise.
58555 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58557 * posix/glob: Remove directory.
58559 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58561 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58563 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58565 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58566 of the non-standard EPFNOSUPPORT.
58568 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58570 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58571 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58572 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58574 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58576 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58578 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58580 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58582 * nscd/grpcache.c (cache_addgr): Likewise.
58583 * nscd/hstcache.c (cache_addhst): Likewise.
58584 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58585 * nscd/pwdcache.c (cache_addpw): Likewise.
58586 * nscd/servicescache.c (cache_addserv): Likewise.
58588 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58590 * malloc/malloc.c: Various cleanups.
58591 * malloc/hooks.c: Likewise.
58593 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58594 * stdlib/bug-fmtmsg1.c: New file.
58596 * stdlib/fmtmsg.c (init): Add missing unlock.
58597 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58599 2012-01-12 Marek Polacek <polacek@redhat.com>
58601 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58604 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58606 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58607 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58608 macro to ensure uniqueness of label name.
58609 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58610 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58612 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58614 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58616 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58617 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58618 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58621 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58625 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58626 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58627 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58629 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58631 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58632 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58633 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58636 * math/bits/math-finite.h: Add ldexp support.
58638 2012-01-10 Marek Polacek <polacek@redhat.com>
58640 * locale/programs/localedef.h (show_archive_content): Add noreturn
58643 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58645 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58647 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58649 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58651 * io/Makefile (headers): Add bits/poll2.h.
58653 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58656 typo #include statement.
58658 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58660 * include/sys/cdefs.h: Define __attribute_alloc_size.
58661 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58662 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58663 * elf/pldd.c: Likewise.
58664 * iconv/iconv_charmap.c: Likewise.
58665 * iconv/iconvconfig.c: Likewise.
58666 * iconv/strtab.c: Likewise.
58667 * locale/programs/locale.c: Likewise.
58668 * locale/programs/localedef.h: Likewise.
58669 * locale/programs/simple-hash.c: Likewise.
58670 * nscd/nscd.h: Likewise.
58671 * nss/makedb.c: Likewise.
58672 * sysdeps/generic/ldconfig.h: Likewise.
58673 * locale/programs/localedef.c: Remove xmalloc prototype.
58674 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58676 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58678 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58681 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58683 * math/Makefile (tests): Add tst-CMPLX.
58684 * math/tst-CMPLX.c: New file.
58686 * math/complex.h (CMPLXL): Fix typo.
58688 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58689 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58691 * debug/tst-chk1.c: Add poll and ppoll tests.
58692 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58693 * include/sys/poll.h: Add hidden proto for ppoll.
58694 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58695 * sysdeps/mach/hurd/ppoll.c: Likewise.
58696 * io/ppoll.c: Likewise.
58697 * debug/poll_chk.c: New file.
58698 * debug/ppoll_chk.c: New file.
58699 * include/bits/poll2.h: New file.
58700 * io/bits/poll2.h: New file.
58703 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58705 * configure.in: static is always set to yes. Remove.
58706 * config.make.in: Don't set build-static.
58707 * Makeconfig: Remove use of build-static.
58708 * dlfcn/Makefile: Likewise.
58709 * elf/Makefile: Likewise.
58710 * math/Makefile: Likewise.
58711 * misc/Makefile: Likewise.
58712 * nptl/Makefile: Likewise.
58713 * sysdeps/mach/hurd/Makefile: Likewise.
58715 * configure.in: PWD_P is not used anymore.
58716 * config.make.in: Remove PWD_P entry.
58718 * configure.in: Remove last remnants of RANLIB.
58719 No need to check for signed size_t anymore.
58720 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58722 Remove __builtin_expect test because we require at least gcc 3.4.
58723 * aclocal.m4: Likewise.
58725 * wcsmbs/mbrtoc16.c: Implement using towc function.
58726 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58727 * wcsmbs/wcsmbsload.c: Likewise.
58728 * iconv/gconv_simple.c: Likewise.
58729 * iconv/gconv_int.h: Likewise.
58730 * iconv/gconv_builtin.h: Likewise.
58731 * iconv/iconv_prog.c: Remove CHAR16 handling.
58733 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58735 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58737 * configure.in: Remove --with-elf and --enable-bounded options.
58738 Dont set base_machine for ia64. More non-ELF conditions removed.
58739 Remove testing and setting of leading underscore information.
58740 * config.make.in (build-bounded): Set to no.
58741 * config.h.in: Remove NO_UNDERSCORES entry.
58742 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58744 * csu/start.c: Remove !NO_UNDERSCORE code.
58745 * locale/localeinfo.h: Likewise.
58746 * sysdeps/generic/machine-gmon.h: Likewise.
58747 * sysdeps/generic/sysdep.h: Likewise.
58748 * sysdeps/i386/sysdep.h: Likewise.
58749 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58750 * sysdeps/mach/sysdep.h: Likewise.
58751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58753 * sysdeps/sh/sysdep.h: Likewise.
58754 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58755 * sysdeps/unix/i386/sysdep.S: Likewise.
58756 * sysdeps/unix/sparc/start.c: Likewise.
58757 * sysdeps/unix/sparc/sysdep.S: Likewise.
58758 * sysdeps/unix/sparc/sysdep.h: Likewise.
58759 * sysdeps/unix/start.c: Likewise.
58760 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58761 * sysdeps/x86_64/sysdep.h: Likewise.
58763 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58766 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58768 * argp/argp-fmtstream.h: Use const instead __const.
58769 * argp/argp.h: Likewise.
58770 * assert/assert.h: Likewise.
58771 * bits/fenv.h: Likewise.
58772 * bits/sched.h: Likewise.
58773 * bits/sigset.h: Likewise.
58774 * bits/sigthread.h: Likewise.
58775 * catgets/nl_types.h: Likewise.
58776 * conform/data/pthread.h-data: Likewise.
58777 * crypt/crypt-private.h: Likewise.
58778 * crypt/crypt.h: Likewise.
58779 * crypt/crypt_util.c: Likewise.
58780 * ctype/ctype.h: Likewise.
58781 * debug/execinfo.h: Likewise.
58782 * debug/mbsnrtowcs_chk.c: Likewise.
58783 * debug/mbsrtowcs_chk.c: Likewise.
58784 * debug/wcsnrtombs_chk.c: Likewise.
58785 * debug/wcsrtombs_chk.c: Likewise.
58786 * debug/wcstombs_chk.c: Likewise.
58787 * dirent/dirent.h: Likewise.
58788 * dlfcn/dlfcn.h: Likewise.
58789 * elf/neededtest4.c: Likewise.
58790 * grp/grp.h: Likewise.
58791 * gshadow/gshadow.h: Likewise.
58792 * iconv/gconv.h: Likewise.
58793 * iconv/gconv_int.h: Likewise.
58794 * iconv/gconv_simple.c: Likewise.
58795 * iconv/iconv.h: Likewise.
58796 * iconv/loop.c: Likewise.
58797 * iconv/skeleton.c: Likewise.
58798 * include/aio.h: Likewise.
58799 * include/aliases.h: Likewise.
58800 * include/argz.h: Likewise.
58801 * include/arpa/inet.h: Likewise.
58802 * include/assert.h: Likewise.
58803 * include/dirent.h: Likewise.
58804 * include/dlfcn.h: Likewise.
58805 * include/execinfo.h: Likewise.
58806 * include/fcntl.h: Likewise.
58807 * include/fenv.h: Likewise.
58808 * include/glob.h: Likewise.
58809 * include/grp.h: Likewise.
58810 * include/libintl.h: Likewise.
58811 * include/mntent.h: Likewise.
58812 * include/netdb.h: Likewise.
58813 * include/pwd.h: Likewise.
58814 * include/rpc/netdb.h: Likewise.
58815 * include/sched.h: Likewise.
58816 * include/search.h: Likewise.
58817 * include/shadow.h: Likewise.
58818 * include/signal.h: Likewise.
58819 * include/stdio.h: Likewise.
58820 * include/stdlib.h: Likewise.
58821 * include/string.h: Likewise.
58822 * include/sys/socket.h: Likewise.
58823 * include/sys/stat.h: Likewise.
58824 * include/sys/statfs.h: Likewise.
58825 * include/sys/statvfs.h: Likewise.
58826 * include/sys/syslog.h: Likewise.
58827 * include/sys/time.h: Likewise.
58828 * include/sys/uio.h: Likewise.
58829 * include/time.h: Likewise.
58830 * include/unistd.h: Likewise.
58831 * include/utmp.h: Likewise.
58832 * include/wchar.h: Likewise.
58833 * include/wctype.h: Likewise.
58834 * inet/aliases.h: Likewise.
58835 * inet/arpa/inet.h: Likewise.
58836 * inet/netinet/ether.h: Likewise.
58837 * inet/netinet/in.h: Likewise.
58838 * intl/libintl.h: Likewise.
58839 * io/bits/fcntl2.h: Likewise.
58840 * io/fcntl.h: Likewise.
58841 * io/ftw.h: Likewise.
58842 * io/sys/poll.h: Likewise.
58843 * io/sys/stat.h: Likewise.
58844 * io/sys/statfs.h: Likewise.
58845 * io/sys/statvfs.h: Likewise.
58846 * io/utime.h: Likewise.
58847 * libio/bits/stdio.h: Likewise.
58848 * libio/bits/stdio2.h: Likewise.
58849 * libio/libio.h: Likewise.
58850 * libio/libioP.h: Likewise.
58851 * libio/stdio.h: Likewise.
58852 * locale/lc-ctype.c: Likewise.
58853 * locale/locale.h: Likewise.
58854 * login/utmp.h: Likewise.
58855 * malloc/arena.c: Likewise.
58856 * malloc/malloc.c: Likewise.
58857 * malloc/malloc.h: Likewise.
58858 * malloc/mcheck.c: Likewise.
58859 * malloc/mtrace.c: Likewise.
58860 * math/bits/mathcalls.h: Likewise.
58861 * math/fenv.h: Likewise.
58862 * math/math_private.h: Likewise.
58863 * misc/bits/error.h: Likewise.
58864 * misc/bits/syslog.h: Likewise.
58865 * misc/err.h: Likewise.
58866 * misc/error.h: Likewise.
58867 * misc/fstab.h: Likewise.
58868 * misc/mntent.h: Likewise.
58869 * misc/regexp.h: Likewise.
58870 * misc/search.h: Likewise.
58871 * misc/sgtty.h: Likewise.
58872 * misc/sys/mman.h: Likewise.
58873 * misc/sys/syslog.h: Likewise.
58874 * misc/sys/uio.h: Likewise.
58875 * misc/sys/xattr.h: Likewise.
58876 * misc/ttyent.h: Likewise.
58877 * nis/rpcsvc/ypclnt.h: Likewise.
58878 * nss/nss.h: Likewise.
58879 * posix/bits/unistd.h: Likewise.
58880 * posix/fnmatch.h: Likewise.
58881 * posix/glob.h: Likewise.
58882 * posix/sched.h: Likewise.
58883 * posix/spawn.h: Likewise.
58884 * posix/sys/wait.h: Likewise.
58885 * posix/unistd.h: Likewise.
58886 * posix/wordexp.h: Likewise.
58887 * pwd/pwd.h: Likewise.
58888 * resolv/netdb.h: Likewise.
58889 * resource/sys/resource.h: Likewise.
58890 * rt/aio.h: Likewise.
58891 * rt/bits/mqueue2.h: Likewise.
58892 * rt/mqueue.h: Likewise.
58893 * shadow/shadow.h: Likewise.
58894 * signal/signal.h: Likewise.
58895 * socket/send.c: Likewise.
58896 * socket/sendto.c: Likewise.
58897 * socket/sys/socket.h: Likewise.
58898 * stdio-common/printf.h: Likewise.
58899 * stdlib/bits/stdlib.h: Likewise.
58900 * stdlib/fmtmsg.h: Likewise.
58901 * stdlib/monetary.h: Likewise.
58902 * stdlib/stdlib.h: Likewise.
58903 * stdlib/ucontext.h: Likewise.
58904 * streams/stropts.h: Likewise.
58905 * string/argz.h: Likewise.
58906 * string/bits/string2.h: Likewise.
58907 * string/string.h: Likewise.
58908 * string/strings.h: Likewise.
58909 * sunrpc/rpc/auth.h: Likewise.
58910 * sunrpc/rpc/auth_des.h: Likewise.
58911 * sunrpc/rpc/clnt.h: Likewise.
58912 * sunrpc/rpc/netdb.h: Likewise.
58913 * sunrpc/rpc/pmap_clnt.h: Likewise.
58914 * sunrpc/rpc/xdr.h: Likewise.
58915 * sysdeps/generic/inttypes.h: Likewise.
58916 * sysdeps/generic/net/if.h: Likewise.
58917 * sysdeps/generic/sys/swap.h: Likewise.
58918 * sysdeps/gnu/net/if.h: Likewise.
58919 * sysdeps/gnu/utmpx.h: Likewise.
58920 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58921 * sysdeps/i386/i486/bits/string.h: Likewise.
58922 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58923 * sysdeps/s390/bits/string.h: Likewise.
58924 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58925 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58926 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58927 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58928 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58929 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58930 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58931 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58932 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58933 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58934 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58935 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58936 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58937 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58938 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58939 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58940 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58942 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58943 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58945 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58946 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58947 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58948 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58949 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58950 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58951 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58952 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58954 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58955 * sysvipc/sys/ipc.h: Likewise.
58956 * sysvipc/sys/msg.h: Likewise.
58957 * sysvipc/sys/sem.h: Likewise.
58958 * sysvipc/sys/shm.h: Likewise.
58959 * termios/termios.h: Likewise.
58960 * time/sys/time.h: Likewise.
58961 * time/time.h: Likewise.
58962 * wcsmbs/bits/wchar2.h: Likewise.
58963 * wcsmbs/uchar.h: Likewise.
58964 * wcsmbs/wchar.h: Likewise.
58965 * wctype/wctype.h: Likewise.
58968 * Makeconfig: Remove all but ELF support including AIX support.
58969 * Makerules: Likewise.
58970 * config.h.in: Likewise.
58971 * config.make.in: Likewise.
58972 * configure: Likewise.
58973 * configure.in: Likewise.
58974 * csu/Makefile: Likewise.
58975 * csu/version.c: Likewise.
58976 * debug/Makefile: Likewise.
58977 * dlfcn/Makefile: Likewise.
58978 * elf/Makefile: Likewise.
58979 * extra-lib.mk: Likewise.
58980 * iconv/Makefile: Likewise.
58981 * include/libc-symbols.h: Likewise.
58982 * include/shlib-compat.h: Likewise.
58983 * resolv/Makefile: Likewise.
58984 * resolv/res_libc.c: Likewise.
58985 * rt/Makefile: Likewise.
58986 * sysdeps/i386/asm-syntax.h: Likewise.
58987 * sysdeps/i386/sysdep.h: Likewise.
58988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58989 * sysdeps/mach/sysdep.h: Likewise.
58990 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58991 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58992 * sysdeps/s390/asm-syntax.h: Likewise.
58993 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58994 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58995 * sysdeps/sh/sysdep.h: Likewise.
58996 * sysdeps/unix/sparc/sysdep.h: Likewise.
58997 * sysdeps/wordsize-32/divdi3.c: Likewise.
58998 * sysdeps/x86_64/sysdep.h: Likewise.
59000 * argp/Versions: Remove _argp_unlock_xxx.
59003 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59004 * abilist/libBrokenLocale.abilist: Likewise.
59005 * abilist/libanl.abilist: Likewise.
59006 * abilist/libc.abilist: Likewise.
59007 * abilist/libcrypt.abilist: Likewise.
59008 * abilist/libdl.abilist: Likewise.
59009 * abilist/libm.abilist: Likewise.
59010 * abilist/libnsl.abilist: Likewise.
59011 * abilist/libpthread.abilist: Likewise.
59012 * abilist/libresolv.abilist: Likewise.
59013 * abilist/librt.abilist: Likewise.
59014 * abilist/libthread_db.abilist: Likewise.
59015 * abilist/libutil.abilist: Likewise.
59016 * abilist/libnss_db.abilist: New file.
59018 * scripts/abilist.awk: Add support for indirect functions.
59020 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59022 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59024 * shlib-versions: Remove entries for ports architectures.
59026 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59028 * elf/stackguard-macros.h: Remove support for IA-64.
59029 * elf/tst-auditmod1.c: Likewise.
59030 * sysdeps/generic/ldsodefs.h: Likewise.
59032 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59033 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59037 * configure.in: Remove --enable-omitfp support.
59039 * config.make.in: Likewise.
59040 * Makeconfig: Likewise.
59041 * manual/install.texi: Likewise.
59043 In case anyone cares, the IA-64 architecture could move to ports.
59044 * sysdeps/ia64/*: Removed.
59045 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59046 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59049 * configure.in: Remove entries for unsupported architectures.
59052 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59053 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59055 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59056 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59057 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59058 fall back to using wcrtomb.
59059 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59060 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59062 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59063 * wcsmbs/tst-c16c32-1.c: New file.
59065 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59068 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59070 * elf/tst-unique3.cc: Add explicit declaration of gets.
59071 * elf/tst-unique3lib.cc: Likewise.
59072 * elf/tst-unique3lib2.cc: Likewise.
59073 * elf/tst-unique4.cc: Likewise.
59075 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59077 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59080 * assert/assert.h (static_assert): Don't define for C++.
59081 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59082 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59084 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59086 * iconv/loop.c (single loop): Fix assertion in storing of
59089 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59091 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59093 * posix/getconf.c: Update copyright year.
59094 * nss/getent.c: Likewise.
59095 * nss/makedb.c: Likewise.
59096 * iconv/iconvconfig.c: Likewise.
59097 * iconv/iconv_prog.c: Likewise.
59098 * elf/ldconfig.c: Likewise.
59099 * elf/pldd.c: Likewise.
59100 * elf/sotruss.ksh: Likewise.
59101 * catgets/gencat.c: Likewise.
59102 * csu/version.c: Likewise.
59103 * elf/ldd.bash.in: Likewise.
59104 * elf/sprof.c (print_version): Likewise.
59105 * locale/programs/locale.c: Likewise.
59106 * locale/programs/localedef.c: Likewise.
59107 * login/programs/pt_chown.c: Likewise.
59108 * nscd/nscd.c (print_version): Likewise.
59109 * debug/xtrace.sh: Likewise.
59110 * malloc/memusage.sh: Likewise.
59111 * malloc/mtrace.pl: Likewise.
59112 * debug/catchsegv.sh: Likewise.
59114 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59116 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59119 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59122 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59123 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59125 * iconv/gconv_int.h: Likewise.
59126 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59127 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59128 from libc for GLIBC_2.16.
59129 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59130 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59131 * wcsmbs/uchar.h: Really define mbstate_t.
59132 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59133 * wcsmbs/c16rtomb.c: New file.
59134 * wcsmbs/mbrtoc16.c: New file.
59135 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59136 for C/POSIX locale.
59137 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59138 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59140 * wcsmbs/wchar.h: Add missing __restrict.
59142 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59145 * time/Makefile (routines): Add timespec_get.
59146 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59147 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59148 timespec for ISO C11.
59149 * time/timespec_get.c: New file.
59150 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59151 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59154 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59155 * stdlib/stdlib.h: Declare aligned_alloc.
59156 * Versions.def: Add GLIBC_2.16 for libc.
59157 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59160 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59163 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59167 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59170 * assert/assert.h (static_assert): Define.
59172 * version.h: Update for 2.16 development version.
59175 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59178 * version.h (RELEASE): Bump for 2.15 release.
59179 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59181 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59182 Patch by Marek Polacek <mpolacek@redhat.com>.
59184 * bits/byteswap.h: Protect long long constants with __extension__.
59185 * sysdeps/i386/bits/byteswap.h: Likewise.
59186 * sysdeps/ia64/bits/byteswap.h: Likewise.
59187 * sysdeps/s390/bits/byteswap.h: Likewise.
59188 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59190 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59193 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59194 destination buffer.
59195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59197 2011-12-23 Marek Polacek <polacek@redhat.com>
59199 * elf/dl-addr.c (determine_info): Add inline keyword.
59200 * elf/tst-auditmod4b.c (check_avx): Likewise.
59201 * elf/tst-auditmod6b.c (check_avx): Likewise.
59202 * elf/tst-auditmod6c.c (check_avx): Likewise.
59203 * elf/tst-auditmod7b.c (check_avx): Likewise.
59205 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59207 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59210 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59214 processing for last bytes.
59216 2011-08-06 Bruno Haible <bruno@clisp.org>
59219 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59220 U+0385, not to U+1FEE.
59223 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59224 entry for U+00A5 U+0301.
59226 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59229 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59230 buffer for the output is too small.
59232 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59236 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59237 SSE flags if possible.
59239 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59242 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59243 processing for last bytes.
59245 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59247 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59248 (syscall-list-default-options, syscall-list-default-condition)
59249 (syscall-list-includes): Define.
59250 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59251 list of ABIs and options and #if conditions for each ABI. Do not
59252 handle common syscalls between ABIs specially.
59253 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59255 (syscall-list-variants, syscall-list-32bit-options)
59256 (syscall-list-32bit-condition, syscall-list-64bit-options)
59257 (syscall-list-64bit-condition): Define.
59258 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59259 (syscall-list-variants, syscall-list-32bit-options)
59260 (syscall-list-32bit-condition, syscall-list-64bit-options)
59261 (syscall-list-64bit-condition): Define.
59262 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59264 (syscall-list-variants, syscall-list-32bit-options)
59265 (syscall-list-32bit-condition, syscall-list-64bit-options)
59266 (syscall-list-64bit-condition): Define.
59267 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59269 (syscall-list-variants, syscall-list-32bit-options)
59270 (syscall-list-32bit-condition, syscall-list-64bit-options)
59271 (syscall-list-64bit-condition): Define.
59273 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59275 * locale/iso-639.def: Add brx entry.
59278 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59279 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59281 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59282 __feraiseexcept_renamed.
59284 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59287 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59288 EPOLLET with unsigned values.
59289 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59292 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59293 to large cancellation.
59294 * math/s_cacoshf.c: Likewise.
59295 * math/s_cacoshl.c: Likewise.
59297 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59301 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59302 * math/s_cacoshf.c: Likewise.
59303 * math/s_cacoshl.c: Likewise.
59305 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59308 * iconv/gconv.h: Define __GCONV_SWAP.
59309 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59310 * iconvdata/utf-16.c: Likewise.
59311 * iconvdata/utf-32.c: Likewise.
59313 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59316 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59317 numerator after shifting it by one limb.
59319 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59321 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59322 under [__USE_EXTERN_INLINES].
59324 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59327 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59329 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59331 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59332 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59334 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59335 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59336 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59337 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59338 for strncasecmp/strncasecmp_l compilation.
59339 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59340 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59342 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59345 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59348 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59351 * time/tzfile.c (__tzfile_read): Check values from file header.
59353 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59355 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59356 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59357 * powerpc/powerpc32/dl-start.S: Likewise.
59358 * powerpc/powerpc32/elf/start.S: Likewise.
59359 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59360 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59361 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59362 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59363 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59364 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59365 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59366 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59367 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59368 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59369 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59370 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59371 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59372 * powerpc/powerpc32/memset.S: Likewise.
59373 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59374 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59375 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59376 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59377 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59378 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59379 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59380 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59381 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59382 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59383 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59384 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59385 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59387 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59389 * math/libm-test.inc: Added more nearbyint tests.
59390 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59392 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59395 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59397 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59400 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59402 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59403 Add wcscpy-ssse3 wcscpy-c.
59404 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59405 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59406 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59407 * sysdeps/x86_64/wcschr.S: New file.
59408 * sysdeps/x86_64/wcsrchr.S: New file.
59409 * string/test-strcmp.c: Remove checking of wcscmp function for
59411 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59412 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59413 wcsrchr-sse2 wcsrchr-c.
59414 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59415 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59416 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59417 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59418 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59419 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59420 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59421 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59422 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59423 * wcsmbc/wcschr.c (WCSCHR): New macro.
59425 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59427 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59428 * wcsmbs/test-wcsrchr.c: New file.
59429 * string/test-strrchr.c: Add wcsrchr support.
59431 * wcsmbs/test-wcscpy.c: New file.
59432 * string/test-strcpy.c: Add wcscpy support.
59435 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59437 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59440 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59443 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59445 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59447 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59448 Minor optimizations.
59450 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59451 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59452 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59454 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59456 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59457 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59458 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59459 for gcc to avoid warnings.
59460 * inet/Makefile (tests): Add tst-checks.
59461 * inet/tst-checks.c: New file.
59463 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59466 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59469 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59470 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59472 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59474 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59476 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59479 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59481 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59483 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59484 conditional on GCC version.
59485 (__arch_compare_and_exchange_val_8_acq)
59486 (__arch_compare_and_exchange_val_16_acq)
59487 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59488 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59489 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59491 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59493 * sysdeps/sh/backtrace.c: New file.
59495 2011-12-02 Andreas Schwab <schwab@redhat.com>
59497 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59500 2011-12-01 Andreas Schwab <schwab@redhat.com>
59502 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59503 falling back to utime.
59505 2011-11-30 Andreas Schwab <schwab@redhat.com>
59507 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59508 expectations for float.
59510 2011-11-29 Andreas Schwab <schwab@redhat.com>
59512 * locale/weight.h (findidx): Add parameter len.
59513 * locale/weightwc.h (findidx): Likewise.
59514 * posix/fnmatch_loop.c (FCT): Adjust caller.
59515 * posix/regcomp.c (build_equiv_class): Likewise.
59516 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59517 * posix/regexec.c (check_node_accept_bytes): Likewise.
59518 * string/strcoll_l.c (STRCOLL): Likewise.
59519 * string/strxfrm_l.c (STRXFRM): Likewise.
59521 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59523 * Makefile.in: Remove CVSOPT handling.
59524 * configure.in: Remove use of AC_REVISION.
59525 * iconvdata/Makefile (distribute): No need to filter out CVS.
59526 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59529 2011-11-16 Andreas Schwab <schwab@redhat.com>
59531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59532 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59533 [USE_AS_STRNCASECMP_L]: Likewise.
59534 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59535 NO_TLS_DIRECT_SEG_REFS.
59536 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59537 Fix argument offsets for non-PIC.
59538 [USE_AS_STRNCASECMP_L]: Likewise.
59539 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59540 NO_TLS_DIRECT_SEG_REFS.
59542 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59544 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59546 * locale/loadlocale.c (_nl_load_locale): Likewise.
59548 2011-11-15 Andreas Schwab <schwab@redhat.com>
59550 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59551 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59552 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59553 (SYSCALL_GETTIME): Set errno on error.
59555 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59556 count references to noai6ai_cached.
59558 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59560 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59562 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59563 FD_CLOEXEC for /proc/self/maps.
59565 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59566 FD_CLOEXEC for /proc/meminfo.
59568 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59571 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59572 FD_CLOEXEC for given file.
59574 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59576 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59577 FD_CLOEXEC for /etc/hosts.
59578 (_gethtent): Likewise.
59580 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59582 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59583 cancellation and set FD_CLOEXEC for /etc/netgroup.
59585 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59586 reading /etc/publickey.
59588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59589 allow cancellation when reading /etc/group.
59591 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59593 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59595 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59596 when using data file.
59598 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59600 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59601 (write_nis_obj): Use "c" and "e" in fopen.
59603 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59605 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59607 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59609 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59611 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59614 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59616 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59618 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59620 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59621 file parsing and set FD_CLOEXEC.
59623 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59625 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59627 2011-11-14 Andreas Schwab <schwab@redhat.com>
59629 * malloc/arena.c (arena_get2): Don't call reused_arena when
59630 _int_new_arena failed.
59632 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59634 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59635 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59636 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59637 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59638 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59640 to compile strcasecmp and strncasecmp.
59641 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59642 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59646 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59648 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59649 locale-defines.sym to gen-as-const-headers.
59650 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59651 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59653 to compile strcasecmp and strncasecmp.
59654 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59655 strcasecmp_l and strncasecmp_l.
59656 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59657 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59658 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59659 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59660 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59661 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59662 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59663 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59664 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59665 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59666 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59668 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59670 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59671 result of SYSDEP_GETTIME_CPU to retval.
59672 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59673 parameter list to macro. Remove trailing semicolon. Adjust users.
59675 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59678 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59680 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59682 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59683 from unused variable.
59685 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59687 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59690 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59693 * sunrpc/rpc_prot.c (rejected): Fix case value.
59695 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59696 unsigned long long int to avoid warnings in shift.
59698 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59700 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59703 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59704 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59705 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59707 * nis/nis_table.c (nis_list): Use variable of correct type for
59708 result of __follow_path call.
59710 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59712 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59713 of math functions ceil, trunc, floor, round, and sqrt, when
59714 avaliable on the platform.
59715 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59717 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59718 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59719 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59721 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59723 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59724 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59726 2011-11-11 Roland McGrath <roland@hack.frob.com>
59728 * include/unistd.h: Fix __readlink return type.
59729 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59731 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59733 * stdlib/ucontext.h: Undo last change for makecontext.
59735 2011-11-11 Andreas Schwab <schwab@redhat.com>
59737 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59739 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59740 * setjmp/setjmp.h: Mark functions as non-leaf.
59741 * setjmp/bits/setjmp2.h: Likewise.
59742 * stdlib/ucontext.h: Likewise.
59744 2011-11-10 Andreas Schwab <schwab@redhat.com>
59746 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59747 (reused_arena): Don't check arena limit.
59748 (arena_get2): Atomically check arena limit.
59750 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59752 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59753 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59758 2011-11-07 Andreas Schwab <schwab@redhat.com>
59760 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59761 handler when locking.
59763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59764 Fix size of allocated buffer.
59766 2011-11-04 Andreas Schwab <schwab@redhat.com>
59769 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59770 declarations for long double functions.
59771 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59773 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59775 2011-11-03 Andreas Schwab <schwab@redhat.com>
59777 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59780 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59783 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59785 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59787 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59789 * include/alloca.h (stackinfo_alloca_round): Define.
59790 (extend_alloca): Use it.
59791 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59792 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59795 * scripts/check-local-headers.sh: Ignore libaudit.h.
59797 * nscd/Makefile (extra-objs): Make recursively expanded.
59799 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59801 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59802 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59804 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59805 * posix/tst-rfc3484-2.c: Likewise.
59806 * posix/tst-rfc3484-3.c: Likewise.
59808 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59810 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59812 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59813 process_vm_writev from libc using GLIBC_2.15 version.
59815 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59817 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59819 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59822 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59825 * nss/getent.c (initgroups_keys): Show error message in case no group
59828 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59829 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59830 __bump_nl_timestamp.
59831 * nscd/connections (nscd_init): When host database is served open
59832 netlink socket and request notification about configuration changes.
59833 (main_loop_poll): Track netlink file descriptor and bump timestamp
59834 in case data becomes available.
59835 (main_loop_epoll): Likewise.
59836 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59837 (database_pers_head): Add extra_data fileds.
59838 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59839 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59840 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59843 in6ai data, call __free_in6ai.
59844 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59845 Add -DHAVE_NETLINK.
59846 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59847 interface information. Reuse previous data if netlink timestamp
59849 (__bump_nl_timestamp): New function.
59850 (__free_in6ai): New function.
59852 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59854 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59855 close_not_cancel_no_status here.
59856 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59858 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59861 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59864 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59865 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59866 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59868 2011-07-03 Andreas Jaeger <aj@suse.de>
59871 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59872 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59873 * math/libm-test.inc (sin_test): Add test case.
59875 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59878 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59879 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59881 * elf/chroot_canon.c (chroot_canon): Cleanups.
59883 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59886 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59887 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59889 * string/test-strchr.c: Make usable for strchrnul testing.
59890 * string/test-strchrnul.c: New file.
59891 * string/Makefile (strop-tests): Add strchrnul.
59893 * po/it.po: Update from translation team.
59894 * po/es.po: Likewise.
59896 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59898 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59899 the three constants needed as parameters. Drop the others.
59900 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59901 __m128i_strloadu_tolower.
59902 Create and initialize variable zero and use it in all the places
59903 where _mm_setzero_si128 was used.
59905 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59906 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59907 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59908 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59910 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59911 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59912 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59913 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59914 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59915 __mpranred, __mptan.
59916 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59917 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59918 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59919 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59920 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59921 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59923 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59924 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59926 2011-10-28 Andreas Schwab <schwab@redhat.com>
59928 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59929 redefine if SHARED.
59930 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59933 wide char related routines to wcsmbs subdir.
59935 2011-10-27 Andreas Schwab <schwab@redhat.com>
59938 * misc/sys/cdefs.h (__THROWNL): Define.
59939 * posix/unistd.h: Use __THREADNL instead of __THREAD
59940 for memory synchronization functions.
59942 2011-10-26 Roland McGrath <roland@hack.frob.com>
59945 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59947 * manual/stdio.texi (Obstack Streams): Node removed.
59949 2011-10-26 Andreas Schwab <schwab@redhat.com>
59951 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59952 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59953 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59955 * math/math_private.h (math_force_eval): Allow non-addressable
59957 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59959 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59961 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59962 file is not needed.
59964 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59967 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59968 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59969 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59971 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59973 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59974 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59975 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59976 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59977 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59978 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59979 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59980 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59981 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59982 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59983 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59984 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59985 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59986 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59987 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59988 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59989 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59990 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59991 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59993 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59994 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59997 place. Use VEX encoding when compiling for AVX.
59999 2011-10-25 Andreas Schwab <schwab@redhat.com>
60001 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60002 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60004 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60006 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60008 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60009 useless if() expression.
60010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60011 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60015 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60016 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60018 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60020 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60021 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60022 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60023 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60024 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60025 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60026 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60027 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60028 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60030 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60032 2011-10-25 Andreas Schwab <schwab@redhat.com>
60034 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60036 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60038 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60040 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60041 .text section. Avoid duplicate constants.
60042 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60050 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60051 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60052 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60053 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60054 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60055 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60056 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60057 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60058 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60059 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60062 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60063 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60064 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60065 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60066 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60067 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60068 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60070 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60071 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60072 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60073 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60074 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60075 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60076 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60077 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60078 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60080 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60081 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60082 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60083 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60084 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60085 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60086 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60088 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60090 * sysdeps/x86_64/dla.h: Move to ...
60091 * sysdeps/x86_64/fpu/dla.h: ...here.
60092 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60093 situations. Use __builtin_fma only for gcc 4.6 and up.
60095 * config.make.in: Add have-mfma4 entry.
60096 * configure.in: Substitute libc_cv_cc_fma4.
60097 * math/Makefile (dbl-only-routines): Add sincostab.
60098 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60099 Use __sincostab not sincos.
60100 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60107 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60108 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60109 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60110 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60112 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60113 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60115 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60116 define aliases when function name is a macro.
60117 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60118 sysdeps/ieee754/dbl-64/sincos.tbl.
60119 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60120 fma4-enabled routines.
60121 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60122 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60123 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60124 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60125 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60126 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60128 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60130 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60131 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60132 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60133 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60134 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60135 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60136 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60137 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60138 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60139 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60140 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60141 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60142 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60143 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60144 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60146 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60147 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60148 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60149 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60150 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60152 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60163 2011-10-24 Andreas Schwab <schwab@redhat.com>
60165 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60167 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60169 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60171 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60175 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60176 Remove unused variable magic_bits.
60177 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60179 * string/strnlen.c: Define and use STRNLEN macro.
60180 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60181 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60182 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60183 * wcsmbs/wcslen.c: Define and use WCSLEN.
60184 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60185 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60186 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60187 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60188 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60189 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60190 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60192 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60195 strnlen-sse2-no-bsf.
60196 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60198 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60199 Add strnlen support.
60200 (USE_AS_STRNLEN): New macro.
60201 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60202 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60203 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60204 * sysdeps/x86_64/wcslen.S: New file.
60206 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60208 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60209 XMM-moves are used for copying on small sizes.
60211 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60213 * wcsmbs/Makefile (strop-tests): Add wcschr.
60214 * wcsmbs/test-wcschr.c: New file.
60215 * string/test-strchr.c: Update.
60216 Add wcschr support.
60219 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60221 * wcsmbs/Makefile (strop-tests): Add wcslen.
60222 * wcsmbs/test-wcslen.c: New file.
60223 * string/test-strlen.c: Update.
60224 Add wcslen support.
60227 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60229 * po/it.po: Update from translation team.
60231 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60233 * sysdeps/x86_64/wcscmp.S: Update.
60234 Fix wrong comparison semantics.
60235 wcscmp shall use signed comparison not unsigned.
60236 Don't use substraction to avoid overflow bug.
60237 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60238 * wcsmbc/wcscmp.c: Likewise.
60239 * string/test-strcmp.c: Likewise.
60240 Add new tests to check cases with negative values.
60242 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60244 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60245 * sysdeps/x86_64/dla.h: ...here. New file.
60246 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60253 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60256 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60259 __ynl_finite aliases.
60261 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60265 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60267 [DLA_FMA] (EMULV): Use DLA_FMA.
60268 [DLA_FMA] (MUL12): Use EMULV.
60269 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60270 that are not needed.
60271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60272 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60276 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60279 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60281 * math/s_nan.c: Undef __nan.
60282 * math/s_nanf.c: Undef __nanf.
60283 * math/s_nanl.c: Undef __nanl.
60284 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60287 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60289 * math/s_catan.c: Add branch predictions.
60290 * math/s_catanf.c: Likewise.
60291 * math/s_catanh.c: Likewise.
60292 * math/s_catanhf.c: Likewise.
60293 * math/s_catanhl.c: Likewise.
60294 * math/s_catanl.c: Likewise.
60295 * math/s_cexp.c: Likewise.
60296 * math/s_cexpf.c: Likewise.
60297 * math/s_cexpl.c: Likewise.
60298 * math/s_clog.c: Likewise.
60299 * math/s_clog10.c: Likewise.
60300 * math/s_clog10f.c: Likewise.
60301 * math/s_clog10l.c: Likewise.
60302 * math/s_clogf.c: Likewise.
60303 * math/s_clogl.c: Likewise.
60304 * math/s_csqrt.c: Likewise.
60305 * math/s_csqrtf.c: Likewise.
60306 * math/s_csqrtl.c: Likewise.
60307 * math/s_ctanf.c: Likewise.
60308 * math/s_ctanh.c: Likewise.
60309 * math/s_ctanhf.c: Likewise.
60310 * math/s_ctanhl.c: Likewise.
60311 * math/s_ctanl.c: Likewise.
60313 * math/math_private.h: Define __nan, __nanf, __nanl.
60314 * math/s_cacosh.c: Include <math_private.h>.
60315 * math/s_cacoshl.c: Likewise.
60316 * math/s_casinh.c: Likewise.
60317 * math/s_casinhf.c: Likewise.
60318 * math/s_casinhl.c: Likewise.
60319 * math/s_ccos.c: Rely entire on ccosh.
60320 * math/s_ccosf.c: Rely entire on ccoshf.
60321 * math/s_ccosl.c: Rely entirely on ccoshl.
60322 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60323 Remove tests for FE_INVALID.
60324 * math/s_ccoshf.c: Likewise.
60325 * math/s_ccoshl.c: Likewise.
60326 * math/s_csin.c: Likewise.
60327 * math/s_csinf.c: Likewise.
60328 * math/s_csinh.c Likewise.
60329 * math/s_csinhf.c: Likewise.
60330 * math/s_csinhl.c: Likewise.
60331 * math/s_csinl.c: Likewise.
60332 * math/s_ctan.c: Likewise.
60333 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60334 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60335 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60337 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60340 compilation problems.
60342 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60345 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60347 * sysdeps/i386/configure.in: Test for -mfma4 option.
60348 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60349 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60350 COMMON_CPUID_INDEX_80000001.
60351 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60352 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60353 use it if FMA3 is not supported.
60354 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60356 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60357 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60359 2011-10-20 Andreas Schwab <schwab@redhat.com>
60362 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60363 it would create a cycle with a link time dependency.
60365 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60367 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60369 * string/Makefile (strop-tests): Add rawmemchr.
60370 * string/test-rawmemchr.c: New file.
60372 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60373 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60374 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60375 when compiling str{,n}casecmp and when AVX is available. Hook up
60376 new optimized code in initializers.
60378 2011-10-19 Andreas Schwab <schwab@redhat.com>
60380 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60381 __feraiseexcept instead of feraiseexcept.
60383 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60385 * math/math_private.h: Define defaults for libc_fetestexcept and
60387 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60388 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60389 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60390 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60391 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60392 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60393 libc_fetestexcept and libc_feupdateenv.
60395 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60396 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60397 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60398 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60399 libc_feholdexcept_setround.
60401 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60402 Add s_nearbyint-c and s_nearbyintf-c.
60403 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60404 nearbyintf inlines.
60405 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60406 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60407 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60408 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60410 * math/math_private.h: Define defaults for libc_fegetround,
60411 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60412 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60413 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60415 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60416 standard functions.
60417 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60418 Remove comments and hacks for old compiler versions.
60419 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60420 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60421 libc_feholdexceptl.
60423 2011-10-18 Andreas Schwab <schwab@redhat.com>
60425 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60426 (__feraiseexcept_renamed): Add __NTH.
60427 (feraiseexcept): Add __NTH. Rename local variables to fix
60428 namespace violations.
60430 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60432 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60434 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60436 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60437 recently added interfaces.
60438 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60440 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60441 about macro parameter expansion.
60443 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60444 __NO_MATH_INLINES is defined. Cleanups.
60446 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60447 and __floorf is target has SSE4.1.
60448 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60449 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60450 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60451 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60453 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60455 (floorf): Likewise.
60457 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60459 2011-10-17 Andreas Schwab <schwab@redhat.com>
60461 * misc/sys/cdefs.h: Fix last change.
60463 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60466 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60468 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60470 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60471 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60472 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60473 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60475 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60476 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60477 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60478 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60479 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60480 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60481 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60482 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60483 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60484 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60485 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60486 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60487 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60488 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60489 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60490 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60491 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60493 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60494 ceil, ceilf, floor, floorf.
60496 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60497 Perform IRELATIVE relocations last.
60499 * elf/do-rel.h: Add another parameter nrelative, replacing the
60500 local variable with the same name. Change name of the function
60501 to end in Rel or Rela (uppercase).
60502 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60503 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60504 elf_dynamic_do_##reloc function.
60506 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60508 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60509 is sufficient, at least on modern CPUs.
60511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60513 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60514 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60516 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60518 * math/bits/math-finite.h: Add entries for exp.
60519 * math/e_expl.c: Add __*_finite alias.
60520 * sysdeps/i386/fpu/e_exp.S: Likewise.
60521 * sysdeps/i386/fpu/e_expf.S: Likewise.
60522 * sysdeps/i386/fpu/e_expl.c: Likewise.
60523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60524 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60525 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60527 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60528 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60529 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60531 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60532 is sufficient, at least on modern CPUs.
60534 * ctype/ctype-info.c (__ctype_init): Define.
60535 * include/ctype.h (__ctype_init): Declare.
60536 (__ctype_b_loc): The variable is always initialized.
60537 (__ctype_toupper_loc): Likewise.
60538 (__ctype_tolower_loc): Likewise.
60539 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60540 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60542 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60544 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60546 * configure.in: Also look in $cxxmachine/include for C++ system
60549 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60551 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60552 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60553 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60554 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60556 (USE_AS_WMEMCMP): New macro.
60558 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60559 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60560 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60561 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60563 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60564 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60565 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60566 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60567 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60568 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60569 (USE_AS_WMEMCMP): New macro.
60570 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60571 * sysdeps/string/test-memcmp.c: Update.
60572 Fix simple_wmemcmp.
60574 * wcsmbs/wmemcmp.c: Update.
60575 (WMEMCMP): New macro.
60578 2011-10-12 Andreas Jaeger <aj@suse.de>
60581 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60583 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60585 * libio/iofwide.c (do_length): Avoid warning.
60587 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60589 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60591 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60593 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60594 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60595 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60596 * sysdeps/i386/i686/fpu/e_log.S: New file.
60597 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60598 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60600 * ctype/ctype.h: Add support for inlined isXXX functions when
60601 compiling C++ code.
60603 2011-10-14 Andreas Schwab <schwab@redhat.com>
60605 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60607 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60609 2011-10-13 Roland McGrath <roland@hack.frob.com>
60612 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60614 2011-10-13 Andreas Schwab <schwab@redhat.com>
60616 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60617 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60620 * sysdeps/x86_64/memrchr.S: Check for zero size.
60622 * string/stratcliff.c: Add memrchr tests.
60624 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60627 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60628 rawmemchr-sse2 rawmemchr-sse2-bsf.
60629 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60630 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60631 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60632 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60633 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60634 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60635 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60636 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60637 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60638 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60639 * string/memrchr.c (MEMRCHR): New macro.
60641 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60643 Add integration with gcc's -ffinite-math-only and optimize wrapper
60645 * Versions.def: Define GLIBC_2.15 version for libm.
60646 * math/Makefile (headers): Add bits/math-finite.h.
60647 * math/bits/math-finite.h: New file.
60648 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60649 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60650 * math/e_acoshl.c: Add __*_finite alias.
60651 * math/e_acosl.c: Likewise.
60652 * math/e_asinl.c: Likewise.
60653 * math/e_atan2l.c: Likewise.
60654 * math/e_atanhl.c: Likewise.
60655 * math/e_coshl.c: Likewise.
60656 * math/e_exp10.c: Likewise.
60657 * math/e_exp10f.c: Likewise.
60658 * math/e_exp10l.c: Likewise.
60659 * math/e_exp2l.c: Likewise.
60660 * math/e_fmodl.c: Likewise.
60661 * math/e_gammal_r.c: Likewise.
60662 * math/e_hypotl.c: Likewise.
60663 * math/e_j0l.c: Likewise.
60664 * math/e_j1l.c: Likewise.
60665 * math/e_jnl.c: Likewise.
60666 * math/e_lgammal_r.c: Likewise.
60667 * math/e_log10l.c: Likewise.
60668 * math/e_log2l.c: Likewise.
60669 * math/e_logl.c: Likewise.
60670 * math/e_powl.c: Likewise.
60671 * math/e_sinhl.c: Likewise.
60672 * math/e_sqrtl.c: Likewise.
60673 * math/e_scalb.c: Completely rewritten and optimized.
60674 * math/e_scalbf.c: Likewise.
60675 * math/e_scalbl.c: Likewise.
60676 * math/w_acos.c: Likewise.
60677 * math/w_acosf.c: Likewise.
60678 * math/w_acosl.c: Likewise.
60679 * math/w_acosh.c: Likewise.
60680 * math/w_acoshf.c: Likewise.
60681 * math/w_acoshl.c: Likewise.
60682 * math/w_asin.c: Likewise.
60683 * math/w_asinf.c: Likewise.
60684 * math/w_asinl.c: Likewise.
60685 * math/w_atan2.c: Likewise.
60686 * math/w_atan2f.c: Likewise.
60687 * math/w_atan2l.c: Likewise.
60688 * math/w_atanh.c: Likewise.
60689 * math/w_atanhf.c: Likewise.
60690 * math/w_atanhl.c: Likewise.
60691 * math/w_exp10.c: Likewise.
60692 * math/w_exp10f.c: Likewise.
60693 * math/w_exp10l.c: Likewise.
60694 * math/w_fmod.c: Likewise.
60695 * math/w_fmodf.c: Likewise.
60696 * math/w_fmodl.c: Likewise.
60697 * math/w_j0.c: Likewise.
60698 * math/w_j0f.c: Likewise.
60699 * math/w_j0l.c: Likewise.
60700 * math/w_j1.c: Likewise.
60701 * math/w_j1f.c: Likewise.
60702 * math/w_j1l.c: Likewise.
60703 * math/w_jn.c: Likewise.
60704 * math/w_jnf.c: Likewise.
60705 * math/w_log.c: Likewise.
60706 * math/w_logf.c: Likewise.
60707 * math/w_logl.c: Likewise.
60708 * math/w_log10.c: Likewise.
60709 * math/w_log10f.c: Likewise.
60710 * math/w_log10l.c: Likewise.
60711 * math/w_log2.c: Likewise.
60712 * math/w_log2f.c: Likewise.
60713 * math/w_log2l.c: Likewise.
60714 * math/w_pow.c: Likewise.
60715 * math/w_powf.c: Likewise.
60716 * math/w_powl.c: Likewise.
60717 * math/w_remainder.c: Likewise.
60718 * math/w_remainderf.c: Likewise.
60719 * math/w_remainderl.c: Likewise.
60720 * math/w_scalb.c: Likewise.
60721 * math/w_scalbf.c: Likewise.
60722 * math/w_scalbl.c: Likewise.
60723 * math/w_sqrt.c: Likewise.
60724 * math/w_sqrtf.c: Likewise.
60725 * math/w_sqrtl.c: Likewise.
60726 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60727 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60729 * math/math_private.h: Declare __kernel_standard_f.
60730 * math/w_cosh.c: Remove cruft and optimize a bit.
60731 * math/w_coshf.c: Likewise.
60732 * math/w_coshl.c: Likewise.
60733 * math/w_exp2.c: Likewise.
60734 * math/w_exp2f.c: Likewise.
60735 * math/w_exp2l.c: Likewise.
60736 * math/w_hypot.c: Likewise.
60737 * math/w_hypotf.c: Likewise.
60738 * math/w_hypotl.c: Likewise.
60739 * math/w_lgamma.c: Likewise.
60740 * math/w_lgamma_r.c: Likewise.
60741 * math/w_lgammaf.c: Likewise.
60742 * math/w_lgammaf_r.c: Likewise.
60743 * math/w_lgammal.c: Likewise.
60744 * math/w_lgammal_r.c: Likewise.
60745 * math/w_sinh.c: Likewise.
60746 * math/w_sinhf.c: Likewise.
60747 * math/w_sinhl.c: Likewise.
60748 * math/w_tgamma.c: Likewise.
60749 * math/w_tgammaf.c: Likewise.
60750 * math/w_tgammal.c: Likewise.
60751 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60752 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60753 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60754 Minor optimizations. Pretty printing. Remove cruft.
60755 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60756 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60757 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60758 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60759 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60760 * sysdeps/i386/fpu/e_asin.S: Likewise.
60761 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60762 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60763 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60764 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60765 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60766 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60767 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60768 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60769 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60770 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60771 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60772 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60773 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60774 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60775 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60776 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60777 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60778 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60779 * sysdeps/i386/fpu/e_log.S: Likewise.
60780 * sysdeps/i386/fpu/e_log10.S: Likewise.
60781 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60782 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60783 * sysdeps/i386/fpu/e_log2.S: Likewise.
60784 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60785 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60786 * sysdeps/i386/fpu/e_logf.S: Likewise.
60787 * sysdeps/i386/fpu/e_logl.S: Likewise.
60788 * sysdeps/i386/fpu/e_pow.S: Likewise.
60789 * sysdeps/i386/fpu/e_powf.S: Likewise.
60790 * sysdeps/i386/fpu/e_powl.S: Likewise.
60791 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60792 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60793 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60794 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60795 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60796 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60797 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60798 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60799 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60800 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60803 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60805 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60807 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60808 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60809 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60810 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60811 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60813 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60814 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60816 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60817 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60820 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60821 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60822 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60823 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60824 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60825 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60826 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60827 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60828 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60838 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60839 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60840 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60841 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60842 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60843 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60844 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60845 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60846 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60847 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60848 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60849 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60850 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60851 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60852 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60853 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60854 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60855 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60856 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60857 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60858 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60859 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60860 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60861 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60864 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60865 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60866 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60868 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60870 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60871 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60872 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60873 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60874 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60875 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60876 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60877 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60878 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60879 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60880 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60881 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60882 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60883 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60884 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60885 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60886 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60887 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60888 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60889 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60890 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60891 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60892 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60893 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60894 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60895 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60896 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60897 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60898 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60899 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60900 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60901 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60902 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60903 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60904 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60905 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60906 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60907 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60908 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60910 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60911 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60912 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60913 (__isnanf): Likewise.
60914 (__isinf_ns): Likewise.
60915 (__isinf_nsf): Likewise.
60916 (__finite): Likewise.
60917 (__finitef): Likewise.
60918 (__ieee754_sqrt): Define as macro.
60919 (__ieee754_sqrtf): Define as macro.
60920 (__ieee754_sqrtl): Define as macro.
60921 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60923 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60924 __FINITE_MATH_ONLY__ consistent.
60925 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60927 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60929 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60932 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60934 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60936 * po/ja.po: Update from translation team.
60938 2011-10-08 Roland McGrath <roland@hack.frob.com>
60940 * locale/programs/locarchive.c (prepare_address_space): New function.
60941 (create_archive, enlarge_archive, open_archive): Use it.
60943 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60944 inside [SHARED], where it is used.
60946 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60948 * nss/getent.c (netgroup_keys): Remove unused variable.
60949 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60951 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60953 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60954 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60956 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60957 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60958 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60959 * math/Makefile (libm-calls): Add s_isinf_ns.
60960 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60961 * math/multc3.c: Likewise.
60962 * math/s_casin.c: Likewise.
60963 * math/s_casinf.c: Likewise.
60964 * math/s_casinl.c: Likewise.
60965 * math/s_ccos.c: Likewise.
60966 * math/s_ccosf.c: Likewise.
60967 * math/s_ccosl.c: Likewise.
60968 * math/s_ctan.c: Likewise.
60969 * math/s_ctanf.c: Likewise.
60970 * math/s_ctanh.c: Likewise.
60971 * math/s_ctanhf.c: Likewise.
60972 * math/s_ctanhl.c: Likewise.
60973 * math/s_ctanl.c: Likewise.
60974 * math/w_fmod.c: Likewise.
60975 * math/w_fmodf.c: Likewise.
60976 * math/w_fmodl.c: Likewise.
60977 * math/w_remainder.c: Likewise.
60978 * math/w_remainderf.c: Likewise.
60979 * math/w_remainderl.c: Likewise.
60980 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60981 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60984 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60985 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60986 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60987 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60989 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60991 * stdio-common/printf_fphex.c: Likewise.
60992 * stdio-common/printf_size.c: Likewise.
60994 * math/e_exp10.c: Include math_private.h using <...> not "...".
60995 * math/e_exp10f.c: Likewise.
60996 * math/e_exp10l.c: Likewise.
60997 * math/e_exp2l.c: Likewise.
60998 * math/e_j0l.c: Likewise.
60999 * math/e_j1l.c: Likewise.
61000 * math/e_jnl.c: Likewise.
61001 * math/e_lgammal_r.c: Likewise.
61002 * math/e_rem_pio2l.c: Likewise.
61003 * math/e_scalb.c: Likewise.
61004 * math/e_scalbf.c: Likewise.
61005 * math/e_scalbl.c: Likewise.
61006 * math/k_cosl.c: Likewise.
61007 * math/k_sinl.c: Likewise.
61008 * math/k_tanl.c: Likewise.
61009 * math/s_cacoshf.c: Likewise.
61010 * math/s_catan.c: Likewise.
61011 * math/s_catanf.c: Likewise.
61012 * math/s_catanh.c: Likewise.
61013 * math/s_catanhf.c: Likewise.
61014 * math/s_catanhl.c: Likewise.
61015 * math/s_catanl.c: Likewise.
61016 * math/s_ccosh.c: Likewise.
61017 * math/s_ccoshf.c: Likewise.
61018 * math/s_ccoshl.c: Likewise.
61019 * math/s_cexp.c: Likewise.
61020 * math/s_cexpf.c: Likewise.
61021 * math/s_cexpl.c: Likewise.
61022 * math/s_clog.c: Likewise.
61023 * math/s_clog10.c: Likewise.
61024 * math/s_clog10f.c: Likewise.
61025 * math/s_clog10l.c: Likewise.
61026 * math/s_clogf.c: Likewise.
61027 * math/s_clogl.c: Likewise.
61028 * math/s_csin.c: Likewise.
61029 * math/s_csinf.c: Likewise.
61030 * math/s_csinh.c: Likewise.
61031 * math/s_csinhf.c: Likewise.
61032 * math/s_csinhl.c: Likewise.
61033 * math/s_csinl.c: Likewise.
61034 * math/s_csqrt.c: Likewise.
61035 * math/s_csqrtf.c: Likewise.
61036 * math/s_csqrtl.c: Likewise.
61037 * math/s_ctan.c: Likewise.
61038 * math/s_ctanf.c: Likewise.
61039 * math/s_ctanh.c: Likewise.
61040 * math/s_ctanhf.c: Likewise.
61041 * math/s_ctanhl.c: Likewise.
61042 * math/s_ctanl.c: Likewise.
61043 * math/s_ldexp.c: Likewise.
61044 * math/s_ldexpf.c: Likewise.
61045 * math/s_ldexpl.c: Likewise.
61046 * math/s_significand.c: Likewise.
61047 * math/s_significandf.c: Likewise.
61048 * math/s_significandl.c: Likewise.
61049 * math/w_acos.c: Likewise.
61050 * math/w_acosf.c: Likewise.
61051 * math/w_acosh.c: Likewise.
61052 * math/w_acoshf.c: Likewise.
61053 * math/w_acoshl.c: Likewise.
61054 * math/w_acosl.c: Likewise.
61055 * math/w_asin.c: Likewise.
61056 * math/w_asinf.c: Likewise.
61057 * math/w_asinl.c: Likewise.
61058 * math/w_atan2.c: Likewise.
61059 * math/w_atan2f.c: Likewise.
61060 * math/w_atan2l.c: Likewise.
61061 * math/w_atanh.c: Likewise.
61062 * math/w_atanhf.c: Likewise.
61063 * math/w_atanhl.c: Likewise.
61064 * math/w_cosh.c: Likewise.
61065 * math/w_coshf.c: Likewise.
61066 * math/w_coshl.c: Likewise.
61067 * math/w_dremf.c: Likewise.
61068 * math/w_exp10.c: Likewise.
61069 * math/w_exp10f.c: Likewise.
61070 * math/w_exp10l.c: Likewise.
61071 * math/w_exp2.c: Likewise.
61072 * math/w_exp2f.c: Likewise.
61073 * math/w_fmod.c: Likewise.
61074 * math/w_fmodf.c: Likewise.
61075 * math/w_fmodl.c: Likewise.
61076 * math/w_hypot.c: Likewise.
61077 * math/w_hypotf.c: Likewise.
61078 * math/w_hypotl.c: Likewise.
61079 * math/w_j0.c: Likewise.
61080 * math/w_j0f.c: Likewise.
61081 * math/w_j0l.c: Likewise.
61082 * math/w_j1.c: Likewise.
61083 * math/w_j1f.c: Likewise.
61084 * math/w_j1l.c: Likewise.
61085 * math/w_jn.c: Likewise.
61086 * math/w_jnf.c: Likewise.
61087 * math/w_jnl.c: Likewise.
61088 * math/w_lgamma.c: Likewise.
61089 * math/w_lgamma_r.c: Likewise.
61090 * math/w_lgammaf.c: Likewise.
61091 * math/w_lgammaf_r.c: Likewise.
61092 * math/w_lgammal.c: Likewise.
61093 * math/w_lgammal_r.c: Likewise.
61094 * math/w_log.c: Likewise.
61095 * math/w_log10.c: Likewise.
61096 * math/w_log10f.c: Likewise.
61097 * math/w_log10l.c: Likewise.
61098 * math/w_log2.c: Likewise.
61099 * math/w_log2f.c: Likewise.
61100 * math/w_log2l.c: Likewise.
61101 * math/w_logf.c: Likewise.
61102 * math/w_logl.c: Likewise.
61103 * math/w_pow.c: Likewise.
61104 * math/w_powf.c: Likewise.
61105 * math/w_powl.c: Likewise.
61106 * math/w_remainder.c: Likewise.
61107 * math/w_remainderf.c: Likewise.
61108 * math/w_remainderl.c: Likewise.
61109 * math/w_scalb.c: Likewise.
61110 * math/w_scalbf.c: Likewise.
61111 * math/w_scalbl.c: Likewise.
61112 * math/w_sinh.c: Likewise.
61113 * math/w_sinhf.c: Likewise.
61114 * math/w_sinhl.c: Likewise.
61115 * math/w_sqrt.c: Likewise.
61116 * math/w_sqrtf.c: Likewise.
61117 * math/w_sqrtl.c: Likewise.
61118 * math/w_tgamma.c: Likewise.
61119 * math/w_tgammaf.c: Likewise.
61120 * math/w_tgammal.c: Likewise.
61122 * po/ja.po: Update from translation team.
61124 2011-09-29 Andreas Jaeger <aj@suse.de>
61127 * sunrpc/netname.c (netname2host): Fix logic.
61131 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61133 * math/w_remainder.c (__remainder): Likewise.
61134 * math/w_remainderf.c (__remainderf): Likewise.
61135 * math/libm-test.inc (remainder_test): Add test cases.
61137 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61139 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61142 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61144 * string/test-memcmp.c: Avoid unncessary #defines.
61145 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61147 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61149 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61150 Use new sse2 version for core i3 - i7 as it's faster
61151 than sse42 version.
61152 (bit_Prefer_PMINUB_for_stringop): New.
61153 * sysdeps/x86_64/rawmemchr.S: Update.
61154 Replace with faster SSE2 version.
61155 * sysdeps/x86_64/memrchr.S: New file.
61156 * sysdeps/x86_64/memchr.S: Update.
61157 Replace with faster SSE2 version.
61159 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61161 * elf/dl-load.c (lose): Add cast to avoid warning.
61163 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61165 * po/ca.po: Update from translation team.
61167 * inet/getnetgrent_r.c: Hook up nscd.
61168 * nscd/Makefile (routines): Add nscd_netgroup.
61169 (nscd-modules): Add netgroupcache.
61170 (CFLAGS-netgroupcache.c): Define.
61171 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61172 (cache_search): Add const to second parameter.
61173 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61175 (dbs): Add netgrdb entry.
61176 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61177 (verify_persistent_db): Handle netgrdb.
61178 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61179 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61181 (netgroup_response_header): Define.
61182 (innetgroup_response_header): Define.
61183 (datahead): Add netgroup_response_header and innetgroup_response_header
61185 * nscd/nscd.conf: Add entries for netgroup cache.
61186 * nscd/nscd.h (dbtype): Add netgrdb.
61187 (_PATH_NSCD_NETGROUP_DB): Define.
61188 (netgroup_iov_disabled): Declare.
61189 (xmalloc, xcalloc, xrealloc): Move declarations here.
61190 (cache_search): Adjust prototype.
61191 Add netgroup-related prototypes.
61192 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61193 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61194 (__nscd_innetgr): Declare.
61195 * nscd/selinux.c (perms): Use access_vector_t as element type and
61196 add netgroup-related initializers.
61197 * nscd/netgroupcache.c: New file.
61198 * nscd/nscd_netgroup.c: New file.
61199 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61200 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61201 For four parameters use innetgr.
61202 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61203 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61204 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61205 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61207 * nscd/connections.c (register_traced_file): Don't register file
61208 for disabled databases.
61210 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61212 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61214 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61215 from tree and freeing node.
61217 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61219 * nss/nsswitch.c (__nss_database_lookup): Handle
61220 nss_parse_service_list out of memory case.
61222 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61224 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61225 out of memory case.
61227 2011-10-04 Andreas Schwab <schwab@redhat.com>
61229 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61230 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61232 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61233 elf_machine_rela, elf_machine_lazy_rel.
61234 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61235 (ELF_DYNAMIC_DO_REL): Likewise.
61236 (ELF_DYNAMIC_DO_RELA): Likewise.
61237 (ELF_DYNAMIC_RELOCATE): Likewise.
61238 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61239 to ELF_DYNAMIC_DO_REL.
61240 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61241 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61242 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61244 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61245 skip_ifunc, don't call ifunc function if non-zero.
61246 (elf_machine_rela): Likewise.
61247 (elf_machine_lazy_rel): Likewise.
61248 (elf_machine_lazy_rela): Likewise.
61249 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61250 (elf_machine_lazy_rel): Likewise.
61251 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61253 (elf_machine_lazy_rel): Likewise.
61254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61256 (elf_machine_lazy_rel): Likewise.
61257 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61258 (elf_machine_lazy_rel): Likewise.
61259 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61260 (elf_machine_lazy_rel): Likewise.
61261 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61262 (elf_machine_lazy_rel): Likewise.
61263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61264 (elf_machine_lazy_rel): Likewise.
61265 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61266 (elf_machine_lazy_rel): Likewise.
61267 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61268 (elf_machine_lazy_rel): Likewise.
61270 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61272 * nss/nss_files/files-init.c (_nss_files_init): Use static
61273 initialization for all the *_traced_file variables.
61275 2011-09-28 Andreas Schwab <schwab@redhat.com>
61277 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61279 2011-09-27 Roland McGrath <roland@hack.frob.com>
61282 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61284 2011-09-27 Andreas Schwab <schwab@redhat.com>
61286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61287 Reread the line before reparsing it.
61289 2011-09-26 Andreas Schwab <schwab@redhat.com>
61291 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61293 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61294 Maxim Kuvyrkov <maxim@codesourcery.com>
61295 Joseph Myers <joseph@codesourcery.com>
61297 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61298 if needed for __stack_chk_guard.
61300 2011-09-19 Roland McGrath <roland@hack.frob.com>
61302 * sysdeps/posix/spawni.c (script_execute): Always define it.
61303 It will be optimized away if unused.
61304 (maybe_script_execute): New function.
61305 (__spawni): Call it.
61307 * Makerules: Don't include tls.make.
61308 (config-tls): Always set to thread.
61309 * tls.make.c: File removed.
61311 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61313 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61314 * config.make.in (CPPFLAGS-config): New substituted variable.
61316 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61318 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61321 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61322 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61324 2011-09-15 Roland McGrath <roland@hack.frob.com>
61326 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61327 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61329 (CALL_FAIL): Likewise.
61330 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61331 (CALL_FAIL): Macro removed.
61332 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61334 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61336 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61337 for __FINITE_MATH_ONLY__ == 1.
61339 2011-09-15 Andreas Schwab <schwab@redhat.com>
61341 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61342 __ieee754_sqrt instead of sqrt.
61343 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61344 __ieee754_sqrtf instead of sqrtf.
61345 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61346 __floorf instead of floorf.
61347 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61348 __floorf, __truncf instead of floorf, truncf.
61350 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61352 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61354 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61355 __extern_always_inline.
61356 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61359 2011-09-14 Andreas Schwab <schwab@redhat.com>
61361 * elf/rtld.c (dl_main): Also relocate in dependency order when
61362 doing symbol dependency testing.
61364 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61367 Always define `refsym'.
61369 2011-09-13 Andreas Schwab <schwab@redhat.com>
61371 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61372 (__FD_ELT): Renamed from __FDELT.
61373 * misc/bits/select2.h (__FD_ELT): Likewise.
61374 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61375 __FD_MASK instead of __FDELT, __FDMASK.
61376 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61378 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61381 * elf/Makefile (gen-ldd): Fix pattern.
61383 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61384 (init_tls): Likewise.
61386 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61390 2011-09-12 Andreas Schwab <schwab@redhat.com>
61392 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61393 `struct cmsghdr *' instead of `void *'.
61394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61397 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61399 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61401 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61402 ldd_rewrite_script.
61404 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61406 * configure.in: Remove --with-tls option.
61407 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61408 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61409 out in case it is missing.
61410 * sysdeps/ia64/elf/configure.in: Likewise.
61411 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61412 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61413 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61414 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61415 * sysdeps/sh/elf/configure.in: Likewise.
61416 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61417 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61418 * sysdeps/x86_64/elf/configure.in: Likewise.
61419 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61420 * sysdeps/mach/hurd/tls.h: Likewise.
61423 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61426 * configure.in: Fix use of AC_INIT.
61428 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61430 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61432 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61434 * malloc/hooks.c: Likewise.
61437 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61438 variables statically.
61439 (narenas): Initialize.
61440 (list_lock): Initialize.
61441 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61442 initializtion of main_arena and list_lock. Small cleanups.
61443 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61444 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61445 Add initializers to main_arena and mp_.
61446 (malloc_state): Remove pagesize member. Change all users to use
61449 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61450 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61451 is always initialized.
61453 * malloc/malloc.c: Removed unused configurations and dead code.
61454 * malloc/arena.c: Likewise.
61455 * malloc/hooks.c: Likewise.
61456 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61458 * include/tls.h: Removed. USE___THREAD must always be defined.
61459 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61460 * elf/dl-libc.c: Likewise.
61461 * elf/dl-tsd.c: Likewise.
61462 * include/errno.h: Likewise.
61463 * include/netdb.h: Likewise.
61464 * include/resolv.h: Likewise.
61465 * inet/herrno-loc.c: Likewise.
61466 * inet/herrno.c: Likewise.
61467 * malloc/arena.c: Likewise.
61468 * malloc/hooks.c: Likewise.
61469 * malloc/malloc.c: Likewise.
61470 * resolv/res-state.c: Likewise.
61471 * resolv/res_libc.c: Likewise.
61472 * sysdeps/i386/dl-machine.h: Likewise.
61473 * sysdeps/ia64/dl-machine.h: Likewise.
61474 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61475 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61476 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61477 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61478 * sysdeps/sh/dl-machine.h: Likewise.
61479 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61481 * sysdeps/unix/i386/sysdep.S: Likewise.
61482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61483 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61484 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61485 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61486 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61488 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61493 * sysdeps/x86_64/dl-machine.h: Likewise.
61494 * tls.make.c: Likewise.
61496 * configure.in: Remove --with-__thread option. Make tests for
61497 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61498 tls_model attribute fail if no support is available. Remove
61500 * Makeconfig: Adjust for dropped configure option. All features are
61502 * Makerules: Likewise.
61503 * Versions.def: Likewise.
61504 * argp/argp-fmtstream.c: Likewise.
61505 * argp/argp-fmtstream.h: Likewise.
61506 * argp/argp-help.c: Likewise.
61507 * assert/assert.c: Likewise.
61508 * config.h.in: Likewise.
61509 * config.make.in: Likewise.
61510 * configure: Likewise.
61511 * configure.in: Likewise.
61512 * csu/Versions: Likewise.
61513 * csu/init.c: Likewise.
61514 * elf/tst-audit2.c: Likewise.
61515 * elf/tst-tls10.c: Likewise.
61516 * elf/tst-tls10.h: Likewise.
61517 * elf/tst-tls11.c: Likewise.
61518 * elf/tst-tls12.c: Likewise.
61519 * elf/tst-tls14.c: Likewise.
61520 * elf/tst-tlsmod11.c: Likewise.
61521 * elf/tst-tlsmod12.c: Likewise.
61522 * elf/tst-tlsmod13.c: Likewise.
61523 * elf/tst-tlsmod13a.c: Likewise.
61524 * elf/tst-tlsmod14a.c: Likewise.
61525 * elf/tst-tlsmod15b.c: Likewise.
61526 * elf/tst-tlsmod16a.c: Likewise.
61527 * elf/tst-tlsmod16b.c: Likewise.
61528 * elf/tst-tlsmod7.c: Likewise.
61529 * elf/tst-tlsmod8.c: Likewise.
61530 * elf/tst-tlsmod9.c: Likewise.
61531 * gmon/gmon.c: Likewise.
61532 * grp/fgetgrent_r.c: Likewise.
61533 * grp/putgrent.c: Likewise.
61534 * hurd/fopenport.c: Likewise.
61535 * include/libc-symbols.h: Likewise.
61536 * include/tls.h: Likewise.
61537 * intl/gettextP.h: Likewise.
61538 * intl/loadinfo.h: Likewise.
61539 * locale/global-locale.c: Likewise.
61540 * locale/localeinfo.h: Likewise.
61541 * mach/devstream.c: Likewise.
61542 * malloc/arena.c: Likewise.
61543 * malloc/set-freeres.c: Likewise.
61544 * misc/err.c: Likewise.
61545 * misc/getttyent.c: Likewise.
61546 * misc/mntent_r.c: Likewise.
61547 * posix/getopt.c: Likewise.
61548 * posix/wordexp.c: Likewise.
61549 * pwd/fgetpwent_r.c: Likewise.
61550 * resolv/Versions: Likewise.
61551 * resolv/res_hconf.c: Likewise.
61552 * shadow/fgetspent_r.c: Likewise.
61553 * shadow/putspent.c: Likewise.
61554 * stdio-common/printf_fphex.c: Likewise.
61555 * stdio-common/tmpfile.c: Likewise.
61556 * stdlib/abort.c: Likewise.
61557 * stdlib/fmtmsg.c: Likewise.
61558 * sunrpc/auth_unix.c: Likewise.
61559 * sunrpc/clnt_perr.c: Likewise.
61560 * sunrpc/clnt_tcp.c: Likewise.
61561 * sunrpc/clnt_udp.c: Likewise.
61562 * sunrpc/clnt_unix.c: Likewise.
61563 * sunrpc/openchild.c: Likewise.
61564 * sunrpc/svc_simple.c: Likewise.
61565 * sunrpc/svc_tcp.c: Likewise.
61566 * sunrpc/svc_udp.c: Likewise.
61567 * sunrpc/svc_unix.c: Likewise.
61568 * sunrpc/xdr.c: Likewise.
61569 * sunrpc/xdr_array.c: Likewise.
61570 * sunrpc/xdr_rec.c: Likewise.
61571 * sunrpc/xdr_ref.c: Likewise.
61572 * sunrpc/xdr_stdio.c: Likewise.
61574 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61576 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61578 2011-07-03 Andreas Jaeger <aj@suse.de>
61580 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61581 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61582 regenerate with gen-libm-tests.pl.
61584 2010-05-12 Petr Baudis <pasky@suse.cz>
61587 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61588 around j0() zero points by switching to j1().
61589 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61590 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61592 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61594 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61596 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61598 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61601 Patch in part by Pavel Roskin <proski@gnu.org>.
61604 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61606 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61607 Free memory block if necessary.
61610 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61611 be NULL. Don't lock in this case.
61613 2011-09-09 Roland McGrath <roland@hack.frob.com>
61615 * elf/elf.h (ELFOSABI_GNU): New macro.
61616 (ELFOSABI_LINUX): Define to that.
61618 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61620 * string/strncat.c (strncat): Undef the symbol in case it has been
61621 defined in bits/string.h.
61623 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61625 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61627 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61630 2011-08-17 Andreas Jaeger <aj@suse.de>
61632 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61634 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61635 Ian Lance Taylor <iant@google.com>
61637 * math/libm-test.inc (lround_test): New testcase.
61638 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61640 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61642 * Makefile: Remove support for automatic cvs check-ins.
61643 * Makerules: Likewise.
61644 * config.make.in: Likewise.
61645 * configure.in: Likewise.
61646 * intl/Makefile: Likewise.
61647 * locale/Makefile: Likewise.
61648 * po/Makefile: Likewise.
61649 * posix/Makefile: Likewise.
61650 * sysdeps/gnu/Makefile: Likewise.
61651 * sysdeps/mach/hurd/Makefile: Likewise.
61652 * sysdeps/sparc/sparc32/Makefile: Likewise.
61655 * posix/Makefile (bug-regex32-ENV): Define.
61656 Patch by John Stanley <jpsinthemix@verizon.net>.
61658 * misc/Makefile (headers): Add bits/select2.h.
61659 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61660 * misc/bits/select2.h: New file.
61661 * include/bits/select2.h: New file.
61662 * debug/Makefile (routines): Add fdelt_chk.
61663 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61664 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61666 * debug/fdelt_chk.c: New file.
61668 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61669 * wcsmbs/test-wmemcmp.c: Likewise.
61670 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61671 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61673 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61675 * string/Makefile (strop-tests): Add memcmp.
61676 * string/test-wmemcmp.c: New file.
61677 * string/test-memcmp.c: Add wmemcmp support.
61679 2011-09-08 Roland McGrath <roland@hack.frob.com>
61682 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61685 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61686 garbage value in a __mach_port_mod_refs call in the cases of the
61687 task-self and thread-self ports.
61689 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61691 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61693 2011-09-08 Andreas Schwab <schwab@redhat.com>
61695 * elf/dl-load.c (lose): Check for non-null L.
61697 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61699 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61701 * elf/dl-libc.c (dlerror_run): Pass back error code from
61705 * elf/dl-load.c (lose): Free l_origin if it is valid.
61707 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61709 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61710 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61711 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61712 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61713 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61714 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61716 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61718 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61719 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61720 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61721 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61722 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61723 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61724 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61725 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61726 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61727 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61729 2011-08-15 Alan Modra <amodra@gmail.com>
61732 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61733 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61734 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61735 ppc_mcount to static-only-routines.
61736 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61738 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61739 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61741 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61743 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61744 for finite and infinity parameters.
61746 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61749 and add nop instructions for throughput optimization.
61750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61752 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61754 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61755 aligned copy for power7 with vector-scalar instructions.
61756 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61758 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61763 2011-09-07 Andreas Schwab <schwab@redhat.com>
61766 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61769 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61771 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61772 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61773 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61774 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61777 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61779 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61780 Forgot to demangle the pointer.
61782 * sysdeps/i386/sysdep.h: Define atom_text_section.
61783 * sysdeps/x86_64/sysdep.h: Likewise.
61784 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61785 section with atom_text_section.
61786 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61787 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61788 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61789 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61790 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61792 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61793 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61794 already be defined. Change to take two parameters and don't assign
61795 result to variable. Adjust all users.
61796 Define INTERNAL_GETTIME if not already defined.
61797 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61800 HAVE_CLOCK_GETTIME_VSYSCALL.
61801 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61803 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61804 gettimeofday vsyscall, just use time.
61806 2011-09-06 Andreas Schwab <schwab@redhat.com>
61808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61811 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61813 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61817 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61818 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61819 syscall if possible.
61821 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61823 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61824 e_ident. Don't pass to find_mapsXX.
61825 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61827 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61830 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61831 * sysdeps/x86_64/multiarch/strchr.S: Update.
61832 Check bit_slow_BSF bit.
61833 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61834 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61835 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61837 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61840 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61842 (tryshell): Define.
61843 (__spawni): Change last parameter to be flag. Test
61844 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61845 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61846 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61847 * posix/spawni.c: Likewise.
61848 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61849 * posix/spawnp.c: Likewise. Change normal version to use
61850 SPAWN_XFLAGS_USE_PATH.
61851 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61852 SPAWN_XFLAGS_TRY_SHELL.
61855 * posix/glob.h: Remove gcc 1.x support.
61858 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61860 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61863 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61865 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61866 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61867 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61868 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61869 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61870 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61872 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61874 * sysdeps/x86_64/wcscmp.S: New file.
61876 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61877 wcscmp-c wcscmp-sse2
61878 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61879 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61880 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61881 * wcsmbs/wcscmp.c: Allow renaming.
61883 2011-09-05 David S. Miller <davem@davemloft.net>
61885 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61886 stack slot, rather than the struct return pointer slot.
61887 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61888 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61890 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61892 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61894 * po/ja.po: Update from translation team.
61897 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61898 kernel in 64-bit binaries.
61900 2011-09-01 David S. Miller <davem@davemloft.net>
61902 * elf/elf.h (HWCAP_SPARC_*): Move to..
61903 * sysdeps/sparc/sysdep.h: this new file and add new values.
61904 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61905 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61906 _DL_HWCAP_COUNT to 24.
61907 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61909 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61910 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61911 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61913 instead of magic constants.
61914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61916 2011-08-31 David S. Miller <davem@davemloft.net>
61918 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61920 Reimplement to do errno handling inline.
61921 (SYSCALL_ERROR_HANDLER): New macro.
61922 (__SYSCALL_STRING): Do not do errno handling in asm.
61923 (__CLONE_SYSCALL_STRING): Delete.
61924 (__INTERNAL_SYSCALL_STRING): Delete.
61925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61926 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61927 (PSEUDO): Reimplement to do errno handling inline.
61928 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61929 (SYSCALL_ERROR_HANDLER): New macro.
61930 (__SYSCALL_STRING): Do not do errno handling in asm.
61931 (__CLONE_SYSCALL_STRING): Delete.
61932 (__INTERNAL_SYSCALL_STRING): Delete.
61933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61934 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61936 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61937 (inline_syscall*): Add 'err' argument.
61938 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61939 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61940 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61941 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61943 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61944 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61946 2011-08-30 Andreas Schwab <schwab@redhat.com>
61948 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61950 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61952 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61955 2011-08-24 David S. Miller <davem@davemloft.net>
61957 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61959 2011-08-24 Andreas Schwab <schwab@redhat.com>
61961 * elf/Makefile: Add rules to build and run unload8 test.
61962 * elf/unload8.c: New file.
61963 * elf/unload8mod1.c: New file.
61964 * elf/unload8mod1x.c: New file.
61965 * elf/unload8mod2.c: New file.
61966 * elf/unload8mod3.c: New file.
61968 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61971 2011-08-23 David S. Miller <davem@davemloft.net>
61973 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61974 subtract stack bias.
61975 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61976 %sp not %fp in calculations.
61977 (_JMPBUF_UNWINDS_ADJ): Likewise.
61979 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61980 (aio_suspend): Call it to force an exception region around the
61981 AIO_MISC_WAIT() invocation.
61983 2011-08-23 Andreas Schwab <schwab@redhat.com>
61985 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61988 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61990 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61992 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61993 and <dl-machine.h>.
61994 (Elf64_FuncDesc): Remove.
61996 2011-08-22 David S. Miller <davem@davemloft.net>
61998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61999 sigaltstack check, add missing cfi directives.
62000 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62001 missing cfi directives, and sigaltstack handling.
62003 2011-08-16 Andreas Schwab <schwab@redhat.com>
62006 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62007 object is seen twice.
62008 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62010 * elf/Makefile (distribute): Add tst-initorder2.c.
62011 (tests): Add tst-initorder2.
62012 (modules-names): Add tst-initorder2a tst-initorder2b
62013 tst-initorder2c tst-initorder2d. Add rules to build them.
62014 ($(objpfx)tst-initorder2.out): New rule.
62015 * elf/tst-initorder2.c: New file.
62016 * elf/tst-initorder2.exp: New file.
62018 2011-08-22 Andreas Schwab <schwab@redhat.com>
62020 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62022 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62023 dependencies back to end of function.
62025 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62026 $(elfobjdir)/ld.so.
62028 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62031 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62033 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62034 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62035 of __vdso_gettimeofday.
62036 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62037 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62039 (_libc_vdso_platform_setup): Remove initialization of
62040 __vdso_gettimeofday and __vdso_time.
62042 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62044 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62045 and fgetc_unlocked.
62046 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62049 * elf/dl-open.c (add_to_global): Report additions to the global scope
62050 for LD_DEBUG=scopes.
62051 (dl_open_worker): Also print scope of newly loaded dependencies.
62052 (_dl_show_scope): Indicate if there is no scope.
62055 * stdio-common/Makefile (tests): Add bug24.
62056 * stdio-common/bug24.c: New file.
62058 2011-08-19 Andreas Jaeger <aj@suse.de>
62061 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62062 non-existant file when using close-on-exec mode.
62064 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62067 the very first instruction.
62069 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62070 the CFI state in the end.
62071 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62072 inclusion of dl-trampoline.h.
62073 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62075 2011-08-19 Andreas Schwab <schwab@redhat.com>
62077 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62078 expectations for long double.
62080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62081 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62083 2011-08-14 David S. Miller <davem@davemloft.net>
62085 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62086 artificual limit depends upon the system page size.
62088 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62090 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62091 * resolv/Makefile: Define CFLAGS-libresolv.
62093 2011-08-17 Andreas Schwab <schwab@redhat.com>
62095 * nss/makedb.c (compute_tables): Make variables used in nested
62098 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62100 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62101 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62102 if buffer was too small.
62104 * elf/pldd.c (main): Attach to all threads in the process.
62105 Rewrite /proc handling to use *at functions.
62107 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62109 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62110 specifies first scope to show.
62111 (dl_open_worker): Update callers. Move printing scope of new
62112 object to before the relocation.
62113 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62114 * sysdeps/generic/ldsodefs.h: Update declaration.
62116 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62117 string for the scope number.
62119 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62121 * nscd/servicescache.c (cache_addserv): Make sure written is always
62124 2011-08-14 Roland McGrath <roland@hack.frob.com>
62126 * sysdeps/i386/i486/bits/atomic.h
62127 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62128 statement expression, so as to suppress "set but not used" warning.
62129 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62131 * string/strncat.c (STRNCAT): Use prototype definition.
62133 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62134 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62136 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62137 (localedef-modules): Add localedef.
62138 (locale-modules): Add locale.
62140 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62141 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62142 to avoid a warning.
62144 2011-08-14 David S. Miller <davem@davemloft.net>
62146 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62147 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62149 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62151 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62152 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62153 * elf/rtld.c (dl_main): Set l_name of vDSO.
62154 Call _dl_show_scope when DL_DEBUG_SCOPES.
62155 (process_dl_debug): Recognize scopes flag and also set it for all.
62156 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62157 Declare _dl_show_scope.
62159 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62160 (do_dlopen): Pass caller_dlopen to dl_open.
62161 (__libc_dlopen_mode): Initialize caller_dlopen.
62163 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62164 of libc. Make tolower call locale-independent. Optimize a bit by
62165 using isdigit instead of isalnum.
62166 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62168 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62170 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62171 was a dependency or dynamically loaded.
62173 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62175 * intl/l10nflist.c: Allow architecture-specific pop function.
62176 * sysdeps/x86_64/l10nflist.c: New file.
62178 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62181 2011-08-10 Andreas Schwab <schwab@redhat.com>
62183 * include/dirent.h: Add libc_hidden_proto for scandirat and
62184 scandirat64. Don't declare __scandirat64.
62185 * dirent/scandirat.c: Add libc_hidden_def.
62186 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62187 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62189 2011-08-10 David S. Miller <davem@davemloft.net>
62191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62193 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62197 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62199 * Versions.def [libc]: Add GLIBC_2.15.
62200 * dirent/Makefile (routines): Add scandirat and scandirat64.
62201 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62203 * dirent/dirent.h: Declare scandirat and scandirat64.
62204 * dirent/scandirat.c: New file.
62205 * dirent/scandirat64.c: New file.
62206 * sysdeps/wordsize-64/scandirat.c: New file.
62207 * sysdeps/wordsize-64/scandirat64.c: New file.
62208 * dirent/opendir.c: Define opendirat.
62209 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62211 * dirent/scandir64.c: Adjust for scandir.c change.
62212 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62213 __scandirat64, and __scandir_cancel_handler.
62214 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62215 additional parameter and use openat instead of open (outside of ld.so).
62216 Add new __opendir as wrapper around __opendirat.
62217 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62218 here without requiring old scandirat implementation.
62220 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62222 * dirent/scandir.c (cancel_handler): Renamed to
62223 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62224 defined. Adjust users.
62225 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62226 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62228 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62230 * string/test-string.h (IMPL): Use __STRING to expand name and then
62233 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62236 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62238 * string/Makefile: Update.
62239 (strop-tests): Append strncat.
62240 * string/test-wcscmp.c: New file.
62241 New comprehensive test for wcscmp.
62242 * string/test-strcmp.c: Update.
62243 (WIDE): New define.
62245 2011-07-22 Andreas Schwab <schwab@redhat.com>
62247 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62250 2011-07-26 Andreas Schwab <schwab@redhat.com>
62252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62253 encoding to ACE if AI_IDN.
62255 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62257 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62258 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62260 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62263 Fix overflow bug in strncat.
62264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62266 * string/test-strncat.c: Update.
62267 Add new tests for checking overflow bugs.
62269 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62272 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62273 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62274 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62276 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62277 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62278 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62279 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62281 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62282 (USE_AS_STRCAT): Define.
62283 Add strcat and strncat support.
62284 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62286 2011-07-25 Andreas Schwab <schwab@redhat.com>
62288 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62289 __n bigger than INT_MAX+1.
62290 (__strncmp_g): Likewise.
62292 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62294 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62295 * libio/stido.h: Likewise.
62297 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62302 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62303 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62305 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62306 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62309 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62314 (_dl_x86_64_save_sse): Likewise.
62316 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62320 (_dl_x86_64_save_sse): Likewise.
62322 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62324 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62326 2011-07-21 Andreas Schwab <schwab@redhat.com>
62328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62330 (_dl_x86_64_save_sse): Use correct AVX check.
62332 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62334 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62335 bug in strncpy/strncat.
62336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62338 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62340 * string/tester.c (test_strcat): Add tests for different alignments
62341 of source and destination.
62342 (test_strncat): Likewise.
62344 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62347 * posix/glob.c (glob): Check passed in values before using them in
62348 expressions to avoid some overflows.
62349 (glob_in_dir): Likewise.
62352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62353 check for AVX enablement so that we don't crash with old kernels and
62355 * elf/tst-audit4.c: Add same checks here.
62356 * elf/tst-audit6.c: Likewise.
62358 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62360 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62362 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62364 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62366 * po/cs.po: Update from translation team.
62367 * po/bg.po: Likewise.
62369 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62371 * misc/sys/cdefs.h: Add support for const attribute.
62372 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62373 to gnu_dev_{major,minor,makedev} functions.
62375 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62377 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62379 2011-07-20 Andreas Schwab <schwab@redhat.com>
62381 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62384 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62387 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62388 register in order to avoid conflicts with the soft frame pointer
62389 being held in r11 when necessary.
62390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62391 (INTERNAL_VSYSCALL_NCS): Likewise.
62393 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62395 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62396 * elf/dl-fini.c (_dl_fini): Adjust caller.
62397 * elf/dl-close.c (_dl_close_worker): Likewise.
62398 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62400 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62402 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62403 "aux_cache->nlibs < 0".
62405 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62406 in the reload-count case.
62408 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62411 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62412 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62413 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62414 * sysdeps/x86_64/multiarch/strcat.S: New file.
62415 * sysdeps/x86_64/multiarch/strncat.S: New file.
62416 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62417 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62418 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62419 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62420 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62421 (USE_AS_STRCAT): Define.
62422 Add strcat and strncat support.
62423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62425 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62426 * string/strncat.c: Update.
62427 (USE_AS_STRNCAT): Define.
62428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62429 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62431 * sysdeps/x86_64/multiarch/init-arch.h
62432 (bit_Prefer_PMINUB_for_stringop): New.
62433 (index_Prefer_PMINUB_for_stringop): Likewise.
62434 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62435 bit_Prefer_PMINUB_for_stringop.
62437 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62439 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62441 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62442 of casting of buffer.
62443 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62444 buffer32 and buffer64.
62445 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62446 writes instead of casting of buffer.
62447 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62449 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62452 2011-07-19 Andreas Schwab <schwab@redhat.com>
62454 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62456 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62458 * nscd/nscd.c (termination_handler): Don't do anything for a database
62459 if it has not yet been initialized.
62461 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62463 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62465 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62467 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62469 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62471 * po/nl.po: Update from translation team.
62472 * po/sv.po: Likewise.
62474 2011-07-16 Roland McGrath <roland@hack.frob.com>
62476 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62477 now disallowed by GCC.
62479 * configure.in (use-default-link): Default to yes if a test -shared
62480 link meets our qualifications.
62481 * configure: Regenerated.
62483 * config.make.in (output-format): New variable.
62484 * configure.in: Check for ld --print-output-format support.
62485 * configure: Regenerated.
62486 * Makerules ($(common-objpfx)format.lds)
62487 [$(output-format) != unknown]: Just use $(output-format),
62488 instead of the linker-script munging.
62490 2011-07-14 Roland McGrath <roland@hack.frob.com>
62492 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62493 of $(common-objpfx)shlib.lds.
62494 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62496 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62497 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62499 * configure.in (-z relro check): Adjust test code to add a large
62500 writable data section after it.
62501 * configure: Regenerated.
62503 2011-07-11 Roland McGrath <roland@hack.frob.com>
62505 * configure.in (-z relro check): Fix test code to make the variable
62507 * configure: Regenerated.
62509 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62511 * nscd/nscd.h (struct traced_file): Define.
62512 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62513 elements. Add traced_files.
62514 (inotify_fd): Declare.
62515 (register_traced_file): Declare.
62516 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62517 (inotify_fd): Export.
62518 (resolv_conf_descr): Remove.
62519 (nscd_init): Move inotify descriptor creation to main.
62520 Don't register files for notification here.
62521 (register_traced_file): New function.
62522 (invalidate_cache): Don't use reset_res to determine whether to call
62523 res_init, go through the list of registered files.
62524 (main_loop_poll): The inotify descriptors are now stored in the
62525 structures for the traced files.
62526 (main_loop_epoll): Likewise
62527 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62528 to __nss_disable_nscd.
62529 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62530 for a database anymore. Check the records for all the registered
62532 * nss/Makefile (libnss_files-routines): Add files-init.
62533 (libnss_db-routines): Add db-init.
62534 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62535 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62536 * nss/nss_db/db-init.c: New file.
62537 * nss/nss_files/files-init.c: New file.
62538 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62539 __nss_lookup_function.
62540 (__nss_lookup_function): Call nss_load_library.
62541 (nss_load_all_libraries): New function.
62542 (__nss_disable_nscd): Take parameter with callback function for files
62543 to register. Set is_nscd. Load all the DSOs for the NSS modules
62544 used for the cached services.
62545 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62546 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62547 options for features to all the files in nscd.
62549 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62551 2011-07-10 Roland McGrath <roland@hack.frob.com>
62553 * csu/elf-init.c (__libc_csu_init): Comment typo.
62555 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62557 * po/pl.po: Update from translation team.
62558 * po/ja.po: Likewise.
62559 * po/ru.po: Likewise.
62560 * po/ko.po: Likewise.
62561 * po/fr.po: Likewise.
62563 2011-07-09 Roland McGrath <roland@hack.frob.com>
62565 * configure.in (.ctors/.dtors header and trailer check):
62566 Use an empirical test on a built program.
62567 * configure: Regenerated.
62569 * configure.in (-z relro check): Use an empirical test on a built DSO.
62570 Detect, but do not require, on ia64.
62571 * configure: Regenerated.
62573 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62574 Update tests that use readelf to use $READELF instead.
62575 * configure: Regenerated.
62577 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62579 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62580 if the result is not used.
62582 2011-07-05 Andreas Jaeger <aj@suse.de>
62585 * stdlib/tst-strtod.c: Add testcase.
62587 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62589 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62590 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62591 The latter has a higher limit. Take additional parameter to pass to
62593 (__pathconf): Pass file to __statfs_link_max.
62594 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62596 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62600 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62603 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62604 (__statfs_filesize_max): Likewise.
62605 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62607 2011-07-05 Andreas Jaeger <aj@suse.de>
62609 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62611 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62613 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62615 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62618 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62620 * Makefile (strop-tests): Add strncat.
62621 * string/test-strncat.c: New file.
62623 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62625 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62627 2011-06-21 Andreas Jaeger <aj@suse.de>
62629 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62630 Copy rule from iconvdata/Makefile.
62632 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62635 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62636 but no long options are defined, just return 'W'.
62638 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62641 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62643 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62645 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62647 (innetgr): Likewise.
62649 2011-07-05 Roland McGrath <roland@hack.frob.com>
62651 * config.make.in (install_root): Default to $(DESTDIR).
62653 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62657 2011-07-02 Roland McGrath <roland@hack.frob.com>
62659 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62661 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62662 containing directory rather than embedding absolute directory names.
62664 * scripts/check-local-headers.sh: Rewritten using awk.
62665 Match by word, not by line. Print error messages for matches.
62666 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62668 * Makerules [shlib-lds-flags empty]:
62669 ($(common-objpfx)libc_pic.opts): New target.
62670 ($(common-objpfx)libc_pic.os.clean): New target.
62671 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62673 * config.make.in (OBJCOPY): New variable.
62674 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62675 * configure: Regenerated.
62677 * config.make.in (use-default-link): New variable.
62678 * configure.in (use_default_link): Grok --with-default-link to set it.
62679 * configure: Regenerated.
62680 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62681 (shlib-lds, shlib-lds-flags): Define to empty.
62683 * Makerules (shlib-lds): New variable.
62684 (shlib-lds-flags): New variable.
62685 (build-shlib, build-moduile, build-module-asneeded): Use it.
62686 ($(common-objpfx)libc.so): Use $(shlib-lds).
62687 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62688 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62690 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62691 DT_FLAGS/DT_FLAGS_1 with zero flags.
62693 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62694 linker script munging.
62696 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62698 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62700 * crypt/sha512.c (sha512_process_block): Perform total addition using
62701 128-bit if possible.
62702 (__sha512_finish_ctx): Likewise.
62703 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62705 * crypt/sha256.c (SWAP64): Define.
62706 (sha256_process_block): Perform total addition using 64-bit if
62708 (__sha256_finish_ctx): Likewise.
62710 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62712 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62714 * nscd/hstcache.c (cache_addhst): Likewise.
62715 * nscd/grpcache.c (cache_addgr): Likewise.
62716 * nscd/aicache.c (addhstaiX): Likewise
62717 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62719 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62721 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62723 * nscd/hstcache.c (cache_addhst): Likewise.
62724 * nscd/grpcache.c (cache_addgr): Likewise.
62725 * nscd/aicache.c (addhstaiX): Likewise
62727 2011-07-01 Andreas Schwab <schwab@redhat.com>
62729 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62730 domain only when needed.
62732 2011-06-30 Andreas Schwab <schwab@redhat.com>
62734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62735 is always restored.
62737 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62739 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62740 are re-adding the entry.
62741 * nscd/servicescache.c (cache_addserv): Likewise.
62743 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62745 * sysdeps/generic/dl-irel.h: fix protection against multiple
62747 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62749 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62752 * malloc/memusage.sh: Fix quoting in message.
62753 * debug/xtrace.sh: Likewise.
62755 * configure.in: Remove support for --experimental-malloc option, make
62757 * config.make.in: Likewise.
62758 * malloc/Makefile: Likewise.
62760 2011-06-27 Andreas Schwab <schwab@redhat.com>
62762 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62763 two-byte characters.
62765 2011-06-27 Roland McGrath <roland@hack.frob.com>
62767 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62768 AC_CACHE_CHECK invocation.
62769 * configure: Regenerated.
62771 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62773 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62776 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62777 bit from old_res_options.
62779 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62781 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62782 value type for setfct.
62784 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62787 __gettimeofday instead of gettimeofday.
62789 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62791 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62793 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62795 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62800 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62803 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62804 strcpy-sse2-unaligned strncpy-sse2-unaligned
62805 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62806 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62807 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62808 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62809 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62811 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62812 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62813 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62814 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62815 (STRCPY): Support SSE2 and SSSE3 versions.
62817 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62820 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62821 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62822 kernels which artificially limit size of requests.
62824 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62827 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62828 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62829 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62830 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62831 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62832 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62833 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62835 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62836 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62837 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62838 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62839 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62840 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62842 Enable unaligned load optimization for Intel Core i3, i5 and i7
62844 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62846 (index_Fast_Unaligned_Load): Define.
62847 (HAS_FAST_UNALIGNED_LOAD): Define.
62849 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62851 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62853 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62856 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62857 until it is clear that the information is realy needed.
62858 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62860 2011-06-22 Andreas Schwab <schwab@redhat.com>
62862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62864 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62866 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62867 /sys/devices/system/cpu/online if it is usable.
62869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62870 reading the information from the /proc filesystem to once a second.
62872 2011-06-21 Andreas Jaeger <aj@suse.de>
62874 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62875 NULL after inclusion of kernel headers.
62877 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62879 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62880 calls to internal_setent.
62883 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62884 addresses using gethostbyname4_r ignore IPv4 addresses.
62886 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62887 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62889 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62891 2011-06-20 David S. Miller <davem@davemloft.net>
62893 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62895 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62897 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62898 (elf_irel): Use it.
62899 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62900 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62901 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62902 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62903 * sysdeps/x86_64/dl-irel.h: Likewise.
62905 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62906 * elf/dl-sym.c: Likewise.
62908 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62910 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62911 need to dereference resplen2.
62913 2011-06-14 Andreas Schwab <schwab@redhat.com>
62915 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62917 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62919 * Makeconfig: Define vardbdir and inst_vardbdir.
62920 * nss/Makefile: Add rules to install db-Makefile.
62922 * nss/nss_db/db-XXX.c: Cleanup.
62924 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62925 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62927 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62928 * nss/makedb.c: Implement -g option to specify that value strings
62929 are generated and should not be added to table iterated over for
62931 * nss/nss_db/db-initgroups.c: New file.
62933 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62936 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62937 (internal_getgrouplist): Adjust to name change.
62938 Update use_initgroups_entry if this is not the first call.
62939 * nss/databases.def: Add initgroups entry.
62941 * nss/makedb.c (compute_tables): Check result of multiple hash table
62942 sizes to minimize maximum chain length.
62944 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62946 * Versions.def: Add entry for libnss_db.
62947 * shlib-versions: Likewise.
62948 * nss/Makefile: Add rules to build libnss_db.
62949 * nss/Versions: Add libnss_db information. Organize libnss_files
62951 * nss/db-Makefile: Add gshadow support. Change rules for the new
62952 makedb progra. Some minor improvements to generate smaller files.
62953 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62955 * nss/makedb.c: ...here.
62956 Improve database format to be smaller and require less memory at
62958 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62960 * nss/nss_db/db-netgrp.c: Likewise.
62961 * nss/nss_db/db-open.c: Likewise.
62962 * nss/nss_files/flies-XXX.x: Adjust comments.
62963 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62964 * nss/nss_files/files-grp.c: Likewise.
62965 * nss/nss_files/files-hosts.c: Likewise.
62966 * nss/nss_files/files-network.c: Likewise.
62967 * nss/nss_files/files-proto.c: Likewise.
62968 * nss/nss_files/files-pwd.c: Likewise.
62969 * nss/nss_files/files-rpc.c: Likewise.
62970 * nss/nss_files/files-service.c: Likewise.
62971 * nss/nss_files/files-sgrp.c: Likewise.
62972 * nss/nss_files/files-spwd.c: Likewise.
62973 * nss/nss_db/db-alias.c: Removed.
62974 * nss/nss_db/dummy-db.h: Removed.
62976 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62978 * nss/makedb.c: Rewritten to not use database library.
62979 * nss/Makefile: Update to build new makedb program.
62981 2011-06-14 Andreas Jaeger <aj@suse.de>
62983 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62984 memset declaration.
62986 2011-06-10 Andreas Schwab <schwab@redhat.com>
62988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62991 2011-06-10 Roland McGrath <roland@hack.frob.com>
62993 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62994 * elf/Makefile ($(objpfx)ld.so): Likewise.
62996 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62997 Don't list ld.so twice in dependencies.
62999 * posix/bug-regex31.c: Include <stdlib.h>.
63001 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63003 * nis/nss_compat/compat-spwd.c
63004 (getspent_next_nss_netgr): Remove unused variable.
63005 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63007 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63008 nonmembers" output to use the right array.
63010 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63012 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63014 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63015 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63016 * catgets/gencat.c (read_input_file): Likewise.
63017 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63019 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63020 variable definition inside #if's controlling its use.
63022 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63024 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63026 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63028 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63031 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63033 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63034 * configure: Regenerated.
63036 * Makerules: Revert last change.
63037 * elf/Makefile: Likewise.
63039 2011-06-09 Roland McGrath <roland@hack.frob.com>
63041 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63042 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63043 (reloc-link): Likewise.
63045 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63047 * elf/Makefile: Add rules to build pldd.
63048 * elf/pldd.c: New file.
63049 * elf/pldd-xx.c: New file.
63051 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63053 * version.h: Update for 2.15 development version.
63055 2011-06-07 David S. Miller <davem@davemloft.net>
63057 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63059 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63060 elf_machine_lazy_rel): Likewise.
63061 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63063 elf_machine_lazy_rel): Likewise.
63064 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63065 dl_hwcap via passed in argument.
63066 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63069 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63071 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63073 2011-06-06 Roland McGrath <roland@hack.frob.com>
63076 * manual/fdl-1.1.texi: New file, verbatim from:
63077 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63078 * manual/lgpl-2.1.texi: New file, verbatim from:
63079 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63080 * manual/Makefile (licenses): New variable, list those new file names.
63082 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63084 * manual/fdl.texi: File removed.
63085 * manual/lesser.texi: File removed.
63086 * manual/libc.texinfo (Copying, Documentation License):
63087 Use new @include file names, put @appendix directive before @include.
63089 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63092 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63093 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63094 (mq_open): Add __NTH.
63096 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63099 Assume Intel Core i3/i5/i7 processor if AVX is available.
63101 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63106 2011-05-31 Andreas Schwab <schwab@redhat.com>
63108 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63109 memory. Use alloca_account. Fix memory leak when retrying.
63111 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63113 * version.h (RELEASE): Bump for 2.14 release.
63114 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63116 * config.make.in (RANLIB): Remove entry.
63118 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63120 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63121 (libc.pot): Work around missing support for .ksh extension in xgettext.
63124 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63125 if both request failed.
63126 (send_dg): In case of server errors clear resplen or *resplen2.
63129 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63130 when there are multiple maps.
63131 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63132 (_dl_fini): Remove test here.
63134 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63136 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63139 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63140 bit from old_res_options.
63141 (gaih_inet): Likewise.
63144 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63147 * resolv/res_init.c (res_setoptions): Make the code more compact.
63150 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63154 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63156 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63159 * malloc/malloc.h: Declare malloc hook variables as volatile.
63161 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63165 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63166 raise in the comment.
63167 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63168 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63169 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63171 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63174 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63175 grow the buffers more if it already has to be sufficient.
63176 (build_wcs_upper_buffer): Likewise.
63177 * posix/regexec.c (check_matching): Likewise.
63178 (clean_state_log_if_needed): Likewise.
63179 (extend_buffers): Don't enlarge buffers beyond size of the input
63181 Patches mostly by Emil Wojak <emil@wojak.eu>.
63182 * posix/bug-regex32.c: New file.
63183 * posix/Makefile (tests): Add bug-regex32.
63185 * locale/findlocale.c (_nl_find_locale): Return right away if
63186 _nl_explode_name failed.
63187 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63189 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63191 * debug/xtrace.sh: Unify messages.
63192 * malloc/memusage.sh: Likewise.
63195 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63196 time symbol from vDSO. Substitute with vsyscall if not available.
63197 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63200 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63201 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63202 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63203 Add sendmmsg and internal_sendmmsg.
63204 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63205 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63206 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63208 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63209 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63210 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63212 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63215 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63216 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63218 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63222 * iconvdata/Makefile (tests): Add bug-iconv9.
63223 * iconvdata/bug-iconv9.c: New file.
63225 2011-05-27 Andreas Schwab <schwab@redhat.com>
63228 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63230 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63233 (struct user_regs_struct): Change intcs field back to cs.
63235 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63237 * po/ja.po: Update from translation team.
63239 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63242 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63243 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63245 2011-05-20 Andreas Schwab <schwab@redhat.com>
63247 * stdlib/longlong.h: Update from GCC.
63249 2011-05-23 Andreas Schwab <schwab@redhat.com>
63251 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63253 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63254 Add parameter name.
63255 (__sysconf): Pass it down.
63257 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63260 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63263 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63264 add in in __libc_use_alloca calls. Adjust callers.
63265 (glob): Use malloc in some situations.
63267 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63268 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63271 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63273 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63274 and CLOCK_BOOTTIME_ALARM.
63277 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63280 * string/_strerror.c (__strerror_r): Print negative errors as signed
63284 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63285 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63286 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63288 * configure.in: Fix typo in redirection and correct removal of test
63289 files in two cases.
63292 * locale/setlocale.c (new_composite_name): Fix test to check for
63293 identical name of all categories.
63296 * libio/filedoalloc.c (local_isatty): New function.
63297 (_IO_file_doallocate): Use local_isatty.
63298 * stdio-common/perror.c (perror): In case a new stream is used
63299 forward the stream error.
63300 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63303 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63308 * include/alloca.h (extend_alloca_account): Define.
63311 * posix/regex.h: Fix comments with documentation of user-accessible
63312 fields after compilation and describe correct free'ing of pattern
63313 after re_compile_pattern.
63314 Patch by Reuben Thomas <rrt@sc3d.org>.
63316 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63318 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63319 and -mno-altivec to prevent the compiler from using Altivec and/or
63320 VSX instructions when the corresponding registers are not available.
63322 2011-05-19 Andreas Schwab <schwab@redhat.com>
63324 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63326 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63328 * libio/freopen.c (freopen): Use __dup2, not dup2.
63329 * libio/freopen64.c (freopen64): Likewise.
63331 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63334 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63335 * math/Makefile (tests): Add test-powl.
63336 (CFLAGS-test-powl.c): Define.
63337 * math/test-powl.c: New file.
63339 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63341 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63343 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63346 * iconvdata/gb18030.c: Update to GB18020-2005.
63348 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63350 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63351 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63352 Patch by Aharon Robbins <arnold@skeeve.com>.
63355 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63359 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63360 through underflows.
63363 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63364 point to strings before performing equality test for error_one_per_line
63368 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63371 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63372 (struct user_fpregs_struct): Avoid __uint*_t types.
63375 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63376 symbol info. Use it instead of calling _dl_addr locally.
63377 (lock_and_info): New function.
63378 (tr_freehook): Call lock_and_info and pass symbol info as additional
63379 parameter to tr_where.
63380 (tr_mallochook): Likewise.
63381 (tr_reallochook): Likewise.
63382 (tr_memalignhook): Likewise.
63384 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63385 used and couldn't be at all thread-safe.
63387 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63389 * libio/freopen.c (freopen): Don't close old file descriptor
63390 before the new one is opened. Instead dup the new file descriptor
63391 to the old one after the new stream is created.
63392 * libio/freopen64.c (freopen64): Likewise.
63393 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63394 * libio/fileops.c (_IO_new_file_close_it): Handle new
63395 _IO_FLAGS2_NOCLOSE flag.
63396 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63397 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63398 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63399 _IO_FLAGS2_NOCLOSE flag.
63400 * include/unistd.h: Add hidden_proto for dup3.
63401 Define __have_dup3.
63402 * io/dup3.c: Define hidden symbol.
63403 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63406 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63407 when an incomplete long option is used.
63408 * posix/tst-getopt_long1.c: New file.
63409 * posix/Makefile (tests): Add tst-getopt_long1.
63412 * scripts/config.guess: Update from autoconf-2.68.
63413 * scripts/config.sub: Likewise.
63416 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63418 (has_cpuclock): ...this. New function.
63419 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63420 macro here based on has_cpuclock code.
63423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63424 First byte (not low byte) is now always NUL.
63425 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63428 Use non-cancelable interfaces.
63431 * locale/iso-639.def: Add entry for Sorani.
63434 * include/stdlib.h: Move include protection to the right place.
63435 Define abort_msg_s. Declare __abort_msg with it.
63436 * stdlib/abort.c (__abort_msg): Adjust type.
63437 * assert/assert.c (__assert_fail_base): New function. Majority
63438 of code from __assert_fail. Allocate memory for __abort_msg with
63440 (__assert_fail): Now call __assert_fail_base.
63441 * assert/assert-perr.c: Remove bulk of implementation. Use
63442 __assert_fail_base.
63443 * include/assert.hL Declare __assert_fail_base.
63444 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63446 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63448 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63452 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63453 until all modules are registered in the DTV.
63454 * elf/Makefile: Add rules to build and run tst-tls19.
63455 * elf/tst-tls19.c: New file.
63456 * elf/tst-tls19mod1.c: New file.
63457 * elf/tst-tls19mod2.c: New file.
63458 * elf/tst-tls19mod3.c: New file.
63459 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63462 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63466 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63467 two-byte sequence errors.
63468 * iconvdata/Makefile (tests): Add bug-iconv8.
63469 * iconvdata/bug-iconv8.c: New file.
63472 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63475 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63478 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63479 (dummy_getcfa): New function.
63480 (init): Get _Unwind_GetCFA address, use dummy if not found.
63481 (backtrace_helper): In recursion check, also check whether CFA changes.
63482 (__backtrace): Completely initialize arg.
63484 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63485 storing incomplete byte sequence in state object. Avoid testing for
63486 guaranteed too small input if we know there is enough data available.
63488 2011-05-11 Andreas Schwab <schwab@redhat.com>
63490 * Makeconfig (+link-pie): Indent.
63491 * Rules (binaries-pie): Define if $(have-fpie) and
63493 (binaries-shared): Also filter out $(binaries-pie).
63494 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63495 * nscd/Makefile (others-pie): Add nscd.
63496 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63497 ($(objpfx)nscd): Remove command override.
63498 * login/Makefile (others-pie): Add pt_chown.
63499 ($(objpfx)pt_chown): Remove command override.
63500 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63501 remove command overrides.
63503 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63505 * libio/tst_putwc.c: Fix error messages.
63508 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63509 currently writing and seek to current position when not.
63510 * libio/Makefile (tests): Add bug-fclose1.
63511 * libio/bug-fclose1.c: New file.
63513 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63516 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63517 don't set DF_1_NODELETE here.
63518 (do_lookup_x): When entering new entry test for copy relocation
63519 and if necessary set DF_1_NODELETE flag.
63520 * elf/tst-unique4.cc: New file.
63521 * elf/tst-unique4.h: New file.
63522 * elf/tst-unique4lib.cc: New file.
63523 * elf/Makefile: Add rules to build and run tst-unique4.
63524 Patch by Piotr Bury <pbury@goahead.com>.
63526 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63529 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63532 * misc/mntent_r.c (addmntent): Flush the stream after the output
63535 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63536 (is_trusted_path_normalize): Skip initial colon. Append slash
63537 to empty buffer. Duplicate is_trusted_path code but allow
63538 constructed patch to be prefix.
63539 (is_dst): Allow $ORIGIN followed by /.
63540 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63541 Correct testing of result of is_trusted_path_normalize
63542 (decompose_rpath): Fix warning.
63544 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63547 * grp/initgroups.c (internal_getgrouplist): When we found the service
63548 list through the initgroups entry in nsswitch.conf do not always
63549 continue on a successful lookup. Don't always use the
63550 __nss_group_database value if it is set.
63551 * nss/nsswitch.conf (initgroups): Change action for successful db
63552 lookup to continue for compatibility.
63554 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63557 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63559 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63561 * iconvdata/tst-tables.sh: Likewise.
63562 * iconvdata/cp770.c: New file.
63563 * iconvdata/cp771.c: New file.
63564 * iconvdata/cp772.c: New file.
63565 * iconvdata/cp773.c: New file.
63566 * iconvdata/cp774.c: New file.
63567 * iconvdata/testdata/CP770: New file.
63568 * iconvdata/testdata/CP770..UTF8: New file.
63569 * iconvdata/testdata/CP771: New file.
63570 * iconvdata/testdata/CP771..UTF8: New file.
63571 * iconvdata/testdata/CP772: New file.
63572 * iconvdata/testdata/CP772..UTF8: New file.
63573 * iconvdata/testdata/CP773: New file.
63574 * iconvdata/testdata/CP773..UTF8: New file.
63575 * iconvdata/testdata/CP774: New file.
63576 * iconvdata/testdata/CP774..UTF8: New file.
63578 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63580 * iconvdata/gen-8bit-gap.sh: Likewise.
63581 * iconvdata/gen-8bit.sh: Likewise.
63583 * locale/iso-639.def: Add ary entry.
63586 * locale/C-translit.h.in: Add U20A1 transliteration.
63589 * locale/iso-639.def: Add wae entry.
63590 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63593 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63597 * locale/C-translit.h.in: Add entry for U20B9.
63598 Patch by pravin.d.s@gmail.com.
63600 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63603 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63604 ENAMETOOLONG use generic getcwd.
63605 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63606 in rtld. Use *stat64.
63607 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63608 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63609 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63610 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63611 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63612 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63613 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63614 __fstatat64 macros.
63615 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63616 * dirent/rewinddir.c: Add libc_hidden_def.
63617 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63618 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63620 * include/dirent.h (__alloc_dir): Add flags parameter.
63621 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63622 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63624 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63625 from fdopendir if O_CLOEXEC is already set.
63627 2011-03-15 Alan Modra <amodra@gmail.com>
63629 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63630 l_tls_firstbyte_offset non-zero. Save padding offset in
63631 l_tls_firstbyte_offset for later use.
63632 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63633 freeing static tls block.
63635 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63637 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63638 where #ifdef was intended. The intent is to prevent ARG_MAX from
63639 being defined by the kernel headers.
63641 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63644 * resolv/resolv.h: Define RES_NOTLDQUERY.
63645 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63646 no-tld-query and set RES_NOTLDQUERY.
63647 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63648 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63649 modern BIND to search name as TLD unless forbidden.
63651 2011-05-07 Petr Baudis <pasky@suse.cz>
63652 Ulrich Drepper <drepper@gmail.com>
63655 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63656 (is_trusted_path): ...to here.
63657 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63658 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63659 using is_trusted_path_normalize() in setuid scripts.
63661 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63663 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63664 __BEGIN/__END_DECLS.
63666 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63668 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63669 NSS_STATUS_NOTFOUND if no record was found.
63671 2011-05-05 Andreas Schwab <schwab@redhat.com>
63673 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63674 (headers-not-in-tirpc): Remove rpc/netdb.h
63675 * resolv/netdb.h: Revert last change.
63677 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63679 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63680 circular dependency between libgcc.a and libc.a.
63682 2011-05-05 Andreas Schwab <schwab@redhat.com>
63684 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63685 * nis/Makefile: Don't install rpcsvc/*.
63686 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63687 instead of <rpc/types.h>.
63688 (MAXHOSTNAMELEN): Define.
63690 2011-05-03 Andreas Schwab <schwab@redhat.com>
63692 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63694 2011-04-28 Maciej Babinski <mbabinski@google.com>
63697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63698 gethostbyname4_r when IPv6 results are possible.
63700 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63703 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63704 _PC_PIPE_BUF handling.
63706 2011-04-30 Bruno Haible <bruno@clisp.org>
63709 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63710 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63712 * inet/getnameinfo.c (getnameinfo): Likewise.
63714 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63716 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63717 to groups setting in database lookup.
63718 * nss/nsswitch.conf: Add initgroups entry.
63720 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63723 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63725 Patch by Eric Blake <eblake@redhat.com>.
63727 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63729 * sunrpc/Makefile (need-export-routines): Add svc_run.
63730 (routines): Remove svc_run.
63731 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63732 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63733 * sunrpc/svc_run.c (svc_run): Likewise.
63734 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63736 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63739 problem in reallocation in last patch.
63741 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63743 * sunrpc/Makefile: Move inclusion of Rules.
63745 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63747 * nss/nss_files/files-initgroups.c: New file.
63748 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63749 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63750 _nss_files_initgroups_dyn.
63752 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63754 * elf/elf.h (R_ARM_IRELATIVE): Define.
63756 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63758 * po/ru.po: Update from translation team.
63760 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63762 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63765 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63768 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63769 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63771 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63772 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63774 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63776 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63782 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63785 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63787 * stdlib/bug-getcontext.c: New file.
63788 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63790 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63792 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63793 instructions into .machine "z9-109".
63794 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63795 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63797 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63799 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63800 between environment variables and auxiliary vector.
63802 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63804 * Makefile: Add rules to build linkobj/libc.so.
63805 * include/libc-symbols.h: Define libc_hidden_nolink.
63806 * include/rpc/auth.h: Mark functions which are to be hidden.
63807 * include/rpc/auth_des.h: Likewise.
63808 * include/rpc/auth_unix.h: Likewise.
63809 * include/rpc/clnt.h: Likewise.
63810 * include/rpc/des_crypt.h: Likewise.
63811 * include/rpc/key_prot.h: Likewise.
63812 * include/rpc/pmap_clnt.h: Likewise.
63813 * include/rpc/pmap_prot.h: Likewise.
63814 * include/rpc/pmap_rmt.h: Likewise.
63815 * include/rpc/rpc_msg.h: Likewise.
63816 * include/rpc/svc.h: Likewise.
63817 * include/rpc/svc_auth.h: Likewise.
63818 * include/rpc/xdr.h: Likewise.
63819 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63820 * nss/Makefile: Likewise.
63821 * sunrpc/Makefile: Don't install headers. Build library with normal
63822 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63823 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63824 for the compat linking library. Remove use of INTDEF/INTUSE.
63825 * sunrpc/auth_none.c: Likewise.
63826 * sunrpc/auth_unix.c: Likewise.
63827 * sunrpc/authdes_prot.c: Likewise.
63828 * sunrpc/authuxprot.c: Likewise.
63829 * sunrpc/clnt_gen.c: Likewise.
63830 * sunrpc/clnt_perr.c: Likewise.
63831 * sunrpc/clnt_raw.c: Likewise.
63832 * sunrpc/clnt_simp.c: Likewise.
63833 * sunrpc/clnt_tcp.c: Likewise.
63834 * sunrpc/clnt_udp.c: Likewise.
63835 * sunrpc/clnt_unix.c: Likewise.
63836 * sunrpc/des_crypt.c: Likewise.
63837 * sunrpc/des_soft.c: Likewise.
63838 * sunrpc/get_myaddr.c: Likewise.
63839 * sunrpc/key_call.c: Likewise.
63840 * sunrpc/key_prot.c: Likewise.
63841 * sunrpc/netname.c: Likewise.
63842 * sunrpc/pm_getmaps.c: Likewise.
63843 * sunrpc/pm_getport.c: Likewise.
63844 * sunrpc/pmap_clnt.c: Likewise.
63845 * sunrpc/pmap_prot.c: Likewise.
63846 * sunrpc/pmap_prot2.c: Likewise.
63847 * sunrpc/pmap_rmt.c: Likewise.
63848 * sunrpc/publickey.c: Likewise.
63849 * sunrpc/rpc_cmsg.c: Likewise.
63850 * sunrpc/rpc_common.c: Likewise.
63851 * sunrpc/rpc_dtable.c: Likewise.
63852 * sunrpc/rpc_prot.c: Likewise.
63853 * sunrpc/rpc_thread.c: Likewise.
63854 * sunrpc/rtime.c: Likewise.
63855 * sunrpc/svc.c: Likewise.
63856 * sunrpc/svc_auth.c: Likewise.
63857 * sunrpc/svc_authux.c: Likewise.
63858 * sunrpc/svc_raw.c: Likewise.
63859 * sunrpc/svc_run.c: Likewise.
63860 * sunrpc/svc_simple.c: Likewise.
63861 * sunrpc/svc_tcp.c: Likewise.
63862 * sunrpc/svc_udp.c: Likewise.
63863 * sunrpc/svc_unix.c: Likewise.
63864 * sunrpc/svcauth_des.c: Likewise.
63865 * sunrpc/xcrypt.c: Likewise.
63866 * sunrpc/xdr.c: Likewise.
63867 * sunrpc/xdr_array.c: Likewise.
63868 * sunrpc/xdr_float.c: Likewise.
63869 * sunrpc/xdr_intXX_t.c: Likewise.
63870 * sunrpc/xdr_mem.c: Likewise.
63871 * sunrpc/xdr_rec.c: Likewise.
63872 * sunrpc/xdr_ref.c: Likewise.
63873 * sunrpc/xdr_sizeof.c: Likewise.
63874 * sunrpc/xdr_stdio.c: Likewise.
63876 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63879 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63880 * sysdeps/ia64/dl-tls.h: Likewise.
63881 * sysdeps/powerpc/dl-tls.h: Likewise.
63882 * sysdeps/s390/dl-tls.h: Likewise.
63883 * sysdeps/sh/dl-tls.h: Likewise.
63884 * sysdeps/sparc/dl-tls.h: Likewise.
63885 * sysdeps/x86_64/dl-tls.h: Likewise.
63886 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63888 2011-03-14 Andreas Schwab <schwab@redhat.com>
63890 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63891 rpath element also skip the following colon.
63892 (expand_dynamic_string_token): Add is_path parameter and pass
63893 down to DL_DST_REQUIRED and _dl_dst_substitute.
63894 (decompose_rpath): Call expand_dynamic_string_token with
63895 non-zero is_path. Ignore empty rpaths.
63896 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63899 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63904 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63907 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63908 Patch by Filipe David Manana <fdmanana@apache.org>.
63910 2011-04-07 Andreas Schwab <schwab@redhat.com>
63912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63913 Maintain aligned stack.
63914 (CHECK_RSP): Remove unused macro.
63916 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63918 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63919 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63921 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63923 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63925 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63927 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63930 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63931 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63932 * sysdeps/x86_64/memmove.c: New file.
63933 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63934 (memcpy): Renamed to ...
63935 (__new_memcpy): This.
63936 (memcpy): Provide GLIBC_2_14 memcpy.
63937 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63938 (memcpy): Provide GLIBC_2_2_5 memcpy.
63940 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63943 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63945 2011-03-30 Andreas Schwab <schwab@redhat.com>
63947 * misc/syncfs.c: New file.
63948 * misc/Makefile (routines): Add syncfs.
63949 * posix/unistd.h: Declare syncfs.
63950 * sysdeps/unix/syscalls.list: Add syncfs.
63952 2011-04-01 Andreas Schwab <schwab@redhat.com>
63954 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63957 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63959 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63961 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63964 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63966 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63968 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63970 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63974 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63975 sync_file_range.c with -fexceptions.
63976 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63977 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63978 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63979 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63980 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63981 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63983 sync_file_range as cancellation point
63984 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63985 now a wrapper around __call_sync_file_range with cancellation handling.
63986 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63987 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63988 function name to __call_sync_file_range.
63989 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63990 Add call_sync_file_range.
63992 2011-04-01 Andreas Schwab <schwab@redhat.com>
63994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63997 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63999 * iconv/iconv.h: Fix typo in comment.
64000 * io/fcntl.h: Likewise.
64001 * libio/stdio.h: Likewise.
64002 * posix/spawn.h: Likewise.
64003 * posix/unistd.h: Likewise.
64004 * stdlib/stdlib.h: Likewise.
64005 * time/time.h: Likewise.
64006 * wcsmbs/wchar.h: Likewise.
64008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64009 open_by_handle): Add.
64010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64011 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64012 Augment a few comments.
64013 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64015 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64017 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64018 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64021 * io/fcntl.h (AT_EMPTY_PATH): Define.
64023 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64025 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64026 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64027 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64029 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64030 * Versions.def: Add GLIBC_2.14.
64031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64034 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64036 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64038 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64040 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64043 * string/test-strncmp.c (do_page_test): New function.
64044 (check2): Likewise.
64045 (test_main): Call check2.
64046 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64048 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64051 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64052 Handle cache information in CPU leaf 4.
64053 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64055 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64058 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64059 character representation.
64060 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64062 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64064 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64065 END(__isnan) to END(__isnanf) to match function entry point/label
64066 EALIGN(__isnanf,...).
64068 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64070 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64072 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64075 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64076 copy from the symbol referenced in the relocation to initialize the
64078 Patch by Piotr Bury <pbury@goahead.com>.
64079 * elf/Makefile: Add rules to build and tst-unique3.
64080 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64081 * elf/tst-unique3.cc: New file.
64082 * elf/tst-unique3.h: New file.
64083 * elf/tst-unique3lib.cc: New file.
64084 * elf/tst-unique3lib2.cc: New file.
64086 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64088 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64090 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64091 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64094 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64096 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64097 to-be-loaded object along a path to loader is ld.so.
64099 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64100 Ulrich Drepper <drepper@gmail.com>
64102 * sysdeps/x86_64/memset.S: After aligning destination, code
64103 branches to different locations depending on the value of
64104 misalignment, when multiarch is enabled. Fix this.
64106 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64108 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64109 Set _x86_64_preferred_memory_instruction for AMD processsors.
64110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64111 Set bit_Prefer_SSE_for_memop for AMD processors.
64113 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64115 * libio/fmemopen.c (fmemopen): Optimize a bit.
64117 2011-03-03 Andreas Schwab <schwab@redhat.com>
64119 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64121 2011-03-03 Roland McGrath <roland@redhat.com>
64123 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64125 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64127 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64128 __bzero_ultra1 instead of __memset_ultra1.
64130 2011-02-23 Andreas Schwab <schwab@redhat.com>
64131 Ulrich Drepper <drepper@gmail.com>
64134 * include/link.h (struct link_map): Add l_orig_initfini.
64135 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64136 returning unsuccessfully.
64137 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64138 close of a file loaded at startup, restore the original l_initfini
64140 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64141 list, store the pointer.
64142 * elf/Makefile ($(objpfx)noload-mem): New rule.
64143 (noload-ENV): Define.
64144 (tests): Add $(objpfx)noload-mem.
64145 * elf/noload.c: Include <memcheck.h>.
64146 (main): Call mtrace. Close all opened handles.
64148 2011-02-17 Andreas Schwab <schwab@redhat.com>
64151 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64152 dependencies are missing.
64154 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64156 Fix __if_freereq crash: Unlike the generic version which uses free,
64158 * sysdeps/mach/hurd/ifreq.h: New file.
64160 2011-01-27 Petr Baudis <pasky@suse.cz>
64161 Ulrich Drepper <drepper@gmail.com>
64164 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64165 to extend_alloca().
64166 * stdio-common/bug23.c: New file.
64167 * stdio-common/Makefile (tests): Add bug23.
64169 2010-09-28 Andreas Schwab <schwab@redhat.com>
64170 Ulrich Drepper <drepper@gmail.com>
64173 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64174 before performing relro protection. At old place add assertion
64175 to make sure nothing changed.
64177 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64178 Glauber de Oliveira Costa <glommer@gmail.com>
64180 * elf/elf.h: Add new ARM TLS relocs.
64182 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64185 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64187 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64189 * sysdeps/wordsize-64/tst-writev.c: New file.
64191 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64193 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64194 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64195 insns in _dl_start to prevent a TOC reference before relocs are
64198 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64201 * Makeconfig: Remove RANLIB definition.
64202 * Makerules: Don't use RANLIB.
64203 * aclocal.m4: Remove ranlib test.
64204 * configure.in: No need to check for ranlib.
64205 * elf/rtld-Rules: Don't use RANLIB.
64207 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64209 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64211 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64212 inclusion protection macro.
64214 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64215 SIGRTMIN and SIGRTMAX and print information in that case only when
64216 SIGRTMIN is defined.
64218 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64220 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64221 arginfo fn returning -1.
64223 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64224 and thousands string is zero terminated.
64226 2011-02-03 Andreas Schwab <schwab@redhat.com>
64228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64229 sysdeps/unix/sysv/linux/bits/socket.h.
64231 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64233 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64234 (__CPU_COUNT): Remove old macros.
64235 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64236 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64237 (__CPU_ALLOC, __CPU_FREE): Add macros.
64238 (__sched_cpualloc, __sched_cpufree): Add declarations.
64240 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64242 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64243 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64244 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64245 (readdhstai): Return value of addhstaiX call.
64246 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64247 (addgrbyX): Return value returned by cache_addgr.
64248 (readdgrbyname): Return value returned by addgrbyX.
64249 (readdgrbygid): Likewise.
64250 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64251 (addpwbyX): Return value returned by cache_addpw.
64252 (readdpwbyname): Return value returned by addhstbyX.
64253 (readdpwbyuid): Likewise.
64254 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64255 (addservbyX): Return value returned by cache_addserv.
64256 (readdservbyname): Return value returned by addservbyX:
64257 (readdservbyport): Likewise.
64258 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64259 (addhstbyX): Return value returned by cache_addhst.
64260 (readdhstbyname): Return value returned by addhstbyX.
64261 (readdhstbyaddr): Likewise.
64262 (readdhstbynamev6): Likewise.
64263 (readdhstbyaddrv6): Likewise.
64264 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64265 (readdinitgroups): Return value returned by addinitgroupsX.
64266 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64267 (prune_cache): Keep track of timeout value of re-added entries.
64268 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64269 * nscd/nscd.h: Adjust prototypes of readd* functions.
64271 2011-02-04 Roland McGrath <roland@redhat.com>
64273 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64274 (nis_stats): Likewise.
64275 * nis/nis_modify.c (nis_modify): Likewise.
64276 * nis/nis_remove.c (nis_remove): Likewise.
64277 * nis/nis_add.c (nis_add): Likewise.
64279 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64281 * posix/fnmatch_loop.c: Add some consts.
64283 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64285 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64288 * config.make.in (config-cflags-novzeroupper): Define.
64289 * configure.in: Substitute libc_cv_cc_novzeroupper.
64290 * elf/Makefile (AVX-CFLAGS): Define.
64291 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64292 (CFLAGS-tst-auditmod4a.c): Likewise.
64293 (CFLAGS-tst-auditmod4b.c): Likewise.
64294 (CFLAGS-tst-auditmod6b.c): Likewise.
64295 (CFLAGS-tst-auditmod6c.c): Likewise.
64296 (CFLAGS-tst-auditmod7b.c): Likewise.
64297 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64299 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64301 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64302 function to the callback.
64303 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64305 2011-02-02 Andreas Schwab <schwab@redhat.com>
64307 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64310 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64313 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64315 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64317 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64320 * elf/Makefile: Add rules to build and run new test.
64321 * elf/tst-initorder.c: New file.
64322 * elf/tst-initorder.exp: New file.
64323 * elf/tst-initordera1.c: New file.
64324 * elf/tst-initordera2.c: New file.
64325 * elf/tst-initordera3.c: New file.
64326 * elf/tst-initordera4.c: New file.
64327 * elf/tst-initorderb1.c: New file.
64328 * elf/tst-initorderb2.c: New file.
64329 * elf/tst-order-a1.c: New file.
64330 * elf/tst-order-a2.c: New file.
64331 * elf/tst-order-a3.c: New file.
64332 * elf/tst-order-a4.c: New file.
64333 * elf/tst-order-b1.c: New file.
64334 * elf/tst-order-b2.c: New file.
64335 * elf/tst-order-main.c: New file.
64336 New test case by George Gensure <werkt0@gmail.com>.
64338 2010-10-01 Andreas Schwab <schwab@redhat.com>
64340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64341 decoding ACE if AI_CANONIDN.
64343 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64345 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64347 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64349 * version.h (RELEASE): Bump for 2.13 release.
64350 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64352 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64354 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64356 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64358 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64359 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64361 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64363 * posix/getconf.c: Update copyright year.
64364 * catgets/gencat.c: Likewise.
64365 * csu/version.c: Likewise.
64366 * debug/catchsegv.sh: Likewise.
64367 * debug/xtrace.sh: Likewise.
64368 * elf/ldconfig.c: Likewise.
64369 * elf/ldd.bash.in: Likewise.
64370 * elf/sprof.c (print_version): Likewise.
64371 * iconv/iconv_prog.c: Likewise.
64372 * iconv/iconvconfig.c: Likewise.
64373 * locale/programs/locale.c: Likewise.
64374 * locale/programs/localedef.c: Likewise.
64375 * malloc/memusage.sh: Likewise.
64376 * malloc/mtrace.pl: Likewise.
64377 * nscd/nscd.c (print_version): Likewise.
64378 * nss/getent.c: Likewise.
64380 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64381 PF_CAIF, and PF_ALG.
64382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64384 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64386 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64387 (modules-names): Use them.
64388 (ifunc-test-modules, ifunc-pie-tests): Define.
64389 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64390 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64391 (test-extras): Likewise.
64392 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64393 $(compile-command.c).
64394 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64395 (all-built-dso): Define.
64396 (check-textrel.out, check-execstack.out): Depend on it.
64398 * configure.in: Don't override --enable-multi-arch.
64400 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64403 * nscd/hstcache.c (tryagain): Define.
64404 (cache_addhst): Return tryagain not notfound for temporary errors.
64405 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64408 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64411 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64412 to make the syscall.
64413 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64416 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64417 and fall back to matching as normal character if the string ends before
64418 the matching ']' is found. This is what POSIX requires.
64419 * posix/testfnm.c: Adjust test result.
64420 * posix/globtest.sh: Adjust test result. Add new test.
64421 * posix/tst-fnmatch.input: Likewise.
64422 * posix/tst-fnmatch2.c: Add new test.
64424 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64426 * elf/Makefile (check-execstack): Revert last change. Depend on
64428 (check-execstack.h): New target.
64429 (generated): Add check-execstack.h.
64430 * elf/check-execstack.c: Include "check-execstack.h".
64431 (main): Revert last change.
64432 (handle_file): Return zero if GNU_STACK is absent and
64433 DEFAULT_STACK_PERMS doesn't include PF_X.
64435 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64437 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64438 in child fails because the descriptor is already closed.
64439 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64440 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64441 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64444 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64448 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64449 temporary buffer used to handle multi lookups locally.
64450 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64452 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64454 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64457 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64459 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64460 alignment for SSE2.
64462 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64465 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64466 characters. When rounding increased number of integer digits recompute
64468 * stdio-common/tst-grouping.c: New file.
64469 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64471 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64473 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64474 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64476 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64478 * bits/select.h: Likewise.
64480 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64482 * po/ja.po: Update from translation team.
64484 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64487 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64488 implementation just like for lxstat, fxstatat, et al.
64490 2010-12-27 Jim Meyering <meyering@redhat.com>
64493 * posix/regexec.c (build_trtable): Return failure indication upon
64494 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64496 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64499 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64500 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64501 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64502 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64505 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64508 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64509 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64511 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64513 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64514 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64515 script has SORT_BY_INIT_PRIORITY.
64516 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64517 NO_CTORS_DTORS_SECTIONS is defined.
64518 * elf/soinit.c: Likewise.
64519 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64520 NO_CTORS_DTORS_SECTIONS is defined.
64521 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64522 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64523 * sysdeps/sh/init-first.c: Likewise.
64524 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64526 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64528 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64529 always use the slow path.
64531 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64533 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64534 similar rule which adds the sysdep directories to the header search in
64535 order to pick up the correct platform stackinfo.h.
64536 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64537 perform test if it is, otherwise return successfully without testing.
64538 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64539 DEFAULT_STACK_PERMS define in stackinfo.h.
64540 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64541 defined in stackinfo.h.
64542 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64543 DEFAULT_STACK_PERMS defined in stackinfo.h.
64544 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64545 * sysdeps/ia64/stackinfo.h: Likewise.
64546 * sysdeps/s390/stackinfo.h: Likewise.
64547 * sysdeps/sh/stackinfo.h: Likewise.
64548 * sysdeps/sparc/stackinfo.h: Likewise.
64549 * sysdeps/x86_64/stackinfo.h: Likewise.
64550 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64551 PF_X for powerpc64. Retain PF_X for powerpc32.
64553 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64555 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64557 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64558 GETDENTS_64BIT_ALIGNED.
64560 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64562 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64564 2010-12-10 Andreas Schwab <schwab@redhat.com>
64566 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64569 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64570 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64572 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64573 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64575 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64578 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64581 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64583 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64585 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64587 * po/it.po: Update from translation team.
64589 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64594 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64596 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64598 2010-11-24 Andreas Schwab <schwab@redhat.com>
64600 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64602 (gaih_getanswer_slice): Likewise.
64604 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64608 2010-05-31 Petr Baudis <pasky@suse.cz>
64611 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64612 silently even in the chroot mode.
64614 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64616 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64617 last patch a bit. Pretty printing
64619 2010-05-31 Petr Baudis <pasky@suse.cz>
64622 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64623 initialization of skip_initgroups_dyn.
64625 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64627 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64630 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64632 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64634 2010-11-11 Andreas Schwab <schwab@redhat.com>
64636 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64637 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64638 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64639 ($(objpfx)tst-fnmatch-mem): New rule.
64640 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64641 * posix/tst-fnmatch.c (main): Call mtrace.
64643 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64646 Support Intel processor model 6 and model 0x2c.
64648 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64650 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64653 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64656 * string/test-strncasecmp.c (check_result): New function.
64657 (do_one_test): Use it.
64658 (check1): New function.
64659 (test_main): Use it.
64660 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64661 Support strcasecmp and strncasecmp.
64663 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64666 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64667 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64669 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64671 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64675 * sysdeps/x86_64/multiarch/bzero.S: New file.
64676 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64677 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64678 * sysdeps/x86_64/multiarch/memset.S: New file.
64679 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64681 Set bit_Prefer_SSE_for_memop for Intel processors.
64682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64684 (index_Prefer_SSE_for_memop): Define.
64685 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64687 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64689 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64690 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64692 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64695 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64696 (__x86_64_raw_data_cache_size_half): Likewise.
64697 (__x86_64_raw_shared_cache_size): Likewise.
64698 (__x86_64_raw_shared_cache_size_half): Likewise.
64700 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64701 (__x86_64_raw_data_cache_size_half): Likewise.
64702 (__x86_64_raw_shared_cache_size): Likewise.
64703 (__x86_64_raw_shared_cache_size_half): Likewise.
64704 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64705 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64706 and __x86_64_raw_shared_cache_size_half. Round
64707 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64708 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64709 to multiple of 256 bytes.
64711 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64714 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64715 of inacessible symlinks. Verify result of symlink before returning it.
64716 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64717 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64719 2010-10-28 Erich Ritz <erichritz@gmail.com>
64721 * math/math.h (isinf): Fix typo in comment.
64723 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64725 * po/da.po: Update from translation team.
64727 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64729 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64730 is added to the list.
64732 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64733 Ulrich Drepper <drepper@gmail.com>
64735 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64736 the global list here. Move code to...
64737 (_dl_add_to_namespace_list): ...here. New function.
64738 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64739 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64740 * elf/dl-load.c (lose): Don't remove the element from the list.
64741 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64742 (_dl_map_object): Likewise.
64744 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64747 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64748 into all bytes of SSE register.
64749 Patch by Richard Li <richardpku@gmail.com>.
64751 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64754 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64757 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64759 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64760 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64761 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64762 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64767 2010-10-22 Andreas Schwab <schwab@redhat.com>
64769 * include/dlfcn.h (__RTLD_SECURE): Define.
64770 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64771 mode & __RTLD_SECURE instead.
64772 (open_path): Rename preloaded parameter to secure.
64773 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64774 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64775 * elf/dl-deps.c (openaux): Likewise.
64776 * elf/rtld.c (struct map_args): Remove is_preloaded.
64777 (map_doit): Don't use it.
64778 (dl_main): Likewise.
64779 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64780 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64782 2010-09-09 Andreas Schwab <schwab@redhat.com>
64784 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64785 (sysd-rules-targets): Remove duplicates.
64786 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64787 rtld-%.$o dependency.
64789 2010-10-18 Andreas Schwab <schwab@redhat.com>
64791 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64792 _dl_map_object do it.
64794 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64796 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64797 fast fma builtins, define the macros in the C99 standard.
64798 (FP_FAST_FMAF): Likewise.
64799 (FP_FAST_FMAL): Likewise.
64800 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64802 * bits/mathdef.h: Update copyright year.
64803 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64805 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64807 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64808 builtins, define the macros in the C99 standard.
64809 (FP_FAST_FMAF): Likewise.
64810 (FP_FAST_FMAL): Likewise.
64811 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64813 (FP_FAST_FMAF): Likewise.
64815 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64818 * math/libm-test.inc (fma_test): Some new testcases.
64819 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64820 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64821 y and infinite z. Do multiplication by C already in long double.
64822 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64824 y and infinite z. Do bitwise or of inexact bit into u.d.
64825 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64826 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64827 * sysdeps/i386/fpu/s_fma.S: Removed.
64828 * sysdeps/i386/fpu/s_fmal.S: Removed.
64830 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64833 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64835 computation is not scheduled after fetestexcept. Fix value
64836 of minimum denormal long double.
64838 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64841 * math/libm-test.inc (fma_test): Add some more tests.
64842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64845 2010-10-15 Andreas Schwab <schwab@redhat.com>
64847 * scripts/data/localplt-s390-linux-gnu.data: New file.
64848 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64850 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64853 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64854 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64856 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64858 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64860 if one of x and y is very large and the other is subnormal.
64861 * sysdeps/s390/fpu/s_fmaf.c: New file.
64862 * sysdeps/s390/fpu/s_fma.c: New file.
64863 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64864 * sysdeps/powerpc/fpu/s_fma.S: New file.
64865 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64866 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64867 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64869 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64872 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64874 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64875 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64876 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64877 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64878 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64879 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64880 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64882 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64885 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64886 * posix/bug-regex31.input: Add test case.
64888 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64890 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64891 * posix/bug-regex31.input: New file.
64894 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64895 (parse_sub_exp): Fix last change, use postorder.
64897 * posix/bug-regex31.c: New file.
64898 * posix/Makefile: Add rules to build and run bug-regex31.
64900 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64903 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64906 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64907 to have entries in sys_siglist.
64910 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64913 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64916 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64917 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64918 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64919 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64920 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64921 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64922 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64923 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64924 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64925 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64926 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64927 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64928 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64929 * math/ftestexcept.c (fetestexcept): Likewise.
64930 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64931 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64932 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64933 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64934 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64935 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64936 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64938 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64941 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64944 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64946 * string/bug-strstr1.c: New file.
64947 * string/Makefile: Add rules to build and run bug-strstr1.
64949 2010-10-05 Eric Blake <eblake@redhat.com>
64952 * string/str-two-way.h (two_way_long_needle): Always clear memory
64953 when skipping input due to the shift table.
64955 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64958 * malloc/mcheck.c: Handle large requests.
64961 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64962 for strncmp and strncasecmp.
64963 * string/stratcliff.c: Add tests for strcmp and strncmp.
64964 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64966 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64968 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64971 2010-09-30 Andreas Jaeger <aj@suse.de>
64973 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64974 (CGROUP_SUPER_MAGIC): Define.
64975 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64976 Handle btrfs and cgroup file systems.
64977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64980 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64982 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64983 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64985 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64988 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64989 trying to locate the ELF header.
64991 2010-09-27 Andreas Schwab <schwab@redhat.com>
64994 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64995 Mask out sign-bit copies when constructing f_fsid.
64997 2010-09-24 Petr Baudis <pasky@suse.cz>
64999 * debug/stack_chk_fail_local.c: Add missing licence exception.
65000 * debug/warning-nop.c: Likewise.
65002 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65004 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65005 implementing getdents64 using getdents syscall, set d_type if
65006 __ASSUME_GETDENTS32_D_TYPE.
65008 2010-09-16 Andreas Schwab <schwab@redhat.com>
65010 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65011 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65013 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65016 * posix/unistd.h: Undo change of feature selection for ftruncate from
65019 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65021 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65024 2010-09-20 Andreas Schwab <schwab@redhat.com>
65026 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65028 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65030 2010-09-14 Andreas Schwab <schwab@redhat.com>
65032 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65033 variables after CHECK_SP call.
65034 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65036 2010-09-13 Andreas Schwab <schwab@redhat.com>
65037 Ulrich Drepper <drepper@redhat.com>
65039 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65040 re-relocationg ld.so.
65041 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65042 _dl_init_paths call.
65043 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65046 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65048 * resolv/res_init.c (__res_vinit): Count the default server we added.
65050 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65051 Ulrich Drepper <drepper@redhat.com>
65054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65055 (____longjmp_chk): Use %ebx for saving value across system call.
65058 2010-09-06 Andreas Schwab <schwab@redhat.com>
65060 * manual/Makefile: Don't mix pattern rules with normal rules.
65062 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65064 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65066 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65067 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65068 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65069 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65073 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65076 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65077 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65079 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65081 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65082 * sysdeps/x86_64/addmul_1.S: Likewise.
65083 * sysdeps/x86_64/lshift.S: Likewise.
65084 * sysdeps/x86_64/mul_1.S: Likewise.
65085 * sysdeps/x86_64/rshift.S: Likewise.
65086 * sysdeps/x86_64/sub_n.S: Likewise.
65087 * sysdeps/x86_64/submul_1.S: Likewise.
65089 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65091 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65092 Define __sched_param instead of SCHED_* and sched_param when
65093 <bits/sched.h> is included with __need_schedparam defined.
65094 * bits/sched.h [__need_schedparam]
65095 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65096 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65097 (__defined_schedparam): Define to 1.
65098 (__sched_param): New structure, identical to sched_param.
65099 (__need_schedparam): Undefine.
65101 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65104 (epoll_create1): Declare.
65106 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65108 2010-08-31 Andreas Schwab <schwab@redhat.com>
65111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65112 shifting retval into place.
65114 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65116 * nis/rpcsvc/nis.h: Update copyright notice.
65117 * nis/rpcsvc/nis.x: Likewise.
65118 * nis/rpcsvc/nis_callback.h: Likewise.
65119 * nis/rpcsvc/nis_callback.x: Likewise.
65120 * nis/rpcsvc/nis_object.x: Likewise.
65121 * nis/rpcsvc/nis_tags.h: Likewise.
65122 * nis/rpcsvc/yp.h: Likewise.
65123 * nis/rpcsvc/yp.x: Likewise.
65124 * nis/rpcsvc/ypupd.h: Likewise.
65125 * nis/yp_xdr.c: Likewise.
65126 * nis/ypupdate_xdr.c: Likewise.
65128 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65129 mainly the body of pmap_getport. Add parameters to specify timeouts.
65130 (pmap_getport): Use __libc_rpc_getport.
65131 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65132 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65133 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65135 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65140 2010-08-27 Roland McGrath <roland@redhat.com>
65142 * sysdeps/i386/i686/multiarch/Makefile
65143 (CFLAGS-varshift.c): New variable.
65145 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65147 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65148 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65152 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65154 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65156 * sysdeps/x86_64/strlen.S: Unroll the loop.
65157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65158 strlen-sse2 strlen-sse2-bsf.
65159 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65160 __strlen_no_bsf if bit_Slow_BSF is set.
65161 (__strlen_sse42): Removed.
65162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65163 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65165 2010-08-25 Roland McGrath <roland@redhat.com>
65167 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65168 * sysdeps/x86_64/multiarch/varshift.c: New file.
65169 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65170 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65171 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65172 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65174 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65177 strlen-sse2 strlen-sse2-bsf.
65178 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65179 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65180 (__strlen_sse2): Removed.
65181 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65182 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65184 bit_Slow_BSF for Atom.
65185 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65186 (index_Slow_BSF): Define.
65187 (HAS_SLOW_BSF): Define.
65189 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65192 * resolv/res_init.c (__res_vinit): When no server address at all
65193 is given default to loopback.
65195 2010-08-24 Roland McGrath <roland@redhat.com>
65197 * configure.in: Remove config-name.h generation.
65198 * configure: Regenerated.
65199 * config-name.in: File removed.
65200 * scripts/config-uname.sh: New file.
65201 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65202 ($(objdir)config-name.h): New target.
65204 * sunrpc/rpc_parse.h: Avoid nested comment.
65206 2010-08-24 Richard Henderson <rth@redhat.com>
65207 Ulrich Drepper <drepper@redhat.com>
65208 H.J. Lu <hongjiu.lu@intel.com>
65210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65212 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65213 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65214 _mm_alignr_epi8 with _mm_loadu_si128.
65215 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65216 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65217 (__m128i_shift_right): Removed.
65218 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65219 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65220 * sysdeps/x86_64/multiarch/varshift.h: New file.
65221 * sysdeps/x86_64/multiarch/varshift.S: New file.
65223 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65225 * configure.in: Move assembler checks to before sysdep dir checking.
65227 2010-08-20 Petr Baudis <pasky@suse.cz>
65229 * LICENSES: Sync the sunrpc license.
65231 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65233 * sunrpc/auth_des.c: Update copyright notice once again.
65234 * sunrpc/auth_none.c: Likewise.
65235 * sunrpc/auth_unix.c: Likewise.
65236 * sunrpc/authdes_prot.c: Likewise.
65237 * sunrpc/authuxprot.c: Likewise.
65238 * sunrpc/bindrsvprt.c: Likewise.
65239 * sunrpc/clnt_gen.c: Likewise.
65240 * sunrpc/clnt_perr.c: Likewise.
65241 * sunrpc/clnt_raw.c: Likewise.
65242 * sunrpc/clnt_simp.c: Likewise.
65243 * sunrpc/clnt_tcp.c: Likewise.
65244 * sunrpc/clnt_udp.c: Likewise.
65245 * sunrpc/clnt_unix.c: Likewise.
65246 * sunrpc/des_crypt.c: Likewise.
65247 * sunrpc/des_soft.c: Likewise.
65248 * sunrpc/get_myaddr.c: Likewise.
65249 * sunrpc/getrpcport.c: Likewise.
65250 * sunrpc/key_call.c: Likewise.
65251 * sunrpc/key_prot.c: Likewise.
65252 * sunrpc/openchild.c: Likewise.
65253 * sunrpc/pm_getmaps.c: Likewise.
65254 * sunrpc/pm_getport.c: Likewise.
65255 * sunrpc/pmap_clnt.c: Likewise.
65256 * sunrpc/pmap_prot.c: Likewise.
65257 * sunrpc/pmap_prot2.c: Likewise.
65258 * sunrpc/pmap_rmt.c: Likewise.
65259 * sunrpc/rpc/auth.h: Likewise.
65260 * sunrpc/rpc/auth_unix.h: Likewise.
65261 * sunrpc/rpc/clnt.h: Likewise.
65262 * sunrpc/rpc/des_crypt.h: Likewise.
65263 * sunrpc/rpc/key_prot.h: Likewise.
65264 * sunrpc/rpc/netdb.h: Likewise.
65265 * sunrpc/rpc/pmap_clnt.h: Likewise.
65266 * sunrpc/rpc/pmap_prot.h: Likewise.
65267 * sunrpc/rpc/pmap_rmt.h: Likewise.
65268 * sunrpc/rpc/rpc.h: Likewise.
65269 * sunrpc/rpc/rpc_des.h: Likewise.
65270 * sunrpc/rpc/rpc_msg.h: Likewise.
65271 * sunrpc/rpc/svc.h: Likewise.
65272 * sunrpc/rpc/svc_auth.h: Likewise.
65273 * sunrpc/rpc/types.h: Likewise.
65274 * sunrpc/rpc/xdr.h: Likewise.
65275 * sunrpc/rpc_clntout.c: Likewise.
65276 * sunrpc/rpc_cmsg.c: Likewise.
65277 * sunrpc/rpc_common.c: Likewise.
65278 * sunrpc/rpc_cout.c: Likewise.
65279 * sunrpc/rpc_dtable.c: Likewise.
65280 * sunrpc/rpc_hout.c: Likewise.
65281 * sunrpc/rpc_main.c: Likewise.
65282 * sunrpc/rpc_parse.c: Likewise.
65283 * sunrpc/rpc_parse.h: Likewise.
65284 * sunrpc/rpc_prot.c: Likewise.
65285 * sunrpc/rpc_sample.c: Likewise.
65286 * sunrpc/rpc_scan.c: Likewise.
65287 * sunrpc/rpc_scan.h: Likewise.
65288 * sunrpc/rpc_svcout.c: Likewise.
65289 * sunrpc/rpc_tblout.c: Likewise.
65290 * sunrpc/rpc_util.c: Likewise.
65291 * sunrpc/rpc_util.h: Likewise.
65292 * sunrpc/rpcinfo.c: Likewise.
65293 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65294 * sunrpc/rpcsvc/key_prot.x: Likewise.
65295 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65296 * sunrpc/rpcsvc/mount.x: Likewise.
65297 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65298 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65299 * sunrpc/rpcsvc/rex.x: Likewise.
65300 * sunrpc/rpcsvc/rstat.x: Likewise.
65301 * sunrpc/rpcsvc/rusers.x: Likewise.
65302 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65303 * sunrpc/rpcsvc/spray.x: Likewise.
65304 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65305 * sunrpc/rtime.c: Likewise.
65306 * sunrpc/svc.c: Likewise.
65307 * sunrpc/svc_auth.c: Likewise.
65308 * sunrpc/svc_authux.c: Likewise.
65309 * sunrpc/svc_raw.c: Likewise.
65310 * sunrpc/svc_run.c: Likewise.
65311 * sunrpc/svc_simple.c: Likewise.
65312 * sunrpc/svc_tcp.c: Likewise.
65313 * sunrpc/svc_udp.c: Likewise.
65314 * sunrpc/svc_unix.c: Likewise.
65315 * sunrpc/svcauth_des.c: Likewise.
65316 * sunrpc/xcrypt.c: Likewise.
65317 * sunrpc/xdr.c: Likewise.
65318 * sunrpc/xdr_array.c: Likewise.
65319 * sunrpc/xdr_float.c: Likewise.
65320 * sunrpc/xdr_mem.c: Likewise.
65321 * sunrpc/xdr_rec.c: Likewise.
65322 * sunrpc/xdr_ref.c: Likewise.
65323 * sunrpc/xdr_sizeof.c: Likewise.
65324 * sunrpc/xdr_stdio.c: Likewise.
65326 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65329 2010-08-19 Andreas Schwab <schwab@redhat.com>
65331 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65333 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65335 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65338 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65339 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65340 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65341 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65342 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65343 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65344 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65345 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65346 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65347 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65348 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65350 2010-07-26 Anton Blanchard <anton@samba.org>
65352 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65353 * malloc/arena.c (heap_trim): Likewise.
65355 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65357 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65360 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65362 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65364 * sysdeps/i386/elf/Makefile: New file.
65366 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65368 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65369 from fanotify_init.
65370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65371 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65373 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65375 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65377 * sysdeps/multiarch/strcmp.S: Likewise.
65379 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65381 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65382 strncase_l-nonascii.
65383 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65384 Add strncase_l-ssse3.
65385 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65386 * sysdeps/x86_64/strcmp.S: Likewise.
65387 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65388 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65389 * sysdeps/x86_64/strncase.S: New file.
65390 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65391 * sysdeps/x86_64/strncase_l.S: New file.
65392 * string/Makefile (strop-tests): Add strncasecmp.
65393 * string/test-strncasecmp.c: New file.
65395 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65398 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65399 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65401 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65403 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65405 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65407 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65411 2010-05-01 Alan Modra <amodra@gmail.com>
65413 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65414 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65415 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65416 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65417 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65418 tidying. Don't tail-call __sigjmp_save for static lib.
65419 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65421 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65422 (CALL_MCOUNT): Add eh info, and nop after bl.
65423 (TAIL_CALL_SYSCALL_ERROR): New macro.
65424 (PSEUDO_RET): Use it.
65425 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65426 Correct save location of integer regs and cr.
65427 (_dl_profile_resolve): Correct cr save location. Delete nops
65428 after bl when SHARED. Reduce cfi size a little by better
65429 placement of cfi directives.
65430 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65431 make a stack frame. Instead use parm save area as a temp.
65432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65433 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65435 Don't make a stack frame for parent, use parm save area.
65436 Increase child stack frame to 112 bytes. Don't save unused reg,
65437 and adjust reg usage. Set up cfi on error recovery and
65438 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65440 (__makecontext): Add dummy nop after jump to exit.
65441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65442 Use correct parm save area and cr save, reduce stack frame.
65443 Correct cfi for possible PSEUDO_RET frame setup.
65444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65445 Branch to local label emitted by PSEUDO_RET rather than
65448 2010-08-12 Andreas Schwab <schwab@redhat.com>
65451 * locale/programs/locale.c (print_assignment): New function.
65452 (show_locale_vars): Use it.
65454 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65456 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65458 (struct statfs64): Likewise.
65459 (_STATFS_F_FLAGS): Define.
65460 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65461 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65462 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65463 (ST_VALID): Define locally.
65464 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65465 __statvfs_getflags, use the provided value.
65466 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65467 __ASSUME_STATFS_F_FLAGS.
65469 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65471 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65472 Add sys/fanotify.h.
65473 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65474 fanotify_mask for GLIBC_2.13.
65475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65476 fanotify_init and fanotify_mark.
65477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65478 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65480 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65482 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65483 prlimit64 for GLIBC_2.13.
65484 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65489 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65490 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65491 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65494 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65497 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65498 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65500 * nss/Makefile: Add rules to build and run tst-nss-test1.
65501 * shlib-versions: Add entry for libnss_test1.
65502 * nss/nss_test1.c: New file.
65503 * nss/tst-nss-test1.c: New file.
65505 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65506 (__nss_configure_lookup): Set appropriate entry in
65507 __nss_configure_lookup to true.
65508 * nss/nsswitch.h: Define enum with indeces of databases in
65509 databases and __nss_database_custom arrays. Declare
65510 __nss_database_custom.
65511 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65512 to avoid using nscd when custom rules are installed.
65513 * nss/getXXbyYY_r.c: Likewise.
65514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65516 * nss/nss_files/files-parse.c: Whitespace fixes.
65518 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65521 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65522 * posix/fnmatch_loop.c: Likewise.
65524 2010-07-17 Andi Kleen <ak@linux.intel.com>
65526 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65527 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65528 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65529 * Versions.def [GLIBC_2.13]: Add.
65531 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65533 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65534 Also fail if tpwd after pwuid call is NULL.
65536 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65538 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65539 when converting to ms.
65541 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65543 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65544 EOPNOTSUPP errors with ENOTTY.
65545 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65546 EOPNOTSUPP errors with ENOTTY.
65548 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65550 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65551 Add strcasecmp_l-ssse3.
65552 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65554 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65555 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65556 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65558 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65560 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65562 * string/Makefile (strop-tests): Add strcasecmp.
65563 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65564 strcasecmp_l-nonascii.
65565 (gen-as-const-headers): Add locale-defines.sym.
65566 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65567 * sysdeps/x86_64/strcasecmp.S: New file.
65568 * sysdeps/x86_64/strcasecmp_l.S: New file.
65569 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65570 * sysdeps/x86_64/locale-defines.sym: New file.
65571 * string/test-strcasecmp.c: New file.
65573 * string/test-strcasestr.c: Test both ends of the range of characters.
65574 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65576 2010-07-29 Roland McGrath <roland@redhat.com>
65579 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65581 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65583 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65586 2010-07-27 Andreas Schwab <schwab@redhat.com>
65588 * manual/memory.texi (Malloc Tunable Parameters): Document
65591 2010-07-26 Roland McGrath <roland@redhat.com>
65594 * configure.in (-fgnu89-inline check): Set and substitute
65595 gnu89_inline, not libc_cv_gnu89_inline.
65596 * configure: Regenerated.
65597 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65599 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65601 * string/test-strnlen.c: New file.
65602 * string/Makefile (strop-tests): Add strnlen.
65603 * string/tester.c (test_strnlen): Add a few more test cases.
65604 * string/tst-strlen.c: Better error reporting.
65606 * sysdeps/x86_64/strnlen.S: New file.
65608 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65610 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65611 lower-latency instructions.
65613 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65615 * string/test-strcasestr.c: New file.
65616 * string/test-strstr.c: New file.
65617 * string/Makefile (strop-tests): Add strstr and strcasestr.
65618 * string/str-two-way.h: Don't undefine MAX.
65619 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65621 2010-07-21 Andreas Schwab <schwab@redhat.com>
65623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65624 strcasestr-nonascii.
65625 (CFLAGS-strcasestr-nonascii.c): Define.
65626 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65627 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65628 Remove unused attribute.
65630 2010-07-20 Roland McGrath <roland@redhat.com>
65632 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65633 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65634 ld.so.cache was broken. With it, there is no way to disable dsocaps
65635 like LD_HWCAP_MASK can disable hwcaps.
65637 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65639 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65641 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65643 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65644 call in strcasestr.
65645 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65646 __strcasestr_sse42_nonascii.
65647 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65648 strcasestr-nonascii.c.
65649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65651 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65653 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65654 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65655 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65656 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65658 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65660 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65663 2010-07-06 Andreas Schwab <schwab@redhat.com>
65666 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65669 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65671 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65672 _PC_PIPE_BUF using F_GETPIPE_SZ.
65674 2010-07-05 Roland McGrath <roland@redhat.com>
65676 * manual/arith.texi (Rounding Functions): Fix rint description
65677 implicit in round description.
65679 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65681 * elf/Makefile: Fix linking for a few tests to make recent linker
65684 2010-06-30 Andreas Schwab <schwab@redhat.com>
65686 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65687 $(common-objpfx)libc_nonshared.a.
65689 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65691 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65692 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65693 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65694 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65695 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65696 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65697 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65698 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65713 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65714 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65715 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65716 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65717 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65718 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65719 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65720 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65721 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65722 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65723 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65724 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65740 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65742 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65743 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65744 * string/memmove.c (memmove): Renamed to ...
65745 (MEMMOVE): ...this. Default to memmove.
65746 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65747 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65750 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65751 mempcpy-ssse3-back memmove-ssse3-back.
65752 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65753 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65754 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65755 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65756 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65757 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65758 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65759 * sysdeps/x86_64/multiarch/memmove.c: New file.
65760 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65761 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65762 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65763 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65764 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65767 (index_Fast_Copy_Backward): Define.
65768 (HAS_ARCH_FEATURE): Define.
65769 (HAS_FAST_REP_STRING): Define.
65770 (HAS_FAST_COPY_BACKWARD): Define.
65772 2010-06-21 Andreas Schwab <schwab@redhat.com>
65774 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65775 Restore proper fallback handling.
65777 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65780 * posix/group_member.c (__group_member): Correct checking loop.
65782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65783 OOM in getpwuid_r correctly. Return error number when the caller
65784 should return, otherwise -1.
65785 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65786 call returning > 0 value.
65787 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65789 2010-06-07 Andreas Schwab <schwab@redhat.com>
65791 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65792 libc_nonshared.a from targets in modules-names.
65794 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65796 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65799 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65801 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65802 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65803 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65804 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65806 2010-06-02 Andreas Schwab <schwab@redhat.com>
65808 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65810 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65812 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65819 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65821 2010-06-14 Roland McGrath <roland@redhat.com>
65823 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65825 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65827 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65828 __REDIRECT followed by __THROW.
65829 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65830 * posix/getopt.h (getopt): Likewise.
65832 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65834 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65835 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65836 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65838 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65839 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65841 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65843 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65845 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65849 Properly check family and model.
65851 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65853 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65855 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65857 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65859 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65861 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65864 2010-05-19 Andreas Schwab <schwab@redhat.com>
65866 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65869 2010-05-21 Andreas Schwab <schwab@redhat.com>
65871 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65872 and internal_recvmmsg.
65873 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65874 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65875 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65876 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65878 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65879 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65880 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65882 2010-05-20 Andreas Schwab <schwab@redhat.com>
65884 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65886 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65888 POWER7 optimizations.
65889 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65890 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65892 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65894 * version.h: Update for 2.13 development version.
65896 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65898 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65899 exceptions. Return 0.
65901 2010-05-07 Roland McGrath <roland@redhat.com>
65903 * elf/ldconfig.c (main): Add a const.
65905 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65907 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65908 (args_options): Add no-idn option.
65909 (ahosts_keys_int): Add idn_flags to ai_flags.
65910 (parse_option): Handle 'i' option to clear idn_flags.
65912 * malloc/malloc.c (_int_free): Possible race in the most recently
65913 added check. Only act on the data if no current modification
65916 See ChangeLog.17 for earlier changes.