]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Avoid excess range in results from i386 exp, hypot, pow functions (bug 18980).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-18 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18980]
4 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5 (DEFINE_DBL_MIN): Likewise.
6 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18 (flt_min): Replace with use of DEFINE_FLT_MIN.
19 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
21 (dbl_min): Replace with use of DEFINE_DBL_MIN.
22 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24 (flt_min): Replace with use of DEFINE_FLT_MIN.
25 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27 (flt_min): Replace with use of DEFINE_FLT_MIN.
28 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31 (__ieee754_hypot): Use DBL_NARROW_EVAL.
32 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
33 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
34 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
35 (__ieee754_pow): Use DBL_NARROW_EVAL.
36 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
37 (__ieee754_powf): Use FLT_NARROW_EVAL.
38 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
39 (__ieee754_expf_sse2): Convert double-precision result to single
40 precision.
41 * sysdeps/i386/fpu/libm-test-ulps: Update.
42
43 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
44
45 * timezone/Makefile: Ignore unused variable errors due to private.h
46 (time_t_min) and (time_t_max).
47 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
48 Likewise.
49
50 2015-09-18 Joseph Myers <joseph@codesourcery.com>
51
52 [BZ #18981]
53 * sysdeps/i386/fpu/i386-math-asm.h: New file.
54 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
55 (__ieee754_scalb): Use DBL_NARROW_EVAL.
56 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
57 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
58 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
59 (__scalbn): Use DBL_NARROW_EVAL.
60 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
61 (__scalbnf): Use FLT_NARROW_EVAL.
62
63 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
64
65 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
66 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
67 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
68 * stdio-common/printf_fp.c (___printf_fp):
69 Use signbit to get the sign. Use isinf macro to allow inlining.
70 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
71 * stdio-common/printf_size.c (__printf_size): Likewise.
72
73 2015-09-18 Mike Frysinger <vapier@gentoo.org>
74
75 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
76
77 2015-09-18 Joseph Myers <joseph@codesourcery.com>
78
79 [BZ #18980]
80 * sysdeps/generic/math_private.h: Include <float.h>.
81 (math_narrow_eval): New macro.
82 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
83 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
84 math_narrow_eval on overflowing return value.
85 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
86 Likewise.
87 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
88 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
89 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
90 Likewise.
91 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
92
93 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
94
95 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
96 * math/Makefile: Remove isinf_ns.c.
97 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
98 * math/multc3.c (__multc3): Likewise.
99 * math/s_casin.c (__casin): Likewise.
100 * math/s_casinf.c (__casinf): Likewise.
101 * math/s_casinl.c (__casinl): Likewise.
102 * math/s_cproj.c (__cproj): Likewise.
103 * math/s_cprojf.c (__cprojf): Likewise.
104 * math/s_cprojl.c (__cprofl): Likewise.
105 * math/s_ctan.c (__ctan): Likewise.
106 * math/s_ctanf.c (__ctanf): Likewise.
107 * math/s_ctanh.c (__ctanh): Likewise.
108 * math/s_ctanhf.c (__ctanhf): Likewise.
109 * math/s_ctanhl.c (__ctanhl): Likewise.
110 * math/s_ctanl.c (__ctanl): Likewise.
111 * math/w_fmod.c (__fmod): Likewise.
112 * math/w_fmodf.c (__fmodf): Likewise.
113 * math/w_fmodl.c (_fmodl): Likewise.
114 * math/w_remainder.c (__remainder): Likewise.
115 * math/w_remainderf.c (__remainderf): Likewise.
116 * math/w_remainderl.c (__remainderl): Likewise.
117 * math/w_scalb.c (__scalb): Likewise.
118 * math/w_scalbf.c (__scalbf): Likewise.
119 * math/w_scalbl.c (__scalbl): Likewise.
120 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
121 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
122 with isinf.
123 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
125 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
126 __isinf_nsf with isinf.
127 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
128 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
129 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
130 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
131 with isinf.
132 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
133 __isinf_nsl with isinf.
134 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
135 with isinf.
136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
137 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
138 __isinf_nsl with isinf.
139 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
140 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
141 with isinf.
142
143 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
144
145 * resolv/base64.c (rcsid): Remove unused static.
146 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
147 static. (tqpi1): Likewise.
148 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
149 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
150 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
151 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
153 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
154 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
155 * timezone/private.h (time_t_min): Likewise. (time_t_max):
156 Likewise.
157
158 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
159
160 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
161 <nptl/pthreadP.h>.
162 (_longjmp_unwind): Use __libc_ptf_call.
163 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
164
165 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
166
167 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
168 * sysdeps/arm/__longjmp.S: Likewise
169
170 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
171
172 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
173 Use __builtin_signbit.
174 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
175 Use __builtin_signbitf.
176 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
177 Use __builtin_signbitl.
178 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
179 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
180
181 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
182
183 [BZ #15367]
184 [BZ #17441]
185
186 * math/Makefile: Build test-snan.c with -fsignaling-nans.
187 * math/math.h (fpclassify): Use __builtin_fpclassify when
188 available. (signbit): Use __builtin_signbit(f/l).
189 (isfinite): Use__builtin_isfinite. (isnormal): Use
190 __builtin_isnormal. (isnan): Use __builtin_isnan.
191 (isinf): Use __builtin_isinf_sign.
192
193 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
194
195 * benchtests/Makefile: Add bench-math-inlines, link with libm.
196 * benchtests/bench-math-inlines.c: New benchmark.
197 * benchtests/bench-util.h: New file.
198 * benchtests/bench-util.c: New file.
199 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
200
201 2015-09-18 Carlos O'Donell <carlos@redhat.com>
202
203 * elf/tst-dlmopen1.c: Define TEST_SO.
204 (do_test): Use TEST_SO.
205
206 * elf/dl-load.c: Include libc-internal.h.
207 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
208
209 2015-09-18 Vincent Bernat <vincent@bernat.im>
210
211 [BZ #17887]
212 * time/strptime_l.c (__strptime_internal): Make %z accept
213 [+-]HH:MM time zones.
214
215 2015-09-18 Vincent Bernat <vincent@bernat.im>
216
217 [BZ #17886]
218 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
219 valid time zone.
220
221 2015-09-17 Mike Frysinger <vapier@gentoo.org>
222
223 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
224 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
225 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
226 (__ASSUME_FDATASYNC): Delete.
227
228 2015-09-17 Joseph Myers <joseph@codesourcery.com>
229
230 * conform/linknamespace.pl: Require weak undefined symbols to be
231 in the standard namespace.
232 (%strong_syms): Rename to %seen_syms.
233 (%strong_seen): Rename to %seen_where.
234
235 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
236
237 [BZ #18970]
238 * misc/error.c (error): Replace pthread_setcancelstate with
239 __pthread_setcancelstate.
240 (error_at_line): Likewise.
241 * posix/wordexp.c (parse_comm): Likewise.
242 * stdlib/fmtmsg.c (fmtmsg): Likewise.
243 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
244 (__pthread_setcancelstate): This.
245 (pthread_setcancelstate): Add an alias.
246 * nptl/nptl-init.c (pthread_functions): Replace
247 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
248 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
249 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
250 hidden_proto.
251 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
252 it with hidden_def.
253 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
254 (pthread_setcancelstate): Renamed to ...
255 (__pthread_setcancelstate): This.
256 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
257 __libc_ptf_call with __pthread_setcancelstate.
258
259 2015-09-17 Joseph Myers <joseph@codesourcery.com>
260 Andreas Schwab <schwab@suse.de>
261
262 [BZ #17118]
263 * math/s_ctan.c (__ctan): Determine sign of zero real part of
264 result when imaginary part of argument is infinite using sine and
265 cosine.
266 * math/s_ctanf.c (__ctanf): Likewise.
267 * math/s_ctanl.c (__ctanl): Likewise.
268 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
269 of result when real part of argument is infinite using sine and
270 cosine.
271 * math/s_ctanhf.c (__ctanhf): Likewise.
272 * math/s_ctanhl.c (__ctanhl): Likewise.
273 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
274 (ctanh_test_data): Add more tests of ctanh.
275
276 2015-09-17 Joseph Myers <joseph@codesourcery.com>
277
278 [BZ #15384]
279 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
280 bit-mask as in subtraction.
281 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
282 Likewise.
283 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
284 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
286
287 [BZ #18951]
288 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
289 underflow exception for small results.
290 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
291 Likewise.
292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
293 Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
295 Likewise.
296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
297 Likewise.
298 * math/auto-libm-test-in: Add more tests of tgamma.
299 * math/auto-libm-test-out: Regenerated.
300
301 2015-09-17 Andreas Schwab <schwab@suse.de>
302
303 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
304
305 2015-09-16 Joseph Myers <joseph@codesourcery.com>
306
307 [BZ #18977]
308 * math/bits/mathcalls.h
309 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
310 not declare.
311 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
312 Likewise.
313 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
314 Likewise.
315 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
316 Likewise.
317 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
318 Likewise.
319 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
320 Likewise.
321 * conform/data/math.h-data
322 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
323 function.
324 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
325 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
326 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
327 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
328 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
329 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
330 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
331 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
332 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
333 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
334 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
335
336 [BZ #6803]
337 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
338 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
339 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
340 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
341 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
342 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
343 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
344 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
345 [NO_LONG_DOUBLE] (scalbnl): Likewise.
346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
347 Likewise.
348 [NO_LONG_DOUBLE] (scalbnl): Likewise.
349 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
350 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
352 long_double_symbol calls.
353 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
354 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
355 strong alias of __ldexpl.
356 (scalbnl): Define using long_double_symbol.
357 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
358 Remove alias.
359 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
360 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
361 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
362 (scalbln_test_data): Add more errno expectations.
363
364 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
365
366 Cache the host port like we cache the task port. This way we do not
367 need to call the kernel just to get the port. Furthermore, we no
368 longer increase the reference count on every invocation of
369 `mach_host_self'.
370
371 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
372 Protect declarations against the macro expansion.
373 * mach/mach_init.c (__mach_host_self_): New variable.
374 (mach_init): Initialize `__mach_host_self_'.
375 * mach/mach_init.h (__mach_host_self_): New declaration.
376 (__mach_host_self, mach_host_self): New macros.
377 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
378 Release reference.
379
380 2015-09-16 Joseph Myers <joseph@codesourcery.com>
381
382 [BZ #4404]
383 * po/de.po: Update from Translation Project.
384
385 [BZ #16415]
386 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
387 (__expm1l): Remove code to handle positive infinity and overflow.
388 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
389 variable.
390 (__expm1l): Remove code to handle positive infinity and overflow.
391
392 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
393 Paul Pluzhnikov <ppluzhnikov@google.com>
394
395 [BZ #18872]
396 * stdio-common/Makefile (tst-printf-bz18872): New test.
397 (tst-printf-bz18872-mem.out): Likewise.
398 * stdio-common/tst-printf-bz18872.sh: Generate new test.
399 * stdio-common/vfprintf.c: Fix memory leaks.
400
401 2015-09-16 Andreas Schwab <schwab@suse.de>
402
403 [BZ #17244]
404 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
405 Remove extra va_start/va_end calls.
406
407 [BZ #17243]
408 * posix/execl.c (execl): Add missing va_end.
409 * posix/execle.c (execle): Likewise.
410 * posix/execlp.c (execlp): Likewise.
411
412 2015-09-15 Roland McGrath <roland@hack.frob.com>
413
414 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
415 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
416
417 2015-09-15 Joseph Myers <joseph@codesourcery.com>
418
419 [BZ #18967]
420 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
421 undefine around includes of <bits/mathcalls.h>.
422 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
423 not declare function.
424 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
425 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
426 (scalb): Likewise.
427 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
428 not define macro.
429 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
430 variable.
431 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
432 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
433 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
434
435 [BZ #18857]
436 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
437 return non-finite argument without doing ordered comparisons on
438 it.
439
440 [BZ #16296]
441 * math/fenv.h (fegetround): Use __attribute_pure__.
442 * include/fenv.h (__fegetround): Likewise.
443
444 [BZ #18595]
445 * math/s_ctan.c (__ctan): Force underflow exception for results
446 whose real or imaginary part has small absolute value.
447 * math/s_ctanf.c (__ctanf): Likewise.
448 * math/s_ctanh.c (__ctanh): Likewise.
449 * math/s_ctanhf.c (__ctanhf): Likewise.
450 * math/s_ctanhl.c (__ctanhl): Likewise.
451 * math/s_ctanl.c (__ctanl): Likewise.
452 * math/auto-libm-test-in: Do not allow missing underflow for ctan
453 and ctanh. Add more tests of ctan and ctanh.
454
455 [BZ #15918]
456 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
457 handling of cases where one argument is an infinity.
458
459 [BZ #18875]
460 [BZ #18966]
461 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
462 (MO): New macro.
463 (__ieee754_exp10): For small results, force underflow exception
464 and remove excess range and precision from return value.
465 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
466 (MO): New macro.
467 (__ieee754_exp10f): For small results, force underflow exception
468 and remove excess range and precision from return value.
469 * math/auto-libm-test-in: Add more tests of exp10.
470 * math/auto-libm-test-out: Regenerated.
471
472 2015-09-14 Joseph Myers <joseph@codesourcery.com>
473
474 [BZ #18875]
475 [BZ #18961]
476 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
477 (MO): New macro.
478 (__ieee754_exp): For small results, force underflow exception and
479 remove excess range and precision from return value.
480 (__exp_finite): Likewise.
481 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
482 (MO): New macro.
483 (__ieee754_expf): For small results, force underflow exception and
484 remove excess range and precision from return value.
485 (__expf_finite): Likewise.
486 * math/auto-libm-test-in: Add more tests of exp.
487 * math/auto-libm-test-out: Regenerated.
488
489 [BZ #16521]
490 [BZ #18875]
491 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
492 small results.
493 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
494 (MO): New macro.
495 (__ieee754_exp2): For small results, force underflow exception and
496 remove excess range and precision from return value.
497 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
498 (MO): New macro.
499 (__ieee754_exp2f): For small results, force underflow exception
500 and remove excess range and precision from return value.
501 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
502 (MO): New macro.
503 (__ieee754_exp2l): Force underflow exception for small results.
504 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
505 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
506 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
507 (MO): New macro.
508 (__ieee754_exp2l): Force underflow exception for small results.
509 * math/auto-libm-test-in: Add more tests or exp2.
510 * math/auto-libm-test-out: Regenerated.
511
512 2015-09-14 Carlos O'Donell <carlos@redhat.com>
513
514 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
515
516 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
517 /dev/null.
518
519 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
520
521 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
522 io fs process)): Drop spurious backslash.
523
524 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
525
526 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
527 Use sysinfo system call instead of parsing /proc/meminfo.
528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
529 Likewise.
530
531 2015-09-11 Mike Frysinger <vapier@gentoo.org>
532
533 [BZ #16985]
534 * programs/localedef.c (main): Display argv[remaining] when
535 output_path is NULL.
536
537 2015-09-11 Joseph Myers <joseph@codesourcery.com>
538
539 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
540 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
541 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
542 tanh.
543 * math/auto-libm-test-out: Regenerated.
544 * sysdeps/i386/fpu/libm-test-ulps: Update.
545 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
546 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
548
549 2015-09-11 Roland McGrath <roland@hack.frob.com>
550
551 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
552 Use 'override' keyword to freeze the value here, preventing
553 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
554
555 2015-09-11 Joseph Myers <joseph@codesourcery.com>
556
557 [BZ #14912]
558 * sysdeps/aarch64/bits/atomic.h: Move to ...
559 * sysdeps/aarch64/atomic-machine.h: ...here.
560 (_AARCH64_BITS_ATOMIC_H): Rename macro to
561 _AARCH64_ATOMIC_MACHINE_H.
562 * sysdeps/alpha/bits/atomic.h: Move to ...
563 * sysdeps/alpha/atomic-machine.h: ...here.
564 * sysdeps/arm/bits/atomic.h: Move to ...
565 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
566 * bits/atomic.h: Move to ...
567 * sysdeps/generic/atomic-machine.h: ...here.
568 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
569 * sysdeps/i386/bits/atomic.h: Move to ...
570 * sysdeps/i386/atomic-machine.h: ...here.
571 * sysdeps/ia64/bits/atomic.h: Move to ...
572 * sysdeps/ia64/atomic-machine.h: ...here.
573 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
574 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
575 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
576 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
577 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
578 * sysdeps/microblaze/bits/atomic.h: Move to ...
579 * sysdeps/microblaze/atomic-machine.h: ...here.
580 * sysdeps/mips/bits/atomic.h: Move to ...
581 * sysdeps/mips/atomic-machine.h: ...here.
582 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
583 * sysdeps/powerpc/bits/atomic.h: Move to ...
584 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
585 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
586 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
587 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
588 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
589 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
590 <atomic-machine.h> instead of <bits/atomic.h>.
591 * sysdeps/s390/bits/atomic.h: Move to ...
592 * sysdeps/s390/atomic-machine.h: ...here.
593 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
594 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
595 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
596 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
597 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
598 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
599 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
600 * sysdeps/tile/bits/atomic.h: Move to ...
601 * sysdeps/tile/atomic-machine.h: ...here.
602 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
603 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
604 <sysdeps/tile/atomic-machine.h> instead of
605 <sysdeps/tile/bits/atomic.h>.
606 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
607 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
608 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
609 <sysdeps/tile/atomic-machine.h> instead of
610 <sysdeps/tile/bits/atomic.h>.
611 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
612 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
613 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
614 <sysdeps/arm/atomic-machine.h> instead of
615 <sysdeps/arm/bits/atomic.h>.
616 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
617 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
618 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
619 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
620 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
621 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
622 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
623 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
624 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
625 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
626 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
627 * sysdeps/x86_64/bits/atomic.h: Move to ...
628 * sysdeps/x86_64/atomic-machine.h: ...here.
629 * include/atomic.h: Include <atomic-machine.h> instead of
630 <bits/atomic.h>.
631
632 * sysdeps/mips/mips32/libm-test-ulps: Update.
633 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
634
635 [BZ #18952]
636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
637 not convert non-integer negative arguments to int to determine the
638 value of signgam.
639 * math/auto-libm-test-in: Add more tests of lgamma.
640 * math/auto-libm-test-out: Regenerated.
641
642 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
643 cosh, csqrt, erfc, expm1 and lgamma.
644 * math/auto-libm-test-out: Regenerated.
645 * sysdeps/i386/fpu/libm-test-ulps: Update.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
647
648 2015-09-10 Joseph Myers <joseph@codesourcery.com>
649
650 [BZ #2542]
651 [BZ #2543]
652 [BZ #2558]
653 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
654 __lgamma_neg for arguments from -28.0 to -2.0.
655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
656 __lgamma_negf for arguments from -15.0 to -2.0.
657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
658 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
659 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
660 Call __lgamma_negl for arguments from -33.0 to -2.0.
661 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
662 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
663 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
664 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
665 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
666 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
667 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
668 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
669 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
670 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
671 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
672 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
673 (__lgamma_neg): Likewise.
674 (__lgamma_negl): Likewise.
675 (__lgamma_product): Likewise.
676 (__lgamma_productl): Likewise.
677 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
678 * math/auto-libm-test-in: Add more tests of lgamma.
679 * math/auto-libm-test-out: Regenerated.
680 * sysdeps/i386/fpu/libm-test-ulps: Update.
681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
682
683 2015-09-09 Justin Maggard <jmaggard@netgear.com>
684
685 [BZ #18675]
686 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
687
688 2015-09-08 Joseph Myers <joseph@codesourcery.com>
689
690 [BZ #14912]
691 * bits/libc-lock.h: Move to ...
692 * sysdeps/generic/libc-lock.h: ...here.
693 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
694 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
695 * sysdeps/mach/hurd/libc-lock.h: ...here.
696 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
697 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
698 * sysdeps/mach/bits/libc-lock.h: Move to ...
699 * sysdeps/mach/libc-lock.h: ...here.
700 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
701 * sysdeps/nptl/bits/libc-lock.h: Move to ...
702 * sysdeps/nptl/libc-lock.h: ...here.
703 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
704 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
705 * sysdeps/nptl/libc-lockP.h: ...here.
706 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
707 * crypt/crypt_util.c: Include <libc-lock.h> instead of
708 <bits/libc-lock.h>.
709 * dirent/scandir-tail.c: Likewise.
710 * dlfcn/dlerror.c: Likewise.
711 * elf/dl-close.c: Likewise.
712 * elf/dl-iteratephdr.c: Likewise.
713 * elf/dl-lookup.c: Likewise.
714 * elf/dl-open.c: Likewise.
715 * elf/dl-support.c: Likewise.
716 * elf/dl-writev.h: Likewise.
717 * elf/rtld.c: Likewise.
718 * grp/fgetgrent.c: Likewise.
719 * gshadow/fgetsgent.c: Likewise.
720 * gshadow/sgetsgent.c: Likewise.
721 * iconv/gconv_conf.c: Likewise.
722 * iconv/gconv_db.c: Likewise.
723 * iconv/gconv_dl.c: Likewise.
724 * iconv/gconv_int.h: Likewise.
725 * iconv/gconv_trans.c: Likewise.
726 * include/link.h: Likewise.
727 * inet/getnameinfo.c: Likewise.
728 * inet/getnetgrent.c: Likewise.
729 * inet/getnetgrent_r.c: Likewise.
730 * intl/bindtextdom.c: Likewise.
731 * intl/dcigettext.c: Likewise.
732 * intl/finddomain.c: Likewise.
733 * intl/gettextP.h: Likewise.
734 * intl/loadmsgcat.c: Likewise.
735 * intl/localealias.c: Likewise.
736 * intl/textdomain.c: Likewise.
737 * libidn/idn-stub.c: Likewise.
738 * libio/libioP.h: Likewise.
739 * locale/duplocale.c: Likewise.
740 * locale/freelocale.c: Likewise.
741 * locale/newlocale.c: Likewise.
742 * locale/setlocale.c: Likewise.
743 * login/getutent_r.c: Likewise.
744 * login/getutid_r.c: Likewise.
745 * login/getutline_r.c: Likewise.
746 * login/utmp-private.h: Likewise.
747 * login/utmpname.c: Likewise.
748 * malloc/mtrace.c: Likewise.
749 * misc/efgcvt.c: Likewise.
750 * misc/error.c: Likewise.
751 * misc/fstab.c: Likewise.
752 * misc/getpass.c: Likewise.
753 * misc/mntent.c: Likewise.
754 * misc/syslog.c: Likewise.
755 * nis/nis_call.c: Likewise.
756 * nis/nis_callback.c: Likewise.
757 * nis/nss-default.c: Likewise.
758 * nis/nss_compat/compat-grp.c: Likewise.
759 * nis/nss_compat/compat-initgroups.c: Likewise.
760 * nis/nss_compat/compat-pwd.c: Likewise.
761 * nis/nss_compat/compat-spwd.c: Likewise.
762 * nis/nss_nis/nis-alias.c: Likewise.
763 * nis/nss_nis/nis-ethers.c: Likewise.
764 * nis/nss_nis/nis-grp.c: Likewise.
765 * nis/nss_nis/nis-hosts.c: Likewise.
766 * nis/nss_nis/nis-network.c: Likewise.
767 * nis/nss_nis/nis-proto.c: Likewise.
768 * nis/nss_nis/nis-pwd.c: Likewise.
769 * nis/nss_nis/nis-rpc.c: Likewise.
770 * nis/nss_nis/nis-service.c: Likewise.
771 * nis/nss_nis/nis-spwd.c: Likewise.
772 * nis/nss_nisplus/nisplus-alias.c: Likewise.
773 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
774 * nis/nss_nisplus/nisplus-grp.c: Likewise.
775 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
776 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
777 * nis/nss_nisplus/nisplus-network.c: Likewise.
778 * nis/nss_nisplus/nisplus-proto.c: Likewise.
779 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
780 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
781 * nis/nss_nisplus/nisplus-service.c: Likewise.
782 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
783 * nis/ypclnt.c: Likewise.
784 * nptl/libc_pthread_init.c: Likewise.
785 * nss/getXXbyYY.c: Likewise.
786 * nss/getXXent.c: Likewise.
787 * nss/getXXent_r.c: Likewise.
788 * nss/nss_db/db-XXX.c: Likewise.
789 * nss/nss_db/db-netgrp.c: Likewise.
790 * nss/nss_db/nss_db.h: Likewise.
791 * nss/nss_files/files-XXX.c: Likewise.
792 * nss/nss_files/files-alias.c: Likewise.
793 * nss/nsswitch.c: Likewise.
794 * posix/regex_internal.h: Likewise.
795 * posix/wordexp.c: Likewise.
796 * pwd/fgetpwent.c: Likewise.
797 * resolv/res_hconf.c: Likewise.
798 * resolv/res_libc.c: Likewise.
799 * shadow/fgetspent.c: Likewise.
800 * shadow/lckpwdf.c: Likewise.
801 * shadow/sgetspent.c: Likewise.
802 * socket/opensock.c: Likewise.
803 * stdio-common/reg-modifier.c: Likewise.
804 * stdio-common/reg-printf.c: Likewise.
805 * stdio-common/reg-type.c: Likewise.
806 * stdio-common/vfprintf.c: Likewise.
807 * stdio-common/vfscanf.c: Likewise.
808 * stdlib/abort.c: Likewise.
809 * stdlib/cxa_atexit.c: Likewise.
810 * stdlib/fmtmsg.c: Likewise.
811 * stdlib/random.c: Likewise.
812 * stdlib/setenv.c: Likewise.
813 * string/strsignal.c: Likewise.
814 * sunrpc/auth_none.c: Likewise.
815 * sunrpc/bindrsvprt.c: Likewise.
816 * sunrpc/create_xid.c: Likewise.
817 * sunrpc/key_call.c: Likewise.
818 * sunrpc/rpc_thread.c: Likewise.
819 * sysdeps/arm/backtrace.c: Likewise.
820 * sysdeps/generic/ldsodefs.h: Likewise.
821 * sysdeps/generic/stdio-lock.h: Likewise.
822 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
823 * sysdeps/i386/backtrace.c: Likewise.
824 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
825 * sysdeps/m68k/backtrace.c: Likewise.
826 * sysdeps/mach/hurd/cthreads.c: Likewise.
827 * sysdeps/mach/hurd/dirstream.h: Likewise.
828 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
829 * sysdeps/nptl/malloc-machine.h: Likewise.
830 * sysdeps/nptl/stdio-lock.h: Likewise.
831 * sysdeps/posix/dirstream.h: Likewise.
832 * sysdeps/posix/getaddrinfo.c: Likewise.
833 * sysdeps/posix/system.c: Likewise.
834 * sysdeps/pthread/aio_suspend.c: Likewise.
835 * sysdeps/s390/s390-32/backtrace.c: Likewise.
836 * sysdeps/s390/s390-64/backtrace.c: Likewise.
837 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
838 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
839 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
840 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
841 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
842 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
843 * sysdeps/unix/sysv/linux/system.c: Likewise.
844 * sysdeps/x86_64/backtrace.c: Likewise.
845 * time/alt_digit.c: Likewise.
846 * time/era.c: Likewise.
847 * time/tzset.c: Likewise.
848 * wcsmbs/wcsmbsload.c: Likewise.
849 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
850 instead of <bits/libc-lock.h> in comment.
851
852 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
853
854 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
855 Only use .set mips2 if the current ISA is below mips2.
856 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
857 Likewise.
858 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
859 mips32r2 if the current ISA is below mips32r2.
860 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
861 (TLS_IE): Updated to use the TLD_RDHWR macro.
862 (TLS_LE): Likewise.
863 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
864 __ASSEMBLER__ condition.
865
866 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
867
868 Fix parallel build of before-compile targets.
869
870 * sysdeps/mach/Makefile ($(patsubst
871 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
872 mach-before-compile target.
873 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
874 io fs process)): Move rule to dedicated hurd-before-compile target.
875
876 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
877
878 Fix rules generating headers in hurd/ and mach/ when initial make call
879 has subdir= explicitly set.
880
881 * sysdeps/mach/Makefile ($(patsubst
882 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
883 calling $(MAKE).
884 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
885 io fs process)): Force subdir to hurd when calling $(MAKE).
886 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
887 subdir to mach when calling $(MAKE).
888
889 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
890
891 Check sysheaders when looking for Mach and Hurd headers
892
893 * sysdeps/mach/configure.ac: Add sysheaders check.
894 * sysdeps/mach/configure: Regenerate.
895 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
896 * sysdeps/mach/hurd/configure: Regenerate.
897
898 2015-09-04 Roland McGrath <roland@hack.frob.com>
899
900 [BZ #18921]
901 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
902 Fix inverted sense of test of 'o_directory_works' value.
903 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
904 Bernhard Voelker <mail@bernhard-voelker.de>.
905
906 2015-09-04 Joseph Myers <joseph@codesourcery.com>
907
908 [BZ #14912]
909 * bits/linkmap.h: Move to ...
910 * sysdeps/generic/linkmap.h: ...here.
911 * sysdeps/aarch64/bits/linkmap.h: Move to ...
912 * sysdeps/aarch64/linkmap.h: ...here.
913 * sysdeps/arm/bits/linkmap.h: Move to ...
914 * sysdeps/arm/linkmap.h: ...here.
915 * sysdeps/hppa/bits/linkmap.h: Move to ...
916 * sysdeps/hppa/linkmap.h: ...here.
917 * sysdeps/ia64/bits/linkmap.h: Move to ...
918 * sysdeps/ia64/linkmap.h: ...here.
919 * sysdeps/mips/bits/linkmap.h: Move to ...
920 * sysdeps/mips/linkmap.h: ...here.
921 * sysdeps/s390/bits/linkmap.h: Move to ...
922 * sysdeps/s390/linkmap.h: ...here.
923 * sysdeps/sh/bits/linkmap.h: Move to ...
924 * sysdeps/sh/linkmap.h: ...here.
925 * sysdeps/x86/bits/linkmap.h: Move to ...
926 * sysdeps/x86/linkmap.h: ...here.
927 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
928
929 2015-09-04 Andreas Schwab <schwab@suse.de>
930
931 [BZ #18635]
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
933 (__makecontext): Terminate FDE before return label.
934 (__novec_makecontext): Likewise.
935
936 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
937
938 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
939 first member of struct sv in syscall macro.
940
941 2015-09-04 Joseph Myers <joseph@codesourcery.com>
942
943 [BZ #14912]
944 * bits/stdio-lock.h: Move to ...
945 * sysdeps/generic/stdio-lock.h: ...here.
946 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
947 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
948 * sysdeps/nptl/stdio-lock.h: ...here.
949 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
950 * include/libio.h: Include <stdio-lock.h> instead of
951 <bits/stdio-lock.h>.
952 * sysdeps/nptl/fork.c: Likewise.
953 * sysdeps/pthread/flockfile.c: Likewise.
954 * sysdeps/pthread/ftrylockfile.c: Likewise.
955 * sysdeps/pthread/funlockfile.c: Likewise.
956
957 [BZ #14912]
958 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
959 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
960 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
961 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
962 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
963 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
964 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
965
966 2015-09-03 Roland McGrath <roland@hack.frob.com>
967
968 * elf/Makefile (test-xfail-tst-protected1a): New variable.
969 (test-xfail-tst-protected1b): New variable.
970
971 2015-09-03 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #14912]
974 * bits/libc-tsd.h: Move to ...
975 * sysdeps/generic/libc-tsd.h: ...here.
976 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
977 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
978 * sysdeps/mach/hurd/libc-tsd.h: ...here.
979 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
980 * include/ctype.h: Include <libc-tsd.h> instead of
981 <bits/libc-tsd.h>.
982 * include/rpc/rpc.h: Likewise.
983 * locale/localeinfo.h: Likewise.
984 * sunrpc/rpc_thread.c: Likewise.
985 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
986 * sysdeps/nptl/malloc-machine.h: Likewise.
987
988 * Makefile (headers): Remove bits/libc-lock.h.
989 * libio/Makefile (headers): Remove bits/stdio-lock.h.
990
991 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
992 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
993 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
994 <bits/stdio-lock.h>.
995 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
996 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
997
998 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
999
1000 [BZ #18757]
1001 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1002 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1003 BZ #18757.
1004
1005 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1006
1007 * malloc/mtrace.pl: Filter out NULL entries.
1008
1009 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1010
1011 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1012 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1013 macro.
1014
1015 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1016 (TCP_CC_INFO): Likewise.
1017 (TCP_SAVE_SYN): Likewise.
1018 (TCP_SAVED_SYN): Likewise.
1019
1020 2015-08-31 Brett Neumeier <brett@neumeier.us>
1021
1022 [BZ #18870]
1023 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1024
1025 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1026
1027 [BZ #18873]
1028 Fix broken overflow check in posix_fallocate
1029 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1030 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1031 Fix parenthesization typo.
1032
1033 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1034
1035 [BZ #18887]
1036 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1037 tst-mntent-blank-passno.
1038 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1039 * misc/tst-mntent-blank-corrupt.c: New test.
1040 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1041 * misc/tst-mntent.c (do_test): ... here.
1042
1043 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1044
1045 [BZ #4404]
1046 * po/de.po: Fix SIGALRM typo.
1047
1048 2015-08-28 James Perkins <james@loowit.net>
1049
1050 * time/tst-strptime2.c (tests): Replace short list of test
1051 strings for strptime %z specifier with code which exhaustively
1052 tests every combination of sign and 0 to 5 digits. Tests for
1053 rejection of invalid strings.
1054
1055 2015-08-28 James Perkins <james@loowit.net>
1056
1057 [BZ #16141]
1058 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1059 calculation, removing incorrect decimal time rounding, so that
1060 all minute values result in a valid seconds value.
1061 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1062 offset range limits to UTC-99:59 through UTC+99:59 to parse
1063 current and historical use cases.
1064 * time/tst-strptime2.c (tests): Modify and add tests for the
1065 strptime %z input field descriptor, specifically conversion of
1066 minutes to seconds and validating an offset range of -9959 to
1067 +9959.
1068
1069 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1070 Dmitry V. Levin <ldv@altlinux.org>
1071
1072 [BZ #18877]
1073 * posix/Makefile (tests): Add tst-mmap-offset.
1074 * posix/tst-mmap.c: New file.
1075 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1076 offset calculation for negative values.
1077
1078 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 * sysdeps/i386/init-arch.h: New file.
1081 * sysdeps/i386/i586/init-arch.h: Likewise.
1082 * sysdeps/i386/i686/init-arch.h: Likewise.
1083 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1084 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1085 * sysdeps/x86/cpu-features.h (bit_I586): New.
1086 (bit_I686): Likewise.
1087 (bit_CX8): Likewise.
1088 (bit_CMOV): Likewise.
1089 (index_CX8): Likewise.
1090 (index_CMOV): Likewise.
1091 (index_I586): Likewise.
1092 (index_I686): Likewise.
1093 (reg_CX8): Likewise.
1094 (reg_CMOV): Likewise.
1095 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1096 available at compile-time.
1097 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1098 available at compile-time.
1099 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1100 (USE_I686): Likewise.
1101
1102 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 * sysdeps/i386/bcopy.S: New file.
1105 * sysdeps/i386/bzero.S: Likewise.
1106 * sysdeps/i386/memcpy.S: Likewise.
1107 * sysdeps/i386/memmove.S: Likewise.
1108 * sysdeps/i386/mempcpy.S: Likewise.
1109 * sysdeps/i386/memset.S: Likewise.
1110 * sysdeps/i386/bzero.c: Removed.
1111 * sysdeps/i386/memset.c: Likewise.
1112 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1113 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1114 * sysdeps/i386/i586/memset_chk.S: Likewise.
1115 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1116 * sysdeps/i386/memcpy_chk.S: Here.
1117 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1118 * sysdeps/i386/memmove_chk.S: Here.
1119 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1120 * sysdeps/i386/mempcpy_chk.S: Likewise.
1121 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1122 * sysdeps/i386/memset_chk.S: Likewise.
1123
1124 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1125
1126 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1127 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1128 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1129 * soft-fp/fmadf4.c: Ditto.
1130 * soft-fp/fmatf4.c: Ditto.
1131
1132 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * sysdeps/i386/i586/Implies: Removed.
1135 * sysdeps/i386/i686/Implies: Likewise.
1136
1137 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 * sysdeps/i386/i486/strlen.S: Moved to ...
1140 * sysdeps/i386/strlen.S: Here.
1141
1142 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * sysdeps/i386/i486/strcat.S: Moved to ...
1145 * sysdeps/i386/strcat.S: Here.
1146
1147 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1150 * sysdeps/i386/pthread_spin_trylock.S: Here.
1151 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1152 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1153
1154 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1155
1156 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1157 * sysdeps/i386/string-inlines.c: Here.
1158
1159 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * sysdeps/i386/i486/htonl.S: Moved ...
1162 * sysdeps/i386/htonl.S: here.
1163
1164 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1167 * sysdeps/i386/bits/atomic.h: Here.
1168
1169 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 * sysdeps/i386/i486/Versions: Removed.
1172
1173 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1174
1175 [BZ #2898]
1176 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1177 Based on patch by Aurelien Jarno.
1178
1179 2015-08-26 Stan Shebs <stanshebs@google.com>
1180
1181 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1182 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1183
1184 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1185
1186 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1187 * sysdeps/powerpc/dl-procinfo.c:
1188 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1189 feature so it shows when LD_SHOW_AUXV=1.
1190
1191 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1192
1193 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1194 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1195 definition. ISA 2.07B no longer requires full sync.
1196
1197 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1198
1199 [BZ #18863]
1200 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1201 (si_call_addr): Define.
1202 (si_syscall): Define.
1203 (si_arch): Define.
1204
1205 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1206
1207 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1208 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1209 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1210 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1211 (__memset_zero_constant_len_parameter): New.
1212 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1213 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1214 (__memset_zero_constant_len_parameter): Don't define if
1215 __memset_chk or USE_AS_BZERO are defined.
1216
1217 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1218 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1219 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1220
1221 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1222 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1223 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1224 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1225 comments.
1226 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1227 -mno-mmx for $(all-rtld-routines).
1228 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1229 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1230 i386.
1231
1232 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1233
1234 * sysdeps/generic/unwind.h
1235 (_Unwind_Word): Use __mode__(__unwind_word__)
1236 instead of __mode__(__word__).
1237 (_Unwind_Sword): Likewise.
1238
1239 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1240 (MAX_NEEDED_INPUT): New define.
1241 (MAX_NEEDED_OUTPUT): New define.
1242
1243 * NEWS: New item for IBM z13 string optimizations.
1244
1245 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1246 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1247 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1248 * sysdeps/s390/multiarch/Makefile
1249 (sysdep_routines): Add memrchr functions.
1250 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1251 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1252
1253 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1254 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1255 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1256 * sysdeps/s390/multiarch/Makefile
1257 (sysdep_routines): Add wmemcmp functions.
1258 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1259 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1260 * benchtests/bench-wmemcmp.c: New File.
1261 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1262
1263 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1264 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1265 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1266 * sysdeps/s390/multiarch/Makefile
1267 (sysdep_routines): Add wmemset functions.
1268 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1269 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1270 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1271 * string/test-memset.c: Add wmemset support.
1272 * wcsmbs/test-wmemset.c: New File.
1273 * wcsmbs/Makefile (strop-tests): Add wmemset.
1274 * benchtests/bench-memset.c: Add wmemset support.
1275 * benchtests/bench-wmemset.c: New File.
1276 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1277
1278 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1279 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1280 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1281 * sysdeps/s390/multiarch/Makefile
1282 (sysdep_routines): Add memccpy functions.
1283 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1284 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1285 * string/memccpy.c: Use MEMCCPY if defined.
1286
1287 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1288 * sysdeps/s390/multiarch/memchr.c: Likewise.
1289 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1290 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1291 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1292 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1293 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1294 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1295 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1296 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1297 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1298 and rawmemchr functions.
1299 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1300 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1301 and wmemchr.
1302 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1303 * string/test-memchr.c: Add wmemchr support.
1304 * wcsmbs/test-wmemchr.c: New File.
1305 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1306 * benchtests/bench-memchr.c: Add wmemchr support.
1307 * benchtests/bench-wmemchr.c: New File.
1308 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1309
1310 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1311 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1312 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1313 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1314 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1315 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1316 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1317 wcscspn functions.
1318 * sysdeps/s390/multiarch/ifunc-impl-list.c
1319 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1320 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1321 * string/test-strcspn.c: Add wcscspn support.
1322 * wcsmbs/test-wcscspn.c: New File.
1323 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1324 * benchtests/bench-strcspn.c: Add wcscspn support.
1325 * benchtests/bench-wcscspn.c: New File.
1326 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1327
1328 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1329 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1330 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1331 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1332 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1333 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1334 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1335 wcspbrk functions.
1336 * sysdeps/s390/multiarch/ifunc-impl-list.c
1337 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1338 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1339 * string/test-strpbrk.c: Add wcspbrk support.
1340 * wcsmbs/test-wcspbrk.c: New File.
1341 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1342 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1343 * benchtests/bench-wcspbrk.c: New File.
1344 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1345
1346 * sysdeps/s390/multiarch/strspn-c.c: New File.
1347 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1348 * sysdeps/s390/multiarch/strspn.c: Likewise.
1349 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1350 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1351 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1352 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1353 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1354 wcsspn functions.
1355 * sysdeps/s390/multiarch/ifunc-impl-list.c
1356 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1357 * string/test-strspn.c: Add wcsspn support.
1358 * wcsmbs/test-wcsspn.c: New File.
1359 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1360 * benchtests/bench-strspn.c: Add wcsspn support.
1361 * benchtests/bench-wcsspn.c: New File.
1362 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1363
1364 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1365 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1366 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1367 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1368 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1369 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1370 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1371 wcsrchr functions.
1372 * sysdeps/s390/multiarch/ifunc-impl-list.c
1373 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1374 * benchtests/bench-wcsrchr.c: New File.
1375 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1376
1377 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1378 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1379 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1380 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1381 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1382 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1383 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1384 wcschrnul functions.
1385 * sysdeps/s390/multiarch/ifunc-impl-list.c
1386 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1387 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1388 * string/test-strchr.c: Add wcschrnul support.
1389 * wcsmbs/test-wcschrnul.c: New File.
1390 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1391 * benchtests/bench-strchr.c: Add wcschrnul support.
1392 * benchtests/bench-wcschrnul.c: New File.
1393 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1394
1395 * sysdeps/s390/multiarch/strchr-c.c: New File.
1396 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1397 * sysdeps/s390/multiarch/strchr.c: Likewise.
1398 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1399 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1400 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1401 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1402 wcschr functions.
1403 * sysdeps/s390/multiarch/ifunc-impl-list.c
1404 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1405 * string/strchr.c (STRCHR): Define and use macro.
1406 * benchtests/bench-wcschr.c: New File.
1407 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1408
1409 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1410 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1411 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1412 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1413 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1414 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1415 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1416 wcsncmp functions.
1417 * sysdeps/s390/multiarch/ifunc-impl-list.c
1418 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1419 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1420 * benchtests/bench-strncmp.c: Add wcsncmp support.
1421 * benchtests/bench-wcsncmp.c: New File.
1422 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1423
1424 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1425 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1426 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1427 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1428 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1429 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1430 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1431 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1432 wcscmp functions.
1433 * sysdeps/s390/multiarch/ifunc-impl-list.c
1434 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1435 * string/strcmp.c (STRCMP): Define and use macro.
1436 * benchtests/bench-wcscmp.c: New File.
1437 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1438 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1439 instead of _HAVE_STRING_ARCH_memchr.
1440
1441 * sysdeps/s390/multiarch/strncat-c.c: New File.
1442 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1443 * sysdeps/s390/multiarch/strncat.c: Likewise.
1444 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1445 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1446 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1447 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1448 wcsncat functions.
1449 * sysdeps/s390/multiarch/ifunc-impl-list.c
1450 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1451 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1452 * string/test-strncat.c: Add wcsncat support.
1453 * wcsmbs/test-wcsncat.c: New File.
1454 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1455 * benchtests/bench-strncat.c: Add wcsncat support.
1456 * benchtests/bench-wcsncat.c: New File.
1457 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1458
1459 * sysdeps/s390/multiarch/strcat-c.c: New File.
1460 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1461 * sysdeps/s390/multiarch/strcat.c: Likewise.
1462 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1463 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1464 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1465 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1466 wcscat functions.
1467 * sysdeps/s390/multiarch/ifunc-impl-list.c
1468 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1469 * string/strcat.c (STRCAT): Define and use macro.
1470 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1471 * string/test-strcat.c: Add wcscat support.
1472 * wcsmbs/test-wcscat.c: New File.
1473 * wcsmbs/Makefile (strop-tests): Add wcscat.
1474 * benchtests/bench-strcat.c: Add wcscat support.
1475 * benchtests/bench-wcscat.c: New File.
1476 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1477
1478 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1479 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1480 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1481 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1482 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1483 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1484 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1485 wcpncpy functions.
1486 * sysdeps/s390/multiarch/ifunc-impl-list.c
1487 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1488 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1489 * string/test-stpncpy.c: Add wcpncpy support.
1490 * wcsmbs/test-wcpncpy.c: New File.
1491 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1492 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1493 * benchtests/bench-wcpncpy.c: New File.
1494 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1495
1496 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1497 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1498 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1499 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1500 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1501 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1502 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1503 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1504 wcsncpy functions.
1505 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1506 * sysdeps/s390/multiarch/ifunc-impl-list.c
1507 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1508 * string/test-strncpy.c: Add wcsncpy support.
1509 * wcsmbs/test-wcsncpy.c: New File.
1510 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1511 * benchtests/bench-strncpy.c: Add wcsncpy support.
1512 * benchtests/bench-wcsncpy.c: New File.
1513 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1514
1515 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1516 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1517 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1518 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1519 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1520 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1521 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1522 wcpcpy functions.
1523 * string/stpcpy.c: Use STPCPY if defined.
1524 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1525 * sysdeps/s390/multiarch/ifunc-impl-list.c
1526 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1527 * string/test-stpcpy.c: Add wcpcpy support.
1528 * wcsmbs/test-wcpcpy.c: New File.
1529 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1530 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1531 * benchtests/bench-wcpcpy.c: New File.
1532 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1533
1534 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1535 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1536 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1537 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1538 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1539 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1540 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1541 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1542 wcscpy functions.
1543 * sysdeps/s390/multiarch/ifunc-impl-list.c
1544 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1545 * benchtests/bench-wcscpy.c: New File.
1546 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1547
1548 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1549 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1550 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1551 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1552 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1553 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1554 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1555 wcsnlen functions.
1556 * sysdeps/s390/multiarch/ifunc-impl-list.c
1557 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1558 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1559 * string/test-strnlen.c: Add wcsnlen support.
1560 * wcsmbs/test-wcsnlen.c: New File.
1561 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1562 * benchtests/bench-strnlen.c: Add wcsnlen support.
1563 * benchtests/bench-wcsnlen.c: New File.
1564 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1565
1566 * sysdeps/s390/multiarch/Makefile: New File.
1567 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1568 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1569 * sysdeps/s390/multiarch/strlen.c: Likewise.
1570 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1571 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1572 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1573 * string/strlen.c (STRLEN): Define and use macro.
1574 * sysdeps/s390/multiarch/ifunc-impl-list.c
1575 (IFUNC_VX_IMPL): New macro function.
1576 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1577 * benchtests/Makefile (wcsmbs-bench): New variable.
1578 (string-bench-all): Added wcsmbs-bench.
1579 * benchtests/bench-wcslen.c: New File.
1580
1581 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1582 s390_vx_libc_ifunc2): New macro function.
1583
1584 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1585 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1586 assembler support.
1587 * sysdeps/s390/configure: Regenerated.
1588
1589 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1590 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1591
1592 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1593 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1594 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1595
1596 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1597 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1598 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1599 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1600 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1601 (memcmp, bcmp): Use __memcmp_default as alias source.
1602 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1603 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1604 Rename to __memcmp_default.
1605 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1606 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1607 (memcpy): Use __memcpy_default as alias source.
1608 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1609 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1610 Rename to __memcpy_default.
1611 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1612 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1613 (memset): Use __memset_default as alias source.
1614 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1615 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1616 Rename to __memset_default.
1617 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1618 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1620 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1621 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1622 (memcmp, bcmp): Use __memcmp_default as alias source.
1623 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1624 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1625 Rename to __memcmp_default.
1626 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1627 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1628 (memcpy): Use __memcpy_default as alias source.
1629 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1630 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1631 Rename to __memcpy_default.
1632 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1633 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1634 (memset): Use __memset_default as alias source.
1635 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1636 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1637 Rename to __memset_default.
1638 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1639 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1640
1641 [BZ #18610]
1642 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1643 __ieee_instruction_pointer to __unused.
1644 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1645 __ieee_instruction_pointer.
1646 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1647 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1648 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1649 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1650 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1651 Mark dxc-field as reserved.
1652
1653 2015-08-25 Roland McGrath <roland@hack.frob.com>
1654
1655 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1656 if the weak reference is not null.
1657
1658 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1661
1662 [BZ #11214]
1663 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1664
1665 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1666
1667 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1668 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1669 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1670 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1671 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1672 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1673 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1674 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1675 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1676 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1677 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1678 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1679 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1680 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1681 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1682 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1683 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1684 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1685
1686 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1687
1688 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1689 register other than r0 for tabort, it has special meaning.
1690 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1691 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1692 transaction before starting syscall.
1693
1694 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1695
1696 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1697
1698 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1701
1702 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1703 * sysdeps/x86_64/rtld-memset.S: Likewise.
1704 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1705 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1706 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1707 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1708
1709 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1710
1711 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1712
1713 * debug/strcpy_chk.c: Improve performance.
1714 * debug/stpcpy_chk.c: Likewise.
1715 * sysdeps/x86_64/strcpy_chk.S: Remove.
1716 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1717
1718 [BZ #18240]
1719 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1720
1721 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 [BZ #15128]
1724 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1725 ifuncmain8.
1726 (modules-names): Add ifuncmod8.
1727 ($(objpfx)ifuncmain8): New rule.
1728 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1729 <cpuid.h>.
1730 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1731 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1732 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1733 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1734 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1735 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1736 * sysdeps/x86_64/ifuncmain8.c: New file.
1737 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1738 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1739 Removed.
1740 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1741 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1742 Change rtld_savespace_sse to __glibc_unused2.
1743 (RTLD_CHECK_FOREIGN_CALL): Removed.
1744 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1745 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1746 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1747
1748 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1749
1750 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1751
1752 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1753
1754 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1755 Unconditionally set __fpcr to avoid uninialized warning.
1756 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1757
1758 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1759
1760 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1761 is corrupt.
1762
1763 * malloc/arena.c (arena_get2): Drop unused argument.
1764 (arena_lock): Adjust.
1765 (arena_get_retry): Likewise.
1766
1767 2015-08-24 Andreas Schwab <schwab@suse.de>
1768
1769 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1770 Don't define.
1771 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1772 (__ASSUME_IPC64): Don't undef.
1773 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1774 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1775 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1776 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1777 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1778 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1779 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1780 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1781 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1782 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1783 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1784 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1785 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1786 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1787 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1788 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1790 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1791 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1792 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1793 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1794
1795 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1796
1797 * manual/Makefile (install): Only build manual when perl is available.
1798
1799 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1800
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1802 '#undef memcpy' by '#undef memchr'.
1803
1804 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1805
1806 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1807 memchr not point to the internal __GI_memchr implementation.
1808
1809 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1810
1811 * timezone/Makefile (CFLAGS-zdump.c): Remove
1812 -Wno-strict-prototypes.
1813 (CFLAGS-zic.c): Likewise.
1814 (CFLAGS-ialloc.c): Likewise.
1815 (CFLAGS-scheck.c): Likewise.
1816
1817 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1818 -Wno-error=undef.
1819
1820 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 * i386/i686/multiarch/strcasestr-c.c: Removed.
1823 * x86_64/multiarch/strcasestr.c: Likewise.
1824 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1825 Remove strcasestr.
1826
1827 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1828
1829 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1830
1831 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1832 variables for high and low parts before possibly modifying them.
1833
1834 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1837 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1838 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1839 of "multiarch/init-arch.h".
1840 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1841 * sysdeps/x86/init-arch.h: This.
1842
1843 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1846 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1847
1848 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1849
1850 [BZ #17787]
1851 * manual/macros.texi: Add twoexp macro.
1852 * manual/filesys.texi: Fix exponents.
1853 * manual/llio.texi: Likewise.
1854 * manual/stdio.texi: Likewise.
1855
1856 2015-08-20 Florian Weimer <fweimer@redhat.com>
1857
1858 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1859 incorrect use.
1860
1861 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1862
1863 [BZ #18370]
1864 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1865 whose real or imaginary part has small absolute value.
1866 * math/s_csqrtf.c (__csqrtf): Likewise.
1867 * math/s_csqrtl.c (__csqrtl): Likewise.
1868 * math/auto-libm-test-in: Add more tests of csqrt.
1869 * math/auto-libm-test-out: Regenerated.
1870 * sysdeps/i386/fpu/libm-test-ulps: Update.
1871
1872 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1873
1874 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1875 __ppc_set_ppr_very_low): New functions.
1876 * manual/platform.texi: Add documentation about
1877 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1878
1879 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1880
1881 * string/stpncpy.c (stpncpy): Improve performance using
1882 __strnlen/memcpy/memset.
1883
1884 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1885
1886 [BZ #18796]
1887 * scripts/test-installation.pl: Don't add -lmvec to build options if
1888 libmvec wasn't built.
1889
1890 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1891
1892 [BZ #14341]
1893 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1894 case when there is a gap between DT_REL and DT_JMPREL sections.
1895 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1896 (LDFLAGS-tst-split-dynreloc): New.
1897 (tst-split-dynreloc-ENV): Likewise.
1898 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1899 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1900
1901 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 [BZ #18822]
1904 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1905 attribute_hidden.
1906 (__xstat64_conv): Likewise.
1907 (__xstat32_conv): Likewise.
1908
1909 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1910
1911 [BZ #18822]
1912 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1913 Don't load %ebx when calling __setcontext. Call __setcontext
1914 with HIDDEN_JUMPTARGET.
1915 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1916 libc_hidden_def.
1917
1918 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * sysdeps/i386/i686/Makefile
1921 [$(subdir) == string] (sysdep_routines): Moved to ...
1922 * sysdeps/i386/Makefile: Here.
1923 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1924 * sysdeps/i386/cacheinfo.c: Here.
1925 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1926 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1928 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1929
1930 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1933 __i586__ is defined.
1934 (HAS_I686): Defined to 1 if __i686__ is defined.
1935
1936 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1937
1938 * elf/Makefile [$(have-z-execstack) = yes]
1939 (CPPFLAGS-tst-execstack.c): New variable.
1940
1941 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1942 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1943 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1944 UTMPX || _HAVE_UT_TV].
1945 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1946 UTMPX || _HAVE_UT_TV - 0].
1947
1948 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1949
1950 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1951 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1952 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1953
1954 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1955
1956 * sysdeps/powerpc/dl-procinfo.c:
1957 (_dl_powerpc_cap_flags): Added missing strings for some
1958 hwcap features.
1959 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1960
1961 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1962
1963 Port the 0x7efe...feff pattern to GCC 6.
1964 See Steve Ellcey's bug report in:
1965 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1966 * string/memrchr.c (MEMRCHR):
1967 * string/rawmemchr.c (RAWMEMCHR):
1968 * string/strchr.c (strchr):
1969 * string/strchrnul.c (STRCHRNUL):
1970 Rewrite code to avoid issues with signed shift overflow.
1971
1972 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1973
1974 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1975 whether cpuid is available only if HAS_CPUID is 0.
1976 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1977 (HAS_I586): Likewise.
1978 (HAS_I686): Likewise.
1979
1980 2015-08-18 Zack Weinberg <zackw@panix.com>
1981
1982 * misc/Versions (libc): Add GLIBC_2.23.
1983
1984 2015-08-18 Alan Modra <amodra@gmail.com>
1985
1986 [BZ #18421]
1987 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1988 .Lp__global.
1989 (_start): Load %dp via .Lp__global.
1990 [!SHARED]: Use .section .rodata.
1991
1992 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1993
1994 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1995 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1996
1997 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1998
1999 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2000 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2001
2002 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2003
2004 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2005 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2006
2007 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2008
2009 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2010 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2011
2012 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2013
2014 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2015 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2016
2017 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2018
2019 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2020 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2021
2022 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2023
2024 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2025
2026 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2027
2028 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2029 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2030 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2031 (__ASSUME_LWS_CAS): Delete.
2032
2033 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2034
2035 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2036 * sysdeps/hppa/configure: Regenerated.
2037 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2038 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2039 * sysdeps/hppa/nptl/tls.h: Likewise.
2040
2041 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2042
2043 [BZ #18823]
2044 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2045 for scaling up small arguments.
2046 * math/s_csqrtf.c (__csqrtf): Likewise.
2047 * math/s_csqrtl.c (__csqrtl): Likewise.
2048 * math/auto-libm-test-in: Add more tests of csqrt.
2049 * math/auto-libm-test-out: Regenerated.
2050
2051 2015-08-17 Andreas Schwab <schwab@suse.de>
2052
2053 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2054 version set GLIBC_2.19.
2055
2056 2015-08-16 Zack Weinberg <zackw@panix.com>
2057
2058 [BZ #18681]
2059 * misc/regexp.h: This interface is no longer supported.
2060 Remove all contents, leaving only an #error directive.
2061 * misc/regexp.c (loc1, loc2, locs, step, advance):
2062 Demote to compatibility symbols.
2063
2064 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2065
2066 [BZ #18084]
2067 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2068 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2069 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2070 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2071 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2072 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2073 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2074 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2075 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2076
2077 2015-08-15 Zack Weinberg <zackw@panix.com>
2078
2079 [BZ #18795]
2080 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2081 buffer length is known to be too large, not if it's known to be
2082 small enough.
2083 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2084 overflow at runtime, involving a length parameter, twice: once
2085 with a compile-time constant length parameter, once without.
2086
2087 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2088
2089 [BZ #18824]
2090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2091 scaling x * y up instead of down.
2092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2094 * math/auto-libm-test-in: Add more tests of fma.
2095 * math/auto-libm-test-out: Regenerated.
2096
2097 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2098
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2100
2101 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2102
2103 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2104 unnecessary movq.
2105 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2106 Likewise.
2107
2108 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2109
2110 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2111 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2112 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2113 and tgamma.
2114 * math/auto-libm-test-out: Regenerated.
2115 * sysdeps/i386/fpu/libm-test-ulps: Update.
2116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2117
2118 [BZ #16520]
2119 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2120 (__tanh): Force underflow exception for arguments with small
2121 absolute value.
2122 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2123 (__tanhf): Force underflow exception for arguments with small
2124 absolute value.
2125 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2126 (__tanhl): Force underflow exception for arguments with small
2127 absolute value.
2128 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2129 (__tanhl): Force underflow exception for arguments with small
2130 absolute value.
2131 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2132 (__tanhl): Force underflow exception for arguments with small
2133 absolute value.
2134 * math/auto-libm-test-in: Add more tests of tanh.
2135 * math/auto-libm-test-out: Regenerated.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137
2138 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2141 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2142
2143 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2146 <cpuid.h>.
2147
2148 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2151 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2152
2153 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2154
2155 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2156 Remove $(objpfx)init-arch.o.
2157 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2158 init-arch.
2159 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2160 (INIT_ARCH_EXT): Defined as empty.
2161 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2163 __init_cpu_features call. Replace HAS_XXX with
2164 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2165 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2166 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2168 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2169 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2170 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2171 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2172 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2174 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2175 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2176 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2177 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2178 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2180 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2181 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2182 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2183 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2184 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2185 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2186 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2187 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2188 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2189 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2190 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2191 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2192 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2193 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2194 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2195 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2196 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2197 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2198 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2199 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2200
2201 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2204 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2205 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2206 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2207 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2208 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2209 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2210 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2211 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2212 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2213 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2214 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2215 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2216 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2217 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2219 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2220 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2221 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2222 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2223 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2224 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2225 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2226 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2227 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2228 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2230 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2231 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2232 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2233 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2234 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2235 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2237 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2246
2247 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2248
2249 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2250 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2254 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2255 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2256 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2257 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2260 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2261 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2262 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2263 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2264 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2265 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2266 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2267 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2268 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2270 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2271 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2272 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2273 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2274 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2275 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2276 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2277 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2278 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2279 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2280 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2282 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2283 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2284 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2285 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2286 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2287 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2288 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2289 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2290 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2291 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2292
2293 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2296 (dl_platform_init): Call init_cpu_features.
2297 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2298 * sysdeps/i386/i686/cacheinfo.c
2299 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2300 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2301 * sysdeps/i386/i686/multiarch/Versions: Removed.
2302 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2303 Removed.
2304 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2305 * sysdeps/unix/sysv/linux/x86/Makefile
2306 (libpthread-sysdep_routines): Remove init-arch.
2307 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2308 <sysdeps/x86_64/dl-procinfo.c> instead of
2309 sysdeps/generic/dl-procinfo.c>.
2310 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2311 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2312 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2313 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2314 [$(subdir) == elf] (tests-static): Add
2315 tst-get-cpu-features-static.
2316 * sysdeps/x86/Versions: New file.
2317 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2318 * sysdeps/x86/cpu-features.c: Likewise.
2319 * sysdeps/x86/cpu-features.h: Likewise.
2320 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2321 * sysdeps/x86/libc-start.c: Likewise.
2322 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2323 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2324 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2325 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2326 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2327 Assume USE_MULTIARCH is defined and don't check it.
2328 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2329 (is_amd): Likewise.
2330 (max_cpuid): Likewise.
2331 (intel_check_word): Likewise.
2332 (__cache_sysconf): Don't call __init_cpu_features.
2333 (__x86_preferred_memory_instruction): Removed.
2334 (init_cacheinfo): Don't call __init_cpu_features. Replace
2335 __cpu_features with GLRO(dl_x86_cpu_features).
2336 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2337 (dl_platform_init): Call init_cpu_features.
2338 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2339 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2340 * sysdeps/x86_64/multiarch/Versions: Removed.
2341 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2342 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2343 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2344 Removed.
2345 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2346
2347 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2348
2349 [BZ #18820]
2350 * libio/Makefile (test-fmemopen-mem): New test.
2351 * libio/test-fmemopen.c (do_bz18820): New test.
2352 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2353 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2354
2355 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2356
2357 [BZ #16734]
2358 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2359 (FREE_BUF): Delete.
2360 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2361 * libio/genops.c (_IO_setb): Use malloc and free directly.
2362 (_IO_default_doallocate, _IO_default_finish): Likewise.
2363 ( _IO_unbuffer_all): Likewise.
2364 ( libc_freeres_fn): Likewise.
2365 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2366 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2367 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2368 (_IO_wdefault_doallocate): Likewise.
2369
2370 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2371
2372 [BZ #18086]
2373 * sysdeps/posix/nice.c (nice): Restore old errno.
2374 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2375
2376 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2377
2378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2379
2380 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2381
2382 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2383 __bcopy and add a weak_alias to bcopy.
2384 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2385 for static build.
2386
2387 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2388 cleanup macro usage.
2389 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2390 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2391 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2397 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2398 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2400 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2401 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2402 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2403 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2404 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2407 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2408
2409 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2410 libc_hidden_def.
2411 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2412
2413 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2414 (sysdep_routines): Add strstr-ppc64.
2415 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2416
2417 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2418
2419 [BZ #18778]
2420 * elf/Makefile (tests): Add Add tst-nodelete2.
2421 (modules-names): Add tst-nodelete2mod.
2422 (tst-nodelete2mod.so-no-z-defs): New.
2423 ($(objpfx)tst-nodelete2): Likewise.
2424 ($(objpfx)tst-nodelete2.out): Likewise.
2425 (LDFLAGS-tst-nodelete2): Likewise.
2426 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2427 out of loop through all loaded libraries.
2428 * elf/tst-nodelete2.c: New file.
2429 * elf/tst-nodelete2mod.c: Likewise.
2430 * elf/tst-znodelete-zlib.cc: Delete.
2431
2432 2015-08-11 Andreas Schwab <schwab@suse.de>
2433
2434 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2435 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2436 (__openat64_nocancel): Likewise.
2437
2438 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2439
2440 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2441 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2442 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2443 * math/auto-libm-test-out: Regenerated.
2444 * sysdeps/i386/fpu/libm-test-ulps: Update.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446
2447 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2448
2449 [BZ #18790]
2450 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2451 threshold for returning +/- 1.
2452 * math/auto-libm-test-in: Add more tests of tanh.
2453 * math/auto-libm-test-out: Regenerated.
2454 * sysdeps/i386/fpu/libm-test-ulps: Update.
2455
2456 2015-08-10 Andreas Schwab <schwab@suse.de>
2457
2458 [BZ #18781]
2459 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2460 MORE_OFLAGS to oflag.
2461 * io/test-lfs.c (do_test): Test openat64.
2462
2463 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2464
2465 [BZ #18789]
2466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2467 smaller threshold for returning the argument.
2468 * math/auto-libm-test-in: Add more tests of sinh.
2469 * math/auto-libm-test-out: Regenerated.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471
2472 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 [BZ #18674]
2475 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2476 break.
2477
2478 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2481 (generated): Don't add $(addprefix z.,$(tzfiles)).
2482
2483 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2484
2485 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2486 * scripts/sysd-rules.awk: Likewise.
2487
2488 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2489
2490 * iconvdata/tst-tables.sh: Change echo -n to printf.
2491 * nss/db-Makefile: Likewise.
2492 * posix/tst-getconf.sh: Likewise.
2493 * stdio-common/tst-unbputc.sh: Likewise.
2494
2495 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2496
2497 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2498 MADV_*_PAGES defines behind this feature check.
2499
2500 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2501
2502 [BZ #18480]
2503 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2504 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2505 Define.
2506 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2507 LOAD_REGS_5, LOAD_REGS_6): Update.
2508 (INTERNAL_SYSCALL): Update using new LOAD defines.
2509 (INTERNAL_SYSCALL_NCS): Likewise.
2510 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2511
2512 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2513
2514 [BZ #16734]
2515 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2516
2517 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2518
2519 [BZ #17905]
2520 * catgets/Makefile (tst-catgets-mem): New test.
2521 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2522 * catgets/open_catalog.c (__open_catalog): Likewise.
2523 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2524
2525 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2526
2527 [BZ #18787]
2528 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2529 clobber registers.
2530 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2531 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2532 Cast return to __typeof (oldval).
2533
2534 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2535
2536 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2537 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2538 and delete sys/syscall.h include.
2539
2540 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2541
2542 [BZ #16517]
2543 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2544 (tan): Force underflow exception for arguments with small absolute
2545 value.
2546 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2547 (__kernel_tanf): Force underflow exception for arguments with
2548 small absolute value.
2549 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2550 (__kernel_tanl): Force underflow exception for arguments with
2551 small absolute value.
2552 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2553 (__kernel_tanl): Force underflow exception for arguments with
2554 small absolute value.
2555 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2556 (__kernel_tanl): Force underflow exception for arguments with
2557 small absolute value.
2558 * math/auto-libm-test-in: Add more tests of tan.
2559 * math/auto-libm-test-out: Regenerated.
2560
2561 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2562
2563 Fix sysdeps/i386/fpu/s_scalbn.S build
2564
2565 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2566
2567 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2568
2569 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2570
2571 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2572
2573 Fix gcrt0.o compilation
2574
2575 When static-start-installed-name is different from
2576 start-installed-name, we must not use the shared objects.
2577
2578 * csu/Makefile
2579 (extra-objs): Add gmon-start.o when building shared library and
2580 $(static-start-installed-name) is different from
2581 $(start-installed-name).
2582 $(objpfx)g$(static-start-installed-name): When building shared
2583 library and $(static-start-installed-name) is different from
2584 $(static-start-installed-name), revert to non-shared rule,
2585 i.e. using $(objpfx)% and gmon-start.o.
2586
2587 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2588
2589 [BZ #16519]
2590 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2591 (__ieee754_sinh): Force underflow exception for arguments with
2592 small absolute value.
2593 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2594 (__ieee754_sinhf): Force underflow exception for arguments with
2595 small absolute value.
2596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2597 (__ieee754_sinhl): Force underflow exception for arguments with
2598 small absolute value.
2599 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2600 (__ieee754_sinhl): Force underflow exception for arguments with
2601 small absolute value.
2602 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2603 (__ieee754_sinhl): Force underflow exception for arguments with
2604 small absolute value.
2605 * math/auto-libm-test-in: Add more tests of sinh.
2606 * math/auto-libm-test-out: Regenerated.
2607 * sysdeps/i386/fpu/libm-test-ulps: Update.
2608
2609 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2610
2611 * libio/oldfileops.c: Include unistd.h.
2612
2613 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2614
2615 * stdlib/isomac.c: Include ctype.h.
2616
2617 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2618
2619 * dirent/tst-seekdir.c (main): Converted to ...
2620 (do_test): ... this.
2621 (TEST_FUNCTION): New macro.
2622 Include test-skeleton.c.
2623 * elf/tst-dlmodcount.c (main): Converted to ...
2624 (do_test): ... this.
2625 (TEST_FUNCTION): New macro.
2626 Include test-skeleton.c.
2627 * elf/tst-order-main.c (main): Converted to ...
2628 (do_test): ... this.
2629 (TEST_FUNCTION): New macro.
2630 Include test-skeleton.c.
2631 * elf/tst-pie2.c (main): Converted to ...
2632 (do_test): ... this.
2633 (TEST_FUNCTION): New macro.
2634 Include test-skeleton.c.
2635 * inet/tst-ether_aton.c (main): Converted to ...
2636 (do_test): ... this.
2637 (TEST_FUNCTION): New macro.
2638 Include test-skeleton.c.
2639 * misc/tst-mntent.c (main): Converted to ...
2640 (do_test): ... this.
2641 (TEST_FUNCTION): New macro.
2642 Include test-skeleton.c.
2643 * misc/tst-tsearch.c (main): Converted to ...
2644 (do_test): ... this.
2645 (TEST_FUNCTION): New macro.
2646 Include test-skeleton.c.
2647 * posix/tst-regexloc.c (main): Converted to ...
2648 (do_test): ... this.
2649 (TEST_FUNCTION): New macro.
2650 Include test-skeleton.c.
2651 * resolv/tst-aton.c (main): Converted to ...
2652 (do_test): ... this.
2653 (TEST_FUNCTION): New macro.
2654 Include test-skeleton.c.
2655 * stdio-common/test-fwrite.c (main): Converted to ...
2656 (do_test): ... this.
2657 (TEST_FUNCTION): New macro.
2658 Include test-skeleton.c.
2659 * stdio-common/tst-ferror.c (main): Converted to ...
2660 (do_test): ... this.
2661 (TEST_FUNCTION): New macro.
2662 Include test-skeleton.c.
2663 * stdio-common/tst-printf.c (main): Converted to ...
2664 (do_test): ... this.
2665 (TEST_FUNCTION): New macro.
2666 Include test-skeleton.c.
2667 * stdio-common/tst-printfsz.c (main): Converted to ...
2668 (do_test): ... this.
2669 (TEST_FUNCTION): New macro.
2670 Include test-skeleton.c.
2671 * stdlib/tst-strtod.c (main): Converted to ...
2672 (do_test): ... this.
2673 (TEST_FUNCTION): New macro.
2674 Include test-skeleton.c.
2675 * string/tst-strlen.c (main): Converted to ...
2676 (do_test): ... this.
2677 (TEST_FUNCTION): New macro.
2678 Include test-skeleton.c.
2679 * string/tst-svc.c (main): Converted to ...
2680 (do_test): ... this.
2681 (TEST_FUNCTION): New macro.
2682 Include test-skeleton.c.
2683 * time/tst-strptime.c (main): Converted to ...
2684 (do_test): ... this.
2685 (TEST_FUNCTION): New macro.
2686 Include test-skeleton.c.
2687 * timezone/tst-timezone.c (main): Converted to ...
2688 (do_test): ... this.
2689 (TEST_FUNCTION): New macro.
2690 Include test-skeleton.c.
2691
2692 2015-08-05 Zack Weinberg <zackw@panix.com>
2693
2694 * misc/regexp.h: Update comments.
2695
2696 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2697
2698 [BZ #18635]
2699 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2700 before return label.
2701
2702 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 [BZ #18661]
2705 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2706 when calling __errno_location.
2707 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2708 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2709
2710 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2711
2712 [BZ #18661]
2713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2714 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2715 __gettimeofday.
2716
2717 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2718
2719 [BZ #18661]
2720 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2721 (__start_context): Don't use pop to restore %rdi so that stack
2722 is aligned to 16 bytes when calling __setcontext.
2723
2724 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2727 only for libc.
2728 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2729
2730 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2731
2732 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2733 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2734 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2735
2736 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2737
2738 * string/memccpy.c (memccpy):
2739 Improve performance by using memchr/memcpy/__mempcpy.
2740
2741 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2742
2743 * string/strncpy.c (strncpy):
2744 Improve performance by using __strnlen/memcpy.
2745
2746 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2747
2748 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2749 Optimize to avoid an unnecessary FPCR read.
2750
2751 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2752
2753 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2754 Optimize to reduce FPCR/FPSR accesses.
2755
2756 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2759 dead->data[category] != NULL.
2760
2761 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2762
2763 [BZ #18647]
2764 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2765 and |x| close to 1, use absolute value of x when computing log.
2766 * math/auto-libm-test-in: Add more tests of pow.
2767 * math/auto-libm-test-out: Regenerated.
2768
2769 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2770
2771 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2772 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2773 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2774
2775 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2776
2777 [BZ #18525]
2778 * locales/km_KH: Remove timezone definition.
2779 * locales/lo_LA: Likewise.
2780 * locales/my_MM: Likewise.
2781 * locales/nan_TW@latin: Likewise.
2782 * locales/th_TH: Likewise.
2783 * locales/uk_UA: Likewise.
2784
2785 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2786
2787 [BZ #18265]
2788 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2789 (wcsncat): Likewise.
2790 (wcscmp): Likewise.
2791 (wcsncmp): Likewise.
2792
2793 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2794
2795 * test-skeleton.c (usage): New function.
2796 (main): Call usage when opt is '?'.
2797
2798 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2799
2800 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2801 before first use.
2802
2803 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2804
2805 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2806 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2807 in there too.
2808
2809 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2810
2811 * version.h (RELEASE): Set to "development".
2812 (VERSION): Set to "2.22.90"
2813
2814 * version.h (RELEASE): Set to "stable".
2815 (VERSION): Set to "2.22"
2816 * include/features.h (__GLIBC_MINOR__): Set to 22.
2817
2818 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2819
2820 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2821 Restructure macro to avoid "value computed is not used" warning.
2822 (atomic_compare_and_exchange_val_acq): Likewise.
2823
2824 2015-08-04 Andreas Schwab <schwab@suse.de>
2825
2826 [BZ #18635]
2827 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2828 ret.
2829 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2830
2831 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2832
2833 * po/pl.po: Updated translation.
2834 * po/uk.po: Likewise.
2835 * po/fi.po: Likewise.
2836 * po/ko.po: Likewise.
2837 * po/ru.po: Likewise.
2838 * po/vi.po: Likewise.
2839
2840 2015-07-31 Zack Weinberg <zackw@panix.com>
2841
2842 [BZ #18681]
2843 * regexp.h: Add unconditional #warning stating that this header
2844 will be removed soon. Revise banner comment to match.
2845 (compile): Consistently use ERROR instead of RETURN to report
2846 errors (partial fix for bz#18681).
2847 * regexp.c: Don't include regexp.h. Remove some unnecessary
2848 declarations.
2849
2850 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2851
2852 * po/libc.pot: Regenerated.
2853
2854 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2855
2856 [BZ #18740]
2857 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2858 float-vlen4-arch-ext-cflags): Removed.
2859 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2860 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2861
2862 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2863
2864 [BZ #14113]
2865 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2866 aligned to __aligned__.
2867 (pthread_cond_t, pthread_rwlock_t): Likewise.
2868
2869 2015-07-30 Torvald Riegel <triegel@redhat.com>
2870
2871 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2872
2873 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2874
2875 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2876 (struct sigaction): Change sa_flags from a long to an int, and add
2877 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2878
2879 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2880
2881 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2882 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2883 sysdeps/generic/sysdep.h include.
2884 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2885 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2886 sysdeps/hppa/sysdep.h.
2887 (ENTRY, PSEUDO): Undefine before defining.
2888
2889 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2890
2891 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2892 from scratch to use INTERNAL_SYSCALL.
2893
2894 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2895
2896 [BZ #18078]
2897 * scripts/check-localplt.awk: Support alternate relocations.
2898 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2899 sections.
2900 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2901 malloc entries with + REL R_386_GLOB_DAT.
2902 * sysdeps/x86_64/localplt.data: New file.
2903
2904 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2905
2906 [BZ #18731]
2907 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2908 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2909 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2910
2911 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2912
2913 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2914
2915 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2916
2917 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2918 directly in terms of __sync_fetch_and_add and delete (int) cast.
2919
2920 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2921
2922 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2923 the -D_ASM_IA64_CURRENT_H flag.
2924
2925 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2926
2927 [BZ #18641]
2928 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2929
2930 2015-07-27 Andreas Schwab <schwab@suse.de>
2931
2932 * conform/conformtest.pl (checknamespace): Filter out string
2933 literals while tokenizing.
2934
2935 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2936
2937 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2938 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2939 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2940
2941 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2942
2943 * nptl/tst-join7mod.c: Add #include <string.h>.
2944
2945 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2946
2947 * sysdeps/nios2/libm-test-ulps: Update.
2948
2949 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2950
2951 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2952 Fix order of arguments to the rt_sigprocmask syscall.
2953 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2954 Likewise.
2955
2956 2015-07-24 Roland McGrath <roland@hack.frob.com>
2957
2958 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2959
2960 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
2962 [BZ #18457]
2963 * nptl/Makefile (tests): New test case tst-join7.
2964 (modules-names): New test case module tst-join7mod.
2965 * nptl/tst-join7.c: New file.
2966 * nptl/tst-join7mod.c: New file.
2967 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2968 all translation units in libc.so, libpthread.so and rtld.
2969
2970 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2971
2972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2973
2974 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2975
2976 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2977 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2978 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2979 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2981 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2982 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2983 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2984 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2985 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2986 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2987 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2988 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2989 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2990 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2991 implementation.
2992
2993 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2994
2995 [BZ #17711]
2996 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2997 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2998 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2999 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3000 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3001 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3002
3003 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
3005 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3006 instead of just saying load lock in the comments.
3007
3008 2015-07-23 Roland McGrath <roland@hack.frob.com>
3009
3010 * sysdeps/unix/Subdirs: Moved ...
3011 * sysdeps/posix/Subdirs: ... here.
3012 * login/pty.h (struct termios, struct winsize): Add forward decls.
3013 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3014 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3015 * sysdeps/arm/nacl/libc.abilist: Updated.
3016 * sysdeps/nacl/libutil.abilist: New file.
3017
3018 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3019 (SIGWINCH): New macro.
3020
3021 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3022 * sysdeps/arm/nacl/libc.abilist: Add it.
3023
3024 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3025
3026 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3027
3028 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3029
3030 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3031 Swap __glibc_reserved0 and sa_flags order.
3032
3033 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3034
3035 [BZ #18657]
3036 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3037 are pending TLS destructor calls.
3038 * include/link.h (struct link_map): Add concurrency note for
3039 L_TLS_DTOR_COUNT.
3040 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3041 Don't touch the link map flag. Atomically increment
3042 l_tls_dtor_count.
3043 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3044 Avoid taking the load lock and don't touch the link map flag.
3045 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3046 * stdlib/Makefile (tests): Use it.
3047 * stdlib/tst-tls-atexit.c (do_test): dlopen
3048 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3049 to allow tst-tls-atexit-nodelete test case to use it.
3050
3051 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3052
3053 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3054 to bits/types.h.
3055 (msgqnum_t): New typedef.
3056 (msglen_t): Likewise.
3057 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3058 and msg_qbytes type to msglen_t.
3059
3060 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3061
3062 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3063 pad0 to __glibc_reserved0.
3064 (struct stat64): Likewise.
3065
3066 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3067
3068 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3069 Change sa_flags from a long to an int and add __glibc_reserved0 before
3070 it for padding.
3071
3072 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3073
3074 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3075 anonymous by deleting "siginfo" name.
3076
3077 2015-07-21 Roland McGrath <roland@hack.frob.com>
3078
3079 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3080 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3081 rather than __nacl_irt_filename.
3082 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3083
3084 * NEWS: New item for arm-nacl port.
3085 * sysdeps/arm/nacl/libc.abilist: New file.
3086 * sysdeps/nacl/ld.abilist: New file.
3087 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3088 * sysdeps/nacl/libanl.abilist: New file.
3089 * sysdeps/nacl/libcrypt.abilist: New file.
3090 * sysdeps/nacl/libdl.abilist: New file.
3091 * sysdeps/nacl/libm.abilist: New file.
3092 * sysdeps/nacl/libpthread.abilist: New file.
3093 * sysdeps/nacl/libresolv.abilist: New file.
3094 * sysdeps/nacl/librt.abilist: New file.
3095
3096 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3097
3098 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3099 __startcontext to initialize the new context.
3100 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3101 up CFI directive to forbid further backtracing.
3102
3103 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3104
3105 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3106 reference.
3107 * charmaps/ANSI_X3.4-1968: Likewise.
3108 * charmaps/BS_4730: Likewise.
3109 * charmaps/BS_VIEWDATA: Likewise.
3110 * charmaps/CP1250: Likewise.
3111 * charmaps/CP1251: Likewise.
3112 * charmaps/CP1252: Likewise.
3113 * charmaps/CP1253: Likewise.
3114 * charmaps/CP1254: Likewise.
3115 * charmaps/CP1255: Likewise.
3116 * charmaps/CP1256: Likewise.
3117 * charmaps/CSN_369103: Likewise.
3118 * charmaps/EBCDIC-DK-NO: Likewise.
3119 * charmaps/GB_1988-80: Likewise.
3120 * charmaps/GREEK-CCITT: Likewise.
3121 * charmaps/GREEK7: Likewise.
3122 * charmaps/INIS-8: Likewise.
3123 * charmaps/ISIRI-3342: Likewise.
3124 * charmaps/ISO_2033-1983: Likewise.
3125 * charmaps/ISO_5427-EXT: Likewise.
3126 * locales/POSIX: Likewise.
3127 * locales/ar_SA: Likewise.
3128 * locales/be_BY: Likewise.
3129 * locales/be_BY@latin: Likewise.
3130 * locales/ca_ES: Likewise.
3131 * locales/cs_CZ: Likewise.
3132 * locales/da_DK: Likewise.
3133 * locales/de_BE: Likewise.
3134 * locales/de_CH: Likewise.
3135 * locales/de_LU: Likewise.
3136 * locales/en_AU: Likewise.
3137 * locales/en_BW: Likewise.
3138 * locales/en_CA: Likewise.
3139 * locales/en_DK: Likewise.
3140 * locales/en_GB: Likewise.
3141 * locales/en_IE: Likewise.
3142 * locales/en_NZ: Likewise.
3143 * locales/en_ZA: Likewise.
3144 * locales/en_ZW: Likewise.
3145 * locales/es_AR: Likewise.
3146 * locales/es_BO: Likewise.
3147 * locales/es_CL: Likewise.
3148 * locales/es_CO: Likewise.
3149 * locales/es_DO: Likewise.
3150 * locales/es_EC: Likewise.
3151 * locales/es_ES: Likewise.
3152 * locales/es_HN: Likewise.
3153 * locales/es_MX: Likewise.
3154 * locales/es_PA: Likewise.
3155 * locales/es_PE: Likewise.
3156 * locales/es_PY: Likewise.
3157 * locales/es_SV: Likewise.
3158 * locales/es_US: Likewise.
3159 * locales/es_UY: Likewise.
3160 * locales/es_VE: Likewise.
3161 * locales/et_EE: Likewise.
3162 * locales/fa_IR: Likewise.
3163 * locales/fo_FO: Likewise.
3164 * locales/fr_CA: Likewise.
3165 * locales/fr_CH: Likewise.
3166 * locales/gv_GB: Likewise.
3167 * locales/he_IL: Likewise.
3168 * locales/hr_HR: Likewise.
3169 * locales/id_ID: Likewise.
3170 * locales/is_IS: Likewise.
3171 * locales/it_CH: Likewise.
3172 * locales/iw_IL: Likewise.
3173 * locales/kl_GL: Likewise.
3174 * locales/ko_KR: Likewise.
3175 * locales/kw_GB: Likewise.
3176 * locales/lg_UG: Likewise.
3177 * locales/lt_LT: Likewise.
3178 * locales/lv_LV: Likewise.
3179 * locales/mi_NZ: Likewise.
3180 * locales/nhn_MX: Likewise.
3181 * locales/nl_BE: Likewise.
3182 * locales/pl_PL: Likewise.
3183 * locales/sk_SK: Likewise.
3184 * locales/sl_SI: Likewise.
3185 * locales/sv_FI: Likewise.
3186 * locales/tl_PH: Likewise.
3187 * locales/tr_TR: Likewise.
3188 * locales/vi_VN: Likewise.
3189
3190 2015-07-21 Khem Raj <raj.khem@gmail.com>
3191
3192 [BZ #17475]
3193 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3194 of tu_IN and bh_IN.
3195
3196 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3197
3198 [BZ #18694]
3199 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3200 bits/wordsize.h.
3201 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3202
3203 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
3205 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3206 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3207 (spawn_thread): New function.
3208 (load): Rename to reg_dtor_and_close. Move dlopen to...
3209 (do_test): ... here. Use IS_LOADED to test for its
3210 availability.
3211
3212 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3213
3214 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3215
3216 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 [BZ #18696]
3219 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3220 si_addr_bnd.
3221 (si_lower): New.
3222 (si_upper): Likewise.
3223
3224 2015-07-16 David S. Miller <davem@davemloft.net>
3225
3226 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3227
3228 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3229
3230 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3231 buffer.
3232 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3233 fail output information.
3234
3235 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3238 and strstr-ppc64..
3239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3240 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3241 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3242 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3243 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3244
3245 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3246
3247 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3248 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3249 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3250 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3251
3252 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3253
3254 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3255 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3256 rtld_hidden_proto.
3257 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3258
3259 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
3261 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3262 the test can fail.
3263
3264 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3265
3266 [BZ #18676]
3267 * elf/tst-nodelete-opened.c: New test case.
3268 * elf/tst-nodelete-opened-lib.c: New test case module.
3269 * elf/Makefile (tests, modules-names): Use them.
3270 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3271 early.
3272
3273 2015-07-15 David S. Miller <davem@davemloft.net>
3274
3275 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3276 futex-intenal.h
3277 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3278 * sysdeps/sparc/sparc64/Makefile: Likewise.
3279 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3280 Remove space from macro define.
3281 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3282
3283 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3284
3285 [BZ #17475]
3286 * locale/iso-639.def: Update Bhili and Tulu language codes as
3287 per iso639-3.
3288
3289 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3290
3291 * elf/tst-leaks1.c (main): Converted to ...
3292 (do_test): ... this.
3293 (TEST_FUNCTION): New macro.
3294 Include test-skeleton.c.
3295 * localedata/tst-langinfo.c (main): Converted to ...
3296 (do_test): ... this.
3297 (TEST_FUNCTION): New macro.
3298 Include test-skeleton.c.
3299 * math/test-fpucw.c (main): Converted to ...
3300 (do_test): ... this.
3301 (TEST_FUNCTION): New macro.
3302 Include test-skeleton.c.
3303 * math/test-tgmath.c (main): Converted to ...
3304 (do_test): ... this.
3305 (TEST_FUNCTION): New macro.
3306 Include test-skeleton.c.
3307 * math/test-tgmath2.c (main): Converted to ...
3308 (do_test): ... this.
3309 (TEST_FUNCTION): New macro.
3310 Include test-skeleton.c.
3311 * setjmp/tst-setjmp.c (main): Converted to ...
3312 (do_test): ... this.
3313 (TEST_FUNCTION): New macro.
3314 Include test-skeleton.c.
3315 * stdio-common/tst-sscanf.c (main): Converted to ...
3316 (do_test): ... this.
3317 (TEST_FUNCTION): New macro.
3318 Include test-skeleton.c.
3319 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3320 (do_test): ... this.
3321 (TEST_FUNCTION): New macro.
3322 Include test-skeleton.c.
3323
3324 * elf/tst-audit9.c (main): Converted to ...
3325 (do_test): ... this.
3326 (TEST_FUNCTION): New macro.
3327 Include test-skeleton.c.
3328
3329 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3330
3331 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3332
3333 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3334
3335 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3336 New variable.
3337
3338 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3339
3340 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3341
3342 2015-07-14 Roland McGrath <roland@hack.frob.com>
3343
3344 * sysdeps/generic/dl-fileid.h: New file.
3345 * sysdeps/posix/dl-fileid.h: New file.
3346 * sysdeps/nacl/dl-fileid.h: New file.
3347 * include/link.h: Include <dl-fileid.h>.
3348 (struct link_map): Replace l_dev and l_ino with l_file_id.
3349 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3350 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3351 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3352
3353 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3354
3355 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3356
3357 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3358
3359 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3360 Add iff $CXX is set.
3361 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3362 Likewise.
3363 (tst-nodelete-zmodiff): Likewise.
3364 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3365
3366 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3367
3368 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3369
3370 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3371
3372 * sysdeps/aarch64/fpu/math_private.h
3373 (define math_opt_barrier): Add AArch64 version.
3374 (math_force_eval): Likewise.
3375
3376 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3377
3378 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3379
3380 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3383 %ld with %jd and cast to intmax_t.
3384 (do_test_length_zero): Likewise.
3385
3386 2015-07-10 Roland McGrath <roland@hack.frob.com>
3387
3388 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3389
3390 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3391
3392 * sysdeps/tile/libm-test-ulps: Regenerated.
3393
3394 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3395 Comment out the whole function, not just its body.
3396
3397 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3398
3399 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3400 locks.
3401
3402 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3403
3404 2015-07-10 Torvald Riegel <triegel@redhat.com>
3405
3406 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3407 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3408
3409 2015-07-10 Torvald Riegel <triegel@redhat.com>
3410
3411 * sysdeps/nptl/futex-internal.h: New file.
3412 * sysdeps/nacl/futex-internal.h: New file.
3413 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3414 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3415 error checking.
3416 (setxid_unmark_thread): Likewise.
3417 (__nptl_setxid): Likewise.
3418 (__wait_lookup_done): Likewise.
3419 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3420 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3421 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3422 * nptl/pthread_once.c (clear_once_control): Likewise.
3423 (__pthread_once_slow): Likewise.
3424 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3425 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3426 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3427 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3428 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3429 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3430 Likewise.
3431 (__pthread_rwlock_rdlock): Likewise.
3432 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3433 Likewise.
3434 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3435 Likewise.
3436 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3437 Likewise.
3438 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3439 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3440 Likewise.
3441 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3442 __ASSUME_PRIVATE_FUTEX check.
3443 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3444 Check that shared futexes are supported.
3445 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3446 wrappers with error checking.
3447 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3448 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3449 * nptl/pthread_barrierattr_setpshared.c
3450 (pthread_barrierattr_setpshared): Check that shared futexes are
3451 supported.
3452 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3453 Likewise.
3454 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3455 Likewise.
3456 * nptl/sem_init.c (futex_private_if_supported): Remove.
3457 (__new_sem_init): Adapt and check that shared futexes are supported.
3458 * nptl/sem_open.c (sem_open): Likewise.
3459 * nptl/sem_post.c (futex_wake): Remove.
3460 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3461 (do_futex_wait): Use futex wrappers with error checking.
3462 * nptl/sem_wait.c: Include lowlevellock.h.
3463 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3464 Use futex_supports_pshared.
3465 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3466 Use futex wrappers with error checking.
3467 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3468 Likewise.
3469 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3470 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3471 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3472 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3473 (futex_wake): Likewise.
3474 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3475 (do_futex_wait): Use futex wrappers with error checking.
3476 (__new_sem_wait_slow): Update EINTR handling.
3477 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3478
3479 2015-07-09 Martin Sebor <msebor@redhat.com>
3480
3481 [BZ #18435]
3482 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3483 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3484 * nptl/Makefile (test-xfail-tst-once5): Define.
3485
3486 2015-07-09 Roland McGrath <roland@hack.frob.com>
3487
3488 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3489 * elf/dl-minimal.c: For readability, reorder some definitions and
3490 introduce more page breaks. Include <stdio.h>.
3491 (__libc_fatal): New function.
3492
3493 * include/unistd.h: Add rtld_hidden_proto for _exit.
3494 * posix/_exit.c: Add rtld_hidden_def.
3495 * sysdeps/mach/hurd/_exit.c: Likewise.
3496 * sysdeps/nacl/_exit.c: Likewise.
3497 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3498 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3499
3500 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3503 bndmov encoding with zero displacement.
3504
3505 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3506 H.J. Lu <hongjiu.lu@intel.com>
3507
3508 [BZ #18134]
3509 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3510 * sysdeps/i386/configure: Regenerated.
3511 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3512 (_dl_runtime_profile): Save and restore Intel MPX return bound
3513 registers when calling _dl_call_pltexit. Add
3514 PRESERVE_BND_REGS_PREFIX before return.
3515 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3516 (LRV_BND1_OFFSET): Likewise.
3517 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3518 lrv_bnd1.
3519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3520 typo in bndmov encoding.
3521 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3522 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3523 branch instructions to preserve bounds.
3524
3525 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3526
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3528 [GLIBC_2.22]: Add fmemopen.
3529
3530 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3531
3532 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3533 returns an error, also try to use host port from __mach_host_self for
3534 the __vm_wire call.
3535 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3536
3537 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3538
3539 [BZ #18400]
3540 [BZ #18648]
3541 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3542 Fix pr_uid and pr_gid members.
3543 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3544 definition to elf_greg_t.
3545
3546 2015-07-08 Roland McGrath <roland@hack.frob.com>
3547
3548 [BZ #18383]
3549 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3550 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3551 * sysdeps/arm/configure: Regenerated.
3552 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3553 (test-xfail-tst-tlsalign-static): Variable removed.
3554
3555 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3556 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3557 rather than explicit 'ln -s'.
3558
3559 * resolv/rpc/netdb.h: New file.
3560 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3561
3562 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3563
3564 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3565 length buffers.
3566 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3567 test-skeleton.c.
3568
3569 [BZ #6544]
3570 [BZ #11216]
3571 [BZ #12836]
3572 [BZ #13151]
3573 [BZ #13152]
3574 [BZ #14292]
3575 * include/stdio.h (fmemopen): Remove hidden prototype.
3576 (__fmemopen): Add new hidden prototype.
3577 * libio/Makefile: Add oldfmemopen object.
3578 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3579 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3580 compliance.
3581 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3582 symbol compatibility.
3583 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3584 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3585 fmemopen.
3586 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3587 on append and read mode.
3588 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3589 fmemopen.
3590 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3591 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3592 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3593 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3594 Likewise.
3595 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3596 [GLIBC_2.22]: Likewise.
3597 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3598 Likewise.
3599 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3602 [GLIBC_2.22]: Likewise.
3603 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3604 [GLIBC_2.22]: Likewise.
3605 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3606 [GLIBC_2.22]: Likewise.
3607 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3608 [GLIBC_2.22]: Likewise.
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3610 [GLIBC_2.22]: Likewise.
3611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3612 [GLIBC_2.22]: Likewise.
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3614 [GLIBC_2.22]: Likewise.
3615 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3616 Likewise.
3617 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3618 Likewise.
3619 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3620 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3621 [GLIBC_2.22]: Likewise.
3622 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3623 [GLIBC_2.22]: Likewise.
3624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3625 [GLIBC_2.22]: Likewise.
3626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3627 [GLIBC_2.22]: Likewise.
3628 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3635 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3636
3637 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3638
3639 [BZ #18643]
3640 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3641 IPV6_PATHMTU, and IPV6_DONTFRAG.
3642
3643 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3644
3645 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3646 and _IO_UNBUFFERED.
3647 * libio/oldfileops.c: Likewise.
3648 * libio/wfileops.c: Likewise.
3649
3650 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3651
3652 * nscd/selinux.c: Delete selinux/flask.h include.
3653
3654 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3655
3656 [BZ #18641]
3657 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3658 (putpwent): Likewise.
3659 (getpwnam): Likewise.
3660 (getpwent_r): Likewise.
3661 (getpwuid_r): Likewise.
3662 (getpwnam_r): Likewise.
3663 (fgetpwent_r): Likewise.
3664
3665 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3666
3667 [BZ #18557]
3668 * inet/rcmd.c (__validuser2_sa): Check user first to
3669 short-circuit host check.
3670
3671 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3672 Mikhail Ilin <m.ilin@samsung.com>
3673
3674 [BZ #17833]
3675 * elf/Makefile (tests): Add tst-nodelete.
3676 (modules-names): Add tst-nodelete-uniquemod.
3677 (tst-nodelete-uniquemod.so-no-z-defs): New.
3678 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3679 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3680 ($(objpfx)tst-nodelete): Likewise.
3681 ($(objpfx)tst-nodelete.out): Likewise.
3682 (LDFLAGS-tst-nodelete): Likewise.
3683 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3684 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3685 implement forced object deletion.
3686 (_dl_close): Pass false to _dl_close_worker.
3687 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3688 * elf/tst-nodelete.cc: New file.
3689 * elf/tst-nodeletelib.cc: Likewise.
3690 * elf/tst-znodeletelib.cc: Likewise.
3691 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3692
3693 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3694
3695 [BZ #18508]
3696 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3697 Depend on $(libdl).
3698 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3699 is not called infinitely times.
3700 (backtrace_helper): New function.
3701 (trace_arg): New struct.
3702 (st1): Enlarge stack size.
3703 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3704 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3705 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3706 Likewise.
3707
3708 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3709
3710 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3711
3712 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3713
3714 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3715 Include sys/types.h instead of bits/types.h.
3716 Remove inclusion of bits/wordsize.h.
3717
3718 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3719
3720 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3721 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3722 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3723 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3724 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3725 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3726
3727 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3728
3729 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3730 link-defines.sym.
3731 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3732 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3733 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3734 and LR_SIZE.
3735 * sysdeps/i386/link-defines.sym: New file.
3736
3737 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3738
3739 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3740 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3741 ($(objpfx)tst-audit3): New rule.
3742 ($(objpfx)tst-audit3.out): Likewise.
3743 * sysdeps/i386/tst-audit3.c: New file.
3744 * sysdeps/i386/tst-audit3.h: Likewise.
3745 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3746 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3747
3748 2015-07-07 Torvald Riegel <triegel@redhat.com>
3749
3750 [BZ #18633]
3751 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3752 pointer in C code.
3753 (__strcat_c): Likewise.
3754 (__strcat_g): Likewise.
3755
3756 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3757
3758 [BZ #18592]
3759 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3760
3761 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3762
3763 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3764 New function. (__ieee754_sqrtf): New function.
3765 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3766 New function.
3767 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3768 New function.
3769
3770 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3771
3772 * sysdeps/ieee754/support.c: Remove unused file.
3773
3774 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3775
3776 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3777 registers instead of d ones so the layout is kernel abi compatible.
3778 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3779 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3780 Likewise.
3781
3782 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3783
3784 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3785
3786 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3787
3788 [BZ #18619]
3789 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3790 and return argument in case of subnormal argument.
3791
3792 2015-07-01 Martin Sebor <msebor@redhat.com>
3793
3794 [BZ #18435]
3795 * nptl/Makefile: Add tst-once5.cc.
3796 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3797 Remove macro redefinitions.
3798 * nptl/tst-once5.cc: New test.
3799
3800 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3801
3802 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3803
3804 * sysdeps/arm/libm-test-ulps: Regenerated.
3805
3806 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3807 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3808
3809 2015-06-30 Torvald Riegel <triegel@redhat.com>
3810
3811 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3812 lll_lock_wait_private and lll_futex_wake probes.
3813
3814 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3815 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3816 Likewise.
3817 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3818 atomic_spin_nop.
3819 * sysdeps/x86_64/bits/atomic.h: Likewise.
3820 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3821 to atomic_spin_nop and move ...
3822 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3823 ... here and ...
3824 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3825 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3826 atomic_spin_nop instead of BUSY_WAIT_NOP.
3827 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3828 Likewise.
3829 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3830 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3831 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3832 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3833 instead of atomic_delay.
3834
3835 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3836
3837 [BZ #18613]
3838 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3839 X_ADJ not X when adjusting exponent.
3840 (__ieee754_gamma_r): Do intermediate computations in
3841 round-to-nearest then adjust overflowing and underflowing results
3842 as needed.
3843 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3844 of X_ADJ not X when adjusting exponent.
3845 (__ieee754_gammaf_r): Do intermediate computations in
3846 round-to-nearest then adjust overflowing and underflowing results
3847 as needed.
3848 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3849 log of X_ADJ not X when adjusting exponent.
3850 (__ieee754_gammal_r): Do intermediate computations in
3851 round-to-nearest then adjust overflowing and underflowing results
3852 as needed. Use 1.0L not 1.0f as numerator of division.
3853 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3854 log of X_ADJ not X when adjusting exponent.
3855 (__ieee754_gammal_r): Do intermediate computations in
3856 round-to-nearest then adjust overflowing and underflowing results
3857 as needed. Use 1.0L not 1.0f as numerator of division.
3858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3859 of X_ADJ not X when adjusting exponent.
3860 (__ieee754_gammal_r): Do intermediate computations in
3861 round-to-nearest then adjust overflowing and underflowing results
3862 as needed. Use 1.0L not 1.0f as numerator of division.
3863 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3864 to auto-libm-test-in.
3865 (tgamma_test): Use ALL_RM_TEST.
3866 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3867 tests of tgamma with spurious-overflow.
3868 * math/auto-libm-test-out: Regenerated.
3869 * math/gen-libm-have-vector-test.sh: Do not check for START.
3870 * sysdeps/i386/fpu/libm-test-ulps: Update.
3871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3872
3873 [BZ #18612]
3874 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3875 arguments, just return 0.5 times the argument, with underflow
3876 forced as needed.
3877 * math/auto-libm-test-in: Add more tests of j1.
3878 * math/auto-libm-test-out: Regenerated.
3879
3880 [BZ #16559]
3881 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3882 (__ieee754_j1): Force underflow exception for small results.
3883 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3884 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3885 (__ieee754_j1f): Force underflow exception for small results.
3886 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3887 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3889 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3890 (__ieee754_j1l): Force underflow exception for small results.
3891 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3892 * math/auto-libm-test-in: Add more tests of j1 and jn.
3893 * math/auto-libm-test-out: Regenerated.
3894
3895 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3896 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3897 (PF_MPLS): Likewise.
3898 (AF_IB): Likewise.
3899 (AF_MPLS): Likewise.
3900 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3901 value and macro.
3902 (MS_RMT_MASK): Include MS_LAZYTIME.
3903
3904 2015-06-26 Mel Gorman <mgorman@suse.de>
3905
3906 [BZ #18502]
3907 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3908 already minimal.
3909
3910 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3911
3912 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3913 (DT_MIPS_NUM): Update.
3914 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3915 DT_MIPS_RLD_MAP_REL.
3916
3917 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3918
3919 [BZ #16559]
3920 [BZ #18602]
3921 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3922 round-to-nearest internally then recompute results that
3923 underflowed to zero in the original rounding mode.
3924 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3925 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3927 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3928 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3929 * sysdeps/i386/fpu/libm-test-ulps: Update.
3930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931
3932 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3933
3934 * NEWS: Fixed description of link with vector math library.
3935
3936 2015-06-25 Andreas Schwab <schwab@suse.de>
3937
3938 [BZ #18549]
3939 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3940 * libio/test-fmemopen.c (do_test): Add test for it.
3941
3942 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3943
3944 [BZ #17841]
3945 * Makeconfig (no-pie-ldflag): New.
3946 (+link): Set to $(+link-pie) if default to PIE.
3947 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3948 * config.make.in (build-pie-default): New.
3949 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3950 is default. AC_SUBST.
3951 * configure: Regenerated.
3952 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3953
3954 2015-06-24 Roland McGrath <roland@hack.frob.com>
3955
3956 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3957 to 'unsigned int'.
3958
3959 * resolv/gai_misc.h (struct waitlist): Change type of field
3960 counterp to 'volatile unsigned int *'.
3961 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3962 FUTEXADDR and OLDVAL.
3963 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3964 Give local variable TOTAL type 'volatile unsigned int'.
3965 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3966 * resolv/gai_suspend.c (gai_suspend):
3967 Give local variable CNTR type 'unsigned int'.
3968
3969 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3970 counterp to 'volatile unsigned int *'.
3971 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3972 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3973 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3974 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3975 Give local variable TOTAL type 'volatile unsigned int'.
3976 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3977
3978 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 [BZ #18383]
3981 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3982 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3983 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3984 comment for i386/x86-64.
3985 (test-xfail-tst-tlsalign-extern-static): Removed.
3986
3987 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3988
3989 * math/test-double.h: New file.
3990 * math/test-float.h: Likewise.
3991 * math/test-ldouble.h: Likewise.
3992 * math/test-math-inline.h: Likewise.
3993 * math/test-math-no-inline.h: Likewise.
3994 * math/test-math-scalar.h: Likewise.
3995 * math/test-math-vector.h: Likewise.
3996 * math/test-vec-loop.h: Remove file. Contents moved into
3997 test-math-vector.h.
3998 * math/libm-test.inc (MATHCONST): Do not document macro.
3999 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4000 and test-math-scalar.h.
4001 (FUNC): Remove macro.
4002 (FUNC_TEST): Likewise.
4003 (FLOAT): Likewise.
4004 (MATHCONST): Likewise.
4005 (PRINTF_EXPR): Likewise.
4006 (PRINTF_XEXPR): Likewise.
4007 (PRINTF_NEXPR): Likewise.
4008 (TEST_DOUBLE): Likewise.
4009 (TEST_MATHVEC): Likewise.
4010 (__NO_MATH_INLINES): Likewise.
4011 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4012 and test-math-scalar.h.
4013 (FUNC): Remove macro.
4014 (FUNC_TEST): Likewise.
4015 (FLOAT): Likewise.
4016 (MATHCONST): Likewise.
4017 (PRINTF_EXPR): Likewise.
4018 (PRINTF_XEXPR): Likewise.
4019 (PRINTF_NEXPR): Likewise.
4020 (TEST_FLOAT): Likewise.
4021 (TEST_MATHVEC): Likewise.
4022 (__NO_MATH_INLINES): Likewise.
4023 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4024 and test-math-scalar.h.
4025 (FUNC): Remove macro.
4026 (FUNC_TEST): Likewise.
4027 (FLOAT): Likewise.
4028 (MATHCONST): Likewise.
4029 (PRINTF_EXPR): Likewise.
4030 (PRINTF_XEXPR): Likewise.
4031 (PRINTF_NEXPR): Likewise.
4032 (TEST_DOUBLE): Likewise.
4033 (TEST_MATHVEC): Likewise.
4034 (TEST_INLINE): Likewise.
4035 (__NO_MATH_INLINES): Likewise.
4036 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4037 test-math-scalar.h.
4038 (FUNC): Remove macro.
4039 (FUNC_TEST): Likewise.
4040 (FLOAT): Likewise.
4041 (MATHCONST): Likewise.
4042 (PRINTF_EXPR): Likewise.
4043 (PRINTF_XEXPR): Likewise.
4044 (PRINTF_NEXPR): Likewise.
4045 (TEST_FLOAT): Likewise.
4046 (TEST_MATHVEC): Likewise.
4047 (TEST_INLINE): Likewise.
4048 (__NO_MATH_INLINES): Likewise.
4049 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4050 and test-math-scalar.h.
4051 (FUNC): Remove macro.
4052 (FUNC_TEST): Likewise.
4053 (FLOAT): Likewise.
4054 (MATHCONST): Likewise.
4055 (PRINTF_EXPR): Likewise.
4056 (PRINTF_XEXPR): Likewise.
4057 (PRINTF_NEXPR): Likewise.
4058 (TEST_LDOUBLE): Likewise.
4059 (TEST_MATHVEC): Likewise.
4060 (TEST_INLINE): Likewise.
4061 (__NO_MATH_INLINES): Likewise.
4062 * math/test-ldouble.c: Include test-ldouble.h,
4063 test-math-no-inline.h and test-math-scalar.h.
4064 (FUNC): Remove macro.
4065 (FUNC_TEST): Likewise.
4066 (FLOAT): Likewise.
4067 (MATHCONST): Likewise.
4068 (PRINTF_EXPR): Likewise.
4069 (PRINTF_XEXPR): Likewise.
4070 (PRINTF_NEXPR): Likewise.
4071 (TEST_LDOUBLE): Likewise.
4072 (TEST_MATHVEC): Likewise.
4073 (__NO_MATH_INLINES): Likewise.
4074 * math/test-double-vlen2.h: Include test-double.h,
4075 test-math-no-inline.h and test-math-vector.h.
4076 (FLOAT): Remove macro.
4077 (FUNC): Likewise.
4078 (MATHCONST): Likewise.
4079 (PRINTF_EXPR): Likewise.
4080 (PRINTF_XEXPR): Likewise.
4081 (PRINTF_NEXPR): Likewise.
4082 (TEST_DOUBLE): Likewise.
4083 (TEST_MATHVEC): Likewise.
4084 (__NO_MATH_INLINES): Likewise.
4085 (CNCT): Likewise.
4086 (CONCAT): Likewise.
4087 (WRAPPER_NAME): Likewise.
4088 (WRAPPER_DECL): Likewise.
4089 (WRAPPER_DECL_ff): Likewise.
4090 (WRAPPER_DECL_fFF): Likewise.
4091 (VECTOR_WRAPPER): Likewise.
4092 (VECTOR_WRAPPER_ff): Likewise.
4093 (VECTOR_WRAPPER_fFF): Likewise.
4094 (VEC_LEN): New macro.
4095 * math/test-double-vlen4.h: Include test-double.h,
4096 test-math-no-inline.h and test-math-vector.h.
4097 (FLOAT): Remove macro.
4098 (FUNC): Likewise.
4099 (MATHCONST): Likewise.
4100 (PRINTF_EXPR): Likewise.
4101 (PRINTF_XEXPR): Likewise.
4102 (PRINTF_NEXPR): Likewise.
4103 (TEST_DOUBLE): Likewise.
4104 (TEST_MATHVEC): Likewise.
4105 (__NO_MATH_INLINES): Likewise.
4106 (CNCT): Likewise.
4107 (CONCAT): Likewise.
4108 (WRAPPER_NAME): Likewise.
4109 (WRAPPER_DECL): Likewise.
4110 (WRAPPER_DECL_ff): Likewise.
4111 (WRAPPER_DECL_fFF): Likewise.
4112 (VECTOR_WRAPPER): Likewise.
4113 (VECTOR_WRAPPER_ff): Likewise.
4114 (VECTOR_WRAPPER_fFF): Likewise.
4115 (VEC_LEN): New macro.
4116 * math/test-double-vlen8.h: Include test-double.h,
4117 test-math-no-inline.h and test-math-vector.h.
4118 (FLOAT): Remove macro.
4119 (FUNC): Likewise.
4120 (MATHCONST): Likewise.
4121 (PRINTF_EXPR): Likewise.
4122 (PRINTF_XEXPR): Likewise.
4123 (PRINTF_NEXPR): Likewise.
4124 (TEST_DOUBLE): Likewise.
4125 (TEST_MATHVEC): Likewise.
4126 (__NO_MATH_INLINES): Likewise.
4127 (CNCT): Likewise.
4128 (CONCAT): Likewise.
4129 (WRAPPER_NAME): Likewise.
4130 (WRAPPER_DECL): Likewise.
4131 (WRAPPER_DECL_ff): Likewise.
4132 (WRAPPER_DECL_fFF): Likewise.
4133 (VECTOR_WRAPPER): Likewise.
4134 (VECTOR_WRAPPER_ff): Likewise.
4135 (VECTOR_WRAPPER_fFF): Likewise.
4136 (VEC_LEN): New macro.
4137 * math/test-float-vlen4.h: Include test-float.h,
4138 test-math-no-inline.h and test-math-vector.h.
4139 (FLOAT): Remove macro.
4140 (FUNC): Likewise.
4141 (MATHCONST): Likewise.
4142 (PRINTF_EXPR): Likewise.
4143 (PRINTF_XEXPR): Likewise.
4144 (PRINTF_NEXPR): Likewise.
4145 (TEST_FLOAT): Likewise.
4146 (TEST_MATHVEC): Likewise.
4147 (__NO_MATH_INLINES): Likewise.
4148 (CNCT): Likewise.
4149 (CONCAT): Likewise.
4150 (WRAPPER_NAME): Likewise.
4151 (WRAPPER_DECL): Likewise.
4152 (WRAPPER_DECL_ff): Likewise.
4153 (WRAPPER_DECL_fFF): Likewise.
4154 (VECTOR_WRAPPER): Likewise.
4155 (VECTOR_WRAPPER_ff): Likewise.
4156 (VECTOR_WRAPPER_fFF): Likewise.
4157 (VEC_LEN): New macro.
4158 * math/test-float-vlen8.h: Include test-float.h,
4159 test-math-no-inline.h and test-math-vector.h.
4160 (FLOAT): Remove macro.
4161 (FUNC): Likewise.
4162 (MATHCONST): Likewise.
4163 (PRINTF_EXPR): Likewise.
4164 (PRINTF_XEXPR): Likewise.
4165 (PRINTF_NEXPR): Likewise.
4166 (TEST_FLOAT): Likewise.
4167 (TEST_MATHVEC): Likewise.
4168 (__NO_MATH_INLINES): Likewise.
4169 (CNCT): Likewise.
4170 (CONCAT): Likewise.
4171 (WRAPPER_NAME): Likewise.
4172 (WRAPPER_DECL): Likewise.
4173 (WRAPPER_DECL_ff): Likewise.
4174 (WRAPPER_DECL_fFF): Likewise.
4175 (VECTOR_WRAPPER): Likewise.
4176 (VECTOR_WRAPPER_ff): Likewise.
4177 (VECTOR_WRAPPER_fFF): Likewise.
4178 (VEC_LEN): New macro.
4179 * math/test-float-vlen16.h: Include test-float.h,
4180 test-math-no-inline.h and test-math-vector.h.
4181 (FLOAT): Remove macro.
4182 (FUNC): Likewise.
4183 (MATHCONST): Likewise.
4184 (PRINTF_EXPR): Likewise.
4185 (PRINTF_XEXPR): Likewise.
4186 (PRINTF_NEXPR): Likewise.
4187 (TEST_FLOAT): Likewise.
4188 (TEST_MATHVEC): Likewise.
4189 (__NO_MATH_INLINES): Likewise.
4190 (CNCT): Likewise.
4191 (CONCAT): Likewise.
4192 (WRAPPER_NAME): Likewise.
4193 (WRAPPER_DECL): Likewise.
4194 (WRAPPER_DECL_ff): Likewise.
4195 (WRAPPER_DECL_fFF): Likewise.
4196 (VECTOR_WRAPPER): Likewise.
4197 (VECTOR_WRAPPER_ff): Likewise.
4198 (VECTOR_WRAPPER_fFF): Likewise.
4199 (VEC_LEN): New macro.
4200 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4201 test-vec-loop.h.
4202 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4203 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4204 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4205 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4206 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4207 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4208 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4209
4210 2015-06-24 Roland McGrath <roland@hack.frob.com>
4211
4212 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4213 (__getlogin_r): ... this.
4214
4215 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4216
4217 [BZ #18594]
4218 * math/s_ccosh.c (__ccosh): Compare with least normal value
4219 instead of comparing class with FP_SUBNORMAL.
4220 * math/s_ccoshf.c (__ccoshf): Likewise.
4221 * math/s_ccoshl.c (__ccoshl): Likewise.
4222 * math/s_cexp.c (__cexp): Likewise.
4223 * math/s_cexpf.c (__cexpf): Likewise.
4224 * math/s_cexpl.c (__cexpl): Likewise.
4225 * math/s_csin.c (__csin): Likewise.
4226 * math/s_csinf.c (__csinf): Likewise.
4227 * math/s_csinh.c (__csinh): Likewise.
4228 * math/s_csinhf.c (__csinhf): Likewise.
4229 * math/s_csinhl.c (__csinhl): Likewise.
4230 * math/s_csinl.c (__csinl): Likewise.
4231 * math/s_ctan.c (__ctan): Likewise.
4232 * math/s_ctanf.c (__ctanf): Likewise.
4233 * math/s_ctanh.c (__ctanh): Likewise.
4234 * math/s_ctanhf.c (__ctanhf): Likewise.
4235 * math/s_ctanhl.c (__ctanhl): Likewise.
4236 * math/s_ctanl.c (__ctanl): Likewise.
4237 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4238 csin, csinh, ctan and ctanh.
4239 * math/auto-libm-test-out: Regenerated.
4240 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4241 * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4243
4244 2015-06-24 Roland McGrath <roland@hack.frob.com>
4245
4246 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4247 return value is wrong, print the expected value too.
4248
4249 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4250
4251 [BZ #18585]
4252 * elf/readlib.c (is_gdb_python_file): New.
4253 (process_file): Don't issue errors on filenames with -gdb.py
4254 suffix.
4255
4256 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4257
4258 * math/auto-libm-test-in: Add more tests of csin and csinh.
4259 * math/auto-libm-test-out: Regenerated.
4260 * math/libm-test.inc (csin_test_data): Remove tests moved to
4261 auto-libm-test-in.
4262 (csinh_test_data): Likewise.
4263
4264 [BZ #18593]
4265 * math/s_csin.c (__csin): Negate before rather than after possibly
4266 overflowing multiplication.
4267 * math/s_csinf.c (__csinf): Likewise.
4268 * math/s_csinh.c (__csinh): Likewise.
4269 * math/s_csinhf.c (__csinhf): Likewise.
4270 * math/s_csinhl.c (__csinhl): Likewise.
4271 * math/s_csinl.c (__csinl): Likewise.
4272 * math/auto-libm-test-in: Add some tests of csin and csinh.
4273 * math/auto-libm-test-out: Regenerated.
4274 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4275 (csinh_test_data): Likewise.
4276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4277
4278 [BZ #18586]
4279 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4280 underflow exception for small results.
4281
4282 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4283
4284 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4285 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4286 variable and included header.
4287 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4288 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4289 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4290 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4291 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4292 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4293 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4294 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4295 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4296 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4297 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4298 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4299 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4300 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4301 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4302 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4303
4304 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4305
4306 [BZ #16526]
4307 [BZ #16538]
4308 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4309 (__sin): Force underflow exception for arguments with small
4310 absolute value.
4311 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4312 (__kernel_sinf): Force underflow exception for arguments with
4313 small absolute value.
4314 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4315 (__kernel_sincosl): Force underflow exception for arguments with
4316 small absolute value.
4317 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4318 (__kernel_sinl): Force underflow exception for arguments with
4319 small absolute value.
4320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4321 (__kernel_sincosl): Force underflow exception for arguments with
4322 small absolute value.
4323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4324 (__kernel_sinl): Force underflow exception for arguments with
4325 small absolute value.
4326 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4327 (__kernel_sinl): Force underflow exception for arguments with
4328 small absolute value.
4329 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4330 (__kernel_sinf): Force underflow exception for arguments with
4331 small absolute value.
4332 * math/auto-libm-test-in: Add more tests of sin and sincos.
4333 * math/auto-libm-test-out: Regenerated.
4334
4335 [BZ #18245]
4336 [BZ #18583]
4337 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4338 (__kernel_standard_l): Use feholdexcept and fesetenv around
4339 conversion to double instead of special-casing overflow and
4340 underflow.
4341 * math/libm-test.inc (fmod_test_data): Add more tests.
4342 (remainder_test_data): Likewise.
4343 (sqrt_test_data): Likewise.
4344
4345 2015-06-23 Torvald Riegel <triegel@redhat.com>
4346
4347 [BZ #17403]
4348 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4349 atomic_read_barrier, atomic_write_barrier): Define.
4350 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4351 atomic_read_barrier, atomic_write_barrier): Define.
4352
4353 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4354
4355 * math/Makefile [$(PERL) != no]
4356 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4357 dependency on libm-test.stmp below the inclusion of Rules.
4358
4359 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4360
4361 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4362 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4363 and included header.
4364 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4365 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4370 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4372 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4373 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4374 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4375 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4376 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4377 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4378 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4379 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4380 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4381 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4382 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4383
4384 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4385
4386 [BZ #18371]
4387 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4388 intermediate but not final result might underflow.
4389 * math/s_csqrtf.c (__csqrtf): Likewise.
4390 * math/s_csqrtl.c (__csqrtl): Likewise.
4391 * math/auto-libm-test-in: Add more tests of csqrt.
4392 * math/auto-libm-test-out: Regenerated.
4393 * sysdeps/i386/fpu/libm-test-ulps: Update.
4394
4395 [BZ #18219]
4396 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4397 threshold on absolute value of exponent for which scaling is used.
4398 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4399 * math/auto-libm-test-in: Add more tests of exp2.
4400 * math/auto-libm-test-out: Regenerated.
4401
4402 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4403
4404 [BZ #17977]
4405 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4406 when initializing interface list, based on the bug analysis
4407 and the patch proposed by Eric Newton.
4408 * resolv/tst-res_hconf_reorder.c: New test.
4409 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4410 tst-res_hconf_reorder.
4411 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4412 and $(shared-thread-library).
4413 (tst-res_hconf_reorder-ENV): New variable.
4414
4415 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4416 in comment.
4417
4418 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4419
4420 [BZ #16353]
4421 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4422 (__expm1): Force underflow exception for arguments with small
4423 absolute value.
4424 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4425 (__expm1f): Force underflow exception for arguments with small
4426 absolute value.
4427 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4428 (__expm1): Force underflow exception for arguments with small
4429 absolute value.
4430 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4431 (__expm1f): Force underflow exception for arguments with small
4432 absolute value.
4433 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4434 Check for small arguments before calling __expm1.
4435 * math/auto-libm-test-in: Do not mark underflow exceptions as
4436 possibly missing for bug 16353.
4437 * math/auto-libm-test-out: Regenerated.
4438
4439 2015-06-22 Andreas Schwab <schwab@suse.de>
4440
4441 [BZ #18513]
4442 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4443 PTR queries.
4444
4445 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4446
4447 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4448
4449 * string/strcoll_l.c: Remove unused struct element idxnow.
4450
4451 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4452
4453 [BZ #18569]
4454 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4455 underflow and return argument in case of subnormal argument.
4456 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4457 Likewise.
4458 * math/auto-libm-test-in: Add more tests of expm1.
4459 * math/auto-libm-test-out: Regenerated.
4460
4461 [BZ #16361]
4462 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4463 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4464 tiny results.
4465 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4466 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4467 tiny results.
4468 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4469 mark underflow exceptions as possibly missing for bug 16361.
4470 * math/auto-libm-test-out: Regenerated.
4471
4472 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4473
4474 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4475 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4476 Remove variable.
4477 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4478 (test-xfail-XOPEN2K8/utmpx.h/conform).
4479
4480 * conform/conformtest.pl ($xerrors): New variable.
4481 (note_error): New function.
4482 (compiletest): New argument $xfail. Use not_error.
4483 (runtest): Likewise.
4484 (top level): Handle xfail- lines. Update calls to compiletest and
4485 runtest. Handle xfail- and optional- in headers listed with
4486 allow-header.
4487 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4488 (O_EXEC): Likewise.
4489 (O_SEARCH): Likewise.
4490 * conform/data/stropts.h-data (ioctl): Likewise.
4491 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4492 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4493 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4494 (msghdr.msg_controllen): Likewise.
4495 (cmsghdr.cmsg_len): Likewise.
4496 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4497 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4498 variable.
4499 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4500 (test-xfail-XPG4/stropts.h/conform): Likewise.
4501 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4502 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4503 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4504 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4505 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4506 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4507 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4508 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4509 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4510 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4511 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4512 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4513 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4514 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4515 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4516 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4517 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4518 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4519 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4520
4521 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4522
4523 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4524 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4525 definitions for proper unfolding of __MATHDECL_VEC.
4526
4527 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4528
4529 * benchtests/bench-strcoll.c:
4530 Include string.h.
4531 (main): Remove unused variable res.
4532
4533 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4534
4535 * timezone/Makefile (%/UTC %/Universal):
4536 Generate test-result files for UTC and Universal.
4537
4538 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4539
4540 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4541
4542 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4543
4544 [BZ #16350]
4545 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4546 for arguments with small absolute value.
4547 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4548 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4549 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4550 (__asinh): Force underflow exception for arguments with small
4551 absolute value.
4552 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4553 (__asinhf): Force underflow exception for arguments with small
4554 absolute value.
4555 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4556 (__asinhl): Force underflow exception for arguments with small
4557 absolute value.
4558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4559 (__asinhl): Force underflow exception for arguments with small
4560 absolute value.
4561 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4562 (__asinhl): Force underflow exception for arguments with small
4563 absolute value.
4564 * math/auto-libm-test-in: Do not mark underflow exceptions as
4565 possibly missing for bug 16350.
4566 * math/auto-libm-test-out: Regenerated.
4567
4568 * include/bits/ipc.h: Remove file.
4569 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4570 variable.
4571 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4572 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4573 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4574 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4575 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4576 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4577 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4578 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4579 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4580
4581 * math/auto-libm-test-in: Remove spurious underflow allowance for
4582 tests of cexp.
4583 * math/auto-libm-test-out: Regenerated.
4584
4585 [BZ #18558]
4586 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4587 unconditional definition.
4588 (MCAST_BLOCK_SOURCE): Likewise.
4589 (MCAST_UNBLOCK_SOURCE): Likewise.
4590 (MCAST_LEAVE_GROUP): Likewise.
4591 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4592 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4593 (MCAST_MSFILTER): Likewise.
4594 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4595 Remove variable.
4596 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4597 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4598 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4599 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4600 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4601
4602 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4603
4604 * NEWS: Mention addition of x86_64 vector sincosf.
4605 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4606 * math/test-float-vlen4.h: Likewise.
4607 * math/test-float-vlen8.h: Likewise.
4608 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4609 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4610 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4611 * sysdeps/x86_64/fpu/Versions: New versions added.
4612 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4613 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4614 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4615 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4616 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4617 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4618 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4619 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4620 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4621 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4622 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4623 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4624 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4625 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4626 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4627 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4628 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4629 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4630 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4631 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4632 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4633 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4634 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4635 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4636
4637 * NEWS: Mention addition of x86_64 vector sincos.
4638 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4639 * math/math.h (__MATHDECL_VEC): New macro.
4640 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4641 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4642 declaration under condition.
4643 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4644 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4645 TEST_VEC_LOOP change.
4646 * math/test-double-vlen4.h: Likewise.
4647 * math/test-double-vlen8.h: Likewise.
4648 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4649 * math/test-float-vlen4.h: Likewise.
4650 * math/test-float-vlen8.h: Likewise.
4651 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4652 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4653 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4654 * sysdeps/x86_64/fpu/Versions: New versions added.
4655 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4656 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4657 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4659 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4660 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4662 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4664 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4665 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4666 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4667 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4668 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4669 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4670 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4671 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4672 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4673 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4674 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4675 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4676 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4677 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4678 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4679
4680 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4681 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4682 redirections for powf.
4683 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4684 * sysdeps/x86_64/fpu/Versions: New versions added.
4685 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4686 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4687 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4688 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4689 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4690 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4691 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4692 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4693 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4694 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4695 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4696 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4697 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4698 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4699 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4700 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4701 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4702 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4703 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4704 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4705 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4706 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4707 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4708 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4709 * math/test-float-vlen16.h: Fixed 2 argument macro.
4710 * math/test-float-vlen4.h: Likewise.
4711 * math/test-float-vlen8.h: Likewise.
4712 * NEWS: Mention addition of x86_64 vector powf.
4713
4714 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4715
4716 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4717 and redefine.
4718 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4719 and redefine.
4720 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4721 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4723
4724 [BZ #18553]
4725 * resource/getpriority.c (getpriority): Rename to __getpriority
4726 and define as weak alias of __getpriority.
4727 * resource/setpriority.c (setpriority): Rename to __setpriority
4728 and define as weak alias of __setpriority.
4729 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4730 __getpriority and define as weak alias of __getpriority.
4731 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4732 __setpriority and define as weak alias of __setpriority.
4733 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4734 strong name.
4735 (setpriority): Use __setpriority as strong name.
4736 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4737 __getpriority and define as weak alias of __getpriority.
4738 * include/sys/resource.h (__getpriority): Declare. Use
4739 libc_hidden_proto.
4740 (__setpriority): Likewise.
4741 (getpriority): Don't use libc_hidden_proto.
4742 (setpriority): Likewise.
4743 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4744 getpriority. Call __setpriority instead of setpriority.
4745 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4746 Remove variable.
4747
4748 [BZ #18547]
4749 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4750 as weak alias of __getttynam. Use prototype function definition.
4751 Call __setttyent, __getttyent and __endttyent instead of
4752 setttyent, getttyent and endttyent.
4753 (getttyent): Rename to __getttyent and define as weak alias of
4754 __getttyent. Call __setttyent instead of setttyent. Call
4755 __fgets_unlocked instead of fgets_unlocked.
4756 (setttyent): Rename to __setttyent and define as weak alias of
4757 __setttyent.
4758 (endttyent): Rename to __endttyent and define as weak alias of
4759 __endttyent.
4760 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4761 (__setttyent): Likewise.
4762 (__endttyent): Likewise.
4763 (getttyent): Don't use libc_hidden_proto.
4764 (setttyent): Likewise.
4765 (endttyent): Likewise.
4766 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4767 __endttyent instead of setttyent, getttyent and endttyent.
4768 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4769 Remove variable.
4770
4771 [BZ #18546]
4772 * socket/recv.c (__recv): Use libc_hidden_def.
4773 * socket/socket.c (__socket): Likewise.
4774 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4775 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4776 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4777 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4778 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4779 libc_hidden_def.
4780 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4781 libc_hidden_weak.
4782 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4783 Use libc_hidden_proto.
4784 (__recv): Likewise.
4785 * socket/Versions (libc): Export __recv and __socket at version
4786 GLIBC_PRIVATE.
4787 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4788 instead of recv.
4789 (init_mq_netlink): Call __socket instead of socket.
4790 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4791 Remove variable.
4792
4793 [BZ #18545]
4794 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4795 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4796 hidden_weak.
4797 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4798 define as alias of __mq_timedsend. Use hidden_weak.
4799 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4800 __mq_timedsend as strong name.
4801 (mq_timedreceive): Use __mq_timedreceive as strong name.
4802 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4803 (__mq_timedreceive): Likewise.
4804 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4805 __mq_timedreceive instead of mq_timedreceive.
4806 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4807 instead of mq_timedsend.
4808 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4809 Remove variable.
4810
4811 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4812 hidden_def and hidden_weak instead of libc_hidden_def and
4813 libc_hidden_weak.
4814 (top level): Refer to hidden_def in comment.
4815 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4816 macro. Use it instead of libc_hidden_def.
4817 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4818 specify __GI_* name explicitly.
4819 (mq_timedreceive): Likewise.
4820 (mq_setattr): Likewise.
4821
4822 [BZ #18544]
4823 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4824 __pthread_barrier_init and define as weak alias of
4825 __pthread_barrier_init.
4826 * sysdeps/sparc/nptl/pthread_barrier_init.c
4827 (pthread_barrier_init): Likewise.
4828 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4829 __pthread_barrier_wait and define as weak alias of
4830 __pthread_barrier_wait.
4831 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4832 (pthread_barrier_wait): Likewise.
4833 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4834 (pthread_barrier_wait): Likewise.
4835 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4836 (pthread_barrier_wait): Likewise.
4837 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4838 (pthread_barrier_wait): Likewise.
4839 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4840 __pthread_barrier_wait at version GLIBC_PRIVATE.
4841 * include/pthread.h (__pthread_barrier_init): Declare.
4842 (__pthread_barrier_wait): Likewise.
4843 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4844 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4845 (helper_thread): Likewise.
4846 (init_mq_netlink): Call __pthread_barrier_init instead of
4847 pthread_barrier_init.
4848
4849 [BZ #18542]
4850 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4851 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4852 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4853 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4854 vswscanf.
4855 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4856 Remove variable.
4857
4858 [BZ #18540]
4859 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4860 strong alias of _IO_fflush. Use libc_hidden_def.
4861 * libio/iofflush_u.c (fflush_unlocked): Rename to
4862 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4863 Use libc_hidden_weak.
4864 * include/stdio.h (__fflush_unlocked): Declare. Use
4865 libc_hidden_proto.
4866 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4867 fflush_unlocked.
4868 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4869 Remove variable.
4870
4871 [BZ #18539]
4872 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4873 define as weak alias of __addseverity.
4874 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4875 Remove variable.
4876 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4877 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4878 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4879
4880 [BZ #18536]
4881 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4882 (__tfind): Likewise.
4883 (__tdelete): Likewise.
4884 (__twalk): Likewise.
4885 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4886 __twalk to GLIBC_PRIVATE.
4887 * include/search.h (__tsearch): Use libc_hidden_proto.
4888 (__tfind): Likewise.
4889 (__tdelete): Likewise.
4890 (__twalk): Likewise.
4891 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4892 Call __tdelete instead of tdelete.
4893 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4894 tfind. Call __tsearch instead of tsearch.
4895 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4896 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4897 Remove variable.
4898 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4899
4900 [BZ #18534]
4901 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4902 (dprintf): Define as a weak alias of __dprintf, not a strong
4903 alias.
4904 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4905 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4906 dprintf.
4907 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4908 Remove variable.
4909 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4910 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4911
4912 [BZ #18533]
4913 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4914 not a strong alias.
4915 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4916 Remove variable.
4917
4918 [BZ #18532]
4919 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4920 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4921 (in6addr_loopback): Rename to __in6addr_loopback and define as
4922 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4923 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4924 libc_hidden_proto.
4925 (__in6addr_any): Likewise.
4926 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4927 in6addr_any.
4928 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4929 variable.
4930 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4931
4932 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4933
4934 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4935 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4936 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4937 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4938 redirections for pow.
4939 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4940 * sysdeps/x86_64/fpu/Versions: New versions added.
4941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4942 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4943 build of SSE, AVX2 and AVX512 IFUNC versions.
4944 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4945 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4946 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4947 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4948 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4949 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4950 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4951 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4952 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4953 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4954 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4955 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4956 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4957 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4958 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4959 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4960 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4961 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4962 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4963 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4964 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4965 * NEWS: Mention addition of x86_64 vector pow.
4966
4967 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4968 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4969 redirections for expf.
4970 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4971 * sysdeps/x86_64/fpu/Versions: New versions added.
4972 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4973 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4974 build of SSE, AVX2 and AVX512 IFUNC versions.
4975 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4976 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4977 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4978 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4979 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4980 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4981 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4982 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4983 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4984 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4985 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4986 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4987 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4988 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4989 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4990 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4991 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4992 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4993 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4994 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4995 * NEWS: Mention addition of x86_64 vector expf.
4996
4997 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4998 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4999 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5000 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5001 redirections for exp.
5002 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5003 * sysdeps/x86_64/fpu/Versions: New versions added.
5004 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5005 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5006 build of SSE, AVX2 and AVX512 IFUNC versions.
5007 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5008 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5009 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5010 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5011 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5013 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5014 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5015 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5016 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5017 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5018 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5019 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5020 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5021 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5022 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5023 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5024 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5025 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5026 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5027 * NEWS: Mention addition of x86_64 vector exp.
5028
5029 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5030 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5031 redirections for logf.
5032 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5033 * sysdeps/x86_64/fpu/Versions: New versions added.
5034 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5035 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5036 build of SSE, AVX2 and AVX512 IFUNC versions.
5037 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5038 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5039 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5040 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5041 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5042 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5043 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5044 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5045 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5046 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5047 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5048 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5049 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5050 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5051 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5052 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5053 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5054 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5055 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5056 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5057 * NEWS: Mention addition of x86_64 vector logf.
5058
5059 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5060 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5061 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5062 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5063 redirections for log.
5064 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5065 * sysdeps/x86_64/fpu/Versions: New versions added.
5066 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5067 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5068 build of SSE, AVX2 and AVX512 IFUNC versions.
5069 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5070 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5071 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5072 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5073 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5074 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5075 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5076 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5077 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5078 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5079 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5080 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5081 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5082 test.
5083 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5084 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5085 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5086 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5087 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5088 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5089 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5090 * NEWS: Mention addition of x86_64 vector log.
5091
5092 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5093
5094 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5095 cfi_adjust_cfa_offset argument.
5096 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5097 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5098
5099 [BZ #18034]
5100 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5101 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5102 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5103 ordering using ldar.
5104 (_dl_tlsdesc_dynamic): Likewise.
5105 (_dl_tlsdesc_return_lazy): Likewise.
5106 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5107 relaxed atomics instead of volatile and synchronize with release store.
5108 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5109 volatile.
5110 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5111
5112 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5113
5114 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5115 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5116 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5117 * sysdeps/x86_64/fpu/Versions: New versions added.
5118 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5119 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5120 build of SSE, AVX2 and AVX512 IFUNC versions.
5121 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5122 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5123 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5124 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5125 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5126 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5127 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5128 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5129 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5130 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5131 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5132 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5133 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5134 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5135 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5136 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5137 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5138 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5139 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5140 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5141 * NEWS: Mention addition of x86_64 vector sinf.
5142
5143 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5144
5145 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5146 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5147 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5148 Remove variable.
5149 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5150 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5151
5152 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5153
5154 [BZ #18530]
5155 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5156 strong alias of _IO_fputs. Use libc_hidden_def.
5157 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5158 and define as weak alias of __fputs_unlocked. Use
5159 libc_hidden_weak.
5160 * include/stdio.h (__fputs_unlocked): Declare. Use
5161 libc_hidden_proto.
5162 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5163 fputs_unlocked.
5164
5165 [BZ #18529]
5166 * resolv/netdb.h [__USE_POSIX]: Change condition to
5167 [__USE_XOPEN2K].
5168 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5169 not expect.
5170 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5171 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5172 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5173 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5174 [XPG4 || UNIX98] (AI_ALL): Likewise.
5175 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5176 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5177 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5178 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5179 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5180 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5181 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5182 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5183 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5184 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5185 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5186 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5187 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5188 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5189 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5190 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5191 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5192 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5193 [XPG4 || UNIX98] (gai_strerror): Likewise.
5194 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5195 [XPG4 || UNIX98] (getnameinfo): Likewise.
5196
5197 [BZ #18528]
5198 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5199 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5200 __USE_XOPEN2K8].
5201 (getgrent): Likewise.
5202 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5203 expect.
5204 [XPG3 || POSIX2008] (endgrent): Likewise.
5205 [XPG3] (setgrent): Likewise.
5206 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5207 variable.
5208 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5209
5210 [BZ #18527]
5211 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5212 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5213 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5214 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5215 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5216 * include/unistd.h (__getlogin_r): Declare. Use
5217 libc_hidden_proto.
5218 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5219 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5220 variable.
5221 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5222 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5223 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5224
5225 2015-06-12 Martin Sebor <msebor@redhat.com>
5226
5227 [BZ #18512]
5228 * Makerules (check-install-supported): New target.
5229 (install): Add check-install-supported as a dependency.
5230 * manual/install.texi (Installing the C Library): Document
5231 that overriding prefix and exec_prefix is not supported.
5232 Mention DESTDIR.
5233 * INSTALL: Regenerate from the above.
5234
5235 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5236
5237 [BZ #18519]
5238 * posix/Versions (libc): Export __libc_pread at version
5239 GLIBC_PRIVATE.
5240 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5241 instead of pread.
5242 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5243 variable.
5244
5245 [BZ #18522]
5246 * misc/efgcvt_r.c
5247 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5248 (cvt_symbol): Use weak_alias instead of strong_alias.
5249 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5250 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5251 Remove variable.
5252 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5253 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5254
5255 [BZ #18520]
5256 * inet/herrno.c (h_errno): Rename to __h_errno.
5257 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5258 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5259 to __h_errno instead of h_errno.
5260 * nptl/herrno.c (h_errno): Rename to __h_errno.
5261 (__h_errno_location): Refer to __h_errno not h_errno.
5262 * resolv/Versions (h_errno): Rename to __h_errno.
5263 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5264 Remove variable.
5265 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5266
5267 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5268
5269 * configure.ac: More strict check for AVX512 assembler support.
5270 * configure: Regenerated.
5271
5272 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5273 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5274 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5275 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5276 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5277 * sysdeps/x86_64/fpu/Versions: New versions added.
5278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5279 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5280 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5281 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5282 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5283 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5284 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5285 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5286 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5287 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5288 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5289 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5290 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5291 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5292 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5293 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5294 test.
5295 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5296 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5297 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5298 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5299 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5300 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5301 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5302 * NEWS: Mention addition of x86_64 vector sin.
5303
5304 2015-06-11 Florian Weimer <fweimer@redhat.com>
5305
5306 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5307 comment.
5308
5309 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5310
5311 [BZ #18479]
5312 * nptl/pt-interp.c: New file.
5313 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5314 Add pt-interp.
5315 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5316 $(common-objpfx)runtime-linker.h.
5317
5318 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5319
5320 * Makeconfig (+interp): Remove unused variable.
5321 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5322 only. Depend on $(common-objpfx)runtime-linker.h instead of
5323 $(elf-objpfx)runtime-linker.h.
5324 ($(elf-objpfx)runtime-linker.h): Rename to
5325 $(common-objpfx)runtime-linker.h and move ...
5326 * Makerules [$(build-shared) = yes]: ... here.
5327 * elf/interp.c: Include <runtime-linker.h> instead of
5328 <elf/runtime-linker.h>.
5329
5330 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5331
5332 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5333 (__gettimeofday_syscall): Remove vsyscall fallback.
5334 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5335 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5336 Add syscall fallback function.
5337 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5338 if vDSO is not present.
5339 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5340 fallback function.
5341 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5342 present.
5343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5344 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5345
5346 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5347
5348 [BZ #18497]
5349 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5350 of wcscmp.
5351 (wcscmp): Define as weak alias of WCSCMP.
5352 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5353 wcscoll.
5354 (USE_HIDDEN_DEF): Define.
5355 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5356 __wcscoll. Don't use libc_hidden_weak.
5357 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5358 wcscmp.
5359 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5360 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5361 __GI_wcscmp.
5362 (weak_alias): Undefine and redefine.
5363 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5364 __wcscmp and define as weak alias of __wcscmp.
5365 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5366 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5367 (__wcscoll): Likewise.
5368 (wcscmp): Don't use libc_hidden_proto.
5369 (wcscoll): Likewise.
5370 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5371 wcscoll.
5372 * posix/regexec.c (check_node_accept_bytes): Likewise.
5373 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5374 variable.
5375 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5376 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5377
5378 [BZ #18507]
5379 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5380 __fstatvfs and define as weak alias of __fstatvfs. Use
5381 libc_hidden_weak.
5382 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5383 and define as weak alias of __statvfs. Use libc_hidden_weak.
5384 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5385 Define as alias of __fstatvfs, not fstatvfs.
5386 (fstatvfs64): Likewise.
5387 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5388 Define as alias of __statvfs, not statvfs.
5389 (statvfs64): Likewise.
5390 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5391 Remove variable.
5392
5393 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5394
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5396 (HAVE_GETCPU_VSYSCALL): Define.
5397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5398 (HAVE_GETCPU_VSYSCALL): Likewise.
5399 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5400 * sysdeps/unix/sysv/linux/sched_getcpu.c
5401 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5402 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5403 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5404 prototype.
5405 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5406 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5407 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5409 Define.
5410 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5413 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5414
5415 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5416
5417 * sysdeps/x86_64/fpu/Makefile: New file.
5418 * sysdeps/x86_64/fpu/Versions: New file.
5419 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5420 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5421 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5422 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5423 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5424 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5425 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5426 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5427 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5428 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5429 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5430 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5431 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5432 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5433 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5434 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5435 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5436 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5437 * sysdeps/x86_64/configure: Regenerated.
5438 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5439 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5440 * manual/install.texi (Configuring and compiling): Document
5441 --disable-mathvec.
5442 * INSTALL: Regenerated.
5443 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5444
5445 * math/Makefile: Added rules for vector tests.
5446 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5447 declaration under condition.
5448 * math/test-double-vlen2.h: New file.
5449 * math/test-double-vlen4.h: New file.
5450 * math/test-double-vlen8.h: New file.
5451 * math/test-vec-loop.h: Added initialization macro.
5452 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5454 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5455 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5456 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5457 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5458 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5459 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5460 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5461 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5462 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5463
5464 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5465 * sysdeps/x86_64/fpu/Versions: New versions added.
5466 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5467 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5468 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5469 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5470 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5471 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5472 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5473 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5474 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5475 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5476 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5477 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5478 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5479 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5480 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5481 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5482 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5483 * NEWS: Mention addition of x86_64 vector cosf.
5484
5485 * math/Makefile: Added CFLAGS for new tests.
5486 * math/test-float-vlen16.h: New file.
5487 * math/test-float-vlen4.h: New file.
5488 * math/test-float-vlen8.h: New file.
5489 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5490 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5492 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5493 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5494 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5495 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5496 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5497 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5498 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5499 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5500
5501 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5502
5503 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5504 * locale/programs/ld-ctype.c: Likewise.
5505
5506 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5507
5508 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5509 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5510 bit_ZMM16_31_state): New macro.
5511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5512 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5513
5514 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5515
5516 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5517
5518 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5519
5520 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5521
5522 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5523
5524 [BZ #18498]
5525 * libio/memstream.c (open_memstream): Rename to __open_memstream
5526 and define as weak alias of __open_memstream.
5527 * include/stdio.h (__open_memstream): Declare. Use
5528 libc_hidden_proto.
5529 (open_memstream): Don't use libc_hidden_proto.
5530 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5531 open_memstream.
5532 * posix/getopt.c (_getopt_internal_r): Likewise.
5533 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5534 variable.
5535 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5536 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5537 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5538
5539 [BZ #18496]
5540 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5541 instead of wcrtomb.
5542
5543 [BZ #18483]
5544 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5545 [__USE_XOPEN2K8]. Remove redundant #endif.
5546 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5547 Remove redundant #if.
5548 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5549 Remove variable.
5550 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5551 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5552
5553 [BZ #18495]
5554 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5555 (__iswlower): Likewise.
5556 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5557 (__iswlower): Likewise.
5558 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5559 instead of towlower.
5560 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5561 instead of iswlower. Call __towupper instead of towupper.
5562 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5563 instead of iswalnum.
5564
5565 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5566
5567 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5568 errors to stderr.
5569
5570 2015-06-05 Florian Weimer <fweimer@redhat.com>
5571
5572 [BZ #15661]
5573 [BZ #17322]
5574 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5575 Check for overflow properly. Check for O_APPEND. Ignore large
5576 file system block sizes. Add comments about problems.
5577 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5578 * manual/filesys.texi (Storage Allocation): New node.
5579
5580 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5581
5582 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5583 cancellable syscalls.
5584 (SYS_ify): Add guard to no redefine it.
5585 (INLINE_SYSCALL): Likewise.
5586 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5587 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5588 SYSCALL_CANCEL instead.
5589 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5590 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5591 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5592 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5593 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5594 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5595 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5596 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5597 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5598 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5599 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5600 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5601 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5602 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5603 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5604 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5605 Likewise.
5606 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5607 (__libc_pread64): Likewise.
5608 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5609 (__libc_preadv): Likewise.
5610 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5611 (__libc_readv64): Likewise.
5612 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5613 (__libc_pwrite): Likewise.
5614 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5615 (__libc_pwrite64): Likewise.
5616 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5617 (__libc_pwritev): Likewise.
5618 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5619 (__libc_pwritev64): Likewise.
5620 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5621 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5622 (sync_file_range): Likewise.
5623 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5624 Likewise.
5625 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5626 Likewise.
5627 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5628 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5629 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5630 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5631 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5632 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5633 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5634 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5636 Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5638 (__libc_read64): Likewise.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5640 Likewise.
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5642 Likewise.
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5644 Likewise.
5645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5646 Likewise.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5648 (__libc_pread64): Likewise.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5650 Likewise.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5652 (__libc_pwrite64): Likewise.
5653 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5654 (sync_file_range): Likewise.
5655 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5656 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5657 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5658 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5659 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5660 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5661 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5662 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5663 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5664 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5665 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5666 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5667 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5668 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5669 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5670 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5671 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5672 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5673 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5674 Likewise.
5675 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5676 Likewise.
5677 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5678 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5679 Likewise.
5680 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5681 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5682 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5683 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5684 Likewise.
5685 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5686 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5687 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5688 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5689 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5690
5691 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5692
5693 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5694 Include dl-vdso.
5695 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5696 Use VDSO routines for gettimeofday, clock_gettime if
5697 available.
5698 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5699 Declare VDSO symbols.
5700 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5701 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5702 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5703 * sysdeps/unix/sysv/linux/arm/Versions: Add
5704 __vdso_clock_gettime.
5705
5706 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5707
5708 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5709 be an inline implementation regardless of library is built within.
5710 (open_not_cancel_2): Likewise.
5711 (__read_nocancel): Likewise.
5712 (__write_nocancel): Likewise.
5713 (openat_not_cancel): Likewise.
5714 (openat_not_cancel_3): Likewise.
5715 (openat64_not_cancel): Likewise.
5716 (openat64_not_cancel_3): Likewise.
5717 (__close_nocancel): Likewise.
5718 (pause_not_cancel): Likewise.
5719 (nanosleep_not_cancel): Likewise.
5720 (sigsuspend_not_cancel): Likewise.
5721
5722 2015-06-04 Torvald Riegel <triegel@redhat.com>
5723
5724 [BZ #14958]
5725 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5726 wake-up.
5727 (__pthread_rwlock_rdlock_slow): Likewise.
5728 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5729 Likewise.
5730 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5731 Likewise.
5732 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5733 * nptl/tst-rwlock16.c: New file.
5734 * nptl/Makefile (tests): Add new test.
5735
5736 2015-06-04 Torvald Riegel <triegel@redhat.com>
5737
5738 [BZ #18324]
5739 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5740 missing wake-up of readers.
5741 * nptl/tst-rwlock15.c: New file.
5742 * nptl/Makefile (tests): Add new test.
5743
5744 2015-06-03 Roland McGrath <roland@hack.frob.com>
5745
5746 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5747 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5748 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5749 and __nacl_supply_interface_rtld.
5750 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5751 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5752 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5753 Add __nacl_supply_interface_rtld.
5754 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5755
5756 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5757
5758 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5759 isfinite.
5760 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5761 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5762
5763 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5764
5765 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5766 __signbit* with standard C99 macros.
5767 * math/e_exp10l.c: Likewise.
5768 * math/e_exp2l.c: Likewise.
5769 * math/e_scalb.c: Likewise.
5770 * math/e_scalbf.c: Likewise.
5771 * math/e_scalbl.c: Likewise.
5772 * math/s_ldexp.c: Likewise.
5773 * math/s_ldexpf.c: Likewise.
5774 * math/s_ldexpl.c: Likewise.
5775 * math/w_atan2.c: Likewise.
5776 * math/w_atan2f.c: Likewise.
5777 * math/w_atan2l.c: Likewise.
5778 * math/w_cosh.c: Likewise.
5779 * math/w_coshf.c: Likewise.
5780 * math/w_coshl.c: Likewise.
5781 * math/w_exp10.c: Likewise.
5782 * math/w_exp10f.c: Likewise.
5783 * math/w_exp10l.c: Likewise.
5784 * math/w_exp2.c: Likewise.
5785 * math/w_exp2f.c: Likewise.
5786 * math/w_exp2l.c: Likewise.
5787 * math/w_fmod.c: Likewise.
5788 * math/w_fmodf.c: Likewise.
5789 * math/w_fmodl.c: Likewise.
5790 * math/w_hypot.c: Likewise.
5791 * math/w_hypotf.c: Likewise.
5792 * math/w_hypotl.c: Likewise.
5793 * math/w_jnl.c: Likewise.
5794 * math/w_lgamma.c: Likewise.
5795 * math/w_lgamma_r.c: Likewise.
5796 * math/w_lgammaf.c: Likewise.
5797 * math/w_lgammaf_r.c: Likewise.
5798 * math/w_lgammal.c: Likewise.
5799 * math/w_lgammal_r.c: Likewise.
5800 * math/w_pow.c: Likewise.
5801 * math/w_powf.c: Likewise.
5802 * math/w_powl.c: Likewise.
5803 * math/w_remainder.c: Likewise.
5804 * math/w_remainderf.c: Likewise.
5805 * math/w_remainderl.c: Likewise.
5806 * math/w_scalb.c: Likewise.
5807 * math/w_scalbf.c: Likewise.
5808 * math/w_scalbl.c: Likewise.
5809 * math/w_scalbln.c: Likewise.
5810 * math/w_scalblnf.c: Likewise.
5811 * math/w_scalblnl.c: Likewise.
5812 * math/w_sinh.c: Likewise.
5813 * math/w_sinhf.c: Likewise.
5814 * math/w_sinhl.c: Likewise.
5815 * math/w_tgamma.c: Likewise.
5816 * math/w_tgammaf.c: Likewise.
5817 * math/w_tgammal.c: Likewise.
5818 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5819 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5822 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5825 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5826 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5827 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5828 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5829 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5834 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5844 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5849 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5850 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5851 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5852 * stdio-common/printf_fp.c: Likewise.
5853 * stdio-common/printf_fphex.c: Likewise.
5854 * stdio-common/printf_size.c: Likewise.
5855
5856 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5857
5858 [BZ #18470]
5859 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5860 strnlen.
5861 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5862 Remove variable.
5863 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5864 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5865 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5866 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5867 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5868 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5869 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5870 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5871 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5872 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5873
5874 [BZ #18468]
5875 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5876 weak alias of __wmemchr. Use libc_hidden_weak.
5877 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5878 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5879 instead of wmemchr.
5880
5881 2015-06-02 Roland McGrath <roland@hack.frob.com>
5882
5883 [BZ #18383]
5884 * elf/tst-tlsalign-extern.c: New file.
5885 * elf/tst-tlsalign-extern-static.c: New file.
5886 * elf/tst-tlsalign-vars.c: New file.
5887 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5888 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5889 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5890 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5891 (test-xfail-tst-tlsalign-extern-static): New variable.
5892
5893 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5894
5895 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5896 Use variable name _sc_err instead of err.
5897 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5898 instead of ret.
5899 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5900 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5901 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5902 (INLINE_SYSCALL): Likewise.
5903
5904 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5905 * include/string.h (__strnlen): Use libc_hidden_proto.
5906 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5907 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5908 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5909 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5910 (libc_hidden_def): Undefine and redefine.
5911 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5912 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5913 __GI_strnlen.
5914 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5915 libc_hidden_def.
5916 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5917
5918 [BZ #18469]
5919 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5920 weak alias of __towlower. Use libc_hidden_weak.
5921 (towupper): Rename to __towupper and define as weak alias of
5922 __towupper. Use libc_hidden_weak.
5923 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5924 (__towupper): Likewise.
5925 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5926 __towlower instead of towlower.
5927
5928 2015-06-02 Roland McGrath <roland@hack.frob.com>
5929
5930 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5931 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5932
5933 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5934
5935 * sysdeps/aarch64/libm-test-ulps: Update.
5936
5937 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5938
5939 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5940 Define.
5941 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5943 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5944 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5945 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5946 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5947 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5948
5949 2015-06-01 Martin Sebor <msebor@redhat.com>
5950
5951 [BZ #18116]
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5953 (__setcontext): Use extended four-operand version of mtsf whenever
5954 possible.
5955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5956 (__novec_swapcontext): Likewise.
5957
5958 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5959
5960 * benchtests/scripts/compare_bench.py: New file.
5961 * benchtests/scripts/import_bench.py (mean): New function.
5962 (split_list): Likewise.
5963 (do_for_all_timings): Likewise.
5964 (compress_timings): Likewise.
5965
5966 * benchtests/scripts/import_bench.py: New file.
5967 * benchtests/scripts/validate_benchout.py: Import import_bench
5968 instead of jsonschema.
5969 (validate_bench): Remove function.
5970 (main): Use import_bench.
5971
5972 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5973
5974 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5975 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5976
5977 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5978
5979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5980
5981 2015-05-28 Roland McGrath <roland@hack.frob.com>
5982
5983 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5984 set THREAD_SELF->tid to a magic value and futex-wake it.
5985 Pass its address to the thread_exit system call.
5986 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5987 bit is clear.
5988 * sysdeps/nacl/lowlevellock.h: New file.
5989 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5990
5991 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5992 Add TIMEOUT to current time, don't subtract it.
5993
5994 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 [BZ #2981]
5997 [BZ #18422]
5998 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5999 ($(objpfx)tst-audit2.out): Also depend on
6000 $(objpfx)tst-auditmod9b.so.
6001 * elf/tst-audit2.c: Include <dlfcn.h>.
6002 (calloc_called): New.
6003 (calloc): Allow to be called more than once.
6004 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6005
6006 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6007
6008 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6009 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6010
6011 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6012
6013 * stdlib/monetary.h: Fix comment.
6014
6015 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6016
6017 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6018 Avoid using variables in #defines that might cause shadowing.
6019 (INTERNAL_VSYSCALL_CALL): Likewise.
6020
6021 2015-05-26 Roland McGrath <roland@hack.frob.com>
6022
6023 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6024
6025 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6026 * nptl/lll_timedlock_wait.c: ... to this new file.
6027 * nptl/Makefile (libpthread-routines): Add it.
6028 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6029 * nptl/lll_timedwait_tid.c: ... to this new file.
6030 * nptl/Makefile (libpthread-routines): Add it.
6031 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6032 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6033 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6034 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6035 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6036 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6037 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6038 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6039 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6040 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6041
6042 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6043
6044 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6045 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6046 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6048 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6050 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6052 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6053 * sysdeps/unix/sysv/linux/tile/sysdep.h
6054 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6055 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6056 using vDSO syscall macro.
6057
6058 2015-05-26 Andriy Rysin <arysin@gmail.com>
6059
6060 [BZ #17293]
6061 * uk_UA: Fix sorting order for Ukrainian locale
6062
6063 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6064
6065 * stdlib/monetary.h: Fix comment.
6066
6067 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6068
6069 [BZ #18234]
6070 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6071 st_mtim and st_ctim members.
6072 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6073 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6074 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6075 (struct stat64): Likewise.
6076 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6077 (struct stat64): Likewise.
6078 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6079 (struct stat64): Likewise.
6080
6081 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6082
6083 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6084 Define and include sysdep-vdso.h.
6085 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6086 Likewise.
6087 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6088 Likewise.
6089 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6090 Define with VDSO_SYMBOL and use PTR_MANGLE.
6091 (__vdso_clock_gettime): Likewise.
6092 (__vdso_clock_getres): Likewise.
6093 (_libc_vdso_platform_setup): Likewise.
6094 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6095 Likewise.
6096 (_libc_vdso_platform_setup): Likewise.
6097 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6098 Likewise.
6099 (__vdso_clock_gettime): Likewise.
6100 (__vdso_clock_getres): Likewise.
6101 (__vdso_get_tbfreq): Likewise.
6102 (__vdso_getcpu): Likewise.
6103 (__vdso_time): Likewise.
6104 (__vdso_sigtramp_rt64): Likewise.
6105 (__vdso_signtramp32): Likewise.
6106 (__vdso_sigtramp_rt32): Likewise.
6107 (_libc_vdso_platform_setup): Likewise.
6108 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6109 Likewise.
6110 (__vdso_clock_gettime): Likewise.
6111 (__vdso_clock_getres): Likewise.
6112 (_libc_vdso_platform_setup): Likewise.
6113 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6114 Likewise.
6115 (__vdso_clock_gettime): Likewise.
6116 (_libc_vdso_platform_setup): Likewise.
6117 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6118 Likewise.
6119 (__vdso_getcpu): Likewise.
6120 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6121 Use VDSO_SYMBOL macro to define.
6122 (__vdso_clock_gettime): Likewise.
6123 (__vdso_clock_getres): Likewise.
6124 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6125 Likewise.
6126 (__vdso_clock_gettime): Likewise.
6127 (__vdso_clock_getres): Likewise.
6128 (__vdso_get_tbfreq): Likewise.
6129 (__vdso_getcpu): Likewise.
6130 (__vdso_time): Likewise.
6131 (__vdso_sigtramp_rt64): Likewise.
6132 (__vdso_signtramp32): Likewise.
6133 (__vdso_sigtramp_rt32): Likewise.
6134 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6135 Likewise.
6136 (__vdso_clock_gettime): Likewise.
6137 (__vdso_clock_getres): Likewise.
6138 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6139 Likewise.
6140 (__vdso_clock_gettime): Likewise.
6141 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6142 Likewise.
6143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6144 macro.
6145 (INTERNAL_VSYSCALL): Likewise.
6146 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6147 Remove macro.
6148 (INTERNAL_VSYSCALL): Likewise.
6149 (INTERNAL_VSYSCALL_NCS): Likewise.
6150 (INTERNAL_VSYSCALL_CALL): New macro.
6151 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6153 Likewise.
6154 (INTERNAL_VSYSCALL): Likewise.
6155 (INTERNAL_VSYSCALL_NCS): Likewise.
6156 (INTERNAL_VSYSCALL_CALL): New macro.
6157 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6159 (INLINE_VSYSCALL): Remove macro.
6160 (INTERNAL_VSYSCALL): Remove macro.
6161 (INTERNAL_VSYSCALL_NCS): Remove macro.
6162 (INTERNAL_VSYSCALL_CALL): New macro.
6163 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6164 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6165 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6166 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6167 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6169 (INLINE_VSYSCALL): Remove macro.
6170 (INTERNAL_VSYSCALL): Likewise.
6171 (INTERNAL_VSYSCALL_NCS): Likewise.
6172 (INTERNAL_VSYSCALL_CALL): New macro.
6173 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6174 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6175 PTR_DEMANGLE on vDSO pointer.
6176 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6177 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6178 macro.
6179 (INTERNAL_SYSCALL): Likewise.
6180 (INTERNAL_VSYSCALL_NCS): Remove macro.
6181 (INTERNAL_VSYSCALL_CALL): New macro.
6182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6183 Remove macro.
6184 (INTERNAL_VSYSCALL): Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6186 sysdep-vdso.h instead of libc-vdso.h.
6187 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6188 definition.
6189 (INLINE_VSYSCALL): Likewise.
6190 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6191 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6192 definition.
6193 (INLINE_VSYSCALL): Likewise.
6194 (INTERNAL_VSYSCALL): Likewise.
6195 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6196 * sysdeps/unix/sysv/linux/timespec_get.c
6197 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6198 (timespec_get): Use ANSI prototype.
6199 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6200 and definition for Linux.
6201
6202 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6203
6204 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6205 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6206
6207 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6208
6209 [BZ #2981]
6210 [BZ #18410]
6211 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6212 for missing DT_PLTRELSZ.
6213
6214 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6215
6216 Remove obsolete aliases that broke 'locale -a'
6217 [BZ #18412]
6218 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6219 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6220 breaking some applications that use 'locale -a' output.
6221 Change the encoding of this file from Latin-1 to ASCII to avoid
6222 other potential problems with people grepping this file.
6223
6224 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6225
6226 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6227 -fasynchronous-unwind-tables.
6228 (CFLAGS-sendto.c): Likewise.
6229 (CFLAGS-sendmsg.c): Likewise.
6230 (CFLAGS-connect.c): Likewise.
6231 (CFLAGS-recvmsg.c): Likewise.
6232 (CFLAGS-recvfrom.c): Likewise.
6233 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6234 (SOCKETCALL): New macro: non-cancellable socketcall.
6235 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6236 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6237 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6238 * sysdeps/unix/sysv/linux/accept.c: New file.
6239 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6240 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6241 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6242 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6243 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6244 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6245 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6246 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6247 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6248 * sysdeps/unix/sysv/linux/send.c: Likewise.
6249 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6250 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6251 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6252 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6253 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6254 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6255 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6256 prototype.
6257 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6258 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6259 instead of __internal_xxx function.
6260 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6261 prototype.
6262 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6263 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6264 instead of __internal_xxx function.
6265 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6266 prototype.
6267 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6268 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6269 instead of __internal_xxx function.
6270 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6271 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6272 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6273 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6274 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6275 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6276 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6277 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6278 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6279 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6280 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6281 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6282 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6283 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6284 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6285 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6286 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6287 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6288 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6289 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6292 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6293 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6294 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6295 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6296 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6297 * sysdeps/unix/sysv/linux/send.S: Likewise.
6298 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6299 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6300 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6301 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6302 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6303 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6305 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6306 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6307 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6308 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6309 socketcall is implemented in GLIBC.
6310
6311 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6312
6313 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6314 (__fma): Ignore uninitialized warnings around packing.
6315 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6316 (__fmaf): Ignore uninitialized warnings around packing.
6317 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6318 (__fmal): Ignore uninitialized warnings around packing.
6319
6320 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6321 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6322 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6323 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6324
6325 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6326 switch statement into default case.
6327 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6328
6329 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6330 a conditional in forcing "inexact".
6331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6332 Likewise.
6333
6334 2015-05-22 Roland McGrath <roland@hack.frob.com>
6335
6336 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6337 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6338 for each INTERNAL_SYSCALL use.
6339
6340 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6341
6342 [BZ #438]
6343 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6344 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6345 variable.
6346
6347 [BZ #18444]
6348 * string/basename.c (basename): Rename to __basename and define as
6349 weak alias of __basename. Use libc_hidden_weak.
6350 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6351 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6352 __basename instead of basename.
6353 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6354 Remove variable.
6355 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6356
6357 2015-05-18 Florian Weimer <fweimer@redhat.com>
6358
6359 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6360 (_IO_JUMPS_FILE_plus): New.
6361 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6362 _IO_CAST_FIELD_ACCESS.
6363 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6364 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6365 * libio/freopen.c (freopen): Likewise.
6366 * libio/freopen64.c (freopen64): Likewise.
6367 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6368 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6369 * libio/iofwide.c (_IO_fwide): Likewise.
6370 * libio/memstream.c (open_memstream): Likewise.
6371 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6372 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6373 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6374
6375 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6376
6377 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6378 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6379 NADJ.
6380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6381 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6382 NADJ.
6383 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6384 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6385 NADJ.
6386
6387 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6388 (p == 4) case.
6389
6390 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6391 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6392 Remove variable.
6393 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6394 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6395 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6396
6397 2015-05-21 Florian Weimer <fweimer@redhat.com>
6398
6399 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6400 Adjust jump table label generation macros.
6401
6402 2015-05-21 Florian Weimer <fweimer@redhat.com>
6403
6404 * stdio-common/vfprintf.c (vfprintf): Move local variables
6405 args_malloced, specs, specs_malloced, and the code after
6406 do_positional to the printf_positional function.
6407 (printf_positional): New function.
6408
6409 2015-05-21 Florian Weimer <fweimer@redhat.com>
6410
6411 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6412 function.
6413 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6414 STEP4_TABLE, process_arg): Move macro definitions
6415 out of the vfprintf function. (Cosmetic change only.)
6416
6417 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6418
6419 * benchtests/Makefile (stdio-common-bench): Define.
6420 (benchset): Add stdio-common-bench.
6421 * sprintf-inputs: New file.
6422 * sprintf-source.c: New file.
6423
6424 2015-05-21 Andreas Schwab <schwab@suse.de>
6425
6426 [BZ #13028]
6427 [BZ #17053]
6428 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6429 of struct __res_state.
6430 * resolv/res_send.c (__libc_res_nsend): Likewise.
6431 (get_nsaddr): New function.
6432 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6433 statp directly.
6434
6435 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6436
6437 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6438 -D_POSIX_C_SOURCE=199506L.
6439
6440 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6441
6442 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6443 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6444 Do not mention otherwise.
6445 [POSIX] (_XOPEN_VERSION): Do not expect.
6446 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6447 [POSIX] (_POSIX2_C_BIND): Likewise.
6448 [POSIX] (_POSIX2_VERSION): Likewise.
6449 [POSIX] (_XOPEN_XPG2): Likewise.
6450 [POSIX] (_XOPEN_XPG3): Likewise.
6451 [POSIX] (_XOPEN_XPG4): Likewise.
6452 [POSIX] (_XOPEN_UNIX): Likewise.
6453 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6454 [POSIX] (_POSIX_BARRIERS): Likewise.
6455 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6456 [POSIX] (_POSIX_CPUTIME): Likewise.
6457 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6458 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6459 [POSIX] (_POSIX_SHELL): Likewise.
6460 [POSIX] (_POSIX_SPAWN): Likewise.
6461 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6462 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6463 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6464 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6465 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6466 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6467 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6468 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6469 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6470 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6471 [POSIX] (_POSIX2_PBS): Likewise.
6472 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6473 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6474 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6475 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6476 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6477 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6478 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6479 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6480 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6481 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6482 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6483 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6484 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6485 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6486 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6487 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6488 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6489 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6490 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6491 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6492 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6493 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6494 [POSIX] (_SC_2_C_BIND): Likewise.
6495 [POSIX] (_SC_2_C_VERSION): Likewise.
6496 [POSIX] (_SC_2_PBS): Likewise.
6497 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6498 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6499 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6500 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6501 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6502 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6503 [POSIX] (_SC_BARRIERS): Likewise.
6504 [POSIX] (_SC_BASE): Likewise.
6505 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6506 [POSIX] (_SC_DEVICE_IO): Likewise.
6507 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6508 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6509 [POSIX] (_SC_FD_MGMT): Likewise.
6510 [POSIX] (_SC_FIFO): Likewise.
6511 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6512 [POSIX] (_SC_FILE_LOCKING): Likewise.
6513 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6514 [POSIX] (_SC_IOV_MAX): Likewise.
6515 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6516 [POSIX] (_SC_NETWORKING): Likewise.
6517 [POSIX] (_SC_PAGE_SIZE): Likewise.
6518 [POSIX] (_SC_PASS_MAX): Likewise.
6519 [POSIX] (_SC_PIPE): Likewise.
6520 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6521 [POSIX] (_SC_REGEXP): Likewise.
6522 [POSIX] (_SC_SHELL): Likewise.
6523 [POSIX] (_SC_SIGNALS): Likewise.
6524 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6525 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6526 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6527 [POSIX] (_SC_USER_GROUPS): Likewise.
6528 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6529 [POSIX] (_SC_STREAMS): Likewise.
6530 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6531 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6532 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6533 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6534 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6535 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6536 [POSIX] (_PC_FILESIZEBITS): Likewise.
6537 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6538 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6539 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6540 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6541 [POSIX] (uid_t): Likewise.
6542 [POSIX] (gid_t): Likewise.
6543 [POSIX] (off_t): Likewise.
6544 [POSIX] (pid_t): Likewise.
6545 [POSIX] (cuserid): Allow.
6546 (_SC_2_CHAR_TERM): Require constant.
6547 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6548 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6549 variable.
6550
6551 2015-05-20 Roland McGrath <roland@hack.frob.com>
6552
6553 * sysdeps/nacl/pthread-pids.h: New file.
6554 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6555 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6556
6557 * nptl/pthread-pids.h: New file.
6558 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6559 * nptl/nptl-init.c: Include <pthread-pids.h>.
6560 (__pthread_initialize_minimal_internal):
6561 Call __pthread_initialize_pids instead of set_tid_address syscall.
6562
6563 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6564 * sysdeps/posix/usleep.c: ... here.
6565
6566 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6567
6568 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6569 call_pselect6 object.
6570 [$(subdir) = io]: Remove call_sync_file_range object.
6571 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6572 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6573 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6574 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6575
6576 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6577
6578 * math/s_cproj.c: Add include "math_private.h".
6579 * math/s_cprojf.c: Likewise.
6580 * math/s_cprojl.c: Likewise.
6581
6582 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6583
6584 [BZ #18244]
6585 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6586 high mantissa bit when testing whether P is a NaN.
6587 * math/libm-test.inc (remainder_test_data): Add more tests.
6588 (remquo_test_data): Likewise.
6589
6590 [BZ #18049]
6591 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6592 below -32, return the argument, with underflow if subnormal.
6593 * math/auto-libm-test-in: Add more tests of atanh.
6594 * math/auto-libm-test-out: Regenerated.
6595
6596 2015-05-19 Roland McGrath <roland@hack.frob.com>
6597
6598 [BZ #18434]
6599 * nptl/tst-sem15.c: New file.
6600 * nptl/Makefile (tests): Add it.
6601 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6602 s/<</>>/ to fix typo in EOVERFLOW check.
6603 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6604
6605 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6606
6607 * manual/strings.texi (envz_remove): Fix typo in safety
6608 annotations.
6609
6610 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6611 Steve Ellcey <sellcey@imgtec.com>
6612
6613 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6614 in order to avoid strict alias warnings.
6615 (iruserok_af): Ditto for ra.
6616
6617 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6618
6619 [BZ #17581]
6620 * malloc/hooks.c
6621 (magicbyte): Convert to a function and avoid returning 0x01.
6622 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6623 (mem2chunk_check): Fix unsigned comparisons to zero.
6624 Hoist defs of sz and magic.
6625
6626 2015-05-19 Richard Henderson <rth@redhat.com>
6627
6628 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6629
6630 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6631
6632 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6633
6634 [BZ #16159]
6635 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6636 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6637 (reused_arena): Find a non-corrupt arena.
6638 (heap_trim): Pass arena to unlink.
6639 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6640 malloc_printerr.
6641 (top_check): Likewise.
6642 (free_check): Likewise.
6643 (realloc_check): Likewise.
6644 * malloc/malloc.c (malloc_printerr): Add arena argument.
6645 (unlink): Likewise.
6646 (munmap_chunk): Adjust.
6647 (ARENA_CORRUPTION_BIT): New macro.
6648 (arena_is_corrupt): Likewise.
6649 (set_arena_corrupt): Likewise.
6650 (sysmalloc): Use mmap if there are no usable arenas.
6651 (_int_malloc): Likewise.
6652 (__libc_malloc): Don't fail if arena_get returns NULL.
6653 (_mid_memalign): Likewise.
6654 (__libc_calloc): Likewise.
6655 (__libc_realloc): Adjust for additional argument to
6656 malloc_printerr.
6657 (_int_free): Likewise.
6658 (malloc_consolidate): Likewise.
6659 (_int_realloc): Likewise.
6660 (_int_memalign): Don't touch corrupt arenas.
6661 * malloc/tst-malloc-backtrace.c: New test case.
6662
6663 * Makefile (summarize-tests): Fix return value on success.
6664
6665 * manual/string.texi (Envz Functions): Add envz_remove.
6666
6667 2015-05-18 Roland McGrath <roland@hack.frob.com>
6668
6669 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6670 (invalid_name): New function, broken out of ...
6671 (__opendirat): ... here. Call it.
6672 (need_isdir_precheck): New function, broken out of ...
6673 (__opendirat): ... here. Call it.
6674 Use __fxstatat64, not __xstatat64.
6675 (opendir_oflags): New function, broken out of ...
6676 (__opendirat): ... here. Call it.
6677 (opendir_tail): New function, broken out of ...
6678 (__opendirat): ... here. Call it.
6679 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6680 opendir_tail, rather than punting to __opendirat.
6681 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6682
6683 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6684
6685 * .gitignore: Ignore generated *.pyc.
6686
6687 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6688
6689 * include/stdio.h: Define __need_wint_t.
6690 * test-skeleton.c: Avoid `for' loop initial declaration.
6691 * nptl/tst-initializers1.c: Use test-skeleton.c.
6692
6693 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6694
6695 [BZ #18418]
6696 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6697
6698 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6699
6700 [BZ #16352]
6701 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6702 (__ieee754_atanh): Force underflow exception for results with
6703 small absolute value.
6704 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6705 (__ieee754_atanhf): Force underflow exception for results with
6706 small absolute value.
6707 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6708 (__ieee754_atanh): Force underflow exception for results with
6709 small absolute value.
6710 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6711 (__ieee754_atanhf): Force underflow exception for results with
6712 small absolute value.
6713 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6714 (__ieee754_atanhl): Force underflow exception for results with
6715 small absolute value.
6716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6717 (__ieee754_atanhl): Force underflow exception for results with
6718 small absolute value.
6719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6720 (__ieee754_atanhl): Force underflow exception for results with
6721 small absolute value.
6722 * math/auto-libm-test-in: Do not allow missing underflow
6723 exceptions from atanh.
6724 * math/auto-libm-test-out: Regenerated.
6725
6726 [BZ #18221]
6727 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6728 2**-28 as threshold for returning x or +/- 1/x.
6729 * math/auto-libm-test-in: Add more tests of tan.
6730 * math/auto-libm-test-out: Regenerated.
6731
6732 [BZ #18220]
6733 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6734 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6735 * math/auto-libm-test-in: Add another test of lgamma.
6736 * math/auto-libm-test-out: Regenerated.
6737
6738 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6739
6740 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6741 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6742 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6743 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6744 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6745 (ADD2A): Use fabs. (SUB2A): Use fabs.
6746 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6749 (log1): Use fabs. (my_log2): Use fabs.
6750 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6751 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6753 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6755 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6756 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6757 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6758 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6759 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6760 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6761
6762 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #18217]
6765 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6766 as threshold for returning 1 - x.
6767 * math/auto-libm-test-in: Add more tests of erfc.
6768 * math/auto-libm-test-out: Regenerated.
6769
6770 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6771
6772 [BZ #18196]
6773 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6774 threshold for large arguments.
6775 * math/auto-libm-test-in: Add another test of atan.
6776 * math/auto-libm-test-out: Regenerated.
6777
6778 [BZ #16339]
6779 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6780 (__log1p): Force underflow exception for results with small
6781 absolute value.
6782 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6783 (__log1pf): Force underflow exception for results with small
6784 absolute value.
6785 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6786 (__log1p): Force underflow exception for results with small
6787 absolute value.
6788 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6789 (__log1pf): Force underflow exception for results with small
6790 absolute value.
6791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6792 (__log1pl): Force underflow exception for results with small
6793 absolute value.
6794 * math/auto-libm-test-in: Do not allow missing underflow
6795 exceptions from log1p.
6796 * math/auto-libm-test-out: Regenerated.
6797
6798 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6799 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6800
6801 [BZ #16704]
6802 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6803
6804 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6805
6806 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6807 (libmvec): New variable.
6808 * configure.ac: Added option for mathvec build.
6809 * configure: Regenerated.
6810 * mathvec/Depend: New file.
6811 * mathvec/Makefile: New file.
6812 * shlib-versions: Added libmvec.
6813 * math/Makefile: Added rule for libm.so installation.
6814
6815 * bits/math-vector.h: New file.
6816 * bits/libm-simd-decl-stubs.h: New header.
6817 * math/Makefile (headers): Added new header
6818 libm-simd-decl-stubs.h.
6819 * math/math.h (__MATHCALL_VEC): New macro.
6820
6821 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6822 for conditions in testing functions.
6823 * math/Makefile: Added call of libm-have-vector-test.sh.
6824 * math/libm-test.inc (HAVE_VECTOR): New macros.
6825
6826 * math/libm-test.inc: START refactored.
6827 * math/test-double.c (TEST_MATHVEC): Add define.
6828 * math/test-float.c: Likewise.
6829 * math/test-idouble.c: Likewise.
6830 * math/test-ifloat.c: Likewise.
6831 * math/test-ildoubl.c: Likewise.
6832 * math/test-ldouble.c: Likewise.
6833 * sysdeps/generic/math-tests-arch.h
6834 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6835 architecture check.
6836
6837 * math/test-double.c (FUNC_TEST): New macro.
6838 * math/test-float.c: Likewise.
6839 * math/test-idouble.c: Likewise.
6840 * math/test-ifloat.c: Likewise.
6841 * math/test-ildoubl.c: Likewise.
6842 * math/test-ldouble.c: Likewise.
6843 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6844
6845 2015-05-13 Roland McGrath <roland@hack.frob.com>
6846
6847 * sysdeps/nacl/fdopendir.c: New file.
6848
6849 * dirent/scandir-tail.c: New file.
6850 * dirent/scandir64-tail.c: New file.
6851 * dirent/Makefile (routines): Add them.
6852 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6853 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6854 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6855 [!SCANDIR] (SCANDIR_TAIL): New macro.
6856 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6857 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6858 (SCANDIRAT): Macro removed.
6859 (SCANDIR_TAIL): New macro.
6860 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6861 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6862 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6863 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6864 (READDIR): Macro removed.
6865 (SCANDIR_TAIL): New macro.
6866 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6867 (SCANDIR_TAIL): New macro.
6868
6869 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6870 * dirent/scandir-cancel.c: ... to this new file.
6871 * dirent/Makefile (routines): Add it.
6872 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6873 * sysdeps/unix/sysv/linux/i386/scandir64.c
6874 (SKIP_SCANDIR_CANCEL): Macro removed.
6875 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6876
6877 * dirent/tst-scandir.c: New file.
6878 * dirent/tst-scandir64.c: New file.
6879 * dirent/Makefile (tests): Add them.
6880
6881 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6882
6883 [BZ #18409]
6884 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6885
6886 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6887
6888 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6889 list.
6890
6891 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6892
6893 * benchtests/bench-strcoll.c: New benchmark.
6894 * benchtests/Makefile: Generate locales and run benchmark.
6895 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6896 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6897 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6898 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6899 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6900 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6901 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6902 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6903 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6904 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6905 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6906 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6907 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6908 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6909 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6910 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6911 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6912 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6913 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6914 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6915 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6916 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6917 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6918 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6919
6920 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6921
6922 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6923 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6924
6925 2015-05-12 Roland McGrath <roland@hack.frob.com>
6926
6927 * posix/uname-values.h: New file.
6928 * posix/uname.c: Include that instead of <config-name.h>.
6929 * sysdeps/nacl/uname-values.h: New file.
6930 * sysdeps/arm/nacl/uname-values.h: New file.
6931
6932 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6933
6934 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6935 splitting into fields.
6936
6937 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6938
6939 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6940 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6941 * locale/localeinfo.h: Add enum collation_encoding_type.
6942 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6943 * programs/ld-collate.c (collate_output): Add encoding type info.
6944 * string/strcoll_l.c (STRDIFF): New function.
6945 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6946 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6947
6948 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6949
6950 [BZ #18397]
6951 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6952 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6953 <fpu_control.h> instead of <math/fpu_control.c>.
6954 * sysdeps/mips/mips32/fpu/Makefile: New file.
6955
6956 2015-05-11 Andreas Schwab <schwab@suse.de>
6957
6958 [BZ #18007]
6959 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6960 nss_endgrent.
6961 (_nss_compat_endgrent): Call nss_endgrent.
6962 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6963 nss_endpwent.
6964 (_nss_compat_endpwent): Call nss_endpwent.
6965 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6966 needent, call nss_setspent only if non-zero.
6967 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6968 (internal_endspent): Don't call nss_endspent.
6969 (_nss_compat_endspent): Call nss_endspent.
6970 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6971 Remove. All uses removed.
6972 (internal_setent): Remove parameter stayopen, add parameter
6973 stream. Use it instead of global variable.
6974 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6975 (internal_endent, internal_getent): Add parameter stream. Use it
6976 instead of global variable.
6977 (CONCAT(_nss_files_end,ENTNAME))
6978 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6979 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6980 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6981 uses removed.
6982 (internal_setent, internal_endent): Add parameter stream. Use it
6983 instead of global variable.
6984 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6985 stream.
6986 (get_next_alias): Add parameter stream.
6987 (_nss_files_getaliasent_r): Pass global stream.
6988 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6989 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6990 (_nss_files_gethostbyname4_r): Pass local stream to
6991 internal_setent, internal_getent and internal_endent. Remove
6992 locking.
6993
6994 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6995
6996 * tst-strfmon1.c (tests): Update expected currency symbol.
6997
6998 2015-05-08 Roland McGrath <roland@hack.frob.com>
6999
7000 * sysdeps/nacl/gethostname.c: New file.
7001
7002 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7003
7004 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7005 and sinh.
7006 * math/auto-libm-test-out: Regenerated.
7007 * sysdeps/i386/fpu/libm-test-ulps: Update.
7008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009
7010 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7011
7012 [BZ #18125]
7013 * stdlib/tst-setcontext3.c: New file.
7014 * stdlib/tst-setcontext3.sh: New file.
7015 * stdlib/Makefile (tests): Add tst-setcontext3.
7016 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7017 to verify test program created output file.
7018 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7019 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7020 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7021 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7022
7023 2015-05-06 Roland McGrath <roland@hack.frob.com>
7024
7025 [BZ #18383]
7026 * elf/tst-tlsalign.c: New file.
7027 * elf/tst-tlsalign-static.c: New file.
7028 * elf/tst-tlsalign-lib.c: New file.
7029 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7030 (tests-static): Add tst-tlsalign-static.
7031 (modules-names): Add tst-tlsalign-lib.
7032 (test-xfail-tst-tlsalign): New variable.
7033 (test-xfail-tst-tlsalign-static): New variable.
7034
7035 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7036 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7037
7038 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7039
7040 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7041 csqrt, erfc, sin and sincos.
7042 * math/auto-libm-test-out: Regenerated.
7043 * sysdeps/i386/fpu/libm-test-ulps: Update.
7044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7045
7046 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7047
7048 * sysdeps/aarch64/libm-test-ulps: Update.
7049
7050 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7051
7052 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7053 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7054 * math/auto-libm-test-out: Regenerated.
7055 * sysdeps/i386/fpu/libm-test-ulps: Update.
7056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7057
7058 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7059
7060 [BZ #18265]
7061 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7062 (wcsncpy): Likewise.
7063
7064 2015-05-05 Florian Weimer <fweimer@redhat.com>
7065
7066 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7067 Assume __ASSUME_FALLOCATE is always true.
7068 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7069 (__posix_fallocate64_l64): Likweise.
7070 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7071 (posix_fallocate): Likewise.
7072 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7073 (__posix_fallocate64_l64): Likewise.
7074 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7075 [!__ASSUME_FALLOCATE]: Add comment.
7076
7077 2015-05-05 Florian Weimer <fweimer@redhat.com>
7078
7079 * sysdeps/unix/sysv/linux/i386/Makefile
7080 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7081 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7082 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7083 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7084 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7085 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7086 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7087
7088 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7089
7090 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7091 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7092 tgamma.
7093 * math/auto-libm-test-out: Regenerated.
7094 * sysdeps/i386/fpu/libm-test-ulps: Update.
7095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096
7097 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7098
7099 * math/auto-libm-test-in: Add more tests of tgamma.
7100 * math/auto-libm-test-out: Regenerated.
7101 * sysdeps/i386/fpu/libm-test-ulps: Update.
7102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103
7104 * math/auto-libm-test-in: Add more tests of tanh.
7105 * math/auto-libm-test-out: Regenerated.
7106 * sysdeps/i386/fpu/libm-test-ulps: Update.
7107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7108
7109 * math/auto-libm-test-in: Add more tests of tan.
7110 * math/auto-libm-test-out: Regenerated.
7111 * sysdeps/i386/fpu/libm-test-ulps: Update.
7112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113
7114 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7115 * math/auto-libm-test-out: Regenerated.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118
7119 * math/auto-libm-test-in: Add another test of pow.
7120 * math/auto-libm-test-out: Regenerated.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7122
7123 * math/auto-libm-test-in: Add more tests of lgamma.
7124 * math/auto-libm-test-out: Regenerated.
7125 * sysdeps/i386/fpu/libm-test-ulps: Update.
7126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7127
7128 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7129 log1p.
7130 * math/auto-libm-test-out: Regenerated.
7131 * sysdeps/i386/fpu/libm-test-ulps: Update.
7132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7133
7134 2015-05-01 Mark Wielaard <mjw@redhat.com>
7135
7136 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7137 Elf64_Chdr structs and ELFCOMPRESS constants.
7138
7139 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7140
7141 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7142 expm1.
7143 * math/auto-libm-test-out: Regenerated.
7144 * sysdeps/i386/fpu/libm-test-ulps: Update.
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7146
7147 * math/auto-libm-test-in: Add more tests of erf and erfc.
7148 * math/auto-libm-test-out: Regenerated.
7149 * sysdeps/i386/fpu/libm-test-ulps: Update.
7150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7151
7152 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7153
7154 * config.h.in (HAVE_AARCH64_BE): Add.
7155
7156 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7157
7158 * math/auto-libm-test-in: Add more tests of csqrt.
7159 * math/auto-libm-test-out: Regenerated.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
7163 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7164 * math/auto-libm-test-out: Regenerated.
7165 * sysdeps/i386/fpu/libm-test-ulps: Update.
7166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167
7168 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7169
7170 2015-04-29 Roland McGrath <roland@hack.frob.com>
7171
7172 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7173 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7174
7175 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7176 (euidaccess, eaccess): Define as weak aliases.
7177
7178 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7179 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7180 but __suseconds_t is often 'long int' so some sources assume that
7181 type is being used (e.g. they use %ld to print tv_usec).
7182
7183 2015-04-29 Florian Weimer <fweimer@redhat.com>
7184
7185 [BZ #18007]
7186 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7187 (CVE-2014-8121)
7188 * nss/tst-nss-getpwent.c: New file.
7189 * nss/Makefile (tests): Add new test.
7190
7191 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7192
7193 [BZ #18346]
7194 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7195 exponents less than 48 as cases where high part of mantissa needs
7196 examining to determine whether argument is integral.
7197 * math/libm-test.inc (round_test_data): Add more tests.
7198
7199 2015-04-28 Mark Wielaard <mjw@redhat.com>
7200
7201 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7202
7203 2015-04-27 David S. Miller <davem@davemloft.net>
7204
7205 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7206 __tls_get_addr.
7207 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7208
7209 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7210
7211 [BZ#18333]
7212 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7213
7214 2015-04-27 Florian Weimer <fweimer@redhat.com>
7215
7216 [BZ#18333]
7217 * time/tzset.c (parse_tzname): Return error on memory allocation
7218 failure.
7219 * test-skeleton.c (struct temp_name_list): Change type of name
7220 member to non-const.
7221 (add_temp_file): Create a copy of the file name.
7222 (delete_temp_files): Deallocate memory.
7223 (create_temp_file): Add comment.
7224
7225 2015-04-24 Florian Weimer <fweimer@redhat.com>
7226
7227 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7228 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7229
7230 2015-04-24 Roland McGrath <roland@hack.frob.com>
7231
7232 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7233 * sysdeps/arm/configure: Regenerated.
7234
7235 2015-04-24 Florian Weimer <fweimer@redhat.com>
7236
7237 [BZ #17715]
7238 * time/tzfile.c (__tzfile_read): Check for large values of
7239 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7240 * time/tzset.c (__tzstring_len): New function, based on the old
7241 __tzstring function.
7242 (__tzstring): Call __tzstring_len.
7243 (parse_tzname): New helper function extracted from
7244 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7245 the input string.
7246 (parse_offset): New helper function extracted from
7247 __tzset_parse_tz. Replace switch with fallthrough with
7248 initialization before sscanf.
7249 (parse_rule): Likewise.
7250 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7251 new-style function definition.
7252 * timezone/Makefile (tests): Add tst-tzset.
7253 (tst-tzset.out): Dependencies on time zone files.
7254 (tst-tzset-ENV): Set TZDIR.
7255 (testdata/XT%): Copy crafted time zone files.
7256 * timezone/README: Mention crafted time zone files.
7257 * timezone/testdata/XT1, timezone/testdata/XT2,
7258 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7259 files.
7260 * timezone/tst-tzset.c: New test.
7261
7262 2015-04-24 Florian Weimer <fweimer@redhat.com>
7263
7264 * Makeconfig (+gccwarn): Remove -Winline.
7265
7266 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7267
7268 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7269
7270 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7271
7272 * NEWS: Mention sysconf() cache information support for s390.
7273 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7274
7275 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7276
7277 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7278 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7279 (__nearbyint): Likewise.
7280 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7281 (copysignl): Likewise.
7282
7283 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7284
7285 [BZ #18287]
7286 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7287 based on padding. (CVE-2015-1781)
7288
7289 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7290
7291 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7292 libc-vdso.h.
7293 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7294 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7295 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7296 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7297 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7298 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7302 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7304 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7305 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7306 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7307 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7308 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7309 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7310 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7311 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7312 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7313 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7314 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7315 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7316
7317 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7318
7319 * stdlib/setenv.c (__add_to_environ):
7320 Dump core quickly if setenv (..., NULL, ...) is called.
7321 This time, do it the right way, and pacify GCC with a pragma.
7322
7323 2015-04-17 Roland McGrath <roland@hack.frob.com>
7324
7325 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7326 IMAP->l_prev cannot be null, and #if out the code for the contrary
7327 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7328 believe that NS (&_dl_ns[NSID]) could point outside the array.
7329
7330 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7331 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7332 before using NSID as an index.
7333
7334 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7335
7336 [BZ #17825]
7337 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7338 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7339 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7340
7341 2015-04-17 Roland McGrath <roland@hack.frob.com>
7342
7343 Add preliminary port to Google Native Client on ARM.
7344 * abi-tags (.*-.*-nacl.*): New entry.
7345 * sysdeps/arm/nacl: New directory.
7346 * sysdeps/nacl: New directory.
7347
7348 2015-04-16 David S. Miller <davem@davemloft.net>
7349
7350 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7351 lowlevellock-futex.h
7352
7353 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7354
7355 * sysdeps/tile/configure.ac: New file.
7356 * sysdeps/tile/configure: Regenerated.
7357
7358 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7359
7360 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7361 conditionals for weak_alias and libc_hidden_weak.
7362 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7363 libc_hidden_weak and weak_alias.
7364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7365 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7366 and weak_alias for static one.
7367
7368 2015-04-15 David S. Miller <davem@davemloft.net>
7369
7370 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7371
7372 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7373
7374 [BZ #18206]
7375 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7376 Use signed comparision instead of substraction to avoid
7377 overflow bug.
7378 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7379 Take the sign of ret.
7380 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7381 Do not expect precise return values. Only the sign matters.
7382 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7383 * wcsmbs/test-wcsncmp.c: New File.
7384 * string/test-strncmp.c: Add wcsncmp support.
7385
7386 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7387
7388 [BZ #6792]
7389 * math/w_log1p.c: New file.
7390 * math/w_log1pf.c: Likewise.
7391 * math/w_log1pl.c: Likewise.
7392 * math/Makefile (libm-calls): Add w_log1p.
7393 * math/s_log1pl.c (log1pl): Remove weak_alias.
7394 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7395 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7396 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7397 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7398 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7399 [NO_LONG_DOUBLE] (log1pl): Likewise.
7400 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7401 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7402 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7403 (log1p): Remove long_double_symbol.
7404 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7405 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7406 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7407 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7408 remove weak_alias for corresponding log1p function.
7409 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7410 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7411 * sysdeps/ia64/fpu/w_log1p.c: New file.
7412 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7413 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7414 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7415
7416 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7417
7418 [BZ #18247]
7419 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7420 decimal exponent by 1.
7421 * stdlib/tst-strtod-round-data: Add more tests.
7422 * stdlib/tst-strtod-round.c (tests): Regenerated.
7423
7424 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7425
7426 * math/auto-libm-test-in: Add more tests of clog and clog10.
7427 * math/auto-libm-test-out: Regenerated.
7428 * sysdeps/i386/fpu/libm-test-ulps: Update.
7429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7430
7431 2015-04-09 Roland McGrath <roland@hack.frob.com>
7432
7433 * Makeconfig (module-cppflags): Exclude all .v.i files.
7434 (skip-module-cppflags): Variable removed.
7435
7436 * configure.ac (libc_config_ok): Initialize before reading
7437 preconfigure scripts, not after.
7438 * configure: Regenerated.
7439
7440 * test-skeleton.c (TIMEOUT): Move #define to top level.
7441 (main): Grok environment variable TEST_DIRECT. If set, print
7442 test expectation details into that file and then behave as if
7443 given --direct.
7444
7445 2015-04-09 Florian Weimer <fweimer@redhat.com>
7446
7447 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7448 warning on 32-bit.
7449
7450 2015-04-08 David S. Miller <davem@davemloft.net>
7451
7452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7453
7454 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7455
7456 * math/auto-libm-test-in: Add more tests of atanh.
7457 * math/auto-libm-test-out: Regenerated.
7458 * sysdeps/i386/fpu/libm-test-ulps: Update.
7459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7460
7461 * math/auto-libm-test-in: Add more tests of atan.
7462 * math/auto-libm-test-out: Regenerated.
7463 * sysdeps/i386/fpu/libm-test-ulps: Update.
7464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7465
7466 2015-04-08 Florian Weimer <fweimer@redhat.com>
7467
7468 * elf/pldd.c (main): Rewrite to use struct
7469 scratch_buffer instead of extend_alloca.
7470 * elf/pldd-xx.c (find_maps): Likewise.
7471 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7472 <alloca.h>.
7473 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7474 scratch_buffer instead of extend_alloca.
7475 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7476 grp/compat-initgroups.c.
7477 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7478 Rewrite to use struct scratch_buffer instead of extend_alloca.
7479 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7480 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7481
7482 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7483
7484 * math/auto-libm-test-in: Add more tests of cbrt.
7485 * math/auto-libm-test-out: Regenerated.
7486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7487
7488 * math/auto-libm-test-in: Add more tests of cabs.
7489 * math/auto-libm-test-out: Regenerated.
7490 * sysdeps/i386/fpu/libm-test-ulps: Update.
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7492
7493 [BZ #18210]
7494 [BZ #18211]
7495 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7496 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7497 computations.
7498 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7499 clog10.
7500 * math/auto-libm-test-out: Regenerated.
7501 * sysdeps/i386/fpu/libm-test-ulps: Update.
7502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7503
7504 [BZ #18197]
7505 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7506 (atan): Set FE_TONEAREST mode for internal computations.
7507 * math/auto-libm-test-in: Add more tests of atan.
7508 * math/auto-libm-test-out: Regenerated.
7509
7510 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7511
7512 [BZ #17930]
7513 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7514
7515 2015-04-07 Florian Weimer <fweimer@redhat.com>
7516
7517 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7518
7519 2015-04-07 Florian Weimer <fweimer@redhat.com>
7520
7521 * include/scratch_buffer.h: New file.
7522 * malloc/scratch_buffer_grow.c: Likewise.
7523 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7524 * malloc/scratch_buffer_set_array_size.c: Likewise.
7525 * malloc/tst-scratch_buffer.c: Likewise.
7526 * malloc/Makefile (routines): Add scratch_buffer_grow.
7527 (tests): Add test case.
7528 * malloc/Versions (GLIBC_PRIVATE): Export
7529 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7530 __libc_scratch_buffer_set_array_size.
7531
7532 2015-04-06 Richard Henderson <rth@redhat.com>
7533
7534 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7535 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7536
7537 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7538 unsigned int before printing.
7539
7540 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7541
7542 [BZ #17596]
7543 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7544 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7545
7546 2015-04-02 Florian Weimer <fweimer@redhat.com>
7547
7548 * include/libc-internal.h (libc_max_align_t): Define.
7549
7550 2015-04-02 Andreas Schwab <schwab@suse.de>
7551
7552 [BZ #16850]
7553 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7554
7555 2015-04-02 Mel Gorman <mgorman@suse.de>
7556
7557 [BZ #17195]
7558 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7559 as well as the main arena.
7560
7561 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7562
7563 [BZ #18185]
7564 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7565 sharing L2 cache to 2 for Silvermont/Knights Landing.
7566
7567 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7568
7569 [BZ #17711]
7570 * config.make.in (have-protected-data): New.
7571 * configure.ac: Check linker support for protected data symbol.
7572 * configure: Regenerated.
7573 * elf/Makefile (modules-names): Add tst-protected1moda and
7574 tst-protected1modb if $(have-protected-data) is yes.
7575 (tests): Add tst-protected1a and tst-protected1b if
7576 $(have-protected-data) is yes.
7577 ($(objpfx)tst-protected1a): New.
7578 ($(objpfx)tst-protected1b): Likewise.
7579 (tst-protected1modb.so-no-z-defs): Likewise.
7580 * elf/tst-protected1a.c: New file.
7581 * elf/tst-protected1b.c: Likewise.
7582 * elf/tst-protected1mod.h: Likewise.
7583 * elf/tst-protected1moda.c: Likewise.
7584 * elf/tst-protected1modb.c: Likewise.
7585
7586 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7587
7588 [BZ #17711]
7589 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7590 indicates it is called from do_lookup_x on relocation against
7591 protected data, skip the data definion in the executable from
7592 copy reloc.
7593 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7594 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7595 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7596 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7597 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7598 otherwise to 0.
7599 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7600 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7601 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7602 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7603 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7604 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7605
7606 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7607
7608 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7609 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7610
7611 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7612
7613 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7614 THREAD_SETMEM_NC.
7615 * sysdeps/x86_64/nptl/tls.h: Ditto.
7616
7617 2015-03-27 Roland McGrath <roland@hack.frob.com>
7618
7619 * dlfcn/tststatic.c (main): Converted to ...
7620 (do_test): ... this.
7621 (TEST_FUNCTION): New macro.
7622 Include test-skeleton.c.
7623
7624 2015-03-26 Alan Modra <amodra@gmail.com>
7625
7626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7627 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7628 zero for undefined weak.
7629 (elf_machine_plt_conflict): Similarly.
7630
7631 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7632
7633 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7634 atanh.
7635 * math/auto-libm-test-out: Regenerated.
7636 * sysdeps/i386/fpu/libm-test-ulps: Update.
7637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7638
7639 * math/auto-libm-test-in: Add another test of asin.
7640 * math/auto-libm-test-out: Regenerated.
7641 * sysdeps/i386/fpu/libm-test-ulps: Update.
7642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7643
7644 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7645 Remove macro.
7646 (LLL_EBX_REG): Likewise.
7647 (LLL_ENTER_KERNEL): Likewise.
7648
7649 * math/auto-libm-test-in: Add more tests of asin.
7650 * math/auto-libm-test-out: Regenerated.
7651 * sysdeps/i386/fpu/libm-test-ulps: Update.
7652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7653
7654 [BZ #18138]
7655 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7656 libc_do_syscall_args): New structure.
7657 (INTERNAL_SYSCALL_MAIN_0): New macro.
7658 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7659 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7660 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7661 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7662 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7663 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7664 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7665 Replace conditional definitions by conditional definitions of ....
7666 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7667 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7668 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7669 (libpthread-sysdep_routines): Add libc-do-syscall.
7670 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7671 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7672 to __NR_futex not 240.
7673
7674 2015-03-25 Alan Modra <amodra@gmail.com>
7675
7676 * NEWS: Advertise TLS optimization.
7677 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7678 (DT_PPC_NUM): Increment.
7679 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7680 (CHECK_STATIC_TLS): Use here.
7681 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7682 TLS descriptors.
7683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7684 * sysdeps/powerpc/dl-tls.c: New file.
7685 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7686 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7687 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7688 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7692
7693 2015-03-25 Alan Modra <amodra@gmail.com>
7694
7695 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7696 for overlapping .opd entries" to "support...".
7697 * sysdeps/powerpc/powerpc64/configure: Regenerate
7698
7699 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7700
7701 * math/auto-libm-test-in: Add more tests of acos.
7702 * math/auto-libm-test-out: Regenerated.
7703 * sysdeps/i386/fpu/libm-test-ulps: Update.
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705
7706 * math/auto-libm-test-in: Add more tests of expm1.
7707 * math/auto-libm-test-out: Regenerated.
7708 * sysdeps/i386/fpu/libm-test-ulps: Update.
7709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7710
7711 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7712
7713 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7714 * math/auto-libm-test-out: Regenerated.
7715 * sysdeps/i386/fpu/libm-test-ulps: Update.
7716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7717
7718 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7720
7721 * math/auto-libm-test-in: Add more tests of log2.
7722 * math/auto-libm-test-out: Regenerated.
7723 * sysdeps/i386/fpu/libm-test-ulps: Update.
7724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7725
7726 2015-03-23 Roland McGrath <roland@hack.frob.com>
7727
7728 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7729 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7730 _IO_IS_APPENDING bit in READ_WRITE instead.
7731
7732 2015-03-23 Florian Weimer <fweimer@redhat.com>
7733
7734 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7735 (__determine_cpumask_size): Replace extend_alloca with a
7736 variable-length array. Do not treat res == 0 as an error.
7737
7738 2015-03-23 Florian Weimer <fweimer@redhat.com>
7739
7740 [BZ #18100]
7741 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7742 and integer overflow.
7743 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7744 (main): Add integer overflow tests.
7745 * manual/pattern.texi (Calling Wordexp): Document additional use
7746 for WRDE_SYNTAX.
7747
7748 2015-03-23 Alan Modra <amodra@gmail.com>
7749
7750 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7751 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7752 and false branch of conditional.
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7754 Likewise.
7755
7756 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7757
7758 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7759 libc-modules.h
7760 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7761 unused declaration of _hurd_intr_rpc_msg_in_trap.
7762 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7763 defined instead of whether it is non-zero.
7764 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7765 input constraint instead of both input and output constraint. Use ecx
7766 clobber instead of %ecx.
7767 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7768 mutex_unlock): Use a statement expression instead of an expression list.
7769 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7770 type to vm_size_t instead of vm_address_t.
7771 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7772 defined instead of whether it is non-zero.
7773 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7774 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7775 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7776 comparisons with mapaddr.
7777 * nscd/nscd-client.h: Include <time.h>.
7778 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7779 9th parameter to __vm_region instead of int.
7780 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7781 * scripts/check-local-headers.sh (exclude): Add device/,
7782 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7783 cthreads.h.
7784
7785 2015-03-19 Roland McGrath <roland@hack.frob.com>
7786
7787 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7788 to account for alignment padding.
7789 * sysdeps/arm/memmove.S: Likewise.
7790
7791 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7792
7793 * sysdeps/unix/sysv/linux/generic/README: New file.
7794
7795 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7796
7797 [BZ #18138]
7798 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7799 (futex_abstimed_wait)
7800 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7801 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7802 of lll_futex_timed_wait.
7803
7804 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7805
7806 [BZ #17542]
7807 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7808
7809 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7810
7811 [BZ #17090]
7812 [BZ #17620]
7813 [BZ #17621]
7814 [BZ #17628]
7815 * NEWS: Update.
7816 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7817 entries with Static TLS too. Skip entries past the end of the
7818 allocated DTV, from Alan Modra.
7819 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7820 Static TLS DTV entry set up from...
7821 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7822 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7823 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7824 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7825 for Static TLS.
7826 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7827 that the slot we find is associated with the given map before
7828 using its generation count.
7829 * nptl_db/db_info.c: Include ldsodefs.h.
7830 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7831 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7832 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7833 (link_map::l_tls_offset): New struct field.
7834 (dtv_t::counter): Likewise.
7835 (rtld_global): New struct.
7836 (_rtld_global): New rtld variable.
7837 (dl_tls_dtv_slotinfo_list): New rtld global field.
7838 (dtv_slotinfo_list): New struct.
7839 (dtv_slotinfo): Likewise.
7840 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7841 (td_lookup): Rename to...
7842 (td_mod_lookup): ... this. Use new mod parameter instead of
7843 LIBPTHREAD_SO.
7844 * nptl_db/td_thr_tlsbase.c: Include link.h.
7845 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7846 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7847 addresses even if the DTV is out of date or missing them.
7848 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7849 index zero-length arrays.
7850 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7851 (td_lookup): Make it a macro implemented in terms of...
7852 (td_mod_lookup): ... this declaration.
7853 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7854 (DB_MAIN_VARIABLE): Likewise.
7855
7856 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 [BZ #18134]
7859 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7860
7861 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7862
7863 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7864
7865 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7866
7867 [BZ #18128]
7868 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7869 (atomic_add, atomic_increment_and_test)
7870 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7871
7872 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7873
7874 * stdlib/setenv.c (__add_to_environ):
7875 Dump core quickly if setenv (..., NULL, ...) is called.
7876
7877 2015-03-13 Roland McGrath <roland@hack.frob.com>
7878
7879 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7880 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7881 all the necessary asm magic in one place.
7882 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7883 using those.
7884
7885 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7886
7887 [BZ #14906]
7888 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7889 traced file mtime. Use consistent log message.
7890 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7891 (register_traced_file): Call install_watches. Always set mtime.
7892 (invalidate_cache): Iterate over all trace files. Call install_watches.
7893 (inotify_check_files): Don't inline. Handle watching parent
7894 directories and configuration file movement in and out.
7895 (handle_inotify_events): New function.
7896 (main_loop_poll): Call handle_inotify_events.
7897 (main_loop_epoll): Likewise.
7898 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7899 (struct traced_file): Use array of inotify fds. Add parent directory,
7900 and basename.
7901 (struct database_dyn): Remove unused file_mtime.
7902 (init_traced_file): New inline function.
7903 (define_traced_file): New macro.
7904 * nss/nss_db/db-init.c: Use define_traced_file.
7905 (_nss_db_init): Use init_traced_file.
7906 * nss/nss_files/files-init.c: Use define_traced_file.
7907 (_nss_files_init): Use init_traced_file.
7908
7909 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7910
7911 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7912 [_LIBC]: Do not include <stdlib.h>.
7913 [!_LIBC] (abort): Remove declaration.
7914 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7915 _FP_STATIC_ASSERT instead of conditionally calling abort.
7916 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7917 (_FP_EXTEND_CNAN): Likewise.
7918 (FP_TRUNC): Likewise.
7919 (__FP_CLZ): Likewise.
7920 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7921
7922 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7923
7924 * manual/string.texi (XPG basename): Fix prototype.
7925
7926 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7927
7928 [BZ #18080]
7929 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7930 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7931 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7932 (__setcontext): Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7934 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7935 Call rt_sigprocmask syscall one time to set new signal mask
7936 and retrieve the current signal mask instead of two calls.
7937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7938 (__swapcontext): Likewise.
7939 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7940 * stdlib/tst-setcontext2.c: New file.
7941
7942 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7943
7944 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7945
7946 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7947
7948 [BZ #18093]
7949 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7950 the wrong size.
7951
7952 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7953
7954 [BZ #18043]
7955 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7956
7957 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7958
7959 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7960 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7961 Remove define.
7962 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7963 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7964 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7965 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7966 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7967 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7968 define.
7969 * nptl_db/td_symbol_list.c (td_lookup): Remove
7970 HAVE_ASM_GLOBAL_DOT_NAME code.
7971 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7972 HAVE_ASM_GLOBAL_DOT_NAME check.
7973 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7974 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7975 (DOT_LABEL): Remove define.
7976 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7977 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7978 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7979 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7980 (__TLS_GET_ADDR): Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7982 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7983
7984 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7985
7986 [BZ #18111]
7987 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7988 (_FPU_SETCW): Initialize cw from fpsr before storing.
7989 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7990 (fesetexceptflag): Rewrite using fpu_control.h.
7991 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7992
7993 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7994
7995 [BZ #18110]
7996 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7997 asms.
7998 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7999
8000 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8001
8002 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8003 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8004 abort.
8005 (_FP_FMA): Likewise.
8006 (_FP_DIV): Likewise.
8007
8008 2015-03-10 Roland McGrath <roland@hack.frob.com>
8009
8010 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8011 with 0 in that case.
8012 * Makefile (summarize-tests): New canned sequence, factored out of
8013 commands for targets tests and xtests. Display summary lines that
8014 don't start with PASS: or XFAIL: rather than ones that do start with
8015 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8016 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8017 do start with ERROR: or FAIL:.
8018 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8019 (except for [$(build-shared) = yes]).
8020 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8021 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8022 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8023 * nptl/Makefile: Revert 2015-03-04 changes.
8024 [$(CXX) empty] (tests-unsupported): New variable.
8025 * debug/Makefile: Likewise.
8026
8027 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8028 gnulib file. Replace __attribute with __attribute__ throughout.
8029
8030 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8031
8032 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8033
8034 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8035
8036 [BZ #18104]
8037 * math/auto-libm-test-in: Add another test of pow.
8038 * math/auto-libm-test-out: Regenerated.
8039
8040 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8041
8042 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8043 $(config-cflags-nofma).
8044
8045 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8046
8047 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8048 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8049 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8050 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8051 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8052 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8053 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8054 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8055 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8056 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8057 Add comment on closing #endif.
8058
8059 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8060
8061 * posix/wordexp.c (CHAR_IN_SET): New macro.
8062 (parse_param): Use it.
8063
8064 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8065
8066 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8067
8068 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8069
8070 [BZ #18043]
8071 * posix/wordexp.c (parse_param): Fix buffer overflow.
8072 * posix/wordexp-test.c (test_case): Add test case.
8073
8074 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8075
8076 [BZ #18042]
8077 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8078 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8079
8080 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8081
8082 [BZ #18043]
8083 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8084 (do_bz18043): Delete.
8085 (at_page_end): New.
8086 (testit): Refactor to have words at the edge of unreadable page.
8087
8088 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8089
8090 [BZ #16734]
8091 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8092 Cleanup read-only streams as well.
8093 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8094
8095 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8096
8097 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8098 <bits/libc-lockP.h>
8099
8100 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8101
8102 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8103 on [__KERNEL__].
8104 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8105 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8106 * soft-fp/op-common.h (_FP_DECL): Likewise.
8107
8108 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8109
8110 * elf/ifuncdep2.c (global): Replace
8111 __attribute__((visibility("protected"))) with
8112 asm (".protected global").
8113 * elf/ifuncmod1.c (global): Likewise.
8114 * elf/ifuncmod5.c (global): Likewise.
8115
8116 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8117
8118 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8119 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8120
8121 2015-03-06 Roland McGrath <roland@hack.frob.com>
8122
8123 * manual/install.texi (Configuring and compiling):
8124 Document test-wrapper-env-only.
8125 * INSTALL: Regenerated.
8126
8127 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8128
8129 [BZ #18043]
8130 * posix/wordexp.c (parse_param): Fix buffer overflow.
8131 * posix/wordexp-test.c (do_bz18043): Add test case.
8132
8133 2015-03-06 Vincent Bernat <vincent@bernat.im>
8134
8135 * time/tst-strptime2.c (do_test): Ensure failing tests are
8136 reported correctly.
8137 * time/tst-strptime3.c (do_test): Likewise.
8138
8139 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8140
8141 Fix aio_error thread-safety.
8142 * sysdeps/pthread/aio_error.c: New file
8143 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8144 synchronization.
8145
8146 2015-03-06 Florian Weimer <fweimer@redhat.com>
8147
8148 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8149 (group_number, vfprintf): Use it.
8150 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8151 (JUMP, REF): Use it.
8152 (WORK_BUFFER_SIZE): New enum constant.
8153 (process_arg, vfprintf): Use it.
8154
8155 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8156
8157 * manual/errno.texi (Error Messages): Complete example function
8158 by adding missing #define.
8159 (program_invocation_name): Add statement indicating GNU
8160 extension and reference which header file declares the variable.
8161 (program_invocation_short_name): Likewise.
8162
8163 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8164
8165 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8166 compatibility note.
8167
8168 2015-03-05 Roland McGrath <roland@hack.frob.com>
8169
8170 * Makeconfig (test-wrapper-env-only): New variable.
8171 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8172 then use that with $(test-wrapper-env-only) rather than using
8173 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8174
8175 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 [BZ #18082]
8178 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8179 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8180 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8181 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8182 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8183 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8184 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8185 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8186 Likewise.
8187 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8188 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8189 Likewise.
8190 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8191 Likewise.
8192 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8193 Likewise.
8194 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8195 Likewise.
8196 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8197 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8198 Likewise.
8199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8200 Likewise.
8201 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8202 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8203
8204 2015-03-04 Roland McGrath <roland@hack.frob.com>
8205
8206 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8207 (ETH_ALEN): New macro.
8208 (struct ether_addr): Use it for length of ether_addr_octet.
8209
8210 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8211 (setdb): Don't call __nss_configure_lookup for "rpc".
8212 (do_test): Don't call test_rpc.
8213 (output_rpcent, test_rpc): Functions moved ...
8214 * sunrpc/test-rpcent.c: ... to this new file.
8215 * sunrpc/Makefile (tests): Add it.
8216
8217 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8218 __xpg_sigpause.
8219 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8220 * nptl/tst-signal6.c: Likewise.
8221 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8222 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8223
8224 * configure.ac (libc_cv_cxx_link_ok): New check.
8225 Reset CXX to empty if it fails to link.
8226 * configure: Regenerated.
8227 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8228 bug-atexit3-lib only if $(CXX) is nonempty.
8229 * nptl/Makefile (tests): Likewise for tst-cancel24.
8230 (tests, tests-static): Likewise for tst-cancel24-static.
8231 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8232 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8233 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8234 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8235
8236 2015-03-04 Andreas Schwab <schwab@suse.de>
8237
8238 [BZ #17631]
8239 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8240 for non-GCC compilers.
8241 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8242 Likewise.
8243
8244 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8245
8246 [BZ #17776]
8247 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8248 integer before bitwise and assembly operations.
8249 (feclearexcept): Likewise.
8250 * math/test-fenvinline.c: New file.
8251 * math/Makefile: Add test-fenvinline test.
8252
8253 2015-03-03 Alan Modra <amodra@gmail.com>
8254
8255 [BZ #16512]
8256 * scripts/localplt.awk: Strip off symbol version.
8257 * NEWS: Mention bug fix.
8258
8259 2015-03-02 Roland McGrath <roland@hack.frob.com>
8260
8261 * sysdeps/pthread/timer_routines.c
8262 (timer_free_list, thread_free_list, thread_active_list): Make static.
8263
8264 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8265
8266 [BZ #17779]
8267 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8268 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8269 Undefine.
8270 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8271 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8272 Likewise.
8273 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8274 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8275 Likewise.
8276
8277 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8278
8279 [BZ #18036]
8280 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8281 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8282
8283 2015-03-02 Andreas Schwab <schwab@suse.de>
8284
8285 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8286 variable name.
8287
8288 2015-03-02 Florian Weimer <fweimer@redhat.com>
8289
8290 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8291 Return error status.
8292
8293 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8294
8295 [BZ #15969]
8296 * locale/findlocale.c (_nl_find_locale): Introduce const
8297 version of loc_name and drop unsafe type casts.
8298
8299 2015-02-27 Roland McGrath <roland@hack.frob.com>
8300
8301 * dlfcn/tststatic2.c (main): Converted to ...
8302 (do_test): ... this.
8303 (TEST_FUNCTION): New macro.
8304 Include test-skeleton.c.
8305
8306 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 [BZ #17711]
8309 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8310 (tests-pie): Add vismain.
8311 (CFLAGS-vismain.c): New.
8312 * elf/vismain.c: Add comments for PIE requirement.
8313
8314 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8315
8316 [BZ #18046]
8317 [BZ #18047]
8318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8319 0x1p-56L as threshold for just returning the argument.
8320 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8321 0x1p-32L as threshold for just returning the argument.
8322 * math/auto-libm-test-in: Add more tests of atanh.
8323 * math/auto-libm-test-out: Regenerated.
8324 * sysdeps/i386/fpu/libm-test-ulps: Update.
8325 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8326
8327 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8328
8329 * string/bcopy.c (bcopy): Call memmove for performance.
8330
8331 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8332
8333 * string/bzero.c (__bzero): Call memset for performance.
8334
8335 2015-02-27 John David Anglin <dave.anglin@bell.net>
8336
8337 [BZ #18068]
8338 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8339 to 00100000.
8340
8341 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8342
8343 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8344
8345 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8346
8347 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8348 (__kernel_standard): Use CSTR macro when setting exc.name.
8349 * sysdeps/ieee754/Makefile [$(subdir) = math]
8350 (CFLAGS-k_standard.c): Remove variable.
8351
8352 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8353 setting p and q from "else if" to "else".
8354 (qzero): Likewise.
8355 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8356 (qone): Likewise.
8357 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8358 (qzerof): Likewise.
8359 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8360 (qonef): Likewise.
8361 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8362 (qzero): Likewise.
8363 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8364 (qone): Likewise.
8365
8366 [BZ #18038]
8367 [BZ #18039]
8368 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8369 return pi/2 for arguments below 0x1p-113L.
8370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8371 return pi/2 for arguments below 0x1p-106L.
8372 * math/auto-libm-test-in: Add more tests of acos.
8373 * math/auto-libm-test-out: Regenerated.
8374
8375 [BZ #16351]
8376 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8377 (MO): New macro.
8378 (__ieee754_asin): Force underflow exception for results with small
8379 absolute value.
8380 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8381 (MO): New macro.
8382 (__ieee754_asinf): Force underflow exception for results with
8383 small absolute value.
8384 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8385 (__ieee754_asin): Force underflow exception for results with small
8386 absolute value.
8387 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8388 (__ieee754_asinf): Force underflow exception for results with
8389 small absolute value.
8390 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8391 (__ieee754_asinl): Force underflow exception for results with
8392 small absolute value.
8393 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8394 (__ieee754_asinl): Force underflow exception for results with
8395 small absolute value.
8396 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8397 (__ieee754_asinl): Force underflow exception for results with
8398 small absolute value.
8399 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8400 Include <math.h>.
8401 * math/auto-libm-test-in: Do not mark underflow exceptions as
8402 possibly missing for bug 16351.
8403 * math/auto-libm-test-out: Regenerated.
8404
8405 [BZ #18030]
8406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8407 of power of 2 down when low part has opposite sign.
8408 * math/libm-test.inc (logb_test_data): Add more tests.
8409
8410 2015-02-26 Andreas Schwab <schwab@suse.de>
8411
8412 [BZ #18032]
8413 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8414 over collating symbol inside a bracket expression. Minor cleanup.
8415 * posix/tst-fnmatch3.c (do_test): Add test case.
8416
8417 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8418
8419 [BZ #18029]
8420 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8421 Adjust exponent of power of 2 down when low part has opposite
8422 sign.
8423 * math/libm-test.inc (ilogb_test_data): Add more tests.
8424
8425 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8426
8427 [BZ #15969]
8428 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8429 the previous change.
8430
8431 [BZ #15969]
8432 * locale/findlocale.c (_nl_find_locale): Retry archive search
8433 after alias expansion.
8434
8435 2015-02-25 Roland McGrath <roland@hack.frob.com>
8436
8437 * iconv/tst-iconv3.c (main): Converted to ...
8438 (do_test): ... this.
8439 (TEST_FUNCTION): New macro.
8440 Include test-skeleton.c.
8441
8442 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8443 (convert): Make function static.
8444 (test_unalign): Likewise. Add const to argument pointee types.
8445 (main): Replace with static function do_test.
8446 Print "Succeeded." only if RET is zero.
8447 (TEST_FUNCTION): New macro.
8448 Include test-skeleton.c.
8449
8450 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8451 returns a null pointer.
8452
8453 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8454
8455 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8456 to __memcpy_ppc only for static builds.
8457
8458 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8459
8460 [BZ #18020]
8461 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8462 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8463 * math/auto-libm-test-in: Add more tests of asinh.
8464 * math/auto-libm-test-out: Regenerated.
8465 * sysdeps/i386/fpu/libm-test-ulps: Update.
8466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8467
8468 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8469
8470 [BZ #15850]
8471 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8472 and ip6_mtuinfo definitions here.
8473 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8474 in this define too. Update comment.
8475
8476 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8477
8478 * elf/sprof.c (load_shobj): Tweak error message to match others.
8479
8480 2015-02-24 Kevin Easton <kevin@guarana.org>
8481
8482 [BZ #16145] (partial fix)
8483 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8484 to reduce lock contention.
8485
8486 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8487
8488 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8489 (struct timex): Update time comment.
8490 (ADJ_SETOFFSET): Define.
8491
8492 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8493
8494 [BZ #18019]
8495 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8496 2**56 not 2**28 as threshold for log (2x) formula.
8497 * math/auto-libm-test-in: Add more tests of acosh.
8498 * math/auto-libm-test-out: Regenerated.
8499 * sysdeps/i386/fpu/libm-test-ulps: Update.
8500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8501
8502 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8503
8504 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8505 parenthesis around the buf assignment.
8506 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8507
8508 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8509
8510 [BZ #16783]
8511 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8512 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8513 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8514 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8515 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8516 * math/libm-test.inc (scalb_test_data): Add more tests.
8517
8518 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8519
8520 [BZ #17916]
8521 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8522 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8523
8524 2015-02-24 Eric Rannaud <e@nanocritical.com>
8525
8526 [BZ #17523]
8527 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8528 * io/bits/fcntl2.h (open): Use it.
8529 (openat): Likewise.
8530 * io/open.c (__libc_open): Likewise.
8531 * io/open64.c (__libc_open64): Likewise.
8532 * io/open64_2.c (__open64_2): Likewise.
8533 * io/open_2.c (__open_2): Likewise.
8534 * io/openat.c (__openat): Likewise.
8535 * io/openat64.c (__openat64): Likewise.
8536 * io/openat64_2.c (__openat64_2): Likewise.
8537 * io/openat_2.c (__openat_2): Likewise.
8538 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8539 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8540 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8541 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8542 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8543 (__open_nocancel): Likewise.
8544 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8545 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8546 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8547
8548 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8549
8550 [BZ #14841]
8551 * resolv/gethnamaddr.c (getanswer): Skip logging if
8552 RES_USE_DNSSEC is set.
8553 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8554
8555 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8556
8557 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8558
8559 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8560
8561 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8562 201304L, for Unicode 7.
8563
8564 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8565
8566 [BZ #17836]
8567 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8568 shared library. Add gmon-start.os otherwise.
8569 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8570 $(objpfx)gmon-start.os if builing shared library.
8571 ($(objpfx)g$(static-start-installed-name)): Likewise.
8572
8573 2015-02-23 Andreas Schwab <schwab@suse.de>
8574
8575 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8576
8577 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8578
8579 [BZ #17269]
8580 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8581 (enlarge_userbuf): Likewise.
8582
8583 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8584
8585 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8586 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8587 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8588 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8589
8590 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8591
8592 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8593 expression inside statement expression.
8594
8595 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8596
8597 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8598 <sysdeps/nptl/lowlevellock.h> and remove macros and
8599 functions that are now defined there.
8600 (SYS_futex): Remove.
8601 (lll_compare_and_swap): Remove.
8602 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8603
8604 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8605
8606 [BZ #17999]
8607 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8608 instead of scandirat.
8609 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8610 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8611 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8612 __scandirat.
8613 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8614 (__scandirat): Declare. Use libc_hidden_proto.
8615 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8616 Remove variable.
8617 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8618
8619 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #15319]
8622 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8623 (MO): New macro.
8624 (__ieee754_atan2): For results with small absolute value, force
8625 underflow exception and remove excess range and precision from
8626 return value.
8627 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8628 (MO): New macro.
8629 (__ieee754_atan2f): For results with small absolute value, force
8630 underflow exception and remove excess range and precision from
8631 return value.
8632 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8633 (MO): New macro.
8634 (__atan): For results with small absolute value, force underflow
8635 exception and remove excess range and precision from return value.
8636 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8637 (MO): New macro.
8638 (__atanf): For results with small absolute value, force underflow
8639 exception and remove excess range and precision from return value.
8640 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8641 <math.h>.
8642 (__ieee754_atan2): Force underflow exception for results with
8643 small absolute value.
8644 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8645 <math_private.h>.
8646 (atan): Force underflow exception for results with small absolute
8647 value.
8648 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8649 (__atanf): Force underflow exception for results with small
8650 absolute value.
8651 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8652 <math.h>.
8653 (__atanl): Force underflow exception for results with small
8654 absolute value.
8655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8656 (__atanl): Force underflow exception for results with small
8657 absolute value.
8658 * sysdeps/x86/fpu/bits/mathinline.h
8659 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8660 (__ieee754_atan2): Only define inline for long double.
8661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8662 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8663 * math/auto-libm-test-in: Do not mark underflow exceptions as
8664 possibly missing for bug 15319. Add more tests of atan2.
8665 * math/auto-libm-test-out: Regenerated.
8666 * math/libm-test.inc (casin_test_data): Do not mark underflow
8667 exceptions as possibly missing for bug 15319.
8668 (casinh_test_data): Likewise.
8669 * sysdeps/i386/fpu/libm-test-ulps: Update.
8670
8671 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8672
8673 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8674 * sysdeps/mips/bits/endian.h: Fix comments.
8675
8676 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8677
8678 [BZ #17996]
8679 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8680 (hdestroy_r): Likewise.
8681 (hsearch_r): Likewise.
8682 (__hcreate_r): Declare and use libc_hidden_proto.
8683 (__hdestroy_r): Likewise.
8684 (__hsearch_r): Likewise.
8685 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8686 (hcreate): Call __hcreate_r instead of hcreate_r.
8687 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8688 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8689 as weak alias of __hcreate_r.
8690 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8691 __hdestroy_r.
8692 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8693 __hsearch_r.
8694 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8695 Remove variable.
8696 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8697 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8698 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8699 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8700
8701 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
8703 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8704 arena_lock into a single arena_get.
8705
8706 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8707
8708 * dl-reloc.c: Inlucde libc-internal.h.
8709 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8710 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8711 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8712 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8713 (grow_heap): Likewise.
8714 * malloc/malloc.c: Include libc-internal.h.
8715 (do_check_malloc): Call powerof2.
8716 (sysmalloc): Use pagesize. Call ALIGN_UP.
8717 (systrim): Use pagesize.
8718 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8719 (__libc_valloc): Use pagesize.
8720 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8721
8722 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8723
8724 [BZ #17991]
8725 * include/sys/resource.h (__getrlimit64): Declare. Use
8726 libc_hidden_proto.
8727 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8728 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8729 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8730 getrlimit64.
8731 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8732 __getrlimit64.
8733 [!getrlimit64] (getrlimit64): Define as weak alias of
8734 __getrlimit64. Use libc_hidden_weak.
8735 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8736 using __getrlimit64 not __new_getrlimit64.
8737 (__GI_getrlimit64): Likewise.
8738 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8739 Likewise.
8740 (__GI_getrlimit64): Likewise.
8741 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8743 (getrlimit): Add __getrlimit64 alias.
8744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8745 Likewise.
8746 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8747 Remove variable.
8748 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8749 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8750
8751 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8752
8753 * libio/fileops.c: Add missing sys/mman.h
8754 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8755
8756 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8757
8758 * manual/math.texi (Errors in Math Functions): Clarify goals
8759 regarding inexact and underflow exceptions.
8760
8761 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8762
8763 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8764 * sysdeps/mips/memset.S: Ditto.
8765
8766 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8767
8768 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8769
8770 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8771
8772 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8773 (__v1longjmp): Remove versioned symbol.
8774 (__v1siglongjmp): Remove alias and versioned symbol.
8775 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8776 (__v2siglongjmp): Likewise.
8777
8778 2015-02-16 Torvald Riegel <triegel@redhat.com>
8779
8780 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8781
8782 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8783
8784 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8785
8786 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8787
8788 [BZ #17987]
8789 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8790 zero result does not depend on the sign resulting from
8791 subtraction.
8792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8793 Likewise.
8794 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8795 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8798 * math/libm-test.inc (remquo_test_data): Add more tests.
8799
8800 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8801
8802 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8803 Problem reported by J William Piggott.
8804
8805 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8806
8807 [BZ #17978]
8808 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8809 products 4 * y and 2 * y where those would overflow.
8810 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8811 Likewise.
8812 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8814 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8816 * math/libm-test.inc (remquo_test_data): Add more tests.
8817
8818 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8819
8820 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8821 [defined _COMPILING_NEWLIB].
8822 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8823 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8824
8825 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8826 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8827
8828 2015-02-16 Torvald Riegel <triegel@redhat.com>
8829
8830 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8831 acquired.
8832
8833 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8834
8835 [BZ #17792]
8836 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8837 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8838 HOST_STACK_END_ADDR): Likewise.
8839
8840 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8841
8842 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8843 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8844 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8845
8846 2015-02-13 Roland McGrath <roland@hack.frob.com>
8847
8848 * sysdeps/generic/c++-types.data: New file.
8849 * sysdeps/generic/ld.abilist: New file.
8850 * sysdeps/generic/libBrokenLocale.abilist: New file.
8851 * sysdeps/generic/libanl.abilist: New file.
8852 * sysdeps/generic/libc.abilist: New file.
8853 * sysdeps/generic/libcrypt.abilist: New file.
8854 * sysdeps/generic/libdl.abilist: New file.
8855 * sysdeps/generic/libm.abilist: New file.
8856 * sysdeps/generic/libpthread.abilist: New file.
8857 * sysdeps/generic/libresolv.abilist: New file.
8858 * sysdeps/generic/librt.abilist: New file.
8859
8860 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8861
8862 [BZ #17569]
8863 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8864 Compute absolute value of x as modified by fmod, not original
8865 value of x.
8866 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8867 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8868 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8869 RUN_TEST_ffI_f1_mod8.
8870 (remquo_test_data): Add more tests.
8871
8872 2015-02-13 Roland McGrath <roland@hack.frob.com>
8873
8874 * sysdeps/init_array/pt-crti.S: New file.
8875
8876 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #17967]
8879 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8880 __builtin_fmaf instead of relying on contraction of a * b + c.
8881
8882 2015-02-12 J William Piggott <elseifthen@gmx.com>
8883
8884 [BZ #17969]
8885 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8886 node.
8887
8888 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8889
8890 [BZ #17964]
8891 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8892 __builtin_fma instead of relying on contraction of a * b + c.
8893
8894 2015-02-12 Roland McGrath <roland@hack.frob.com>
8895
8896 * Makeconfig (ASFLAGS): Add -Werror=undef.
8897 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8898 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8899 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8900
8901 * Makeconfig (after-link): New variable.
8902 (+link-pie, +link-pie-tests): Use it.
8903 (+link-static, +link-static-tests): Likewise.
8904 (+link, +link-tests): Likewise.
8905 * Makerules (build-module, build-module-asneeded): Likewise.
8906 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8907 Likewise.
8908 * elf/Makefile ($(objpfx)ld.so): Likewise.
8909
8910 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8911
8912 [BZ #17965]
8913 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8914 both struct timeval and struct timespec.
8915
8916 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8917
8918 [BZ #16560]
8919 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8920 and redefine.
8921 (__ieee754_exp2l): Do not multiply small fractional parts by
8922 M_LN2l.
8923 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8924 small argument.
8925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8926 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8927 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8928 * math/auto-libm-test-in: Add more tests of exp2.
8929 * math/auto-libm-test-out: Regenerated.
8930
8931 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8932
8933 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8934 unaligned path.
8935
8936 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8937
8938 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8939 little endian.
8940
8941 2015-02-12 Andreas Schwab <schwab@suse.de>
8942
8943 [BZ #15790]
8944 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8945 Filter out elision flags from value returned in kind.
8946 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8947 * nptl/tst-pthread-mutexattr.c: New file.
8948
8949 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8950
8951 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8952 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8953 into gnu-gnu, and update comment to refer to abi-tags.
8954
8955 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8956
8957 [BZ #15467]
8958 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8959 (__sincos): Set errno to EDOM for infinite argument.
8960 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8961 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8962 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8963 (__sincosl): Set errno to EDOM for infinite argument.
8964 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8965 (__sincosl): Set errno to EDOM for infinite argument.
8966 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8967 (__sincosl): Set errno to EDOM for infinite argument.
8968 * math/libm-test.inc (sincos_test_data): Test errno setting.
8969
8970 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8971
8972 * string/strxfrm_l.c: Remove #define STRCMP.
8973 * string/strcoll_l.c: Remove #define STRLEN.
8974 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8975 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8976
8977 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8978
8979 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8980 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8981 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8982 * sysdeps/mips/mips64/Makefile: ... here.
8983 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8984 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8985 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8986 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8987 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8988 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8989 * sysdeps/mips/mips64/n64/Implies: Likewise.
8990
8991 2015-02-10 Roland McGrath <roland@hack.frob.com>
8992
8993 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8994 <sys/time.h>, <string.h>, and <errno.h>.
8995 (dest_offset, dest_address, value, zero): Remove unused variables.
8996 (ldouble): Remove typedef.
8997 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8998 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8999 1). Fix code style.
9000 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9001 (check): Function removed.
9002 (CHECK): New macro.
9003 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9004 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9005 Don't call set_sigaction_FP and remove_sigaction_FP here.
9006 (ldouble_test): Just use 'long double' as macro argument, no need for
9007 the 'ldouble' typedef.
9008 (do_test): Set up SIGFPE handler at start, using plain signal rather
9009 than sigaction. Fix code style.
9010
9011 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9012
9013 [BZ #17949]
9014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9015 jump label.
9016
9017 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9018
9019 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9020 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9021
9022 * sysdeps/powerpc/configure.ac: Remove file.
9023 * sysdeps/powerpc/configure: Likewise.
9024
9025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9026 [sysdep_routines]: Remove wordcopy-power6 object.
9027 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9028 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9029 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9030 (__memmove_ppc32): Likewise.
9031 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9032 file.
9033 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9034 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9035 Remove preprocessor.
9036
9037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9038 [sysdep_routines]: Remove wide chars objects.
9039 [wcsmbs]: New rule for wide char objects.
9040
9041 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9042 Remove wordcopy-power6 obejct.
9043 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9044 Use local call for wordcopy and memcpy symbols.
9045 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9046 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9047 implementation for loader.
9048 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9049
9050 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9051 Remove wordcopy-power7 object.
9052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9054 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9055 (_wordcopy_fwd_dest_aligned): Likewise.
9056 (_wordcopy_bwd_aligned): Likewise.
9057 (_wordcopy_bwd_dest_aligned): Likewise.
9058
9059 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9060 Rewrite to call __memmove_ppc instead of include default
9061 implementation.
9062
9063 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9064 Remove wide chars objects.
9065 [wcsmbs]: New rule for wide char objects.
9066
9067 2015-02-09 Andreas Schwab <schwab@suse.de>
9068
9069 [BZ #17912]
9070 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9071 in terms of __O_DIRECTORY.
9072
9073 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9074
9075 * time/getdate.c: Include <stdbool.h>.
9076 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9077 call PTR_MANGLE.
9078 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9079 PTR_DEMANGLE.
9080
9081 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9082
9083 Add ersatz _Static_assert on older C hosts
9084 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9085 pre-C11 C platform that is not known to support _Static_assert.
9086
9087 2015-02-07 Richard Braun <rbraun@sceen.net>
9088
9089 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9090 sigstate.
9091 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9092
9093 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9094
9095 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9096 priority against unexistent AIO_PRIO_DELTA_MAX.
9097 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9098 instead of int.
9099 * misc/fchflags.c (fchflags): Likewise.
9100 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9101 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9102 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9103 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9104 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9105 Declare macros.
9106 [__USE_MISC] (chflags, fchflags): Declare functions.
9107 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9108 EINVAL when nfds is greater than FD_SETSIZE.
9109 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9110 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9111 45.
9112 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9113 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9114 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9115 MACH_RCV_TIMED_OUT.
9116 * hurd/hurd/signal.h (_hurd_self_sigstate,
9117 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9118 Explicit casts from void *.
9119 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9120 * abi-tags: Rename gnu-gnu os into gnu.
9121
9122 [BZ #4719]
9123 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9124 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9125 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9126 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9127 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9128 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9129
9130 [BZ #17944]
9131 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9132 duplicates ADDR->sun_path with sockaddr LEN limitation.
9133 * sysdeps/mach/hurd/connect.c: Include <string.h>
9134 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9135 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9136 * sysdeps/mach/hurd/sendto.c: Likewise.
9137 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9138 implementing it by hand.
9139
9140 2015-02-06 Roland McGrath <roland@hack.frob.com>
9141
9142 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9143 Use sfi_breg on ldr.
9144 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9145 Likewise.
9146
9147 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9148 it's defined.
9149 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9150 Test SIGSETXID only if it's defined.
9151
9152 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9153
9154 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9155 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9156
9157 * nptl/tst-align2.c: Moved ...
9158 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9159 * nptl/Makefile (tests): Remove tst-align2.
9160 * sysdeps/unix/sysv/linux/Makefile
9161 [$(subdir) = nptl] (tests): Add tst-align-clone.
9162 * nptl/tst-getpid1.c: Moved ...
9163 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9164 * nptl/tst-getpid2.c: Moved ...
9165 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9166 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9167 * sysdeps/unix/sysv/linux/Makefile
9168 [$(subdir) = nptl] (tests): ... here.
9169 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9170 * sysdeps/unix/sysv/linux/Makefile
9171 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9172
9173 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9174 Drop trailing \n from perror argument. Use return rather than exit.
9175
9176 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9177 on [SA_SIGINFO].
9178 * nptl/tst-cancel21.c (do_test): Likewise.
9179 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9180 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9181 [!SA_SIGINFO]: Make it a stub test.
9182
9183 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9184 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9185
9186 * posix/tst-getlogin.c: Move to ...
9187 * login/tst-getlogin.c: ... here.
9188 * posix/Makefile (tests): Move tst-getlogin to ...
9189 * login/Makefile (tests): ... here.
9190
9191 * libio/tst-atime.c (do_test): Move local variables SV and E
9192 inside [ST_NOATIME] conditional.
9193
9194 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9195
9196 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9197
9198 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9199 (wait_code): New function replaces macro.
9200 Call nanosleep rather than syscall.
9201
9202 * nptl/pt-system.c: Rewritten. Put everything under
9203 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9204 Use IFUNC to redirect when possible.
9205
9206 * nptl/pt-longjmp.c: Rewritten. Put everything under
9207 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9208 Use IFUNC to redirect when possible.
9209
9210 * nptl/pt-fork.c: Rewritten. Put everything under
9211 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9212 Use IFUNC to redirect when possible.
9213 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9214
9215 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9216 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9217 unconditionally nowadays. This included the only reference to
9218 __vdso_clock_gettime that appears outside libc proper.
9219 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9220 Remove version set (containing only __vdso_clock_gettime).
9221 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9222 Add attribute_hidden.
9223 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9224 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9225 libc_hidden_data_def.
9226 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9228
9229 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9230 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9231 setrpcent, and getrpcport to ...
9232 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9233 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9234 getrpcbynumber_r, and getrpcent_r to ...
9235 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9236 * inet/getrpcbyname.c: Moved ...
9237 * sunrpc/getrpcbyname.c: ... here.
9238 * inet/getrpcbyname_r.c: Moved ...
9239 * sunrpc/getrpcbyname_r.c: ... here.
9240 * inet/getrpcbynumber.c: Moved ...
9241 * sunrpc/getrpcbynumber.c: ... here.
9242 * inet/getrpcbynumber_r.c: Moved ...
9243 * sunrpc/getrpcbynumber_r.c: ... here.
9244 * inet/getrpcent.c: Moved ...
9245 * sunrpc/getrpcent.c: ... here.
9246 * inet/getrpcent_r.c: Moved ...
9247 * sunrpc/getrpcent_r.c: ... here.
9248 * inet/Makefile (routines): Move those to ...
9249 * sunrpc/Makefile (routines): ... here.
9250 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9251 the $(subdirs) list.
9252 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9253 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9254 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9255 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9256
9257 * elf/Makefile (routines): Include $(all-dl-routines), not just
9258 $(dl-routines).
9259 (rtld-routines): Likewise. Use = rather than :=.
9260 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9261 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9262 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9263 * sysdeps/arm/Makefile: Likewise.
9264 * sysdeps/i386/Makefile: Likewise.
9265 * sysdeps/x86_64/Makefile: Likewise.
9266 * sysdeps/hppa/Makefile [$(subdir) = elf]
9267 (sysdep_routines, sysdep-rtld-routines): Don't add
9268 $(sysdep-dl-routines) to these.
9269 * sysdeps/ia64/Makefile: Likewise.
9270 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9271 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9272 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9273 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9274 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9275 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9277 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9278 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9279 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9280 these; sysdep-dl-routines alone is enough.
9281
9282 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9283
9284 [BZ #17932]
9285 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9286 where multiplication results in zero and third argument is finite
9287 and nonzero.
9288 * math/auto-libm-test-in: Add more tests of fma.
9289 * math/auto-libm-test-out: Regenerated.
9290
9291 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9292 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9293 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9294 (_FP_CMP_EQ): Likewise.
9295 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9296
9297 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9298 extra argument CHECK_NAN. Redefine as wrapper around
9299 _FP_EXTEND_CNAN.
9300
9301 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9302
9303 * version.h (RELEASE): Set to "stable".
9304 (VERSION): Set to "2.21"
9305 * include/features.h (__GLIBC_MINOR__): Set to 21.
9306
9307 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9308
9309 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9310 Paul Eggert <eggert@cs.ucla.edu>
9311
9312 [BZ #16618]
9313 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9314 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9315 size in bytes. Store needed elements in wpmax. Use needed size
9316 in bytes for extend_alloca.
9317
9318 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9319
9320 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9321 binutls 2.25, and texinfo 5.2.
9322 * INSTALL: Regenerate.
9323 * sysdeps/nios2/configure: Regenerate.
9324 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9325 * manual/contrib.texi: Update.
9326 * po/be.po: Update.
9327 * po/bg.po: Update.
9328 * po/ca.po: Update.
9329 * po/cs.po: Update.
9330 * po/da.po: Update.
9331 * po/de.po: Update.
9332 * po/el.po: Update.
9333 * po/eo.po: Update.
9334 * po/es.po: Update.
9335 * po/fi.po: Update.
9336 * po/fr.po: Update.
9337 * po/gl.po: Update.
9338 * po/hr.po: Update.
9339 * po/hu.po: Update.
9340 * po/ia.po: Update.
9341 * po/id.po: Update.
9342 * po/it.po: Update.
9343 * po/ja.po: Update.
9344 * po/ko.po: Update.
9345 * po/lt.po: Update.
9346 * po/nb.po: Update.
9347 * po/nl.po: Update.
9348 * po/pl.po: Update.
9349 * po/pt_BR.po: Update.
9350 * po/ru.po: Update.
9351 * po/rw.po: Update.
9352 * po/sk.po: Update.
9353 * po/sl.po: Update.
9354 * po/sv.po: Update.
9355 * po/tr.po: Update.
9356 * po/uk.po: Update.
9357 * po/vi.po: Update.
9358 * po/zh_CN.po: Update.
9359 * po/zh_TW.po: Update.
9360
9361 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9362 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9363 * sysdeps/hppa/dl-irel.h: Remove #warning.
9364 * sysdeps/hppa/entry.h: Provide prototype for
9365 __canonicalize_funcptr_for_compare and cast argument.
9366 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9367 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9368 * sysdeps/hppa/sotruss-lib.c: New file.
9369 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9370 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9371 (atomic_compare_and_exchange_bool_acq): Likewise.
9372 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9373 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9374
9375 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9376 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9377 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9378
9379 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9380
9381 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9382 called function in non-PIC case.
9383
9384 2015-01-31 David S. Miller <davem@davemloft.net>
9385
9386 * sysdeps/sparc/sparc32/bits/atomic.h
9387 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9388 unlock not after it.
9389 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9390 volatile register usage warnings from the compiler.
9391
9392 * sysdeps/sparc/nptl/sem_init.c: Delete.
9393 * sysdeps/sparc/nptl/sem_post.c: Delete.
9394 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9395 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9396 * sysdeps/sparc/sparc32/sem_init.c: New file.
9397 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9398 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9399 padding explicitly initialized.
9400 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9401 padding for in-semaphore spinlock.
9402 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9403 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9404 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9405 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9406 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9407 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9408 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9409 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9410 version.
9411 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9412 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9413
9414 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9415
9416 [BZ #17801]
9417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9418 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9419 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9420 New.
9421 (index_AVX_Fast_Unaligned_Load): Likewise.
9422 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9423 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9424 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9425 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9426 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9427 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9428 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9429 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9430 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9431
9432 2015-01-29 Andreas Schwab <schwab@suse.de>
9433
9434 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9435
9436 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9437
9438 [BZ #17892]
9439 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9440
9441 2015-01-28 Martin Sebor <msebor@redhat.com>
9442
9443 * math/README.libm-test: Clarify. Add "How to read the test output."
9444
9445 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9446
9447 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9448 Define to 0.
9449
9450 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9451
9452 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9453 (__HAVE_64B_ATOMICS): Define to 0.
9454
9455 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9456
9457 [BZ #17885]
9458 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9459 value to set as new flag.
9460
9461 [BZ #16576]
9462 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9463 and use _ARCH_PPCSQ instead.
9464 (__ieee754_sqrt): Likewise.
9465 (__ieee754_sqrtf): Likewise.
9466 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9467 _ARCH_PPCSQ is defined.
9468 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9469 fsqrt instruction.
9470 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9471 _ARCH_PPCSQ is defined.
9472 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9473 fsqrts instruction.
9474 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9475
9476 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9477
9478 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9479 bug (GCC BZ #64739).
9480
9481 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9482
9483 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9484 Mark _retval as used.
9485 (lll_futex_wake_unlock): Likewise.
9486 (lll_futex_timed_wait_requeue_pi): Likewise.
9487
9488 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9489 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9490 register variables.
9491
9492 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9493 libm_hidden_def.
9494
9495 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9496 (__bswap_64): Mark as __always_inline.
9497
9498 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9499
9500 [BZ #15378]
9501 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9502 when none of the search directories exist.
9503
9504 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9505
9506 [BZ #17869]
9507 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9508 power8 in .machine directive.
9509
9510 [BZ #17868]
9511 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9512 set dependency from opd value.
9513
9514 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9517 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9518 architecture.
9519
9520 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9521
9522 [BZ #17870]
9523 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9524 with uint64_t.
9525 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9526 (uint64_t) 1.
9527 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9528 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9529 Replace 1UL with (uint64_t) 1.
9530 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9531 int with uint64_t.
9532
9533 2015-01-23 Roland McGrath <roland@hack.frob.com>
9534
9535 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9536 (if_freenameindex): Likewise.
9537
9538 * resource/getrlimit64.c: Add missing libc_hidden_def.
9539
9540 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9541
9542 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9543 __label__.
9544 (_FP_FMA): Likewise.
9545 (_FP_TO_INT_ROUND): Likewise.
9546 (_FP_FROM_INT): Likewise.
9547
9548 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9549
9550 [BZ #16418]
9551 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9552 Make code racy and cancel safe.
9553
9554 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9555
9556 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9557 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9558 attribution.
9559
9560 * pwd/tst-getpw.c: Rewrite.
9561
9562 [BZ #17702]
9563 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9564 (modules-names): Add moddummy1 and moddummy2.
9565 ($(objpfx)tst-rec-dlopen): Define.
9566 * dlfcn/moddummy1.c: New file.
9567 * dlfcn/moddummy2.c: New file.
9568 * dlfcn/tst-rec-dlopen.c: New file.
9569 * elf/dl-cache.c (_dl_load_cache_lookup):
9570 Return char*. Copy result with alloca/strcpy/strdup.
9571 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9572 returns char*. Free cached. If not saving realname
9573 free cached.
9574 * elf/dl-open.c (dl_open_worker): Do not assert that
9575 _r_debug->r_state is RT_CONSISTENT.
9576 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9577 returns char*.
9578
9579 2015-01-21 Torvald Riegel <triegel@redhat.com>
9580 Carlos O'Donell <carlos@redhat.com>
9581
9582 [BZ #12674]
9583 * nptl/sem_waitcommon.c: New file.
9584 * nptl/sem_wait.c: Include sem_waitcommon.c.
9585 (__sem_wait_cleanup, do_futex_wait): Remove.
9586 (__new_sem_wait): Adapt.
9587 (__new_sem_trywait): New function.
9588 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9589 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9590 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9591 (sem_timedwait): Adapt.
9592 * nptl/sem_post.c (__new_sem_post): Adapt.
9593 (futex_wake): New function.
9594 (__old_sem_post): Add release MO fence.
9595 * nptl/sem_open.c (sem_open): Adapt.
9596 * nptl/sem_init.c (__new_sem_init): Adapt.
9597 (futex_private_if_supported): New function.
9598 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9599 (__old_sem_getvalue): Add using previous code.
9600 * sysdeps/nptl/internaltypes.h: Adapt.
9601 * nptl/tst-sem13.c (do_test): Adapt.
9602 * nptl/tst-sem11.c (main): Adapt.
9603 * nptl/sem_trywait.c: Remove.
9604 * nptl/DESIGN-sem.txt: Remove.
9605 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9606 (gen-as-const-headers): Remove structsem.sym.
9607 * nptl/structsem.sym: Remove.
9608 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9609 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9610 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9611 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9612 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9613 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9614 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9615 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9616 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9617 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9618 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9619 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9620 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9621 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9622 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9623 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9624 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9625 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9626 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9627 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9628 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9629 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9630
9631 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9632
9633 * INSTALL: Regenerated.
9634
9635 * po/libc.pot: Regenerated.
9636
9637 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9638 Sandra Loosemore <sandra@codesourcery.com>
9639 Andrew Jenner <andrew@codesourcery.com>
9640 Joseph Myers <joseph@codesourcery.com>
9641 Nathan Sidwell <nathan@codesourcery.com>
9642
9643 * NEWS: Mention new Nios II port.
9644 * sysdeps/nios2/Implies: New file.
9645 * sysdeps/nios2/Makefile: New file.
9646 * sysdeps/nios2/Subdirs: New file.
9647 * sysdeps/nios2/Versions: New file.
9648 * sysdeps/nios2/__longjmp.S: New file.
9649 * sysdeps/nios2/abort-instr.h: New file.
9650 * sysdeps/nios2/backtrace.c: New file.
9651 * sysdeps/nios2/bits/endian.h: New file.
9652 * sysdeps/nios2/bits/fenv.h: New file.
9653 * sysdeps/nios2/bits/link.h: New file.
9654 * sysdeps/nios2/bits/setjmp.h: New file.
9655 * sysdeps/nios2/bsd-_setjmp.S: New file.
9656 * sysdeps/nios2/bsd-setjmp.S: New file.
9657 * sysdeps/nios2/configure: New generated file.
9658 * sysdeps/nios2/configure.ac: New file.
9659 * sysdeps/nios2/crti.S: New file.
9660 * sysdeps/nios2/crtn.S: New file.
9661 * sysdeps/nios2/dl-init.c: New file.
9662 * sysdeps/nios2/dl-machine.h: New file.
9663 * sysdeps/nios2/dl-sysdep.h: New file.
9664 * sysdeps/nios2/dl-tls.h: New file.
9665 * sysdeps/nios2/dl-trampoline.S: New file.
9666 * sysdeps/nios2/gccframe.h: New file.
9667 * sysdeps/nios2/gmp-mparam.h: New file.
9668 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9669 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9670 * sysdeps/nios2/ldsodefs.h: New file.
9671 * sysdeps/nios2/libc-tls.c: New file.
9672 * sysdeps/nios2/libm-test-ulps: New file.
9673 * sysdeps/nios2/machine-gmon.h: New file.
9674 * sysdeps/nios2/math-tests.h: New file.
9675 * sysdeps/nios2/math_private.h: New file.
9676 * sysdeps/nios2/memusage.h: New file.
9677 * sysdeps/nios2/nptl/Makefile: New file.
9678 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9679 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9680 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9681 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9682 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9683 * sysdeps/nios2/nptl/tls.h: New file.
9684 * sysdeps/nios2/preconfigure: New file.
9685 * sysdeps/nios2/s_fma.c: New file.
9686 * sysdeps/nios2/s_fmaf.c: New file.
9687 * sysdeps/nios2/setjmp.S: New file.
9688 * sysdeps/nios2/sfp-machine.h: New file.
9689 * sysdeps/nios2/sotruss-lib.c: New file.
9690 * sysdeps/nios2/stackguard-macros.h: New file.
9691 * sysdeps/nios2/stackinfo.h: New file.
9692 * sysdeps/nios2/start.S: New file.
9693 * sysdeps/nios2/sysdep.h: New file.
9694 * sysdeps/nios2/tls-macros.h: New file.
9695 * sysdeps/nios2/tst-audit.h: New file.
9696 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9697 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9698 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9699 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9700 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9701 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9702 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9703 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9704 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9705 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9706 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9707 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9708 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9709 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9710 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9711 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9712 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9713 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9714 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9715 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9716 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9717 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9718 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9719 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9720 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9721 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9722 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9723 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9724 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9725 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9726 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9727 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9728 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9729 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9730 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9731 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9732 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9733 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9734 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9735 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9736 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9737 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9738 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9739 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9740
9741 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9742
9743 [BZ #17844]
9744 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9745 (getutent): Use weak_alias in non SHARED case
9746 and default_symbol_version in SHARED case.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9748 (getutent_r, pututline): Likewise.
9749 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9750 (getutid): Likewise.
9751 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9752 (getutid_r): Likewise.
9753 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9754 (getutline): Likewise.
9755 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9756 (getutline_r): Likewise.
9757 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9758 (updwtmp): Likewise.
9759
9760 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9761
9762 [BZ #17848]
9763 * sysdeps/s390/s390-32/memcmp.S
9764 (memcmp_g5): Rename to __memcmp_g5.
9765 * sysdeps/s390/s390-32/memcpy.S
9766 (memcpy_g5): Rename to __memcpy_g5.
9767 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9768 (memcpy_mvcle) Rename to __memcpy_mvcle.
9769 * sysdeps/s390/s390-32/memset.S
9770 (memset_g5): Rename to __memset_g5.
9771 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9772 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9773 and use prefixed functions.
9774 * sysdeps/s390/s390-32/multiarch/memcmp.S
9775 (memcmp_z196): Rename to __memcmp_z196.
9776 (memcmp_z10): Rename to __memcmp_z10.
9777 (memcmp): Set alias to __memcmp_g5.
9778 (bcmp): Set alias to __memcmp_g5.
9779 * sysdeps/s390/s390-32/multiarch/memcpy.S
9780 (memcpy_z196): Rename to __memcpy_z196.
9781 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9782 (memcpy_z10): Rename to __memcpy_z10.
9783 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9784 (memcpy): Set alias to __memcpy_g5.
9785 * sysdeps/s390/s390-32/multiarch/memset.S
9786 (memset_z196): Rename to __memset_z196.
9787 Jump to __memset_mvcle instead of memset_mvcle.
9788 (memset_z10): Rename to __memset_z10.
9789 Jump to __memset_mvcle instead of memset_mvcle.
9790 (memset_mvcle) Rename to __memset_mvcle.
9791 (memset): Set alias to __memset_g5.
9792 * sysdeps/s390/s390-64/memcmp.S
9793 (memcmp_z900): Rename to __memcmp_z900.
9794 * sysdeps/s390/s390-64/memcpy.S
9795 (memcpy_z900): Rename to __memcpy_z900.
9796 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9797 (memcpy_mvcle) Rename to __memcpy_mvcle.
9798 * sysdeps/s390/s390-64/memset.S
9799 (memset_z900): Rename to __memset_z900.
9800 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9801 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9802 and use prefixed functions.
9803 * sysdeps/s390/s390-64/multiarch/memcmp.S
9804 (memcmp_z196): Rename to __memcmp_z196.
9805 (memcmp_z10): Rename to __memcmp_z10.
9806 (memcmp): Set alias to __memcmp_z900.
9807 (bcmp): Set alias to __memcmp_z900.
9808 * sysdeps/s390/s390-64/multiarch/memcpy.S
9809 (memcpy_z196): Rename to __memcpy_z196.
9810 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9811 (memcpy_z10): Rename to __memcpy_z10.
9812 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9813 (memcpy): Set alias to __memcpy_z900.
9814 * sysdeps/s390/s390-64/multiarch/memset.S
9815 (memset_z196): Rename to __memset_z196.
9816 Jump to __memset_mvcle instead of memset_mvcle.
9817 (memset_z10): Rename to __memset_z10.
9818 Jump to __memset_mvcle instead of memset_mvcle.
9819 (memset_mvcle) Rename to __memset_mvcle.
9820 (memset): Set alias to __memset_z900.
9821
9822 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9823
9824 [BZ #17748]
9825 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9826 __fesetenv instead of fesetenv.
9827
9828 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
9830 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9831 macro.
9832
9833 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9834
9835 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9836 regression on LE.
9837
9838 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9839 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9840 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9841 strncmp-power8 object.
9842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9843 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9844 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9845 * NEWS: Update.
9846
9847 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9848 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9849
9850 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9851 trailing byte check.
9852
9853 2015-01-13 David S. Miller <davem@davemloft.net>
9854
9855 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9856
9857 2015-01-13 Roland McGrath <roland@hack.frob.com>
9858
9859 * login/logout.c (logout): Use memset rather than bzero.
9860 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9861 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9862 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9863 (_gethtbyaddr): Likewise.
9864 * locale/programs/simple-hash.c (bcopy): Macro removed.
9865
9866 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867
9868 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9869 Add strcmp-power8 object.
9870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9871 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9872 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9873 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9874 __strcmp_power8 implementation.
9875 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9876 * NEWS: Update.
9877
9878 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9879 Add strncpy-power8 and stpncpy-power8 objects.
9880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9881 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9882 implementations.
9883 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9884 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9885 __stpncpy_power8 implementation.
9886 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9888 __strncpy_power8 implementation.
9889 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9890 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9891 * NEWS: Update.
9892
9893 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9894 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9895 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9896
9897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9898 strncat-power8 object.
9899 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9900 __strcat_power8 implementation.
9901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9902 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9903 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9904 optimized strcat for power8.
9905
9906 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9907 strcpy-power8 and stpcpy-power8 objects.
9908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9909 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9910 implementations.
9911 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9912 multiarch stpcpy implementation for POWER8.
9913 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9914 multiarch strcpy implementation for POWER8.
9915 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9916 __strcpy_power8 function.
9917 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9918 stpcpy for POWER8.
9919 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9920 strcpy for POWER8.
9921 * NEWS: Update.
9922
9923 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9924
9925 [BZ #16009]
9926 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9927 weights and rules. Use do_xfrm_cached if data fits in cache,
9928 do_xfrm otherwise. Moved former main loop to...
9929 * (do_xfrm_cached): New function.
9930 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9931 find_idx, find_position and stack_push.
9932 * (find_idx): New function.
9933 * (find_position): Likewise.
9934 * localedata/sort-test.sh: Added test run for do_xfrm.
9935 * localedata/xfrm-test.c (main): Added command line option
9936 -nocache to run the test with strings that are too large for
9937 the STRXFRM cache.
9938
9939 2015-01-13 Torvald Riegel <triegel@redhat.com>
9940
9941 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9942 variable to lll_futex_wake call, not the value itself.
9943
9944 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9945
9946 [BZ #17803]
9947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9948 twom64. Adjust value to 0x1p-64L.
9949 (__scalblnl): Only return standard underflowing result for K <=
9950 -64 not K <= -63; adjust exponent for underflowing result by 64
9951 not 63.
9952 * math/libm-test.inc (scalbn_test_data): Add more tests.
9953 (scalbln_test_data): Likewise.
9954
9955 [BZ #17834]
9956 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9957 0x1p63L.
9958 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9959 not HX.
9960 * math/libm-test.inc (scalbn_test_data): Add more tests.
9961 (scalbln_test_data): Likewise.
9962
9963 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9964 Stefani Seibold <stefani@seibold.net>
9965
9966 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9967 (sysdep_routines): Add dl-vdso here, ...
9968 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9969 (sysdep_routines): ... not here.
9970 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9971 fallback when vDSO is not presented.
9972 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9973 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9974 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9975 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9976 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9977 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9978 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9980 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9982 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9983 fallback configurable symbol when vDSO is not available.
9984 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9985 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9986 be able to redefine fallback symbol when vDSO is not available.
9987 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9988 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9989
9990 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9991
9992 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9993 (TLS_INIT_TP): Add tm_capable initialization.
9994 (TLS_DEFINE_INIT_TP): Likewise.
9995 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9996 TCB.
9997 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9998 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9999 calculation.
10000 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10001 transactoion is lock elision is built and TCB tm_capable is set.
10002 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10004 (INTERNAL_SYSCALL_NCS): Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10006 (INTERNAL_SYSCALL_NCS): Likewise.
10007 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10008
10009 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10010 for powerpc.
10011 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10012 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10013 and remove it for 32 bits case.
10014 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10016 initialization.
10017 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10018 Disable lock elision with rdlocks if elision is not available.
10019
10020 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10021 (sysdep_routines): Add lock elision objects.
10022 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10023 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10024 [pthread_mutex_t] (__elision): Add field.
10025 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10026 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10027 elision definitions for powerpc.
10028 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10029 implementation of lock elision for powerpc.
10030 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10031 implementation of timed lock elision for powerpc.
10032 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10033 implementation of trylock with lock elision for powerpc.
10034 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10035 implementaion of unlock for lock elision for powerpc.
10036 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10037 automatic enable lock elision for mutexes.
10038 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10039 transaction execution definitions for powerpc.
10040 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10041 definitions.
10042 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10043 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10044 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10045 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10046 * NEWS: Update.
10047
10048 2015-01-09 Roland McGrath <roland@hack.frob.com>
10049
10050 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10051 for #include of <shm-directory.h>.
10052
10053 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10054
10055 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10056 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10057
10058 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10059
10060 [BZ #17791]
10061 * NEWS: Mention bug fix.
10062 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10063 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10064 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10065
10066 2015-01-09 Torvald Riegel <triegel@redhat.com>
10067
10068 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10069
10070 2015-01-09 Torvald Riegel <triegel@redhat.com>
10071
10072 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10073
10074 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10075
10076 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10077 pointer and cast to uintptr_t.
10078
10079 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10080
10081 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10082 removed.
10083 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10084
10085 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10086
10087 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10088 of 0.
10089
10090 2015-01-08 Roland McGrath <roland@hack.frob.com>
10091
10092 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10093 <nptl/pthreadP.h> instead.
10094 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10095
10096 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10097 already defined.
10098 [__SIGRTMIN] (init): Function removed.
10099 [__SIGRTMIN] (initialized): Variable removed.
10100 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10101 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10102 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10103 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10104 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10105 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10106 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10107 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10108 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10109 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10110 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10111 * sysdeps/nptl/allocrtsig.c: New file.
10112 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10113 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10114 * sysdeps/generic/testrtsig.h: File removed.
10115
10116 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10117 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10118
10119 * nptl/nptl-init.c (pthread_functions): Conditionalize
10120 .ptr__nptl_setxid initialization on [SIGSETXID].
10121
10122 * sysdeps/nptl/sys/procfs.h: New file.
10123 * nptl_db/Makefile (headers): Add it.
10124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10125
10126 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10127 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10128 * nptl/pthread_attr_setaffinity.c: Include it.
10129 * nptl/pthread_setattr_default_np.c: Likewise.
10130 * nptl/check-cpuset.h: New file.
10131
10132 2015-01-08 Richard Henderson <rth@redhat.com>
10133
10134 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10135 (CFLAGS-tst-execstack-prog.c): Likewise.
10136 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10137
10138 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10139 Sandra Loosemore <sandra@codesourcery.com>
10140 Andrew Jenner <andrew@codesourcery.com>
10141 Joseph Myers <joseph@codesourcery.com>
10142 Nathan Sidwell <nathan@codesourcery.com>
10143
10144 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10145 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10146 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10147 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10148 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10149 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10150 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10151 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10152 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10153 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10154 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10155 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10156 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10157 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10158 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10159 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10160 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10161
10162 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10163
10164 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10165 timespec struct member in syscall macro.
10166 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10167 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10168 first timeval struct member in syscall macro.
10169 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10170
10171 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10172
10173 [BZ #17748]
10174 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10175 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10176 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10177 __feupdateenv and define as weak alias of __feupdateenv. Use
10178 libm_hidden_weak.
10179 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10180 libm_hidden_def.
10181 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10182 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10183 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10184 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10185 libm_hidden_def.
10186 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10187 __feupdateenv and define as weak alias of __feupdateenv. Use
10188 libm_hidden_weak.
10189 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10190 libm_hidden_def.
10191 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10192 __feupdateenv and define as weak alias of __feupdateenv. Use
10193 libm_hidden_weak.
10194 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10195 libm_hidden_def.
10196 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10197 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10198 (__feupdateenv): Likewise.
10199 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10200 __feupdateenv and define as weak alias of __feupdateenv. Use
10201 libm_hidden_weak.
10202 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10203 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10204 libm_hidden_def.
10205 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10206 function.
10207 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10208 libm_hidden_def.
10209 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10210 __feupdateenv instead of feupdateenv.
10211 (default_libc_feupdateenv_test): Likewise.
10212 (libc_feresetround_ctx): Likewise.
10213
10214 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10215
10216 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10217 prototype.
10218
10219 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10220
10221 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10222 COLL_SYM in a couple of places to avoid uninitialized variable
10223 wanings on tilegx gcc 4.8.2.
10224
10225 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10226
10227 * sysdeps/aarch64/strcpy.S: New file.
10228 * sysdeps/aarch64/stpcpy.S: New file.
10229 * NEWS: Updated.
10230
10231 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10232
10233 * sysdeps/aarch64/strrchr.S: New file.
10234 * NEWS: Updated.
10235
10236 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10237
10238 [BZ #17658]
10239 * stdlib/setenv.c: Fix memory leak when setting large,
10240 duplicate string.
10241
10242 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10243
10244 [BZ #17273]
10245 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10246 and tabs from buffer before parsing fstab entry.
10247 * misc/tst-mntent.c (main): Add test for mount entry with
10248 trailing spaces and tabs.
10249
10250 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #17748]
10253 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10254 * math/fesetround.c (fesetround): Rename to __fesetround and
10255 define as weak alias of __fesetround. Use libm_hidden_weak.
10256 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10257 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10258 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10259 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10260 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10261 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10262 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10263 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10264 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10265 __fesetround_inline.
10266 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10267 __fesetround_inline instead of __fesetround.
10268 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10269 __fesetround and define as weak alias of __fesetround. Use
10270 libm_hidden_weak. Call __fesetround_inline instead of
10271 __fesetround.
10272 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10273 __fesetround and define as weak alias of __fesetround. Use
10274 libm_hidden_weak.
10275 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10276 Likewise.
10277 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10278 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10279 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10280 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10281 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10282 __fesetround and define as weak alias of __fesetround. Use
10283 libm_hidden_weak.
10284 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10285 __fesetround instead of fesetround.
10286 (default_libc_feholdexcept_setround): Likewise.
10287 (libc_feholdsetround_ctx): Likewise.
10288 (libc_feholdsetround_noex_ctx): Likewise.
10289
10290 [BZ #17748]
10291 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10292 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10293 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10294 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10295 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10296 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10297 define as weak alias of __fesetenv. Use libm_hidden_weak.
10298 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10299 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10300 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10301 define as weak alias of __fesetenv. Use libm_hidden_weak.
10302 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10303 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10304 define as weak alias of __fesetenv. Use libm_hidden_weak.
10305 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10306 libm_hidden_def.
10307 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10308 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10309 Likewise.
10310 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10311 define as weak alias of __fesetenv. Use libm_hidden_weak.
10312 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10313 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10314 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10315 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10316 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10317 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10318 __fesetenv instead of fesetenv.
10319 (libc_feresetround_noex_ctx): Likewise.
10320 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10321 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10322 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10323 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10324 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10325 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10326 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10327 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10328 (__feupdateenv): Likewise.
10329 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10330 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10331 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10332 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10333
10334 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10335
10336 [BZ #17806]
10337 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10338 addresses have been freed.
10339
10340 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10341
10342 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10343 and nservall.
10344
10345 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10346
10347 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10348 Clean up check_pf allocation pattern. addresses
10349
10350 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10351
10352 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10353 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10354 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10355 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10356 * nptl/pthread_join.c (pthread_join): Likewise.
10357 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10358 * sysdeps/posix/waitid.c (__waitid): Likewise.
10359 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10360 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10361 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10362 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10364 Likewise.
10365 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10366 (__libc_pread64): Likewise.
10367 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10368 (__libc_pwrite): Likewise.
10369 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10370 (__libc_pwrite64): Likewsie.
10371 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10372 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10373 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10374 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10375 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10376 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10377 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10379 Likewise.
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10381 (__libc_pread64): Likewise.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10383 Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10385 (__libc_pwrite64): Likewise.
10386 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10387 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10388 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10389 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10390 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10391 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10392 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10393 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10394 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10395 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10396 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10397 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10398 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10399 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10400 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10401 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10402 Likewise.
10403
10404 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10405
10406 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10407 (CFLAGS-test-double.c): Likewise.
10408 (CFLAGS-test-ldouble.c): Likewise.
10409 (CPPFLAGS-test-ifloat.c): Likewise.
10410 (CPPFLAGS-test-idouble.c): Likewise.
10411 (CPPFLAGS-test-ildoubl.c): Likewise.
10412 (CFLAGS-test-test-fenv.c): Remove variable.
10413 (CFLAGS-test-misc.c): Likewise.
10414
10415 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 [BZ #17797]
10418 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10419 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10420 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10421 CLOCKS_PER_SEC == 1000000.
10422 * time/clocktest.c (main): Replace %ld with %jd and cast to
10423 intmax_t.
10424
10425 2015-01-05 Roland McGrath <roland@hack.frob.com>
10426
10427 * sysdeps/generic/unwind-resume.h: New file.
10428 * sysdeps/gnu/unwind-resume.c: Include it.
10429 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10430 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10431 argument list.
10432 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10433 global rather than static.
10434 (_Unwind_Resume): Update user.
10435 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10436 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10437 rather than static. Add __attribute__ ((cold)).
10438 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10439 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10440 * sysdeps/arm/arm-unwind-resume.S: New file.
10441 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10442 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10443 * sysdeps/arm/Makefile [$(subdir) = csu]
10444 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10445 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10446 Add rt-arm-unwind-resume.
10447 [$(subdir) = nptl]
10448 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10449 Add pt-arm-unwind-resume.
10450 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10451 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10452
10453 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10454
10455 [BZ #17748]
10456 * include/fenv.h (__feholdexcept): Declare. Use
10457 libm_hidden_proto.
10458 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10459 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10460 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10461 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10462 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10463 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10464 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10465 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10466 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10467 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10468 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10469 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10470 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10471 (feholdexcept): Likewise.
10472 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10473 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10474 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10475 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10476 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10477 __feholdexcept instead of feholdexcept.
10478 (default_libc_feholdexcept_setround): Likewise.
10479
10480 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10481
10482 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10483 to avoid using stl/str to align destination.
10484
10485 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10486
10487 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10488
10489 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10490
10491 [BZ #17796]
10492 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10493 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10494 Define as weak alias not strong alias.
10495
10496 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10497
10498 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10499 bltzal with addiupc.
10500 (RTLD_START): Ditto.
10501
10502 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10503
10504 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10505 for __vdso_* functions in declarations.
10506 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10507 definitions.
10508 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10509 INTERNAL_VSYSCALL): Use struct return types to check for error.
10510
10511 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10512 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10513 function with cast from llround().
10514 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10515 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10516 Define.
10517
10518 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10519
10520 [BZ #17793]
10521 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10522 Define as weak alias not strong alias.
10523
10524 [BZ #17635]
10525 * ctype/ctype-c99.c: New file. isblank implementation moved from
10526 ...
10527 * ctype/ctype-extn.c: ... here.
10528 (__isblank_l): Move to ...
10529 * ctype/ctype-c99_l.c: ... here. New file.
10530 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10531 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10532 Remove variable.
10533 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10534 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10535 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10536 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10537 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10538
10539 [BZ #17777]
10540 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10541 (posix_fadvise64): Define as weak alias not strong alias.
10542 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10543 (posix_fallocate64): Likewise.
10544 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10545 Remove variable.
10546 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10547 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10548 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10549 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10550 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10551
10552 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10553
10554 [BZ #16191]
10555 * NEWS: Mention bug fix.
10556 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10557 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10558 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10559 (HOST_STACK_END_ADDR): Likewise.
10560
10561 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10562
10563 [BZ #17748]
10564 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10565 * math/fegetround.c (fegetround): Rename to __fegetround and
10566 define as weak alias of __fegetround. Use libm_hidden_weak.
10567 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10568 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10569 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10570 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10571 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10572 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10573 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10574 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10575 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10576 Undefine after rather than before function definition; use
10577 parentheses around function name in definition.
10578 (__fegetround): Also undefine macro after function definition.
10579 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10580 __fegetround and define as weak alias of __fegetround. Use
10581 libm_hidden_weak. Do not undefine as macro.
10582 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10583 Likewise.
10584 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10585 __fegetround and define as weak alias of __fegetround. Use
10586 libm_hidden_weak.
10587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10588 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10589 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10590 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10591 __fegetround and define as weak alias of __fegetround. Use
10592 libm_hidden_weak.
10593 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10594 __fegetround instead of fegetround.
10595
10596 [BZ #17782]
10597 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10598 Condition macro definition on [__USE_MISC].
10599
10600 [BZ #17781]
10601 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10602 (struct sigaction): Change type of sa_flags field to int.
10603
10604 [BZ #17780]
10605 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10606 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10607 __glibc_reserved0.
10608
10609 * nptl/version.c (banner): Use single year in copyright notice.
10610
10611 * NEWS: Update copyright dates.
10612 * catgets/gencat.c (print_version): Likewise.
10613 * csu/version.c (banner): Likewise.
10614 * debug/catchsegv.sh: Likewise.
10615 * debug/pcprofiledump.c (print_version): Likewise.
10616 * debug/xtrace.sh (do_version): Likewise.
10617 * elf/ldconfig.c (print_version): Likewise.
10618 * elf/ldd.bash.in: Likewise.
10619 * elf/pldd.c (print_version): Likewise.
10620 * elf/sotruss.sh: Likewise.
10621 * elf/sprof.c (print_version): Likewise.
10622 * iconv/iconv_prog.c (print_version): Likewise.
10623 * iconv/iconvconfig.c (print_version): Likewise.
10624 * locale/programs/locale.c (print_version): Likewise.
10625 * locale/programs/localedef.c (print_version): Likewise.
10626 * login/programs/pt_chown.c (print_version): Likewise.
10627 * malloc/memusage.sh (do_version): Likewise.
10628 * malloc/memusagestat.c (print_version): Likewise.
10629 * malloc/mtrace.pl: Likewise.
10630 * manual/libc.texinfo: Likewise.
10631 * nptl/version.c (banner): Likewise.
10632 * nscd/nscd.c (print_version): Likewise.
10633 * nss/getent.c (print_version): Likewise.
10634 * nss/makedb.c (print_version): Likewise.
10635 * posix/getconf.c (main): Likewise.
10636 * scripts/test-installation.pl: Likewise.
10637 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10638
10639 2015-01-02 Will Newton <will.newton@linaro.org>
10640
10641 * sysdeps/arm/armv7/configure: Removed.
10642 * sysdeps/arm/armv7/configure.ac: Likewise.
10643
10644 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10645
10646 * All files with FSF copyright notices: Update copyright dates
10647 using scripts/update-copyrights.
10648 * intl/plural.c: Regenerated.
10649 * locale/programs/charmap-kw.h: Likewise.
10650 * locale/programs/locfile-kw.h: Likewise.
10651
10652 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10653
10654 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10655
10656 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10657
10658 [BZ #17748]
10659 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10660 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10661 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10662 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10663 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10664 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10665 define as weak alias of __fegetenv. Use libm_hidden_weak.
10666 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10667 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10668 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10669 define as weak alias of __fegetenv. Use libm_hidden_weak.
10670 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10671 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10672 define as weak alias of __fegetenv. Use libm_hidden_weak.
10673 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10674 libm_hidden_def.
10675 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10676 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10677 Likewise.
10678 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10679 define as weak alias of __fegetenv. Use libm_hidden_weak.
10680 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10681 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10682 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10683 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10684 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10685 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10686 __fegetenv instead of fegetenv.
10687 (libc_feholdsetround_noex_ctx): Likewise.
10688
10689 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10690
10691 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10692 (Elf_MIPS_ABIFlags_v0): New structure.
10693 (EF_MIPS_FP64): Define.
10694 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10695 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10696 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10697 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10698 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10699 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10700 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10701 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10702 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10703 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10704 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10705 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10706 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10707 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10708 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10709 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10710 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10711 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10712 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10713 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10714 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10715 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10716 field.
10717 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10718 EF_MIPS_FP64.
10719 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10720 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10721 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10722 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10723 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10724 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10725 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10726 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10727 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10728 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10729 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10730 record the current FP ABI extension.
10731 (mips-mode-switch): Define to show if kernel headers support mode
10732 switching.
10733 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10734 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10735 supported SYSV ABI version to 3.
10736 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10737 feature.
10738
10739 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10740 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741
10742 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10743 path.
10744 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10745
10746 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10747
10748 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10749 __fegetround and redefine to call __fegetround. Remove condition
10750 on [!__NO_MATH_INLINES].
10751 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10752 function.
10753 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10754 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10755 Remove macro.
10756 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10757 instead of <fenv_libc.h>.
10758 (__llrintl): Call fegetround instead of __fegetround.
10759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10760 instead of <fenv_libc.h>.
10761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10762 (__lrintl): Call fegetround instead of __fegetround.
10763 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10764 instead of <fenv_libc.h>.
10765 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10766 (__rintl): Call fegetround instead of __fegetround.
10767
10768 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10769
10770 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10771 arrays.
10772
10773 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 [BZ #17775]
10776 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10777 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10778 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10779
10780 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10781
10782 * sysdeps/i386/tls-macros.h: Include <features.h>.
10783 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10784 (TLS_IE): Likewise.
10785 (TLS_LD): Likewise.
10786 (TLS_GD): Likewise.
10787 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10788 define for GCC >= 5.0.
10789
10790 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10791
10792 * math/test-fenv.c (test_single_exception, set_single_exc,
10793 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10794 feexcp_mask_test, feenable_test, fe_single_test): Add
10795 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10796 case where they are not used.
10797 * math/libm-test.inc: Likewise.
10798 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10799 unused in the absence of FP rounding/exception support.
10800 * stdio-common/tst-printf-round.c: Likewise.
10801 * stdlib/tst-strtod-round.c: Likewise.
10802 * stdlib/tst-strtod-underflow.c: Likewise.
10803
10804 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10805
10806 [BZ #17723]
10807 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10808 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10809 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10810 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10811 libm_hidden_weak.
10812 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10813 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10814 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10815 libm_hidden_def.
10816 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10817 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10818 libm_hidden_weak.
10819 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10820 Likewise.
10821 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10822 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10823 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10824 libm_hidden_weak.
10825 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10826 libm_hidden_def.
10827 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10828 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10829 (__feraiseexcept): Likewise.
10830 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10831 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10832 libm_hidden_weak.
10833 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10834 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10835 libm_hidden_def.
10836 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10837 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10838 Use libm_hidden_def.
10839 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10840 libm_hidden_def.
10841 (feraiseexcept): Define as weak not strong alias. Use
10842 libm_hidden_weak.
10843 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10844 New inline function. Factored out of ...
10845 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10846 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10847 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10848 feraiseexcept.
10849 * math/w_acos.c (__acos): Likewise.
10850 * math/w_asin.c (__asin): Likewise.
10851 * math/w_ilogb.c (__ilogb): Likewise.
10852 * math/w_j0.c (y0): Likewise.
10853 * math/w_j1.c (y1): Likewise.
10854 * math/w_jn.c (yn): Likewise.
10855 * math/w_log.c (__log): Likewise.
10856 * math/w_log10.c (__log10): Likewise.
10857 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10858 * sysdeps/aarch64/fpu/math_private.h
10859 (libc_feupdateenv_test_aarch64): Likewise.
10860 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10861 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10862 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10863 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10864 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10865 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10866 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10867 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10868 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10869 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10870
10871 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10872
10873 [BZ #17732]
10874 * io/test-utime.c (main): Replace %ld with %jd and cast to
10875 intmax_t.
10876 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10877 * nptl/tst-mutex5.c: Include <stdint.h>.
10878 (do_test): Replace %ld with %jd and cast to intmax_t.
10879 * posix/tst-regex.c (run_test): Likewise.
10880 (run_test_backwards): Likewise.
10881 * rt/tst-clock.c: Include <stdint.h>.
10882 (clock_test): Replace %ld with %jd and cast to intmax_t.
10883 * rt/tst-cpuclock1.c: Include <stdint.h>.
10884 (do_test): Replace %lu with %ju and cast to uintmax_t.
10885 * rt/tst-cpuclock2.c: Include <stdint.h>.
10886 (do_test): Replace %lu with %ju and cast to uintmax_t.
10887 * rt/tst-mqueue1.c: Include <stdint.h>.
10888 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10889 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10890 intmax_t.
10891 * rt/tst-mqueue4.c (do_test): Likewise.
10892 * rt/tst-timer4.c: Include <stdint.h>.
10893 (check_ts): Replace %ld with %jd and cast to intmax_t.
10894 (do_test): Likewise.
10895 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10896 and cast to intmax_t.
10897 * sysdeps/pthread/tst-timer.c (main): Likewise.
10898 * time/clocktest.c (main): Likewise.
10899 * time/tst-posixtz.c (do_test): Likewise.
10900 * timezone/tst-timezone.c (main): Likewise.
10901
10902 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10903 H.J. Lu <hongjiu.lu@intel.com>
10904
10905 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10906 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10907 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10908 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10909 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10910 version if bit_Fast_Unaligned_Load is set.
10911 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10912 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10913 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10914 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10915 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10916 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10918 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10919 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10920 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10921 to 4.
10922 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10923 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10924 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10925 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10926
10927 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10928
10929 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10930 instead of #if to avoid a Wundef warning.
10931 * stdlib/tst-limits.c (do_test): Likewise.
10932
10933 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10934 parallel other exception macros.
10935 (fegetenv): Convert from macro to extern inline so that it applies
10936 retroactively to inline functions already seen by the compiler.
10937 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10938
10939 * posix/Makefile (before-compile): Use $(objpfx) for
10940 posix-conf-vars-def.h.
10941
10942 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10943
10944 * posix/getconf.c (main): Use size_t for type of I.
10945 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10946 NSPEC.
10947
10948 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10949 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10950 * posix/posix-envs.def: Likewise.
10951 * sysdeps/posix/sysconf.c: Likewise.
10952 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10953 (specs): Remove array.
10954 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10955 array.
10956
10957 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10958 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10959 (__sysconf): Use CONF_IS_* macros.
10960
10961 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10962 ($(objpfx)posix-conf-vars-def.h): New target.
10963 * posix/posix-conf-vars.list: New file.
10964 * posix/posix-conf-vars.h: New file.
10965 * posix/confstr.c: Include posix-conf-vars.h.
10966 (confstr): Use CONF_IS_* macros.
10967 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10968 CONF_IS_* macros.
10969 * scripts/gen-posix-conf-vars.awk: New file.
10970
10971 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10972
10973 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10974 fegetround): Add no-op macros to avoid linknamespace issues.
10975
10976 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10977 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10978
10979 * sysdeps/unix/sysv/linux/tile/sysdep.h
10980 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10981 assembly-specific section to avoid a redefinition warning.
10982
10983 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10984 long before casting to pointer to avoid a cast warning.
10985
10986 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10987
10988 * sysdeps/tile/tilegx/Implies: New file.
10989
10990 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10991
10992 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10993
10994 2014-12-23 Florian Weimer <fweimer@redhat.com>
10995
10996 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10997
10998 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10999
11000 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11001 not define.
11002 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11003 <kernel-features.h>.
11004 (__utimes) [__NR_utimes]: Make code unconditional.
11005 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11006 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11007 (__ASSUME_UTIMES): Do not undefine.
11008 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11009 (__ASSUME_UTIMES): Likewise.
11010 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11011 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11012 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11013 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11014
11015 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11016
11017 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11018
11019 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11020
11021 [BZ #17747]
11022 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11023 alias to weak alias for j0l, y0l.
11024 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11025 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11026
11027 [BZ #17746]
11028 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11029 conversion.
11030
11031 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11032
11033 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11034 to zero if not already defined.
11035
11036 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11037
11038 [BZ #17724]
11039 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11040 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11041 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11042 (char *) casts added.
11043 * sysdeps/ieee754/k_standardf.c: New file.
11044 * sysdeps/ieee754/k_standardl.c: Likewise.
11045 * math/Makefile (libm-support): Remove k_standard.
11046 (libm-calls): Add k_standard.
11047
11048 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11049
11050 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11051 Optimize to avoid an unnecessary FPCR read.
11052
11053 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11054
11055 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11056 Optimize to reduce FPCR/FPSR accesses.
11057
11058 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11059
11060 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11061 Call libc_fetestexcept_aarch64.
11062
11063 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11064
11065 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11066 Call libc_fesetround_aarch64.
11067
11068 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11069
11070 [BZ #17733]
11071 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11072 (__bind): Do not define as weak alias.
11073 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11074 define.
11075 (__getsockname): Do not define as weak alias.
11076
11077 2014-12-22 Will Newton <will.newton@linaro.org>
11078
11079 * manual/install.texi: Document that we require bison 2.7
11080 or above.
11081 * INSTALL: Regenerate.
11082 * configure.ac: Use AC_CHECK_PROG_VER instead of
11083 AC_PATH_PROG when checking for bison and check for
11084 version 2.7 or above.
11085 * configure: Regenerate.
11086
11087 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11088
11089 [BZ #17745]
11090 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11091 * sysdeps/tile/ffsll.c (ffsll): To here.
11092
11093 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11094
11095 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11096
11097 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11098 if not defined.
11099 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11100 definition.
11101 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11102 hidden ___tls_get_addr.
11103 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11104 hidden __tls_get_addr.
11105 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11106 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11107 Likewise.
11108
11109 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11110
11111 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11112 _dl_init call.
11113
11114 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11115
11116 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11117 from "call _dl_init@PLT".
11118 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11119
11120 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11121
11122 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11123 guarantees.
11124
11125 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11126
11127 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11128
11129 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11130
11131 [BZ #17744]
11132 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11133 strnlen.
11134
11135 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11136
11137 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11138 of multu on MIPSr6.
11139 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11140 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11141 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11142 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11143 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11144
11145 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11146
11147 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11148 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11149 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11150 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11151 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11152 mips32r6/mips64r6.
11153 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11154
11155 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11156
11157 * string/strncat.c (STRNCAT): Simplify implementation.
11158
11159 2014-12-19 David S. Miller <davem@davemloft.net>
11160
11161 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11162 access the quad as both a long double and as a series of 4 words.
11163
11164 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11165 link_map->l_info array access.
11166
11167 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11168
11169 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11170
11171 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11172 * math/atest-exp2.c (TIMEOUT): Likewise.
11173 * math/atest-sincos.c (TIMEOUT): Likewise.
11174
11175 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11176
11177 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11178 -Wno-error with -fno-builtin-lround.
11179
11180 2014-12-19 Torvald Riegel <triegel@redhat.com>
11181
11182 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11183 Contains futex constants and functions moved over from ...
11184 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11185 <lowlevellock-futex.h>.
11186 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11187 (lll_timedwait_tid): Add comments and parentheses around macro
11188 arguments.
11189
11190 2014-12-19 Torvald Riegel <triegel@redhat.com>
11191
11192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11193 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11194 (__lll_private_flag): Remove.
11195 (lll_futex_wait): Likewise.
11196 (lll_futex_timed_wait): Likewise.
11197 (lll_futex_wake): Likewise.
11198 (lll_futex_requeue): Likewise.
11199 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11200 (__lll_timedwait_tid): Spell out argument names.
11201 (lll_timedwait_tid): Add comments and parentheses around macro
11202 arguments.
11203 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11204 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11205
11206 2014-12-19 Torvald Riegel <triegel@redhat.com>
11207
11208 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11209 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11210 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11211 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11212 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11213 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11214 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11215 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11216 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11217 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11218 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11219 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11220 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11221 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11222 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11223 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11224 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11225 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11226 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11227
11228 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11229
11230 * sysdeps/x86_64/x32/Makefile: New file.
11231
11232 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11233
11234 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11235 1L with (mp_limb_t) 1.
11236
11237 2014-12-17 Roland McGrath <roland@hack.frob.com>
11238
11239 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11240 * nptl/libc_pthread_init.c: ... here.
11241 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11242 * nptl/register-atfork.c: ... here.
11243
11244 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11245 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11246 Use assert_perror to check its return value.
11247 (__gai_create_helper_thread): Likewise.
11248
11249 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11250
11251 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11252
11253 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11254
11255 [BZ #17725]
11256 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11257 __profil_counter.
11258 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11259 Likewise.
11260 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11261 Likewise.
11262 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11263 Likewise.
11264 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11265 (profil_counter): Likewise.
11266 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11267 (profil_counter): Likewise.
11268 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11269 Likewise.
11270 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11273 (profil_counter): Likewise.
11274 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11275 Likewise.
11276 [!__profil_counter] (profil_counter): Define as weak alias of
11277 __profil_counter.
11278 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11279 (profil_counter): Rename to __profil_counter.
11280 [!__profil_counter] (profil_counter): Define as weak alias of
11281 __profil_counter.
11282 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11283 (profil_counter): Rename to __profil_counter.
11284 [!__profil_counter] (profil_counter): Define as weak alias of
11285 __profil_counter.
11286 * sysdeps/posix/profil.c: Update comment referring to
11287 profil_counter.
11288 (__profil): Use __profil_counter instead of profil_counter.
11289 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11290 __profil_counter. Use __profil_counter_ushort and
11291 __profil_counter_uint in definitions.
11292 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11293 instead of profil_counter_uint and profil_counter_ushort.
11294
11295 [BZ #17722]
11296 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11297 define as weak alias of __inet_makeaddr.
11298 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11299 as weak alias of __inet_addr.
11300 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11301 as weak alias of __inet_pton. Use libc_hidden_weak.
11302 * include/arpa/inet.h (__inet_pton): Declare. Use
11303 libc_hidden_proto.
11304 (inet_makeaddr): Don't use libc_hidden_proto.
11305 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11306 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11307 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11308 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11309 Remove variable.
11310 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11311 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11312
11313 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11314
11315 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11316
11317 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11318
11319 * stdio-common/bug-vfprintf-nargs.c (do_test):
11320 Cast value to intptr_t to avoid format warning
11321 for usage with PRIdPTR printing macro.
11322
11323 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11324
11325 * libio/tst-widetext.c (do_test):
11326 Use format type %td instead of %Zd for ptrdiff_t
11327 in order to avoid format warning.
11328
11329 2014-12-17 Andreas Schwab <schwab@suse.de>
11330
11331 * nscd/mem.c (gc): Add size_t cast to match printf format.
11332
11333 2014-12-16 Roland McGrath <roland@hack.frob.com>
11334
11335 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11336 (init): Apply PTR_MANGLE to pointers before storing them.
11337 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11338 before using them.
11339
11340 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11341
11342 [BZ #17719]
11343 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11344 define as weak alias of __memrchr.
11345 (__memrchr): Do not define as strong alias of memrchr.
11346 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11347 Remove variable.
11348 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11349 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11350 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11351
11352 [BZ #17717]
11353 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11354 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11355 (if_indextoname): Rename to __if_indextoname and define as weak
11356 alias of __if_indextoname. Use libc_hidden_weak.
11357 (if_freenameindex): Rename to __if_freenameindex and define as
11358 weak alias of __if_freenameindex.
11359 (if_nameindex): Rename to __if_nameindex and define as weak alias
11360 of __if_nameindex.
11361 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11362 __if_nametoindex and define as weak alias of __if_nametoindex.
11363 Use libc_hidden_weak.
11364 (if_freenameindex): Rename to __if_freenameindex and define as
11365 weak alias of __if_freenameindex.
11366 (if_nameindex): Rename to __if_nameindex and define as weak alias
11367 of __if_nameindex.
11368 (if_indextoname): Rename to __if_indextoname and define as weak
11369 alias of __if_indextoname. Use libc_hidden_weak.
11370 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11371 __if_nametoindex and define as weak alias of __if_nametoindex.
11372 Use libc_hidden_weak.
11373 (if_freenameindex): Rename to __if_freenameindex and define as
11374 weak alias of __if_freenameindex. Use libc_hidden_weak.
11375 (if_nameindex_netlink): Use __if_freenameindex instead of
11376 if_freenameindex.
11377 (if_nameindex): Rename to __if_nameindex and define as weak alias
11378 of __if_nameindex. Use libc_hidden_weak.
11379 (if_indextoname): Rename to __if_indextoname and define as weak
11380 alias of __if_indextoname. Use libc_hidden_weak.
11381 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11382 libc_hidden_proto.
11383 [!_ISOMAC] (__if_freenameindex): Likewise.
11384 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11385 if_nametoindex.
11386 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11387 variable.
11388 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11389 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11390 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11391 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11392 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11393 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11394 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11395
11396 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11397 Remove variable.
11398 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11399 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11400
11401 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11402
11403 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11404 subscript above bounds'
11405
11406 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11407 bounds.
11408
11409 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11410
11411 * libio/tst-fopenloc.c: Use test-skeleton.c.
11412
11413 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11414 (entry): Rename to ITEM.
11415 (do_test, comp): Adjust.
11416
11417 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11418
11419 2014-12-16 Torvald Riegel <triegel@redhat.com>
11420
11421 * string/tester.c: Include <libc-internal.h>.
11422 (test_memset): Ignore -Wmemset-transposed-args.
11423
11424 2014-12-16 Torvald Riegel <triegel@redhat.com>
11425
11426 * misc/tst-mntent2.c (do_test): Fix warning.
11427
11428 2014-12-16 Torvald Riegel <triegel@redhat.com>
11429
11430 * elf/tst-unique4lib.cc(a): Mark as used.
11431
11432 2014-12-16 Florian Weimer <fweimer@redhat.com>
11433
11434 [BZ #17630]
11435 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11436 names.
11437
11438 2014-12-16 Allan McRae <allan@archlinux.org>
11439
11440 * stdio-common/Makefile (tests): Re-add bug26.
11441
11442 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11443
11444 [BZ #17657]
11445 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11446 static array.
11447
11448 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11449
11450 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11451 (__lll_lock_wait): Likewise.
11452 (__lll_timedlock_wait): Likewise.
11453 (__lll_timedwait_tid): Likewise.
11454 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11455 (__lll_robust_timedlock_wait): Likewise.
11456 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11457 (lll_cond_trylock): Likewise.
11458 (__lll_lock): Likewise.
11459 (__lll_robust_lock): Likewise.
11460 (__lll_cond_lock): Likewise.
11461 (lll_robust_cond_lock): Likewise.
11462 (__lll_timedlock): Likewise.
11463 (__lll_robust_timedlock): Likewise.
11464 (__lll_unlock): Likewise.
11465 (__lll_robust_unlock): Likewise.
11466 (lll_wait_tid): Likewise.
11467 (lll_timedwait_tid): Likewise.
11468
11469 2014-12-15 Torvald Riegel <triegel@redhat.com>
11470
11471 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11472
11473 2014-12-15 Torvald Riegel <triegel@redhat.com>
11474
11475 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11476
11477 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11478
11479 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11480 * stdio-common/tst-sprintf.c: Likewise.
11481
11482 2014-12-15 Torvald Riegel <triegel@redhat.com>
11483
11484 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11485
11486 2014-12-15 Jeff Law <law@redhat.com>
11487
11488 [BZ #16617]
11489 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11490 on the heap. (CVE-2012-3406)
11491 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11492 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11493 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11494
11495 2014-12-15 Will Newton <will.newton@linaro.org>
11496
11497 * manual/install.texi: Bump required version of texinfo
11498 to 4.7 from 4.5.
11499 * INSTALL: Regenerated.
11500 * configure.ac: Check for makeinfo version 4.7 and above.
11501 * configure: Regenerated.
11502
11503 2014-12-12 Roland McGrath <roland@hack.frob.com>
11504
11505 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11506 PREFIX, string constant to insert between directory and name.
11507 * sysdeps/posix/shm_open.c: Update caller.
11508 * sysdeps/posix/shm_unlink.c: Likewise.
11509 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11510 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11511 (SEM_SHM_PREFIX): New macro.
11512 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11513 [$(have-thread-library) = no].
11514 * nptl/Makefile (libpthread-routines): Add shm-directory.
11515 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11516 * sysdeps/nptl/shm-directory.h: New file.
11517 * sysdeps/posix/shm-directory.c
11518 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11519 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11520 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11521 INTERNAL_SYSCALL.
11522 (__where_is_shmfs): Function removed.
11523 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11524 Variables removed.
11525 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11526 Use SHM_GET_NAME.
11527 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11528
11529 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11530 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11531 unconditional for use inside libpthread.
11532 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11533
11534 2014-12-12 Roland McGrath <roland@hack.frob.com>
11535
11536 * nptl/pthread_getaffinity.c: New file.
11537 * nptl/pthread_setaffinity.c: New file.
11538 * nptl/pthread_getname.c: New file.
11539 * nptl/pthread_setname.c: New file.
11540
11541 * nptl/pthread_create.c (START_THREAD_DEFN)
11542 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11543
11544 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11545 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11546
11547 * resolv/res_send.c (send_vc): Disable warning resplen may
11548 be used uninitialized.
11549
11550 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11551
11552 * nptl/tst-mutex6.c
11553 (ATTR_NULL): New define checks ATTR against NULL.
11554 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11555 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11556
11557 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11558
11559 [BZ #17581]
11560 * malloc/hooks.c
11561 (mem2mem_check): Revert my previous change.
11562 (malloc_check_get_size): Revert my previous change.
11563 (mem2chunk_check): Revert my previous change.
11564
11565 2014-12-11 Roland McGrath <roland@hack.frob.com>
11566
11567 * sysdeps/posix/shm-directory.c: New file.
11568 * sysdeps/posix/shm-directory.h: New file.
11569 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11570 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11571 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11572 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11573 Transmute EPERM to EACCES.
11574 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11575 from ...
11576 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11577 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11578
11579 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11580
11581 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11582 pointer and cast to uintptr_t.
11583 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11584 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11585 Add cast to avoid warning.
11586 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11587
11588 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11589
11590 * nptl/semaphore.h: Move to ...
11591 * sysdeps/pthread/semaphore.h: ... here.
11592 * Makefile (installed-headers): Change nptl/semaphore.h to
11593 sysdeps/pthread/semaphore.h.
11594
11595 2014-12-11 Roland McGrath <roland@hack.frob.com>
11596
11597 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11598 generated error format strings.
11599
11600 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11601 -Wformat-extra-args warnings for scanf formats.
11602 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11603 test of zero-length format (duh).
11604 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11605 corner-case scanf format test.
11606 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11607 generated fprintf format string.
11608 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11609 corner-case sprintf format tests.
11610 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11611 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11612 -Wformat-extra-args warnings throughout.
11613 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11614 (CFLAGS-scanf4.c): Likewise.
11615 (CFLAGS-scanf7.c): Likewise.
11616 (CFLAGS-tst-sprintf.c): Likewise.
11617 (CFLAGS-tst-printf.c): Likewise.
11618 (CFLAGS-tst-printfsz.c): Likewise.
11619
11620 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11621
11622 * include/cpio.h: New file.
11623 * include/fmtmsg.h: Likewise.
11624
11625 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11626 corresponding format argument to size_t.
11627 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11628 arguments.
11629 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11630 corresponding format argument to size_t.
11631 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11632 arguments.
11633 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11634 corresponding format argument to size_t.
11635 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11636 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11637 (CFLAGS-tst-mbswcs2.c): Likewise.
11638 (CFLAGS-tst-mbswcs3.c): Likewise.
11639 (CFLAGS-tst-mbswcs4.c): Likewise.
11640 (CFLAGS-tst-mbswcs5.c): Likewise.
11641 (CFLAGS-tst-trans.c): Likewise
11642
11643 2014-12-11 Roland McGrath <roland@hack.frob.com>
11644
11645 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11646 rather than assuming they won't contain any '%'s.
11647
11648 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11649
11650 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11651 inhibit_loop_to_libcall to avoid recursive calls.
11652 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11653 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11654
11655 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11656
11657 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11658 prototype.
11659
11660 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11661
11662 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11663 integer value instead of boolean.
11664
11665 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11666
11667 * malloc/malloc.c: Fix powerof2 check.
11668
11669 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11670
11671 * locale/programs/locfile.h (maybe_swap_uint32):
11672 Remove inline and add unused attribute.
11673
11674 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11675
11676 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11677 Truncating assembler expression to a .long expression.
11678
11679 2014-12-11 Andreas Schwab <schwab@suse.de>
11680
11681 * elf/rtld.c (struct map_args): Constify str member.
11682 (do_preload): Constify fname argument.
11683
11684 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11685
11686 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11687 constants definition.
11688
11689 2014-12-11 Andreas Schwab <schwab@suse.de>
11690
11691 [BZ #16657]
11692 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11693 FORCE_ELISION instead of DO_ELISION.
11694 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11695 Remove.
11696 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11697 Likewise.
11698
11699 * iconvdata/gconv-modules: Remove duplicate entry.
11700
11701 2014-12-11 Will Newton <will.newton@linaro.org>
11702
11703 Merge gettext 0.19.3 into intl/.
11704
11705 This involves a number of cosmetic changes to comments
11706 and ANSI function definitions and prototypes throughout
11707 all the files. The gettext copyright header is used but
11708 with the date ranges taken from the glibc copy.
11709
11710 * NEWS: Add gettext merge to 2.21.
11711 * intl/bindtextdom.c: Switch to gettext copyright.
11712 Use ANSI definitions and prototypes.
11713 Use gl_* locking primitives rather than __libc_* ones.
11714 Use __builtin_expect rather than __glibc_likely/unlikely.
11715 * intl/dcgettext.c: Switch to gettext copyright.
11716 Use ANSI definitions and prototypes.
11717 * intl/dcigettext.c: Switch to gettext copyright.
11718 Use ANSI definitions and prototypes.
11719 (INTDIV0_RAISES_SIGFPE): New define.
11720 Use gl_* locking primitives rather than __libc_* ones.
11721 Include eval-plural.h instead of plural-eval.c.
11722 Use __builtin_expect rather than __glibc_likely/unlikely.
11723 * intl/dcngettext.c: Switch to gettext copyright.
11724 Use ANSI definitions and prototypes.
11725 * intl/dgettext.c: Likewise.
11726 * intl/dngettext.c: Likewise.
11727 * intl/plural-eval.c: Renamed to...
11728 * intl/eval-plural.h: ...this.
11729 * intl/explodename.c: Switch to gettext copyright.
11730 Use ANSI definitions and prototypes.
11731 (_nl_explode_name): Use strchr instead of __rawmemchr.
11732 * intl/finddomain.c: Switch to gettext copyright.
11733 Use ANSI definitions and prototypes.
11734 Use gl_* locking primitives rather than __libc_* ones.
11735 (_nl_find_domain): Use malloc rather than alloca for
11736 allocation of temporary locale name.
11737 * intl/gettext.c: Switch to gettext copyright.
11738 Use ANSI definitions and prototypes.
11739 * intl/gettextP.h: Switch to gettext copyright.
11740 Use ANSI definitions and prototypes.
11741 Use gl_* locking primitives rather than __libc_* ones.
11742 * intl/gmo.h: Switch to gettext copyright.
11743 (struct sysdep_string): Move struct segment_pair outside of
11744 struct definition.
11745 * intl/hash-string.c: Use ANSI definitions and prototypes.
11746 * intl/hash-string.h: Switch to gettext copyright.
11747 Use ANSI definitions and prototypes.
11748 * intl/l10nflist.c: Switch to gettext copyright.
11749 Use ANSI definitions and prototypes.
11750 (_nl_normalize_codeset): Avoid integer overflow.
11751 * intl/loadinfo.h: Switch to gettext copyright.
11752 Use ANSI definitions and prototypes.
11753 (LIBINTL_DLL_EXPORTED): New define.
11754 (PATH_SEPARATOR): New define.
11755 * intl/loadmsgcat.c: Switch to gettext copyright.
11756 * intl/localealias.c: Switch to gettext copyright.
11757 Use ANSI definitions and prototypes.
11758 (_nl_expand_alias): Use PATH_SEPARATOR.
11759 * intl/ngettext.c: Switch to gettext copyright.
11760 Use ANSI definitions and prototypes.
11761 * intl/plural-exp.c: Likewise.
11762 * intl/plural-exp.h: Switch to gettext copyright.
11763 Use ANSI definitions and prototypes.
11764 (struct expression): Move definition of enum operator outside
11765 of struct definition.
11766 * intl/plural.c: Regenerate.
11767 * intl/plural.y: Switch to gettext copyright.
11768 Use ANSI definitions and prototypes.
11769 Port to bison 3.0.
11770 * intl/textdomain.c: Switch to gettext copyright.
11771 Use ANSI definitions and prototypes.
11772 Use gl_* locking primitives rather than __libc_* ones.
11773
11774 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11775
11776 * debug/warning-nop.c: Add used atrribute.
11777
11778 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11779
11780 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11781
11782 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11783 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11784 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11785
11786 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11787 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788
11789 [BZ #17634]
11790 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11791 Undefine after defining function. Define as weak alias of
11792 __wcschr. Use libc_hidden_weak.
11793 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11794 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11795 (libc_hidden_def): Also define __GI___wcschr alias.
11796 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11797 __wcschr and define as weak alias of __wcschr.
11798 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11799 __wcschr.
11800 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11801 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11802 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11803 libc_hidden_weak. Do not use libc_hidden_def.
11804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11805 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11806 __GI___wcschr alias.
11807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11808 [IS_IN (libc)] (wcschr): Define as macro expanding to
11809 __redirect_wcschr.
11810 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11811 [IS_IN (libc)] (__wcschr_power6): Likewise.
11812 [IS_IN (libc)] (__wcschr_power7): Likewise.
11813 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11814 instead of wcschr.
11815 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11816 __libc_wcschr.
11817 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11818 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11819 __wcschr and define as weak alias of __wcschr. Use
11820 libc_hidden_builtin_def.
11821 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11822 as weak alias of __wcschr. Use libc_hidden_weak.
11823 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11824 wcschr.
11825 * time/era.c (_nl_init_era_entries): Likewise.
11826 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11827 variable.
11828 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11829 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11830
11831 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11832
11833 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11834 format for long int variable.
11835
11836 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11837
11838 [BZ #10672]
11839 * manual/search.texi: (Array Sort Function): Remove claim how to make
11840 qsort stable.
11841
11842 2014-12-10 Andreas Schwab <schwab@suse.de>
11843
11844 [BZ #12847]
11845 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11846 user-controlled locks.
11847
11848 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11849
11850 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11851 register.
11852
11853 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11854
11855 * configure.ac (--disable-werror): New configure option.
11856 (enable_werror): New AC_SUBST.
11857 * configure: Regenerated.
11858 * config.make.in (enable-werror): New variable.
11859 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11860 -Wno-error=undef.
11861 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11862 * manual/install.texi (Configuring and compiling): Document
11863 --disable-werror.
11864 * INSTALL: Regenerated.
11865 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11866 (CFLAGS-tst-chk2.c): Likewise.
11867 (CFLAGS-tst-chk3.c): Likewise.
11868 (CFLAGS-tst-chk4.cc): Likewise.
11869 (CFLAGS-tst-chk5.cc): Likewise.
11870 (CFLAGS-tst-chk6.cc): Likewise.
11871 (CFLAGS-tst-lfschk1.c): Likewise.
11872 (CFLAGS-tst-lfschk2.c): Likewise.
11873 (CFLAGS-tst-lfschk3.c): Likewise.
11874 (CFLAGS-tst-lfschk4.cc): Likewise.
11875 (CFLAGS-tst-lfschk5.cc): Likewise.
11876 (CFLAGS-tst-lfschk6.cc): Likewise.
11877
11878 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11879 (main): Disable -Wdeprecated-declarations around calls to
11880 register_printf_function.
11881
11882 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11883 (do_test): Disable -Wdiv-by-zero around some calls to
11884 fwrite_unlocked and fread_unlocked.
11885
11886 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11887 (DIAG_POP_NEEDS_COMMENT): Likewise.
11888 (_DIAG_STR1): Likewise.
11889 (_DIAG_STR): Likewise.
11890 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11891 * stdio-common/bug21.c: Include <libc-internal.h>.
11892 (do_test): Disable -Wformat around call to sscanf.
11893 * stdio-common/scanf14.c: Include <libc-internal.h>.
11894 (main): Disable -Wformat around some calls to scanf functions.
11895
11896 2014-12-09 Torvald Riegel <triegel@redhat.com>
11897
11898 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11899
11900 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11901
11902 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11903 stack variable alignment.
11904
11905 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11906
11907 [BZ #17682]
11908 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11909 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11910 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11911 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11912 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11913 __getrlimit instead of getrlimit.
11914 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11915 __gettimeofday instead of gettimeofday.
11916 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11917 Likewise.
11918 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11919 Likewise.
11920 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11921 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11922 Remove variable.
11923 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11924 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11925
11926 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11927
11928 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11929 for wide-character tests.
11930
11931 2014-12-04 Roland McGrath <roland@hack.frob.com>
11932
11933 * io/openat64.c: #include <libc-internal.h>
11934 (__openat64): Prototypify. Use ignore_value on MODE.
11935 * io/openat.c: Likewise.
11936 * misc/reboot.c: #include <libc-internal.h>
11937 (reboot): Prototypify. Use ignore_value on HOWTO.
11938 * misc/ptrace.c: #include <libc-internal.h>
11939 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11940
11941 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11942
11943 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11944 XPG4, UNIX98 and XOPEN2K.
11945 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11946 Remove variable.
11947 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11948
11949 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11950
11951 * libio/fileops.c: Use ISO C style for function definitions.
11952 * libio/iofopen.c: Likewise.
11953 * libio/wfileops.c: Likewise.
11954
11955 [BZ #17653]
11956 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11957 offset on EOF.
11958 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11959 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11960 (fgets_func): Function pointer to fgets and fgetws.
11961 (do_ftell_test): Add test to verify ftell value after read
11962 EOF.
11963 (do_test): Set fgets_func.
11964
11965 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11966 O_TRUNC flag for w and w+ modes.
11967 (do_rewind_test): Likewise.
11968 (do_ftell_test): Likewise.
11969 (do_write_test): Likewise.
11970
11971 [BZ #17647]
11972 * libio/fileops.c (do_ftell): Seek only when there are
11973 unflushed writes.
11974 * libio/wfileops.c (do_ftell_wide): Likewise.
11975 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11976 test case.
11977 (do_one_test): Call it.
11978
11979 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11980
11981 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11982 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11983 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11984 Remove variable.
11985 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11986 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11987 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11988
11989 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11990
11991 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11992 Remove variable.
11993 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11994
11995 [BZ #17668]
11996 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11997 as weak alias of __getifaddrs. Use libc_hidden_weak.
11998 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11999 __freeifaddrs. Use libc_hidden_weak.
12000 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12001 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12002 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12003 __freeifaddrs. Use libc_hidden_weak.
12004 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12005 __getifaddrs and define as weak alias of __getifaddrs. Use
12006 libc_hidden_weak.
12007 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12008 __freeifaddrs. Use libc_hidden_weak.
12009 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12010 Remove variable.
12011 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12012 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12013
12014 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12015
12016 [BZ #17601]
12017 * sysdeps/mips/start.S (__start): Use indirect jump to call
12018 __libc_start_main.
12019
12020 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12021
12022 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12023
12024 * nptl/tst-mutex1.c: Include <stdbool.h>.
12025 [!ATTR] (ATTR_NULL): New macro.
12026 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12027 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12028 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12029
12030 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12031 to char *.
12032
12033 [BZ #17665]
12034 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12035 Change conditional to [__USE_MISC].
12036
12037 [BZ #17664]
12038 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12039 fgets_unlocked.
12040 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12041 __fgets_unlocked.
12042 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12043 fgets_unlocked.
12044 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12045 Remove variable.
12046 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12047 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12048 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12049 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12050 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12051 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12052 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12053 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12054 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12055
12056 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12057
12058 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12059
12060 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12061 Remove strpbrk objects.
12062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12063 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12065 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12066 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12067 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12068
12069 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12070 Remove strcspn objects.
12071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12072 (__libc_ifunc_impl_list): Remove strcspn implementation.
12073 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12074 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12075 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12076 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12077
12078 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12079 Remove strspn objetcs.
12080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12081 (__libc_ifunc_impl_list): Remove strspn implementation.
12082 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12083 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12084 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12085 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12086
12087 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12088
12089 [BZ #17581]
12090 * malloc/hooks.c
12091 (mem2mem_check): Add a terminator to the chain of checking blocks.
12092 (malloc_check_get_size): Use it here.
12093 (mem2chunk_check): Ditto.
12094
12095 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12096
12097 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12098 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12099
12100 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12101
12102 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12103
12104 * nptl/nptl-init.c: Include libc-internal.h.
12105 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12106
12107 * elf/ldconfig.c (search_dir): Expand comment.
12108
12109 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12110
12111 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12112 variable.
12113 (linknamespace-symlist-stdlibs-tests): Likewise.
12114 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12115 instead of $(objpfx)symlist-stdlibs.
12116 (linknamespace-libs-isoc): New variable.
12117 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12118 (linknamespace-libs-ISO): New variable.
12119 (linknamespace-libs-ISO99): Likewise.
12120 (linknamespace-libs-ISO11): Likewise.
12121 (linknamespace-libs-XPG3): Likewise.
12122 (linknamespace-libs-XPG4): Likewise.
12123 (linknamespace-libs-POSIX): Likewise.
12124 (linknamespace-libs-UNIX98): Likewise.
12125 (linknamespace-libs-XOPEN2K): Likewise.
12126 (linknamespace-libs-POSIX2008): Likewise.
12127 (linknamespace-libs-XOPEN2K8): Likewise.
12128 ($(objpfx)symlist-stdlibs): Replace by
12129 $(linknamespace-symlist-stdlibs-tests). Use
12130 $(linknamespace-libs-$*) as set of libraries.
12131 ($(linknamespace-header-tests)): Update dependencies. Use
12132 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12133 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12134 * conform/linknamespace.pl: Remove comment about considering
12135 definitions of symbols from irrelevant libraries.
12136
12137 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12138
12139 [BZ #13862]
12140 * elf/dl-tls.c: Include <atomic.h>.
12141 (oom): Remove #ifdef SHARED/#endif.
12142 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12143 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12144 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12145 big enough.
12146 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12147 * nptl/Makefile (tests): Add tst-stack4.
12148 (modules-names): Add tst-stack4mod.
12149 ($(objpfx)tst-stack4): New.
12150 (tst-stack4mod.sos): Likewise.
12151 ($(objpfx)tst-stack4.out): Likewise.
12152 ($(tst-stack4mod.sos)): Likewise.
12153 (clean): Likewise.
12154 * nptl/tst-stack4.c: New file.
12155 * nptl/tst-stack4mod.c: Likewise.
12156
12157 2014-11-27 J. Brown <jb999@gmx.de>
12158
12159 * sysdeps/x86/bits/string.h: Add recent CPUs.
12160
12161 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12162
12163 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12164 sigblock.
12165
12166 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12167 feof.
12168
12169 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12170 variable.
12171
12172 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12173
12174 * nscd/connections.c: Include libc-internal.h because of macro
12175 usage ignore_value.
12176
12177 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12178
12179 * string/bits/string3.h (__warn_memset_zero_len): Don't
12180 declare for gcc newer than 5.0.
12181 (memset): Don't test for zero-length __LEN for gcc newer than
12182 5.0.
12183
12184 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12185
12186 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12187 size_t for %zu format.
12188
12189 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12190 difference, not %ju.
12191
12192 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12193
12194 * include/libc-internal.h (ignore_value): New macro.
12195 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12196 with ignore_value.
12197
12198 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12199 definition.
12200
12201 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12202 pthread_cleanup_push to void *.
12203
12204 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12205 Undefine.
12206
12207 [BZ #16619]
12208 [BZ #16740]
12209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12210 instead of 1L << 52.
12211
12212 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12213 * libio/bug-rewind2.c (do_test): Likewise.
12214
12215 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12216 * debug/test-strcpy_chk-ifunc.c: Likewise.
12217 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12218 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12219 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12220 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12221 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12222 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12223 * Rules [$(multi-arch) = no] (tests): Do not filter out
12224 $(tests-ifunc).
12225 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12226 * debug/Makefile (tests-ifunc): Remove variable.
12227 (tests): Do not add $(tests-ifunc).
12228 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12229 (tests): Do not add $(tests-ifunc).
12230 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12231 [TEST_IFUNC]: Remove conditionals.
12232 * string/test-string.h (TEST_IFUNC): Remove macro.
12233 [TEST_IFUNC]: Remove conditionals.
12234
12235 * string/test-strchr.c [!WIDE] (L): New macro.
12236 [WIDE] (L): Likewise.
12237 (check1): Use CHAR instead of char. Use L on string and character
12238 constants.
12239
12240 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12241
12242 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12243 tests.
12244 * sysdeps/powerpc/bits/atomic.h
12245 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12246 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12247 (atomic_exchange_and_add_acq): Likewise.
12248 (atomic_exchange_and_add_rel): Likewise.
12249 * sysdeps/powerpc/powerpc32/bits/atomic.h
12250 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12251 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12252 * sysdeps/powerpc/powerpc64/bits/atomic.h
12253 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12254 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12255
12256 2014-11-26 Torvald Riegel <triegel@redhat.com>
12257
12258 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12259 Change synchronization of __sched_fifo_min_prio and
12260 __sched_fifo_max_prio.
12261 * nptl/pthread_mutexattr_getprioceiling.c
12262 (pthread_mutexattr_getprioceiling): Likewise.
12263 * nptl/pthread_mutexattr_setprioceiling.c
12264 (pthread_mutexattr_setprioceiling): Likewise.
12265 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12266 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12267 Likewise.
12268
12269 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12270
12271 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12272 void.
12273
12274 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12275
12276 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12277 third argument const.
12278
12279 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12280
12281 fnmatch: work around GCC compiler warning bug with uninit var
12282 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12283 This works around a bug with x86-64 GCC 4.9.2 and earlier
12284 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12285 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12286 used uninitialized in this function [-Wmaybe-uninitialized]".
12287
12288 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12289
12290 * posix/bug-regex31.c (main): Return RES not 0.
12291
12292 2014-11-25 Anton Blanchard <anton@samba.org>
12293
12294 * sysdeps/powerpc/bits/atomic.h
12295 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12296
12297 2014-11-24 Sterling Augustine <saugustine@google.com>
12298
12299 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12300
12301 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12302
12303 [BZ #17608]
12304 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12305
12306 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12307
12308 [BZ #17633]
12309 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12310 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12311 variable.
12312 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12313 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12314
12315 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12316
12317 * string/strncpy.c (strncpy): Improve performance by using memset.
12318
12319 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12320
12321 * string/strcpy.c (strcpy):
12322 Improve performance by using strlen and memcpy.
12323
12324 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12325
12326 * string/strcoll_l.c (get_next_seq): __always_inline.
12327 * string/strcoll_l.c (do_compare): __always_inline.
12328
12329 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12330
12331 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12332 defined.
12333 * include/mqueue.h: Likewise.
12334 * include/stdlib.h: Likewise.
12335
12336 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12337 (get_null_defines): Adjust.
12338 * sunrpc/Makefile: Adjust comment.
12339 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12340 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12341 (CFLAGS-interp.c): Likewise.
12342 (CFLAGS-ldconfig.c): Likewise.
12343 (CPPFLAGS-.os): Likewise.
12344 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12345 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12346 * extra-modules.mk (extra-modules.mk): Likewise.
12347 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12348 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12349 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12350 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12351 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12352 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12353 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12354 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12355 * iconvdata/Makefile (CPPFLAGS): Likewise.
12356 (cpp-srcs-left): Add libof for all iconvdata routines.
12357 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12358 * include/assert.h: Likewise.
12359 * include/ctype.h: Likewise.
12360 * include/errno.h: Likewise.
12361 * include/libc-symbols.h: Likewise.
12362 * include/math.h: Likewise.
12363 * include/netdb.h: Likewise.
12364 * include/resolv.h: Likewise.
12365 * include/stdio.h: Likewise.
12366 * include/stdlib.h: Likewise.
12367 * include/string.h: Likewise.
12368 * include/sys/stat.h: Likewise.
12369 * include/wctype.h: Likewise.
12370 * intl/l10nflist.c: Likewise.
12371 * libidn/idn-stub.c: Likewise.
12372 * libio/libioP.h: Likewise.
12373 * nptl/libc_multiple_threads.c: Likewise.
12374 * nptl/pthreadP.h: Likewise.
12375 * posix/regex_internal.h: Likewise.
12376 * resolv/res_hconf.c: Likewise.
12377 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12378 * sysdeps/arm/memmove.S: Likewise.
12379 * sysdeps/arm/sysdep.h: Likewise.
12380 * sysdeps/generic/_itoa.h: Likewise.
12381 * sysdeps/generic/symbol-hacks.h: Likewise.
12382 * sysdeps/gnu/errlist.awk: Likewise.
12383 * sysdeps/gnu/errlist.c: Likewise.
12384 * sysdeps/i386/i586/memcpy.S: Likewise.
12385 * sysdeps/i386/i586/memset.S: Likewise.
12386 * sysdeps/i386/i686/memcpy.S: Likewise.
12387 * sysdeps/i386/i686/memmove.S: Likewise.
12388 * sysdeps/i386/i686/mempcpy.S: Likewise.
12389 * sysdeps/i386/i686/memset.S: Likewise.
12390 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12391 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12392 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12393 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12394 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12396 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12397 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12400 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12401 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12402 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12403 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12404 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12405 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12406 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12407 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12408 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12409 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12410 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12411 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12412 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12413 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12414 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12416 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12417 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12418 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12419 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12420 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12428 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12430 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12431 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12434 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12435 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12436 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12437 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12438 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12439 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12441 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12442 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12443 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12444 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12445 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12447 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12448 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12449 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12450 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12451 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12452 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12453 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12454 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12455 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12456 * sysdeps/posix/closedir.c: Likewise.
12457 * sysdeps/posix/opendir.c: Likewise.
12458 * sysdeps/posix/readdir.c: Likewise.
12459 * sysdeps/posix/rewinddir.c: Likewise.
12460 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12461 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12469 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12471 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12472 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12473 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12474 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12475 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12477 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12478 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12479 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12480 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12481 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12482 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12484 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12486 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12488 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12496 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12497 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12498 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12499 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12500 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12501 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12502 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12504 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12505 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12506 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12507 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12508 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12509 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12510 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12511 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12513 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12515 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12517 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12518 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12519 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12520 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12521 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12522 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12523 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12524 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12525 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12527 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12528 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12529 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12530 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12532 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12533 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12534 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12535 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12536 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12537 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12538 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12539 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12540 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12541 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12542 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12543 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12544 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12546 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12547 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12548 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12550 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12551 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12552 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12554 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12556 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12558 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12559 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12561 * sysdeps/unix/alpha/sysdep.S: Likewise.
12562 * sysdeps/unix/alpha/sysdep.h: Likewise.
12563 * sysdeps/unix/make-syscalls.sh: Likewise.
12564 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12565 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12566 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12567 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12568 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12569 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12570 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12571 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12572 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12573 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12574 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12575 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12577 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12578 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12579 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12580 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12581 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12582 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12583 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12584 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12585 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12586 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12587 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12588 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12589 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12590 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12594 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12598 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12602 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12603 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12604 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12605 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12606 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12607 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12608 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12611 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12614 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12615 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12616 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12617 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12619 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12622 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12623 * sysdeps/x86_64/memcpy.S: Likewise.
12624 * sysdeps/x86_64/memmove.c: Likewise.
12625 * sysdeps/x86_64/memset.S: Likewise.
12626 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12627 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12628 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12629 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12630 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12633 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12634 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12635 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12636 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12637 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12638 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12641 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12643 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12644 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12645 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12646 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12647 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12651 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12652 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12653 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12654 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12655 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12656 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12657 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12658 * sysdeps/x86_64/strcmp.S: Likewise.
12659
12660 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12661
12662 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12663 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12664 * elf/rtld-Rules: Likewise.
12665 * elf/setup-vdso.h: Likewise.
12666 * include/assert.h: Likewise.
12667 * include/bits/stdlib-float.h: Likewise.
12668 * include/errno.h: Likewise.
12669 * include/sys/stat.h: Likewise.
12670 * include/unistd.h: Likewise.
12671 * sysdeps/aarch64/setjmp.S: Likewise.
12672 * sysdeps/alpha/setjmp.S: Likewise.
12673 * sysdeps/arm/__longjmp.S: Likewise.
12674 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12675 * sysdeps/arm/setjmp.S: Likewise.
12676 * sysdeps/arm/sysdep.h: Likewise.
12677 * sysdeps/generic/_itoa.h: Likewise.
12678 * sysdeps/generic/dl-sysdep.h: Likewise.
12679 * sysdeps/generic/ldsodefs.h: Likewise.
12680 * sysdeps/i386/dl-tls.h: Likewise.
12681 * sysdeps/i386/setjmp.S: Likewise.
12682 * sysdeps/m68k/setjmp.c: Likewise.
12683 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12684 * sysdeps/mach/hurd/opendir.c: Likewise.
12685 * sysdeps/posix/getcwd.c: Likewise.
12686 * sysdeps/posix/opendir.c: Likewise.
12687 * sysdeps/posix/profil.c: Likewise.
12688 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12689 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12690 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12691 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12692 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12693 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12694 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12695 * sysdeps/s390/dl-tls.h: Likewise.
12696 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12697 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12698 * sysdeps/sh/sh3/setjmp.S: Likewise.
12699 * sysdeps/sh/sh4/setjmp.S: Likewise.
12700 * sysdeps/unix/alpha/sysdep.h: Likewise.
12701 * sysdeps/unix/arm/sysdep.S: Likewise.
12702 * sysdeps/unix/i386/sysdep.S: Likewise.
12703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12704 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12705 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12706 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12707 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12708 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12709 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12710 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12711 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12712 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12713 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12714 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12718 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12721 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12722 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12723 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12726 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12727 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12728 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12730 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12731 * sysdeps/x86_64/setjmp.S: Likewise.
12732
12733 * include/math.h: Use IS_IN instead of IS_IN_libm.
12734 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12746 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12754 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12755 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12756 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12757 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12758 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12759 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12761 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12762 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12763 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12765 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12768 Likewise.
12769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12770 Likewise.
12771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12772 Likewise.
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12774 Likewise.
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12776 Likewise.
12777 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12781 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12782 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12788 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12789 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12790 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12791 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12792 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12793 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12794 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12795 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12796 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12797 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12798 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12801 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12803 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12804
12805 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12806 * nptl/pthreadP.h: Likewise.
12807 * nptl_db/structs.def: Likewise.
12808 * sysdeps/arm/sysdep.h: Likewise.
12809 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12810 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12811 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12812 * sysdeps/unix/alpha/sysdep.h: Likewise.
12813 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12814 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12815 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12816 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12817 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12818 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12820 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12821 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12822 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12823 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12824 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12825 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12826 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12834 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12835 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12836 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12838 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12839
12840 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12841 * nptl/pthreadP.h: Likewise.
12842 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12843 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12844 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12845 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12846 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12847 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12848 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12849 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12850 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12851 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12852 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12853 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12855 Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12860 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12863 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12864 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12865 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12866
12867 * dlfcn/dladdr.c: Use IS_IN.
12868 * dlfcn/dladdr1.c: Likewise.
12869 * dlfcn/dlclose.c: Likewise.
12870 * dlfcn/dlerror.c: Likewise.
12871 * dlfcn/dlinfo.c: Likewise.
12872 * dlfcn/dlmopen.c: Likewise.
12873 * dlfcn/dlopen.c: Likewise.
12874 * dlfcn/dlsym.c: Likewise.
12875 * dlfcn/dlvsym.c: Likewise.
12876
12877 * include/ifaddrs.h: Use IS_IN.
12878 * inet/check_pf.c: Likewise.
12879 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12880 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12881
12882 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12883 IS_IN_ldconfig.
12884 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12885 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12886
12887 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12888 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12889 IS_IN (libc).
12890
12891 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12892
12893 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12894 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12895 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12896 * include/libc-symbols.h (IS_IN_LIB): New macro.
12897 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12898 * include/netdb.h: Likewise.
12899 * include/stap-probe.h: Remove all uses of IN_LIB.
12900
12901 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12902 instead of IN_MODULE.
12903 * include/libc-symbols.h (IN_MODULE): Define using
12904 MODULE_NAME.
12905 (PASTE_NAME, PASTE_NAME1): New macros.
12906 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12907 of IN_LIB.
12908 (STAP_PROBE_ASM): Likewise.
12909
12910 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12911
12912 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12913 __mach_init in dlopened libc.
12914
12915 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12916
12917 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12918 * sysdeps/arm/preconfigure: Regenerate.
12919
12920 2014-11-21 Roland McGrath <roland@hack.frob.com>
12921
12922 * nptl/pthread_create.c (__pthread_create_2_1): Set
12923 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12924 when copying values from IATTR into PD.
12925
12926 2014-11-21 Will Newton <will.newton@linaro.org>
12927 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12928
12929 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12930 Refactor inline-asm. Also add comment.
12931
12932 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12933 ElfW macro instead of hardcoded Elf64 types.
12934 (la_aarch64_gnu_pltenter): Likewise.
12935 * sysdeps/aarch64/dl-machine.h
12936 (elf_machine_runtime_setup): Use ElfW(Addr).
12937
12938 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12939 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12940 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12941 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12942 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12943 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12944 (R_AARCH64_TLS_DTPMOD): This.
12945 (R_AARCH64_TLS_DTPREL64): Rename to ...
12946 (R_AARCH64_TLS_DTPREL): This.
12947 (R_AARCH64_TLS_TPREL64): Rename to ...
12948 (R_AARCH64_TLS_TPREL): This.
12949 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12950 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12951 R_AARCH64_TLS_TPREL64.
12952 (elf_machine_rela): Likewise.
12953
12954 2014-11-21 Torvald Riegel <triegel@redhat.com>
12955
12956 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12957 by setting it to 0. 64b atomics are not supported currently.
12958
12959 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12960
12961 [BZ #16469]
12962 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12963 search domain names.
12964
12965 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12966
12967 [BZ #16469]
12968 * NEWS: Update.
12969 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12970 trailing dot.
12971 * posix/tst-getaddrinfo5.c: New.
12972 * posix/Makefile (tests): Add it.
12973
12974 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12975
12976 [BZ #14498]
12977 * NEWS: Fixed.
12978 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12979 after parsing line but before break_if_match.
12980 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12981 if there is a protocol mismatch.
12982
12983 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12984
12985 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12986 because the potential race is on the user-supplied stream.
12987
12988 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12989
12990 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12991 string literal if not passed a buffer.
12992 * manual/job.texi (ctermid): Update reasoning, note deviation
12993 from posix, suggest mtasurace when not passed a buffer, for
12994 future non-preliminary safety notes.
12995
12996 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12997
12998 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12999 of not passing it a buffer.
13000 Reported by Peng Haitao.
13001
13002 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13003
13004 * manual/Makefile ($(objpfx)stamp-summary): Require
13005 check-safety.sh to pass.
13006 * manual/check-safety.sh: Wish for verification that every
13007 @deftypefn and @deftypefun is followed by a @safety remark.
13008
13009 2014-11-20 Roland McGrath <roland@hack.frob.com>
13010
13011 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13012
13013 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13014 PTHREAD_CANCEL_ASYNCHRONOUS.
13015 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13016 send SIGCANCEL.
13017
13018 * nptl/default-sched.h: New file.
13019 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13020 * nptl/pthread_create.c: Include it.
13021 (__pthread_create_2_1): Use collect_default_sched instead of making
13022 Linux syscalls here directly.
13023
13024 2014-11-20 Torvald Riegel <triegel@redhat.com>
13025
13026 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13027 __pthread_once): Use C11 atomics.
13028
13029 2014-11-20 Torvald Riegel <triegel@redhat.com>
13030
13031 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13032
13033 2014-11-20 Torvald Riegel <triegel@redhat.com>
13034
13035 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13036 atomic_thread_fence_acquire, atomic_thread_fence_release,
13037 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13038 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13039 atomic_compare_exchange_weak_relaxed,
13040 atomic_compare_exchange_weak_acquire,
13041 atomic_compare_exchange_weak_release,
13042 atomic_exchange_acquire, atomic_exchange_release,
13043 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13044 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13045 atomic_fetch_and_acquire,
13046 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13047
13048 2014-11-20 Torvald Riegel <triegel@redhat.com>
13049
13050 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13051 USE_ATOMIC_COMPILER_BUILTINS): Define.
13052 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13053 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13054 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13055 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13056 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13057 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13058 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13059 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13060 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13061 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13062 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13063 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13064 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13065 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13066 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13067 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13068 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13069 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13070 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13071 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13072 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13073 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13074 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13075 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13076 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13077 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13078 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13079 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13080 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13081 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13082 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13083 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13084 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13085 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13086 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13087 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13088 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13089 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13090 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13091 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13092
13093 2014-11-19 Roland McGrath <roland@hack.frob.com>
13094
13095 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13096 the sched_priority value here. It was already checked when the user
13097 called pthread_attr_setschedparam.
13098
13099 * nptl/tst-bad-schedattr.c: New file.
13100 * nptl/Makefile (tests): Add it.
13101
13102 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13103 Florian Weimer <fweimer@redhat.com>
13104 Joseph Myers <joseph@codesourcery.com>
13105 Adam Conrad <adconrad@0c3.net>
13106 Andreas Schwab <schwab@suse.de>
13107 Brooks <bmoses@google.com>
13108
13109 [BZ #17625]
13110 * wordexp-test.c (__dso_handle): Add prototype.
13111 (__register_atfork): Likewise.
13112 (__app_register_atfork): New function.
13113 (registered_forks): New global.
13114 (register_fork): New function.
13115 (test_case): Add 3 new tests for WRDE_CMDSUB.
13116 (main): Call __app_register_atfork.
13117 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13118 fork count is non-zero fail the test.
13119 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13120 is set.
13121 (parse_dollars): Remove check for WRDE_NOCMD.
13122 (parse_dquote): Likewise.
13123
13124 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13125
13126 * Makeconfig (built-modules): List non-library modules to be
13127 built.
13128 (module-cppflags): Include libc-modules.h for
13129 everything except shlib-versions.v.i.
13130 (CPPFLAGS): Use it.
13131 (before-compile): Add libc-modules.h.
13132 ($(common-objpfx)libc-modules.h,
13133 $(common-objpfx)libc-modules.stmp): New targets.
13134 (common-generated): Add libc-modules.h and libc-modules.stmp.
13135 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13136 * include/libc-symbols.h: Don't include libc-modules.h.
13137 * include/libc-modules.h: Remove file.
13138 * scripts/gen-libc-modules.awk: New script to generate
13139 libc-modules.h.
13140 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13141 Depend on libc-modules.stmp.
13142
13143 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13144
13145 * Makeconfig (in-module): Get value of libof set for the
13146 translation unit.
13147 (CPPFLAGS): Use $(in-module).
13148 * Makerules: Don't suffix routine names for nonlib.
13149 * include/libc-modules.h: New file.
13150 * include/libc-symbols.h: Include libc-modules.h
13151 (IS_IN): New macro to replace IS_IN_* macros.
13152 * elf/Makefile: Set libof-* for each routine.
13153 * elf/rtld-Rules: Likewise.
13154 * extra-modules.mk: Likewise.
13155 * iconv/Makefile: Likewise.
13156 * iconvdata/Makefile: Likewise.
13157 * locale/Makefile: Likewise.
13158 * malloc/Makefile: Likewise.
13159 * nss/Makefile: Likewise.
13160 * sysdeps/gnu/Makefile: Likewise.
13161 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13162 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13163 * sysdeps/s390/s390-64/Makefile: Likewise.
13164 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13165 CPPFLAGS for nscd instead of nonlib.
13166
13167 2014-11-18 Roland McGrath <roland@hack.frob.com>
13168
13169 * nptl/createthread.c: New file.
13170
13171 * nptl/createthread.c: Moved ...
13172 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13173
13174 * nptl/createthread.c: Add proper top-line comment.
13175 (do_clone): Folded into ...
13176 (create_thread): ... here. Take new arguments STOPPED_START and
13177 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13178 increment __nptl_threads, do event-reporting logic, do
13179 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13180 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13181 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13182 just send SIGCANCEL.
13183 * nptl/pthread_create.c: Forward-declare create_thread before
13184 including createthread.c.
13185 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13186 declaration, and new macro START_THREAD_SELF to replace argument.
13187 Remove return statement.
13188 (report_thread_creation): New function.
13189 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13190 synchronization logic, and __nptl_nthreads increment here, around
13191 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13192 PD->parent_cancelhandling here, before create_thread. When
13193 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13194 __deallocate_stack, and ENOMEM translation here.
13195
13196 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13197
13198 [BZ #17616]
13199 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13200 (mptwo): Rename to __mptwo.
13201 (__inv): Use __mptwo instead of mptwo.
13202 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13203 (mptwo): Rename to __mptwo.
13204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13205 of mpone and __mptwo instead of mptwo.
13206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13207 instead of mpone.
13208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13209 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13210 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13211 of mpone and __mptwo instead of mptwo.
13212 (__mpranred): Use __mpone instead of mpone.
13213 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13214 variable.
13215 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13216 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13217 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13218 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13219 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13220 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13221 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13222 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13223 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13224 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13225 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13226 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13227 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13228 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13229 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13230 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13231 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13232 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13233 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13234
13235 2014-11-18 Tom de Vries <tom@codesoucery.com>
13236
13237 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13238 replace BSD Handler xref with BSD Signal Handling.
13239
13240 2014-11-17 Richard Henderson <rth@redhat.com>
13241
13242 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13243 (_FP_PACK_RAW_2): Remove.
13244 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13245 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13246 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13247 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13248 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13249 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13250 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13251 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13252 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13253 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13254 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13255 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13256 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13257 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13258 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13259 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13260
13261 2014-11-14 Roland McGrath <roland@hack.frob.com>
13262
13263 * signal/signal.h [__USE_MISC]
13264 (struct sigvec): Remove type.
13265 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13266 (sigvec): Remove declaration.
13267 * sysdeps/posix/sigvec.c: Moved ...
13268 * signal/sigvec.c: ... here, replacing old file.
13269 (struct sigvec): New type, copied from old signal.h definition.
13270 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13271 (__sigvec): Convert definition to prototype.
13272 (sigvec): Replace weak_alias with compat_symbol.
13273 * signal/Versions (libc: GLIBC_2.21): New version set.
13274 * include/signal.h: Remove __sigvec declaration.
13275 * sysdeps/unix/bsd/sigvec.c: Remove file.
13276 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13277 * manual/signal.texi (BSD Handler): Remove subsection.
13278 Move siginterrupt up to ...
13279 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13280 (Blocking in BSD): Fold subsection into its parent.
13281 * NEWS: Mention sigvec removal.
13282
13283 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13284
13285 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13286 (DLA_FMS): Make definition conditional only on [__FMA4__].
13287 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13288 definition.
13289
13290 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13291 Make definition conditional only on [PROF].
13292 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13293 definition.
13294 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13295 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13296
13297 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13298 !__GNUC__].
13299 * include/signal.h (__sigpause): Move declaration above call to
13300 libc_hidden_proto.
13301 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13302 variable.
13303 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13304 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13305
13306 2014-11-14 David S. Miller <davem@davemloft.net>
13307
13308 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13309 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13310
13311 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13312
13313 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13314 * configure: Regenerated.
13315 * manual/install.texi (Tools for Compilation): Document a
13316 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13317 compiler verified to work.
13318 * INSTALL: Regenerated.
13319
13320 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13321 redeclare with asm name.
13322 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13323 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13324 including <string.h>.
13325 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13327 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13328 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13329 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13330 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13331 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13332
13333 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13334
13335 * stdlib/strtol.c (__strtol): Use prototype definition.
13336
13337 [BZ #17594]
13338 * stdlib/strtol.c (SYM__): New macro.
13339 (SYM__1): Likewise.
13340 (__strtol): Likewise.
13341 (strtol): Rename to __strtol and define as weak alias of
13342 __strtol. Use libc_hidden_weak.
13343
13344 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13345
13346 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13347 Use numbered labels in inline assembly.
13348
13349 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13350
13351 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13352 Add setjmp LIBC_PROBE.
13353 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13354 Likewise.
13355 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13356 Add longjmp, longjmp_target LIBC_PROBE.
13357 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13358 Likewise.
13359
13360 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13361
13362 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13363 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13364 to get rid of unused variable warning.
13365
13366 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13367
13368 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13369 Check for unwind_backtrace == NULL only in SHARED case.
13370 (__backchain_backtrace): Compile only in SHARED case.
13371 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13372 Likewise.
13373 (__backchain_backtrace): Declare as static.
13374
13375 2014-11-12 Roland McGrath <roland@hack.frob.com>
13376
13377 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13378 (__libc_multiple_threads_ptr): Variable moved ...
13379 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13380
13381 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13382
13383 * conform/GlibcConform.pm: New file.
13384 * conform/conformtest.pl: Use GlibcConform module.
13385 * conform/linknamespace.pl: New file.
13386 * conform/list-header-symbols.pl: Likewise.
13387 * conform/Makefile (linknamespace-symlists-base): New variable.
13388 (linknamespace-symlists-tests): Likewise.
13389 (linknamespace-header-base): Likewise.
13390 (linknamespace-header-tests): Likewise.
13391 (tests-special): Add new tests.
13392 ($(linknamespace-symlists-tests)): New rule.
13393 (linknamespace-libs): New variable.
13394 ($(objpfx)symlist-stdlibs): New rule.
13395 ($(linknamespace-header-tests)): Likewise.
13396 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13397 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13398 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13399 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13400 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13401 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13402 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13403 (test-xfail-ISO/math.h/linknamespace): Likewise.
13404 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13405 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13406 (test-xfail-ISO/time.h/linknamespace): Likewise.
13407 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13408 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13409 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13410 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13411 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13412 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13413 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13414 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13415 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13416 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13417 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13418 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13419 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13420 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13421 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13422 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13423 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13424 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13425 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13426 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13427 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13428 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13429 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13430 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13431 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13432 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13433 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13434 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13435 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13436 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13437 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13438 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13439 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13440 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13441 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13442 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13443 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13444 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13445 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13446 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13447 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13448 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13449 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13450 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13451 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13452 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13453 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13454 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13455 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13456 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13457 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13458 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13459 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13460 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13461 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13462 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13463 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13464 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13465 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13466 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13467 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13468 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13469 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13470 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13471 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13472 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13473 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13474 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13475 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13476 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13477 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13478 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13479 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13480 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13481 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13482 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13483 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13484 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13485 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13486 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13487 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13488 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13489 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13490 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13491 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13492 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13493 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13494 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13495 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13496 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13497 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13498 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13499 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13500 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13501 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13502 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13503 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13504 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13505 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13506 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13507 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13508 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13509 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13510 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13511 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13512 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13513 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13514 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13515 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13516 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13517 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13518 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13519 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13520 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13521 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13522 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13523 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13524 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13525 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13526 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13527 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13528 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13529 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13530 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13531 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13532 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13533 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13534 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13535 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13536 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13537 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13538 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13539 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13540 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13541 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13542 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13543 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13544 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13545 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13546 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13547 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13548 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13549 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13550 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13551 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13552 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13553 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13554 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13555 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13556 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13557
13558 [BZ #17589]
13559 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13560 of fgets_unlocked.
13561
13562 [BZ #17585]
13563 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13564 (memmem): Rename to __memmem and define as weak alias of
13565 __memmem. Use libc_hidden_weak.
13566 (__memmem): Use libc_hidden_def.
13567 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13568 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13569 memmem.
13570
13571 [BZ #17582]
13572 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13573 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13574 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13575 and define as weak alias of __fgets_unlocked. Use
13576 libc_hidden_weak.
13577 (__fgets_unlocked): Use libc_hidden_def.
13578 * include/stdio.h (__fgets_unlocked): Declare. Use
13579 libc_hidden_proto.
13580 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13581 __fgets_unlocked instead of fgets_unlocked.
13582 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13583 (GET_NPROCS_CONF_PARSER): Likewise.
13584 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13585 (GET_NPROCS_CONF_PARSER): Likewise.
13586
13587 [BZ #17574]
13588 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13589 weak alias of __wmemset. Use libc_hidden_weak.
13590 (__wmemset): Use libc_hidden_def.
13591 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13592 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13593 of wmemset.
13594
13595 [BZ #17573]
13596 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13597 with asm name __mempcpy.
13598 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13599
13600 [BZ #17572]
13601 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13602 and define as weak alias of __rawmemchr.
13603 (__rawmemchr): Do not define as strong alias of rawmemchr.
13604
13605 [BZ #17571]
13606 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13607 alias of __qsort_r.
13608 (qsort): Call __qsort_r instead of qsort_r.
13609 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13610 (__qsort_r): Declare. Call libc_hidden_proto.
13611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13612 instead of qsort_r.
13613 * nscd/gai.c (__qsort_r): Define to qsort_r.
13614 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13615 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13616 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13617
13618 [BZ #17570]
13619 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13620 define as weak alias of __malloc_info.
13621
13622 [BZ #17584]
13623 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13624 as weak alias of __rewinddir. Don't use libc_hidden_def.
13625 (__rewinddir): Use libc_hidden_def.
13626 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13627 as weak alias of __rewinddir. Don't use libc_hidden_def.
13628 (__rewinddir): Use libc_hidden_def.
13629 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13630 weak alias of __rewinddir. Don't use libc_hidden_def.
13631 (__rewinddir): Use libc_hidden_def.
13632 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13633 (__rewinddir): Use libc_hidden_proto.
13634 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13635 rewinddir.
13636 (__getcwd): Use __rewinddir instead of rewinddir.
13637
13638 [BZ #17583]
13639 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13640 alias of __fileno. Use libc_hidden_weak.
13641 (__fileno): Use libc_hidden_def.
13642 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13643 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13644 alias of __ftello.
13645 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13646 __ftello.
13647 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13648 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13649 libc_hidden_def.
13650 (fread_unlocked): Don't use libc_hidden_ver.
13651 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13652 and define as weak alias of __fread_unlocked. Don't use
13653 libc_hidden_def.
13654 (__fread_unlocked): Use libc_hidden_def.
13655 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13656 (ftello): Don't use libc_hidden_proto.
13657 (__ftello): Declare. Use libc_hidden_proto.
13658 (fread_unlocked): Don't use libc_hidden_proto.
13659 (__fread_unlocked): Declare. Use libc_hidden_proto.
13660 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13661 and __ftello instead of fileno, fread_unlocked and ftello.
13662
13663 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
13665 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13666 GOT12.
13667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13668 Likewise.
13669 (_dl_start_user): Likewise.
13670 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13671
13672 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13673 Siddhesh Poyarekar <siddhesh@redhat.com>
13674
13675 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13676 Move argv and envp down instead of moving argc up.
13677 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13678
13679 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13680
13681 [BZ #17506]
13682 * test-skeleton.c (main): Return successful if one of
13683 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13684 * string/tst-strcoll-overflow.c: Define expected status.
13685
13686 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13687
13688 [BZ #17475]
13689 * locale/iso-639.def: Define Bhili and Tulu language codes.
13690
13691 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13692
13693 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13694
13695 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13696
13697 [BZ #17555]
13698 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13699
13700 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13701
13702 * configure.ac: Updated check of minimal required version to
13703 2.22.
13704 * manual/install.texi (Tools for Compilation): Updated version
13705 number.
13706 * configure: Regenerated.
13707 * INSTALL: Likewise.
13708
13709 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13710
13711 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13712 __tls_get_addr.
13713
13714 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13715
13716 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13717 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13718 (__waitpid): Don't define as alias. Use libc_hidden_def not
13719 libc_hidden_weak.
13720 (waitpid): Define as alias of __waitpid.
13721 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13722 __waitpid.
13723 (__waitpid): Don't define as alias. Use libc_hidden_def not
13724 libc_hidden_weak.
13725 (waitpid): Define as alias of __waitpid.
13726 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13727 __libc_waitpid alias.
13728 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13729 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13730 Likewise.
13731 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13732 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13733 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13734 alias.
13735 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13736 __waitpid.
13737 (__waitpid): Don't define as alias. Use libc_hidden_def not
13738 libc_hidden_weak.
13739 (waitpid): Define as alias of __waitpid.
13740
13741 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13742
13743 * manual/llio.texi: Add comment that write safety has been
13744 fixed in Linux.
13745
13746 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13747 (localplt-build-dso): Add elf/ld.so.
13748 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13749 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13750 and free for ld.so.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13752 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13754 Likewise.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13756 Likewise.
13757 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13758 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13759 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13760 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13761 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13762 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13763 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13764 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13765 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13766 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13767 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13768
13769 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13770
13771 [BZ #14132]
13772 * include/libc-symbols.h (INTUSE): Remove macro.
13773 (INTDEF): Likewise.
13774 (INTVARDEF): Likewise.
13775 (_INTVARDEF): Likewise.
13776 (INTDEF2): Likewise.
13777 (INTVARDEF2): Likewise.
13778 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13779 rtld_hidden_def instead of INTVARDEF.
13780 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13781 (_dl_starting_up_internal): Remove declaration.
13782 (_dl_starting_up): Use rtld_hidden_proto.
13783 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13784 declaration.
13785 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13786 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13787 _dl_starting_up.
13788 * elf/dl-writev.h (_dl_writev): Likewise.
13789 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13790 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13791 _dl_starting_up_internal.
13792
13793 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13794
13795 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13796 test-skeleton.c.
13797
13798 2014-11-05 Will Newton <will.newton@linaro.org>
13799
13800 * benchtests/Makefile: (bench-malloc): Add malloc thread
13801 scalability benchmark.
13802 * benchtests/bench-malloc-threads.c: New file.
13803
13804 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13805
13806 * sysdeps/aarch64/strchrnul.S: New file.
13807
13808 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13809
13810 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13811 definition.
13812 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13813 Likwise.
13814 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13815 Likewise.
13816 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13817 Likewise.
13818 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13819 Likewise.
13820 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13821 Likewise.
13822
13823 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13824
13825 * catgets/test-gencat.c: Use test-skeleton.c.
13826 * catgets/tst-catgets.c: Likewise.
13827 * csu/tst-empty.c: Likewise.
13828 * elf/tst-audit2.c: Likewise.
13829 * elf/tst-global1.c: Likewise.
13830 * elf/tst-pathopt.c: Likewise.
13831 * elf/tst-piemod1.c: Likewise.
13832 * elf/tst-tls10.c: Likewise.
13833 * elf/tst-tls11.c: Likewise.
13834 * elf/tst-tls12.c: Likewise.
13835 * gnulib/tst-gcc.c: Likewise.
13836 * iconvdata/tst-e2big.c: Likewise.
13837 * iconvdata/tst-loading.c: Likewise.
13838 * iconv/tst-iconv1.c: Likewise.
13839 * iconv/tst-iconv2.c: Likewise.
13840 * inet/test-inet6_opt.c: Likewise.
13841 * inet/tst-gethnm.c: Likewise.
13842 * inet/tst-network.c: Likewise.
13843 * inet/tst-ntoa.c: Likewise.
13844 * intl/tst-codeset.c: Likewise.
13845 * intl/tst-gettext2.c: Likewise.
13846 * intl/tst-gettext3.c: Likewise.
13847 * intl/tst-ngettext.c: Likewise.
13848 * intl/tst-translit.c: Likewise.
13849 * io/test-stat.c: Likewise.
13850 * libio/test-fmemopen.c: Likewise.
13851 * libio/tst-freopen.c: Likewise.
13852 * libio/tst-sscanf.c: Likewise.
13853 * libio/tst-ungetwc1.c: Likewise.
13854 * libio/tst-ungetwc2.c: Likewise.
13855 * libio/tst-widetext.c: Likewise.
13856 * localedata/tst-ctype.c: Likewise.
13857 * localedata/tst-digits.c: Likewise.
13858 * localedata/tst-leaks.c: Likewise.
13859 * localedata/tst-mbswcs1.c: Likewise.
13860 * localedata/tst-mbswcs2.c: Likewise.
13861 * localedata/tst-mbswcs3.c: Likewise.
13862 * localedata/tst-mbswcs4.c: Likewise.
13863 * localedata/tst-mbswcs5.c: Likewise.
13864 * localedata/tst-setlocale.c: Likewise.
13865 * localedata/tst-trans.c: Likewise.
13866 * localedata/tst-wctype.c: Likewise.
13867 * localedata/tst-xlocale1.c: Likewise.
13868 * login/tst-grantpt.c: Likewise.
13869 * malloc/tst-calloc.c: Likewise.
13870 * malloc/tst-malloc.c: Likewise.
13871 * malloc/tst-mallocstate.c: Likewise.
13872 * malloc/tst-mcheck.c: Likewise.
13873 * malloc/tst-mtrace.c: Likewise.
13874 * malloc/tst-obstack.c: Likewise.
13875 * math/atest-exp2.c: Likewise.
13876 * math/atest-exp.c: Likewise.
13877 * math/atest-sincos.c: Likewise.
13878 * math/test-matherr.c: Likewise.
13879 * math/test-misc.c: Likewise.
13880 * math/test-powl.c: Likewise.
13881 * math/tst-definitions.c: Likewise.
13882 * misc/tst-dirname.c: Likewise.
13883 * misc/tst-efgcvt.c: Likewise.
13884 * misc/tst-fdset.c: Likewise.
13885 * misc/tst-hsearch.c: Likewise.
13886 * misc/tst-mntent2.c: Likewise.
13887 * nptl/tst-sem7.c: Likewise.
13888 * nptl/tst-sem8.c: Likewise.
13889 * nptl/tst-sem9.c: Likewise.
13890 * nss/test-netdb.c: Likewise.
13891 * posix/tst-fnmatch.c: Likewise.
13892 * posix/tst-getlogin.c: Likewise.
13893 * posix/tst-gnuglob.c: Likewise.
13894 * posix/tst-mmap.c: Likewise.
13895 * pwd/tst-getpw.c: Likewise.
13896 * resolv/tst-inet_ntop.c: Likewise.
13897 * rt/tst-timer.c: Likewise.
13898 * stdio-common/test-fseek.c: Likewise.
13899 * stdio-common/test-popen.c: Likewise.
13900 * stdio-common/test-vfprintf.c: Likewise.
13901 * stdio-common/tst-cookie.c: Likewise.
13902 * stdio-common/tst-fileno.c: Likewise.
13903 * stdio-common/tst-gets.c: Likewise.
13904 * stdio-common/tst-obprintf.c: Likewise.
13905 * stdio-common/tst-perror.c: Likewise.
13906 * stdio-common/tst-sprintf2.c: Likewise.
13907 * stdio-common/tst-sprintf3.c: Likewise.
13908 * stdio-common/tst-sprintf.c: Likewise.
13909 * stdio-common/tst-swprintf.c: Likewise.
13910 * stdio-common/tst-tmpnam.c: Likewise.
13911 * stdio-common/tst-unbputc.c: Likewise.
13912 * stdio-common/tst-wc-printf.c: Likewise.
13913 * stdlib/tst-environ.c: Likewise.
13914 * stdlib/tst-fmtmsg.c: Likewise.
13915 * stdlib/tst-limits.c: Likewise.
13916 * stdlib/tst-rand48-2.c: Likewise.
13917 * stdlib/tst-rand48.c: Likewise.
13918 * stdlib/tst-random2.c: Likewise.
13919 * stdlib/tst-random.c: Likewise.
13920 * stdlib/tst-strtol.c: Likewise.
13921 * stdlib/tst-strtoll.c: Likewise.
13922 * stdlib/tst-tls-atexit.c: Likewise.
13923 * stdlib/tst-xpg-basename.c: Likewise.
13924 * string/test-ffs.c: Likewise.
13925 * string/tst-bswap.c: Likewise.
13926 * string/tst-inlcall.c: Likewise.
13927 * string/tst-strtok.c: Likewise.
13928 * string/tst-strxfrm.c: Likewise.
13929 * sysdeps/x86_64/tst-audit10.c: Likewise.
13930 * sysdeps/x86_64/tst-audit3.c: Likewise.
13931 * sysdeps/x86_64/tst-audit4.c: Likewise.
13932 * sysdeps/x86_64/tst-audit5.c: Likewise.
13933 * time/tst-ftime_l.c: Likewise.
13934 * time/tst-getdate.c: Likewise.
13935 * time/tst-mktime3.c: Likewise.
13936 * time/tst-mktime.c: Likewise.
13937 * time/tst-posixtz.c: Likewise.
13938 * time/tst-strptime2.c: Likewise.
13939 * time/tst-strptime3.c: Likewise.
13940 * wcsmbs/tst-btowc.c: Likewise.
13941 * wcsmbs/tst-mbrtowc.c: Likewise.
13942 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13943 * wcsmbs/tst-wchar-h.c: Likewise.
13944 * wcsmbs/tst-wcpncpy.c: Likewise.
13945 * wcsmbs/tst-wcrtomb.c: Likewise.
13946 * wcsmbs/tst-wcsnlen.c: Likewise.
13947 * wcsmbs/tst-wcstof.c: Likewise.
13948
13949 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13950
13951 [BZ #14132]
13952 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13953 INTDEF.
13954 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13955 declaration.
13956 (_dl_mcount): Use rtld_hidden_proto.
13957 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13958 _dl_mcount.
13959 * elf/rtld.c (_rtld_global_ro): Likewise.
13960
13961 [BZ #14132]
13962 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13963 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13964 of _dl_init_internal.
13965 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13966 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13967 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13968 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13969 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13970 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13971 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13972 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13973 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13974 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13975 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13976 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13977 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13978 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13979 * sysdeps/tile/dl-start.S (_start): Likewise.
13980 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13981 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13982
13983 [BZ #14132]
13984 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13985 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13986 (rtld_progname): Make macro definition unconditional.
13987 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13988 INTDEF.
13989 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13990 (dl_main): Likewise.
13991 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13992 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13993 instead of _dl_argv_internal.
13994 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13995 __GI__dl_argv instead of INTUSE(_dl_argv).
13996 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13997 __GI__dl_argv instead of _dl_argv_internal.
13998
13999 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14000 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14001 macro.
14002 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14003 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14004 New macro.
14005 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14006 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14007 macro.
14008 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14009 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14010
14011 2014-11-04 Andreas Schwab <schwab@suse.de>
14012
14013 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14014
14015 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14016
14017 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14018 mtvsrd instruction in binary form.
14019
14020 2014-11-03 Andreas Schwab <schwab@suse.de>
14021
14022 [BZ #17522]
14023 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14024 for less than MB_LEN_MAX use a local buffer of that size.
14025 * libio/tst-fputws.c: New file.
14026 * libio/Makefile (tests): Add tst-fputws.
14027
14028 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14029
14030 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14031 the size of the fpu_fr.fpu_dregs[] array.
14032
14033 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14034
14035 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14036 (__nanosleep): Do not define as alias.
14037 (nanosleep): Define as alias of __nanosleep.
14038 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14039 __libc_nanosleep name.
14040
14041 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14042
14043 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14044 install.texi in comment.
14045
14046 2014-10-31 Torvald Riegel <triegel@redhat.com>
14047
14048 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14049 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14050 ... add here and use lwsync or sync ...
14051 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14052 ... and add here using lwsync.
14053
14054 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14055
14056 * elf/dl-machine-reject-phdr.h: New file.
14057 * elf/dl-load.c: #include that.
14058 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14059 if that returned true.
14060
14061 2014-10-31 Roland McGrath <roland@hack.frob.com>
14062
14063 [BZ #17496]
14064 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14065 gen-as-const-headers chunk. Add a big scare comment after the last
14066 safe place to touch before-compile.
14067
14068 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14069
14070 * manual/install.texi (Tools for Compilation): Update autoconf
14071 version requirements.
14072 * INSTALL: Regenerated.
14073
14074 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14075 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14076 (__libc_pselect): Likewise.
14077
14078 [BZ #14138]
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14083
14084 2014-10-31 Torvald Riegel <triegel@redhat.com>
14085
14086 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14087 correct barrier instruction.
14088 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14089 Likewise.
14090 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14091 Likewise.
14092
14093 2014-10-30 Roland McGrath <roland@hack.frob.com>
14094
14095 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14096 after defining inlines. Instead, just use parens to defeat macro
14097 expansion of __isctype in its declaration.
14098
14099 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14100
14101 * include/sys/uio.h (__libc_readv): Remove declaration.
14102 (__libc_writev): Likewise.
14103 * misc/readv.c (__libc_readv): Rename to __readv.
14104 (__readv): Do not define as alias.
14105 (readv): Define as alias of __readv.
14106 * misc/writev.c (__libc_writev): Rename to __writev.
14107 (__writev): Do not define as alias.
14108 (writev): Define as alias of __writev.
14109 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14110 (__readv): Do not define as alias.
14111 (readv): Define unconditionally as alias of __readv.
14112 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14113 (__writev): Do not define as alias.
14114 (writev): Define unconditionally as alias of __writev.
14115 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14116 name.
14117 (writev): Do not define __libc_writev name.
14118
14119 2014-10-30 Roland McGrath <roland@hack.frob.com>
14120
14121 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14122 (convert_charseq): New function, broken out of ...
14123 (use_from_charmap): ... here. Call it.
14124 (use_to_charmap): Use convert_charseq and free instead of duplicating
14125 its code with a variable-length stack struct.
14126
14127 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14128
14129 * include/fcntl.h (__libc_creat): Remove declaration.
14130 * io/creat.c (__libc_creat): Rename to creat.
14131 (creat): Do not define as alias.
14132 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14133 of creat instead of __libc_creat.
14134 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14135 to creat.
14136 (creat): Do not define as alias.
14137 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14138 __libc_creat.
14139 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14140 __libc_creat name.
14141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14142 Likewise.
14143
14144 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14145
14146 * manual/llio.texi: Add comments discussing why write() may be
14147 considered MT-unsafe on Linux.
14148
14149 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14150
14151 * dl-load.c (local_strdup): Remove.
14152 (expand_dynamic_string_token): Use __strdup.
14153 (decompose_rpath): Likewise.
14154 (_dl_map_object): Likewise.
14155
14156 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14157
14158 [BZ #14132]
14159 * sysdeps/generic/unwind-dw2-fde.c
14160 (__register_frame_info_bases_internal): Do not declare.
14161 (__register_frame_info_table_bases_internal): Likewise.
14162 (__deregister_frame_info_bases_internal): Likewise.
14163 (__register_frame_info_bases): Declare and use hidden_proto before
14164 definition. Use hidden_def instead of INTDEF.
14165 (__register_frame_info_table_bases): Likewise.
14166 (__deregister_frame_info_bases): Likewise.
14167 (__register_frame_info): Do not use INTUSE.
14168 (__register_frame): Likewise.
14169 (__register_frame_info_table): Likewise.
14170 (__register_frame_table): Likewise.
14171 (__deregister_frame_info): Likewise.
14172 (__deregister_frame): Likewise.
14173
14174 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14175
14176 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14177 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14178 not undefine.
14179 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14180 Likewise.
14181 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14182 Likewise.
14183
14184 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14185
14186 [BZ #14138]
14187 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14188 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14190 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14191 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14192 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14193 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14195 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14196 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14197 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14199 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14200 syscall.
14201 (setfsuid): Likewise.
14202 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14203 (setfsuid): Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14205 (setfsuid): Likewise.
14206 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14207 Likewise.
14208 (setfsuid): Likewise.
14209 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14210 (setfsuid): Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14212 Likewise.
14213 (setfsuid): Likewise.
14214
14215 2014-10-27 Andreas Schwab <schwab@suse.de>
14216
14217 [BZ #17501]
14218 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14219 check for Slow_SSE4_2 feature bit.
14220 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14221 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14222 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14223 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14224
14225 2014-10-24 Roland McGrath <roland@hack.frob.com>
14226
14227 * configure.ac: Validate compiler version with a empirical test of
14228 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14229 $CC -v output.
14230 * configure: Regenerated.
14231
14232 * inet/htons.c (htons): Prototypify.
14233 * inet/htonl.c (htonl): Likewise.
14234
14235 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14236
14237 * string/strncat.c (strncat): Improve performance by using strlen.
14238
14239 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14240
14241 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14242
14243 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14244
14245 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14246 Call libc_fetestexcept_aarch64.
14247
14248 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14249
14250 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14251 Call libc_feholdexcept_aarch64.
14252
14253 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14254
14255 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14256 Call get_rounding_mode.
14257
14258 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14259
14260 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14261 Simplify logic.
14262
14263 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14264
14265 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14266 Simplify logic.
14267
14268 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14269
14270 [BZ #14138]
14271 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14272 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14273 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14274 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14275 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14276 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14277 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14278 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14279 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14280 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14281 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14282 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14283 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14284 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14285 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14286 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14287 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14288 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14289 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14290 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14291 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14292 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14293 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14294 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14295 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14296 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14297 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14298 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14299 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14300 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14301 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14302 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14303 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14304 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14305 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14306 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14307 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14308 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14309 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14310 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14311 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14312 syscall.
14313 (geteuid): Likewise.
14314 (getgid): Likewise.
14315 (getuid): Likewise.
14316 (getresgid): Likewise.
14317 (getresuid): Likewise.
14318 (getgroups): Likewise.
14319 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14320 (geteuid): Likewise.
14321 (getgid): Likewise.
14322 (getuid): Likewise.
14323 (getresgid): Likewise.
14324 (getresuid): Likewise.
14325 (getgroups): Likewise.
14326 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14327 (geteuid): Likewise.
14328 (getgid): Likewise.
14329 (getuid): Likewise.
14330 (getresgid): Likewise.
14331 (getresuid): Likewise.
14332 (getgroups): Likewise.
14333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14334 Likewise.
14335 (geteuid): Likewise.
14336 (getgid): Likewise.
14337 (getuid): Likewise.
14338 (getresgid): Likewise.
14339 (getresuid): Likewise.
14340 (getgroups): Likewise.
14341 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14342 (geteuid): Likewise.
14343 (getgid): Likewise.
14344 (getuid): Likewise.
14345 (getresgid): Likewise.
14346 (getresuid): Likewise.
14347 (getgroups): Likewise.
14348 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14349 Likewise.
14350 (geteuid): Likewise.
14351 (getgid): Likewise.
14352 (getuid): Likewise.
14353 (getgroups): Likewise.
14354
14355 [BZ #14138]
14356 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14357 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14358 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14359 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14360 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14361 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14362 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14363 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14364 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14365 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14366 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14368 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14369 __chown.
14370 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14371 (lchown): Likewise.
14372 (fchown): Likewise.
14373 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14374 Likewise.
14375 (lchown): Likewise.
14376 (fchown): Likewise.
14377 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14378 (lchown): Likewise.
14379 (fchown): Likewise.
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14381 Likewise.
14382 (lchown): Likewise.
14383 (fchown): Likewise.
14384
14385 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14386
14387 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14388 Simplify logic.
14389
14390 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14391
14392 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14393 Cleanup logic.
14394
14395 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14396
14397 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14398 Remove unused include.
14399
14400 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14401
14402 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14403 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14404 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14405 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14406
14407 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14408 Helge Deller <deller@gmx.de>
14409
14410 [BZ #17508]
14411 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14412 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14413 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14414
14415 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14416
14417 [BZ #14132]
14418 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14419 Remove macro definition.
14420 (__ashrdi3_v_glibc20): Likewise.
14421 (__lshrdi3_v_glibc20): Likewise.
14422 (__cmpdi2_v_glibc20): Likewise.
14423 (__ucmpdi2_v_glibc20): Likewise.
14424 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14425 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14426 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14427 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14428 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14429 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14430
14431 2014-10-22 Roland McGrath <roland@hack.frob.com>
14432
14433 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14434 old GNU extension [0] syntax.
14435 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14436 alloca rather than an array member with variable length.
14437 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14438 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14439 (parse_opt): ... here. Likewise use alloca there.
14440 Validate the -i argument before checking for rootness.
14441 (send_shutdown): New function, broken out of ...
14442 (parse_opt): ... here.
14443
14444 2014-10-22 Roland McGrath <roland@hack.frob.com>
14445
14446 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14447 macro to get at the _rt_local_ro field.
14448 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14449 ([PIC] case) or _dl_hwcap ([!PIC] case).
14450 * sysdeps/arm/setjmp.S: Likewise.
14451
14452 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14453 * sysdeps/arm/configure.ac: New check to define it.
14454 * sysdeps/arm/configure: Regenerated.
14455 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14456 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14457 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14458 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14459 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14460 Use move/movt pair instead of a load.
14461 (LDST_GLOBAL): Macro removed.
14462 (LDR_GLOBAL): New macro replaces it.
14463 (LDR_HIDDEN): New macro.
14464 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14465 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14466
14467 * setjmp/tst-setjmp-static.c: New file.
14468 * setjmp/Makefile (tests): Add it.
14469 (tests-static): New variable.
14470
14471 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14472
14473 [BZ #17485]
14474 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14475
14476 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14477
14478 [BZ #14132]
14479 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14480
14481 2014-10-21 Roland McGrath <roland@hack.frob.com>
14482
14483 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14484
14485 2014-10-20 Roland McGrath <roland@hack.frob.com>
14486
14487 * io/fts.c (dirent_not_directory): New function.
14488 (fts_build): Call it.
14489
14490 2014-10-20 Roland McGrath <roland@hack.frob.com>
14491
14492 * nptl/version.c (__nptl_main): Use normal __write rather than
14493 INTERNAL_SYSCALL.
14494 (banner): Update copyright years.
14495
14496 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14497 gettimeofday.
14498 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14499 * nptl/pthread_cond_timedwait.c: Likewise.
14500 * nptl/pthread_mutex_timedlock.c: Likewise.
14501 * nptl/sem_timedwait.c: Likewise.
14502
14503 * sysdeps/nptl/bits/libc-lock.h
14504 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14505 (__libc_lock_init_recursive): Return void, not 0.
14506 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14507 (__libc_rwlock_init): Likewise.
14508 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14509
14510 2014-10-20 Torvald Riegel <triegel@redhat.com>
14511
14512 [BZ #15215]
14513 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14514 (__pthread_once_slow): ... here.
14515 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14516 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14517
14518 2014-10-20 Torvald Riegel <triegel@redhat.com>
14519
14520 [BZ #15215]
14521 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14522 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14523 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14524 * nptl/pthread_once.c (__pthread_once): Likewise.
14525 Update comments.
14526
14527 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14528
14529 [BZ #14138]
14530 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14531 name.
14532 (writev): Use __libc_writev as strong name.
14533 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14534 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14535
14536 2014-10-17 Roland McGrath <roland@hack.frob.com>
14537
14538 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14539
14540 * sysdeps/i386/nptl/tls.h
14541 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14542 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14543 New macros.
14544 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14545 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14546 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14547 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14548 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14549 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14550
14551 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14552 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14553 on [__NR_futex].
14554 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14555 broken out of ...
14556 (__pthread_mutex_init): ... here. Call it.
14557 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14558 Conditionalize PI cases on [__NR_futex].
14559 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14560 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14561 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14562
14563 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14564 conditional on [SIGSETXID].
14565 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14566 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14567 is defined. Likewise for SIGSETXID.
14568 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14569 Conditionalize definitions on [SIGSETXID].
14570 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14571 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14572 unblocking on [SIGCANCEL].
14573
14574 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14575 [__NR_set_robust_list].
14576
14577 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14578
14579 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14580 (do_compare): Likewise.
14581
14582 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14583
14584 [BZ #15884]
14585 * string/strcoll_l.c: Don't include stdio.h.
14586 (coll_seq): Remove members idxarr and rulearr.
14587 (get_next_seq_cached): Remove function.
14588 (get_next_seq): Likewise.
14589 (get_next_seq_nocache): Rename to get_next_seq.
14590 (do_compare): Remove function.
14591 (do_compare_nocache): Rename to do_compare.
14592 (STRCOLL): Remove weight and rules cache.
14593
14594 2014-10-16 Roland McGrath <roland@hack.frob.com>
14595
14596 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14597 * sysdeps/arm/sfp-machine.h: ... to here.
14598 * sysdeps/arm/Implies: Remove arm/soft-fp.
14599
14600 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14601
14602 * conform/data/sys/utsname.h-data (*_t): Allow.
14603 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14604 [POSIX] (WEXITED): Do not expect constant.
14605 [POSIX] (WSTOPPED): Likewise.
14606 [POSIX] (WNOHANG): Likewise.
14607 [POSIX] (WNOWAIT): Likewise.
14608 [POSIX] (siginfo_t): Do not expect type or elements.
14609 [POSIX] (pid_t): Do not expect type.
14610 [POSIX] (signal.h): Do not allow header.
14611 [POSIX] (sys/resource.h): Likewise.
14612 [POSIX] (si_*): Do not allow pattern.
14613 [POSIX] (W*): Likewise.
14614 [POSIX] (P_*): Likewise.
14615 [POSIX] (BUS_*): Likewise.
14616 [POSIX] (CLD_*): Likewise.
14617 [POSIX] (FPE_*): Likewise.
14618 [POSIX] (ILL_*): Likewise.
14619 [POSIX] (POLL_*): Likewise.
14620 [POSIX] (SEGV_*): Likewise.
14621 [POSIX] (SI_*): Likewise.
14622 [POSIX] (TRAP_*): Likewise.
14623 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14624 variable.
14625
14626 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14627
14628 [BZ #12926]
14629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14630 infinite loop when __recvmsg returns 0.
14631
14632 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14633
14634 * CANCEL-FCT-WAIVE: Remove file.
14635 * CANCEL-FILE-WAIVE: Likewise.
14636
14637 [BZ #14132]
14638 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14639 instead of INTVARDEF.
14640 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14641 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14642 rtld_hidden_data_def instead of INTVARDEF.
14643 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14644 * elf/dl-deps.c (expand_dst): Likewise.
14645 * elf/dl-load.c (_dl_dst_count): Likewise.
14646 (_dl_dst_substitute): Likewise.
14647 (decompose_rpath): Likewise.
14648 (_dl_init_paths): Likewise.
14649 (open_path): Likewise.
14650 (_dl_map_object): Likewise.
14651 * elf/rtld.c (dl_main): Likewise.
14652 (process_dl_audit): Likewise.
14653 (process_envvars): Likewise.
14654 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14655 Remove declaration.
14656 (__libc_enable_secure): Use rtld_hidden_proto.
14657
14658 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14659
14660 * elf/dl-load.c
14661 (add_path): New function broken out of _dl_rtld_di_serinfo.
14662 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14663
14664 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14665
14666 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14667 parentheses around macro arguments.
14668 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14670 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14671 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14672 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14678 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14679 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14680 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14681 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14682 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14683 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14684 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14685 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14686 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14694 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14697 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14698 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14699 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14700 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14701 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14702 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14703 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14704 Likewise.
14705 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14706 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14707 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14709 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14710 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14711 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14712 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14713 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14714 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14715 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14716 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14717 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14718 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14719 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14721 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14724 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14725 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14726 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14727 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14728 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14729 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14730 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14731 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14732 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14733 (_FP_FRAC_SRS_1): Likewise.
14734 (_FP_FRAC_CLZ_1): Likewise.
14735 (_FP_MUL_MEAT_1_imm): Likewise.
14736 (_FP_MUL_MEAT_1_wide): Likewise.
14737 (_FP_MUL_MEAT_1_hard): Likewise.
14738 (_FP_SQRT_MEAT_1): Likewise.
14739 (_FP_FRAC_ASSEMBLE_1): Likewise.
14740 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14741 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14742 (__FP_CLZ_2): Likewise.
14743 (_FP_MUL_MEAT_2_wide): Likewise.
14744 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14745 (_FP_MUL_MEAT_2_gmp): Likewise.
14746 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14747 (_FP_SQRT_MEAT_2): Likewise.
14748 (_FP_FRAC_ASSEMBLE_2): Likewise.
14749 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14750 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14751 (_FP_FRAC_CLZ_4): Likewise.
14752 (_FP_MUL_MEAT_4_wide): Likewise.
14753 (_FP_MUL_MEAT_4_gmp): Likewise.
14754 (_FP_SQRT_MEAT_4): Likewise.
14755 (_FP_FRAC_ASSEMBLE_4): Likewise.
14756 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14757 * soft-fp/op-common.h (_FP_CMP): Likewise.
14758 (_FP_CMP_EQ): Likewise.
14759 (_FP_CMP_UNORD): Likewise.
14760 (_FP_TO_INT): Likewise.
14761 (_FP_FROM_INT): Likewise.
14762 [!__FP_CLZ] (__FP_CLZ): Likewise.
14763 (_FP_DIV_HELP_imm): Likewise.
14764 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14765 Likewise.
14766 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14769 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14771 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14772 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14773 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14774 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14776 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14777 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14778 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14779 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14780 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14781 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14782 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14783 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14784 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14786 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14791 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14795 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14796 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14797 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14798 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14799 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14800 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14801 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14802 (FP_UNPACK_RAW_SP): Likewise.
14803 (FP_PACK_RAW_S): Likewise.
14804 (FP_PACK_RAW_SP): Likewise.
14805 (FP_UNPACK_S): Likewise.
14806 (FP_UNPACK_SP): Likewise.
14807 (FP_UNPACK_SEMIRAW_S): Likewise.
14808 (FP_UNPACK_SEMIRAW_SP): Likewise.
14809 (FP_PACK_S): Likewise.
14810 (FP_PACK_SP): Likewise.
14811 (FP_PACK_SEMIRAW_S): Likewise.
14812 (FP_PACK_SEMIRAW_SP): Likewise.
14813 (_FP_SQRT_MEAT_S): Likewise.
14814 (FP_CMP_S): Likewise.
14815 (FP_CMP_EQ_S): Likewise.
14816 (FP_CMP_UNORD_S): Likewise.
14817 (FP_TO_INT_S): Likewise.
14818 (FP_FROM_INT_S): Likewise.
14819
14820 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14821
14822 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14823 (FP_EX_INVALID_IMZ): Likewise.
14824 (FP_EX_INVALID_IMZ_FMA): Likewise.
14825 (FP_EX_INVALID_ISI): Likewise.
14826 (FP_EX_INVALID_ZDZ): Likewise.
14827 (FP_EX_INVALID_IDI): Likewise.
14828 (FP_EX_INVALID_SQRT): Likewise.
14829 (FP_EX_INVALID_CVI): Likewise.
14830 (FP_EX_INVALID_VC): Likewise.
14831 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14832 "invalid" exceptions.
14833 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14834 (_FP_ADD_INTERNAL): Likewise.
14835 (_FP_MUL): Likewise.
14836 (_FP_FMA): Likewise.
14837 (_FP_DIV): Likewise.
14838 (_FP_CMP_CHECK_NAN): Likewise.
14839 (_FP_SQRT): Likewise.
14840 (_FP_TO_INT): Likewise.
14841 (FP_EXTEND): Likewise.
14842
14843 2014-10-09 Allan McRae <allan@archlinux.org>
14844
14845 * po/fr.po: Update French translation from translation project.
14846
14847 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14848
14849 [BZ #14132]
14850 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14851 of INTDEF.
14852 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14853 (__cxa_atexit): Use libc_hidden_proto.
14854 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14855
14856 [BZ #14132]
14857 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14858 declaration.
14859 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14860 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14861 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14862 [!_ISOMAC] (__iswctype_internal): Likewise.
14863 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14864 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14865 alias.
14866 (fcntl): Remove __fcntl_internal alias.
14867 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14868 __connect_internal alias.
14869 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14870 Likewise.
14871
14872 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14873 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14874 FP_DENORM_ZERO.
14875 (_FP_CHECK_FLUSH_ZERO): New macro.
14876 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14877 (_FP_CMP): Likewise.
14878 (_FP_CMP_EQ): Likewise.
14879 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14880 FP_DENORM_ZERO.
14881 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14882 (FP_TRUNC): Likewise.
14883
14884 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14885 treated as invalid conversion, not as normal exponent.
14886
14887 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14888 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14889 (_FP_CMP_EQ): Likewise.
14890 (_FP_CMP_UNORD): Likewise.
14891 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14892 (FP_CMP_EQ_D): Likewise.
14893 (FP_CMP_UNORD_D): Likewise.
14894 * soft-fp/extended.h (FP_CMP_E): Likewise.
14895 (FP_CMP_EQ_E): Likewise.
14896 (FP_CMP_UNORD_E): Likewise.
14897 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14898 (FP_CMP_EQ_Q): Likewise.
14899 (FP_CMP_UNORD_Q): Likewise.
14900 * soft-fp/single.h (FP_CMP_S): Likewise.
14901 (FP_CMP_EQ_S): Likewise.
14902 (FP_CMP_UNORD_S): Likewise.
14903 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14904 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14905 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14906 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14907 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14908 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14909 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14910 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14911 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14912 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14913 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14914 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14915 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14916 to FP_CMP_Q.
14917 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14918 FP_CMP_Q.
14919 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14920 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14921 FP_CMP_EQ_Q.
14922 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14923 FP_CMP_Q.
14924 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14925 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14926 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14927 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14928 FP_CMP_EQ_Q.
14929 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14930 FP_CMP_Q.
14931 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14932 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14933 FP_CMP_EQ_Q.
14934 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14935 FP_CMP_Q.
14936 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14937 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14938 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14939 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14940 FP_CMP_EQ_Q.
14941
14942 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14943 a subnormal result, set the underflow exception if trapping on
14944 underflow is enabled.
14945 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14946 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14947 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14948 redefine to 0.
14949 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14950 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14951 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14952 * soft-fp/extendxftf2.c (__extendxftf2): Use
14953 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14954
14955 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14956 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14957 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14958 FP_HANDLE_EXCEPTIONS.
14959 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14960 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14961 FP_HANDLE_EXCEPTIONS.
14962 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14963 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14964 FP_HANDLE_EXCEPTIONS.
14965 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14966 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14967 FP_HANDLE_EXCEPTIONS.
14968
14969 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14970
14971 [BZ #14132]
14972 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14973 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14974 use INTUSE.
14975 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14976 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14977 Remove alias.
14978 (__adjtimex): Define using libc_hidden_ver.
14979 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14980 Remove declaration.
14981 (ntp_gettime): Call __adjtimex directly.
14982 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14983 Remove declaration.
14984 (ntp_gettimex): Call __adjtimex directly.
14985 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14986 __adjtimex_internal alias.
14987
14988 2014-10-08 Roland McGrath <roland@hack.frob.com>
14989
14990 [BZ #17460]
14991 * nscd/nscd.c (more_help): Rewrite list of tables collection
14992 using xstrdup and asprintf.
14993
14994 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14995
14996 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14997 Roland McGrath <roland@hack.frob.com>
14998
14999 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15000 (do_lookup_unique): ... local function 'enter' here; update callers.
15001
15002 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15003
15004 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15005 compat_symbol calls on [SHARED].
15006 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15007 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15008 Remove.
15009 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15010 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15011 (oldsetrlimit): Remove.
15012 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15014 (lchown): New syscall entry.
15015 (oldsetrlimit): Remove.
15016 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15018 (oldsetrlimit): Remove.
15019 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15020
15021 [BZ #14138]
15022 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15023 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15024 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15025 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15026 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15027 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15028 (fchown): Likewise.
15029 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15030 (fchown): Likewise.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15032 Likewise.
15033
15034 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15035
15036 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15037 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15038 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15039 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15040 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15041 Likewise.
15042 (__old_sem_post): Likewise.
15043
15044 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15045
15046 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15047 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15048 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15049 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15050 Use INLINE_VSYSCALL macro.
15051 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15052 __vdso_clock_gettime.
15053 * sysdeps/unix/sysv/linux/tile/init-first.c
15054 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15055 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15056 __vdso_clock_gettime.
15057
15058 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15059 to set up frame more cleanly.
15060
15061 * sysdeps/tile/memcmp.c: New file.
15062
15063 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15064
15065 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15066 * sysdeps/tile/tilegx/strcasestr.c: New file.
15067 * sysdeps/tile/tilegx/strnlen.c: New file.
15068 * sysdeps/tile/tilegx/strstr.c: New file.
15069
15070 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15071
15072 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15073
15074 * nptl/tst-setuid3.c: Write errors to stdout.
15075
15076 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15077
15078 * elf/dl-deps.c
15079 (preload): New functions broken out of _dl_map_object_deps.
15080 (_dl_map_object_deps): Remove a nested function. Update call sites.
15081
15082 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15083
15084 [BZ #14138]
15085 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15086 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15087
15088 2014-10-01 Steve Ellcey <sellcey@mips.com>
15089
15090 * sysdeps/mips/strcmp.S: New.
15091
15092 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15093
15094 [BZ #14138]
15095 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15096 (linkat): Likewise.
15097 (mkdirat): Likewise.
15098 (readlinkat): Likewise.
15099 (renameat): Likewise.
15100 (symlinkat): Likewise.
15101 (unlinkat): Likewise.
15102 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15103 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15104 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15105 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15106 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15107 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15108 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15109
15110 2014-09-30 Will Newton <will.newton@linaro.org>
15111
15112 * math/math.h: Define long double math functions if
15113 _LIBC_TEST is defined.
15114 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15115
15116 * localedata/Makefile: Move assignment to tests-special
15117 into an ifdef testing run-built-tests.
15118 * timezone/Makefile: Likewise.
15119
15120 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15121
15122 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15123 with $(BASH) not $(SHELL).
15124
15125 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15126 Matthew LeGendre <legendre1@llnl.gov>
15127
15128 [BZ #17411]
15129 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15130 l_reloc_result.
15131
15132 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15133
15134 * stdio-common/printf_fp.c
15135 (hack_digit): New function, broken out of ...
15136 (__printf_fp): ... local function here. Update call sites.
15137 hack_digit now takes an additional parameter that is a pointer
15138 to a struct of the referenced locals. Those locals moved inside
15139 the struct and references updated.
15140
15141 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15142
15143 * aclocal.m4: Require autoconf 2.69.
15144 * configure: Regenerated.
15145 * sysdeps/aarch64/configure: Likewise.
15146 * sysdeps/alpha/configure: Likewise.
15147 * sysdeps/arm/armv7/configure: Likewise.
15148 * sysdeps/arm/configure: Likewise.
15149 * sysdeps/ia64/configure: Likewise.
15150 * sysdeps/mach/configure: Likewise.
15151 * sysdeps/mips/configure: Likewise.
15152 * sysdeps/s390/configure: Likewise.
15153 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15155
15156 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15157 file.
15158 * sysdeps/ia64/configure.ac: Likewise.
15159
15160 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15161
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15163 specify symbol version for ld.so. Do not include entry for
15164 libpthread.
15165 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15168
15169 [BZ #14171]
15170 * Makeconfig [$(build-shared) = yes]
15171 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15172 makefiles.
15173 [$(build-shared) = yes && $(soversions.mk-done) = t]
15174 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15175 [$(build-shared) = yes && $(soversions.mk-done) = t]
15176 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15177 to Makerules.
15178 [$(build-shared) = yes && $(soversions.mk-done) = t]
15179 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15180 here.
15181 [$(build-shared) = yes && $(soversions.mk-done) = t]
15182 (common-generated): Don't append gnu/lib-names.h and
15183 gnu/lib-names.stmp here.
15184 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15185 (lib-names-h-abi): New variable.
15186 [$(build-shared) = yes && $(soversions.mk-done) = t]
15187 (lib-names-stmp-abi): Likewise.
15188 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15189 abi-variants] (before-compile): Append
15190 $(common-objpfx)$(lib-names-h-abi).
15191 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15192 abi-variants] (common-generated): Append gnu/lib-names.h.
15193 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15194 abi-variants] (install-others-nosubdir): Depend on
15195 $(inst_includedir)/$(lib-names-h-abi).
15196 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15197 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15198 [$(build-shared) = yes && $(soversions.mk-done) = t]
15199 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15200 [$(build-shared) = yes && $(soversions.mk-done) = t]
15201 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15202 [$(build-shared) = yes && $(soversions.mk-done) = t]
15203 (common-generated): Append $(lib-names-h-abi) and
15204 $(lib-names-stmp-abi).
15205 * scripts/lib-names.awk: Do not handle multi being set.
15206 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15207 Remove variable.
15208 (abi-lp64_be-ld-soname): Likewise.
15209 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15210 Likewise.
15211 (abi-hard-ld-soname): Likewise.
15212 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15213 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15214 Remove variable.
15215 (abi-o32_hard-ld-soname): Likewise.
15216 (abi-o32_soft_2008-ld-soname): Likewise.
15217 (abi-o32_hard_2008-ld-soname): Likewise.
15218 (abi-n32_soft-ld-soname): Likewise.
15219 (abi-n32_hard-ld-soname): Likewise.
15220 (abi-n32_soft_2008-ld-soname): Likewise.
15221 (abi-n32_hard_2008-ld-soname): Likewise.
15222 (abi-n64_soft-ld-soname): Likewise.
15223 (abi-n64_hard-ld-soname): Likewise.
15224 (abi-n64_soft_2008-ld-soname): Likewise.
15225 (abi-n64_hard_2008-ld-soname): Likewise.
15226 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15227 Likewise.
15228 (abi-64-v2-ld-soname): Likewise.
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15230 ld.so entries.
15231 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15232 variable.
15233 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15234 entry.
15235 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15236 variable.
15237 (abi-64-ld-soname): Likewise.
15238 (abi-x32-ld-soname): Likewise.
15239 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15240 entry.
15241 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15242
15243 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15244
15245 [BZ #14138]
15246 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15247 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15248 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15249 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15250 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15251 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15252 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15253 syscall entry for GLIBC_2.2 symbol version.
15254 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15255 Likewise.
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15257 (setrlimit): Likewise.
15258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15259 Likewise.
15260
15261 2014-09-23 Will Newton <will.newton@linaro.org>
15262
15263 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15264 _LINUX_ARM_SYSDEP_H include guard too.
15265 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15266 define.
15267
15268 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15269
15270 * sysdeps/unix/sysv/linux/eventfd.c:
15271 Make first argument unsigned.
15272 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15273 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15274
15275 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15276
15277 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15278 * socket/sys/socket.h: Likewise
15279 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15280
15281 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15282
15283 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15284
15285 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15286
15287 * time/tst-ftime.c: New test.
15288 * time/Makefile (tests): Add tst-ftime.
15289
15290 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15291
15292 * soft-fp/extended.h: Fix comment formatting.
15293 * soft-fp/op-1.h: Likewise.
15294 * soft-fp/op-2.h: Likewise.
15295 * soft-fp/op-4.h: Likewise.
15296 * soft-fp/op-8.h: Likewise.
15297 * soft-fp/op-common.h: Likewise.
15298 * soft-fp/soft-fp.h: Likewise.
15299
15300 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15301
15302 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #6652]
15305 * Makeconfig (soversions-default-setname): Remove variable.
15306 ($(common-objpfx)soversions.i): Don't pass default_setname to
15307 soversions.awk.
15308 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15309 oldest_abi to abi-versions.awk.
15310 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15311 * config.make.in (oldest-abi): Remove variable.
15312 * configure.ac (--enable-oldest-abi): Remove configure option.
15313 * configure: Regenerated.
15314 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15315 text.
15316 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15317 * scripts/soversions.awk: Do not handle default_setname variable.
15318 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15319 variable.
15320 * sysdeps/mach/hurd/configure: Regenerated.
15321 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15322 variable.
15323 * sysdeps/unix/sysv/linux/configure: Regenerated.
15324
15325 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15326
15327 * elf/Makefile (CFLAGS-interp.c): Remove.
15328 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15329 path string.
15330 * elf/interp.c: Include generated runtime-linker.h
15331
15332 * Makerules (lib%.so): Don't include $(+interp) in
15333 prerequisites.
15334 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15335 * dlfcn/eval.c: Remove file.
15336
15337 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15338 macros.
15339
15340 [BZ #17266]
15341 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15342 4.2 and newer.
15343
15344 [BZ #17370]
15345 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15346
15347 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15348 Jakub Jelinek <jakub@redhat.com>
15349
15350 [BZ #17266]
15351 * libio/stdio.h: Check definition of __fortify_function
15352 instead of __extern_always_inline to include bits/stdio2.h.
15353 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15354 check if __extern_always_inline is defined.
15355 [__USE_MISC || __USE_XOPEN]: Likewise.
15356 [__USE_ISOC99] Likewise.
15357 * misc/sys/cdefs.h (__fortify_function): Define only if
15358 __extern_always_inline is defined.
15359 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15360 __extern_always_inline and __extern_inline only for g++-4.3
15361 and newer or a compatible gcc.
15362
15363 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15364
15365 [BZ #17371]
15366 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15367 last change to handle zero prefix length.
15368
15369 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15370
15371 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15372 _SC_REGEX_VERSION.
15373
15374 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15375 _POSIX_RAW_SOCKETS.
15376
15377 2014-09-13 Allan McRae <allan@archlinux.org>
15378
15379 * po/ru.po: Update Russian translation from translation project.
15380
15381 2014-09-12 Roland McGrath <roland@hack.frob.com>
15382
15383 * locale/programs/locale.c (show_locale_vars): Inline local function
15384 into its sole call site. Clean up some style nits.
15385 (print_item): New function, broken out of ...
15386 (show_info): ... local function here. Clean up style nits.
15387
15388 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15389 out of ...
15390 (set_class_defaults): ... local function set_default here.
15391 Define set_default as a macro locally to pass constant parameters.
15392 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15393 rather than a shared local.
15394
15395 * stdlib/rpmatch.c (try): New function, broken out of ...
15396 (rpmatch): ... local function here. Also, prototypify definition.
15397
15398 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15399
15400 * scripts/soversions.awk: Do not handle configuration names.
15401 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15402 vendor and os variables to soversions.awk.
15403 * configure.ac: Do not modify gnu-* host_os.
15404 * configure: Regenerated
15405 * shlib-versions: Remove first column with configuration names.
15406 * nptl/shlib-versions: Likewise.
15407 * nptl_db/shlib-versions: Likewise.
15408 * sysdeps/hppa/shlib-versions: Likewise.
15409 * sysdeps/m68k/shlib-versions: Likewise.
15410 * sysdeps/mach/hurd/shlib-versions: Likewise.
15411 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15412 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15413 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15414 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15415 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15416 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15417 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15418 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15420 Likewise.
15421 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15422 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15423 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15424 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15425 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15426 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15427 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15428 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15429
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15431 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15433 Regenerated.
15434 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15436 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15437
15438 * shlib-versions: Remove OS-specific entries. Moved to files in
15439 sysdeps.
15440 * sysdeps/mach/hurd/shlib-versions: New file.
15441 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15442
15443 * nptl/shlib-versions: Remove architecture-specific entries.
15444 Moved to files in sysdeps.
15445 * shlib-versions: Likewise.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15447 file.
15448 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15449 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15450 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15451 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15452
15453 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15454 (UDP_NO_CHECK6_RX): Likewise.
15455
15456 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15457
15458 * sysdeps/posix/sysconf.c (__sysconf): Spell
15459 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15460
15461 2014-08-12 Florian Weimer <fweimer@redhat.com>
15462
15463 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15464 loading.
15465 * iconv/Versions (__gconv_transliterate): Export for use from
15466 gconv modules.
15467 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15468 (struct __gconv_trans_data, __gconv_trans_fct,
15469 __gconv_trans_context_fct, __gconv_trans_query_fct,
15470 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15471 definitions.
15472 (struct __gconv_step_data): Remove __trans member.
15473 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15474 longer hidden. Remove unused trans_data argument.
15475 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15476 (__gconv_translit_find): Remove declaration.
15477 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15478 prototype.
15479 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15480 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15481 trans_data argument. Add hidden definition.
15482 (__gconv_translit_find): Remove.
15483 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15484 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15485 * iconv/skeleton.c: Remove transliteration initialization.
15486 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15487 __gconv_step_data initialization.
15488 * libio/iofwide.c (__libio_translit_): Remove.
15489 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15490 * wcsmbs/btowc.c (__btowc): Likewise.
15491 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15492 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15493 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15494 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15495 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15496 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15497 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15498 * wcsmbs/wctob.c (wctob): Likewise.
15499
15500 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15501
15502 [BZ #16194]
15503 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15504 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15505 register usage.
15506 * sysdeps/x86/Makefile: Adjust.
15507
15508 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15509 Roland McGrath <roland@hack.frob.com>
15510
15511 * locale/weight.h: Add include guard.
15512 (findidx): Make static rather than auto; take new parameters
15513 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15514 * locale/weightwc.h: Likewise.
15515 * posix/fnmatch_loop.c
15516 (FCT): Change type of EXTRA from int32_t to wint_t.
15517 Don't include either header inside the function.
15518 Call FINDIDX rather than findidx, and pass new arguments.
15519 #undef FINDIDX at the end of the file.
15520 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15521 FINDIDX before including fnmatch_loop.c for the non-wide version.
15522 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15523 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15524 for the wide version.
15525 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15526 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15527 Pass new arguments to findidx.
15528 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15529 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15530 Don't #include it inside the function. Pass new arguments to findidx.
15531 * posix/regex_internal.h
15532 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15533 (re_string_elem_size_at): Don't #include it inside the function.
15534 Pass new arguments to findidx.
15535 * string/strcoll_l.c: #include WEIGHT_H at top level.
15536 (get_next_seq): Don't #include it inside the function.
15537 Pass new arguments to findidx.
15538 (get_next_seq_nocache): Likewise.
15539 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15540 (STRXFRM): Don't #include it inside the function.
15541 Pass new arguments to findidx.
15542
15543 2014-09-11 Florian Weimer <fweimer@redhat.com>
15544
15545 [BZ #17344]
15546 * malloc/malloc.c (unlink): Turn asserts into a call to
15547 malloc_printerr.
15548
15549 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15550
15551 [BZ #17370]
15552 * libio/wfileops (do_ftell_wide): Free OUT.
15553
15554 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15555
15556 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15557
15558 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15559
15560 [BZ #17363]
15561 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15562 group if the current group is empty.
15563
15564 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15565
15566 * benchtests/bench-memset.c (test_main): Add more test from size
15567 from 32 to 512 bytes.
15568 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15569 Add POWER8 memset object.
15570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15571 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15572 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15573 implementation.
15574 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15575 Likewise.
15576 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15577 multiarch POWER8 memset optimization.
15578 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15579 POWER8 memset optimization.
15580
15581 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15582 Remove bzero multiarch objects.
15583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15585 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15586 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15587 Remove define.
15588 [__bzero]: Redefine to specific name.
15589 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15590 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15591 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15592 define.
15593 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15594 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15595
15596 2014-09-10 Florian Weimer <fweimer@redhat.com>
15597
15598 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15599 warnings into errors.
15600
15601 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15602 __cxa_thread_atexit_impl prototype.
15603
15604 2014-09-09 Steve Ellcey <sellcey@mips.com>
15605
15606 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15607 Fix capitalization of error message.
15608
15609 2014-09-09 Steve Ellcey <sellcey@mips.com>
15610
15611 * sysdeps/mips/preconfigure: Modify ABI tests.
15612
15613 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15614
15615 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15616
15617 2014-09-07 Roland McGrath <roland@hack.frob.com>
15618 Carlos O'Donell <carlos@systemhalted.org>
15619
15620 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15621 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15622 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15623 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15624 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15626 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15627 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15628 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15629 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15630 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15631 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15632 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15633 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15634 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15635 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15636 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15637 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15638 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15639 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15640 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15641 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15642 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15643 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15644 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15645 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15646 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15647 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15648 Deconditionalize the code that was previously under [RESET_PID].
15649 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15650 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15651 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15652 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15653 include sysdep.h.
15654
15655 2014-09-08 Allan McRae <allan@archlinux.org>
15656
15657 * version.h (RELEASE): Set to "development".
15658 (VERSION): Set to "2.20.90"
15659
15660 2014-09-07 Allan McRae <allan@archlinux.org
15661
15662 * version.h (RELEASE): Set to "stable".
15663 (VERSION): Set to "2.20"
15664 * include/features.h (__GLIBC_MINOR__): Set to 20.
15665
15666 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15667 Liebler.
15668
15669 * po/ko.po: Update Korean translation from translation project.
15670
15671 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15672
15673 [BZ #17354]
15674 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15675 macro for handling signed relocations.
15676
15677 2014-09-03 Florian Weimer <fweimer@redhat.com>
15678
15679 [BZ #17325]
15680 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15681 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15682 assert.
15683 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15684 * iconvdata/ibm935.c (BODY): Likewise.
15685 * iconvdata/ibm937.c (BODY): Likewise.
15686 * iconvdata/ibm939.c (BODY): Likewise.
15687 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15688 assert.
15689 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15690 script.
15691 * iconvdata/run-iconv-test.sh: New test loop for checking for
15692 decoder crashers.
15693
15694 2014-09-02 Khem Raj <raj.khem@gmail.com>
15695
15696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15697 libm_hidden_ver.
15698
15699 2014-09-01 Allan McRae <allan@archlinux.org>
15700
15701 * po/eo.po: Update Esperanto translation from translation project.
15702
15703 * po/ca.po: Update Catalan translation from translation project.
15704
15705 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15706
15707 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15708 __proc_dostop call.
15709
15710 2014-08-27 Mark Wielaard <mjw@redhat.com>
15711
15712 [BZ #17319]
15713 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15714 to call set_thread_area instead of hand written asm.
15715 (__NR_set_thread_area): Removed define.
15716 (TLS_FLAG_WRITABLE): Likewise.
15717 (__ASSUME_SET_THREAD_AREA): Remove check.
15718 (TLS_EBX_ARG): Remove define.
15719 (TLS_LOAD_EBX): Likewise.
15720
15721 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15722
15723 Simplify atomicity of socket creation in bind.
15724
15725 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15726 looking up the name after linking the file.
15727
15728 2014-08-27 Allan McRae <allan@archlinux.org>
15729
15730 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15731
15732 2014-08-26 Florian Weimer <fweimer@redhat.com>
15733
15734 [BZ #17187]
15735 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15736 trans_compare, open_translit, __gconv_translit_find):
15737 Remove module loading code.
15738
15739 2014-08-26 Allan McRae <allan@archlinux.org>
15740
15741 * po/vi.po: Update Vietnamese translation from translation project.
15742
15743 * po/uk.po: Update Ukrainian translation from translation project.
15744
15745 * po/fr.po: Update French translation from translation project.
15746
15747 * po/ru.po: Update Russian translation from translation project.
15748
15749 * po/pl.po: Update Polish translation from translation project.
15750
15751 * po/cs.po: Update Czech translation from translation project.
15752
15753 * po/de.po: Update German translation from translation project.
15754
15755 * po/bg.po: Update Bulgarian translation from translation project.
15756
15757 * po/sv.po: Update Sweedish translation from translation project.
15758
15759 * po/nl.po: Update Dutch translation from translation project.
15760
15761 * po/es.po: Update Spanish translation from translation project.
15762
15763 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15764
15765 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15766
15767 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15768 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15769 (CPPFLAGS-iconvconfig): Likewise.
15770 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15771
15772 * include/libc-symbols.h: Remove unnecessary check for
15773 NOT_IN_libc.
15774 * nptl/pthreadP.h: Likewise.
15775 * sysdeps/aarch64/setjmp.S: Likewise.
15776 * sysdeps/alpha/setjmp.S: Likewise.
15777 * sysdeps/arm/sysdep.h: Likewise.
15778 * sysdeps/i386/setjmp.S: Likewise.
15779 * sysdeps/m68k/setjmp.c: Likewise.
15780 * sysdeps/posix/getcwd.c: Likewise.
15781 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15782 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15783 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15784 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15785 * sysdeps/sh/sh3/setjmp.S: Likewise.
15786 * sysdeps/sh/sh4/setjmp.S: Likewise.
15787 * sysdeps/unix/alpha/sysdep.h: Likewise.
15788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15790 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15791 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15796 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15799 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15801 * sysdeps/x86_64/setjmp.S: Likewise.
15802
15803 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15804
15805 [BZ #17263]
15806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15807 <stdint.h>.
15808 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15809 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15810
15811 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15812
15813 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15814
15815 [BZ #17262]
15816 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15817 and __x86_64__ when disabling x87 inline functions.
15818
15819 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 [BZ #17259]
15822 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15823 asm statement with __cpuid_count.
15824
15825 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15826
15827 * configure.ac: Change __ehdr_start code to dereference the struct.
15828 Run readelf on the output to look for relocations.
15829 * configure: Regenerated.
15830
15831 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15832
15833 [BZ #17261]
15834 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15835 value to 0.
15836 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15837
15838 2014-08-12 Roland McGrath <roland@hack.frob.com>
15839
15840 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15841
15842 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15843
15844 [BZ #16892]
15845 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15846 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15847
15848 2014-08-12 Sean Anderson <seanga2@gmail.com>
15849
15850 * malloc/malloc.c: Fix typo in comment.
15851
15852 2014-08-09 Allan McRae <allan@archlinux.org>
15853
15854 * Regenerate libc.po.
15855
15856 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15857
15858 * intl/tst-gettext2.sh: Check every lang file for creation.
15859
15860 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15861
15862 * sysdeps/aarch64/fpu/math_private.h
15863 (libc_feholdsetround_noex_aarch64_ctx): New function.
15864
15865 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15866
15867 * sysdeps/arm/armv6/strcpy.S (strcpy):
15868 Fix performance issue in misaligned cases.
15869
15870 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15871
15872 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15873 Move definition from termios.h.
15874 (struct termio): Likewise.
15875 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15876 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15877 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15878 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15879 Likewise.
15880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15881 Move definition to ioctl-types.h
15882 (struct termio): Likewise.
15883 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15884 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15885 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15886 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15887 Likewise.
15888
15889 2014-08-05 Richard Henderson <rth@redhat.com>
15890
15891 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15892 exceptions.
15893 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15894 Add fraiseexcpt.
15895 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15896 Use __feraiseexcept.
15897 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15898 Protect libm symbols with IS_IN_libm.
15899
15900 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15901
15902 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15903
15904 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15905
15906 2014-08-04 Will Newton <will.newton@linaro.org>
15907
15908 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15909 file.
15910
15911 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15912
15913 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15914 variants for each function.
15915
15916 2014-08-04 Roland McGrath <roland@hack.frob.com>
15917
15918 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15919 appended ...
15920 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15921 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15922 appended ...
15923 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15924 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15925 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15926 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15927 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15928 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15929 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15930 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15931 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15932 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15933 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15934 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15935 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15936 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15937 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15938 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15939 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15940 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15941 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15942 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15943 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15944 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15945 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15946 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15947 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15948 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15949 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15950 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15951 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15952 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15953 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15954 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15955 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15956 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15957 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15959 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15960 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15961 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15962 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15963 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15964 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15965 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15966 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15967 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15968 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15969 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15970 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15971 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15972 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15973 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15974 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15975 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15976 Update #include.
15977 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15978 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15979
15980 2014-08-04 Roland McGrath <roland@hack.frob.com>
15981
15982 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15983 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15985 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15986 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15987 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15988
15989 2014-08-04 Roland McGrath <roland@hack.frob.com>
15990
15991 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15992 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15993 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15994 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15995
15996 2014-08-04 Roland McGrath <roland@hack.frob.com>
15997
15998 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15999 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16000 (__libc_vfork): Define function under this name.
16001 (__vfork): Define as an alias.
16002 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16003 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16004
16005 2014-08-04 Roland McGrath <roland@hack.frob.com>
16006
16007 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16008 that was previously under [RESET_PID].
16009 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16010
16011 2014-08-04 Andreas Schwab <schwab@suse.de>
16012
16013 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16014
16015 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16016
16017 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16018 (main): Likewise.
16019
16020 2014-08-01 Roland McGrath <roland@hack.frob.com>
16021
16022 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16023
16024 2014-08-01 Richard Henderon <rth@redhat.com>
16025
16026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16027 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16028 typo in exact zero test.
16029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16030 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16032
16033 2014-08-01 Roland McGrath <roland@hack.frob.com>
16034
16035 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16036 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16037 * sysdeps/arm/sysdep.h: ... here.
16038 [!__ASSEMBLER__]: Include <stdint.h>.
16039
16040 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16041
16042 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16043 (HAVE_WCTYPE_H): Likewise.
16044 (HAVE_ISWCTYPE): Likewise.
16045 (ENABLE_NLS): Likewise.
16046 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16047 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16048
16049 * posix/regex_internal.c: Check if DEBUG is defined and is
16050 set.
16051
16052 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16053 (HAVE_MBSRTOWCS): Likewise.
16054 * posix/fnmatch.c: Include string.h unconditionally.
16055
16056 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16057
16058 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16059 reversal.
16060
16061 2014-07-31 Roland McGrath <roland@hack.frob.com>
16062
16063 * sysdeps/generic/safe-fatal.h: New file.
16064 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16065 * nptl/forward.c: Include it.
16066 (__pthread_unwind): Use __safe_fatal as default action, rather
16067 than a bogus use of INTERNAL_SYSCALL that could never work.
16068
16069 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16070 * configure.ac (libc_cv_builtin_trap): New test.
16071 * configure: Regenerated.
16072 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16073 (ABORT_INSTRUCTION): Define using __builtin_trap.
16074
16075 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16076 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16077 * sysdeps/nptl/nptl-signals.h: New file.
16078 * nptl/pthreadP.h: Include <nptl-signals.h>.
16079
16080 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16081
16082 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16083 (ONE_DIRECTION): Define.
16084 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16085 (ONE_DIRECTION): Define.
16086 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16087 (ONE_DIRECTION): Define.
16088
16089 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16090
16091 * sysdeps/s390/Makefile: Delete file.
16092 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16093 * sysdeps/s390/__longjmp.c: Delete file.
16094 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16095 Remove fields __flags and __reserved.
16096 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16097 and add versioning.
16098 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16099 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16100 * sysdeps/s390/rtld-setjmp.S: Likewise.
16101 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16102 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16103 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16104 * sysdeps/s390/s390-32/setjmp.S: ... here.
16105 Add versioning.
16106 (__sigsetjmp): Remove setting __flags field.
16107 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16108 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16109 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16110 * sysdeps/s390/s390-64/setjmp.S: ... here.
16111 Add versioning.
16112 (__sigsetjmp): Remove setting __flags field.
16113 * sysdeps/s390/setjmp.S: Delete file.
16114 * sysdeps/s390/sigjmp.c: Likewise.
16115 * sysdeps/s390/v1-longjmp.c: Likewise.
16116 * sysdeps/s390/v1-setjmp.h: Likewise.
16117 * sysdeps/s390/v1-sigjmp.c: Likewise.
16118 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16119 Remove v1-longjmp_chk.
16120 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16121 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16122 Include debug/longjmp_chk.c and add versioning.
16123 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16124 Include nptl/pt-longjmp.c and add versioning.
16125 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16126 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16127 Include __longjmp.c.
16128 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16129 Move to ...
16130 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16131 (__getcontext): Remove setting __flags field.
16132 Add versioning.
16133 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16134 Don't restore upper high grps.
16135 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16136 Likewise.
16137 (__swapcontext): Remove setting uc_flags field.
16138 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16139 Delete file.
16140 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16141 Include __longjmp.c.
16142 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16143 Move to ...
16144 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16145 (__getcontext): Remove setting __flags field.
16146 Add versioning.
16147 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16148 (__swapcontext): Remove setting uc_flags field.
16149 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16150 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16151 Remove fields uc_high_gprs and __reserved.
16152 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16153 New file with reverted content.
16154 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16155 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16156 Regenerated.
16157 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16158 Regenerated.
16159
16160 2014-07-31 Andreas Schwab <schwab@suse.de>
16161
16162 * config.h.in (HAVE_IFUNC): Define to 0.
16163 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16164 definedness.
16165
16166 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16167
16168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16169 memmove-avx-unaligned, memcpy-avx-unaligned and
16170 mempcpy-avx-unaligned.
16171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16172 Add tests for AVX memcpy functions.
16173 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16174 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16175 memcpy_chk.
16176 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16177 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16178 memmove_chk.
16179 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16180 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16181 mempcpy_chk.
16182 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16183 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16184 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16185
16186 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16187
16188 [BZ #17213]
16189 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16190 powerpc64le.
16191
16192 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16193
16194 [BZ #16839]
16195 * manual/llio.texi: Add section about open file description locks.
16196 * manual/examples/ofdlocks.c: Example of open file description
16197 lock usage.
16198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16199 F_OFD_SETLK, and F_OFD_SETLKW.
16200
16201 2014-07-23 Allan McRae <allan@archlinux.org>
16202
16203 * po/es.po: Update Spanish translation from translation project.
16204
16205 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16206
16207 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16208
16209 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16210
16211 [BZ #17078]
16212 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16213 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16214 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16215
16216 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16217
16218 [BZ #17088]
16219 * math/fesetenv.c (__fesetenv)
16220 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16221 * math/feupdateenv.c (__feupdateenv)
16222 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16223
16224 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16225 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16226 (__ASSUME_SOCKETCALL): Do not define.
16227
16228 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16229 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16230 (__ASSUME_SOCKETCALL): Do not define.
16231 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16232 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16233 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16234 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16235 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16236 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16237 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16238 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16239
16240 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16241 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16242 (__ASSUME_SOCKETCALL): Do not define.
16243 (__ASSUME_IPC64): Define unconditionally.
16244 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16245 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16246 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16247 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16248 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16249 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16250 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16251 Likewise.
16252
16253 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16254 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16255 (__ASSUME_SOCKETCALL): Do not define.
16256 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16257 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16258 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16259 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16260 (__ASSUME_REQUEUE_PI): Define unconditionally.
16261 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16262 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16263 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16264 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16265 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16266 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16267
16268 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16269 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16270 (__ASSUME_SOCKETCALL): Do not define.
16271 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16272 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16273 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16274 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16275 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16276 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16277
16278 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16279 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16280 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16281 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16282 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16283 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16284 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16285 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16286 (__ASSUME_GETCPU_SYSCALL): Likewise.
16287
16288 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16289 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16290 cases for individual architectures.
16291 * sysdeps/gnu/configure: Regenerated.
16292 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16293 LIBC_SLIBDIR_RTLDDIR.
16294 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16295 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16296 LIBC_SLIBDIR_RTLDDIR.
16297 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16299 LIBC_SLIBDIR_RTLDDIR.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16301 Regenerated.
16302 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16303 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16304 file.
16305 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16306 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16307 file.
16308 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16309 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16310 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16311 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16312
16313 * sysdeps/aarch64/shlib-versions: Move to ...
16314 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16315 * sysdeps/alpha/shlib-versions: Move to ...
16316 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16317 * sysdeps/arm/shlib-versions: Move to ...
16318 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16319 * sysdeps/hppa/shlib-versions: Move all contents except for
16320 libgcc_s entry to ...
16321 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16322 entry from ...
16323 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16324 * sysdeps/ia64/shlib-versions: Move to ...
16325 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16326 entry from ...
16327 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16328 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16329 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16330 * sysdeps/microblaze/shlib-versions: Move to ...
16331 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16332 * sysdeps/mips/shlib-versions: Move to ...
16333 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16334 entry from ...
16335 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16336 * sysdeps/tile/shlib-versions: Move to ...
16337 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16338 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16339 from ...
16340 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16341 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16342 entry from ...
16343 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16344
16345 2014-07-17 Will Newton <will.newton@linaro.org>
16346
16347 * sysdeps/arm/bits/atomic.h
16348 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16349 (__arch_compare_and_exchange_bool_16_int): Likewise.
16350 (__arch_compare_and_exchange_bool_64_int): Likewise.
16351
16352 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16353 into an #else block.
16354
16355 2014-07-16 Roland McGrath <roland@hack.frob.com>
16356
16357 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16358 just Linux configurations. Test empirically that the compiler sets
16359 __ARM_EABI__, rather than using the tuple to decide.
16360 * sysdeps/arm/preconfigure: Regenerated.
16361 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16362 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16363 contents appended ...
16364 * sysdeps/arm/configure.ac: ... here.
16365 * sysdeps/arm/configure: Regenerated.
16366
16367 2014-07-15 Roland McGrath <roland@hack.frob.com>
16368
16369 * nptl/pthread_kill.c: New file.
16370 * nptl/pthread_sigmask.c: New file.
16371 * nptl/pthread_sigqueue.c: New file.
16372
16373 * sysdeps/nptl/lowlevellock.h: New file.
16374 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16375 * sysdeps/nptl/lowlevellock-futex.h: New file.
16376
16377 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16378 Remove dead declarations.
16379
16380 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16381
16382 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16383 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16384 config-cflags-avx2.
16385 * sysdeps/x86_64/configure.ac: Likewise.
16386 * sysdeps/i386/configure: Regenerated.
16387 * sysdeps/x86_64/configure: Likewise.
16388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16389 memset-avx2 only if config-cflags-avx2 is yes.
16390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16391 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16392 defined.
16393 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16394 only if HAVE_AVX2_SUPPORT is defined.
16395 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16396
16397 2014-07-14 Alan Modra <amodra@gmail.com>
16398
16399 [BZ #17153]
16400 * elf/elf.h (DT_PPC64_NUM): Correct value.
16401 * NEWS: Add to fixed bug list.
16402
16403 2014-07-13 Jim Meyering <meyering@fb.com>
16404
16405 [BZ 17150]
16406 regex: don't deref NULL upon heap allocation failure
16407 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16408 failure in one more place.
16409 To trigger the segfault, configure grep -with-included-regex,
16410 build it, and run these commands:
16411 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16412
16413 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16414
16415 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16416
16417 2014-07-11 Richard Henderson <rth@redhat.com>
16418
16419 * sysdeps/aarch64/libm-test-ulps: Update.
16420
16421 2014-07-10 Florian Weimer <fweimer@redhat.com>
16422
16423 [BZ #17135]
16424 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16425 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16426 (__nptl_setxid): Initialize error member. Call
16427 __nptl_setxid_error.
16428 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16429 * nptl/descr.h (struct xid_command): Add error member.
16430 * nptl/tst-setuid3.c: New file.
16431 * nptl/Makefile (tests): Add it.
16432
16433 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16434
16435 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16436 New define.
16437 (__lll_trylock): Use __lll_base_trylock.
16438 (__lll_cond_trylock): Likewise.
16439
16440 2014-07-10 Roland McGrath <roland@hack.frob.com>
16441
16442 * nptl/pthread_create.c (start_thread): Use atomic_or and
16443 lll_futex_wake directly rather than lll_robust_dead.
16444 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16445 (lll_robust_dead): Macro removed.
16446 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16447 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16448 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16449 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16450 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16451 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16452 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16453 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16454 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16455 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16456 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16457 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16458 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16459 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16460 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16461
16462 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16463 Use atomic_compare_and_exchange_val_acq directly rather than
16464 lll_robust_trylock.
16465 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16466 (__lll_robust_trylock, lll_robust_trylock): Removed.
16467 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16468 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16469 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16470 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16471 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16472 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16473 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16474 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16475 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16476 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16477 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16478 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16479 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16480 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16481
16482 2014-07-02 Florian Weimer <fweimer@redhat.com>
16483
16484 * manual/locale.texi (Locale Names): New section documenting
16485 locale name syntax. Adjust menu and node chaining accordingly.
16486 (Choosing Locale): Reference Locale Names, Locale Categories.
16487 Mention setting LC_ALL=C. Reflect that name syntax is now
16488 documented.
16489 (Locale Categories): New section title. Reference Locale Names.
16490 LC_ALL is an environment variable, but not a category.
16491 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16492 description, now in Locale Name. Reference that section. Locale
16493 name syntax is now documented.
16494
16495 2014-07-02 Florian Weimer <fweimer@redhat.com>
16496
16497 [BZ #17137]
16498 * locale/findlocale.c (name_present, valid_locale_name): New
16499 functions.
16500 (_nl_find_locale): Use the loc_name variable to store name
16501 candidates. Call name_present and valid_locale_name to check and
16502 validate locale names. Return an error if the locale is invalid.
16503
16504 2014-07-02 Florian Weimer <fweimer@redhat.com>
16505
16506 * locale/setlocale.c (setlocale): Use strdup for allocating
16507 composite name copy.
16508
16509 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16510
16511 Sync up with gnulib.
16512 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16513 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16514 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16515 and _GL_ARG_NONNULL.
16516 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16517 [!_LIBC]: Include code for Windows and Cygwin.
16518 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16519 Include prototype for int strerror_r.
16520 [!_LIBC] (is_open): New function.
16521 (flush_stdout): New function.
16522 (print_errno_message): Use it.
16523 (error): Likewise.
16524 (error_at_line): Likewise.
16525 (error_tail) Add function attribute macros. Use
16526 __builtin_expect.
16527
16528 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16529
16530 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16531
16532 * io/ftw.c: Include sys/param.h unconditionally.
16533
16534 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16535
16536 [BZ #17125]
16537 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16538 libc_freeres_ptr.
16539 (freecache): New function to free CACHE on exit.
16540
16541 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16542 initialization.
16543
16544 2014-07-09 David S. Miller <davem@davemloft.net>
16545
16546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16547
16548 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16549 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16550 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16551 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16552 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16553 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16554 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16555 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16556 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16557 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16558 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16559 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16560 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16561
16562 2014-07-09 Andreas Schwab <schwab@suse.de>
16563
16564 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16565 output.
16566 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16567 (do_test): Likewise.
16568
16569 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16570
16571 2014-07-09 Will Newton <will.newton@linaro.org>
16572
16573 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16574 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16575 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16576 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16577 * sysdeps/hppa/start.S (_start): Likewise.
16578
16579 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16580
16581 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16582
16583 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16584 defined.
16585
16586 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16587
16588 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16589 after checking that it is non-NULL.
16590
16591 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16592
16593 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16594
16595 * sysdeps/powerpc/memmove.c: Remove file.
16596 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16597 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16598 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16599 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16600 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16601 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16602 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16603 string memmove instead of removed powerpc one.
16604
16605 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16606 [weak_alias]: Fix compiler warning due trailing data.
16607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16608 [weak_alias]: Likewise.
16609 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16610 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16611
16612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16613 (__libc_ifunc_impl_list): Add memmove functions.
16614
16615 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16618 Remove code.
16619 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16620 Likewise
16621 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16622 Likewise
16623 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16624 Likewise
16625 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16626 Likewise
16627 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16628 Likewise
16629 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16630 Likewise
16631 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16632 Likewise
16633 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16634 Likewise
16635 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16636 Likewise
16637 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16638 Likewise
16639 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16640 Likewise
16641 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16642 Likewise
16643 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16644 Likewise
16645 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16646 Likewise
16647 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16648 Likewise
16649 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16650 Likewise
16651
16652 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16653
16654 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16655 to avoid alignment traps in non-cacheable memory.
16656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16657
16658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16659 multiarch objects.
16660 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16661 file: multiarch power7 memmove.
16662 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16663 multiarch default memmove.
16664 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16665 multiarch memove for powerpc32/power4.
16666
16667 * string/bcopy.c: Use full path to include memmove.c.
16668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16669 multiarch objects.
16670 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16671 bcopy for powerpc64.
16672 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16673 bcopy for powerpc64.
16674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16675 and memmove implementations.
16676 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16677 optimized multiarch memmove for POWER7/powerpc64.
16678 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16679 default multiarch memmove for powerpc64.
16680 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16681 multiarch for powerpc64.
16682 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16683 for POWER7/powerpc64.
16684 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16685 memmove for POWER7/powerpc64.
16686
16687 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16688 glibc default one.
16689
16690 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16691 __ELF_NATIVE_CLASS equal to 64.
16692
16693 2014-07-07 Roland McGrath <roland@hack.frob.com>
16694
16695 * sysdeps/nptl/lowlevellock.h: File removed.
16696
16697 * NEWS: NPTL is no longer an add-on!
16698 * nptl/internaltypes.h: Moved ...
16699 * sysdeps/nptl/internaltypes.h: ... here.
16700 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16701 * sysdeps/nptl/fork.c: Likewise.
16702 * sysdeps/nptl/gai_misc.h: Likewise.
16703 * sysdeps/nptl/librt-cancellation.c: Likewise.
16704 * sysdeps/nptl/jmp-unwind.c: Likewise.
16705 * sysdeps/nptl/setxid.h: Likewise.
16706 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16707 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16708 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16709 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16710 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16711 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16712 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16713 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16714 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16715 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16716 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16717 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16718 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16719 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16720 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16721 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16722 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16723 * nptl/Makeconfig: Moved ...
16724 * sysdeps/nptl/Makeconfig: ... here.
16725 * nptl/configure: File removed.
16726 * nptl/ANNOUNCE: File removed.
16727 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16728 * sysdeps/unix/sysv/linux/configure: Regenerated.
16729
16730 * nptl/Makefile (routines): Add libc_pthread_init,
16731 libc_multiple_threads, register-atfork and unregister-atfork.
16732 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16733 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16734 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16735 pthread-pi-defines.sym, structsem.sym.
16736 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16737 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16738 [$(subdir) = nptl] (tests): Add tst-setgetname.
16739 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16740 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16741 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16742 [!LIBC_SIGACTION]: Remove aliases.
16743 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16744 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16745 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16746 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16747 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16748 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16750 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16751 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16752 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16753 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16754 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16755 __libc_allocate_rtsig_private.
16756 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16757 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16758 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16759 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16760 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16761 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16762 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16763 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16764 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16765 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16766 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16767 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16768 * nptl/internaltypes.h: ... here.
16769 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16770 * sysdeps/nptl/jmp-unwind.c: ... here.
16771 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16772 * nptl/libc-lowlevellock.c: ... here.
16773 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16774 * nptl/libc_multiple_threads.c: ... here.
16775 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16776 * nptl/libc_pthread_init.c: ... here.
16777 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16778 * nptl/lowlevelbarrier.sym: ... here.
16779 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16780 * nptl/lowlevelcond.sym: ... here.
16781 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16782 * nptl/lowlevellock.c: ... here.
16783 * nptl/lowlevellock.h: Moved ...
16784 * sysdeps/nptl/lowlevellock.h: ... here.
16785 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16786 * nptl/lowlevelrobustlock.c: ... here.
16787 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16788 * nptl/lowlevelrobustlock.sym: ... here.
16789 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16790 * nptl/lowlevelrwlock.sym: ... here.
16791 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16792 * nptl/pt-fork.c: ... here.
16793 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16794 * nptl/pthread-pi-defines.sym: ... here.
16795 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16796 * nptl/pthread_attr_getaffinity.c: ... here.
16797 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16798 * nptl/pthread_attr_setaffinity.c: ... here.
16799 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16800 * nptl/pthread_mutex_cond_lock.c: ... here.
16801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16802 Update #include.
16803 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16804 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16805 * nptl/pthread_once.c: ... here, replacing old file.
16806 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16807 * nptl/pthread_yield.c: ... here.
16808 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16809 * nptl/register-atfork.c: ... here.
16810 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16811 * nptl/sem_post.c: ... here.
16812 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16813 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16814 * nptl/sem_timedwait.c: ... here.
16815 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16816 * nptl/sem_trywait.c: ... here.
16817 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16818 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16819 * nptl/sem_wait.c: ... here.
16820 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16821 * nptl/structsem.sym: ... here.
16822 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16823 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16824 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16825 * nptl/unregister-atfork.c: ... here.
16826 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16827 * nptl/unwindbuf.sym: ... here.
16828 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16829 * sysdeps/nptl/fork.c: ... here.
16830 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16831 * sysdeps/nptl/fork.h: ... here.
16832 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16833 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16834 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16835 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16836 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16837 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16838 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16839 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16840 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16841 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16842 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16843 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16844 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16845 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16846 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16847 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16848 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16849 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16850 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16851 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16852 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16853 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16854 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16855 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16856 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16857 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16858 * sysdeps/unix/sysv/linux/raise.c: ... here.
16859 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16860 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16861 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16862 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16863 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16864 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16865 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16866 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16867 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16868 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16869 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16870 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16871 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16872 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16873 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16874
16875 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16876
16877 * sysdeps/generic/memcopy.h: Add comment for
16878 MEMCPY_OK_FOR_FWD_MEMMOVE.
16879
16880 2014-07-04 Will Newton <will.newton@linaro.org>
16881
16882 * string/memchr.c: Merge from gnulib.
16883 [_LIBC]: Remove conditionals.
16884 (__ptr_t): Remove define.
16885 (LONG_MAX_32_BITS): Likewise.
16886 (LONG_MAX): Likewise.
16887 (MEMCHR): Use ANSI prototype and optimize algorithm.
16888
16889 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16890
16891 2014-07-03 Roland McGrath <roland@hack.frob.com>
16892
16893 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16894 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16895
16896 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16897 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16898 in a bare environment with no <stdlib.h> installed.
16899 * sysdeps/nptl/configure: Regenerated.
16900
16901 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16902
16903 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16904 AC_EGREP_CPP for kernel header checks, so they only succeed if
16905 including <linux/version.h> actually works right.
16906 * sysdeps/unix/sysv/linux/configure: Regenerated.
16907
16908 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16909 value so it's not diagnosed as unused.
16910
16911 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16912 thing) with "ifeq ($(subdir),rt)".
16913
16914 2014-07-03 Richard Henderson <rth@redhat.com>
16915
16916 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16917 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16918 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16919
16920 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16921 (math_force_eval): New.
16922
16923 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16924 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16925
16926 * sysdeps/alpha/fpu/s_round.c: Remove file.
16927 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16928
16929 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16930 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16931 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16932 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16933 (_dl_start, print_statistics): Likewise.
16934 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16935 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16936
16937 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16938 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16939 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16940 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16941 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16942 (HP_SMALL_TIMING_AVAIL): Define.
16943 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16944 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16945 (HP_SMALL_TIMING_AVAIL): Define.
16946 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16947 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16948
16949 * sysdeps/aarch64/hp-timing.h: New file.
16950
16951 * sysdeps/generic/hp-timing.h: Remove dead comment.
16952 * sysdeps/generic/hp-timing-common.h: New file.
16953 * sysdeps/alpha/hp-timing.h: Include it.
16954 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16955 * sysdeps/i386/i686/hp-timing.h: Likewise.
16956 * sysdeps/ia64/hp-timing.h: Likewise.
16957 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16958 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16959 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16960 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16961 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16962 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16963 (hp_timing_t): New.
16964
16965 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16966 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16967 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16968 * elf/rtld.c (_dl_start_final): Likewise.
16969 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16970 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16971 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16972 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16973 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16974 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16975 (HP_TIMING_DIFF_INIT): Remove.
16976 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16977 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16978 (HP_TIMING_DIFF_INIT): Remove.
16979 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16980 * sysdeps/i386/i686/hp-timing.c: Remove file.
16981 * sysdeps/x86_64/hp-timing.c: Remove file.
16982 * sysdeps/ia64/hp-timing.c: Remove file.
16983 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16984 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16986 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16987
16988 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16989 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16990 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16991 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16993 (HP_TIMING_ACCUM): Remove.
16994 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16995 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16996 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16997
16998 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16999 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17000 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17001 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17002 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17003 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17004 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17005 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17006
17007 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17008
17009 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17010
17011 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17012
17013 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17014
17015 Sync up with gettext.
17016 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17017 [_MSC_VER]: Include malloc.h
17018 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17019 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17020 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17021 TEMP_FAILURE_RETRY. Cast return of alloca.
17022 [!_LIBC] Call gl_rwlock_init.
17023 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17024
17025 2014-07-02 Roland McGrath <roland@hack.frob.com>
17026
17027 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17028 before checking its value.
17029
17030 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17031
17032 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17033
17034 * debug/memcpy_chk.c: Don't include pagecopy.h.
17035 * debug/mempcpy_chk.c: Likewise.
17036 * string/memcpy.c: Likewise.
17037 * string/memmove.c: Likewise.
17038 * sysdeps/powerpc/memmove.c: Likewise.
17039 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17040 definition of PAGE_COPY_FWD_MAYBE here...
17041 * sysdeps/generic/pagecopy.h: ... from here.
17042 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17043
17044 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17045 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17046
17047 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17049 optimizations.
17050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17051 (__libc_ifunc_impl_list): Likewise.
17052 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17053 multiarch strcat for PPC64.
17054 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17055 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17056
17057 2014-07-02 Roland McGrath <roland@hack.frob.com>
17058
17059 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17060
17061 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17062
17063 * intl/loadmsgcat.c: Remove declaration of
17064 get_sysdep_segment_value.
17065 (get_sysdep_segment_value): Use ISO C style.
17066 (_nl_load_domain): Use ISO C style. Get rid of redundant
17067 semicolon. Fix typo and formatting in comment.
17068 (_nl_unload_domain): Use ISO C style.
17069
17070 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17071
17072 2014-07-02 Will Newton <will.newton@linaro.org>
17073
17074 * malloc/obstack.c: Merge from gnulib master.
17075 [HAVE_CONFIG_H]: Remove conditional code.
17076 [!_LIBC]: Include config.h.
17077 [!ELIDE_CODE]: Don't include inttypes.h, include
17078 stdint.h unconditionally.
17079 (print_and_abort): Mark as _Noreturn.
17080 (_obstack_allocated_p): Mark as __attribute_pure__.
17081 (obstack_free): Rename to __obstack_free.
17082 [!__attribute__]: Remove conditional code.
17083 * malloc/obstack.h: Merge from gnulib master.
17084 [__cplusplus]: Move conditional down.
17085 [!__attribute_pure__]: Define __attribute_pure__ here
17086 if it is not already defined.
17087 (_obstack_memory_used): Mark as __attribute_pure__.
17088 [!__obstack_free]: Define as obstack_free.
17089 [__GNUC__]: Remove check for ancient NeXT gcc.
17090
17091 2014-07-02 Will Newton <will.newton@linaro.org>
17092 Paul Eggert <eggert@cs.ucla.edu>
17093
17094 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17095
17096 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
17098 * resolv/gethnamaddr.c: Add comment warning that the file is
17099 not maintained.
17100
17101 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17102
17103 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17104 entries.
17105
17106 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17107 entry for aio_cancel and aio_cancel64.
17108 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17109 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17110 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17111 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17112 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17113 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17114 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17115 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17116 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17117 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17118 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17119 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17120 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17121
17122 2014-07-01 Roland McGrath <roland@hack.frob.com>
17123
17124 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17125 * nptl/pthread_mutex_lock.c: Likewise.
17126 * nptl/pthread_mutex_timedlock.c: Likewise.
17127 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17128
17129 2014-07-01 Richard henderson <rth@redhat.com>
17130
17131 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17132 (__isnan, __isnanl): Remove.
17133 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17134
17135 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17136
17137 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17138
17139 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17140
17141 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17142
17143 * resolv/nss_dns/dns-host.c (getanswer_r)
17144 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17145
17146 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17147
17148 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17149 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17150 undefine.
17151 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17152 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17153
17154 2014-07-01 Roland McGrath <roland@hack.frob.com>
17155
17156 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17157 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17158
17159 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17160 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17161
17162 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17163 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17164 ... here.
17165 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17166 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17167
17168 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17169 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17170 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17171 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17172
17173 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17174 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17175 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17176 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17177 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17178 Moved ...
17179 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17180 ... here.
17181 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17182 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17183 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17184 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17185 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17186 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17187 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17188 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17189 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17190 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17191 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17192 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17193 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17194 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17195 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17196 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17197 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17198 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17200 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17201 ... here.
17202 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17205 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17206 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17207 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17208 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17209 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17210
17211 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17212
17213 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17214 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17215 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17216 Add sysdep.
17217
17218 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17219
17220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17221
17222 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17223
17224 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17225 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17226
17227 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17228
17229 * sysdeps/arm/libm-test-ulps: Regenerated.
17230
17231 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17232 Roland McGrath <roland@hack.frob.com>
17233
17234 * test-skeleton.c (signal_handler): Kill the whole process group
17235 before killing the child individually.
17236 (main): Report any failure on `setpgid'.
17237
17238 2014-06-30 Roland McGrath <roland@hack.frob.com>
17239
17240 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17241 from _TLS_H to _ARM_NPTL_TLS_H.
17242 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17243 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17244
17245 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17246
17247 [BZ #16539]
17248 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17249 (__expm1l): Return argument unchanged when small but not
17250 subnormal.
17251
17252 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17253 include macro name.
17254 (_FP_UNPACK_RAW_1_P): Likewise.
17255 (_FP_PACK_RAW_1): Likewise.
17256 (_FP_PACK_RAW_1_P): Likewise.
17257 (_FP_MUL_MEAT_1_wide): Likewise.
17258 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17259 (_FP_MUL_MEAT_1_hard): Likewise.
17260 (_FP_DIV_MEAT_1_imm): Likewise.
17261 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17262 (_FP_DIV_MEAT_1_udiv): Likewise.
17263 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17264 (_FP_UNPACK_RAW_2): Likewise.
17265 (_FP_UNPACK_RAW_2_P): Likewise.
17266 (_FP_PACK_RAW_2): Likewise.
17267 (_FP_PACK_RAW_2_P): Likewise.
17268 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17269 (_FP_MUL_MEAT_2_wide): Likewise.
17270 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17271 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17272 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17273 (_FP_MUL_MEAT_2_gmp): Likewise.
17274 (_FP_DIV_MEAT_2_udiv): Likewise.
17275 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17276 (_FP_FRAC_SRL_4): Likewise.
17277 (_FP_FRAC_SRST_4): Likewise.
17278 (_FP_FRAC_SRS_4): Likewise.
17279 (_FP_UNPACK_RAW_4): Likewise.
17280 (_FP_UNPACK_RAW_4_P): Likewise.
17281 (_FP_PACK_RAW_4): Likewise.
17282 (_FP_PACK_RAW_4_P): Likewise.
17283 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17284 (_FP_MUL_MEAT_4_wide): Likewise.
17285 (_FP_MUL_MEAT_4_gmp): Likewise.
17286 (umul_ppppmnnn): Likewise.
17287 (_FP_DIV_MEAT_4_udiv): Likewise.
17288 (__FP_FRAC_ADD_4): Likewise.
17289 (__FP_FRAC_SUB_3): Likewise.
17290 (__FP_FRAC_SUB_4): Likewise.
17291 (__FP_FRAC_DEC_3): Likewise.
17292 (__FP_FRAC_DEC_4): Likewise.
17293 (__FP_FRAC_ADDI_4): Likewise.
17294 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17295 (_FP_FRAC_SRL_8): Likewise.
17296 (_FP_FRAC_SRS_8): Likewise.
17297
17298 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17299 include macro name.
17300 (FP_UNPACK_RAW_EP): Likewise.
17301 (FP_PACK_RAW_E): Likewise.
17302 (FP_PACK_RAW_EP): Likewise.
17303 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17304 (_FP_ISSIGNAN): Likewise.
17305 (_FP_ADD_INTERNAL): Likewise.
17306 (_FP_FMA): Likewise.
17307 (_FP_CMP): Likewise.
17308 (_FP_SQRT): Likewise.
17309 (_FP_TO_INT): Likewise.
17310 (_FP_FROM_INT): Likewise.
17311 (FP_EXTEND): Likewise.
17312 (_FP_DIV_MEAT_N_loop): Likewise.
17313
17314 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17315
17316 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17317 throughout.
17318
17319 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17320
17321 [BZ #17097]
17322 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17323 result with correct sign in case of exponents that produce
17324 overflow except for X very close to 1.
17325
17326 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17327
17328 mktime: merge #if/#ifdef usage from glibc
17329 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17330 as that works with both Glibc's and Gnulib's style.
17331 See thread starting at Siddhesh Poyarekar's bug report at:
17332 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17333
17334 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17335
17336 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17337 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17338 * sysdeps/tile/tilegx/memmove.c: Remove file.
17339
17340 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17341
17342 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17343 abi-name definition.
17344 * scripts/soversions.awk: Do not handle or generate ABI lines.
17345 * shlib-versions: Remove ABI entries.
17346 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17347 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17348
17349 2014-06-27 Roland McGrath <roland@hack.frob.com>
17350
17351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17352 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17354 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17356 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17358 Moved ...
17359 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17360 ... here.
17361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17362 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17364 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17366 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17368 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17370 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17372 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17374 Moved ...
17375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17379 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17381 Moved ...
17382 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17384 Moved ...
17385 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17387 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17389 Moved ...
17390 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17392 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17393 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17394 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17395 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17396 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17397 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17398 Moved ...
17399 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17401 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17403 Moved ...
17404 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17406 Moved ...
17407 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17408 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17409 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17410 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17411 Moved ...
17412 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17413 ... here.
17414 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17415 Identical file removed.
17416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17417 Moved ...
17418 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17419 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17420 Identical file removed.
17421 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17422 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17424 Moved ...
17425 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17426 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17427 Identical file removed.
17428 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17429 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17430 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17431 Identical file removed.
17432 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17433 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17435 Identical file removed.
17436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17437 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17439 Identical file removed.
17440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17441 Moved ...
17442 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17444 Identical file removed.
17445 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17446 Moved ...
17447 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17449 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17451 Identical file removed.
17452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17453 Moved ...
17454 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17455 ... here.
17456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17457 Identical file removed.
17458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17459 Moved ...
17460 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17462 Identical file removed.
17463 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17464 Moved ...
17465 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17466 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17469 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17471 Moved ...
17472 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17473 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17474 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17475
17476 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17477 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17478 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17479 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17480 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17481
17482 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17483
17484 [BZ #17092]
17485 * nscd/nscd.c (monitor_child): Return exit status of child
17486 instead of return value from wait syscall.
17487
17488 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17489
17490 * configure.ac (libc_commonpagesize): Remove variable.
17491 (libc_relro_required): Likewise.
17492 (libc_cv_z_relro): Remove configure test.
17493 * configure: Regenerated.
17494 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17495 variable.
17496 (libc_relro_required): Likewise.
17497 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17498 (libc_relro_required): Likewise.
17499 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17500 (libc_relro_required): Likewise.
17501 * sysdeps/arm/preconfigure: Regenerated.
17502 * sysdeps/ia64/preconfigure: Remove file.
17503 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17504 variable.
17505 (libc_relro_required): Likewise.
17506
17507 [BZ #16561]
17508 [BZ #16562]
17509 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17510 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17511 recompute overflowing results in original rounding mode.
17512 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17513 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17514 recompute overflowing results in original rounding mode.
17515 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17516 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17517 recompute overflowing results in original rounding mode.
17518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17519 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17520 recompute overflowing results in original rounding mode.
17521 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17522 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17523 recompute overflowing results in original rounding mode.
17524 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17525 (libc_feholdsetround_ctx): New macro.
17526 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17527 * sysdeps/i386/fpu/libm-test-ulps: Update.
17528 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17529
17530 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17531
17532 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17533 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17534 corresponding .cpsetup call.
17535
17536 2014-06-26 Roland McGrath <roland@hack.frob.com>
17537
17538 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17539 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17540 * sysdeps/arm/Makefile [$(subdir) = csu]
17541 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17542 (static-only-routines): Add aeabi_read_tp here.
17543 (shared-only-routines): Add libc-aeabi_read_tp here.
17544 (CFLAGS-libc-start.c): Add -fexceptions here.
17545 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17546 (sysdep_routines, static-only-routines, shared-only-routines):
17547 Don't add to these here.
17548 (CFLAGS-libc-start.c): Likewise.
17549
17550 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17551 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17552 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17553 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17554 * sysdeps/arm/Makefile [$(subdir) = rt]
17555 (librt-sysdep_routines, librt-shared-only-routines):
17556 Append rt-aeabi_unwind_cpp_pr1 here.
17557 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17558 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17559 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17560 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17561 Append nptl-aeabi_unwind_cpp_pr1 here.
17562 (tests): Filter out tst-cleanupx4 here.
17563 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17564 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17565 Don't do those here.
17566
17567 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17568
17569 * scripts/list-sources.sh: Do not handle ports specially.
17570
17571 2014-06-26 Roland McGrath <roland@hack.frob.com>
17572
17573 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17574 * sysdeps/arm/feupdateenv.c: Likewise.
17575
17576 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17577
17578 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17579
17580 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17581 trailing whitespace removed.
17582 * scripts/config.guess: Update to version 2014-03-23.
17583 * scripts/config.sub: Update to version 2014-05-01
17584 * scripts/install-sh: Update to version 2013-12-25.23.
17585 * scripts/move-if-change: Update from gnulib.
17586
17587 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17588
17589 * debug/memmove_chk.c: Remove pagecopy.h include.
17590
17591 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17592
17593 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17594 identical to gnulib mktime.
17595
17596 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17597
17598 * configure.ac: Do not test for machine being rs6000. Do not test
17599 for powerpc*-*soft.
17600 * configure: Regenerated.
17601
17602 [BZ #11505]
17603 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17604 test.
17605 * configure: Regenerated.
17606 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17607 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17608 Remove configure test.
17609 * sysdeps/arm/configure: Regenerated.
17610 * sysdeps/nptl/configure.ac: Do not check
17611 libc_cv_asm_cfi_directives.
17612 * sysdeps/nptl/configure: Regenerated.
17613 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17614 * sysdeps/x86_64/nptl/configure: Remove generated file.
17615 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17616 unconditional.
17617 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17618
17619 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17620
17621 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17622 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17623 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17624 it is defined.
17625
17626 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17627 instead of whether it is defined.
17628 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17629 * sysdeps/hppa/dl-machine.h: Likewise.
17630 * sysdeps/ia64/dl-machine.h: Likewise.
17631 * sysdeps/m68k/dl-machine.h: Likewise.
17632 * sysdeps/microblaze/dl-machine.h: Likewise.
17633 * sysdeps/mips/dl-machine.: Likewise.
17634 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17635 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17636 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17637 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17638 * sysdeps/sh/dl-machine.h: Likewise.
17639 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17640 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17641 * sysdeps/tile/dl-machine.h: Likewise.
17642 * sysdeps/x86_64/dl-machine.h: Likewise.
17643
17644 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17645 code.
17646 (verify_persistent_db): Likewise.
17647
17648 2014-06-26 Roland McGrath <roland@hack.frob.com>
17649
17650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17651 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17653 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17655 Moved ...
17656 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17657 ... here.
17658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17659 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17661 Identical file removed.
17662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17663 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17665 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17667 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17669 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17671 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17673 Moved ...
17674 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17676 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17678 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17680 Moved ...
17681 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17683 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17685 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17687 Identical file removed.
17688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17689 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17691 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17693 Moved ...
17694 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17695 ... here.
17696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17697 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17699 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17701 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17705 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17707 Moved ...
17708 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17710 Moved ...
17711 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17713 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17715 Moved ...
17716 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17718 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17719
17720 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17721 folded into ...
17722 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17723 * sysdeps/unix/sysv/linux/s390/Versions
17724 (libpthread: GLIBC_2.19): New version set.
17725 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17726 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17727 (librt: GLIBC_2.3.3): New version set.
17728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17729 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17730 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17731 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17732 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17733 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17734 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17735 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17736 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17737 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17738 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17739 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17740 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17741 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17742 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17743 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17744 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17745 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17746 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17747 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17748 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17749 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17750 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17752 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17754 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17756 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17757 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17758 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17759 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17764 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17766 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17767 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17768 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17769 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17770 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17772 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17773
17774 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17775 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17776 (__libc_vfork): Define the function under this name.
17777 [!NOT_IN_libc] (__vfork): Make this an alias.
17778 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17780 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17781 (__libc_vfork): Define the function under this name.
17782 [!NOT_IN_libc] (__vfork): Make this an alias.
17783 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17784 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17785 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17786 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17788 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17789
17790 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17791 code that was previously under [RESET_PID].
17792 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17793 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17794 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17795
17796 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17797 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17798 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17799 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17800 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17801 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17802 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17803 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17804 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17805 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17806 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17807 Moved ...
17808 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17809 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17810 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17811 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17812 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17813 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17814 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17815 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17816 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17817 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17819 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17820 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17821 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17822 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17823 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17824 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17825 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17826 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17827 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17828 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17829 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17830 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17831 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17832 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17833 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17834 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17835 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17836 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17837
17838 2014-06-25 Roland McGrath <roland@hack.frob.com>
17839
17840 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17841 that was previously under [RESET_PID].
17842 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17843
17844 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17845
17846 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17847 not undefine and redefine.
17848 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17849 [O_CLOEXEC]: Make code unconditional.
17850 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17851 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17852 <kernel-features.h>.
17853 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17854 conditional variable definition.
17855 (shm_open) [O_CLOEXEC]: Make code unconditional.
17856 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17857 code.
17858
17859 * configure.ac (USE_REGPARMS): Don't define here.
17860 * configure: Regenerated.
17861 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17862 * sysdeps/i386/configure: Regenerated.
17863
17864 * nptl/createthread.c: Don't include kernel-features.h.
17865 * nptl/pthread_cancel.c: Likewise.
17866 * nptl/pthread_condattr_setclock.c: Likewise.
17867 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17868 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17869 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17870 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17871 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17872 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17873 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17875 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17876 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17877 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17878 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17879 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17880 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17881 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17882 * nscd/gai.c: Likewise.
17883 * nss/nss_db/db-open.c: Likewise.
17884 * sysdeps/generic/ldsodefs.h: Likewise.
17885 * sysdeps/sh/nptl/tls.h: Likewise.
17886 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17887 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17888 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17889 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17890 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17891 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17892 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17893 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17895 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17896 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17897 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17898 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17899 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17900 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17901 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17902 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17903 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17904 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17905 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17906 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17907 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17908 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17909 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17910 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17912 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17913 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17914 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17915 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17916 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17917 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17918 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17919 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17920 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17921 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17922 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17923 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17924 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17925 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17926 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17927 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17928 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17929 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17930 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17931 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17932 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17933 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17934 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17935 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17936 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17937 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17938 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17939 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17940 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17941 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17942 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17943 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17966 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17967 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17968 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17969 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17970 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17971 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17972 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17973 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17974 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17975 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17976 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17977 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17978 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17979 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17980 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17981 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17982 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17983 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17984 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17985 * sysdeps/unix/sysv/linux/system.c: Likewise.
17986 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17987 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17988 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17989 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17990 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17991 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17992 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17993
17994 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17995 * configure: Regenerated.
17996 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17997
17998 * configure.ac (base_machine): Do not set specially for particular
17999 machines here.
18000 * configure: Regenerated.
18001 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18002 settings from configure.ac.
18003 * sysdeps/i386/preconfigure: New file.
18004 * sysdeps/s390/preconfigure: Likewise.
18005 * sysdeps/sh/preconfigure: Likewise.
18006 * sysdeps/sparc/preconfigure: Likewise.
18007
18008 2014-06-25 Roland McGrath <roland@hack.frob.com>
18009
18010 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18011 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18012 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18013 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18014 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18015 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18016 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18017 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18018 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18019 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18020 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18021 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18022 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18023 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18024 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18025 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18027 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18028 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18029
18030 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18031 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18032 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18033 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18034 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18035 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18036 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18037 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18038 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18039 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18040 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18041 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18042 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18043 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18044 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18045 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18046 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18047 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18048 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18049 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18051 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18053 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18055 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18056 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18057 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18058 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18059 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18060 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18061 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18063 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18064 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18065 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18066 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18067 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18068
18069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18070 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18072 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18074 Moved ...
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18076 ... here.
18077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18078 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18082 Moved ...
18083 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18085 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18087 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18089 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18091 Moved ...
18092 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18094 Moved ...
18095 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18099 Moved ...
18100 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18102 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18106 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18108 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18110 Moved ...
18111 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18112 ... here.
18113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18114 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18116 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18118 Moved ...
18119 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18123 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18125 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18127 Moved ...
18128 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18130 Moved ...
18131 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18133 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18135 Moved ...
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18138 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18140 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18141
18142 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18143
18144 * timezone/checktab.awk: Update from tzcode 2014e.
18145 * timezone/private.h: Likewise.
18146 * timezone/tzfile.h: Likewise.
18147 * timezone/zdump.c: Likewise.
18148 * timezone/zic.c: Likewise.
18149
18150 * sysdeps/unix/sysv/linux/kernel-features.h
18151 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18152 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18153 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18154 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18155 Remove conditional code.
18156
18157 2014-06-25 Will Newton <will.newton@linaro.org>
18158
18159 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18160 (_dl_arm_cap_flags): Add HWCAP2 values.
18161 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18162 (_DL_HWCAP_COUNT): Increase to 37.
18163 (_DL_HWCAP_LAST): New define.
18164 (_DL_HWCAP2_LAST): New define.
18165 (_dl_procinfo): Add support for printing
18166 AT_HWCAP2 entries.
18167 (_dl_string_hwcap): Use _dl_hwcap_string.
18168
18169 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18170
18171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18172
18173 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18174
18175 * README: Do not mention ports directory.
18176
18177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18178 Remove macro.
18179 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18180 <kernel-features.h>.
18181 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18182 conditional variable definition.
18183 (__futimes): Update comment.
18184 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18185 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18186
18187 [BZ #16560]
18188 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18189 arguments close to 0.
18190 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18191 Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18193 Likewise.
18194 * math/auto-libm-test-in: Add more tests of exp10.
18195 * math/auto-libm-test-out: Regenerated.
18196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18197
18198 * sysdeps/unix/sysv/linux/kernel-features.h
18199 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18200 * sysdeps/unix/sysv/linux/readv.c: Do not include
18201 <kernel-features.h>.
18202 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18203 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18204 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18205 unconditional.
18206 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18207 conditional code.
18208 * sysdeps/unix/sysv/linux/writev.c: Do not include
18209 <kernel-features.h>.
18210 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18211 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18212 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18213 unconditional.
18214 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18215 conditional code.
18216
18217 2014-06-25 Will Newton <will.newton@linaro.org>
18218
18219 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18220 comment changes throughout the file. Remove checks
18221 for HAVE_*_H definitions that are not required.
18222 (__gen_tempname): Call abort if an unknown kind value is
18223 passed.
18224
18225 2014-06-25 Andreas Schwab <schwab@suse.de>
18226
18227 [BZ #17086]
18228 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18229 scalbln, scalblnf, scalblnl in libc.
18230
18231 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18232
18233 [BZ #17086]
18234 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18235 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18236 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18237
18238 2014-06-24 Roland McGrath <roland@hack.frob.com>
18239
18240 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18241 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18242 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18243 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18244 Update #include.
18245 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18246 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18247 Update #include.
18248 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18249 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18250 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18251 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18252 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18253 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18254 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18255 * sysdeps/x86/bits/semaphore.h: ... here.
18256 * sysdeps/x86/nptl/elide.h: Moved ...
18257 * sysdeps/x86/elide.h: ... here.
18258 * sysdeps/x86_64/nptl/Implies: File removed.
18259 * sysdeps/i386/nptl/Implies: File removed.
18260
18261 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18262
18263 [BZ #16539]
18264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18265 return the argument for normal arguments with exponent below -64.
18266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18267 Likewise.
18268 * math/auto-libm-test-in: Add another test of expm1.
18269 * math/auto-libm-test-out: Regenerated.
18270
18271 [BZ #16287]
18272 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18273 calling __erfcl for arguments at least 16.
18274 * math/auto-libm-test-in: Add more tests of erf.
18275 * math/auto-libm-test-out: Regenerated.
18276
18277 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18278 individual architectures.
18279 * sysdeps/unix/sysv/linux/configure: Regenerated.
18280 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18281 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18282 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18283 (ldd_rewrite_script): Define variable.
18284 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18286 file.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18288 generated file.
18289 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18290 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18291 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18292 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18293 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18294 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18295 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18296 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18297
18298 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18299
18300 [BZ #17084]
18301 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18302 Rename member __data.d to __data.__elision_data.
18303
18304 2014-06-24 Wilco <wdijkstr@arm.com>
18305
18306 * NEWS: Add 16918 to fixed bug list.
18307
18308 2014-06-24 Wilco <wdijkstr@arm.com>
18309
18310 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18311
18312 2014-06-24 Wilco <wdijkstr@arm.com>
18313
18314 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18315 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18316 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18317 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18318 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18319 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18320 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18321 Use _FPU_MASK_RM.
18322
18323 2014-06-24 Wilco <wdijkstr@arm.com>
18324
18325 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18326
18327 2014-06-24 Wilco <wdijkstr@arm.com>
18328
18329 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18330 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18331 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18332 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18333
18334 2014-06-24 Wilco <wdijkstr@arm.com>
18335
18336 [BZ #16918]
18337 * sysdeps/arm/feupdateenv.c (feupdateenv):
18338 Rewrite to reduce FPSCR accesses and fix return value.
18339
18340 2014-06-24 Wilco <wdijkstr@arm.com>
18341
18342 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18343 Optimize to avoid unnecessary FPSCR writes.
18344 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18345 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18346 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18347 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18348
18349 2014-06-24 Wilco <wdijkstr@arm.com>
18350
18351 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18352 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18353 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18354 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18355 Call libc_fetestexcept_vfp.
18356 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18357 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18358 __SOFTFP__ ifdef so that they can be built for softfp.
18359
18360 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18361
18362 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18363 argument type signed char.
18364
18365 * Makerules (check-abi): Dump diff of symlist if the test
18366 fails.
18367
18368 2014-06-23 Roland McGrath <roland@hack.frob.com>
18369
18370 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18371 using abort.
18372
18373 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18374 Remove unused variable ST.
18375
18376 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18377
18378 [BZ #16354]
18379 [BZ #17061]
18380 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18381 small arguments before calling __expm1.
18382 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18383 small arguments before calling __expm1f.
18384 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18385 small arguments before calling __expm1l.
18386 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18387 Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18389 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18390 spurious underflow for some cosh tests.
18391 * math/auto-libm-test-out: Regenerated.
18392 * sysdeps/i386/fpu/libm-test-ulps: Update.
18393
18394 [BZ #17050]
18395 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18396 (__ieee754_y1): Set errno if return value overflows.
18397 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18398 (__ieee754_y1f): Set errno if return value overflows.
18399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18400 (__ieee754_y1l): Set errno if return value overflows.
18401 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18402 (__ieee754_y1l): Set errno if return value overflows.
18403 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18404 * math/auto-libm-test-out: Regenerated.
18405
18406 * math/gen-auto-libm-tests.c: Document use of
18407 ignore-zero-inf-sign.
18408 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18409 (input_flags): Add ignore-zero-inf-sign.
18410 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18411 * math/gen-libm-test.pl (generate_testfile): Handle
18412 ignore-zero-inf-sign.
18413 * math/auto-libm-test-in: Mark some cpow tests with
18414 ignore-zero-inf-sign and some with xfail-rounding.
18415 * math/auto-libm-test-out: Regenerated.
18416 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18417 * sysdeps/i386/fpu/libm-test-ulps: Update.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18419
18420 [BZ #16315]
18421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18422 overflowing or underflowing operations take place with sign of
18423 result.
18424 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18425 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18426 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18427 (__ieee754_pow): Recompute overflowing and underflowing results in
18428 original rounding mode.
18429 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18430 (__powl_helper): Allow negative argument X and scale negated value
18431 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18432 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18433 overflowing or underflowing operations take place with sign of
18434 result.
18435 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18436 Include <math.h>.
18437 * math/auto-libm-test-in: Add more tests of pow.
18438 * math/auto-libm-test-out: Regenerated.
18439 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18440 (pow_tonearest_test_data): Remove.
18441 (pow_test_tonearest): Likewise.
18442 (pow_towardzero_test_data): Likewise.
18443 (pow_test_towardzero): Likewise.
18444 (pow_downward_test_data): Likewise.
18445 (pow_test_downward): Likewise.
18446 (pow_upward_test_data): Likewise.
18447 (pow_test_upward): Likewise.
18448 (main): Don't call removed functions.
18449 * sysdeps/i386/fpu/libm-test-ulps: Update.
18450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18451
18452 2014-06-23 Roland McGrath <roland@hack.frob.com>
18453
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18455 Moved ...
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18458 Moved ...
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18461 Moved ...
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18464 Moved ...
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18467 File removed.
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18469 File removed.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18471 File removed.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18473 File removed.
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18475 File removed.
18476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18477 File removed.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18479 File removed.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18481 File removed.
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18483 File removed.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18485 File removed.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18487 File removed.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18489 File removed.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18491 Moved ...
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18494 Moved ...
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18496 ... here.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18498 Moved ...
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18501 Moved ...
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18504 Moved ...
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18507 Moved ...
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18510 Moved ...
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18513 Moved ...
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18516 Moved ...
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18520 ... here.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18522 Moved ...
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18525 Moved ...
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18527 ... here.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18529 Moved ...
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18531 ... here.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18533 Moved ...
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18535 ... here.
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18537 Moved ...
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18540 Moved ...
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18545 Moved ...
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18547 ... here.
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18549 Moved ...
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18551 ... here.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18553 Moved ...
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18556 Moved ...
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18559 Moved ...
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18562 Moved ...
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18565 Moved ...
18566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18567 ... here.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18569 Moved ...
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18572 Moved ...
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18575 Moved ...
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18578 Moved ...
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18583 Moved ...
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18586 Moved ...
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18589 Moved ...
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18591 ... here.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18593 Moved ...
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18595 ... here.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18597 Moved ...
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18599 ... here.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18601 Moved ...
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18604 Moved ...
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18607 Moved ...
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18610 Moved ...
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18612 ... here.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18614 Moved ...
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18616 ... here.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18618 Moved ...
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18620 ... here.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18622 Moved ...
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18625 Moved ...
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18627
18628 2014-06-23 Will Newton <will.newton@linaro.org>
18629 Wilco <wdijkstr@arm.com>
18630
18631 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18632 implementation. Include get-rounding-mode.h.
18633 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18634 [!libc_feholdsetround_noex_ctx]: Define
18635 libc_feholdsetround_noex_ctx.
18636 [!libc_feholdsetround_noexf_ctx]: Define
18637 libc_feholdsetround_noexf_ctx.
18638 [!libc_feholdsetround_noexl_ctx]: Define
18639 libc_feholdsetround_noexl_ctx.
18640 (libc_feholdsetround_ctx): New function.
18641 (libc_feresetround_ctx): New function.
18642 (libc_feholdsetround_noex_ctx): New function.
18643 (libc_feresetround_noex_ctx): New function.
18644
18645 2014-06-23 Roland McGrath <roland@hack.frob.com>
18646
18647 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18648 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18649 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18650 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18651 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18652 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18653
18654 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18655 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18656 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18657 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18658 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18659 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18661 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18663 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18665 Moved ...
18666 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18667 ... here.
18668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18669 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18671 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18673 Moved ...
18674 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18676 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18679 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18680 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18682 Moved ...
18683 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18685 Moved ...
18686 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18688 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18690 Moved ...
18691 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18693 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18694 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18695 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18696 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18697 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18699 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18700 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18701 Moved ...
18702 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18703 ... here.
18704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18705 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18707 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18709 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18711 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18713 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18715 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18716 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18717 Moved ...
18718 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18720 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18722 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18723 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18724 Moved ...
18725 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18727 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18728 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18729 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18730
18731 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18732 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18733 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18734 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18735 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18736 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18737 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18738 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18740 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18741 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18742 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18743 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18744 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18745 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18746 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18747 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18748 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18749 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18750 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18751 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18752 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18753 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18754 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18755 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18756 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18757 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18758 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18759
18760 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18761
18762 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18763 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18764 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18765 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18766 (IPV6_PMTUDISC_INTERFACE): Likewise.
18767 (IPV6_PMTUDISC_OMIT): Likewise.
18768
18769 2014-06-23 Andreas Schwab <schwab@suse.de>
18770
18771 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18772 Remove unused errout label.
18773
18774 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18775
18776 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18777 macro: hardware supports Vector Crypto instructions.
18778
18779 2014-06-23 Will Newton <will.newton@linaro.org>
18780
18781 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18782 rather than __builtin_expect.
18783
18784 * elf/dl-lookup.c (undefined_msg): Remove variable.
18785 (_dl_lookup_symbol_x): Replace undefined_msg with string
18786 literal.
18787
18788 * elf/dl-lookup.c (do_lookup_unique): New function.
18789 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18790 to a separate function.
18791
18792 2014-06-23 Andreas Schwab <schwab@suse.de>
18793
18794 [BZ #17079]
18795 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18796 before reading the next line.
18797
18798 2014-06-23 Will Newton <will.newton@linaro.org>
18799
18800 * test-skeleton.c (signal_handler): Use printf and %m
18801 rather than perror. Use printf rather than fprintf to
18802 stderr. Use puts rather than fputs to stderr.
18803 (main): Likewise.
18804
18805 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18806
18807 * nscd/nscd.c (thread_info_t): Remove typedef.
18808 (thread_info): Remove variable.
18809
18810 2014-06-21 Allan McRae <allan@archlinux.org>
18811
18812 * NEWS: Mention CVE-2014-4043.
18813
18814 2014-06-20 Roland McGrath <roland@hack.frob.com>
18815
18816 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18817 * nptl/smp.h: ... here.
18818
18819 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18820
18821 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18822 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18823 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18824 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18825
18826 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18827 * nptl/stack-aliasing.h: New file.
18828 * sysdeps/i386/i686/stack-aliasing.h: New file.
18829 * sysdeps/i386/i686/nptl/Makefile: File removed.
18830 * sysdeps/x86_64/stack-aliasing.h: New file.
18831 * sysdeps/x86_64/nptl/Makefile
18832 (CFLAGS-pthread_create.c): Variable removed.
18833
18834 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18835 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18836 old file.
18837 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18838 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18839 old file.
18840
18841 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18842
18843 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18844 (__ASSUME_SIGFRAME_V2): Remove macro.
18845 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18846 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18847 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18848 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18849 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18850 Declare as function. Remove conditional macro definitions.
18851 (__default_rt_sa_restorer): Likewise.
18852 (__default_sa_restorer_v1): Remove declaration.
18853 (__default_sa_restorer_v2): Likewise.
18854 (__default_rt_sa_restorer_v1): Likewise.
18855 (__default_rt_sa_restorer_v2): Likewise.
18856 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18857 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18858 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18859
18860 2014-06-20 Roland McGrath <roland@hack.frob.com>
18861
18862 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18863 (libpthread-routines): Add sysdep.
18864 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18865 * sysdeps/unix/sysv/linux/sparc/Versions
18866 (libpthread: GLIBC_2.3.3): New version set.
18867 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18868 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18869 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18870 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18871 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18872 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18873 Moved ...
18874 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18875 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18876 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18877 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18878 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18879 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18880 * sysdeps/sparc/nptl/sem_init.c: ... here.
18881 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18882 * sysdeps/sparc/nptl/sem_post.c: ... here.
18883 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18884 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18885 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18886 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18887 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18888 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18889 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18890 (libpthread-routines): Add cpu_relax.
18891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18892 File removed.
18893 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18894 (librt: GLIBC_2.3.3): New version set.
18895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18896 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18898 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18901 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18903 Moved ...
18904 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18906 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18908 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18910 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18912 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18914 Moved ...
18915 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18916 Update #include.
18917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18918 Moved ...
18919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18920 Update #include.
18921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18922 Moved ...
18923 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18924 Update #include.
18925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18926 Moved ...
18927 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18928 Update #include.
18929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18930 Moved ...
18931 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18932 Update #include.
18933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18934 Moved ...
18935 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18936 Update #include.
18937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18938 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18946 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18948 Moved ...
18949 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18951 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18953 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18954
18955 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18956
18957 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18958 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18959 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18960 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18961 * nscd/nscd.c: Likewise.
18962 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18963 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18964 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18965 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18966
18967 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18968 <kernel-features.h>.
18969 (init_mq_netlink): Remove conditional have_sock_cloexec
18970 definitions. Remove code conditional on have_sock_cloexec < 0.
18971 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18972 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18973 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18974 <kernel-features.h>.
18975 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18976 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18977
18978 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18979
18980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18981 Add tests for memset_chk and memset.
18982
18983 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18984 with AVX2_Usable.
18985
18986 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18987
18988 [BZ #16046]
18989 * elf/tst-dl-iter-static.c: New file.
18990 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18991
18992 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18993 error.
18994
18995 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18996
18997 * sysdeps/unix/sysv/linux/kernel-features.h
18998 (__ASSUME_F_GETOWN_EX): Remove macro.
18999 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19000 <kernel-features.h>.
19001 (miss_F_GETOWN_EX): Remove variable or macro.
19002 (do_fcntl): Do not check miss_F_GETOWN_EX.
19003 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19004
19005 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19006 Remove macro.
19007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19008 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19009 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19010
19011 * sysdeps/unix/sysv/linux/kernel-features.h
19012 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19013 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19014 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19015 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19016
19017 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19018
19019 [BZ #17075]
19020 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19021 Fix calculation of the symbol's value.
19022 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19023 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19024 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19025 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19026 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19027 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19028 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19029 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19030 (modules-names): Add `tst-armtlsdescmod',
19031 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19032 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19033 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19034 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19035 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19036 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19037 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19038 ($(objpfx)tst-armtlsdescloc): New dependency.
19039 ($(objpfx)tst-armtlsdescextnow): Likewise.
19040 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19041 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19042 TLS scheme support.
19043 * sysdeps/arm/configure: Regenerate.
19044
19045 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19046
19047 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19048 (__atfct_seterrno_2): Likewise.
19049 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19050 <kernel-features.h>.
19051 (__ASSUME_ATFCTS): Do not undefine and redefine.
19052 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19053 (__have_atfcts): Remove conditional definition.
19054 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19055 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19056 unreachable if [__ASSUME_ATFCTS].
19057 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19058 not undefine and redefine.
19059 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19060 <kernel-features.h>.
19061 (faccessat) [__NR_faccessat]: Make code unconditional.
19062 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19063 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19064 <kernel-features.h>.
19065 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19066 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19067 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19068 <kernel-features.h>.
19069 (fchownat) [__NR_fchownat]: Make code unconditional.
19070 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19071 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19072 <kernel-features.h>.
19073 (futimesat) [__NR_futimesat]: Make code unconditional.
19074 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19075 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19076 <kernel-features.h>.
19077 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19078 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19079 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19080 <kernel-features.h>.
19081 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19082 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19083 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19084 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19085 <kernel-features.h>.
19086 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19087 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19088 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19089 <kernel-features.h>.
19090 (linkat) [__NR_linkat]: Make code unconditional.
19091 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19092 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19093 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19094 <kernel-features.h>.
19095 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19096 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19097 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19098 <kernel-features.h>.
19099 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19100 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19101 * sysdeps/unix/sysv/linux/openat.c: Do not include
19102 <kernel-features.h>.
19103 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19104 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19105 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19106 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19107 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19108 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19109 <kernel-features.h>.
19110 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19111 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19112 result of INLINE_SYSCALL directly, not via int variable.
19113 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19114 <kernel-features.h>.
19115 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19116 (renameat) [__NR_renameat]: Make code unconditional.
19117 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19118 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19119 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19120 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19121 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19122 (__ASSUME_ATFCTS): Do not undefine and redefine.
19123 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19124 <kernel-features.h>.
19125 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19126 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19127 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19128 <kernel-features.h>.
19129 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19130 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19131 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19132 (__ASSUME_ATFCTS): Do not undefine and redefine.
19133 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19134 <kernel-features.h>.
19135 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19136 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19137 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19138 <kernel-features.h>.
19139 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19140 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19141
19142 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19143
19144 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19145
19146 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19147
19148 [BZ #17069]
19149 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19150 constructed tree before returning error.
19151 * posix/bug-regexp36.c: Expand test case.
19152
19153 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19154
19155 [BZ #6803]
19156 * math/libm-test.inc (scalbln_test_date):
19157 Add errno expectations.
19158 * math/w_scalblnf.c: New File.
19159 Add wrapper which checks for setting errno to ERANGE.
19160 Add weak_alias for corresponding scalbln function.
19161 * math/w_scalbln.c: Likewise.
19162 * math/w_scalblnl.c: Likewise.
19163 * math/Makefile (libm-calls): Add w_scalbln.
19164 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19165 Remove weak_alias for corresponding scalbln function.
19166 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19170 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19171 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19172 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19173 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19174 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19175 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19176 Remove long_double_symbol for scalblnl function in libm, libc.
19177 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19178 Add wrapper which checks for setting errno to ERANGE.
19179 Add long_double_symbol for scalblnl function in libm, libc.
19180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19181 Remove long_double_symbol for scalblnl in libm.
19182 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19183 Add wrapper which checks for setting errno to ERANGE.
19184 Add long_double_symbol for scalblnl function in libm.
19185 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19186 Do not use wrapper because of own implementation.
19187
19188 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19189
19190 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19191 3 bytes for __pad1 for x32.
19192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19193
19194 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19195 H.J. Lu <hongjiu.lu@intel.com>
19196
19197 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19198 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19199 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19200 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19201 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19202
19203 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19204
19205 [BZ #17069]
19206 * posix/regcomp.c (parse_expression): Deallocate partially
19207 constructed tree before returning error.
19208 * posix/Makefile.c (tests): Add bug-regex36.
19209 (generated): Add bug-regex36.mtrace.
19210 (tests-special): Add $(objpfx)bug-regex36-mem.out
19211 (bug-regex36-ENV): New variable.
19212 ($(objpfx)bug-regex36-mem.out): New rule.
19213 * posix/bug-regex36.c: New file.
19214
19215 2014-06-19 Will Newton <will.newton@linaro.org>
19216
19217 * malloc/malloc.c (systrim): If extra is zero then return
19218 early.
19219
19220 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19221
19222 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19223
19224 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19225
19226 * sysdeps/aarch64/strchr.S: New file.
19227
19228 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19229
19230 [BZ #17022]
19231 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19232 from arguments -2 or below.
19233 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19234 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19235
19236 2014-06-18 Andreas Schwab <schwab@suse.de>
19237
19238 [BZ #17062]
19239 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19240 of a bracket expr not to run off the end of the string.
19241 * posix/Makefile (tests): Add tst-fnmatch3.
19242 * posix/tst-fnmatch3.c: New file.
19243
19244 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19245
19246 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19247 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19248 [$(cross-compiling) = no]: Likewise.
19249 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19250 [$(cross-compiling) = no]: Likewise.
19251
19252 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19253
19254 [BZ #17031]
19255 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19256 double, adjusted for any remainder from the high double.
19257 * math/libm-test.inc (nearbyint): Add tests.
19258 (rint): Likewise.
19259
19260 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19261
19262 * nptl/sysdeps/powerpc/Makefile: Moved ...
19263 * sysdeps/powerpc/nptl/Makefile: ... here.
19264 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19265 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19266 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19267 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19268 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19269 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19270 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19271 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19272 * nptl/sysdeps/powerpc/tls.h: Moved ...
19273 * sysdeps/powerpc/nptl/tls.h: ... here.
19274
19275 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19276
19277 [BZ #16681]
19278 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19279 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19280 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19281 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19282 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19283 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19284 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19285 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19286 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19287
19288 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19289
19290 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19291
19292 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19293
19294 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19295 defined operator.
19296
19297 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19298 $TIMEOUTFACTOR.
19299
19300 2014-06-16 Florian Weimer <fweimer@redhat.com>
19301
19302 [BZ #17058]
19303 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19304 non-executed part of the test.
19305
19306 2014-06-16 Andreas Schwab <schwab@suse.de>
19307
19308 * string/bits/string2.h (strdup, strndup): Update feature guard.
19309
19310 2014-06-14 David S. Miller <davem@davemloft.net>
19311
19312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19313
19314 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19315
19316 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19317 that was previously under [RESET_PID].
19318 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19319
19320 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19321 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19322 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19323 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19324 (__libc_vfork): New strong alias.
19325 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19326
19327 2014-06-14 Andi Kleen <ak@linux.intel.com>
19328
19329 * sysdeps/generic/elide.h: New file.
19330
19331 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19332
19333 * Makefile (installed-headers): Adjust path of pthread.h header.
19334
19335 2014-06-13 Roland McGrath <roland@hack.frob.com>
19336
19337 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19338 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19339 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19340 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19341
19342 * nptl/sysdeps/s390/Makefile: Moved ...
19343 * sysdeps/s390/nptl/Makefile: ... here.
19344 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19345 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19346 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19347 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19348 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19349 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19350 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19351 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19352 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19353 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19354 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19355 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19356 * nptl/sysdeps/s390/tls.h: Moved ...
19357 * sysdeps/s390/nptl/tls.h: ... here.
19358
19359 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19360 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19361
19362 2014-06-13 David S. Miller <davem@davemloft.net>
19363
19364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19367 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19372 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19373 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19374 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19375 Remove RESET_PID cpp guards.
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19377 Remove RESET_PID cpp guards.
19378 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19379
19380 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19381
19382 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19383 __sp to uintptr_t.
19384
19385 2014-06-13 Andi Kleen <ak@linux.intel.com>
19386
19387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19391 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19392 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19394 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19395 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19397 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19399 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19400 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19401 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19404 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19406 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19407
19408 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19409 (pthread_rwlock_rdlock): Add elision.
19410 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19411 (pthread_rwlock_wrlock): Add elision.
19412 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19413 (pthread_rwlock_trywrlock): Add elision.
19414 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19415 (pthread_rwlock_tryrdlock): Add elision.
19416 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19417 (pthread_rwlock_tryrdlock): Add elision unlock.
19418 * nptl/sysdeps/pthread/pthread.h:
19419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19420 (PTHREAD_RWLOCK_INITIALIZER,
19421 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19422 Handle new elision field.
19423 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19424 * sysdeps/arm/nptl/bits/pthreadtypes.h
19425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19426 * sysdeps/sh/nptl/bits/pthreadtypes.h
19427 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19428 * sysdeps/tile/nptl/bits/pthreadtypes.h
19429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19430 * sysdeps/a/nptl/bits/pthreadtypes.h
19431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19432 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19433 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19434 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19435 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19436 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19438 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19440 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19442 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19444 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19446 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19447 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19448 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19449 (elision_init): Set try_xbegin to zero when no RTM.
19450 * sysdeps/x86/nptl/bits/pthreadtypes.h
19451 (pthread_rwlock_t): Change __pad1 to __rwelision.
19452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19453
19454 2014-06-13 Andi Kleen <ak@linux.intel.com>
19455
19456 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19457 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19458 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19459 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19460
19461 2014-06-13 Meador Inge <meadori@codesourcery.com>
19462
19463 [BZ #16996]
19464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19465 that the cached result has been set before returning it.
19466
19467 2014-06-12 Roland McGrath <roland@hack.frob.com>
19468
19469 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19470 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19471 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19472 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19473 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19474 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19475
19476 * nptl/sysdeps/sparc/Makefile: Moved ...
19477 * sysdeps/sparc/nptl/Makefile: ... here.
19478 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19479 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19480 * nptl/sysdeps/sparc/tls.h: Moved ...
19481 * sysdeps/sparc/nptl/tls.h: ... here.
19482 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19483 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19484 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19485 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19486 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19487 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19488 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19489 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19490 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19491 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19492 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19493 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19494 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19495 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19496 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19497 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19498 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19499 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19500 Update #include.
19501 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19503 Update #include.
19504 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19505 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19506 Update #include.
19507 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19508 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19509 Update #include.
19510
19511 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19512
19513 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19514 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19515
19516 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19517 (struct list_links): Type removed.
19518 (struct thread_node, struct timer_node): Replace struct list_links
19519 with struct list_head.
19520 (list_unlink_ip): Likewise.
19521 * sysdeps/pthread/timer_routines.c
19522 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19523 (list_append, list_insbefore): Likewise.
19524 (list_init): Function removed.
19525 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19526 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19527 * sysdeps/pthread/Makefile: ... here, new file.
19528
19529 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19530 * sysdeps/nptl/Implies: ... here.
19531 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19532 * nptl/sysdeps/pthread/list.h: Moved ...
19533 * include/list.h: ... here.
19534 * nptl/sysdeps/pthread/createthread.c: Moved ...
19535 * nptl/createthread.c: ... here.
19536 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19537 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19538 * nptl/pt-longjmp.c: ... here.
19539 * nptl/sysdeps/pthread/Makefile: Moved ...
19540 * sysdeps/nptl/Makefile: ... here.
19541 * nptl/sysdeps/pthread/Subdirs: Moved ...
19542 * sysdeps/nptl/Subdirs: ... here.
19543 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19544 * sysdeps/nptl/aio_misc.h: ... here.
19545 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19546 * sysdeps/nptl/bits/libc-lock.h: ... here.
19547 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19548 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19549 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19550 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19551 * nptl/sysdeps/pthread/configure: Moved ...
19552 * sysdeps/nptl/configure: ... here.
19553 * nptl/sysdeps/pthread/configure.ac: Moved ...
19554 * sysdeps/nptl/configure.ac: ... here.
19555 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19556 * sysdeps/nptl/gai_misc.h: ... here.
19557 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19558 * sysdeps/nptl/librt-cancellation.c: ... here.
19559 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19560 * sysdeps/nptl/malloc-machine.h: ... here.
19561 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19562 * sysdeps/nptl/pthread-functions.h: ... here.
19563 * nptl/sysdeps/pthread/pthread.h: Moved ...
19564 * sysdeps/nptl/pthread.h: ... here.
19565 * nptl/sysdeps/pthread/setxid.h: Moved ...
19566 * sysdeps/nptl/setxid.h: ... here.
19567 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19568 * sysdeps/nptl/sigfillset.c: ... here.
19569 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19570 * sysdeps/nptl/tcb-offsets.h: ... here.
19571 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19572 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19573 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19574 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19575 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19576 * sysdeps/pthread/allocalim.h: ... here.
19577 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19578 * sysdeps/pthread/bits/sigthread.h: ... here.
19579 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19580 * sysdeps/pthread/flockfile.c: ... here.
19581 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19582 * sysdeps/pthread/ftrylockfile.c: ... here.
19583 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19584 * sysdeps/pthread/funlockfile.c: ... here.
19585 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19586 * sysdeps/pthread/posix-timer.h: ... here.
19587 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19588 * sysdeps/pthread/timer_create.c: ... here.
19589 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19590 * sysdeps/pthread/timer_delete.c: ... here.
19591 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19592 * sysdeps/pthread/timer_getoverr.c: ... here.
19593 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19594 * sysdeps/pthread/timer_gettime.c: ... here.
19595 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19596 * sysdeps/pthread/timer_routines.c: ... here.
19597 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19598 * sysdeps/pthread/timer_settime.c: ... here.
19599 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19600 * sysdeps/pthread/tst-timer.c: ... here.
19601 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19602 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19603
19604 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19605 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19606
19607 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19608 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19609 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19610 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19611 Update #include target.
19612 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19613 * sysdeps/i386/i686/nptl/Makefile: ... here.
19614 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19615 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19616 Update #include target.
19617 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19618 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19619 * nptl/sysdeps/i386/Makefile: Moved ...
19620 * sysdeps/i386/nptl/Makefile: ... here.
19621 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19622 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19623 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19624 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19625 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19626 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19627 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19628 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19629 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19630 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19631 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19632 * nptl/sysdeps/i386/tls.h: Moved ...
19633 * sysdeps/i386/nptl/tls.h: ... here.
19634
19635 * sysdeps/sh/Makefile [$(subdir) = csu]
19636 (gen-as-const-headers): Add tcb-offsets.sym.
19637 * nptl/sysdeps/sh/Makefile: File removed.
19638 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19639 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19640 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19641 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19642 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19643 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19644 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19645 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19646 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19647 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19648 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19649 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19650 * nptl/sysdeps/sh/tls.h: Moved ...
19651 * sysdeps/sh/nptl/tls.h: ... here.
19652 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19653 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19654 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19655 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19656 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19657 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19658 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19659 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19660 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19661 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19662 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19663 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19665 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19667 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19669 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19670 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19671 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19672 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19673 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19675 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19676 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19677 Moved ...
19678 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19680 Moved ...
19681 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19683 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19684 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19685 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19686 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19687 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19688 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19689 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19690 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19691 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19692 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19693 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19694 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19695 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19696 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19697 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19698 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19699 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19700
19701 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19702
19703 * posix/spawn_faction_addopen.c: Include string.h.
19704
19705 2014-06-11 Roland McGrath <roland@hack.frob.com>
19706
19707 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19708 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19709 * nptl/sysdeps/x86_64/Makefile: Moved ...
19710 * sysdeps/x86_64/nptl/Makefile: ... here.
19711 * nptl/sysdeps/x86_64/configure: Moved ...
19712 * sysdeps/x86_64/nptl/configure: ... here.
19713 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19714 * sysdeps/x86_64/nptl/configure.ac: ... here.
19715 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19716 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19717 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19718 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19719 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19720 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19721 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19722 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19723 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19724 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19725 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19726 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19727 * nptl/sysdeps/x86_64/tls.h: Moved ...
19728 * sysdeps/x86_64/nptl/tls.h: ... here.
19729 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19730 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19731 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19732 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19733
19734 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19735
19736 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19737
19738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19739
19740 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19741
19742 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19743 type.
19744 [POSIX] (off_t): Likewise.
19745 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19746 [POSIX] (S_ISBLK): Require macro.
19747 [POSIX] (S_ISCHR): Likewise.
19748 [POSIX] (S_ISDIR): Likewise.
19749 [POSIX] (S_ISFIFO): Likewise.
19750 [POSIX] (S_ISREG): Likewise.
19751 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19752 optional-macro.
19753 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19754 type.
19755 [POSIX] (time_t): Likewise.
19756 [POSIX] (timer_t): Likewise.
19757
19758 2014-06-11 Florian Weimer <fweimer@redhat.com>
19759
19760 [BZ #17048]
19761 * posix/spawn_int.h (struct __spawn_action): Make the path string
19762 non-const to support deallocation.
19763 * posix/spawn_faction_addopen.c
19764 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19765 * posix/spawn_faction_destroy.c
19766 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19767 path in all spawn_do_open actions.
19768 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19769 posix_spawn_file_actions_addopen.
19770
19771 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19772
19773 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19774 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19775 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19776 conditional code always true.
19777 (__libc_vfork): New alias.
19778
19779 2014-06-11 Roland McGrath <roland@hack.frob.com>
19780
19781 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19782 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19783
19784 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19785
19786 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19787 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19788
19789 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19790 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19791
19792 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19793 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19794
19795 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19796
19797 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19798 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19799 multiarch strcmp for PPC64.
19800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19801 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19803 multiarch optimizations.
19804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19805 (__libc_ifunc_impl_list): Likewise.
19806
19807 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19808
19809 * benchtests/scripts/validate_benchout.py: New script.
19810 * benchtests/Makefile (bench-func): Call it.
19811 * benchtests/scripts/benchout.schema.json: New file.
19812
19813 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19814
19815 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19816 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19817 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19818 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19819 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19820 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19821 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19822 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19823 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19824 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19825 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19826 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19827 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19828 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19829 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19830 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19832 Moved ...
19833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19834 ... here.
19835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19836 Moved ...
19837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19839 Moved ...
19840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19841 ... here.
19842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19843 Moved ...
19844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19845 ... here.
19846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19847 Moved ...
19848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19850 Moved ...
19851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19852 ... here.
19853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19854 Moved ...
19855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19856 ... here.
19857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19858 Moved ...
19859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19861 Moved ...
19862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19863 ... here.
19864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19865 Moved ...
19866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19867 ... here.
19868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19869 Moved ...
19870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19871 ... here.
19872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19873 Moved ...
19874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19876 Moved ...
19877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19878 ... here.
19879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19880 Moved ...
19881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19882 ... here.
19883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19884 Moved ...
19885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19886 ... here.
19887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19888 Moved ...
19889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19891 Moved ...
19892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19893 ... here.
19894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19895 Moved ...
19896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19897 ... here.
19898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19899 Moved ...
19900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19902 Moved ...
19903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19904 ... here.
19905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19906 Moved ...
19907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19909 Moved ...
19910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19912 Moved ...
19913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19914 ... here.
19915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19916 Moved ...
19917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19918 ... here.
19919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19920 Moved ...
19921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19922 ... here.
19923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19924 Moved ...
19925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19927 Moved ...
19928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19929 ... here.
19930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19931 Moved ...
19932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19933 ... here.
19934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19935 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19937 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19938 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19939 Moved ...
19940 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19941 ... here.
19942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19943 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19945 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19947 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19949 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19951 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19952 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19953 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19955 Moved ...
19956 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19958 Moved ...
19959 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19961 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19963 Moved ...
19964 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19966 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19967 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19968 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19969 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19970 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19971
19972 2014-06-10 Wilco <wdijkstr@arm.com>
19973
19974 * math/test-fenv-return.c: New file.
19975 * math/Makefile: Add new test test-fenv-return.
19976
19977 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19978
19979 [BZ #17042]
19980 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19981 when x - 1 is zero.
19982 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19983 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19984 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19985 0.0L for an argument of 1.0L.
19986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19987 Likewise.
19988 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19989 value when x - 1 is zero.
19990 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19991 * sysdeps/i386/fpu/libm-test-ulps: Update.
19992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993
19994 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19995
19996 [BZ #15119]
19997 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19998
19999 2014-06-09 Roland McGrath <roland@hack.frob.com>
20000
20001 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20002 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20003
20004 2014-06-09 Roland McGrath <roland@hack.frob.com>
20005
20006 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20007 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20008
20009 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20010 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20011
20012 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20013 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20014
20015 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20016 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20017
20018 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20019 if not already defined.
20020 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20021 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20022 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20023 (TLS_INIT_TP): Use it.
20024 (TLS_DEFINE_INIT_TP): New macro.
20025 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20026
20027 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20028
20029 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20030 constant.
20031 [POSIX] (IXANY): Likewise.
20032 [POSIX] (OLCUC): Likewise.
20033 [POSIX || POSIX2008] (CBAUD): Do not allow.
20034 [POSIX || POSIX2008] (DEFECHO): Likewise.
20035 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20036 [POSIX || POSIX2008] (ECHOKE): Likewise.
20037 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20038 [POSIX || POSIX2008] (EXTA): Likewise.
20039 [POSIX || POSIX2008] (EXTB): Likewise.
20040 [POSIX || POSIX2008] (FLUSHO): Likewise.
20041 [POSIX || POSIX2008] (LOBLK): Likewise.
20042 [POSIX || POSIX2008] (PENDIN): Likewise.
20043 [POSIX || POSIX2008] (SWTCH): Likewise.
20044 [POSIX || POSIX2008] (VDISCARD): Likewise.
20045 [POSIX || POSIX2008] (VDSUSP): Likewise.
20046 [POSIX || POSIX2008] (VLNEXT): Likewise.
20047 [POSIX || POSIX2008] (VREPRINT): Likewise.
20048 [POSIX || POSIX2008] (VSTATUS): Likewise.
20049 [POSIX || POSIX2008] (VWERASE): Likewise.
20050 (B*): Change to B[0123456789]*.
20051 * conform/data/time.h-data [POSIX || UNIX98]
20052 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20053 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20054 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20055 [POSIX] (tm_*): Do not allow.
20056
20057 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20058
20059 * Makefile (install): Don't set LANGUAGE.
20060 * Makefile.in (install): Likewise.
20061 * assert/Makefile (test-assert-ENV): Remove variable.
20062 (test-assert-perr-ENV): Likewise.
20063 * elf/Makefile (neededtest4-ENV): Likewise.
20064 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20065 [$(cross-compiling) = no]: Don't set LANGUAGE.
20066 * io/ftwtest-sh (LANG): Remove variable.
20067 * libio/Makefile (tst-widetext-ENV): Likewise.
20068 * manual/install.texi (Running make install): Don't refer to
20069 environment settings for make install.
20070 * INSTALL: Regenerated.
20071 * nptl/tst-tls6.sh: Don't set LANG.
20072 * posix/globtest.sh (LANG): Remove variable.
20073 * string/Makefile (tester-ENV): Likewise.
20074 (inl-tester-ENV): Likewise.
20075 (noinl-tester-ENV): Likewise.
20076 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20077 [$(cross-compiling) = no]: Don't set LANGUAGE.
20078 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20079 without explicit environment settings.
20080
20081 2014-06-06 Roland McGrath <roland@hack.frob.com>
20082
20083 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20084 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20085 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20086 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20087
20088 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20089
20090 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20091 other files in the crypt directory.
20092 * crypt/crypt.c: Remove duplicate includes.
20093 * crypt/crypt-entry.c: Likewise.
20094 * crypt/crypt_util.c: Likewise.
20095
20096 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20097
20098 * Makeconfig (run-program-env): New variable.
20099 (run-program-prefix-before-env): Likewise.
20100 (run-program-prefix-after-env): Likewise.
20101 (run-program-prefix): Define in terms of new variables.
20102 (built-program-cmd-before-env): New variable.
20103 (built-program-cmd-after-env): Likewise.
20104 (built-program-cmd): Define in terms of new variables.
20105 (test-program-prefix-before-env): New variable.
20106 (test-program-prefix-after-env): Likewise.
20107 (test-program-prefix): Define in terms of new variables.
20108 (test-program-cmd-before-env): New variable.
20109 (test-program-cmd-after-env): Likewise.
20110 (test-program-cmd): Define in terms of new variables.
20111 * Rules (make-test-out): Use $(run-program-env).
20112 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20113 (help): Do not mention environment variables. Mention
20114 --timeoutfactor option.
20115 (timeoutfactor): New variable.
20116 (blacklist_exports): Remove function.
20117 (exports): Remove variable.
20118 (command): Do not include ${exports}.
20119 * manual/install.texi (Configuring and compiling): Do not mention
20120 test wrappers preserving environment variables. Mention that last
20121 assignment to a variable must take precedence.
20122 * INSTALL: Regenerated.
20123 * benchtests/Makefile (run-bench): Use $(run-program-env).
20124 * catgets/Makefile ($(objpfx)test1.cat): Use
20125 $(built-program-cmd-before-env), $(run-program-env) and
20126 $(built-program-cmd-after-env).
20127 ($(objpfx)test2.cat): Do not specify environment variables
20128 explicitly.
20129 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20130 $(run-program-env) and $(built-program-cmd-after-env).
20131 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20132 $(run-program-env) and $(test-program-cmd-after-env).
20133 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20134 explicitly.
20135 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20136 run_program_env and test_program_cmd_after_env arguments.
20137 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20138 * elf/tst-pathopt.sh: Use run_program_env argument.
20139 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20140 $(test-wrapper-env) and $(run-program-env).
20141 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20142 run_program_env arguments.
20143 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20144 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20145 $(test-program-prefix-before-env), $(run-program-env) and
20146 $(test-program-prefix-after-env).
20147 ($(objpfx)tst-gettext2.out): Likewise.
20148 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20149 run_program_env and test_program_prefix_after_env arguments.
20150 * intl/tst-gettext2.sh: Likewise.
20151 * intl/tst-gettext4.sh: Do not set environment variables
20152 explicitly.
20153 * intl/tst-gettext6.sh: Likewise.
20154 * intl/tst-translit.sh: Likewise.
20155 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20156 $(test-program-prefix-before-env), $(run-program-env) and
20157 $(test-program-prefix-after-env).
20158 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20159 run_program_env and test_program_prefix_after_env arguments.
20160 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20161 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20162 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20163 explicitly with each use of ${test_wrapper_env}.
20164 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20165 $(test-program-prefix-before-env), $(run-program-env) and
20166 $(test-program-prefix-after-env).
20167 * posix/tst-getconf.sh: Do not set environment variables
20168 explicitly.
20169 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20170 run_program_env and test_program_prefix_after_env arguments.
20171 * stdio-common/tst-printf.sh: Do not set environment variables
20172 explicitly.
20173 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20174 $(test-program-prefix-before-env), $(run-program-env) and
20175 $(test-program-prefix-after-env).
20176 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20177 run_program_env and test_program_prefix_after_env arguments.
20178 Split $test calls into $test_pre and $test.
20179 * timezone/Makefile (build-testdata): Use
20180 $(built-program-cmd-before-env), $(run-program-env) and
20181 $(built-program-cmd-after-env).
20182
20183 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20184
20185 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20186 strlen for non SHARED builds.
20187
20188 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20189
20190 * nptl/allocatestack.c (check_list): Inlined function...
20191 (__reclaim_stacks): ... here.
20192
20193 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20194
20195 [BZ #15698]
20196 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20197 memory overrun.
20198
20199 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20200
20201 * Rules (make-test-out): Include
20202 LOCPATH=$(common-objpfx)localedata in default environment.
20203 * debug/Makefile (tst-chk1-ENV): Remove variable.
20204 (tst-chk2-ENV): Likewise.
20205 (tst-chk3-ENV): Likewise.
20206 (tst-chk4-ENV): Likewise.
20207 (tst-chk5-ENV): Likewise.
20208 (tst-chk6-ENV): Likewise.
20209 (tst-lfschk1-ENV): Likewise.
20210 (tst-lfschk2-ENV): Likewise.
20211 (tst-lfschk3-ENV): Likewise.
20212 (tst-lfschk4-ENV): Likewise.
20213 (tst-lfschk5-ENV): Likewise.
20214 (tst-lfschk6-ENV): Likewise.
20215 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20216 (tst-iconv7-ENV): Likewise.
20217 * intl/Makefile (LOCPATH-ENV): Likewise.
20218 (tst-codeset-ENV): Likewise.
20219 (tst-gettext3-ENV): Likewise.
20220 (tst-gettext5-ENV): Likewise.
20221 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20222 (tst-fopenloc-ENV): Likewise.
20223 (tst-fgetws-ENV): Remove variable.
20224 (tst-ungetwc1-ENV): Likewise.
20225 (tst-ungetwc2-ENV): Likewise.
20226 (bug-ungetwc2-ENV): Likewise.
20227 (tst-swscanf-ENV): Likewise.
20228 (bug-ftell-ENV): Likewise.
20229 (tst-fgetwc-ENV): Likewise.
20230 (tst-fseek-ENV): Likewise.
20231 (tst-ftell-partial-wide-ENV): Likewise.
20232 (tst-ftell-active-handler-ENV): Likewise.
20233 (tst-ftell-append-ENV): Likewise.
20234 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20235 (tst-regexloc-ENV): Likewise.
20236 (bug-regex1-ENV): Likewise.
20237 (tst-regex-ENV): Likewise.
20238 (tst-regex2-ENV): Likewise.
20239 (bug-regex5-ENV): Likewise.
20240 (bug-regex6-ENV): Likewise.
20241 (bug-regex17-ENV): Likewise.
20242 (bug-regex18-ENV): Likewise.
20243 (bug-regex19-ENV): Likewise.
20244 (bug-regex20-ENV): Likewise.
20245 (bug-regex22-ENV): Likewise.
20246 (bug-regex23-ENV): Likewise.
20247 (bug-regex25-ENV): Likewise.
20248 (bug-regex26-ENV): Likewise.
20249 (bug-regex30-ENV): Likewise.
20250 (bug-regex32-ENV): Likewise.
20251 (bug-regex33-ENV): Likewise.
20252 (bug-regex34-ENV): Likewise.
20253 (bug-regex35-ENV): Likewise.
20254 (tst-rxspencer-ENV): Likewise.
20255 (tst-rxspencer-no-utf8-ENV): Likewise.
20256 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20257 (tst-sscanf-ENV): Likewise.
20258 (tst-swprintf-ENV): Likewise.
20259 (tst-swscanf-ENV): Likewise.
20260 (test-vfprintf-ENV): Likewise.
20261 (scanf13-ENV): Likewise.
20262 (bug14-ENV): Likewise.
20263 (tst-grouping-ENV): Likewise.
20264 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20265 (tst-strtod3-ENV): Likewise.
20266 (tst-strtod4-ENV): Likewise.
20267 (tst-strtod5-ENV): Likewise.
20268 (testmb2-ENV): Likewise./
20269 * string/Makefile (tst-strxfrm-ENV): Likewise.
20270 (tst-strxfrm2-ENV): Likewise.
20271 (bug-strcoll1-ENV): Likewise.
20272 (test-strcasecmp-ENV): Likewise.
20273 (test-strncasecmp-ENV): Likewise.
20274 * time/Makefile (tst-strptime-ENV): Likewise.
20275 (tst-ftime_l-ENV): Likewise.
20276 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20277 (tst-mbrtowc-ENV): Likewise.
20278 (tst-wcrtomb-ENV): Likewise.
20279 (tst-mbrtowc2-ENV): Likewise.
20280 (tst-c16c32-1-ENV): Likewise.
20281 (tst-mbsnrtowcs-ENV): Likewise.
20282
20283 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20284
20285 * manual/resource.texi (How to get information about the memory
20286 subsystem?): Fix typo.
20287 Reported by Peon de la Parra Ivan <peon@keba.com>
20288
20289 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20290
20291 [BZ #16882]
20292 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20293 (pthread_spin_lock): Branch out of spin loop to proper location.
20294 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20295 (pthread_spin_lock): Likewise.
20296
20297 * nptl/tst-spin4.c: New test.
20298 * nptl/Makefile (tests): Add tst-spin4.
20299
20300 2014-06-03 Andreas Schwab <schwab@suse.de>
20301
20302 [BZ #15946]
20303 * resolv/res_send.c (send_dg): Reload file descriptor after
20304 calling reopen.
20305
20306 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20307
20308 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20309
20310 2014-06-03 Richard Henderson <rth@redhat.com>
20311
20312 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20313 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20314 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20315 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20316 in the SAVE_PID block.
20317 (__libc_vfork): New alias.
20318 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20319
20320 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20321 child in registers, not on the stack. Remove RESET_PID conditionals.
20322 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20323
20324 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20325
20326 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20327
20328 2014-06-03 Wilco <wdijkstr@arm.com>
20329
20330 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20331 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20332 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20333 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20334 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20335 Likewise.
20336
20337 2014-06-03 Wilco <wdijkstr@arm.com>
20338
20339 * sysdeps/aarch64/fpu/math_private.h
20340 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20341 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20342 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20343 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20344 Fix declarations.
20345
20346 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20347
20348 * crypt/crypt-private.h: Include ufc-crypt.h.
20349 (__b64_from_24bit): Declare extern.
20350 * crypt/crypt_util.c(__b64_from_24bit): New function.
20351 (b64t): New static const variable.
20352 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20353 (b64t): Remove variable.
20354 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20355 * crypt/sha256-crypt.c: Include crypt-private.h.
20356 (b64t): Remove variable.
20357 (__sha256_crypt_r): Remove b64_from_24bit and replace
20358 with __b64_from_24bit.
20359 * crypt/sha512-crypt.c: Likewise.
20360
20361 2014-06-02 Roland McGrath <roland@hack.frob.com>
20362
20363 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20364 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20365 Label the code __libc_vfork rather than __vfork.
20366 [!NOT_IN_libc] (vfork): Define as weak alias.
20367 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20368 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20369 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20370
20371 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20372
20373 * malloc/malloc.c (malloc_info): Fix format specifier for
20374 n_mmaps.
20375
20376 2014-06-02 Wilco <wdijkstr@arm.com>
20377
20378 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20379 FPCR write.
20380
20381 2014-06-02 Wilco <wdijkstr@arm.com>
20382
20383 [BZ #17009]
20384 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20385 Rewrite to reduce FPCR/FPSR accesses.
20386
20387 2014-06-01 David S. Miller <davem@davemloft.net>
20388
20389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20390
20391 2014-05-31 David S. Miller <davem@davemloft.net>
20392
20393 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20394 to occur in round to nearest mode when |x| >= 2.0
20395
20396 2014-05-30 Richard Henderson <rth@twiddle.net>
20397
20398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20399 (PSEUDO_RET_NOERRNO): Remove.
20400 (ret): Don't redefine.
20401 (ret_NOERRNO): Define in terms of ret.
20402 (ret_ERRVAL): Likewise.
20403
20404 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20405 use of PSEUDO_RET; perform the error check directly.
20406
20407 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20408
20409 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20410 with __int128_t.
20411
20412 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20413
20414 * malloc/malloc (malloc_info): Fix formatting.
20415
20416 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20417 Roland McGrath <roland@hack.frob.com>
20418
20419 * malloc/malloc (malloc_info): Also print mmapped statistics.
20420
20421 2014-05-30 Roland McGrath <roland@hack.frob.com>
20422
20423 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20424 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20425
20426 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20427
20428 * malloc/malloc.c (malloc_info): Inline mi_arena.
20429
20430 2014-05-29 Richard Henderson <rth@twiddle.net>
20431
20432 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20433 Remove comma before expanding ASM_ARGS_##nr.
20434 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20435 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20436 of ASM_ARGS_##nr.
20437 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20438 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20439 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20440 (ASM_ARGS_1): Add leading comma.
20441
20442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20443 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20444 to __errno_location.
20445 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20446 Remove the expected plt for __errno_location.
20447
20448 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20449 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20450 call to __read_tp.
20451
20452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20453 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20454 it and break it down.
20455 (DOCARGS_0, DOCARGS_1): Do nothing.
20456 (DOCARGS_2): Update to store into the new stack frame.
20457 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20458 (UNDOCARGS_1): Update to restore from the new stack frame.
20459 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20460 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20461
20462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20463 (SINGLE_THREAD_P): New parameter for result regno.
20464 (PSEUDO): Update to match; use cbz instead of beq.
20465
20466 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20467 Use ENTRY to define the _nocancel entry point. Share the syscall
20468 and syscall error check paths with the cancel path.
20469 (PSEUDO_END): New.
20470
20471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20472 whitespace; tabs before and after asm mnemonics.
20473
20474 2014-05-29 Eric Wong <normalperson@yhbt.net>
20475
20476 [BZ #15132]
20477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20478 Call fstat64 or stat64 internally, depending on arguments passed.
20479 Replace stat buffer argument with file descriptor argument.
20480 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20481 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20482 Pass fd to __internal_statvfs instead of calling fstat64.
20483 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20484 Pass fd to __internal_statvfs64 instead of calling fstat64.
20485 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20486 Pass -1 to __internal_statvfs instead of calling stat64.
20487 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20488 Pass -1 to __internal_statvfs64 instead of calling stat64.
20489
20490 2014-05-28 Roland McGrath <roland@hack.frob.com>
20491
20492 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20493 that was previously under [RESET_PID].
20494 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20495
20496 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20497 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20498
20499 2014-05-27 Roland McGrath <roland@hack.frob.com>
20500
20501 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20502
20503 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20504 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20505
20506 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20507
20508 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20509
20510 2014-05-27 Andreas Schwab <schwab@suse.de>
20511
20512 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20513 TLS_INIT_TP macro.
20514 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20515 * elf/rtld.c (init_tls, dl_main): Likewise.
20516 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20517 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20518 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20519 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20520 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20521 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20522 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20523 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20524 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20525 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20526 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20527 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20528 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20529 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20530 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20531 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20532 * sysdeps/generic/tls.h: Update description.
20533
20534 2014-05-27 Will Newton <will.newton@linaro.org>
20535
20536 [BZ #16990]
20537 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20538 and restore r2 rather than just restoring.
20539
20540 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20541
20542 [BZ #16724]
20543 * libio/tst-ftell-append.c: New test case.
20544 * libio/Makefile (tests): Add test case.
20545 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20546 append mode.
20547 * libio/wfileops.c (do_ftell_wide): Likewise.
20548
20549 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20550
20551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20552
20553 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20554 ...
20555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20557 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20558 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20559 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20560 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20561 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20562 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20564 Moved ...
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20567 Moved ...
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20569 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20570 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20571 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20572 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20573 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20574 ...
20575 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20576 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20577 Moved ...
20578 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20579 here.
20580 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20581 ...
20582 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20583 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20584 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20585
20586 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20587 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20588 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20589 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20590
20591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20592 merge into ...
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20595 ...
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20598 ...
20599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20601 Moved ...
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20603 here.
20604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20605 Moved ...
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20608 Moved ...
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20610
20611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20612 conditional [RESET_PID].
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20615 removed.
20616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20617 removed.
20618
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20620 <tcb-offsets.h>.
20621 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20622 (__libc_vfork): New strong alias.
20623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20624 removed.
20625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20626 Removed.
20627
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20629 <tcb-offsets.h>.
20630 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20631 (__libc_vfork): New strong alias.
20632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20633 removed.
20634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20635 removed.
20636
20637 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20638
20639 * malloc/malloc.c (mi_arena): New function.
20640 (malloc_info): Remove nested function mi_arena. Call non-nosted
20641 function mi_arena.
20642
20643 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20644
20645 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20646 by insrwi.
20647 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20648 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20649 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20650 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20652 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20654
20655 2014-05-26 Andreas Schwab <schwab@suse.de>
20656
20657 [BZ #16984]
20658 * locale/programs/repertoire.c (repertoire_read): Add slash
20659 between I18NPATH element and file name.
20660 * locale/programs/locfile.c (locfile_read): Likewise.
20661
20662 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20663
20664 * nptl/pthread_mutexattr_settype.c
20665 (__pthread_mutexattr_settype):
20666 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20667
20668 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20669
20670 * nptl/tst-mutex5 (do_test):
20671 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20672
20673 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20674
20675 * benchtests/README: Document 'init' directive.
20676 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20677 BENCH_INIT.
20678 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20679 (parse_file): Recognize 'init' directive.
20680
20681 2014-05-26 Kyle McMartin <kyle@redhat.com>
20682
20683 [BZ #16796]
20684 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20685 alignment of struct pthread.
20686
20687 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20688
20689 [BZ #16878]
20690 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20691 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20692 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20693 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20694
20695 2014-05-25 Richard Henderson <rth@twiddle.net>
20696
20697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20698 (SINGLE_THREAD_P_PIC): Remove.
20699 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20700 (SINGLE_THREAD_P_PIC): Remove.
20701
20702 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20703 branch to syscall error ...
20704 (PSEUDO): ... here.
20705 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20706 from __local_syscall_error to .Lsyscall_error.
20707 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20708 (SYSCALL_ERROR): Update label name.
20709
20710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20711 Do not use DOARGS/UNDOARGS.
20712 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20713 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20714 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20715 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20716 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20717
20718 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20719 block comment.
20720
20721 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20722 define if !NOT_IN_libc.
20723 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20724 define with non-default symbol versions.
20725
20726 2014-05-23 Richard Henderson <rth@twiddle.net>
20727
20728 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20729 (vfork, __vfork): Define via compat_symbol.
20730
20731 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20732 [!HAVE_IFUNC] (vfork_compat): Remove.
20733 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20734
20735 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20736
20737 [BZ #16978]
20738 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20739 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20740 variable.
20741
20742 2014-05-23 Richard Henderson <rth@twiddle.net>
20743
20744 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20745 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20746 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20747 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20748
20749 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20750 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20751 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20752 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20753 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20754 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20755 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20756 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20757 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20758 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20759 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20760 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20761 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20762 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20763 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20764 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20765 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20766 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20767 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20768 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20769 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20770 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20771 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20772 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20773 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20774 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20775 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20776 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20777 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20778 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20779 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20780 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20781 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20782 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20783 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20784 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20785 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20786 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20787 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20788 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20789 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20790 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20791 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20792 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20793 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20794 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20796 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20798 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20799 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20800 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20801 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20802 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20803 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20804 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20805
20806 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20807 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20808 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20809 before exiting on error.
20810 (__libc_vfork): New strong alias.
20811 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20812 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20813
20814 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20815 that was previously under [RESET_PID].
20816 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20817
20818 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20819
20820 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20821
20822 [BZ #16977]
20823 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20824 value when x - 1 is zero.
20825 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20826 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20827 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20828 0.0L for an argument of 1.0L.
20829 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20830 Likewise.
20831 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20832 value when x - 1 is zero.
20833 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20834 * sysdeps/i386/fpu/libm-test-ulps: Update.
20835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20836
20837 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20838
20839 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20840 alphasort and versionsort.
20841
20842 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20843
20844 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20845 macro.
20846 [copysignf]: Likewise.
20847
20848 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20849
20850 * crypt/md5-crypt.c: Fix formatting.
20851
20852 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20853
20854 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20855 (b64_from_24bit): New function.
20856
20857 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20858
20859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20860 libc_hidden_builtin_def to ifunc.
20861 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20862 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20863
20864 2014-05-21 Roland McGrath <roland@hack.frob.com>
20865
20866 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20867 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20868
20869 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20870
20871 * nscd/Depend (linuxthreads): Remove.
20872 (nptl): Add.
20873 * resolv/Depend (linuxthreads): Remove.
20874 * rt/Depend (linuxthreads): Remove.
20875
20876 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20877 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20878 $(common-objpfx)elf/.
20879 (link-libc-before-gnulib): Likewise.
20880 (elfobjdir): Remove variable.
20881 * Makefile (install): Use $(elf-objpfx) instead of
20882 $(common-objpfx)elf/.
20883 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20884 $(elfobjdir)/.
20885 (link-libc-deps): Likewise.
20886 ($(common-objpfx)libc.so): Likewise.
20887 ($(common-objpfx)linkobj/libc.so): Likewise.
20888 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20889 instead of $(common-objpfx)elf/.
20890 (symbolic-link-list): Likewise.
20891 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20892 [$(cross-compiling) = no]: Likewise.
20893 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20894 $(elfobjdir)/.
20895 (static-gnulib-arch): Likewise.
20896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20897 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20898 $(common-objpfx)elf/.
20899
20900 2014-05-21 Richard Henderson <rth@redhat.com>
20901
20902 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20903 (SINGLE_THREAD_P): Use the correct width load. Fold
20904 into the ldr offset.
20905
20906 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20907 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20908
20909 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20910
20911 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20912 (libgcc_s_resume): Use __attribute_used__.
20913 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20914 Likewise.
20915
20916 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20917
20918 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20919 optimization when used with float constants.
20920
20921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20922
20923 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20924
20925 [BZ #16915]
20926 * locale/nl_langinfo_l.c: Make direct reference to every
20927 _nl_current_CATEGORY symbol.
20928 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20929 (tests-static): Add tst-langinfo-static.
20930 (tests-special): Add tst-langinfo-static.out.
20931 ($(objpfx)tst-langinfo.out): Redirect output.
20932 ($(objpfx)tst-langinfo-static.out): New.
20933 * localedata/tst-langinfo.sh: Send output to stdout.
20934 * localedata/tst-langinfo-static.c: New file.
20935
20936 [BZ #16965]
20937 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20938 when the shift amount is modulo the limb size.
20939
20940 2014-05-20 Richard Henderson <rth@redhat.com>
20941
20942 [BZ #16967]
20943 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20944 Change type of sa_flags from unsigned int to int.
20945
20946 [BZ #16966]
20947 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20948
20949 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20950
20951 2014-05-20 Will Newton <will.newton@linaro.org>
20952
20953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20954 Test the return value of the system call in the nocancel case.
20955
20956 2014-05-20 Will Newton <will.newton@linaro.org>
20957 Yvan Roux <yvan.roux@linaro.org>
20958
20959 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20960 #include of asm/ptrace.h.
20961 (PTRACE_GET_THREAD_AREA): Remove #undef.
20962 (PTRACE_GETHBPREGS): Likewise.
20963 (PTRACE_SETHBPREGS): Likewise.
20964 (struct user_regs_struct): New structure.
20965 (struct user_fpsimd_struct): New structure.
20966 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20967 #include of asm/ptrace.h and second #include of sys/user.h.
20968 (PTRACE_GET_THREAD_AREA): Remove #undef.
20969 (PTRACE_GETHBPREGS): Likewise.
20970 (PTRACE_SETHBPREGS): Likewise.
20971 (ELF_NGREG): Use new struct user_regs_struct.
20972 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20973
20974 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20975
20976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20978
20979 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20980
20981 [BZ #16958]
20982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20983 membar to avoid block loads/stores to overlap previous stores.
20984
20985 2014-05-17 Richard Henderson <rth@redhat.com>
20986
20987 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20988 Create the __##syscall_name##_nocancel entry point.
20989 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20990 Remove; let the sysdep-cancel.h code create it.
20991
20992 2014-05-17 David S. Miller <davem@davemloft.net>
20993
20994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20995 Protect with __USE_GNU.
20996 (TIOCSET_TEMPT): Likewise.
20997 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20998 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20999 these are already provided in bits/ioctl-types.h
21000
21001 2014-05-16 Roland McGrath <roland@hack.frob.com>
21002
21003 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21004 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21005
21006 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21007 Use wait4 regardless of [__NR_waitpid].
21008
21009 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21010
21011 PR libgcc/60166
21012 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21013 (_FP_NANSIGN_Q): Set the quiet bit.
21014
21015 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21016
21017 * benchtests/Makefile
21018 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21019 not $(common-objpfx)math/libm.so.
21020 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21021 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21022 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21023 $(common-objpfx)dlfcn/libdl.so.
21024 ($(objpfx)tst-audit8): Depend on $(libm), not
21025 $(common-objpfx)math/libm.so.
21026 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21027 not $(common-objpfx)dlfcn/libdl.so.
21028 * math/Makefile
21029 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21030 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21031 [$(build-shared) = yes].
21032 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21033 $(common-objpfx)nptl/libpthread.so.
21034 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21035 $(common-objpfx)math/libm.so$(libm.so-version) or
21036 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21037 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21038 $(common-objpfx)dlfcn/libdl.so.
21039 * setjmp/Makefile (link-libm): Remove variable.
21040 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21041 * stdio-common/Makefile (link-libm): Remove variable.
21042 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21043 * stdlib/Makefile (link-libm): Remove variable.
21044 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21045 ($(objpfx)tst-strtod-round): Likewise.
21046 ($(objpfx)tst-tininess): Likewise.
21047 ($(objpfx)tst-strtod-underflow): Likewise.
21048 ($(objpfx)tst-strtod6): Likewise.
21049 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21050 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21051 $(common-objpfx)dlfcn/libdl.so.
21052
21053 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21054
21055 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21056 BSD terminal modes definitions.
21057
21058 2014-05-16 Roland McGrath <roland@hack.frob.com>
21059
21060 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21061 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21062
21063 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21064 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21065 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21066 Don't do #include_next.
21067 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21068 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21069 Don't do #include_next.
21070 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21071 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21072 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21073 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21074
21075 2014-05-16 Allan McRae <allan@archlinux.org>
21076
21077 * po/sv.po: Update Swedish translation from translation project.
21078
21079 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21080 in sed expression.
21081
21082 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21083
21084 [BZ #16917]
21085 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21086 errno if the TIOCGPTN ioctl fails with an error different than
21087 EINVAL.
21088 * login/tst-ptsname.c: New file.
21089 * login/Makefile (tests): Add tst-ptsname.
21090
21091 [BZ #16943]
21092 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21093 and prlimit64.
21094
21095 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21096
21097 [BZ #16849]
21098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21099 herrno to return EAI_AGAIN.
21100
21101 2014-05-14 Roland McGrath <roland@hack.frob.com>
21102
21103 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21104 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21105 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21106 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21107 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21108 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21109 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21110 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21112 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21113 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21114 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21115 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21116 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21117 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21118 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21119 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21120 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21121 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21122 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21123 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21124 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21125 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21126 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21127 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21128 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21129 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21130 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21131 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21132 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21134 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21136 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21138 Moved ...
21139 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21141 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21143 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21145 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21147 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21149 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21151 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21153 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21155 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21157 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21159 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21161 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21163 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21165 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21167 Moved ...
21168 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21170 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21172 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21174 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21176 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21178 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21180 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21182 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21184 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21186 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21188 Moved ...
21189 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21191 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21192
21193 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21194 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21195 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21196 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21197 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21198 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21199 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21200 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21201 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21202 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21203 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21204 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21205 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21206 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21207 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21208 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21209 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21210 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21211 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21212 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21213 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21214 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21215 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21216 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21217 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21218 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21219 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21220 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21221 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21222 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21223 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21224
21225 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21226 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21227
21228 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21229 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21230 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21231 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21232 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21233 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21234 Moved ...
21235 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21237 Moved ...
21238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21240 Moved ...
21241 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21242 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21243 Moved ...
21244 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21245 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21246 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21248 Moved ...
21249 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21250 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21251 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21253 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21254 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21255 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21257 Moved ...
21258 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21260 Moved ...
21261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21262 ... here.
21263 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21264 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21265 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21266 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21267 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21268 Moved ...
21269 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21270 ... here.
21271 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21272 Moved ...
21273 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21274 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21275 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21276 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21277 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21278 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21279 Moved ...
21280 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21282 Moved ...
21283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21285 Moved ...
21286 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21287 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21288 Moved ...
21289 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21290 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21291 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21293 Moved ...
21294 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21295 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21296 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21298 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21299 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21300 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21302 Moved ...
21303 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21305 Moved ...
21306 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21307 ... here.
21308 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21309 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21310 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21311 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21312 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21313 Moved ...
21314 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21315 ... here.
21316 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21317 Moved ...
21318 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21319 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21320 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21321 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21322 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21323 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21324 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21325 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21326 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21328 Moved ...
21329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21331 Moved ...
21332 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21334 Moved ...
21335 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21337 Moved ...
21338 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21339 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21340 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21341 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21342 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21344 Moved ...
21345 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21346 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21347 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21349 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21350 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21351 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21353 Moved ...
21354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21356 Moved ...
21357 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21358 ... here.
21359 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21360 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21361 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21362 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21363 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21364 Moved ...
21365 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21366 ... here.
21367 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21368 Moved ...
21369 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21370 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21371 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21372 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21373 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21374 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21375 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21376 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21377 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21378 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21379 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21380
21381 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21382 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21383
21384 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21385 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21386
21387 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21388 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21389 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21390 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21391 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21392 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21393 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21394 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21395 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21396 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21398 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21399 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21400 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21401 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21403 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21404 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21405 Moved ...
21406 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21408 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21410 Moved ...
21411 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21413 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21415 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21419 Moved ...
21420 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21422 Moved ...
21423 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21425 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21427 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21429 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21430 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21431 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21432 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21433 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21434 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21435 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21436 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21437 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21438 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21439 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21440
21441 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21442 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21443 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21444 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21445 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21446
21447 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21448 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21449 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21450 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21451 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21452 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21453 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21454 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21455 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21456 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21457
21458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21460
21461 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21462 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21463 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21464 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21465 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21466 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21467 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21468 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21469 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21470 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21471 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21472 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21473 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21474 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21476 Update #include.
21477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21478 Likewise.
21479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21480 Likewise.
21481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21482 Likewise.
21483 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21484 Likewise.
21485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21486 Likewise.
21487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21488 Likewise.
21489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21490 Likewise.
21491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21492 Likewise.
21493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21494 Likewise.
21495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21498 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21499 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21502 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21503 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21504 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21505 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21506 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21508 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21509 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21510
21511 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21512 that was previously under [RESET_PID].
21513 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21514 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21515 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21516
21517 * sysdeps/i386/nptl/Implies: New file.
21518 * sysdeps/x86_64/nptl/Implies: New file.
21519 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21520 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21521 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21522 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21523
21524 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21525 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21526 (__libc_vfork): New strong alias.
21527 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21528 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21529
21530 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21531 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21532 (__libc_vfork): New strong alias.
21533 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21534 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21535
21536 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21537 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21538 (__libc_vfork): New strong alias.
21539 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21540 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21541 * nptl/pt-vfork.c: New file.
21542 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21543 (libpthread: GLIBC_2.20): New version set (empty).
21544
21545 2014-05-14 Will Newton <will.newton@linaro.org>
21546
21547 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21548 rather than #if.
21549
21550 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21551
21552 [BZ #16564]
21553 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21554 arguments with exponent 65 or above.
21555 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21556 arguments 0x1p113L or above.
21557 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21558 to arguments 0x1p107L or above.
21559 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21560 positive arguments with exponent 65 or above.
21561 * math/auto-libm-test-in: Add more tests of log1p.
21562 * math/auto-libm-test-out: Regenerated.
21563
21564 [BZ #16928]
21565 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21566 non-finite arguments is +0.
21567 * math/s_cacosf.c (__cacosf): Likewise.
21568 * math/s_cacosl.c (__cacosl): Likewise.
21569 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21570 * sysdeps/i386/fpu/libm-test-ulps: Update.
21571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21572
21573 [BZ #16927]
21574 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21575 value.
21576 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21577 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21578 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21579 for explicit high bit of mantissa when testing for argument equal
21580 to 1.
21581 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21582 * sysdeps/i386/fpu/libm-test-ulps: Update.
21583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21584
21585 [BZ #16516]
21586 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21587 (__erf): Scale by 16 instead of 8 in potentially underflowing
21588 case. Ensure exception if result actually underflows.
21589 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21590 (__erff): Scale by 16 instead of 8 in potentially underflowing
21591 case. Ensure exception if result actually underflows.
21592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21593 (efx8): Remove variable.
21594 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21595 case. Ensure exception if result actually underflows.
21596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21597 (efx8): Remove variable.
21598 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21599 case. Ensure exception if result actually underflows.
21600 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21601 (efx8): Remove variable.
21602 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21603 case. Ensure exception if result actually underflows.
21604 * math/auto-libm-test-in: Add more tests of erf.
21605 * math/auto-libm-test-out: Regenerated.
21606
21607 2014-05-14 Andreas Schwab <schwab@suse.de>
21608
21609 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21610 Remove code conditionalized on USE___THREAD.
21611
21612 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21613 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21614 not definedness.
21615
21616 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21617
21618 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21619 Define unconditionally.
21620 (__ASSUME_O_CLOEXEC): Likewise.
21621 (__ASSUME_SOCK_CLOEXEC): Likewise.
21622 (__ASSUME_IN_NONBLOCK): Likewise.
21623 (__ASSUME_PIPE2): Likewise.
21624 (__ASSUME_EVENTFD2): Likewise.
21625 (__ASSUME_SIGNALFD4): Likewise.
21626 (__ASSUME_DUP3): Likewise.
21627 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21628 (__ASSUME_DUP3): Do not define.
21629 (__ASSUME_EVENTFD2): Likewise.
21630 (__ASSUME_IN_NONBLOCK): Likewise.
21631 (__ASSUME_O_CLOEXEC): Likewise.
21632 (__ASSUME_PIPE2): Likewise.
21633 (__ASSUME_SIGNALFD4): Likewise.
21634 (__ASSUME_SOCK_CLOEXEC): Likewise.
21635 (__ASSUME_UTIMES): Undefine.
21636 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21637 (__ASSUME_UTIMES): Do not define.
21638 (__ASSUME_O_CLOEXEC): Likewise.
21639 (__ASSUME_SOCK_CLOEXEC): Likewise.
21640 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21641 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21642 0x020621].
21643 (__ASSUME_PIPE2): Likewise.
21644 (__ASSUME_EVENTFD2): Likewise.
21645 (__ASSUME_SIGNALFD4): Likewise.
21646 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21647 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21648 Do not define.
21649 (__ASSUME_EVENTFD2): Likewise.
21650 (__ASSUME_SIGNALFD4): Likewise.
21651 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21652 (__ASSUME_32BITUIDS): Likewise.
21653 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21654 (__ASSUME_IPC64): Likewise.
21655 (__ASSUME_ST_INO_64_BIT): Likewise.
21656 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21657 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21658 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21659 (__ASSUME_UTIMES): Do not define.
21660 (__ASSUME_PSELECT): Likewise.
21661 (__ASSUME_PPOLL): Likewise.
21662 (__ASSUME_O_CLOEXEC): Likewise.
21663 (__ASSUME_SOCK_CLOEXEC): Likewise.
21664 (__ASSUME_IN_NONBLOCK): Likewise.
21665 (__ASSUME_PIPE2): Likewise.
21666 (__ASSUME_EVENTFD2): Likewise.
21667 (__ASSUME_SIGNALFD4): Likewise.
21668 (__ASSUME_DUP3): Likewise.
21669 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21670 (__ASSUME_UTIMES): Likewise.
21671 (__ASSUME_O_CLOEXEC): Likewise.
21672 (__ASSUME_SOCK_CLOEXEC): Likewise.
21673 (__ASSUME_IN_NONBLOCK): Likewise.
21674 (__ASSUME_PIPE2): Likewise.
21675 (__ASSUME_EVENTFD2): Likewise.
21676 (__ASSUME_SIGNALFD4): Likewise.
21677 (__ASSUME_DUP3): Likewise.
21678 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21679 (__ASSUME_UTIMES): Likewise.
21680 (__ASSUME_O_CLOEXEC): Likewise.
21681 (__ASSUME_SOCK_CLOEXEC): Likewise.
21682 (__ASSUME_IN_NONBLOCK): Likewise.
21683 (__ASSUME_PIPE2): Likewise.
21684 (__ASSUME_EVENTFD2): Likewise.
21685 (__ASSUME_SIGNALFD4): Likewise.
21686 (__ASSUME_DUP3): Likewise.
21687 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21688 Likewise.
21689 (__ASSUME_UTIMES): Likewise.
21690 (__ASSUME_EVENTFD2): Likewise.
21691 (__ASSUME_SIGNALFD4): Likewise.
21692 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21693 (__ASSUME_O_CLOEXEC): Likewise.
21694 (__ASSUME_SOCK_CLOEXEC): Likewise.
21695 (__ASSUME_IN_NONBLOCK): Likewise.
21696 (__ASSUME_PIPE2): Likewise.
21697 (__ASSUME_EVENTFD2): Likewise.
21698 (__ASSUME_SIGNALFD4): Likewise.
21699 (__ASSUME_DUP3): Likewise.
21700 (__ASSUME_UTIMES): Undefine.
21701
21702 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21703 feclearexcept. Remove symbol versioning code.
21704 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21705 symbol versioning code.
21706 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21707 symbol versioning code.
21708 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21709 feupdateenv. Remove symbol versioning code.
21710 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21711 fegetexceptflag. Remove symbol versioning code.
21712 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21713 fesetexceptflag. Remove symbol versioning code.
21714 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21715 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21716 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21717 (__posix_fadvise64_l32): Remove prototype.
21718 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21719 code.
21720
21721 2014-05-13 Roland McGrath <roland@hack.frob.com>
21722
21723 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21724 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21725 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21726 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21727
21728 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21729
21730 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21731 current working directory
21732
21733 2014-05-13 Roland McGrath <roland@hack.frob.com>
21734
21735 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21736 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21737 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21738 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21739 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21740 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21741 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21742 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21743 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21744 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21745 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21746 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21747 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21748 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21749 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21750 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21751 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21752 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21753 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21754 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21755 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21756 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21757 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21758 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21759 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21760 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21761 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21762 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21763 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21764 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21765 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21766 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21767 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21768 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21769 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21770 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21771 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21772 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21773 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21774 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21775 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21776 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21777
21778 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21779 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21780
21781 * sysdeps/unix/sysv/linux/arm/Makefile
21782 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21783 Add rt-aeabi_unwind_cpp_pr1.
21784 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21785 Add nptl-aeabi_unwind_cpp_pr1.
21786 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21787 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21788 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21789 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21790 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21791 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21792
21793 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21794 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21795 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21796 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21797
21798 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21799 Deconditionalize the code that was previously under [RESET_PID].
21800 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21801
21802 * sysdeps/generic/exit-thread.h: New file.
21803 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21804 * include/unistd.h (__exit_thread): Remove declaration.
21805 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21806 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21807 * csu/libc-start.c: Include <exit-thread.h>.
21808 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21809 * nptl/pthread_create.c: Include <exit-thread.h>.
21810 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21811 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21812 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21813 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21814 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21815 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21816 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21817 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21818 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21819 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21820 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21821 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21822 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21823 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21824 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21825 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21826 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21827
21828 2014-05-13 Andreas Schwab <schwab@suse.de>
21829
21830 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21831
21832 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21833
21834 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21835 (__ASSUME_UTIMES): Do not condition on kernel version.
21836 (__ASSUME_PSELECT): Define unconditionally.
21837 (__ASSUME_PPOLL): Likewise.
21838 (__ASSUME_ATFCTS): Likewise.
21839 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21840 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21841 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21842 (__ASSUME_UTIMENSAT): Define unconditionally.
21843 (__ASSUME_PRIVATE_FUTEX): Likewise.
21844 (__ASSUME_FALLOCATE): Likewise.
21845 (__ASSUME_O_CLOEXEC): Likewise.
21846 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21847 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21848 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21849 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21850 (__ASSUME_IN_NONBLOCK): Likewise.
21851 (__ASSUME_PIPE2): Likewise.
21852 (__ASSUME_EVENTFD2): Likewise.
21853 (__ASSUME_SIGNALFD4): Likewise.
21854 (__ASSUME_DUP3): Likewise.
21855 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21856 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21857 (__ASSUME_AT_RANDOM): Likewise.
21858 (__ASSUME_PREADV): Likewise.
21859 (__ASSUME_PWRITEV): Likewise.
21860 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21861 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21862 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21863 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21864 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21865 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21866 (__ASSUME_O_CLOEXEC): Define unconditionally.
21867 (__ASSUME_PSELECT): Do not undefine conditionally.
21868 (__ASSUME_PPOLL): Likewise.
21869 (__ASSUME_ATFCTS): Likewise.
21870 (__ASSUME_SET_ROBUST_LIST): Likewise.
21871 (__ASSUME_UTIMENSAT): Likewise.
21872 (__ASSUME_FDATASYNC): Define unconditionally.
21873 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21874 (__ASSUME_SIGFRAME_V2): Likewise.
21875 )__ASSUME_EVENTFD2): Likewise.
21876 (__ASSUME_SIGNALFD4): Likewise.
21877 (__ASSUME_PSELECT): Do not undefine conditionally.
21878 (__ASSUME_PPOLL): Likewise.
21879 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21880 (__ASSUME_PSELECT): Define unconditionally.
21881 (__ASSUME_PPOLL): Likewise.
21882 (__ASSUME_O_CLOEXEC): Likewise.
21883 (__ASSUME_SOCK_CLOEXEC): Likewise.
21884 (__ASSUME_IN_NONBLOCK): Likewise.
21885 (__ASSUME_PIPE2): Likewise.
21886 (__ASSUME_EVENTFD2): Likewise.
21887 (__ASSUME_SIGNALFD4): Likewise.
21888 (__ASSUME_DUP3): Likewise.
21889 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21890 (__ASSUME_O_CLOEXEC): Likewise.
21891 (__ASSUME_SOCK_CLOEXEC): Likewise.
21892 (__ASSUME_IN_NONBLOCK): Likewise.
21893 (__ASSUME_PIPE2): Likewise.
21894 (__ASSUME_EVENTFD2): Likewise.
21895 (__ASSUME_SIGNALFD4): Likewise.
21896 (__ASSUME_DUP3): Likewise.
21897 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21898 (__ASSUME_EVENTFD2): Likewise.
21899 (__ASSUME_SIGNALFD4): Likewise.
21900 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21901
21902 2014-05-12 Andreas Schwab <schwab@suse.de>
21903
21904 [BZ #16932]
21905 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21906 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21907 than maximum RPC packet size.
21908 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21909 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21910 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21911 (_nss_nis_getservbyport_r): Likewise.
21912
21913 2014-05-12 Will Newton <will.newton@linaro.org>
21914
21915 * malloc/Makefile (tests): Add tst-mallopt.
21916 * malloc/tst-mallopt.c: New file.
21917
21918 2014-05-09 Roland McGrath <roland@hack.frob.com>
21919
21920 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21921 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21922
21923 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21924
21925 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21926 (tst-tlsmod6.so): Likewise.
21927
21928 2014-05-09 Roland McGrath <roland@hack.frob.com>
21929
21930 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21931
21932 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21933
21934 [BZ #16064]
21935 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21936 and <dl-procinfo.h>.
21937 (__fegetenv): Save SSE state in envp->__eip if supported.
21938 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21939 envp->__eip if supported.
21940 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21941 and <dl-procinfo.h>.
21942 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21943 __data_offset and __data_selector in environment to 0. Set SSE
21944 state if supported.
21945 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21946 test-fenv-sse.
21947 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21948 -mfpmath=sse.
21949 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21950
21951 2014-05-09 Will Newton <will.newton@linaro.org>
21952
21953 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21954 and libc_relro_required for ARM.
21955 * sysdeps/arm/preconfigure: Regenerate.
21956
21957 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21958 Stefan Liebler <stli@linux.vnet.ibm.com>
21959
21960 * config.make.in (enable-lock-elision): New Makefile variable.
21961 * configure.ac: Likewise.
21962 * configure: Regenerate.
21963 * sysdeps/s390/configure.ac:
21964 Add check for gcc transactions support.
21965 * sysdeps/s390/configure: Regenerate.
21966 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21967 Build elision files if enabled.
21968 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21969 Add lock elision support for s390.
21970 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21971 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21972 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21973 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21974 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21975 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21976 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21977 Likewise.
21978 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21979 Likewise.
21980 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21981 Likewise.
21982 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21983 Likewise.
21984 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21985 (__lll_timedlock_elision, __lll_lock_elision)
21986 (__lll_unlock_elision, __lll_trylock_elision)
21987 (lll_timedlock_elision, lll_lock_elision)
21988 (lll_unlock_elision, lll_trylock_elision): Add.
21989 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21990 (pthread_mutex_t): Add lock elision support for s390.
21991
21992 2014-05-14 Wilco <wdijkstr@arm.com>
21993
21994 * sysdeps/arm/fclrexcpt.c: Cleanup.
21995 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21996 * sysdeps/arm/feenablxcpt.c: Cleanup.
21997 * sysdeps/arm/fegetenv.c: Cleanup.
21998 * sysdeps/arm/fegetexcept.c: Cleanup.
21999 * sysdeps/arm/fegetround.c: Cleanup.
22000 * sysdeps/arm/feholdexcpt.c: Cleanup.
22001 * sysdeps/arm/fesetenv.c: Cleanup.
22002 * sysdeps/arm/fesetround.c: Cleanup.
22003 * sysdeps/arm/feupdateenv.c: Cleanup.
22004 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22005 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22006 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22007 * sysdeps/arm/ftestexcept.c: Cleanup.
22008 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22009 * sysdeps/arm/setfpucw.c: Cleanup.
22010
22011 2014-05-09 Will Newton <will.newton@linaro.org>
22012
22013 * sysdeps/arm/armv7/strcmp.S: New file.
22014 * NEWS: Mention addition of ARMv7 optimized strcmp.
22015
22016 2014-05-08 Roland McGrath <roland@hack.frob.com>
22017
22018 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22019 look for %.ac rather than %.in.
22020
22021 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22022 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22023 * sysdeps/mach/hurd/configure: Regenerated.
22024 * sysdeps/unix/sysv/linux/configure: Regenerated.
22025
22026 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22027
22028 2014-05-07 Steve Ellcey <sellcey@mips.com>
22029
22030 [BZ# 16922]
22031 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22032 (LONG_SUB): Ditto.
22033 (PTR_SUB): Ditto.
22034
22035 2014-05-07 Andreas Schwab <schwab@suse.de>
22036
22037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22038 when skipping over non-matching result from nscd.
22039
22040 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22041
22042 [BZ #16876]
22043 * nptl/sockperf.c (client): Check socket return value.
22044
22045 [BZ #16877]
22046 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22047 nscd security class.
22048
22049 2014-05-06 Roland McGrath <roland@hack.frob.com>
22050
22051 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22052 * sysdeps/arm/unwind.h: ... here.
22053
22054 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22055
22056 [BZ# 16916]
22057 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22058 Define.
22059
22060 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22061
22062 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22063 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22064 multiarch strncpy for PPC64.
22065 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22066 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22068 multiarch optimizations.
22069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22070 (__libc_ifunc_impl_list): Likewise.
22071 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22072 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22073 multiarch stpncpy for PPC64.
22074 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22075 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22076
22077 2014-05-06 Andreas Schwab <schwab@suse.de>
22078
22079 [BZ #16912]
22080 * gmon/mcount.c (_MCOUNT_DECL): Use
22081 atomic_compare_and_exchange_bool_acq instead of
22082 catomic_compare_and_exchange_bool_acq.
22083
22084 2014-05-05 Roland McGrath <roland@hack.frob.com>
22085
22086 * elf/Makefile (others, install-bin): Remove pldd.
22087 (pldd-modules): Variable removed.
22088 ($(objpfx)pldd): Target removed.
22089 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22090 (others, install-bin): Append pldd here.
22091 ($(objpfx)pldd): New target.
22092
22093 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22094 to 0, so the first #if test emitted later doesn't see it undefined.
22095 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22096 * sysdeps/gnu/errlist.c: Regenerated.
22097
22098 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22099
22100 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22101 [libc_hidden_builtin_def]: Define to empty value.
22102 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22103 [libc_hidden_builtin_def]: Likewise.
22104 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22105 [libc_hidden_builtin_def]: Likewise.
22106 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22107 [libc_hidden_builtin_def]: Likewise.
22108 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22109 __redirect_memcpy and define ifunc as default hidden symbol.
22110 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22111 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22112
22113 2014-05-04 Adam Conrad <adconrad@0c3.net>
22114
22115 * locale/iso-4217.def: Reintroduce XDR currency.
22116
22117 2014-05-04 Allan McRae <allan@archlinux.org>
22118
22119 * po/eo.po: Update Esperanto translation from translation project.
22120
22121 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22122
22123 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22124 and FEATURE_INDEX_MAX to 1.
22125 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22126
22127 2014-05-01 Steve Ellcey <sellcey@mips.com>
22128
22129 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22130 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22131 * iconvdata/big5.c (ONE_DIRECTION): Define.
22132 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22133 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22134 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22135 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22136 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22137 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22138 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22139 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22140 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22141 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22142 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22143 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22144 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22145 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22146 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22147 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22148 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22149 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22150 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22151 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22152 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22153 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22154 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22155 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22156 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22157 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22158 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22159 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22160 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22161 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22162 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22163 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22164 * iconvdata/johab.c (ONE_DIRECTION): Define.
22165 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22166 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22167 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22168 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22169 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22170 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22171 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22172 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22173 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22174 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22175
22176 2014-05-01 Roland McGrath <roland@hack.frob.com>
22177
22178 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22179 (_IO_JUMPS_OFFSET): Define to 0.
22180
22181 * nptl/sysdeps/pthread/bits/libc-lock.h
22182 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22183 (__libc_lock_define_initialized_recursive): Always define using
22184 initializer. Modern compilers treat uninitialized (implicit zero) and
22185 explicit zero initializers the same (i.e. put the datum in bss).
22186
22187 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22188
22189 * nscd/nscd-client.h: Include <string.h>.
22190
22191 2014-05-01 David S. Miller <davem@davemloft.net>
22192
22193 [BZ #16885]
22194 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22195 multiple zero bytes exist at the end of a string.
22196 Reported by Aurelien Jarno <aurelien@aurel32.net>
22197
22198 * string/test-strcmp.c (check): Add explicit test for situations where
22199 there are multiple zero bytes after the first.
22200
22201 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22202
22203 [BZ #16890]
22204 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22205 when compiling wprintf.
22206 * stdio-common/tstdiomisc.c (t3): New function.
22207 (main): Call it.
22208
22209 2014-05-01 Steve Ellcey <sellcey@mips.com>
22210
22211 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22212 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22213 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22214 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22215
22216 2014-05-01 Steve Ellcey <sellcey@mips.com>
22217
22218 * stdlib/longlong.h: Updated from GCC.
22219
22220 2014-05-01 Will Newton <will.newton@linaro.org>
22221 Bernard Ogden <bernie.ogden@linaro.org>
22222
22223 * NEWS: Update fixed bug list.
22224
22225 [BZ #15119]
22226 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22227
22228 2014-04-30 David S. Miller <davem@davemloft.net>
22229
22230 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22231 (libc_feholdexcept_setround_sparc_ctx): New function.
22232 (libc_fesetenv_sparc_ctx): Likewise.
22233 (libc_feupdateenv_sparc_ctx): Likewise.
22234 (libc_feholdsetround_sparc_ctx): Likewise.
22235 (libc_feholdexcept_setround_ctx): Define.
22236 (libc_feholdexcept_setroundf_ctx): Likewise.
22237 (libc_feholdexcept_setroundl_ctx): Likewise.
22238 (libc_fesetenv_ctx): Likewise.
22239 (libc_fesetenvf_ctx): Likewise.
22240 (libc_fesetenvl_ctx): Likewise.
22241 (libc_feupdateenv_ctx): Likewise.
22242 (libc_feupdateenvf_ctx): Likewise.
22243 (libc_feupdateenvl_ctx): Likewise.
22244 (libc_feresetround_ctx): Likewise.
22245 (libc_feresetroundf_ctx): Likewise.
22246 (libc_feresetroundl_ctx): Likewise.
22247 (libc_feholdsetround_ctx): Likewise.
22248 (libc_feholdsetroundf_ctx): Likewise.
22249 (libc_feholdsetroundl_ctx): Likewise.
22250
22251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22252 with __USE_GNU instead of XOPEN cpp guards.
22253
22254 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22255 0.
22256
22257 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22258 with XOPEN cpp guards.
22259
22260 2014-04-30 Julian Brown <julian@codesourcery.com>
22261
22262 [BZ #16888]
22263 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22264 handling.
22265
22266 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22267
22268 [BZ #9894]
22269 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22270 Change to 2.6.32.
22271 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22272 * sysdeps/unix/sysv/linux/configure: Regenerated.
22273 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22274 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22275 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22276 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22277 * README: Update reference to required Linux kernel version.
22278 * manual/install.texi (Linux): Update reference to required Linux
22279 kernel headers version.
22280 * INSTALL: Regenerated.
22281
22282 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22283 header inclusion.
22284 [POSIX] (limits.h): Likewise.
22285 [POSIX] (math.h): Likewise.
22286 [POSIX] (sys/wait.h): Likewise.
22287 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22288 function.
22289 [POSIX] (stddef.h): Do not allow header inclusion.
22290
22291 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22292
22293 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22294
22295 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22296
22297 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22298 Return immediately after lll_futex_wake.
22299
22300 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22301
22302 [BZ #16791]
22303 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22304 structure.
22305 (datahead_init_pos): Call datahead_init_common early.
22306 (datahead_init_neg): Likewise.
22307
22308 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22309 datahead_init_neg): New functions.
22310 * nscd/aicache.c (addhstaiX): Use them.
22311 * nscd/grpcache.c (cache_addgr): Likewise.
22312 * nscd/hstcache.c (cache_addhst): Likewise.
22313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22314 * nscd/netgroupcache.c (do_notfound): Likewise.
22315 (addgetnetgrentX): Likewise.
22316 (addinnetgrX): Likewise.
22317 * nscd/pwdcache.c (cache_addpw): Likewise.
22318 * nscd/servicescache.c (cache_addserv): Likewise.
22319
22320 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22321 Atsushi Onoe <atsushi@onoe.org>
22322
22323 [BZ #14308]
22324 [BZ #12994]
22325 [BZ #13651]
22326 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22327 one response is valid.
22328 * resolv/res_send.c (send_dg): Check for validity of other
22329 response if the current response is a referral.
22330
22331 2014-04-29 Steve Ellcey <sellcey@mips.com>
22332
22333 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22334
22335 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22336
22337 [BZ #16823]
22338 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22339 Always divide by positive zero when computing -Inf result.
22340 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22341 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22342
22343 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22344
22345 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22346 FPSCR if value do not change.
22347 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22348 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22349 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22350 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22351 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22352 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22353 function.
22354
22355 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22356
22357 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22358 * sysdeps/unix/sysv/linux/hppa: Move directory from
22359 ports/systeps/unix/sysv/linux/hppa.
22360 * README: Update listing for hppa-*-linux-gnu.
22361
22362 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22363
22364 [BZ #16754]
22365 * manual/stdio.texi (Hook functions): Fix types of stream hook
22366 functions.
22367 [BZ #16854]
22368 * socket/sys/socket.h: Fix typo in comment.
22369
22370 2014-04-28 Wilco <wdijkstr@arm.com>
22371
22372 * sysdeps/arm/fenv_private.h: New file.
22373 * sysdeps/arm/math_private.h: New file.
22374 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22375
22376 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22379 with __int128_t.
22380 (La_x86_64_retval): Likewise.
22381
22382 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22383
22384 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22385 fpsr if value didn't change.
22386 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22387 to fpcr if value didn't change.
22388 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22389 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22390 fpsr or fpcr if value didn't change.
22391 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22392 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22393 fpcr if value didn't change.
22394 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22395 to fpsr if value didn't change.
22396
22397 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22398
22399 * nptl/tst-sem3.c: Use test-skeleton.c
22400 (main): Rename to do_test. Use return instead of
22401 exit.
22402 * nptl/tst-sem4.c: Use test-skeleton.c
22403 (main): Rename to do_test.
22404
22405 2014-04-22 David S. Miller <davem@davemloft.net>
22406
22407 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22408 (struct sigaction): New struct member __glibc_reserved0, change
22409 type of sa_flags to int.
22410
22411 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22412
22413 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22414 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22415
22416 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22417
22418 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22419 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22420
22421 2014-04-22 Will Newton <will.newton@linaro.org>
22422 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22423
22424 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22425 (__longjmp): Add longjmp and longjmp_target SystemTap
22426 probes.
22427 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22428 (__sigsetjmp): Add setjmp SystemTap probe.
22429
22430 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22431
22432 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22433 match manual order.
22434
22435 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22436
22437 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22438
22439 * sysdeps/powerpc/fpu/fenv_private.h
22440 (libc_feholdexcept_setroundl_ctx): Define to
22441 libc_feholdexcept_setround_ppc_ctx.
22442 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22443 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22444 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22445 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22446
22447 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22448
22449 * sysdeps/aarch64/math-tests.h: New file.
22450
22451 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22452
22453 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22454 New.
22455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22456 Check and set bit_AVX2_Usable.
22457 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22458 macro.
22459 (bit_AVX2): Likewise.
22460 (index_AVX2_Usable): Likewise.
22461 (CPUID_AVX2): Likewise.
22462 (HAS_AVX2): Likewise.
22463
22464 2014-04-17 Will Newton <will.newton@linaro.org>
22465
22466 * manual/setjmp.texi (System V contexts): Add note that
22467 calling setcontext on a context created by a call to a
22468 signal handler is undefined. Update text to note that
22469 setcontext from a signal handler is possible but not
22470 recommended.
22471
22472 [BZ #16629]
22473 * stdlib/tst-setcontext.c: Include signal.h.
22474 (main): Check that the signal stack before and
22475 after swapcontext is the same.
22476
22477 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22478 Re-implement to restore registers in user code and avoid
22479 rt_sigreturn system call.
22480
22481 2014-04-17 Wilco <wdijkstr@arm.com>
22482
22483 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22484 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22485 * math/test-fenv.c: Skip exception trap tests on targets which only
22486 support non-stop mode.
22487
22488 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22489 Wilco Dijkstra <wilco.dijkstra@arm.com>
22490
22491 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22492 (libc_feholdsetround_aarch64_ctx)
22493 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22494 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22495 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22496 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22497 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22498 (libc_feresetround_noexl_ctx): Define.
22499
22500 2014-04-16 Richard Henderson <rth@redhat.com>
22501
22502 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22503
22504 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22505 unwind tables.
22506
22507 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22508 const from the non-libc, non-ldso copy.
22509
22510 * sysdeps/alpha/libm-test-ulps: Regenerate.
22511
22512 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22513 Wilco Dijkstra <wilco.dijkstra@arm.com>
22514
22515 * sysdeps/aarch64/fpu/math_private.h: New file.
22516
22517 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22518
22519 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22520
22521 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22522
22523 [BZ #16275]
22524 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22525 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22527 Intel MPX bound registers before _dl_profile_fixup.
22528 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22529 registers after _dl_profile_fixup. Save and restore bound
22530 registers bnd0/bnd1 when calling _dl_call_pltexit.
22531 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22532 (LR_BND_OFFSET): Likewise.
22533 (LRV_BND0_OFFSET): Likewise.
22534 (LRV_BND1_OFFSET): Likewise.
22535
22536 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22537
22538 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22539 to...
22540 * sysdeps/mach/hurd/i386/tls.h: ... here.
22541 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22542 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22543 fields.
22544
22545 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22546
22547 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22548
22549 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22550
22551 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22552
22553 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22554
22555 [BZ #14770]
22556 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22557 * sysdeps/s390/configure: Regenerate.
22558
22559 [BZ #16824]
22560 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22561 Set round-to-nearest internally to reduce error accumulation.
22562
22563 2014-04-16 Alan Modra <amodra@gmail.com>
22564
22565 [BZ #16740]
22566 [BZ #16619]
22567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22568 * math/libm-test.inc (frexp_test_data): Add tests.
22569 * NEWS: Update fixed bug list.
22570
22571 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22572
22573 * benchtests/Makefile: Depend on libraries in build directory.
22574 (bench-math): Separate out math tests.
22575 (bench-pthread): Separate out pthread tests.
22576 (bench): Include math and pthread tests.
22577
22578 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22579
22580 [BZ #16831]
22581 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22582 _dl_debug_initialize.
22583
22584 * configure.ac: Remove SELinux header check.
22585 * configure: Regenerate.
22586 * nscd/selinux.c (perms): Array of const char* to permission names.
22587 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22588 default policy. Call string_to_security_class and string_to_av_perm to
22589 translate strings. Enforce default policy and call avs_has_perm with
22590 results of translated strings.
22591
22592 2014-04-13 David S. Miller <davem@davemloft.net>
22593
22594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22595
22596 2014-04-12 Allan McRae <allan@archlinux.org>
22597
22598 [BZ #16838]
22599 * manual/string.texi (Collation Functions): Fix qsort argument
22600 order in example.
22601 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22602
22603 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22604
22605 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22606 Make the test a no-op if there are no exceptions defined.
22607
22608 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22609
22610 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22611 enable-hardcoded-path-in-tests
22612
22613 2014-04-11 Will Newton <will.newton@linaro.org>
22614
22615 * benchtests/Makefile (extra-objs): Add json-lib.o.
22616 (bench-func): Tidy up JSON output.
22617 * benchtests/bench-skeleton.c: Include json-lib.h.
22618 (main): Use JSON library functions to do output of
22619 benchmark results.
22620 * benchtests/bench-timing-type.c (main): Output the
22621 timing type simply, leaving formatting to the user.
22622 * benchtests/json-lib.c: New file.
22623 * benchtests/json-lib.h: Likewise.
22624
22625 2014-04-11 Torvald Riegel <triegel@redhat.com>
22626
22627 [BZ #15215]
22628 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22629 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22630 memory barriers. Add comments.
22631 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22632 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22633 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22634 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22635 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22636 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22637
22638 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22639
22640 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22641 * sysdeps/s390/s390-64/configure.ac: ... this ...
22642 * sysdeps/s390/configure.ac: ... to here.
22643 * sysdeps/s390/s390-32/configure: Delete file.
22644 * sysdeps/s390/s390-64/configure: Delete file.
22645 * sysdeps/s390/configure: Regenerate.
22646
22647 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22648
22649 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22650
22651 2014-04-11 Will Newton <will.newton@linaro.org>
22652
22653 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22654 to zero if it is not defined elsewhere. (mtrim): Test
22655 the value of MALLOC_DEBUG with #if rather than #ifdef.
22656
22657 2014-04-10 Torvald Riegel <triegel@redhat.com>
22658
22659 * benchtests/pthread_once-inputs: New file.
22660 * benchtests/pthread_once-source.c: New file.
22661 * benchtests/README: Update documentation.
22662
22663 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22664 H.J. Lu <hongjiu.lu@intel.com>
22665
22666 [BZ #16275]
22667 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22668 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22669 * sysdeps/x86_64/configure: Regenerated.
22670 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22671 macro.
22672 (REGISTER_SAVE_RAX): Likewise.
22673 (REGISTER_SAVE_RCX): Likewise.
22674 (REGISTER_SAVE_RDX): Likewise.
22675 (REGISTER_SAVE_RSI): Likewise.
22676 (REGISTER_SAVE_RDI): Likewise.
22677 (REGISTER_SAVE_R8): Likewise.
22678 (REGISTER_SAVE_R9): Likewise.
22679 (REGISTER_SAVE_BND0): Likewise.
22680 (REGISTER_SAVE_BND1): Likewise.
22681 (REGISTER_SAVE_BND2): Likewise.
22682 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22683 bound registers when calling _dl_fixup.
22684
22685 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22686
22687 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22688 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22689 of its definition.
22690 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22691 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22692 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22693 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22694 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22695 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22696 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22697
22698 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22699
22700 [BZ #15514]
22701 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22702 pathconf(_PC_NAME_MAX).
22703
22704 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22705
22706 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22707 Remove macro usage.
22708 (__PTHREAD_SPINS): Move definition to ...
22709 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22710 (__PTHREAD_SPINS): ... here.
22711 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22712 (__PTHREAD_SPIN): Likewise.
22713 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22714 (__PTHREAD_SPIN): Likewise.
22715 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22716 (__PTHREAD_SPIN): Likewise.
22717 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22718 (__PTHREAD_SPIN): Likewise.
22719 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22720 (__PTHREAD_SPIN): Likewise.
22721 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22722 (__PTHREAD_SPIN): Likewise.
22723 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22724 (__PTHREAD_SPIN): Likewise.
22725 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22726 (__PTHREAD_SPIN): Likewise.
22727 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22728 (__PTHREAD_SPIN): Likewise.
22729 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22730 (__PTHREAD_SPIN): Likewise.
22731 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22732 (__PTHREAD_SPIN): Likewise.
22733 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22734 (__PTHREAD_SPIN): Likewise.
22735
22736 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22737 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22738 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22739 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22740 imply folder.
22741 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22742 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22743 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22744 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22745 correct imply path.
22746 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22747 strlen symbol for non multi-arch builds.
22748 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22749 missing hidden_def and weak_alias.
22750
22751 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22752
22753 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22754
22755 2014-04-07 Will Newton <will.newton@linaro.org>
22756
22757 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22758 and contents. [!_LIBC] Remove #ifndef and contents.
22759 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22760 * string/memccpy.c (__memccpy): Use ANSI prototype.
22761 * string/memfrob.c (memfrob): Likewise.
22762 * string/strcoll.c (STRCOLL): Likewise.
22763 * string/strlen.c (strlen): Likewise.
22764 * string/strtok.c (STRTOK): Likewise.
22765 * string/strcat.c: Remove unused #include of memcopy.h.
22766 (strcat): Use ANSI prototype.
22767 * string/strchr.c: Remove unused #include of memcopy.h.
22768 (strchr): Use ANSI prototype.
22769 * string/strcmp.c: Remove unused #include of memcopy.h.
22770 (strcmp): Use ANSI prototype.
22771 * string/strcpy.c: Remove unused #include of memcopy.h.
22772 (strcpy): Use ANSI prototype.
22773
22774 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22775
22776 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22777 * config.make.in (config-extra-cppflags): Set it from
22778 libc_extra_cppflags.
22779 * configure.ac (libc_extra_cflags): Make it accumulate over
22780 configure fragments.
22781 (libc_extra_cppflags): New flag.
22782 * configure. Regenerate.
22783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22784 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22785 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22787
22788 [BZ #16815]
22789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22790 result for FE_DOWNWARD rounding mode.
22791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22792 Likewise.
22793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22794
22795 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22796
22797 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22798 in function argument name.
22799
22800 2014-04-03 David Svoboda <svoboda@cert.org>
22801
22802 [BZ #5666]
22803 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22804 explicitly.
22805
22806 2014-04-03 Roland McGrath <roland@hack.frob.com>
22807
22808 * elf/dl-unmap-segments.h: New file.
22809 * sysdeps/generic/ldsodefs.h
22810 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22811 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22812 * elf/dl-fptr.c: Likewise.
22813 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22814 * sysdeps/aarch64/tlsdesc.c: Likewise.
22815 * sysdeps/arm/tlsdesc.c: Likewise.
22816 * sysdeps/i386/tlsdesc.c: Likewise.
22817 * sysdeps/tile/dl-runtime.c: Likewise.
22818 * sysdeps/x86_64/tlsdesc.c: Likewise.
22819 * elf/dl-load.h: New file.
22820 * elf/dl-load.c: Include it.
22821 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22822 Macros moved to dl-load.h.
22823 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22824 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22825 Use _dl_unmap_segments in place of __munmap.
22826 Break out segment-mapping loop into ...
22827 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22828
22829 2014-04-03 Will Newton <will.newton@linaro.org>
22830
22831 * elf/dl-lookup.c (do_lookup_x): Remove comment
22832 referring to nested function and move variable
22833 declarations down to before first use.
22834
22835 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22836
22837 [BZ #16799]
22838 [BZ #16800]
22839 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22840 with 0 numerator.
22841 * math/s_catanf.c (__catanf): Likewise.
22842 * math/s_catanh.c (__catanh): Likewise.
22843 * math/s_catanhf.c (__catanhf): Likewise.
22844 * math/s_catanhl.c (__catanhl): Likewise.
22845 * math/s_catanl.c (__catanl): Likewise.
22846 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22847 by positive zero when computing -Inf result.
22848 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22849 (catanh_test): Likewise.
22850 * sysdeps/i386/fpu/libm-test-ulps: Update.
22851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22852
22853 [BZ #16789]
22854 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22855 instead of using underflowing value in computing result.
22856 * math/s_clog10.c (__clog10): Likewise.
22857 * math/s_clog10f.c (__clog10f): Likewise.
22858 * math/s_clog10l.c (__clog10l): Likewise.
22859 * math/s_clogf.c (__clogf): Likewise.
22860 * math/s_clogl.c (__clogl): Likewise.
22861 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22862 (clog10_test): Likewise.
22863 * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22865
22866 2014-04-02 Alan Modra <amodra@gmail.com>
22867
22868 [BZ #16739]
22869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22870 output when value is near a power of two. Use int64_t for lx and
22871 remove casts. Use decimal rather than hex exponent constants.
22872 Don't use long double multiplication when double will suffice.
22873 * math/libm-test.inc (nextafter_test_data): Add tests.
22874 * NEWS: Add 16739 and 16786 to bug list.
22875
22876 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22877
22878 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22879
22880 2014-04-01 Will Newton <will.newton@linaro.org>
22881
22882 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22883 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22884
22885 2014-04-01 Florian Weimer <fweimer@redhat.com>
22886
22887 [BZ #13347]
22888 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22889 * nptl/tst-setuid2.c: New file.
22890 * nptl/Makefile (xtests): Add tst-setuid2.
22891
22892 2014-04-01 Alan Modra <amodra@gmail.com>
22893
22894 [BZ #16786]
22895 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22896
22897 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22898
22899 [BZ #6803]
22900 [BZ #6804]
22901 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22902 set errno as appropriate.
22903 * math/w_scalbf.c (__scalbf): Likewise.
22904 * math/w_scalbl.c (__scalbl): Likewise.
22905 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22906 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22907 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22908 Add more NaN tests.
22909
22910 [BZ #16349]
22911 * math/w_atan2.c: Include <errno.h>.
22912 (__atan2): Set errno for result underflowing to zero.
22913 * math/w_atan2f.c: Include <errno.h>.
22914 (__atan2f): Set errno for result underflowing to zero.
22915 * math/w_atan2l.c: Include <errno.h>.
22916 (__atan2l): Set errno for result underflowing to zero.
22917 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22918 tests.
22919 * math/auto-libm-test-out: Regenerated.
22920
22921 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22922
22923 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22924 Encode instruction correctly in little endian.
22925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22926 Likewise.
22927 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22928 Likewise.
22929 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22930 Likewise.
22931 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22932 Likewise.
22933
22934 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22935
22936 [BZ #9894]
22937 * sysdeps/unix/sysv/linux/kernel-features.h
22938 [__sparc__ && !__arch64__ && !__sparc_v9__]
22939 (__ASSUME_SET_ROBUST_LIST): Do not define.
22940 [__sparc__ && !__arch64__ && !__sparc_v9__]
22941 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22942 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22943 Likewise.
22944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22945 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22946 (__ASSUME_REQUEUE_PI): Likewise.
22947 (__ASSUME_SET_ROBUST_LIST): Likewise.
22948 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22949 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22950 Undefine.
22951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22952 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22953 Likewise.
22954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22955 Likewise.
22956 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22957 Likewise.
22958 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22959 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22960 Undefine.
22961 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22962 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22963 Likewise.
22964
22965 [BZ #16648]
22966 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22967 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22968 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22969
22970 2014-03-31 Will Newton <will.newton@linaro.org>
22971
22972 * benchtests/Makefile (bench): Add ffs and ffsll to list
22973 of tests.
22974 * benchtests/ffs-inputs: New file.
22975 * benchtests/ffsll-inputs: Likewise.
22976
22977 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22978
22979 [BZ #16770]
22980 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22981 too large before casting to int.
22982 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22983 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22984 * math/libm-test.inc (scalb_test_data): Add more tests.
22985
22986 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22987
22988 * benchtests/Makefile (DETAILED_OPT): New make option.
22989 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22990 set.
22991 * benchtests/bench-skeleton.c: Include stdbool.h.
22992 (main): Store and print timings per input.
22993 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22994 member to each argument value.
22995 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22996 (_print_arg_data): Initialize per-input timing to 0.
22997
22998 * benchtests/Makefile (timing-type): New binary.
22999 (bench-clean): Also remove bench-timing-type.
23000 (bench): New target for timing-type.
23001 (bench-func): Print output in JSON format.
23002 * benchtests/bench-skeleton.c (main): Print output in JSON
23003 format.
23004 * benchtests/bench-timing-type.c: New file.
23005 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23006 (TIMING_PRINT_STATS): Remove.
23007 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23008 name separately.
23009
23010 * benchtests/bench-modf.c: Remove.
23011 * benchtests/modf-inputs: New inputs file.
23012
23013 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23014
23015 [BZ #16362]
23016 * math/s_clog10.c (M_PI_LOG10E): New macro.
23017 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23018 imaginary parts are 0.
23019 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23020 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23021 imaginary parts are 0.
23022 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23023 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23024 imaginary parts are 0.
23025 * math/libm-test.inc (clog10_test_data): Update expected results
23026 for when real and imaginary parts are 0.
23027
23028 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23029
23030 * elf/dl-load.c: Finish conversion of __builtin_expect into
23031 __glibc_{un}likely.
23032
23033 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23034
23035 [BZ #16348]
23036 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23037 1+x for argument with exponent below -67.
23038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23039 Likewise.
23040 * math/auto-libm-test-in: Add more tests of exp.
23041 * math/auto-libm-test-out: Regenerated.
23042
23043 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23044
23045 [BZ #16759]
23046 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23047 (nscd_getnetgrent): Use it.
23048
23049 [BZ #16760]
23050 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23051 of stpcpy.
23052
23053 2014-03-27 Andi Kleen <ak@linux.intel.com>
23054
23055 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23056 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23057 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23058 (lll_robust_unlock): Remove out of line section. Use cfi
23059 intrinsics.
23060 (LLL_STUB_UNWIND_INFO*): Remove.
23061 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23062 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23063 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23064 (lll_robust_unlock): Remove out of line section. Use cfi
23065 intrinsics.
23066 (LLL_STUB_UNWIND_INFO*): Remove.
23067
23068 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23069
23070 [BZ #16758]
23071 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23072 blank values.
23073
23074 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23075
23076 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23077
23078 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23079
23080 [BZ #16198]
23081 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23082 fnstenv.
23083 * math/test-fenv-preserve.c: New file.
23084 * math/Makefile (tests): Add test-fenv-preserve.
23085
23086 2014-03-26 Will Newton <will.newton@linaro.org>
23087
23088 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23089
23090 2014-03-25 Roland McGrath <roland@hack.frob.com>
23091
23092 * scripts/versionlist.awk: Partition the version sets and emit all
23093 GLIBC_* (sorted) before all others (sorted).
23094
23095 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23096
23097 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23098 GLIBC_2.2.5 version.
23099
23100 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23101
23102 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23103 calls.
23104
23105 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23106 previous change.
23107
23108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23109
23110 2014-03-25 Andreas Schwab <schwab@suse.de>
23111
23112 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23113 label to be used after in6ailist is initialized.
23114
23115 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23116
23117 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23118 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23119
23120 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23121
23122 [BZ #16357]
23123 [BZ #16599]
23124 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23125 min_plus_half.
23126 (fp_formats): Update initializers.
23127 (init_fp_formats): Initialize new field.
23128 (output_for_one_input_case): Allow underflow for results up to
23129 min_plus_half.
23130 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23131 * math/auto-libm-test-in: Don't mark some underflows from asin and
23132 atanh as spurious.
23133 * math/auto-libm-test-out: Regenerated.
23134 * sysdeps/i386/fpu/libm-test-ulps: Update.
23135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23136
23137 2014-03-25 Andreas Schwab <schwab@suse.de>
23138
23139 * libio/Makefile (tst-ftell-partial-wide-ENV)
23140 (tst-ftell-active-handler-ENV): Define.
23141
23142 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23143
23144 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23145
23146 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23147
23148 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23149
23150 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23151
23152 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23153 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23154 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23155
23156 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23157
23158 [BZ #16634]
23159 * elf/dl-load.c (open_verify): Add mode parameter.
23160 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23161 (open_path): Change from boolean 'secure' to complete flag 'mode'
23162 (_dl_map_object): Adjust.
23163 * elf/Makefile (tests): Add tst-dlopen-aout.
23164 * elf/tst-dlopen-aout.c: New test.
23165
23166 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23167
23168 [BZ #16714]
23169 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23170 (struct stat): Rename member pad0 to __glibc_reserved0.
23171
23172 [BZ #16712]
23173 * sysdeps/s390/s390-32/bits/wordsize.h
23174 (__WORDSIZE32_SIZE_ULONG): New define.
23175 * sysdeps/s390/s390-64/bits/wordsize.h
23176 (__WORDSIZE32_SIZE_ULONG): Likewise.
23177 * sysdeps/generic/stdint.h (SIZE_MAX):
23178 Define as UL if __WORDSIZE32_SIZE_ULONG.
23179
23180 [BZ #16713]
23181 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23182 (__glibc_reserved0): New variable.
23183 (sa_flags): Change type to int.
23184
23185 * posix/Makefile (before-compile): Use += before-compile instead
23186 of a :=.
23187
23188 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23189 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23190
23191 2014-03-20 Andreas Schwab <schwab@suse.de>
23192
23193 [BZ #16743]
23194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23195 non-matching result from nscd.
23196
23197 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23198
23199 * scripts/bench.py: Moved to ...
23200 * benchtests/scripts/bench.py: ... here.
23201 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23202
23203 2014-03-24 Andreas Schwab <schwab@suse.de>
23204
23205 [BZ #16002]
23206 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23207 alloca_account and account alloca use for struct in6ailist.
23208
23209 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23210
23211 [BZ #16284]
23212 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23213 rounding mode to recompute results that overflow to infinity or
23214 underflow to zero.
23215 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23216 bug 16284.
23217 * math/auto-libm-test-out: Regenerated.
23218 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23219 (ccosh_test): Likewise.
23220 (csin_test_data): Use plus_oflow.
23221 (csin_test): Use ALL_RM_TEST.
23222 (csinh_test_data): Use plus_oflow.
23223 (csinh_test): Use ALL_RM_TEST.
23224 * sysdeps/i386/fpu/libm-test-ulps: Update.
23225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23226
23227 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23228
23229 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23230 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23231 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23232
23233 [BZ #16731]
23234 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23235 when x - 1 is zero.
23236 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23237 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23238 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23240 argument is 1.
23241 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23242 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23243 zero.
23244 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23245 * sysdeps/i386/fpu/libm-test-ulps: Update.
23246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23247
23248 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23249
23250 * scripts/bench.pl: Remove file.
23251 * scripts/bench.py: New benchmark script.
23252 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23253 * benchtests/README: Mention python dependency.
23254 * scripts/pylintrc: New file.
23255 * scripts/pylint: New file.
23256
23257 * bits/mathdef.h: Use #ifdef instead of #if.
23258 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23259 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23260 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23261 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23262 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23263 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23264
23265 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23266 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23267
23268 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23270 and strpbrk-ppc64 objects.
23271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23272 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23273 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23274 multiarch strpbrk for POWER7.
23275 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23276 multiarch strpbrk for PPC64.
23277 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23278 ifunc selector.
23279 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23280 strpbrk for POWER7.
23281
23282 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23283
23284 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23285 (atan_test): Likewise.
23286 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23287 (atanh_test): Use ALL_RM_TEST.
23288 (atan2_test_data): Likewise.
23289 (cabs_test): Likewise.
23290 (cacosh_test): Likewise.
23291 (carg_test): Likewise.
23292 (casin_test): Likewise.
23293 (casinh_test): Likewise.
23294 (cbrt_test): Likewise.
23295 (csqrt_test): Likewise.
23296 (erf_test): Likewise.
23297 (erfc_test): Likewise.
23298 (pow10_test): Likewise.
23299 (exp2_test): Likewise.
23300 (hypot_test): Likewise.
23301 (j0_test): Likewise.
23302 (j1_test): Likewise.
23303 (lgamma_test): Likewise.
23304 (gamma_test): Likewise.
23305 (sincos_test): Likewise.
23306 (tanh_test): Likewise.
23307 (y0_test): Likewise.
23308 (y1_test): Likewise.
23309 * sysdeps/i386/fpu/libm-test-ulps: Update.
23310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23311
23312 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23313
23314 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23316 and strcspn-ppc64 objects.
23317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23318 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23319 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23320 multiarch strcspn for POWER7.
23321 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23322 multiarch strcspn for PPC64.
23323 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23324 ifunc selector.
23325 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23326 strcspn for POWER7.
23327
23328 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23329
23330 * math/gen-libm-test.pl (generate_testfile): Expect only function
23331 name as argument to AUTO_TESTS_* and pass results for all rounding
23332 modes to parse_args.
23333 (parse_auto_input): Separate inputs of automatic tests from
23334 outputs before storing in %auto_tests.
23335 * math/libm-test.inc (acos_test_data): Update call to
23336 AUTO_TESTS_f_f.
23337 (acos_test): Use ALL_RM_TEST.
23338 (acos_tonearest_test_data): Remove.
23339 (acos_test_tonearest): Likewise.
23340 (acos_towardzero_test_data): Likewise.
23341 (acos_test_towardzero): Likewise.
23342 (acos_downward_test_data): Likewise.
23343 (acos_test_downward): Likewise.
23344 (acos_upward_test_data): Likewise.
23345 (acos_test_upward): Likewise.
23346 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23347 (asin_test_data): Likewise.
23348 (asin_test): Use ALL_RM_TEST.
23349 (asin_tonearest_test_data): Remove.
23350 (asin_test_tonearest): Likewise.
23351 (asin_towardzero_test_data): Likewise.
23352 (asin_test_towardzero): Likewise.
23353 (asin_downward_test_data): Likewise.
23354 (asin_test_downward): Likewise.
23355 (asin_upward_test_data): Likewise.
23356 (asin_test_upward): Likewise.
23357 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23358 (atan_test_data): Likewise.
23359 (atanh_test_data): Likewise.
23360 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23361 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23362 (carg_test_data): Likewise.
23363 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23364 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23365 (ccosh_test_data): Likewise.
23366 (cexp_test_data): Likewise.
23367 (clog_test_data): Likewise.
23368 (clog10_test_data): Likewise.
23369 (cos_test_data): Update call to AUTO_TESTS_f_f.
23370 (cos_test): Use ALL_RM_TEST.
23371 (cos_tonearest_test_data): Remove.
23372 (cos_test_tonearest): Likewise.
23373 (cos_towardzero_test_data): Likewise.
23374 (cos_test_towardzero): Likewise.
23375 (cos_downward_test_data): Likewise.
23376 (cos_test_downward): Likewise.
23377 (cos_upward_test_data): Likewise.
23378 (cos_test_upward): Likewise.
23379 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23380 (cosh_test): Use ALL_RM_TEST.
23381 (cosh_tonearest_test_data): Remove.
23382 (cosh_test_tonearest): Likewise.
23383 (cosh_towardzero_test_data): Likewise.
23384 (cosh_test_towardzero): Likewise.
23385 (cosh_downward_test_data): Likewise.
23386 (cosh_test_downward): Likewise.
23387 (cosh_upward_test_data): Likewise.
23388 (cosh_test_upward): Likewise.
23389 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23390 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23391 (ctan_test_data): Likewise.
23392 (ctan_test): Use ALL_RM_TEST.
23393 (ctan_tonearest_test_data): Remove.
23394 (ctan_test_tonearest): Likewise.
23395 (ctan_towardzero_test_data): Likewise.
23396 (ctan_test_towardzero): Likewise.
23397 (ctan_downward_test_data): Likewise.
23398 (ctan_test_downward): Likewise.
23399 (ctan_upward_test_data): Likewise.
23400 (ctan_test_upward): Likewise.
23401 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23402 (ctanh_test): Use ALL_RM_TEST.
23403 (ctanh_tonearest_test_data): Remove.
23404 (ctanh_test_tonearest): Likewise.
23405 (ctanh_towardzero_test_data): Likewise.
23406 (ctanh_test_towardzero): Likewise.
23407 (ctanh_downward_test_data): Likewise.
23408 (ctanh_test_downward): Likewise.
23409 (ctanh_upward_test_data): Likewise.
23410 (ctanh_test_upward): Likewise.
23411 (erf_test_data): Update call to AUTO_TESTS_f_f.
23412 (erfc_test_data): Likewise.
23413 (exp_test_data): Likewise.
23414 (exp_test): Use ALL_RM_TEST.
23415 (exp_tonearest_test_data): Remove.
23416 (exp_test_tonearest): Likewise.
23417 (exp_towardzero_test_data): Likewise.
23418 (exp_test_towardzero): Likewise.
23419 (exp_downward_test_data): Likewise.
23420 (exp_test_downward): Likewise.
23421 (exp_upward_test_data): Likewise.
23422 (exp_test_upward): Likewise.
23423 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23424 (exp10_test): Use ALL_RM_TEST.
23425 (exp10_tonearest_test_data): Remove.
23426 (exp10_test_tonearest): Likewise.
23427 (exp10_towardzero_test_data): Likewise.
23428 (exp10_test_towardzero): Likewise.
23429 (exp10_downward_test_data): Likewise.
23430 (exp10_test_downward): Likewise.
23431 (exp10_upward_test_data): Likewise.
23432 (exp10_test_upward): Likewise.
23433 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23434 (expm1_test_data): Likewise.
23435 (expm1_test): Use ALL_RM_TEST.
23436 (expm1_tonearest_test_data): Remove.
23437 (expm1_test_tonearest): Likewise.
23438 (expm1_towardzero_test_data): Likewise.
23439 (expm1_test_towardzero): Likewise.
23440 (expm1_downward_test_data): Likewise.
23441 (expm1_test_downward): Likewise.
23442 (expm1_upward_test_data): Likewise.
23443 (expm1_test_upward): Likewise.
23444 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23445 (fma_test): Use ALL_RM_TEST.
23446 (fma_towardzero_test_data): Remove.
23447 (fma_test_towardzero): Likewise.
23448 (fma_downward_test_data): Likewise.
23449 (fma_test_downward): Likewise.
23450 (fma_upward_test_data): Likewise.
23451 (fma_test_upward): Likewise.
23452 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23453 (j0_test_data): Update call to AUTO_TESTS_f_f.
23454 (j1_test_data): Likewise.
23455 (jn_test_data): Update call to AUTO_TESTS_if_f.
23456 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23457 (log_test_data): Update call to AUTO_TESTS_f_f.
23458 (log10_test_data): Likewise.
23459 (log1p_test_data): Likewise.
23460 (log2_test_data): Likewise.
23461 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23462 (pow_tonearest_test_data): Likewise.
23463 (sin_test_data): Update call to AUTO_TESTS_f_f.
23464 (sin_test): Use ALL_RM_TEST.
23465 (sin_tonearest_test_data): Remove.
23466 (sin_test_tonearest): Likewise.
23467 (sin_towardzero_test_data): Likewise.
23468 (sin_test_towardzero): Likewise.
23469 (sin_downward_test_data): Likewise.
23470 (sin_test_downward): Likewise.
23471 (sin_upward_test_data): Likewise.
23472 (sin_test_upward): Likewise.
23473 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23474 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23475 (sinh_test): Use ALL_RM_TEST.
23476 (sinh_tonearest_test_data): Remove.
23477 (sinh_test_tonearest): Likewise.
23478 (sinh_towardzero_test_data): Likewise.
23479 (sinh_test_towardzero): Likewise.
23480 (sinh_downward_test_data): Likewise.
23481 (sinh_test_downward): Likewise.
23482 (sinh_upward_test_data): Likewise.
23483 (sinh_test_upward): Likewise.
23484 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23485 (sqrt_test): Use ALL_RM_TEST.
23486 (sqrt_tonearest_test_data): Remove.
23487 (sqrt_test_tonearest): Likewise.
23488 (sqrt_towardzero_test_data): Likewise.
23489 (sqrt_test_towardzero): Likewise.
23490 (sqrt_downward_test_data): Likewise.
23491 (sqrt_test_downward): Likewise.
23492 (sqrt_upward_test_data): Likewise.
23493 (sqrt_test_upward): Likewise.
23494 (tan_test_data): Update call to AUTO_TESTS_f_f.
23495 (tan_test): Use ALL_RM_TEST.
23496 (tan_tonearest_test_data): Remove.
23497 (tan_test_tonearest): Likewise.
23498 (tan_towardzero_test_data): Likewise.
23499 (tan_test_towardzero): Likewise.
23500 (tan_downward_test_data): Likewise.
23501 (tan_test_downward): Likewise.
23502 (tan_upward_test_data): Likewise.
23503 (tan_test_upward): Likewise.
23504 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23505 (tgamma_test_data): Likewise.
23506 (y0_test_data): Likewise.
23507 (y1_test_data): Likewise.
23508 (yn_test_data): Update call to AUTO_TESTS_if_f.
23509 (main): Do not call removed functions.
23510
23511 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23512
23513 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23514 (ldexp_test_data): Remove.
23515 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23516 scalbn_test_data.
23517 (scalb_test): Use ALL_RM_TEST.
23518
23519 2014-03-19 Andreas Schwab <schwab@suse.de>
23520
23521 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23522
23523 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23524
23525 [BZ #16649]
23526 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23527 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23528 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23530 (__ASSUME_PREADV): Undefine.
23531 (__ASSUME_PWRITEV): Likewise.
23532
23533 2014-03-18 Roland McGrath <roland@hack.frob.com>
23534
23535 * bits/mman-linux.h: Add comment about non-Linux use.
23536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23537 bits/mman-linux.h resting place.
23538
23539 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23540 * bits/mman-linux.h: ... here.
23541
23542 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23543
23544 * conform/conformtest.pl: Add standard definition when calling C
23545 preprocessor on data files.
23546 (checknamespace): Remove unused variable.
23547
23548 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23549
23550 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23551 minus_oflow, plus_uflow and minus_uflow in expected results.
23552 * math/libm-test.inc (scalbn_test_data): Add more tests of
23553 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23554 minus_uflow.
23555 (scalbn_test): Use ALL_RM_TEST.
23556 (scalbln_test_data): Add more tests of negative arguments. Use
23557 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23558 (scalbln_test): Use ALL_RM_TEST.
23559
23560 2014-03-18 Roland McGrath <roland@hack.frob.com>
23561
23562 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23563
23564 2014-03-18 Will Newton <will.newton@linaro.org>
23565
23566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23567 inaccurate comment.
23568
23569 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23570
23571 * Makerules [!subdir] (check-abi): Exit with error status if a
23572 test failed.
23573
23574 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23575
23576 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23577 for rint. Include results for all rounding modes.
23578 (nearbyint_test): Use ALL_RM_TEST.
23579 (rint_test_data): Include all tests used for nearbyint.
23580
23581 2014-03-17 Will Newton <will.newton@linaro.org>
23582
23583 * nptl/sysdeps/pthread/pthread.h: Revert previous
23584 change.
23585
23586 * sysdeps/generic/ldsodefs.h: Revert previous
23587 change.
23588
23589 * libio/genops.c: Revert previous change.
23590 * libio/libioP.h: Likewise.
23591 * stdio-common/vfprintf.c: Likewise.
23592
23593 * sysdeps/generic/math_private.h: Revert previous
23594 change.
23595
23596 * sysdeps/generic/math_private.h: Check whether
23597 HAVE_RM_CTX is defined with #ifdef rather
23598 than #if.
23599
23600 * argp/argp-fmtstream.h: Check whether
23601 __STRICT_ANSI__ is defined with #ifdef rather
23602 than #if.
23603 * argp/argp.h: Likewise.
23604
23605 * libio/genops.c: Check whether
23606 _IO_JUMPS_OFFSET is defined with #ifdef rather
23607 than #if.
23608 * libio/libioP.h: Likewise.
23609 * stdio-common/vfprintf.c: Likewise.
23610
23611 * sysdeps/generic/ldsodefs.h: Check whether
23612 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23613 than #if.
23614
23615 * nptl/sysdeps/pthread/pthread.h: Check
23616 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23617 its value.
23618
23619 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23620
23621 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23622 setting O_APPEND.
23623 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23624 test case.
23625
23626 [BZ #16680]
23627 * libio/fileops.c (_IO_file_open): Seek to end of file but
23628 don't cache the offset.
23629 (get_file_offset): Remove function.
23630 (do_ftell): Use cached offset when available.
23631 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23632 don't cache the offset.
23633 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23634 case.
23635 (do_one_test): Call it.
23636 (do_ftell_test): Fix up expected old offset for a+ mode.
23637 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23638 available.
23639
23640 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23641 up test status with function return status.
23642 (do_write_test): Likewise.
23643 (do_append_test): Likewise.
23644
23645 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23646 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23647 Remove.
23648
23649 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23650
23651 * math/gen-libm-test.pl (parse_args): Handle results specified for
23652 each rounding mode separately.
23653 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23654 tests and results from lrint_tonearest_test_data,
23655 lrint_towardzero_test_data, lrint_downward_test_data and
23656 lrint_upward_test_data.
23657 (lrint_test): Use ALL_RM_TEST.
23658 (lrint_tonearest_test_data): Remove.
23659 (lrint_test_tonearest): Likewise.
23660 (lrint_towardzero_test_data): Likewise.
23661 (lrint_test_towardzero): Likewise.
23662 (lrint_downward_test_data): Likewise.
23663 (lrint_test_downward): Likewise.
23664 (lrint_upward_test_data): Likewise.
23665 (lrint_test_upward): Likewise.
23666 (llrint_test_data): Merge in per-rounding-mode tests and results
23667 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23668 llrint_downward_test_data and llrint_upward_test_data.
23669 (llrint_test): Use ALL_RM_TEST.
23670 (llrint_tonearest_test_data): Remove.
23671 (llrint_test_tonearest): Likewise.
23672 (llrint_towardzero_test_data): Likewise.
23673 (llrint_test_towardzero): Likewise.
23674 (llrint_downward_test_data): Likewise.
23675 (llrint_test_downward): Likewise.
23676 (llrint_upward_test_data): Likewise.
23677 (llrint_test_upward): Likewise.
23678 (rint_test_data): Merge in per-rounding-mode tests and results
23679 from rint_tonearest_test_data, rint_towardzero_test_data,
23680 rint_downward_test_data and rint_upward_test_data. Add
23681 per-rounding-mode results for tests not in those arrays.
23682 (rint_test): Use ALL_RM_TEST.
23683 (rint_tonearest_test_data): Remove.
23684 (rint_test_tonearest): Likewise.
23685 (rint_towardzero_test_data): Likewise.
23686 (rint_test_towardzero): Likewise.
23687 (rint_downward_test_data): Likewise.
23688 (rint_test_downward): Likewise.
23689 (rint_upward_test_data): Likewise.
23690 (rint_test_upward): Likewise.
23691 (main): Don't call removed functions.
23692
23693 2014-03-14 Roland McGrath <roland@hack.frob.com>
23694
23695 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23696 "Compiled on ..." crapola. It is anti-useful.
23697
23698 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23699
23700 * scripts/evaluate-test.sh: Handle fourth argument to determine
23701 whether test run should stop on failure.
23702 * Makeconfig (stop-on-test-failure): New variable.
23703 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23704 $(stop-on-test-failure).
23705 * Makefile (tests): Give a summary of results from testing and
23706 exit with failure status if they include an ERROR or FAIL.
23707 (xtests): Likewise.
23708 * manual/install.texi (Configuring and compiling): Mention
23709 stop-on-test-failure=y.
23710 * INSTALL: Regenerated.
23711
23712 2014-03-14 Roland McGrath <roland@hack.frob.com>
23713
23714 * scripts/versionlist.awk: New file.
23715 * Makerules [$(build-shared) = yes]
23716 (postclean-generated): Add Versions.def, not Versions.def.v and
23717 Versions.def.v.i.
23718 ($(common-objpfx)Versions.def.v.i): Target removed.
23719 ($(common-objpfx)Versions.def): New target.
23720 ($(common-objpfx)Versions.all): Depend on that rather that
23721 $(common-objpfx)Versions.def.v.
23722 * Versions.def: File removed.
23723
23724 * Makeconfig (+gccwarn): Add -Wundef.
23725 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23726 a dl-sysdep.h breaking its contract.
23727 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23728 * include/stackinfo.h: New file.
23729 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23730 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23731 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23732 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23733 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23734 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23735 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23736 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23737 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23738 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23739 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23740 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23741 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23742 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23743 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23744
23745 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23746
23747 [BZ #16707]
23748 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23749 implementation.
23750 * math/libm-test.inc (round_test_data): Add more tests.
23751
23752 [BZ #16706]
23753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23754 implementation.
23755 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23756
23757 [BZ #16701]
23758 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23759 implementation.
23760 * math/libm-test.inc (ceil_test_data): Add more tests.
23761
23762 * math/libm-test.inc (trunc_test_data): Add more tests related to
23763 BZ#16414.
23764
23765 2014-03-14 Roland McGrath <roland@hack.frob.com>
23766
23767 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23768 with #if rather than #ifdef.
23769 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23770
23771 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23772
23773 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23774 first. Disable AVX-512 GCC support if assembler doesn't support
23775 it.
23776 * sysdeps/x86_64/configure: Regenerated.
23777
23778 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23779
23780 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23781 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23782 (__old_pthread_attr_setstack): Likewise.
23783 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23784 [!_STACK_GROWS_DOWN]: Likewise.
23785
23786 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23787
23788 * config.make.in (have-bash2): Delete.
23789 * configure.ac (libc_cv_have_bash2): Delete.
23790 * configure: Regenerate.
23791 * elf/Makefile (common-ldd-rewrite): Rename to ...
23792 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23793 (sh-ldd-rewrite): Delete.
23794 (bash-ldd-rewrite): Delete.
23795 (have-bash2): Delete checks.
23796 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23797 ldd-rewrite.
23798
23799 * config.make.in (have-ksh): Delete.
23800 (KSH): Delete.
23801 * configure.ac (libc_cv_have_ksh): Delete.
23802 * configure: Regenerate.
23803
23804 * elf/Makefile: Delete $(have-ksh) check.
23805 ($(objpfx)sotruss): Change KSH to BASH.
23806 * elf/sotruss.ksh: Rename to ...
23807 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23808 function style to match POSIX. Drop ksh vim mode setting.
23809
23810 * manual/time.texi (Specifying the Time Zone with TZ): Change
23811 Tuesday to Thursday.
23812
23813 * debug/tst-longjmp_chk2.c: Update header comment.
23814 (stackoverflow_handler): Add comment. Call assert on pass value.
23815
23816 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23817
23818 [BZ #16194]
23819 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23820 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23821 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23822 (La_x86_64_vector): Add zmm.
23823 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23824 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23825 ($(objpfx)tst-audit10): New target.
23826 ($(objpfx)tst-audit10.out): Likewise.
23827 (tst-audit10-ENV): New.
23828 (AVX512-CFLAGS): Likewise.
23829 (CFLAGS-tst-audit10.c): Likewise.
23830 (CFLAGS-tst-auditmod10a.c): Likewise.
23831 (CFLAGS-tst-auditmod10b.c): Likewise.
23832 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23833 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23834 * sysdeps/x86_64/configure: Regenerated.
23835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23836 AVX-512 zmm register support.
23837 (_dl_x86_64_save_sse): Likewise.
23838 (_dl_x86_64_restore_sse): Likewise.
23839 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23840 size vector registers.
23841 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23842 (ZMM_SIZE): Likewise.
23843 * sysdeps/x86_64/tst-audit10.c: New file.
23844 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23845 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23846
23847 2014-03-13 Roland McGrath <roland@hack.frob.com>
23848
23849 * configure.ac (HAVE_EHDR_START): New check.
23850 * configure: Regenerated.
23851 * config.h.in (HAVE_EHDR_START): New #undef.
23852 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23853 assuming the lowest-addressed segment maps the start of the file.
23854
23855 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23856
23857 * INSTALL: Regenerated.
23858
23859 2014-03-13 Will Newton <will.newton@linaro.org>
23860
23861 * manual/setjmp.texi (System V contexts): Improve
23862 clarity and grammar of documentation.
23863
23864 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23865
23866 [BZ #16381]
23867 * elf/Makefile (tests): Add tst-pie2.
23868 (tests-pie): Add tst-pie2.
23869 * elf/tst-pie2.c: New file.
23870 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23871 for ET_EXEC.
23872 * elf/rtld.c (map_doit): Load executable as lt_executable.
23873 (dl_main): Likewise.
23874
23875 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23876
23877 [BZ #16642]
23878 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23879 (__ASSUME_PSELECT): Undefine.
23880
23881 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23882
23883 [BZ #16689]
23884 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23885 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23886 static build.
23887 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23888 selector for static builds.
23889
23890 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23891
23892 [BZ #16695]
23893 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23894 key in the buffer.
23895
23896 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23897
23898 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23899 IFUNC selector for static builds.
23900
23901 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23902
23903 * sysdeps/mips/math_private.h [__mips_hard_float]
23904 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23905 libc_feresetround_mips_ctx.
23906 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23907 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23908 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23909
23910 [BZ #16677]
23911 * math/s_nextafter.c (__nextafter): Do not return value from
23912 overflowing computation.
23913 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23914 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23915 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23916 Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23918 Likewise.
23919 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23920 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23921
23922 2014-03-11 Roland McGrath <roland@hack.frob.com>
23923
23924 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23925 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23926 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23927 the new mov targetting sp.
23928
23929 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23930
23931 [BZ #16683]
23932 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23933 Define it for static builds as well.
23934 (NO_BZERO_IMPL): Likewise.
23935
23936 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23937
23938 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23939 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23940 multiarch strspn for PPC64.
23941 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23942 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23944 (__libc_ifunc_impl_list): Likewise.
23945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23946 multiarch optimizations
23947 * string/strspn.c (strspn): Using macro to redefine symbol name.
23948
23949 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23950 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23951
23952 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23953 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23954 multiarch strncat for PPC64.
23955 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23956 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23958 (__libc_ifunc_impl_list): Likewise.
23959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23960 multiarch optimizations
23961
23962 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23963
23964 [BZ #16639]
23965 * nscd/nscd.service: Make service type forking.
23966
23967 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23968
23969 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23970 sign in non default rounding modes.
23971 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23972
23973 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23974
23975 * math/libm-test.inc (ALL_RM_TEST): New macro.
23976 (ceil_test): Use ALL_RM_TEST.
23977 (cimag_test): Likewise.
23978 (conj_test): Likewise.
23979 (copysign_test): Likewise.
23980 (cproj_test): Likewise.
23981 (creal_test): Likewise.
23982 (fabs_test): Likewise.
23983 (floor_test): Likewise.
23984 (fmax_test): Likewise.
23985 (fmin_test): Likewise.
23986 (fmod_test): Likewise.
23987 (fpclassify_test): Likewise.
23988 (frexp_test): Likewise.
23989 (ilogb_test): Likewise.
23990 (isfinite_test): Likewise.
23991 (finite_test): Likewise.
23992 (isgreater_test): Likewise.
23993 (isgreaterequal_test): Likewise.
23994 (isinf_test): Likewise.
23995 (isless_test): Likewise.
23996 (islessequal_test): Likewise.
23997 (islessgreater_test): Likewise.
23998 (isnan_test): Likewise.
23999 (isnormal_test): Likewise.
24000 (issignaling_test): Likewise.
24001 (isunordered_test): Likewise.
24002 (logb_test): Likewise.
24003 (logb_downward_test_data): Remove.
24004 (logb_test_downward): Likewise.
24005 (lround_test): Use ALL_RM_TEST.
24006 (llround_test): Likewise.
24007 (modf_test): Likewise.
24008 (nexttoward_test): Likewise.
24009 (remainder_test): Likewise.
24010 (drem_test): Likewise.
24011 (remainder_tonearest_test_data): Likewise.
24012 (remainder_test_tonearest): Likewise.
24013 (drem_test_tonearest): Likewise.
24014 (remainder_towardzero_test_data): Likewise.
24015 (remainder_test_towardzero): Likewise.
24016 (drem_test_towardzero): Likewise.
24017 (remainder_downward_test_data): Likewise.
24018 (remainder_test_downward): Likewise.
24019 (drem_test_downward): Likewise.
24020 (remainder_upward_test_data): Likewise.
24021 (remainder_test_upward): Likewise.
24022 (drem_test_upward): Likewise.
24023 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24024 (round_test): Use ALL_RM_TEST.
24025 (signbit_test): Likewise.
24026 (trunc_test): Likewise.
24027 (significand_test): Likewise.
24028 (main): Don't call removed functions.
24029
24030 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24031
24032 [BZ #16674]
24033 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24034 || __USE_XOPEN2K8].
24035 (ILL_ILLOPN): Likewise.
24036 (ILL_ILLADR): Likewise.
24037 (ILL_ILLTRP): Likewise.
24038 (ILL_PRVOPC): Likewise.
24039 (ILL_PRVREG): Likewise.
24040 (ILL_COPROC): Likewise.
24041 (ILL_BADSTK): Likewise.
24042 (FPE_INTDIV): Likewise.
24043 (FPE_INTOVF): Likewise.
24044 (FPE_FLTDIV): Likewise.
24045 (FPE_FLTOVF): Likewise.
24046 (FPE_FLTUND): Likewise.
24047 (FPE_FLTRES): Likewise.
24048 (FPE_FLTINV): Likewise.
24049 (FPE_FLTSUB): Likewise.
24050 (SEGV_MAPERR): Likewise.
24051 (SEGV_ACCERR): Likewise.
24052 (BUS_ADRALN): Likewise.
24053 (BUS_ADRERR): Likewise.
24054 (BUS_OBJERR): Likewise.
24055 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24056 (TRAP_TRACE): Likewise.
24057 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24058 __USE_XOPEN2K8].
24059 (CLD_KILLED): Likewise.
24060 (CLD_DUMPED): Likewise.
24061 (CLD_TRAPPED): Likewise.
24062 (CLD_STOPPED): Likewise.
24063 (CLD_CONTINUED): Likewise.
24064 (POLL_IN): Likewise.
24065 (POLL_OUT): Likewise.
24066 (POLL_MSG): Likewise.
24067 (POLL_ERR): Likewise.
24068 (POLL_PRI): Likewise.
24069 (POLL_HUP): Likewise.
24070 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24071 Likewise.
24072 (ILL_ILLOPN): Likewise.
24073 (ILL_ILLADR): Likewise.
24074 (ILL_ILLTRP): Likewise.
24075 (ILL_PRVOPC): Likewise.
24076 (ILL_PRVREG): Likewise.
24077 (ILL_COPROC): Likewise.
24078 (ILL_BADSTK): Likewise.
24079 (FPE_INTDIV): Likewise.
24080 (FPE_INTOVF): Likewise.
24081 (FPE_FLTDIV): Likewise.
24082 (FPE_FLTOVF): Likewise.
24083 (FPE_FLTUND): Likewise.
24084 (FPE_FLTRES): Likewise.
24085 (FPE_FLTINV): Likewise.
24086 (FPE_FLTSUB): Likewise.
24087 (SEGV_MAPERR): Likewise.
24088 (SEGV_ACCERR): Likewise.
24089 (BUS_ADRALN): Likewise.
24090 (BUS_ADRERR): Likewise.
24091 (BUS_OBJERR): Likewise.
24092 (BUS_MCEERR_AR): Likewise.
24093 (BUS_MCEERR_AO): Likewise.
24094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24095 (TRAP_TRACE): Likewise.
24096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24097 __USE_XOPEN2K8].
24098 (CLD_KILLED): Likewise.
24099 (CLD_DUMPED): Likewise.
24100 (CLD_TRAPPED): Likewise.
24101 (CLD_STOPPED): Likewise.
24102 (CLD_CONTINUED): Likewise.
24103 (POLL_IN): Likewise.
24104 (POLL_OUT): Likewise.
24105 (POLL_MSG): Likewise.
24106 (POLL_ERR): Likewise.
24107 (POLL_PRI): Likewise.
24108 (POLL_HUP): Likewise.
24109 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24110 (ILL_ILLOPN): Likewise.
24111 (ILL_ILLADR): Likewise.
24112 (ILL_ILLTRP): Likewise.
24113 (ILL_PRVOPC): Likewise.
24114 (ILL_PRVREG): Likewise.
24115 (ILL_COPROC): Likewise.
24116 (ILL_BADSTK): Likewise.
24117 (FPE_INTDIV): Likewise.
24118 (FPE_INTOVF): Likewise.
24119 (FPE_FLTDIV): Likewise.
24120 (FPE_FLTOVF): Likewise.
24121 (FPE_FLTUND): Likewise.
24122 (FPE_FLTRES): Likewise.
24123 (FPE_FLTINV): Likewise.
24124 (FPE_FLTSUB): Likewise.
24125 (SEGV_MAPERR): Likewise.
24126 (SEGV_ACCERR): Likewise.
24127 (BUS_ADRALN): Likewise.
24128 (BUS_ADRERR): Likewise.
24129 (BUS_OBJERR): Likewise.
24130 (BUS_MCEERR_AR): Likewise.
24131 (BUS_MCEERR_AO): Likewise.
24132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24133 (TRAP_TRACE): Likewise.
24134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24135 __USE_XOPEN2K8].
24136 (CLD_KILLED): Likewise.
24137 (CLD_DUMPED): Likewise.
24138 (CLD_TRAPPED): Likewise.
24139 (CLD_STOPPED): Likewise.
24140 (CLD_CONTINUED): Likewise.
24141 (POLL_IN): Likewise.
24142 (POLL_OUT): Likewise.
24143 (POLL_MSG): Likewise.
24144 (POLL_ERR): Likewise.
24145 (POLL_PRI): Likewise.
24146 (POLL_HUP): Likewise.
24147 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24148 Likewise.
24149 (ILL_ILLOPN): Likewise.
24150 (ILL_ILLADR): Likewise.
24151 (ILL_ILLTRP): Likewise.
24152 (ILL_PRVOPC): Likewise.
24153 (ILL_PRVREG): Likewise.
24154 (ILL_COPROC): Likewise.
24155 (ILL_BADSTK): Likewise.
24156 (ILL_BADIADDR): Likewise.
24157 (ILL_BREAK): Likewise.
24158 (FPE_INTDIV): Likewise.
24159 (FPE_INTOVF): Likewise.
24160 (FPE_FLTDIV): Likewise.
24161 (FPE_FLTOVF): Likewise.
24162 (FPE_FLTUND): Likewise.
24163 (FPE_FLTRES): Likewise.
24164 (FPE_FLTINV): Likewise.
24165 (FPE_FLTSUB): Likewise.
24166 (FPE_DECOVF): Likewise.
24167 (FPE_DECDIV): Likewise.
24168 (FPE_DECERR): Likewise.
24169 (FPE_INVASC): Likewise.
24170 (FPE_INVDEC): Likewise.
24171 (SEGV_MAPERR): Likewise.
24172 (SEGV_ACCERR): Likewise.
24173 (SEGV_PSTKOVF): Likewise.
24174 (BUS_ADRALN): Likewise.
24175 (BUS_ADRERR): Likewise.
24176 (BUS_OBJERR): Likewise.
24177 (BUS_MCEERR_AR): Likewise.
24178 (BUS_MCEERR_AO): Likewise.
24179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24180 (TRAP_TRACE): Likewise.
24181 (TRAP_BRANCH): Likewise.
24182 (TRAP_HWBKPT): Likewise.
24183 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24184 __USE_XOPEN2K8].
24185 (CLD_KILLED): Likewise.
24186 (CLD_DUMPED): Likewise.
24187 (CLD_TRAPPED): Likewise.
24188 (CLD_STOPPED): Likewise.
24189 (CLD_CONTINUED): Likewise.
24190 (POLL_IN): Likewise.
24191 (POLL_OUT): Likewise.
24192 (POLL_MSG): Likewise.
24193 (POLL_ERR): Likewise.
24194 (POLL_PRI): Likewise.
24195 (POLL_HUP): Likewise.
24196 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24197 (ILL_ILLOPN): Likewise.
24198 (ILL_ILLADR): Likewise.
24199 (ILL_ILLTRP): Likewise.
24200 (ILL_PRVOPC): Likewise.
24201 (ILL_PRVREG): Likewise.
24202 (ILL_COPROC): Likewise.
24203 (ILL_BADSTK): Likewise.
24204 (FPE_INTDIV): Likewise.
24205 (FPE_INTOVF): Likewise.
24206 (FPE_FLTDIV): Likewise.
24207 (FPE_FLTOVF): Likewise.
24208 (FPE_FLTUND): Likewise.
24209 (FPE_FLTRES): Likewise.
24210 (FPE_FLTINV): Likewise.
24211 (FPE_FLTSUB): Likewise.
24212 (SEGV_MAPERR): Likewise.
24213 (SEGV_ACCERR): Likewise.
24214 (BUS_ADRALN): Likewise.
24215 (BUS_ADRERR): Likewise.
24216 (BUS_OBJERR): Likewise.
24217 (BUS_MCEERR_AR): Likewise.
24218 (BUS_MCEERR_AO): Likewise.
24219 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24220 (TRAP_TRACE): Likewise.
24221 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24222 __USE_XOPEN2K8].
24223 (CLD_KILLED): Likewise.
24224 (CLD_DUMPED): Likewise.
24225 (CLD_TRAPPED): Likewise.
24226 (CLD_STOPPED): Likewise.
24227 (CLD_CONTINUED): Likewise.
24228 (POLL_IN): Likewise.
24229 (POLL_OUT): Likewise.
24230 (POLL_MSG): Likewise.
24231 (POLL_ERR): Likewise.
24232 (POLL_PRI): Likewise.
24233 (POLL_HUP): Likewise.
24234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24235 (ILL_ILLOPN): Likewise.
24236 (ILL_ILLADR): Likewise.
24237 (ILL_ILLTRP): Likewise.
24238 (ILL_PRVOPC): Likewise.
24239 (ILL_PRVREG): Likewise.
24240 (ILL_COPROC): Likewise.
24241 (ILL_BADSTK): Likewise.
24242 (FPE_INTDIV): Likewise.
24243 (FPE_INTOVF): Likewise.
24244 (FPE_FLTDIV): Likewise.
24245 (FPE_FLTOVF): Likewise.
24246 (FPE_FLTUND): Likewise.
24247 (FPE_FLTRES): Likewise.
24248 (FPE_FLTINV): Likewise.
24249 (FPE_FLTSUB): Likewise.
24250 (SEGV_MAPERR): Likewise.
24251 (SEGV_ACCERR): Likewise.
24252 (BUS_ADRALN): Likewise.
24253 (BUS_ADRERR): Likewise.
24254 (BUS_OBJERR): Likewise.
24255 (BUS_MCEERR_AR): Likewise.
24256 (BUS_MCEERR_AO): Likewise.
24257 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24258 (TRAP_TRACE): Likewise.
24259 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24260 __USE_XOPEN2K8].
24261 (CLD_KILLED): Likewise.
24262 (CLD_DUMPED): Likewise.
24263 (CLD_TRAPPED): Likewise.
24264 (CLD_STOPPED): Likewise.
24265 (CLD_CONTINUED): Likewise.
24266 (POLL_IN): Likewise.
24267 (POLL_OUT): Likewise.
24268 (POLL_MSG): Likewise.
24269 (POLL_ERR): Likewise.
24270 (POLL_PRI): Likewise.
24271 (POLL_HUP): Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24273 (ILL_ILLOPN): Likewise.
24274 (ILL_ILLADR): Likewise.
24275 (ILL_ILLTRP): Likewise.
24276 (ILL_PRVOPC): Likewise.
24277 (ILL_PRVREG): Likewise.
24278 (ILL_COPROC): Likewise.
24279 (ILL_BADSTK): Likewise.
24280 (FPE_INTDIV): Likewise.
24281 (FPE_INTOVF): Likewise.
24282 (FPE_FLTDIV): Likewise.
24283 (FPE_FLTOVF): Likewise.
24284 (FPE_FLTUND): Likewise.
24285 (FPE_FLTRES): Likewise.
24286 (FPE_FLTINV): Likewise.
24287 (FPE_FLTSUB): Likewise.
24288 (SEGV_MAPERR): Likewise.
24289 (SEGV_ACCERR): Likewise.
24290 (BUS_ADRALN): Likewise.
24291 (BUS_ADRERR): Likewise.
24292 (BUS_OBJERR): Likewise.
24293 (BUS_MCEERR_AR): Likewise.
24294 (BUS_MCEERR_AO): Likewise.
24295 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24296 (TRAP_TRACE): Likewise.
24297 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24298 __USE_XOPEN2K8].
24299 (CLD_KILLED): Likewise.
24300 (CLD_DUMPED): Likewise.
24301 (CLD_TRAPPED): Likewise.
24302 (CLD_STOPPED): Likewise.
24303 (CLD_CONTINUED): Likewise.
24304 (POLL_IN): Likewise.
24305 (POLL_OUT): Likewise.
24306 (POLL_MSG): Likewise.
24307 (POLL_ERR): Likewise.
24308 (POLL_PRI): Likewise.
24309 (POLL_HUP): Likewise.
24310 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24311 (ILL_ILLOPN): Likewise.
24312 (ILL_ILLADR): Likewise.
24313 (ILL_ILLTRP): Likewise.
24314 (ILL_PRVOPC): Likewise.
24315 (ILL_PRVREG): Likewise.
24316 (ILL_COPROC): Likewise.
24317 (ILL_BADSTK): Likewise.
24318 (ILL_DBLFLT): Likewise.
24319 (ILL_HARDWALL): Likewise.
24320 (FPE_INTDIV): Likewise.
24321 (FPE_INTOVF): Likewise.
24322 (FPE_FLTDIV): Likewise.
24323 (FPE_FLTOVF): Likewise.
24324 (FPE_FLTUND): Likewise.
24325 (FPE_FLTRES): Likewise.
24326 (FPE_FLTINV): Likewise.
24327 (FPE_FLTSUB): Likewise.
24328 (SEGV_MAPERR): Likewise.
24329 (SEGV_ACCERR): Likewise.
24330 (BUS_ADRALN): Likewise.
24331 (BUS_ADRERR): Likewise.
24332 (BUS_OBJERR): Likewise.
24333 (BUS_MCEERR_AR): Likewise.
24334 (BUS_MCEERR_AO): Likewise.
24335 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24336 (TRAP_TRACE): Likewise.
24337 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24338 __USE_XOPEN2K8].
24339 (CLD_KILLED): Likewise.
24340 (CLD_DUMPED): Likewise.
24341 (CLD_TRAPPED): Likewise.
24342 (CLD_STOPPED): Likewise.
24343 (CLD_CONTINUED): Likewise.
24344 (POLL_IN): Likewise.
24345 (POLL_OUT): Likewise.
24346 (POLL_MSG): Likewise.
24347 (POLL_ERR): Likewise.
24348 (POLL_PRI): Likewise.
24349 (POLL_HUP): Likewise.
24350 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24351 (ILL_ILLOPN): Likewise.
24352 (ILL_ILLADR): Likewise.
24353 (ILL_ILLTRP): Likewise.
24354 (ILL_PRVOPC): Likewise.
24355 (ILL_PRVREG): Likewise.
24356 (ILL_COPROC): Likewise.
24357 (ILL_BADSTK): Likewise.
24358 (FPE_INTDIV): Likewise.
24359 (FPE_INTOVF): Likewise.
24360 (FPE_FLTDIV): Likewise.
24361 (FPE_FLTOVF): Likewise.
24362 (FPE_FLTUND): Likewise.
24363 (FPE_FLTRES): Likewise.
24364 (FPE_FLTINV): Likewise.
24365 (FPE_FLTSUB): Likewise.
24366 (SEGV_MAPERR): Likewise.
24367 (SEGV_ACCERR): Likewise.
24368 (BUS_ADRALN): Likewise.
24369 (BUS_ADRERR): Likewise.
24370 (BUS_OBJERR): Likewise.
24371 (BUS_MCEERR_AR): Likewise.
24372 (BUS_MCEERR_AO): Likewise.
24373 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24374 (TRAP_TRACE): Likewise.
24375 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24376 __USE_XOPEN2K8].
24377 (CLD_KILLED): Likewise.
24378 (CLD_DUMPED): Likewise.
24379 (CLD_TRAPPED): Likewise.
24380 (CLD_STOPPED): Likewise.
24381 (CLD_CONTINUED): Likewise.
24382 (POLL_IN): Likewise.
24383 (POLL_OUT): Likewise.
24384 (POLL_MSG): Likewise.
24385 (POLL_ERR): Likewise.
24386 (POLL_PRI): Likewise.
24387 (POLL_HUP): Likewise.
24388 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24389 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24390
24391 [BZ #16670]
24392 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24393 before #include of <time.h>.
24394 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24395 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24396 (test-xfail-UNIX98/sched.h/conform): Likewise.
24397
24398 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24399
24400 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24401 error absence of trapping exception support.
24402 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24403
24404 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24405
24406 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24407 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24408 * timezone/Makefile (testdata): Move definition above include of
24409 Rules.
24410 (test-zones): New variable.
24411 (tests-special): Add zone files.
24412 (build-testdata): Use $(evaluate-test).
24413
24414 * elf/Makefile (tests-special): Rename tests to end with .out.
24415 ($(objpfx)noload-mem): Likewise.
24416 ($(objpfx)tst-leaks1-mem): Likewise.
24417 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24418 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24419 $(objpfx)test-iconvconfig.out.
24420 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24421 set -e inside subshell and redirect output to file.
24422 * iconvdata/Makefile (generated): Rename tests to end with .out.
24423 Correct type.
24424 (tests-special): Rename tests to end with .out.
24425 ($(objpfx)mtrace-tst-loading): Likewise.
24426 * intl/Makefile (generated): Likewise.
24427 (tests-special): Likewise.
24428 ($(objpfx)mtrace-tst-gettext): Likewise.
24429 * misc/Makefile (generated): Likewise.
24430 (tests-special): Likewise.
24431 ($(objpfx)tst-error1-mem): Likewise.
24432 * nptl/Makefile (tests-special): Likewise.
24433 ($(objpfx)tst-stack3-mem): Likewise.
24434 (generated): Likewise.
24435 * posix/Makefile (generated): Likewise.
24436 (tests-special): Likewise.
24437 (xtests-special): Likewise.
24438 ($(objpfx)tst-fnmatch-mem): Likewise.
24439 ($(objpfx)bug-regex2-mem): Likewise.
24440 ($(objpfx)bug-regex14-mem): Likewise.
24441 ($(objpfx)bug-regex21-mem): Likewise.
24442 ($(objpfx)bug-regex31-mem): Likewise.
24443 ($(objpfx)tst-vfork3-mem): Likewise.
24444 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24445 ($(objpfx)tst-pcre-mem): Likewise.
24446 ($(objpfx)tst-boost-mem): Likewise.
24447 ($(objpfx)bug-ga2-mem): Likewise.
24448 ($(objpfx)bug-glob2-mem): Likewise.
24449 * resolv/Makefile (generate): Likewise.
24450 (tests-special): Likewise.
24451 (xtests-special): Likewise.
24452 (generated): Likewise.
24453 ($(objpfx)mtrace-tst-leaks): Likewise.
24454 ($(objpfx)mtrace-tst-leaks2): Likewise.
24455
24456 * scripts/merge-test-results.sh: New file.
24457 * Makefile (tests-special-notdir): New variable.
24458 (tests): Run merge-test-results.sh.
24459 (xtests): Likewise.
24460 * Rules (tests-special-notdir): New variable.
24461 (xtests-special-notdir): Likewise.
24462 (tests): Run merge-test-results.sh
24463 (xtests): Likewise.
24464
24465 * Makeconfig (test-xfail-name): New variable.
24466 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24467 compute variable name for expected failures.
24468 * conform/Makefile (conformtest-headers-data): New variable.
24469 (conformtest-standards): Likewise.
24470 (conformtest-headers-ISO): Likewise.
24471 (conformtest-headers-ISO99): Likewise.
24472 (conformtest-headers-ISO11): Likewise.
24473 (conformtest-headers-POSIX): Likewise.
24474 (conformtest-headers-XPG3): Likewise.
24475 (conformtest-headers-XPG4): Likewise.
24476 (conformtest-headers-UNIX98): Likewise.
24477 (conformtest-headers-XOPEN2K): Likewise.
24478 (conformtest-headers-POSIX2008): Likewise.
24479 (conformtest-headers-XOPEN2K8): Likewise.
24480 (conformtest-header-list-base): Likewise.
24481 (conformtest-header-list-tests): Likewise.
24482 (conformtest-header-base): Likewise.
24483 (conformtest-header-tests): Likewise.
24484 (tests-special): Add $(conformtest-header-list-tests). If
24485 [$(fast-check) && !$(cross-compiling)], add
24486 $(conformtest-header-tests) instead of
24487 $(objpfx)run-conformtest.out.
24488 (generated): Add $(conformtest-header-list-base). If
24489 [$(fast-check) && !$(cross-compiling)], add
24490 $(conformtest-header-base). Remove previous setting.
24491 ($(conformtest-header-list-tests)): New target.
24492 (test-xfail-run-conformtest): Remove variable.
24493 ($(objpfx)run-conformtest.out): Remove target.
24494 (test-xfail-ISO11/complex.h/conform): New variable.
24495 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24496 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24497 (test-xfail-XPG3/varargs.h/conform): Likewise.
24498 (test-xfail-XPG4/varargs.h/conform): Likewise.
24499 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24500 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24501 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24502 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24503 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24504 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24505 (test-xfail-XPG3/ftw.h/conform): Likewise.
24506 (test-xfail-XPG3/grp.h/conform): Likewise.
24507 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24508 (test-xfail-XPG3/limits.h/conform): Likewise.
24509 (test-xfail-XPG3/pwd.h/conform): Likewise.
24510 (test-xfail-XPG3/search.h/conform): Likewise.
24511 (test-xfail-XPG3/signal.h/conform): Likewise.
24512 (test-xfail-XPG3/stdio.h/conform): Likewise.
24513 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24514 (test-xfail-XPG3/string.h/conform): Likewise.
24515 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24516 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24517 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24518 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24519 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24520 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24521 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24522 (test-xfail-XPG3/termios.h/conform): Likewise.
24523 (test-xfail-XPG3/time.h/conform): Likewise.
24524 (test-xfail-XPG3/unistd.h/conform): Likewise.
24525 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24526 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24527 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24528 (test-xfail-XPG4/netdb.h/conform): Likewise.
24529 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24530 (test-xfail-XPG4/signal.h/conform): Likewise.
24531 (test-xfail-XPG4/stdio.h/conform): Likewise.
24532 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24533 (test-xfail-XPG4/stropts.h/conform): Likewise.
24534 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24535 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24536 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24537 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24538 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24539 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24540 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24541 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24542 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24543 (test-xfail-XPG4/termios.h/conform): Likewise.
24544 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24545 (test-xfail-XPG4/unistd.h/conform): Likewise.
24546 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24547 (test-xfail-POSIX/sched.h/conform): Likewise.
24548 (test-xfail-POSIX/signal.h/conform): Likewise.
24549 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24550 (test-xfail-POSIX/tar.h/conform): Likewise.
24551 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24552 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24553 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24554 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24555 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24556 (test-xfail-UNIX98/sched.h/conform): Likewise.
24557 (test-xfail-UNIX98/signal.h/conform): Likewise.
24558 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24559 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24560 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24561 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24562 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24563 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24564 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24565 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24566 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24567 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24568 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24569 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24570 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24571 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24572 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24573 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24574 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24575 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24576 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24577 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24578 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24579 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24580 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24581 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24582 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24583 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24584 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24585 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24586 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24587 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24588 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24589 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24590 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24591 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24592 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24593 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24594 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24595 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24596 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24597 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24598 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24599 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24600 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24601 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24602 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24603 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24604 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24605 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24606 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24607 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24608 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24609 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24610 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24611 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24612 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24613 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24614 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24615 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24616 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24617 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24618 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24619 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24620 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24621 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24622 (conformtest-cc-flags): Likewise.
24623 ($(conformtest-header-tests): New target.
24624 * conform/check-header-lists.sh: New file.
24625 * conform/run-conformtest.sh: Remove.
24626
24627 * conform/conformtest.pl: Allow ' and \ in values given for
24628 constants.
24629 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24630 inclusion.
24631 [POSIX] (sys/types.h): Likewise.
24632 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24633 inclusion.
24634 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24635 inclusion.
24636 * conform/data/signal.h-data (SIGIO): Remove expectation.
24637 [XPG3] (SIGBUS): Do not expect.
24638 [POSIX || XPG3] (SIGPOLL): Likewise.
24639 [POSIX || XPG3] (SIGPROF): Likewise.
24640 [POSIX || XPG3] (SIGSYS): Likewise.
24641 [XPG3] (SIGTRAP): Likewise.
24642 [POSIX || XPG3] (SIGURG): Likewise.
24643 [POSIX || XPG3] (SIGVTALRM): Likewise.
24644 [POSIX || XPG3] (SIGXCPU): Likewise.
24645 [POSIX || XPG3] (SIGXFSZ): Likewise.
24646 [POSIX] (SA_SIGINFO): Expect.
24647 [XPG3] (siginfo_t): Do not expect type or contents.
24648 [POSIX] (si_pid): Do not expect element.
24649 [POSIX] (si_uid): Likewise.
24650 [POSIX] (si_addr): Likewise.
24651 [POSIX] (si_status): Likewise.
24652 [POSIX] (si_band): Likewise.
24653 [XPG4] (si_value): Likewise.
24654 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24655 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24656 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24657 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24658 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24659 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24660 [POSIX || XPG3] (ILL_COPROC): Likewise.
24661 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24662 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24663 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24664 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24665 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24666 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24667 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24668 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24669 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24670 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24671 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24672 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24673 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24674 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24675 [POSIX || XPG3] (CLD_EXITED): Likewise.
24676 [POSIX || XPG3] (CLD_KILLED): Likewise.
24677 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24678 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24679 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24680 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24681 [POSIX || XPG3] (POLL_IN): Likewise.
24682 [POSIX || XPG3] (POLL_OUT): Likewise.
24683 [POSIX || XPG3] (POLL_MSG): Likewise.
24684 [POSIX || XPG3] (POLL_ERR): Likewise.
24685 [POSIX || XPG3] (POLL_PRI): Likewise.
24686 [POSIX || XPG3] (POLL_HUP): Likewise.
24687 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24688 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24689 (SIG*): Do not allow.
24690 [XPG3] (si_*): Likewise.
24691 [XPG3] (SI_*): Likewise.
24692 [XPG3 || XPG4] (sigev_*): Likewise.
24693 [XPG3 || XPG4] (SIGEV_*): Likewise.
24694 [XPG3 || XPG4] (sival_*): Likewise.
24695 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24696 [POSIX || XPG3] (BUS_*): Likewise.
24697 [POSIX || XPG3] (CLD_*): Likewise.
24698 [POSIX || XPG3] (FPE_*): Likewise.
24699 [POSIX || XPG3] (ILL_*): Likewise.
24700 [POSIX || XPG3] (POLL_*): Likewise.
24701 [POSIX || XPG3] (SEGV_*): Likewise.
24702 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24703 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24704 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24705 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24706 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24707 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24708 Specify type and value.
24709 (TVERSLEN): Likewise.
24710 (REGTYPE): Likewise.
24711 (AREGTYPE): Likewise.
24712 (LNKTYPE): Likewise.
24713 (SYMTYPE): Likewise.
24714 (CHRTYPE): Likewise.
24715 (BLKTYPE): Likewise.
24716 (DIRTYPE): Likewise.
24717 (FIFOTYPE): Likewise.
24718 (CONTTYPE): Likewise.
24719 (TSUID): Likewise.
24720 (TSGID): Likewise.
24721 (TSVTX): Likewise.
24722 (TUREAD): Likewise.
24723 (TUWRITE): Likewise.
24724 (TUEXEC): Likewise.
24725 (TGREAD): Likewise.
24726 (TGWRITE): Likewise.
24727 (TGEXEC): Likewise.
24728 (TOREAD): Likewise.
24729 (TOWRITE): Likewise.
24730 (TOEXEC): Likewise.
24731 [POSIX] (TSVTX): Expect constant.
24732
24733 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24734
24735 * Makefile (tests): Change dependencies to ....
24736 (tests-special): ... additions to this variable.
24737 (tests): Depend on $(tests-special).
24738 * Makerules (check-abi-list): New variable.
24739 (check-abi): Depend on $(check-abi-list).
24740 [$(subdir) = elf] (tests-special): Add
24741 $(objpfx)check-abi-libc.out.
24742 [$(build-shared) = yes && subdir] (tests-special): Add
24743 $(check-abi-list).
24744 [$(build-shared) = yes && subdir] (tests): Do not depend on
24745 check-abi.
24746 * Rules (tests): Depend on $(tests-special).
24747 (xtests): Depend on $(xtests-special).
24748 * catgets/Makefile (tests): Change dependencies to ....
24749 (tests-special): ... additions to this variable.
24750 * conform/Makefile (tests): Change dependencies to ....
24751 (tests-special): ... additions to this variable.
24752 * elf/Makefile (tests): Change dependencies to ....
24753 (tests-special): ... additions to this variable.
24754 * grp/Makefile (tests): Change dependencies to ....
24755 (tests-special): ... additions to this variable.
24756 * iconv/Makefile (xtests): Change dependencies to ....
24757 (xtests-special): ... additions to this variable.
24758 * iconvdata/Makefile (tests): Change dependencies to ....
24759 (tests-special): ... additions to this variable.
24760 * intl/Makefile (tests): Change dependencies to ....
24761 (tests-special): ... additions to this variable. Also add
24762 $(objpfx)tst-gettext.out.
24763 * io/Makefile (tests): Change dependencies to ....
24764 (tests-special): ... additions to this variable.
24765 * libio/Makefile (tests): Change dependencies to ....
24766 (tests-special): ... additions to this variable.
24767 * malloc/Makefile (tests): Change dependencies to ....
24768 (tests-special): ... additions to this variable.
24769 * misc/Makefile (tests): Change dependencies to ....
24770 (tests-special): ... additions to this variable.
24771 * nptl/Makefile (tests): Change dependencies to ....
24772 (tests-special): ... additions to this variable.
24773 * nptl_db/Makefile (tests): Change dependencies to ....
24774 (tests-special): ... additions to this variable.
24775 * posix/Makefile (tests): Change dependencies to ....
24776 (tests-special): ... additions to this variable.
24777 (xtests): Change dependencies to ....
24778 (xtests-special): ... additions to this variable.
24779 * resolv/Makefile (tests): Change dependencies to ....
24780 (tests-special): ... additions to this variable.
24781 (xtests): Change dependencies to ....
24782 (xtests-special): ... additions to this variable.
24783 * stdio-common/Makefile (tests): Change dependencies to ....
24784 (tests-special): ... additions to this variable.
24785 (do-tst-unbputc): Remove target.
24786 (do-tst-printf): Likewise.
24787 * stdlib/Makefile (tests): Change dependencies to ....
24788 (tests-special): ... additions to this variable.
24789 * string/Makefile (tests): Change dependencies to ....
24790 (tests-special): ... additions to this variable.
24791 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24792 (tests-special): ... additions to this variable.
24793
24794 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24795 whole file.
24796 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24797 whole file.
24798 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24799 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24800
24801 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24802 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24803 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24804 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24805 * conform/data/libgen.h-data [XPG3]: Likewise.
24806 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24807 * conform/data/ndbm.h-data [XPG3]: Likewise.
24808 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24809 * conform/data/netdb.h-data [XPG3]: Likewise.
24810 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24811 * conform/data/poll.h-data [XPG3]: Likewise.
24812 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24813 * conform/data/strings.h-data [XPG3]: Likewise.
24814 * conform/data/stropts.h-data [XPG3]: Likewise.
24815 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24816 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24817 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24818 Likewise.
24819 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24820 * conform/data/sys/time.h-data [XPG3]: Likewise.
24821 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24822 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24823 * conform/data/sys/un.h-data [XPG3]: Likewise.
24824 * conform/data/syslog.h-data [XPG3]: Likewise.
24825 * conform/data/ucontext.h-data [XPG3]: Likewise.
24826 * conform/data/utmpx.h-data [XPG3]: Likewise.
24827 * conform/data/varargs.h-data [UNIX98]: Enable file.
24828
24829 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24830
24831 * math/libm-test.inc (struct test_f_f_data): Move expected results
24832 into structure for each rounding mode.
24833 (struct test_ff_f_data): Likewise.
24834 (struct test_ff_f_data_nexttoward): Likewise.
24835 (struct test_fi_f_data): Likewise.
24836 (struct test_fl_f_data): Likewise.
24837 (struct test_if_f_data): Likewise.
24838 (struct test_fff_f_data): Likewise.
24839 (struct test_c_f_data): Likewise.
24840 (struct test_f_f1_data): Likewise.
24841 (struct test_fF_f1_data): Likewise.
24842 (struct test_ffI_f1_data): Likewise.
24843 (struct test_c_c_data): Likewise.
24844 (struct test_cc_c_data): Likewise.
24845 (struct test_f_i_data): Likewise.
24846 (struct test_ff_i_data): Likewise.
24847 (struct test_f_l_data): Likewise.
24848 (struct test_f_L_data): Likewise.
24849 (struct test_fFF_11_data): Likewise.
24850 (RM_): New macro.
24851 (RM_FE_DOWNWARD): Likewise.
24852 (RM_FE_TONEAREST): Likewise.
24853 (RM_FE_TOWARDZERO): Likewise.
24854 (RM_FE_UPWARD): Likewise.
24855 (RUN_TEST_LOOP_f_f): Update references to expected results.
24856 (RUN_TEST_LOOP_2_f): Likewise.
24857 (RUN_TEST_LOOP_fff_f): Likewise.
24858 (RUN_TEST_LOOP_c_f): Likewise.
24859 (RUN_TEST_LOOP_f_f1): Likewise.
24860 (RUN_TEST_LOOP_fF_f1): Likewise.
24861 (RUN_TEST_LOOP_fI_f1): Likewise.
24862 (RUN_TEST_LOOP_ffI_f1): Likewise.
24863 (RUN_TEST_LOOP_c_c): Likewise.
24864 (RUN_TEST_LOOP_cc_c): Likewise.
24865 (RUN_TEST_LOOP_f_i): Likewise.
24866 (RUN_TEST_LOOP_f_i_tg): Likewise.
24867 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24868 (RUN_TEST_LOOP_f_b): Likewise.
24869 (RUN_TEST_LOOP_f_b_tg): Likewise.
24870 (RUN_TEST_LOOP_f_l): Likewise.
24871 (RUN_TEST_LOOP_f_L): Likewise.
24872 (RUN_TEST_LOOP_fFF_11): Likewise.
24873 * math/gen-libm-test.pl (parse_args): Output four copies of
24874 expected results for each test.
24875
24876 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24877 (__ASSUME_UTIMES): Remove.
24878 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24879 (__ASSUME_UTIMES): Likewise.
24880
24881 * math/gen-auto-libm-tests.c: Update comment on output format.
24882 (output_for_one_input_case): Generate before-rounding and
24883 after-rounding information as conditions on output flags not
24884 floating-point format.
24885 * math/auto-libm-test-out: Regenerated.
24886 * math/gen-libm-test.pl (cond_value): New function.
24887 (or_cond_value): Use cond_value.
24888 (generate_testfile): Handle conditional exceptions.
24889
24890 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24891
24892 * math/libm-test.inc (max_valid_error): New variable.
24893 (init_max_error): Take new argument specifying whether function
24894 results are exactly determined. Set max_valid_error and bound
24895 other variables for errors based on this argument.
24896 (set_max_error): Do not record results above max_valid_error.
24897 (check_float_internal): Only accept errors of up to 0.5ulps if
24898 also at most max_valid_error.
24899 (START): Take new argument EXACT and pass it to init_max_error.
24900 (acos_test): Update call to START.
24901 (acos_test_tonearest): Likewise.
24902 (acos_test_towardzero): Likewise.
24903 (acos_test_downward): Likewise.
24904 (acos_test_upward): Likewise.
24905 (acosh_test): Likewise.
24906 (asin_test): Likewise.
24907 (asin_test_tonearest): Likewise.
24908 (asin_test_towardzero): Likewise.
24909 (asin_test_downward): Likewise.
24910 (asin_test_upward): Likewise.
24911 (asinh_test): Likewise.
24912 (atan_test): Likewise.
24913 (atanh_test): Likewise.
24914 (atan2_test): Likewise.
24915 (cabs_test): Likewise.
24916 (cacos_test): Likewise.
24917 (cacosh_test): Likewise.
24918 (carg_test): Likewise.
24919 (casin_test): Likewise.
24920 (casinh_test): Likewise.
24921 (catan_test): Likewise.
24922 (catanh_test): Likewise.
24923 (cbrt_test): Likewise.
24924 (ccos_test): Likewise.
24925 (ccosh_test): Likewise.
24926 (ceil_test): Likewise.
24927 (cexp_test): Likewise.
24928 (cimag_test): Likewise.
24929 (clog_test): Likewise.
24930 (clog10_test): Likewise.
24931 (conj_test): Likewise.
24932 (copysign_test): Likewise.
24933 (cos_test): Likewise.
24934 (cos_test_tonearest): Likewise.
24935 (cos_test_towardzero): Likewise.
24936 (cos_test_downward): Likewise.
24937 (cos_test_upward): Likewise.
24938 (cosh_test): Likewise.
24939 (cosh_test_tonearest): Likewise.
24940 (cosh_test_towardzero): Likewise.
24941 (cosh_test_downward): Likewise.
24942 (cosh_test_upward): Likewise.
24943 (cpow_test): Likewise.
24944 (cproj_test): Likewise.
24945 (creal_test): Likewise.
24946 (csin_test): Likewise.
24947 (csinh_test): Likewise.
24948 (csqrt_test): Likewise.
24949 (ctan_test): Likewise.
24950 (ctan_test_tonearest): Likewise.
24951 (ctan_test_towardzero): Likewise.
24952 (ctan_test_downward): Likewise.
24953 (ctan_test_upward): Likewise.
24954 (ctanh_test): Likewise.
24955 (ctanh_test_tonearest): Likewise.
24956 (ctanh_test_towardzero): Likewise.
24957 (ctanh_test_downward): Likewise.
24958 (ctanh_test_upward): Likewise.
24959 (erf_test): Likewise.
24960 (erfc_test): Likewise.
24961 (exp_test): Likewise.
24962 (exp_test_tonearest): Likewise.
24963 (exp_test_towardzero): Likewise.
24964 (exp_test_downward): Likewise.
24965 (exp_test_upward): Likewise.
24966 (exp10_test): Likewise.
24967 (exp10_test_tonearest): Likewise.
24968 (exp10_test_towardzero): Likewise.
24969 (exp10_test_downward): Likewise.
24970 (exp10_test_upward): Likewise.
24971 (pow10_test): Likewise.
24972 (exp2_test): Likewise.
24973 (expm1_test): Likewise.
24974 (expm1_test_tonearest): Likewise.
24975 (expm1_test_towardzero): Likewise.
24976 (expm1_test_downward): Likewise.
24977 (expm1_test_upward): Likewise.
24978 (fabs_test): Likewise.
24979 (fdim_test): Likewise.
24980 (floor_test): Likewise.
24981 (fma_test): Likewise.
24982 (fma_test_towardzero): Likewise.
24983 (fma_test_downward): Likewise.
24984 (fma_test_upward): Likewise.
24985 (fmax_test): Likewise.
24986 (fmin_test): Likewise.
24987 (fmod_test): Likewise.
24988 (fpclassify_test): Likewise.
24989 (frexp_test): Likewise.
24990 (hypot_test): Likewise.
24991 (ilogb_test): Likewise.
24992 (isfinite_test): Likewise.
24993 (finite_test): Likewise.
24994 (isgreater_test): Likewise.
24995 (isgreaterequal_test): Likewise.
24996 (isinf_test): Likewise.
24997 (isless_test): Likewise.
24998 (islessequal_test): Likewise.
24999 (islessgreater_test): Likewise.
25000 (isnan_test): Likewise.
25001 (isnormal_test): Likewise.
25002 (issignaling_test): Likewise.
25003 (isunordered_test): Likewise.
25004 (j0_test): Likewise.
25005 (j1_test): Likewise.
25006 (jn_test): Likewise.
25007 (ldexp_test): Likewise.
25008 (lgamma_test): Likewise.
25009 (gamma_test): Likewise.
25010 (lrint_test): Likewise.
25011 (lrint_test_tonearest): Likewise.
25012 (lrint_test_towardzero): Likewise.
25013 (lrint_test_downward): Likewise.
25014 (lrint_test_upward): Likewise.
25015 (llrint_test): Likewise.
25016 (llrint_test_tonearest): Likewise.
25017 (llrint_test_towardzero): Likewise.
25018 (llrint_test_downward): Likewise.
25019 (llrint_test_upward): Likewise.
25020 (log_test): Likewise.
25021 (log10_test): Likewise.
25022 (log1p_test): Likewise.
25023 (log2_test): Likewise.
25024 (logb_test): Likewise.
25025 (logb_test_downward): Likewise.
25026 (lround_test): Likewise.
25027 (llround_test): Likewise.
25028 (modf_test): Likewise.
25029 (nearbyint_test): Likewise.
25030 (nextafter_test): Likewise.
25031 (nexttoward_test): Likewise.
25032 (pow_test): Likewise.
25033 (pow_test_tonearest): Likewise.
25034 (pow_test_towardzero): Likewise.
25035 (pow_test_downward): Likewise.
25036 (pow_test_upward): Likewise.
25037 (remainder_test): Likewise.
25038 (drem_test): Likewise.
25039 (remainder_test_tonearest): Likewise.
25040 (drem_test_tonearest): Likewise.
25041 (remainder_test_towardzero): Likewise.
25042 (drem_test_towardzero): Likewise.
25043 (remainder_test_downward): Likewise.
25044 (drem_test_downward): Likewise.
25045 (remainder_test_upward): Likewise.
25046 (drem_test_upward): Likewise.
25047 (remquo_test): Likewise.
25048 (rint_test): Likewise.
25049 (rint_test_tonearest): Likewise.
25050 (rint_test_towardzero): Likewise.
25051 (rint_test_downward): Likewise.
25052 (rint_test_upward): Likewise.
25053 (round_test): Likewise.
25054 (scalb_test): Likewise.
25055 (scalbn_test): Likewise.
25056 (scalbln_test): Likewise.
25057 (signbit_test): Likewise.
25058 (sin_test): Likewise.
25059 (sin_test_tonearest): Likewise.
25060 (sin_test_towardzero): Likewise.
25061 (sin_test_downward): Likewise.
25062 (sin_test_upward): Likewise.
25063 (sincos_test): Likewise.
25064 (sinh_test): Likewise.
25065 (sinh_test_tonearest): Likewise.
25066 (sinh_test_towardzero): Likewise.
25067 (sinh_test_downward): Likewise.
25068 (sinh_test_upward): Likewise.
25069 (sqrt_test): Likewise.
25070 (sqrt_test_tonearest): Likewise.
25071 (sqrt_test_towardzero): Likewise.
25072 (sqrt_test_downward): Likewise.
25073 (sqrt_test_upward): Likewise.
25074 (tan_test): Likewise.
25075 (tan_test_tonearest): Likewise.
25076 (tan_test_towardzero): Likewise.
25077 (tan_test_downward): Likewise.
25078 (tan_test_upward): Likewise.
25079 (tanh_test): Likewise.
25080 (tgamma_test): Likewise.
25081 (trunc_test): Likewise.
25082 (y0_test): Likewise.
25083 (y1_test): Likewise.
25084 (yn_test): Likewise.
25085 (significand_test): Likewise.
25086
25087 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25088 individual tests in comment.
25089 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25090 (prev_max_error): New variable.
25091 (prev_real_max_error): Likewise.
25092 (prev_imag_max_error): Likewise.
25093 (compare_ulp_data): Don't refer to test names in comment.
25094 (find_test_ulps): Remove function.
25095 (find_function_ulps): Likewise.
25096 (find_complex_function_ulps): Likewise.
25097 (init_max_error): Take function name as argument. Look up ulps
25098 for that function.
25099 (print_ulps): Remove function.
25100 (print_max_error): Use prev_max_error instead of calling
25101 find_function_ulps.
25102 (print_complex_max_error): Use prev_real_max_error and
25103 prev_imag_max_error instead of calling find_complex_function_ulps.
25104 (check_float_internal): Take max_ulp parameter instead of calling
25105 find_test_ulps. Don't call print_ulps.
25106 (check_float): Update call to check_float_internal.
25107 (check_complex): Update calls to check_float_internal.
25108 (START): Pass argument to init_max_error.
25109 * math/gen-libm-test.pl (%results): Don't include "kind"
25110 information.
25111 (parse_ulps): Don't handle ulps of individual tests.
25112 (print_ulps_file): Likewise.
25113 (output_ulps): Likewise.
25114 * math/README.libm-test: Update.
25115 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25116 individual tests.
25117 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25118 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25119 * sysdeps/arm/libm-test-ulps: Likewise.
25120 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25121 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25122 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25123 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25124 * sysdeps/microblaze/libm-test-ulps: Likewise.
25125 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25126 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25128 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25129 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25130 * sysdeps/sh/libm-test-ulps: Likewise.
25131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25132 * sysdeps/tile/libm-test-ulps: Likewise.
25133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25134
25135 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25136
25137 * math/libm-test.inc (print_complex_max_error): Check separately
25138 whether real and imaginary errors are within allowed range and
25139 pass 0 to print_complex_function_ulps instead of value within
25140 allowed range.
25141
25142 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25143
25144 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25145 formatting.
25146 (get_handles_fopen): Likewise.
25147 (do_write_test): Likewise.
25148
25149 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25150
25151 * libio/fileops.c (do_ftell): Use cached offset when
25152 available.
25153 * libio/iofwide.c (do_ftell_wide): Likewise.
25154 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25155 _IO_file_attach.
25156 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25157
25158 [BZ #16532]
25159 * libio/libioP.h (get_file_offset): New function.
25160 * libio/fileops.c (get_file_offset): Likewise.
25161 (do_ftell): Likewise.
25162 (_IO_new_file_seekoff): Split out ftell logic.
25163 * libio/wfileops.c (do_ftell_wide): Likewise.
25164 (_IO_wfile_seekoff): Split out ftell logic.
25165 * libio/tst-ftell-active-handler.c: New test case.
25166 * libio/Makefile (tests): Add it.
25167
25168 2014-03-03 Roland McGrath <roland@hack.frob.com>
25169
25170 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25171 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25172
25173 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25174
25175 [BZ #16639]
25176 * nscd/connections.c (nscd_init): Call do_exit.
25177 (start_threads): Call do_exit and notify_parent.
25178 (begin_drop_privileges): Call do_exit.
25179 (finish_drop_privileges): Likewise.
25180 * nscd/selinux.c (preserve_capabilities): Likewise.
25181 (install_real_capabilities): Likewise.
25182 (nscd_selinux_enabled): Likewise.
25183 (avc_create_thread): Likewise.
25184 (avc_alloc_lock): Likewise.
25185 (nscd_avc_init): Likewise.
25186 * nscd/nscd.c (parent_fd): New static variable.
25187 (main): Create a pipe between parent and child processes.
25188 Skip closing parent_fd.
25189 (monitor_child): New function.
25190 (do_exit): Likewise.
25191 (notify_parent): Likewise.
25192 * nscd/nscd.h (notify_parent): Likewise.
25193 (do_exit): Likewise.
25194
25195 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25196
25197 * malloc/malloc.c (__libc_calloc): Revert last change.
25198
25199 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25200
25201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25202
25203 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25204
25205 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25207 implementation.
25208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25209 (__libc_ifunc_impl_list): Likewise.
25210 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25211 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25212 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25213 * string/strrchr.c: Define STRRCHR.
25214
25215 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25216
25217 * benchtest/bench-strtok.c (simple_strtok): Delete.
25218 (strtok_string): Use as benchmark.
25219 * string/strtok (STRTOK): New macro.
25220
25221 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25222
25223 * manual/threads.texi: Add header and standard comments to all
25224 functions.
25225
25226 * elf/dl-lookup.c (check_match): New function.
25227 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25228 (do_lookup_x): Remove nested function check_match. Use non-nested
25229 function check_match.
25230
25231 2014-02-28 Roland McGrath <roland@hack.frob.com>
25232
25233 * csu/Makefile (generated, before-compile): Use += rather than =.
25234 * catgets/Makefile (generated, generated-dirs): Likewise.
25235 * debug/Makefile (generated): Likewise.
25236 * dlfcn/Makefile (generated): Likewise.
25237 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25238 * iconvdata/Makefile (before-compile, generated): Likewise.
25239 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25240 * libio/Makefile (generated): Likewise.
25241 * malloc/Makefile (generated): Likewise.
25242 * manual/Makefile (generated, generated-dirs): Likewise.
25243 * misc/Makefile (generated): Likewise.
25244 * posix/Makefile (generated): Likewise.
25245 * resolv/Makefile (generated): Likewise.
25246 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25247 * timezone/Makefile (generated, generated-dirs): Likewise.
25248
25249 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25250
25251 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25252
25253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25254 power8 implementation.
25255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25256 file: POWER8 llround ifunc implementation.
25257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25258 (__lllround): Add POWER8 implementation.
25259 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25260 POWER8 llround implementation.
25261
25262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25263 power8 implementation.
25264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25265 file: POWER8 llrint ifunc implementation.
25266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25267 Add POWER8 implementation.
25268 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25269 POWER8 llrint implementation.
25270
25271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25272 power8 implementation.
25273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25274 file: POWER8 finite ifunc implementation.
25275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25276 Add POWER8 implementation.
25277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25278 Likewise.
25279 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25280 POWER8 finite implementation.
25281 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25282
25283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25284 power8 implementation.
25285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25286 file: POWER8 isinf ifunc implementation.
25287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25288 POWER8 implementation.
25289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25290 Likewise.
25291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25292 isinf implementation.
25293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25294
25295 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25296 (INIT_ARCH): Add hwcap2 initialization.
25297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25298 power8 implementation.
25299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25300 file: POWER8 isnan ifunc implementation.
25301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25302 POWER8 implementation.
25303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25304 Likewise.
25305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25306 isnan implementation.
25307 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25308
25309 2014-02-27 Joey Ye <joey.ye@arm.com>
25310
25311 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25312 (_FP_NANFRAC_Q): Set to zero.
25313
25314 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25315
25316 [BZ #16623]
25317 * math/auto-libm-test-in: New test inputs.
25318 * math/auto-libm-test-out: Regenerate.
25319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25320 and DA.
25321 (__cos): Likewise.
25322 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25323
25324 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25325
25326 * scripts/evaluate-test.sh: Take new argument indicating whether
25327 failure is expected.
25328 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25329 indicating whether failure is expected.
25330 * conform/Makefile (test-xfail-run-conformtest): New variable.
25331 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25332 level.
25333 * posix/Makefile (test-xfail-annexc): New variable.
25334 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25335
25336 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25337
25338 * argp/Makefile: Include Makeconfig immediately after defining
25339 subdir.
25340 * assert/Makefile: Likewise.
25341 * benchtests/Makefile: Likewise.
25342 * catgets/Makefile: Likewise.
25343 * conform/Makefile: Likewise.
25344 * crypt/Makefile: Likewise.
25345 * csu/Makefile: Likewise.
25346 (all): Remove target.
25347 * ctype/Makefile: Include Makeconfig immediately after defining
25348 subdir.
25349 * debug/Makefile: Likewise.
25350 * dirent/Makefile: Likewise.
25351 * dlfcn/Makefile: Likewise.
25352 * gmon/Makefile: Likewise.
25353 * gnulib/Makefile: Likewise.
25354 * grp/Makefile: Likewise.
25355 * gshadow/Makefile: Likewise.
25356 * hesiod/Makefile: Likewise.
25357 * hurd/Makefile: Likewise.
25358 (all): Remove target.
25359 * iconvdata/Makefile: Include Makeconfig immediately after
25360 defining subdir.
25361 * inet/Makefile: Likewise.
25362 * intl/Makefile: Likewise.
25363 * io/Makefile: Likewise.
25364 * libio/Makefile: Likewise.
25365 (all): Remove target.
25366 * locale/Makefile: Include Makeconfig immediately after defining
25367 subdir.
25368 * login/Makefile: Likewise.
25369 * mach/Makefile: Likewise.
25370 (all): Remove target.
25371 * malloc/Makefile: Include Makeconfig immediately after defining
25372 subdir.
25373 (all): Remove target.
25374 * manual/Makefile: Include Makeconfig immediately after defining
25375 subdir.
25376 * math/Makefile: Likewise.
25377 * misc/Makefile: Likewise.
25378 * nis/Makefile: Likewise.
25379 * nss/Makefile: Likewise.
25380 * po/Makefile: Likewise.
25381 (all): Remove target.
25382 * posix/Makefile: Include Makeconfig immediately after defining
25383 subdir.
25384 * pwd/Makefile: Likewise.
25385 * resolv/Makefile: Likewise.
25386 * resource/Makefile: Likewise.
25387 * rt/Makefile: Likewise.
25388 * setjmp/Makefile: Likewise.
25389 * shadow/Makefile: Likewise.
25390 * signal/Makefile: Likewise.
25391 * socket/Makefile: Likewise.
25392 * soft-fp/Makefile: Likewise.
25393 * stdio-common/Makefile: Likewise.
25394 * stdlib/Makefile: Likewise.
25395 * streams/Makefile: Likewise.
25396 * string/Makefile: Likewise.
25397 * sunrpc/Makefile: Likewise.
25398 (all): Remove target.
25399 * sysvipc/Makefile: Include Makeconfig immediately after defining
25400 subdir.
25401 * termios/Makefile: Likewise.
25402 * time/Makefile: Likewise.
25403 * timezone/Makefile: Likewise.
25404 (all): Remove target.
25405 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25406 subdir.
25407 * wctype/Makefile: Likewise.
25408
25409 2014-02-26 Steve Ellcey <sellcey@mips.com>
25410
25411 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25412 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25413 (libc_feholdexcept_setround_mips): Ditto.
25414 (libc_feholdsetround): New.
25415 (libc_feholdsetroundf): New.
25416 (libc_feholdsetroundl): New.
25417 (libc_feupdateenv_test_mips): New.
25418 (libc_feupdateenv_test): New.
25419 (libc_feupdateenv_testf): New.
25420 (libc_feupdateenv_testl): New.
25421 (libc_feresetround): New.
25422 (libc_feresetroundf): New.
25423 (libc_feresetroundl): New.
25424 (libc_fetestexcept_mips): New.
25425 (libc_fetestexcept): New.
25426 (libc_fetestexceptf): New.
25427 (libc_fetestexceptl): New.
25428 (HAVE_RM_CTX): New.
25429 (libc_feholdexcept_setround_mips_ctx): New.
25430 (libc_feholdexcept_setround_ctx): New.
25431 (libc_feholdexcept_setroundf_ctx): New.
25432 (libc_feholdexcept_setroundl_ctx): New.
25433 (libc_fesetenv_mips_ctx): New.
25434 (libc_fesetenv_ctx): New.
25435 (libc_fesetenv_ctxf): New.
25436 (libc_fesetenv_ctxl): New.
25437 (libc_feupdateenv_mips_ctx): New.
25438 (libc_feupdateenv_ctx): New.
25439 (libc_feupdateenvf_ctx): New.
25440 (libc_feupdateenvl_ctx): New.
25441 (libc_feholdsetround_mips_ctx): New.
25442 (libc_feholdsetround_ctx): New.
25443 (libc_feholdsetroundf_ctx): New.
25444 (libc_feholdsetroundl_ctx): New.
25445 (libc_feresetround_mips_ctx): New.
25446 (libc_feresetround_ctx): New.
25447 (libc_feresetroundf_ctx): New.
25448 (libc_feresetroundl_ctx): New.
25449
25450 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25451
25452 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25453
25454 * manual/ipc.texi: New file.
25455 * manual/Makefile (chapters): Add ipc.
25456 * manual/job.texi: Add "Inter-Process Communication" to next.
25457 * manual/process.texi: Add "Inter-Process Communication" to prev.
25458
25459 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25460
25461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25462
25463 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25464
25465 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25466
25467 * manual/arith.texi: Fix spaces after sentences.
25468 * manual/charset.texi: Likewise.
25469 * manual/errno.texi: Likewise.
25470 * manual/install.texi: Likewise.
25471 * manual/llio.texi: Likewise.
25472 * manual/locale.texi: Likewise.
25473 * manual/maint.texi: Likewise.
25474 * manual/math.texi: Likewise.
25475 * manual/memory.texi: Likewise.
25476 * manual/message.texi: Likewise.
25477 * manual/probes.texi: Likewise.
25478 * manual/resource.texi: Likewise.
25479 * manual/signal.texi: Likewise.
25480 * manual/socket.texi: Likewise.
25481 * manual/stdio.texi: Likewise.
25482 * manual/string.texi: Likewise.
25483 * manual/time.texi: Likewise.
25484 * manual/users.texi: Likewise.
25485
25486 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25487
25488 [BZ #16632]
25489 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25490 _DEFAULT_SOURCE is defined.
25491
25492 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25493 Carlos O'Donell <carlos@redhat.com>
25494
25495 [BZ #16613]
25496 * elf/dl-tls.c (_dl_count_modids): New function.
25497 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25498 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25499 audit library and increment generation counter.
25500 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25501 * elf/tst-audit9.c: New file.
25502 * elf/tst-auditmod9a.c: New file.
25503 * elf/tst-auditmod9b.c: New file.
25504 * elf/Makefile: Add rules to build and run tst-audit9.
25505
25506 2014-02-25 Florian Weimer <fweimer@redhat.com>
25507
25508 [BZ #15347]
25509 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25510
25511 2014-02-25 Will Newton <will.newton@linaro.org>
25512
25513 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25514 (__longjmp): Restore sp and lr before restoring callee
25515 saved registers. Add longjmp and longjmp_target
25516 SystemTap probe point.
25517 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25518 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25519 Define to zero to match jmpbuf layout.
25520 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25521 (__sigsetjmp): Save sp and lr before saving callee
25522 saved registers. Add setjmp SystemTap probe point.
25523
25524 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25525
25526 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25527
25528 2014-02-24 Andreas Schwab <schwab@suse.de>
25529
25530 [BZ #15804]
25531 * elf/pldd.c (wait_for_ptrace_stop): New function.
25532 (main): Call it after attaching.
25533
25534 2014-02-22 Roland McGrath <roland@hack.frob.com>
25535
25536 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25537 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25538 Versions files is now verboten.
25539 * hurd/Versions (libc: GLIBC_2.0):
25540 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25541 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25542 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25543 * mach/Versions: Likewise.
25544
25545 * csu/Versions: Remove unused %include.
25546 * resolv/Versions: Likewise.
25547
25548 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25549
25550 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25551 ($(objpfx)check-local-headers.out): Likewise.
25552 ($(objpfx)begin-end-check.out): Likewise.
25553 * Makerules (check-abi-%.out): Likewise.
25554 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25555 ($(objpfx)test2.cat): Likewise.
25556 ($(objpfx)de/libc.cat): Likewise.
25557 ($(objpfx)test-gencat.out): Likewise.
25558 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25559 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25560 ($(objpfx)noload-mem): Likewise.
25561 ($(objpfx)tst-pathopt.out): Likewise.
25562 ($(objpfx)tst-rtld-load-self.out): Likewise.
25563 ($(objpfx)tst-array1-cmp.out): Likewise.
25564 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25565 ($(objpfx)tst-array2-cmp.out): Likewise.
25566 ($(objpfx)tst-array3-cmp.out): Likewise.
25567 ($(objpfx)tst-array4-cmp.out): Likewise.
25568 ($(objpfx)tst-array5-cmp.out): Likewise.
25569 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25570 ($(objpfx)check-textrel.out): Likewise.
25571 ($(objpfx)check-execstack.out): Likewise.
25572 ($(objpfx)check-localplt.out): Likewise.
25573 ($(objpfx)order2-cmp.out): Likewise.
25574 ($(objpfx)tst-leaks1-mem): Likewise.
25575 ($(objpfx)tst-leaks1-static-mem): Likewise.
25576 ($(objpfx)tst-initorder-cmp.out): Likewise.
25577 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25578 ($(objpfx)tst-unused-dep.out): Likewise.
25579 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25580 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25581 * iconv/Makefile (test-iconvconfig): Likewise.
25582 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25583 ($(objpfx)iconv-test.out): Likewise.
25584 ($(objpfx)tst-tables.out): Likewise.
25585 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25586 ($(objpfx)tst-gettext.out): Likewise.
25587 ($(objpfx)tst-translit.out): Likewise.
25588 ($(objpfx)tst-gettext2.out): Likewise.
25589 ($(objpfx)tst-gettext4.out): Likewise.
25590 ($(objpfx)tst-gettext6.out): Likewise.
25591 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25592 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25593 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25594 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25595 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25596 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25597 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25598 ($(objpfx)wordexp-tst.out): Likewise.
25599 ($(objpfx)annexc.out): Likewise.
25600 ($(objpfx)tst-fnmatch-mem): Likewise.
25601 ($(objpfx)bug-regex2-mem): Likewise.
25602 ($(objpfx)bug-regex14-mem): Likewise.
25603 ($(objpfx)bug-regex21-mem): Likewise.
25604 ($(objpfx)bug-regex31-mem): Likewise.
25605 ($(objpfx)tst-vfork3-mem): Likewise.
25606 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25607 ($(objpfx)tst-pcre-mem): Likewise.
25608 ($(objpfx)tst-boost-mem): Likewise.
25609 ($(objpfx)tst-getconf.out): Likewise.
25610 ($(objpfx)bug-ga2-mem): Likewise.
25611 ($(objpfx)bug-glob2-mem): Likewise.
25612 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25613 ($(objpfx)mtrace-tst-leaks2): Likewise.
25614 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25615 ($(objpfx)tst-printf.out): Likewise.
25616 ($(objpfx)tst-setvbuf1.out): Likewise.
25617 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25618 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25619 ($(objpfx)tst-fmtmsg.out): Likewise.
25620 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25621 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25622
25623 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25624 * bits/sigaction.h [__USE_MISC]: Likewise.
25625 * bits/waitstatus.h: Update #endif comments.
25626 * ctype/ctype.h: Likewise.
25627 * dirent/dirent.h: Likewise.
25628 [__USE_MISC]: Remove redundant conditionals.
25629 * grp/grp.h: Update #endif comments.
25630 [__USE_GNU]: Remove redundant conditionals.
25631 [__USE_MISC]: Likewise.
25632 * inet/netinet/in.h [__USE_GNU]: Likewise.
25633 * io/sys/stat.h [__USE_MISC]: Likewise.
25634 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25635 * libio/bits/stdio.h: Update #endif comments.
25636 [__USE_MISC]: Remove redundant conditionals.
25637 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25638 * libio/stdio.h: Update #endif comments.
25639 [__USE_MISC]: Remove redundant conditionals.
25640 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25641 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25642 * math/math.h: Update #else and #endif comments.
25643 [__USE_MISC]: Remove redundant conditionals.
25644 * misc/sys/uio.h: Update #endif comments.
25645 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25646 * posix/glob.h [__USE_MISC]: Likewise.
25647 * posix/sys/types.h: Update #endif comments.
25648 [__USE_MISC]: Remove redundant conditionals.
25649 * posix/sys/wait.h: Update #endif comments.
25650 [__USE_MISC]: Remove redundant conditionals.
25651 * posix/unistd.h: Update #endif comments.
25652 [__USE_MISC]: Remove redundant conditionals.
25653 * pwd/pwd.h [__USE_GNU]: Likewise.
25654 [__USE_MISC]: Likewise.
25655 * resolv/netdb.h [__USE_GNU]: Likewise.
25656 * signal/signal.h: Update #endif comments.
25657 [__USE_MISC]: Remove redundant conditionals.
25658 * stdlib/stdlib.h: Update #else and #endif comments.
25659 [__USE_MISC]: Remove redundant conditionals.
25660 [__USE_GNU]: Likewise.
25661 * string/bits/string2.h [__USE_MISC]: Likewise.
25662 * string/string.h: Update #endif comments.
25663 [__USE_MISC]: Remove redundant conditionals.
25664 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25665 Likewise.
25666 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25667 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25668 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25669 Likewise.
25670 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25671 Likewise.
25672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25673 comments.
25674 [__USE_MISC]: Remove redundant conditionals.
25675 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25676 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25677 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25678 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25679 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25680 Likewise.
25681 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25682 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25683 Likewise.
25684 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25685 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25686 Likewise.
25687 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25688 Likewise.
25689 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25690 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25691 Likewise.
25692 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25695 * sysdeps/x86/bits/string.h: Update #endif comments.
25696 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25697 conditionals.
25698 * time/sys/time.h: Update #endif comments.
25699 * time/time.h: Likewise.
25700 [__USE_MISC]: Remove redundant conditionals.
25701
25702 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25703
25704 [BZ #16600]
25705 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25706
25707 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25708
25709 * Versions.def (librt): Add GLIBC_2.17.
25710
25711 2014-02-21 Adam Conrad <adconrad@0c3.net>
25712
25713 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25714 synonym for _SYS_AUXV_H to allow direct inclusion.
25715 * sysdeps/sparc/bits/hwcap.h: Likewise.
25716 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25717 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25718 * sysdeps/sparc/sysdep.h: Likewise.
25719
25720 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25721
25722 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25723
25724 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25725
25726 * benchtests/bench-strrchr.c: Print length instead of position.
25727
25728 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25729
25730 [BZ #16611]
25731 * sysdeps/unix/sysv/linux/kernel-features.h
25732 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25733 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25734 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25735 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25736 Likewise.
25737 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25738 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25739 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25740 (__ASSUME_SENDMMSG): Define instead of using previous
25741 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25742 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25743 (__ASSUME_SENDMMSG_SYSCALL): Define.
25744 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25745 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25746 Likewise.
25747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25748 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25749 Likewise.
25750 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25751 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25752 Likewise.
25753 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25754 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25755 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25756 [__ASSUME_SENDMMSG]: Change conditionals to
25757 [__ASSUME_SENDMMSG_SOCKETCALL].
25758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25759 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25760 Define.
25761 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25762 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25763 Likewise.
25764 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25765 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25766 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25767 [!__ASSUME_SENDMMSG]: Change conditional to
25768 [!__ASSUME_SENDMMSG_SOCKETCALL].
25769 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25770 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25771 Define.
25772
25773 [BZ #16610]
25774 * sysdeps/unix/sysv/linux/kernel-features.h
25775 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25776 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25777 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25778 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25779 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25780 [__i386__ || __sparc__]
25781 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25782 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25783 (__ASSUME_RECVMMSG): Define instead of using previous
25784 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25785 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25786 (__ASSUME_RECVMMSG_SYSCALL): Define.
25787 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25788 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25789 Likewise.
25790 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25792 Likewise.
25793 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25794 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25795 Likewise.
25796 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25797 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25798 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25799 [__ASSUME_RECVMMSG]: Change condition to
25800 [__ASSUME_RECVMMSG_SOCKETCALL].
25801 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25802 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25803 Define.
25804 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25805 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25806 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25807 Likewise.
25808 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25809 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25810 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25811 [!__ASSUME_RECVMMSG]: Change condition to
25812 [!__ASSUME_RECVMMSG_SOCKETCALL].
25813 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25814 (__ASSUME_RECVMMSG_SYSCALL): Define.
25815
25816 [BZ #16609]
25817 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25818 __powerpc__ || __s390__ || __sh__ || __sparc__]
25819 (__ASSUME_SOCKETCALL): Define.
25820 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25821 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25822 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25823 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25824 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25825 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25826 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25827 (__ASSUME_ACCEPT4): Define instead of using previous
25828 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25829 __powerpc__ || __sparc__ || __s390__)] condition.
25830 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25831 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25832 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25833 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25834 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25835 [!__ASSUME_ACCEPT4]: Change condition to
25836 [!__ASSUME_ACCEPT4_SOCKETCALL].
25837 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25838 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25839 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25840 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25841 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25842 __ASSUME_ACCEPT4_SYSCALL.
25843 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25844 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25846 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25847 __ASSUME_ACCEPT4_SYSCALL.
25848 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25849 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25850 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25851 [__ASSUME_ACCEPT4]: Change condition to
25852 [__ASSUME_ACCEPT4_SOCKETCALL].
25853 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25854 (__ASSUME_SOCKETCALL): Define.
25855 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25856 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25857 (__ASSUME_SOCKETCALL): Define.
25858 (__ASSUME_ACCEPT4): Remove.
25859 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25860 Define.
25861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25862 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25863 Likewise.
25864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25865 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25866
25867 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25868 macro.
25869 (HWCAP_ARM_LPAE): Likewise.
25870 (HWCAP_ARM_EVTSTRM): Likewise.
25871 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25872 Add vpfd32, lpae and evtstrm.
25873 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25874 Increase to 22.
25875
25876 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25877
25878 * math/auto-libm-test-in: Add tests of clog10.
25879 * math/auto-libm-test-out: Regenerated.
25880 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25881 * sysdeps/i386/fpu/libm-test-ulps: Update.
25882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883
25884 2014-02-18 Andreas Schwab <schwab@suse.de>
25885
25886 [BZ #16574]
25887 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25888 Store non-zero if the second buffer was newly allocated.
25889 (send_dg): Likewise.
25890 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25891 to send_vc and send_dg.
25892 (res_nsend): Pass NULL for ansp2_malloced.
25893 * resolv/res_query.c (__libc_res_nquery): Add parameter
25894 answerp2_malloced and pass it down to __libc_res_nsend.
25895 (res_nquery): Pass additional NULL to __libc_res_nquery.
25896 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25897 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25898 second answer buffer if answerp2_malloced was set.
25899 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25900 (__libc_res_nquerydomain): Add parameter
25901 answerp2_malloced and pass it down to __libc_res_nquery.
25902 (res_nquerydomain): Pass additional NULL to
25903 __libc_res_nquerydomain.
25904 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25905 additional NULL to __libc_res_nsend and __libc_res_nquery.
25906 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25907 additional NULL to __libc_res_nsearch.
25908 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25909 parameter of __libc_res_nsearch to check for separately allocated
25910 second buffer.
25911 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25912 __libc_res_nquery.
25913 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25914 additional NULL to __libc_res_nquery.
25915 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25916 __libc_res_nsearch.
25917 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25918 * include/resolv.h: Update prototypes of __libc_res_nquery,
25919 __libc_res_nsearch, __libc_res_nsend.
25920
25921 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25922
25923 * math/auto-libm-test-in: Add tests of fma.
25924 * math/auto-libm-test-out: Regenerated.
25925 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25926 (fma_towardzero_test_data): Likewise.
25927 (fma_downward_test_data): Likewise.
25928 (fma_upward_test_data): Likewise.
25929 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25930 mpc_mode.
25931 (rounding_modes): Add values for new field.
25932 (func_calc_method): Add value mpfr_fff_f.
25933 (func_calc_desc): Add mpfr_fff_f union field.
25934 (test_function): Add field exact_args.
25935 (FUNC): Add macro argument EXACT_ARGS.
25936 (FUNC_mpfr_f_f): Update call to FUNC.
25937 (FUNC_mpfr_f_f): Likewise.
25938 (FUNC_mpfr_ff_f): Likewise.
25939 (FUNC_mpfr_if_f): Likewise.
25940 (FUNC_mpc_c_f): Likewise.
25941 (FUNC_mpc_c_c): Likewise.
25942 (test_functions): Add fma. Update calls to FUNC.
25943 (handle_input_arg): Add argument exact_args.
25944 (add_test): Update call to handle_input_arg.
25945 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25946 (output_for_one_input_case): Update call to calc_generic_results.
25947 Recalculate exact zero results in each rounding mode.
25948
25949 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25950 non-negative before setting low bit.
25951 * math/auto-libm-test-in: Mark one asin test possibly having
25952 spurious underflow.
25953 * math/auto-libm-test-out: Regenerated.
25954 * sysdeps/i386/fpu/libm-test-ulps: Update.
25955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25956
25957 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25958
25959 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25960 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25961 ports/sysdeps/unix/sysv/linux/microblaze.
25962 * README: Add missing listing for microblaze*-*-linux-gnu.
25963
25964 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25965
25966 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25967 duplicate code
25968
25969 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25970
25971 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25972 * sysdeps/unix/sysv/linux/ia64: Move directory from
25973 ports/sysdeps/unix/sysv/linux/ia64.
25974 * README: Update listing for ia64-*-linux-gnu.
25975
25976 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25977 Joseph Myers <joseph@codesourcery.com>
25978
25979 * Makeconfig (test-name): New variable.
25980 (evaluate-test): Likewise.
25981 * Makerules (do-test-clean): Remove .test-result files.
25982 (common-mostlyclean): Likewise.
25983 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25984 * scripts/evaluate-test.sh: New file.
25985
25986 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25987
25988 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25989 separate $(objpfx)tst-fopenloc-cmp.out and
25990 $(objpfx)tst-fopenloc-mem.out targets.
25991 (tests): Update dependencies.
25992 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25993 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25994 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25995 (tst-rxspencer-no-utf8-ARGS): New variable.
25996 (tst-rxspencer-no-utf8-ENV): Likewise.
25997 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25998 instead of $(objpfx)tst-rxspencer-mem.
25999 ($(objpfx)tst-rxspencer-mem): Change target to
26000 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26001 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26002 * posix/tst-rxspencer-no-utf8.c: New file.
26003
26004 * elf/Makefile ($(objpfx)order.out): Remove rule.
26005 [$(run-built-tests) = yes] (tests): Depend on
26006 $(objpfx)order-cmp.out.
26007 ($(objpfx)order-cmp.out): New rule.
26008 [$(run-built-tests) = yes] (tests): Depend on
26009 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26010 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26011 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26012 $(objpfx)tst-array5-static-cmp.out.
26013 ($(objpfx)tst-array1.out): Remove rule.
26014 ($(objpfx)tst-array1-cmp.out): New rule.
26015 ($(objpfx)tst-array1-static.out): Remove rule.
26016 ($(objpfx)tst-array1-static-cmp.out): New rule.
26017 ($(objpfx)tst-array2.out): Remove rule.
26018 ($(objpfx)tst-array2-cmp.out): New rule.
26019 ($(objpfx)tst-array3.out): Remove rule.
26020 ($(objpfx)tst-array3-cmp.out): New rule.
26021 ($(objpfx)tst-array4.out): Remove rule.
26022 ($(objpfx)tst-array4-cmp.out): New rule.
26023 ($(objpfx)tst-array5.out): Remove rule.
26024 ($(objpfx)tst-array5-cmp.out): New rule.
26025 ($(objpfx)tst-array5-static.out): Remove rule.
26026 ($(objpfx)tst-array5-static-cmp.out): New rule.
26027 [$(run-built-tests) = yes] (tests): Depend on
26028 $(objpfx)order2-cmp.out.
26029 ($(objpfx)order2.out): Remove rule.
26030 ($(objpfx)order2-cmp.out): New rule.
26031 ($(objpfx)tst-initorder.out): Remove rule.
26032 [$(run-built-tests) = yes] (tests): Depend on
26033 $(objpfx)tst-initorder-cmp.out.
26034 ($(objpfx)tst-initorder-cmp.out): New rule.
26035 ($(objpfx)tst-initorder2.out): Remove rule.
26036 [$(run-built-tests) = yes] (tests): Depend on
26037 $(objpfx)tst-initorder2-cmp.out.
26038 ($(objpfx)tst-initorder2-cmp.out): New rule.
26039 [$(run-built-tests) = yes] (tests): Depend on
26040 $(objpfx)tst-unused-dep-cmp.out.
26041 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26042 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26043 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26044 on $(objpfx)tst-setvbuf1-cmp.out.
26045 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26046 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26047 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26048 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26049 ($(objpfx)tst-svc.out): Remove rule.
26050 ($(objpfx)tst-svc-cmp.out): New rule.
26051
26052 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26053
26054 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26055 * ctype/ctype.h [__USE_MISC]: Likewise.
26056 * dirent/dirent.h [__USE_MISC]: Likewise.
26057 * grp/grp.h [__USE_MISC]: Likewise.
26058 * io/fcntl.h [__USE_MISC]: Likewise.
26059 * io/sys/stat.h [__USE_MISC]: Likewise.
26060 * libio/stdio.h [__USE_MISC]: Likewise.
26061 * posix/unistd.h [__USE_MISC]: Likewise.
26062 * pwd/pwd.h [__USE_MISC]: Likewise.
26063 * stdlib.h [__USE_MISC]: Likewise.
26064 * string/bits/string2.h [__USE_MISC]: Likewise.
26065 * string/string.h [__USE_MISC]: Likewise.
26066 * time/time.h [__USE_MISC]: Likewise.
26067
26068 2014-02-13 Andreas Schwab <schwab@suse.de>
26069
26070 [BZ #16574]
26071 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26072 second answer buffer if it was separately allocated.
26073
26074 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26075
26076 * sysdeps/mips/math-tests.h: Include <features.h>.
26077 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26078 (ROUNDING_TESTS_long_double): Do not define.
26079 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26080 (EXCEPTION_TESTS_long_double): Likewise.
26081 * sysdeps/mips/mips64/libm-test-ulps: Update.
26082
26083 * include/features.h (__USE_BSD): Remove macro definitions.
26084 (__USE_SVID): Likewise.
26085 (_BSD_SOURCE): Likewise.
26086 (_SVID_SOURCE): Likewise.
26087 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26088 from definition of _DEFAULT_SOURCE.
26089 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26090 [_DEFAULT_SOURCE].
26091 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26092 * bits/mman.h [__USE_BSD]: Likewise.
26093 * bits/termios.h [__USE_BSD]: Likewise.
26094 * bits/waitstatus.h [__USE_BSD]: Likewise.
26095 * ctype/ctype.h [__USE_SVID]: Likewise.
26096 * dirent/dirent.h [__USE_BSD]: Likewise.
26097 * grp/grp.h [__USE_SVID]: Likewise.
26098 [__USE_BSD]: Likewise.
26099 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26100 * io/fcntl.h [__USE_BSD]: Likewise.
26101 * io/ftw.h [__USE_BSD]: Likewise.
26102 * io/sys/stat.h [__USE_BSD]: Likewise.
26103 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26104 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26105 * libio/stdio.h [__USE_SVID]: Likewise.
26106 [__USE_BSD]: Likewise.
26107 * math/math.h [__USE_SVID]: Likewise.
26108 [__USE_BSD]: Likewise.
26109 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26110 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26111 * misc/search.h [__USE_SVID]: Likewise.
26112 * misc/sys/mman.h [__USE_BSD]: Likewise.
26113 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26114 * misc/sys/uio.h [__USE_BSD]: Likewise.
26115 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26116 * posix/glob.h [__USE_BSD]: Likewise.
26117 * posix/regex.h [__USE_BSD]: Likewise.
26118 * posix/sys/types.h [__USE_BSD]: Likewise.
26119 [__USE_SVID]: Likewise.
26120 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26121 * posix/sys/wait.h [__USE_BSD]: Likewise.
26122 [__USE_SVID]: Likewise.
26123 * posix/unistd.h [__USE_BSD]: Likewise.
26124 [__USE_SVID]: Likewise.
26125 * pwd/pwd.h [__USE_SVID]: Likewise.
26126 * resolv/netdb.h [__USE_BSD]: Likewise.
26127 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26128 * signal/signal.h [__USE_BSD]: Likewise.
26129 [__USE_SVID]: Likewise.
26130 * socket/sys/socket.h [__USE_BSD]: Likewise.
26131 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26132 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26133 [__USE_SVID]: Likewise.
26134 * string/bits/string2.h [__USE_BSD]: Likewise.
26135 [__USE_SVID]: Likewise.
26136 * string/bits/string3.h [__USE_BSD]: Likewise.
26137 * string/endian.h [__USE_BSD]: Likewise.
26138 * string/string.h [__USE_SVID]: Likewise.
26139 [__USE_BSD]: Likewise.
26140 * string/strings.h [__USE_BSD]: Likewise.
26141 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26142 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26143 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26144 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26145 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26146 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26147 Likewise.
26148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26149 Likewise.
26150 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26151 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26152 Likewise.
26153 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26154 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26155 Likewise.
26156 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26157 Likewise.
26158 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26159 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26160 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26161 Likewise.
26162 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26163 Likewise.
26164 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26165 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26166 * termios/termios.h [__USE_BSD]: Likewise.
26167 * time/sys/time.h [__USE_BSD]: Likewise.
26168 * time/time.h [__USE_BSD]: Likewise.
26169 [__USE_SVID]: Likewise.
26170
26171 * Makefile (subdir_targets): Remove subdir_lint.out.
26172
26173 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26174 (do-tst-printf): Likewise.
26175 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26176 $(objpfx)tst-printf.out.
26177
26178 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26179
26180 * Makerules (check-abi-%): Change target to
26181 $(objpfx)check-abi-%.out.
26182 (check-abi target): Update dependencies.
26183 (check-abi-pattern variable): Redirect output of diff to $@.
26184 (check-abi variable): Likewise.
26185 * elf/Makefile (check-abi): Update dependencies.
26186
26187 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26188 unused.
26189 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26190 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26191 subnormal range.
26192 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26193 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26194 value has largest subnormal exponent.
26195 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26196 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26197 * sysdeps/aarch64/soft-fp/sfp-machine.h
26198 (_FP_TININESS_AFTER_ROUNDING): New macro.
26199 * sysdeps/alpha/soft-fp/sfp-machine.h
26200 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26201 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26202 Likewise.
26203 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26204 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26205 * sysdeps/mips/soft-fp/sfp-machine.h
26206 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26207 * sysdeps/powerpc/soft-fp/sfp-machine.h
26208 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26209 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26210 Likewise.
26211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26212 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26214 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26215 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26216 Likewise.
26217
26218 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26219
26220 [BZ #16545]
26221 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26222 model 1.
26223
26224 2014-02-12 Richard Henderson <rth@redhat.com>
26225
26226 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26227 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26228 * sysdeps/unix/sysv/linux/alpha: Move directory from
26229 ports/sysdeps/unix/sysv/linux/alpha.
26230 * README: Update listing for alpha-*-linux-gnu.
26231
26232 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26233
26234 * include/features.h: Update comment documenting feature test
26235 macros.
26236 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26237 _DEFAULT_SOURCE.
26238 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26239 (_SVID_SOURCE): Likewise.
26240 (_DEFAULT_SOURCE): Update description of default features.
26241 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26242 with _GNU_SOURCE.
26243 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26244 (S_ISVTX): Likewise.
26245 * manual/math.texi (Mathematical Constants): Likewise.
26246 * manual/signal.texi (Interrupted Primitives): Likewise.
26247 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26248 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26249 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26250 Don't refer to _SVID_SOURCE in warning text.
26251
26252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26253
26254 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26255 already defined.
26256 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26257 * sysdeps/mips/dl-lookup.c: Remove.
26258 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26259
26260 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26261
26262 [BZ #16447]
26263 * math/auto-libm-test-in: Add testcase for expl.
26264 * math/auto-libm-test-out: Regenerate.
26265 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26266 calculation of unsafe.
26267 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26268
26269 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26270
26271 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26272 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26273 ports/sysdeps/unix/sysv/linux/aarch64.
26274 * README: Update listing for aarch64*-*-linux-gnu.
26275
26276 2014-02-11 Will Newton <will.newton@linaro.org>
26277
26278 * manual/probes.texi (Mathematical Function Probes): Use
26279 "triggered" instead of "hit".
26280
26281 * manual/probes.texi (Internal Probes): Add documentation
26282 of setjmp, longjmp and longjmp_target probes.
26283
26284 * include/stap-probe.h: Add comment about probe argument
26285 format.
26286
26287 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26288 definition. (tr_where, tr_freehook, tr_mallochook,
26289 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26290
26291 2014-02-11 David S. Miller <davem@davemloft.net>
26292
26293 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26294 processing int_tests.
26295
26296 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26297
26298 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26299 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26300 * sysdeps/unix/sysv/linux/mips: Move directory from
26301 ports/sysdeps/unix/sysv/linux/mips.
26302 * README: Update listing for mips-*-linux-gnu and
26303 mips64-*-linux-gnu.
26304
26305 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26306
26307 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26308 * sysdeps/unix/sysv/linux/m68k: Move directory from
26309 ports/sysdeps/unix/sysv/linux/m68k.
26310 * README: Update listing for m68k-*-linux-gnu.
26311
26312 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26313
26314 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26315 * sysdeps/unix/sysv/linux/generic: Move directory from
26316 ports/sysdeps/unix/sysv/linux/generic.
26317 * sysdeps/unix/sysv/linux/tile: Move directory from
26318 ports/sysdeps/unix/sysv/linux/tile.
26319 * README: Update listing for tile*-*-linux-gnu.
26320
26321 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26322
26323 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26324 __builtin_expect.
26325 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26326 * catgets/open_catalog.c (__open_catalog): Likewise.
26327 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26328 * debug/confstr_chk.c: Likewise.
26329 * debug/fread_chk.c (__fread_chk): Likewise.
26330 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26331 * debug/getgroups_chk.c: Likewise.
26332 * debug/mbsnrtowcs_chk.c: Likewise.
26333 * debug/mbsrtowcs_chk.c: Likewise.
26334 * debug/mbstowcs_chk.c: Likewise.
26335 * debug/memcpy_chk.c: Likewise.
26336 * debug/memmove_chk.c: Likewise.
26337 * debug/mempcpy_chk.c: Likewise.
26338 * debug/memset_chk.c: Likewise.
26339 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26340 * debug/strcat_chk.c (__strcat_chk): Likewise.
26341 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26342 * debug/strncat_chk.c (__strncat_chk): Likewise.
26343 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26344 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26345 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26346 * debug/wcpncpy_chk.c: Likewise.
26347 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26348 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26349 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26350 * debug/wcsncpy_chk.c: Likewise.
26351 * debug/wcsnrtombs_chk.c: Likewise.
26352 * debug/wcsrtombs_chk.c: Likewise.
26353 * debug/wcstombs_chk.c: Likewise.
26354 * debug/wmemcpy_chk.c: Likewise.
26355 * debug/wmemmove_chk.c: Likewise.
26356 * debug/wmempcpy_chk.c: Likewise.
26357 * debug/wmemset_chk.c: Likewise.
26358 * dirent/scandirat.c (SCANDIRAT): Likewise.
26359 * dlfcn/dladdr1.c (dladdr1): Likewise.
26360 * dlfcn/dladdr.c (dladdr): Likewise.
26361 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26362 * dlfcn/dlerror.c (__dlerror): Likewise.
26363 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26364 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26365 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26366 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26367 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26368 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26369 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26370 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26371 Likewise.
26372 * elf/dl-conflict.c: Likewise.
26373 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26374 * elf/dl-dst.h: Likewise.
26375 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26376 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26378 * elf/dl-init.c (call_init, _dl_init): Likewise.
26379 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26380 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26381 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26382 Likewise.
26383 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26384 Likewise.
26385 * elf/dl-minimal.c (__libc_memalign): Likewise.
26386 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26387 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26388 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26389 * elf/dl-sym.c (do_sym): Likewise.
26390 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26391 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26392 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26393 * elf/dl-writev.h (_dl_writev): Likewise.
26394 * elf/ldconfig.c (search_dir): Likewise.
26395 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26396 (dl_main): Likewise.
26397 * elf/setup-vdso.h (setup_vdso): Likewise.
26398 * grp/compat-initgroups.c (compat_call): Likewise.
26399 * grp/fgetgrent.c (fgetgrent): Likewise.
26400 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26401 * grp/putgrent.c (putgrent): Likewise.
26402 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26403 Likewise.
26404 * hurd/hurdinit.c: Likewise.
26405 * iconvdata/8bit-gap.c (struct): Likewise.
26406 * iconvdata/ansi_x3.110.c : Likewise.
26407 * iconvdata/big5.c : Likewise.
26408 * iconvdata/big5hkscs.c : Likewise.
26409 * iconvdata/cp1255.c: Likewise.
26410 * iconvdata/cp1258.c : Likewise.
26411 * iconvdata/cp932.c : Likewise.
26412 * iconvdata/euc-cn.c: Likewise.
26413 * iconvdata/euc-jisx0213.c : Likewise.
26414 * iconvdata/euc-jp.c: Likewise.
26415 * iconvdata/euc-jp-ms.c : Likewise.
26416 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26417 * iconvdata/gb18030.c : Likewise.
26418 * iconvdata/gbbig5.c (const): Likewise.
26419 * iconvdata/gbgbk.c: Likewise.
26420 * iconvdata/gbk.c : Likewise.
26421 * iconvdata/ibm1364.c : Likewise.
26422 * iconvdata/ibm930.c : Likewise.
26423 * iconvdata/ibm932.c: Likewise.
26424 * iconvdata/ibm933.c : Likewise.
26425 * iconvdata/ibm935.c : Likewise.
26426 * iconvdata/ibm937.c : Likewise.
26427 * iconvdata/ibm939.c : Likewise.
26428 * iconvdata/ibm943.c: Likewise.
26429 * iconvdata/iso_11548-1.c: Likewise.
26430 * iconvdata/iso-2022-cn.c : Likewise.
26431 * iconvdata/iso-2022-cn-ext.c : Likewise.
26432 * iconvdata/iso-2022-jp-3.c: Likewise.
26433 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26434 * iconvdata/iso-2022-kr.c : Likewise.
26435 * iconvdata/iso646.c (gconv_end): Likewise.
26436 * iconvdata/iso_6937-2.c : Likewise.
26437 * iconvdata/iso_6937.c : Likewise.
26438 * iconvdata/iso8859-1.c: Likewise.
26439 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26440 * iconvdata/shift_jisx0213.c : Likewise.
26441 * iconvdata/sjis.c : Likewise.
26442 * iconvdata/t.61.c : Likewise.
26443 * iconvdata/tcvn5712-1.c : Likewise.
26444 * iconvdata/tscii.c: Likewise.
26445 * iconvdata/uhc.c : Likewise.
26446 * iconvdata/unicode.c (gconv_end): Likewise.
26447 * iconvdata/utf-16.c (gconv_end): Likewise.
26448 * iconvdata/utf-32.c (gconv_end): Likewise.
26449 * iconvdata/utf-7.c (base64): Likewise.
26450 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26451 * iconv/gconv_close.c (__gconv_close): Likewise.
26452 * iconv/gconv_open.c (__gconv_open): Likewise.
26453 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26454 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26455 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26456 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26457 (ucs4le_internal_loop_single): Likewise.
26458 * iconv/iconv.c (iconv): Likewise.
26459 * iconv/iconv_close.c: Likewise.
26460 * iconv/loop.c (SINGLE): Likewise.
26461 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26462 * include/atomic.h: Likewise.
26463 * inet/inet6_option.c (option_alloc): Likewise.
26464 * intl/bindtextdom.c (set_binding_values): Likewise.
26465 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26466 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26467 * intl/localealias.c (read_alias_file): Likewise.
26468 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26469 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26470 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26471 * libio/fmemopen.c (fmemopen): Likewise.
26472 * libio/iofgets.c (_IO_fgets): Likewise.
26473 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26474 * libio/iofgetws.c (fgetws): Likewise.
26475 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26476 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26477 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26478 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26479 * locale/findlocale.c (_nl_find_locale): Likewise.
26480 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26481 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26482 Likewise.
26483 * locale/setlocale.c (setlocale): Likewise.
26484 * login/programs/pt_chown.c (main): Likewise.
26485 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26486 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26487 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26488 (mmap, mmap64, mremap, munmap): Likewise.
26489 * math/e_exp2l.c: Likewise.
26490 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26491 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26492 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26493 * math/s_catan.c (__catan): Likewise.
26494 * math/s_catanf.c (__catanf): Likewise.
26495 * math/s_catanh.c (__catanh): Likewise.
26496 * math/s_catanhf.c (__catanhf): Likewise.
26497 * math/s_catanhl.c (__catanhl): Likewise.
26498 * math/s_catanl.c (__catanl): Likewise.
26499 * math/s_ccosh.c (__ccosh): Likewise.
26500 * math/s_ccoshf.c (__ccoshf): Likewise.
26501 * math/s_ccoshl.c (__ccoshl): Likewise.
26502 * math/s_cexp.c (__cexp): Likewise.
26503 * math/s_cexpf.c (__cexpf): Likewise.
26504 * math/s_cexpl.c (__cexpl): Likewise.
26505 * math/s_clog10.c (__clog10): Likewise.
26506 * math/s_clog10f.c (__clog10f): Likewise.
26507 * math/s_clog10l.c (__clog10l): Likewise.
26508 * math/s_clog.c (__clog): Likewise.
26509 * math/s_clogf.c (__clogf): Likewise.
26510 * math/s_clogl.c (__clogl): Likewise.
26511 * math/s_csin.c (__csin): Likewise.
26512 * math/s_csinf.c (__csinf): Likewise.
26513 * math/s_csinh.c (__csinh): Likewise.
26514 * math/s_csinhf.c (__csinhf): Likewise.
26515 * math/s_csinhl.c (__csinhl): Likewise.
26516 * math/s_csinl.c (__csinl): Likewise.
26517 * math/s_csqrt.c (__csqrt): Likewise.
26518 * math/s_csqrtf.c (__csqrtf): Likewise.
26519 * math/s_csqrtl.c (__csqrtl): Likewise.
26520 * math/s_ctan.c (__ctan): Likewise.
26521 * math/s_ctanf.c (__ctanf): Likewise.
26522 * math/s_ctanh.c (__ctanh): Likewise.
26523 * math/s_ctanhf.c (__ctanhf): Likewise.
26524 * math/s_ctanhl.c (__ctanhl): Likewise.
26525 * math/s_ctanl.c (__ctanl): Likewise.
26526 * math/w_pow.c: Likewise.
26527 * math/w_powf.c: Likewise.
26528 * math/w_powl.c: Likewise.
26529 * math/w_scalb.c (sysv_scalb): Likewise.
26530 * math/w_scalbf.c (sysv_scalbf): Likewise.
26531 * math/w_scalbl.c (sysv_scalbl): Likewise.
26532 * misc/error.c (error_tail): Likewise.
26533 * misc/pselect.c (__pselect): Likewise.
26534 * nis/nis_callback.c (__nis_create_callback): Likewise.
26535 * nis/nis_call.c (__nisfind_server): Likewise.
26536 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26537 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26538 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26539 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26540 * nis/nis_lookup.c (nis_lookup): Likewise.
26541 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26542 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26543 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26544 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26545 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26546 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26547 * nis/nss_compat/compat-initgroups.c (add_group)
26548 (internal_getgrent_r): Likewise.
26549 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26550 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26551 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26552 (internal_getspnam_r): Likewise.
26553 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26554 (_nss_nis_getaliasbyname_r): Likewise.
26555 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26556 (_nss_nis_getntohost_r): Likewise.
26557 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26558 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26559 (_nss_nis_getgrgid_r): Likewise.
26560 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26561 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26562 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26563 (_nss_nis_gethostbyname4_r): Likewise.
26564 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26565 (initgroups_netid): Likewise.
26566 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26567 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26568 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26569 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26570 (_nss_nis_getprotobynumber_r): Likewise.
26571 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26572 (_nss_nis_getsecretkey): Likewise.
26573 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26574 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26575 (_nss_nis_getpwuid_r): Likewise.
26576 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26577 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26578 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26579 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26580 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26581 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26582 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26583 Likewise.
26584 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26585 (_nss_nisplus_getntohost_r): Likewise.
26586 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26587 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26588 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26589 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26590 Likewise.
26591 * nis/nss_nisplus/nisplus-initgroups.c
26592 (_nss_nisplus_initgroups_dyn): Likewise.
26593 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26594 (_nss_nisplus_getnetbyaddr_r): Likewise.
26595 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26596 (_nss_nisplus_getprotobynumber_r): Likewise.
26597 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26598 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26599 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26600 Likewise.
26601 * nis/nss_nisplus/nisplus-service.c
26602 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26603 (_nss_nisplus_getservbyport_r): Likewise.
26604 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26605 (_nss_nisplus_getspnam_r): Likewise.
26606 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26607 Likewise.
26608 * nscd/aicache.c (addhstaiX): Likewise.
26609 * nscd/cache.c (cache_search, prune_cache): Likewise.
26610 * nscd/connections.c (register_traced_file, send_ro_fd)
26611 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26612 (main_loop_epoll): Likewise.
26613 * nscd/grpcache.c (addgrbyX): Likewise.
26614 * nscd/hstcache.c (addhstbyX): Likewise.
26615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26616 * nscd/mem.c (gc, mempool_alloc): Likewise.
26617 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26618 (addinnetgrX): Likewise.
26619 * nscd/nscd-client.h (__nscd_acquire_maplock)
26620 (__nscd_drop_map_ref): Likewise.
26621 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26622 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26623 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26624 Likewise.
26625 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26626 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26627 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26628 (__nscd_get_map_ref): Likewise.
26629 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26630 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26631 Likewise.
26632 * nscd/pwdcache.c (addpwbyX): Likewise.
26633 * nscd/selinux.c (preserve_capabilities): Likewise.
26634 * nscd/servicescache.c (addservbyX): Likewise.
26635 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26636 * posix/fnmatch.c (fnmatch): Likewise.
26637 * posix/getopt.c (_getopt_internal_r): Likewise.
26638 * posix/glob.c (glob, glob_in_dir): Likewise.
26639 * posix/wordexp.c (exec_comm_child): Likewise.
26640 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26641 (getanswer_r, gaih_getanswer_slice): Likewise.
26642 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26643 * resolv/res_init.c: Likewise.
26644 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26645 * resolv/res_query.c (__libc_res_nquery): Likewise.
26646 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26647 Likewise.
26648 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26649 * stdio-common/perror.c (perror): Likewise.
26650 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26651 * stdio-common/tmpnam.c (tmpnam): Likewise.
26652 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26653 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26654 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26655 Likewise.
26656 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26657 * stdlib/putenv.c (putenv): Likewise.
26658 * stdlib/setenv.c (__add_to_environ): Likewise.
26659 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26660 * stdlib/strtol_l.c (INTERNAL): Likewise.
26661 * string/memmem.c (memmem): Likewise.
26662 * string/strerror.c (strerror): Likewise.
26663 * string/strnlen.c (__strnlen): Likewise.
26664 * string/test-memmem.c (simple_memmem): Likewise.
26665 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26666 * sunrpc/pm_getport.c (__get_socket): Likewise.
26667 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26668 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26669 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26670 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26671 Likewise.
26672 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26673 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26674 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26675 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26676 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26677 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26678 Likewise.
26679 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26680 Likewise.
26681 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26682 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26683 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26684 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26685 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26687 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26688 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26689 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26690 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26691 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26692 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26693 Likewise.
26694 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26695 Likewise.
26696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26697 Likewise.
26698 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26700 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26702 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26703 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26704 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26713 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26714 Likewise.
26715 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26716 Likewise.
26717 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26718 Likewise.
26719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26720 Likewise.
26721 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26723 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26724 Likewise.
26725 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26726 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26727 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26728 * sysdeps/posix/sleep.c: Likewise.
26729 * sysdeps/posix/tempname.c: Likewise.
26730 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26731 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26732 Likewise.
26733 * sysdeps/powerpc/powerpc32/dl-machine.h
26734 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26735 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26737 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26738 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26739 Likewise.
26740 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26741 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26742 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26743 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26744 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26745 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26746 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26747 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26748 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26749 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26751 (elf_machine_lazy_rel): Likewise.
26752 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26753 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26754 (elf_machine_lazy_rel): Likewise.
26755 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26756 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26757 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26758 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26759 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26760 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26761 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26763 Likewise.
26764 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26765 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26766 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26767 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26768 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26769 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26770 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26771 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26772 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26773 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26774 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26775 Likewise.
26776 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26777 (__posix_fallocate64_l64): Likewise.
26778 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26779 (posix_fallocate): Likewise.
26780 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26781 Likewise.
26782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26783 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26784 (getifaddrs_internal): Likewise.
26785 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26786 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26787 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26788 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26789 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26790 (__posix_fallocate64_l64): Likewise.
26791 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26792 Likewise.
26793 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26794 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26795 (__get_clockfreq): Likewise.
26796 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26797 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26798 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26801 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26802 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26803 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26804 Likewise.
26805 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26806 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26807 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26808 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26809 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26810 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26811 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26812 Likewise.
26813 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26814 (posix_fallocate): Likewise.
26815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26816 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26817 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26818 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26819 (elf_machine_rela, elf_machine_rela_relative)
26820 (elf_machine_lazy_rel): Likewise.
26821 * time/asctime.c (asctime_internal): Likewise.
26822 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26823 * time/tzset.c (__tzset_parse_tz): Likewise.
26824 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26825 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26826 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26827 * wcsmbs/wcsmbsload.h: Likewise.
26828
26829 [BZ #15894]
26830 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26831
26832 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26833 (arena_get2): Remove THREAD_STATS conditionals.
26834 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26835 (__malloc_stats, int): Likewise.
26836
26837 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26838
26839 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26840 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26841
26842 * manual/setjmp.texi: Fix typos/grammar errors.
26843
26844 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26845 Only return early when n is <= 0. Delete unused return statement.
26846
26847 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26848 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26849 * debug/tst-longjmp_chk3.c: New file.
26850
26851 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26852 (test_main): Replace code with set_fortify_handler call.
26853 * debug/test-strcpy_chk.c: Likewise.
26854 * debug/tst-chk1.c: Likewise.
26855 * debug/tst-longjmp_chk.c: Likewise.
26856 * test-skeleton.c: Include fcntl.h & paths.h
26857 (set_fortify_handler): Define.
26858
26859 * debug/tst-longjmp_chk.c: Add header comment and include
26860 ../test-skeleton.c.
26861 (do_test): Mark static.
26862 (TEST_FUNCTION): Define.
26863
26864 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26865 (IP_PMTUDISC_INTERFACE): Likewise.
26866 (IP_MULTICAST_IF): Likewise.
26867 (IP_MULTICAST_TTL): Likewise.
26868 (IP_MULTICAST_LOOP): Likewise.
26869 (IP_ADD_MEMBERSHIP): Likewise.
26870 (IP_DROP_MEMBERSHIP): Likewise.
26871 (IP_UNBLOCK_SOURCE): Likewise.
26872 (IP_BLOCK_SOURCE): Likewise.
26873 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26874 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26875 (IP_MSFILTER): Likewise.
26876 (MCAST_JOIN_GROUP): Likewise.
26877 (MCAST_BLOCK_SOURCE): Likewise.
26878 (MCAST_UNBLOCK_SOURCE): Likewise.
26879 (MCAST_LEAVE_GROUP): Likewise.
26880 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26881 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26882 (MCAST_MSFILTER): Likewise.
26883 (IP_MULTICAST_ALL): Likewise.
26884 (IP_UNICAST_IF): Likewise.
26885
26886 * timezone/Makefile: Delete $(have-ksh) check.
26887 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26888 * timezone/tzselect.ksh: Add +x mode bits.
26889
26890 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26891 (ANON_INODE_FS_MAGIC): Likewise.
26892 (BDEVFS_MAGIC): Likewise.
26893 (BINFMTFS_MAGIC): Likewise.
26894 (BTRFS_TEST_MAGIC): Likewise.
26895 (CRAMFS_MAGIC_WEND): Likewise.
26896 (DEBUGFS_MAGIC): Likewise.
26897 (ECRYPTFS_SUPER_MAGIC): Likewise.
26898 (EXT3_SUPER_MAGIC): Likewise.
26899 (EXT4_SUPER_MAGIC): Likewise.
26900 (FUTEXFS_SUPER_MAGIC): Likewise.
26901 (HOSTFS_SUPER_MAGIC): Likewise.
26902 (HUGETLBFS_MAGIC): Likewise.
26903 (MINIX3_SUPER_MAGIC): Likewise.
26904 (MTD_INODE_FS_MAGIC): Likewise.
26905 (NILFS_SUPER_MAGIC): Likewise.
26906 (OPENPROM_SUPER_MAGIC): Likewise.
26907 (PIPEFS_MAGIC): Likewise.
26908 (PSTOREFS_MAGIC): Likewise.
26909 (QNX6_SUPER_MAGIC): Likewise.
26910 (RAMFS_MAGIC): Likewise.
26911 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26912 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26913 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26914 (SECURITYFS_MAGIC): Likewise.
26915 (SELINUX_MAGIC): Likewise.
26916 (SMACK_MAGIC): Likewise.
26917 (SOCKFS_MAGIC): Likewise.
26918 (SQUASHFS_MAGIC): Likewise.
26919 (STACK_END_MAGIC): Likewise.
26920 (TMPFS_MAGIC): Likewise.
26921 (USBDEVICE_SUPER_MAGIC): Likewise.
26922 (V9FS_MAGIC): Likewise.
26923 (XENFS_SUPER_MAGIC): Likewise.
26924 (CRAMFS_MAGIC): Fix typo in comment.
26925 (EXT2_SUPER_MAGIC): Update comment.
26926 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26927
26928 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26929
26930 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26931 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26932 * sysdeps/unix/sysv/linux/arm: Move directory from
26933 ports/sysdeps/unix/sysv/linux/arm.
26934 * README: Update listing for arm-*-linux-gnueabi.
26935
26936 * README: Remove mention of am33.
26937
26938 2014-02-07 Roland McGrath <roland@hack.frob.com>
26939
26940 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26941 than the comma operator, to avoid "rhs of comma has no effect"
26942 compiler warnings.
26943 (__sigfillset, __sigandset, __sigorset): Likewise.
26944 * include/signal.h (__sigemptyset): Likewise.
26945 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26946
26947 2014-02-07 Allan McRae <allan@archlinux.org>
26948
26949 * version.h (RELEASE): Set to "development".
26950 (VERSION): Set to "2.19.90"
26951 * NEWS: Add 2.20 section.
26952
26953 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26954
26955 [BZ #16529]
26956 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26957
26958 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26959
26960 * manual/contrib.texi: Update entry for Carlos O'Donell,
26961 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26962
26963 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26964
26965 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26966
26967 * sysdeps/unix/sysv/linux/kernel-features.h
26968 [__LINUX_KERNEL_VERSION >= 0x020621]
26969 (__ASSUME_PROC_PID_TASK_COMM): Define.
26970
26971 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26972
26973 [BZ #16398]
26974 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26975 conversion when destination buffer does not have enough space.
26976 * libio/tst-ftell-partial-wide.c: New test case.
26977 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26978
26979 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26980 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26981 Leonard and Allan McRae.
26982
26983 2014-02-04 David S. Miller <davem@davemloft.net>
26984
26985 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26986 32-bit.
26987
26988 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26989
26990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26991 New file
26992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26993 New file
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26995 New file.
26996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26997 New file.
26998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26999 New file.
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27001 New file.
27002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27003 New file.
27004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27005 New file.
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27007 New file.
27008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27009 New file.
27010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27011 New file.
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27013 New file.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27015 New file.
27016
27017 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27018
27019 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27020 * shlib-versions: Likewise.
27021
27022 2014-02-04 Roland McGrath <roland@hack.frob.com>
27023 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27024
27025 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27026 (abilist-pattern): New variable, set to %-le.abilist.
27027
27028 * Makerules (abilist-pattern): New variable.
27029 (vpath): Use $(abilist-pattern) in place of %.abilist.
27030 (check-abi-% pattern rule): Likewise.
27031 (check-abi, update-abi): Likewise.
27032
27033 2014-02-04 Eric Wong <normalperson@yhbt.net>
27034
27035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27036
27037 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27038
27039 * manual/startup.texi: Add next, previous, and top entries for
27040 the `Program Arguments' and `Environment Variables' nodes.
27041
27042 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27043
27044 * manual/macros.texi: Add comments before MTASC-safety macros.
27045
27046 * manual/users.texi: Document MTASC-safety properties.
27047
27048 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27049 (pthread_getspecific, pthread_setspecific): Format with
27050 @deftypefun, and add @safety note.
27051 * manual/signal.texi: Move comments that analyze the above
27052 functions to their home place.
27053
27054 2014-02-03 Allan McRae <allan@archlinux.org>
27055
27056 * po/sl.po: Update Slovenian translation from translation project.
27057
27058 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27059
27060 * manual/time.texi (timegm): Add missing blank after @c.
27061 Reported by Joseph Myers <joseph@codesourcery.com>.
27062
27063 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27064
27065 * manual/check-safety.sh: New.
27066 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27067
27068 * manual/terminal.texi: Document MTASC-safety properties.
27069
27070 * manual/filesys.texi: Document MTASC-safety properties.
27071
27072 * manual/errno.texi: Document MTASC-safety properties.
27073
27074 * manual/intro.texi: Document safety identifiers and
27075 conditionals.
27076
27077 * manual/string.texi (wcstok): Fix prototype.
27078 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27079
27080 * manual/time.texi: Document MTASC-safety properties.
27081
27082 * manual/string.texi: Document MTASC-safety properties.
27083
27084 * manual/threads.texi: Document MTASC-safety properties.
27085
27086 * manual/stdio.texi: Document MTASC-safety properties.
27087
27088 * manual/syslog.texi: Document MTASC-safety properties.
27089
27090 * manual/sysinfo.texi: Document MTASC-safety properties.
27091
27092 * manual/startup.texi: Document MTASC-safety properties.
27093
27094 * manual/socket.texi: Document MTASC-safety properties.
27095
27096 * manual/signal.texi: Document MTASC-safety properties.
27097
27098 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27099
27100 * manual/setjmp.texi: Document MTASC-safety properties.
27101
27102 * manual/search.texi: Document MTASC-safety properties.
27103
27104 * manual/resource.texi: Document MTASC-safety properties.
27105
27106 * manual/process.texi: Document MTASC-safety properties.
27107
27108 * manual/platform.texi: Document MTASC-safety properties.
27109
27110 * manual/pipe.texi: Document MTASC-safety properties.
27111
27112 * manual/pattern.texi: Document MTASC-safety properties.
27113
27114 * manual/message.texi: Document MTASC-safety properties.
27115
27116 [BZ #12751]
27117 * manual/memory.texi: Document MTASC-safety properties.
27118
27119 * manual/math.texi: Document MTASC-safety properties.
27120
27121 * manual/locale.texi: Document MTASC-safety properties.
27122
27123 * manual/llio.texi: Document MTASC-safety properties.
27124
27125 * manual/libdl.texi: New.
27126
27127 * manual/lang.texi: Document MTASC-safety properties.
27128
27129 * manual/job.texi: Document MTASC-safety properties.
27130
27131 * manual/getopt.texi: Document MTASC-safety properties.
27132
27133 * manual/ctype.texi: Document MTASC-safety properties.
27134
27135 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27136
27137 [BZ #16046]
27138 * csu/libc-tls.c (static_map): Remove variable.
27139 (__libc_setup_tls): Use main executable's link map for TLS data.
27140 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27141 casing for LM_ID_BASE and GL(dl_nns).
27142 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27143 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27144 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27145 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27146 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27147 member.
27148 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27149 l_phnum members.
27150
27151 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27152
27153 * manual/debug.texi: Document MTASC-safety properties.
27154
27155 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 [BZ #16510]
27158 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27159 of __x86_64__ when disabling x87 inline functions.
27160
27161 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27162
27163 * manual/charset.texi: Document MTASC-safety properties.
27164
27165 * manual/crypt.texi: Document MTASC-safety properties.
27166
27167 * manual/conf.texi: Document MTASC-safety properties.
27168
27169 * manual/arith.texi: Document MTASC-safety properties.
27170
27171 * manual/argp.texi: Document MTASC-safety properties.
27172
27173 * manual/macros.texi: Introduce macros to document multi
27174 thread, asynchronous signal and asynchronous cancellation
27175 safety properties.
27176 * manual/intro.texi: Introduce the properties themselves.
27177
27178 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27179
27180 * sysdeps/sh/sh4/Makefile: New file.
27181
27182 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27183
27184 * math/gen-libm-test.pl ($srcdir): New variable.
27185 ($auto_input): Use it.
27186
27187 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27188
27189 [BZ #16506]
27190 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27191 access beyond array bounds when parsing netgroups file.
27192
27193 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27194 the old buffer before realloc.
27195
27196 2014-01-27 Allan McRae <allan@archlinux.org>
27197
27198 * po/fr.po: Update French translation from translation project.
27199
27200 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27201
27202 * sysdeps/sh/libm-test-ulps: Regenerate.
27203
27204 2014-01-24 David S. Miller <davem@davemloft.net>
27205
27206 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27207
27208 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27209
27210 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27211 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27212
27213 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27214
27215 [BZ #16474]
27216 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27217 string pointers after reallocation.
27218
27219 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27220
27221 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27222 __SH4A__ instead of __SH_FPU_ANY__.
27223
27224 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27225
27226 * sysdeps/sh/fpu_control.h: New file.
27227 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27228 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27229 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27230 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27231 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27232 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27233 * sysdeps/sh/sys/ucontext.h: Remove.
27234 * sysdeps/sh/sys: Remove directory.
27235
27236 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27237
27238 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27239 s390/sys/ucontext.h.
27240 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27241 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27242
27243 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 [BZ #15605]
27246 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27247
27248 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27249
27250 [BZ#16431]
27251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27252 Adjust the vDSO correctly for internal calls.
27253 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27254
27255 2014-01-20 Allan McRae <allan@archlinux.org>
27256
27257 * po/ca.po: Update Catalan translation from translation project.
27258
27259 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27260
27261 * sysdeps/s390/sotruss-lib.c: New file.
27262
27263 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27264
27265 [BZ#16430]
27266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27267 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27268 local calls issues by not having a PLT stub required for IFUNC calls.
27269 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27270
27271 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27272
27273 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27274 * math/test-fpucw-static.c: Likewise.
27275
27276 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27277
27278 [BZ #16453]
27279 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27280
27281 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27282
27283 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27284 implementation for powerpc.
27285
27286 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27287
27288 [BZ #14782]
27289 * sysdeps/posix/system.c (__libc_system): Do not enable
27290 asynchronous cancellation.
27291
27292 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27293
27294 [BZ #16427]
27295 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27296 handling only for numbers special also in the IEEE case.
27297
27298 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27299
27300 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27301
27302 2014-01-11 Allan McRae <allan@archlinux.org>
27303
27304 * po/bg.po: Update Bulgarian translation from translation project.
27305
27306 * po/de.po: Update German translation from translation project.
27307
27308 2014-01-10 Roland McGrath <roland@hack.frob.com>
27309
27310 * sysdeps/generic/gcc-compat.h: New file.
27311
27312 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27313
27314 * benchtests/asin-inputs: Correct slow inputs.
27315 * benchtests/acos-inputs: Likewise.
27316
27317 2014-01-10 Allan McRae <allan@archlinux.org>
27318
27319 * po:sv.po: Update Swedish translation from translation project.
27320
27321 * po/vi.po: Update Vietnamese translation from translation project.
27322
27323 * po/eo.po: Update Esperanto translation from translation project.
27324
27325 * po/cs.po: Update Czech translation from translation project.
27326
27327 * po/nl.po: Update Dutch translation from translation project.
27328
27329 * po/pl.po: Update Polish translation from translation project.
27330
27331 * po/ru.po: Update Russian translation from translation project.
27332
27333 * po/uk.po: Update Ukrainian translation from translation project.
27334
27335 2014-01-08 Brooks Moses <bmoses@google.com>
27336
27337 * elf/dl-load.c: Fix comment typo.
27338
27339 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27340
27341 * po/header.pot: Rename to...
27342 * po/pot.header: ... this.
27343 * po/Makefile: Use pot.header.
27344
27345 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27346 Maxim Kuvyrkov <maxim@kugelworks.com>
27347
27348 [BZ #16394]
27349 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27350 SRC and DEST against LEN.
27351
27352 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27353
27354 [BZ #16414]
27355 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27356 implementation.
27357 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27358
27359 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27360
27361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27362
27363 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27364
27365 [BZ #16408]
27366 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27367 for large positive arguments.
27368
27369 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27370
27371 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27372
27373 * math/auto-libm-test-in: Mark various tests with
27374 xfail-rounding:ldbl-128ibm.
27375 * math/auto-libm-test-out: Regenerated.
27376
27377 [BZ #16407]
27378 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27379 Increase overflow threshold.
27380
27381 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27382
27383 [BZ #14286]
27384 * stdio-common/vfprintf.c: Check for integer overflow.
27385
27386 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27387
27388 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27389 the first argument and return value of __tls_get_addr_internal.
27390
27391 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27392
27393 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27394 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27395
27396 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27397
27398 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27399 * sysdeps/s390/rtld-global-offsets.sym: New file.
27400 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27401 GLIBC_2.19 symbol.
27402 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27404 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27405 ... this.
27406 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27407 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27408 ... this.
27409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27410 Regenerate.
27411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27412 Regenerate.
27413 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27414 halfs of GPRs for high_gprs contexts.
27415 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27416 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27417 field.
27418 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27419 uc_flags field.
27420 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27421 64 bit versions:
27422 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27423 for high GPRs (uc_high_gprs) and for future extensions
27424 (__reserved).
27425 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27426 for future extensions (__reserved).
27427 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27428 64 bit versions:
27429 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27430 SC_HIGHGPRS offset definition.
27431 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27432 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27433
27434 * Versions.def: Add GLIBC_2.19 for libpthread.
27435 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27436 siglongjmp for libpthread with GLIBC_2.19 symver.
27437 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27438 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27439 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27440 * sysdeps/s390/__longjmp.c: New file.
27441 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27442 * sysdeps/s390/longjmp.c: New file.
27443 * sysdeps/s390/setjmp.S: New file.
27444 * sysdeps/s390/sigjmp.S: New file.
27445 * sysdeps/s390/v1-longjmp.c: New file.
27446 * sysdeps/s390/v1-setjmp.h: New file.
27447 * sysdeps/s390/v1-sigjmp.c: New file.
27448 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27449 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27450 GLIBC_2.19 version.
27451 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27452 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27453 versioned symbols for ____longjmp_chk.
27454 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27455 Likewise.
27456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27457 Regenerate.
27458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27459 Regenerate.
27460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27461 Regenerate.
27462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27463 Regenerate.
27464 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27465 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27466 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27467 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27468 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27469 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27470 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27471 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27472 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27473 * sysdeps/s390/rtld-__longjmp.c: New file.
27474 * sysdeps/s390/rtld-setjmp.S: New file.
27475
27476 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27477
27478 [BZ #16400]
27479 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27480 Return -__logl (x) for small positive arguments without evaluating
27481 a polynomial.
27482
27483 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27484
27485 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27486 Rename to ...
27487 (__ptrace_peeksiginfo_args): ... this.
27488 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27491
27492 2014-01-06 Allan McRae <allan@archlinux.org>
27493
27494 * inet/netinet/in.h: Fix typo in comment.
27495
27496 2014-01-05 Andreas Jaeger <aj@suse.de>
27497
27498 * sysdeps/i386/fpu/libm-test-ulps: Update.
27499
27500 2014-01-05 Allan McRae <allan@archlinux.org>
27501
27502 * po/libc.pot: Regenerated.
27503
27504 * malloc/memusagestat.c: Fix gettext call formatting.
27505
27506 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27507
27508 * nscd/nscd.c: Improve usage() output.
27509
27510 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27511
27512 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27513 * sysdeps/unix/sysv/linux/configure: Regenerated.
27514 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27515 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27516
27517 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27518
27519 [BZ #16390]
27520 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27521 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27522
27523 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27524
27525 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27526 extra tokens at end of #undef directive.
27527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27528 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27530
27531 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27532
27533 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27534
27535 * math/auto-libm-test-in: Mark various tests with
27536 xfail-rounding:ldbl-128ibm.
27537 * math/auto-libm-test-out: Regenerated.
27538
27539 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27540
27541 [BZ #16386]
27542 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27543 numbers with subnormal high part when calculating exponent.
27544
27545 [BZ #16385]
27546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27547 fabs.
27548
27549 [BZ #16384]
27550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27551 M_LN2l.
27552 (__ieee754_acoshl): Use __log1pl not __log1p.
27553
27554 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27555
27556 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27557 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27558 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27559 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27560 (reused_arena, arena_get2): Convert to GNU style.
27561 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27562 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27563 (memalign_check, __malloc_set_state): Likewise.
27564 * malloc/mallocbug.c (main): Likewise.
27565 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27566 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27567 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27568 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27569 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27570 (__posix_memalign, malloc_info): Likewise.
27571 * malloc/malloc.h: Likewise.
27572 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27573 (mallochook, memalignhook, reallochook, mabort): Likewise.
27574 * malloc/mcheck.h: Likewise.
27575 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27576 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27577 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27578 * malloc/morecore.c (__default_morecore): Likewise.
27579 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27580 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27581 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27582 (print_and_abort): Likewise.
27583 * malloc/obstack.h: Likewise.
27584 * malloc/set-freeres.c (__libc_freeres): Likewise.
27585 * malloc/tst-mallocstate.c (main): Likewise.
27586 * malloc/tst-mtrace.c (main): Likewise.
27587 * malloc/tst-realloc.c (do_test): Likewise.
27588
27589 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27590
27591 [BZ #16366]
27592 * nscd/netgroupcache.c (do_notfound): New function.
27593 (addgetnetgrentX): Use it.
27594
27595 [BZ # 16365]
27596 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27597 NSS_STATUS_NOTFOUND.
27598
27599 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27600
27601 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27603
27604 2014-01-01 Allan McRae <allan@archlinux.org>
27605
27606 * scripts/update-copyrights: Update configure input file suffix.
27607
27608 * NEWS: Update copyright year.
27609 * catgets/gencat.c: Likewise.
27610 * csu/version.c: Likewise.
27611 * debug/catchsegv.sh: Likewise.
27612 * debug/pcprofiledump.c: Likewise.
27613 * debug/xtrace.sh: Likewise.
27614 * elf/ldconfig.c: Likewise.
27615 * elf/ldd.bash.in: Likewise.
27616 * elf/pldd.c: Likewise.
27617 * elf/sotruss.ksh: Likewise.
27618 * elf/sprof.c: Likewise.
27619 * iconv/iconv_prog.c: Likewise.
27620 * iconv/iconvconfig.c: Likewise.
27621 * locale/programs/locale.c: Likewise.
27622 * locale/programs/localedef.c: Likewise.
27623 * login/programs/pt_chown.c: Likewise.
27624 * malloc/memusage.sh: Likewise.
27625 * malloc/memusagestat.c: Likewise.
27626 * malloc/mtrace.pl: Likewise.
27627 * manual/libc.texinfo: Likewise.
27628 * nscd/nscd.c: Likewise.
27629 * nss/getent.c: Likewise.
27630 * nss/makedb.c: Likewise.
27631 * posix/getconf.c: Likewise.
27632 * scripts/test-installation.pl: Likewise.
27633
27634 * All files with FSF copyright notices: Update copyright dates
27635 using scripts/update-copyrights.
27636 * intl/plural.c: Regenerated.
27637 * locale/programs/charmap-kw.h: Likewise.
27638 * locale/programs/locfile-kw.h: Likewise.
27639
27640 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27641
27642 * sysdeps/unix/sysv/linux/configure: Regenerated.
27643 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27644 the linux/fanotify.h header.
27645 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27646 HAVE_LINUX_FANOTIFY_H is defined.
27647
27648 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27649
27650 * benchtests/cos-inputs: New inputs.
27651 * benchtests/sin-inputs: Likewise.
27652
27653 * benchtests/atan-inputs: New inputs. Fix name of multiple
27654 precision fallback inputs.
27655
27656 * benchtests/atanh-inputs: New inputs.
27657 * benchtests/tanh-inputs: Likewise.
27658
27659 * benchtests/acosh-inputs: New inputs.
27660 * benchtests/asinh-inputs: Likewise.
27661
27662 * benchtests/cosh-inputs: New inputs.
27663 * benchtests/sinh-inputs: Likewise.
27664
27665 * benchtests/acos-inputs: Add more inputs.
27666 * benchtests/asin-inputs: Likewise.
27667
27668 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27669
27670 [BZ #16375]
27671 * manual/arith.texi: Fix spelling.
27672 * manual/charset.texi: Likewise.
27673 * manual/errno.texi: Likewise.
27674 * manual/filesys.texi: Likewise.
27675 * manual/lang.texi: Likewise.
27676 * manual/llio.texi: Likewise.
27677 * manual/locale.texi: Likewise.
27678 * manual/message.texi: Likewise.
27679 * manual/resource.texi: Likewise.
27680 * manual/search.texi: Likewise.
27681 * manual/setjmp.texi: Likewise.
27682 * manual/stdio.texi: Likewise.
27683 * manual/string.texi: Likewise.
27684 * manual/sysinfo.texi: Likewise.
27685 * manual/time.texi: Likewise.
27686
27687 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27688
27689 * po/sl.po: New file.
27690
27691 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27692
27693 * .gitignore: Add core/.gdbinit/.gdb_history.
27694
27695 2013-12-27 Allan McRae <allan@archlinux.org>
27696
27697 [BZ #16369]
27698 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27699 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27700
27701 2013-12-24 Brooks Moses <bmoses@google.com>
27702
27703 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27704 all compilers that claim C++98 compliance, not just GCC.
27705 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27706 Likewise.
27707
27708 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27709
27710 * NEWS: Restore accidentally deleted bug-fix entries.
27711
27712 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27713 Ondřej Bílka <neleai@seznam.cz>
27714
27715 [BZ #15073]
27716 * malloc/malloc.c (_int_free): Perform sanity check only if we
27717 have_lock.
27718
27719 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27720
27721 [BZ #12986]
27722 * manual/stdio.texi (String Input Conversions): Clarify that character
27723 classes are not supported.
27724
27725 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27726
27727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27728
27729 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27730
27731 [BZ #16337]
27732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27733 Calculate results for small negative arguments directly rather
27734 than using reflection formula with special underflow handling.
27735
27736 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27737 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27738 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27739 (fchflags): Likewise.
27740 (revoke): Likewise.
27741 (setlogin): Likewise.
27742 (sigaltstack): Likewise.
27743 (wait4): Likewise.
27744 (sigblock): Remove.
27745 (sigsetmask): Likewise.
27746 (wait3): Likewise.
27747 (waitpid): Likewise.
27748 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27749 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27750 file.
27751 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27752 * sysdeps/unix/bsd/Makefile: ... here.
27753 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27754 * sysdeps/unix/bsd/Versions: ... here.
27755 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27756 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27757 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27758 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27759 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27760 * sysdeps/unix/bsd/sigblock.c: ... here.
27761 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27762 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27763 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27764 * sysdeps/unix/bsd/sigvec.c: ... here.
27765 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27766 * sysdeps/unix/bsd/tcdrain.c: ... here.
27767 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27768 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27769 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27770 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27771 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27772 * sysdeps/unix/bsd/wait.c: ... here.
27773 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27774 * sysdeps/unix/bsd/wait3.c: ... here.
27775 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27776 * sysdeps/unix/bsd/waitpid.c: ... here.
27777
27778 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27779
27780 [BZ #16356]
27781 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27782 round-to-nearest for [!USE_AS_EXPM1L].
27783 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27784 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27785 more tests of exp and exp10. Expect some exp10 tests to miss
27786 exceptions or fail in directed rounding modes.
27787 * math/auto-libm-test-out: Regenerated.
27788 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27789 (exp10_test_tonearest): New function.
27790 (exp10_towardzero_test_data): New array.
27791 (exp10_test_towardzero): New function.
27792 (exp10_downward_test_data): New array.
27793 (exp10_test_downward): New function.
27794 (exp10_upward_test_data): New array.
27795 (exp10_test_upward): New function.
27796 (main): Call the new functions.
27797 * sysdeps/i386/fpu/libm-test-ulps: Update.
27798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27799
27800 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27801
27802 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27803 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27804 * math/auto-libm-test-out: Regenerated.
27805 * math/libm-test.inc (acosh_test_data): Add more tests.
27806 (atanh_test_data): Likewise.
27807 (ceil_test_data): Likewise.
27808 (copysign_test_data): Likewise.
27809 * sysdeps/i386/fpu/libm-test-ulps: Update.
27810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27811
27812 * timezone/checktab.awk: Update from tzcode 2013i.
27813 * timezone/private.h: Likewise.
27814 * timezone/scheck.c: Likewise.
27815 * timezone/tzfile.h: Likewise.
27816 * timezone/tzselect.ksh: Likewise.
27817 * timezone/zdump.c: Likewise.
27818 * timezone/zic.c: Likewise.
27819
27820 * math/auto-libm-test-in: Add tests of cpow.
27821 * math/auto-libm-test-out: Regenerated.
27822 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27823 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27824 mpc_cc_c.
27825 (func_calc_desc): Add mpc_cc_c union field.
27826 (test_functions): Add cpow.
27827 (special_fill_2pi): New function.
27828 (special_real_inputs): Add 2pi.
27829 (calc_generic_results): Handle mpc_cc_c.
27830 * sysdeps/i386/fpu/libm-test-ulps: Update.
27831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27832
27833 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27834 csqrt, ctan and ctanh.
27835 * math/auto-libm-test-out: Regenerated.
27836 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27837 (TEST_COND_x86): Likewise.
27838 (ccos_test_data): Use AUTO_TESTS_c_c.
27839 (ccosh_test_data): Likewise.
27840 (cexp_test_data): Likewise.
27841 (clog_test_data): Likewise.
27842 (csqrt_test_data): Likewise.
27843 (ctan_test_data): Likewise.
27844 (ctan_tonearest_test_data): Likewise.
27845 (ctan_towardzero_test_data): Likewise.
27846 (ctan_downward_test_data): Likewise.
27847 (ctan_upward_test_data): Likewise.
27848 (ctanh_test_data): Likewise.
27849 (ctanh_tonearest_test_data): Likewise.
27850 (ctanh_towardzero_test_data): Likewise.
27851 (ctanh_downward_test_data): Likewise.
27852 (ctanh_upward_test_data): Likewise.
27853 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27854 mpc_c_c.
27855 (func_calc_desc): Add mpc_c_c union field.
27856 (FUNC_mpc_c_c): New macro.
27857 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27858 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27859 ctanh.
27860 (special_fill_min_subnorm_p120): New function.
27861 (special_real_inputs): Add min_subnorm_p120.
27862 (calc_generic_results): Handle mpc_c_c.
27863 * sysdeps/i386/fpu/libm-test-ulps: Update.
27864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27865
27866 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27867
27868 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27869 (do_sin_slow): New functions.
27870 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27871 (cslow2, csloww1, csloww2): Use the new functions.
27872
27873 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27874 Use M to change sign of result instead of X. Assume X is
27875 positive.
27876 (csloww1): Likewise.
27877 (__sin): Adjust.
27878 (__cos): Adjust.
27879
27880 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27881 arguments A and DA.
27882 (__sin): Adjust.
27883 (__cos): Likewise.
27884
27885 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27886 (__cos): Likewise.
27887 (sloww1): Don't adjust sign of DX.
27888 (csloww1): Likewise.
27889 (sloww2): Use X directly and don't adjust sign of DX.
27890 (csloww2): Likewise.
27891
27892 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27893
27894 * math/auto-libm-test-in: Add tests of cabs and carg.
27895 * math/auto-libm-test-out: Regenerated.
27896 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27897 (carg_test_data): Likewise.
27898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27899 mpc_c_f.
27900 (func_calc_desc): Add mpc_c_f union field.
27901 (test_functions): Add cabs and carg.
27902 (calc_generic_results): Handle mpc_c_f.
27903
27904 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27905 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27906 as a macro and a compat symbol.
27907 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27908 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27909 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27910 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27911 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27912 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27913 not use .hidden.
27914 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27915 Likewise.
27916 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27917 Likewise.
27918 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27919 Likewise.
27920 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27921 Likewise.
27922 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27923 Likewise.
27924 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27925 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27926 from GLIBC_2.3.2.
27927
27928 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27929
27930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27931
27932 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27933
27934 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27935 trailing whitespace removed.
27936 * scripts/config.guess: Update to version 2013-11-29.
27937 * scripts/config.sub: Update to version 2013-10-01.
27938
27939 * math/auto-libm-test-in: Add tests of sincos.
27940 * math/auto-libm-test-out: Regenerated.
27941 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27942 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27943 mpfr_f_11.
27944 (func_calc_desc): Add mpfr_f_11 union field.
27945 (test_functions): Add sincos.
27946 (calc_generic_results): Handle mpfr_f_11.
27947 * sysdeps/i386/fpu/libm-test-ulps: Update.
27948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27949
27950 2013-12-19 Andreas Schwab <schwab@suse.de>
27951
27952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27953 CALL_MCOUNT.
27954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27955 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27956 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27957
27958 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27959
27960 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27961 * sysdeps/i386/fpu/libm-test-ulps: Update.
27962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27963
27964 [BZ #16293]
27965 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27966 round-to-nearest mode when using frndint.
27967 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27968 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27969 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27970 Likewise.
27971 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27972 sinh test to fail.
27973 * math/auto-libm-test-out: Regenerated.
27974 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27975 (TEST_COND_x86): Likewise.
27976 (expm1_tonearest_test_data): New array.
27977 (expm1_test_tonearest): New function.
27978 (expm1_towardzero_test_data): New array.
27979 (expm1_test_towardzero): New function.
27980 (expm1_downward_test_data): New array.
27981 (expm1_test_downward): New function.
27982 (expm1_upward_test_data): New array.
27983 (expm1_test_upward): New function.
27984 (main): Run the new test functions.
27985 * sysdeps/i386/fpu/libm-test-ulps: Update.
27986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27987
27988 * include/features.h: Update comment documenting feature test
27989 macros. Mention _DEFAULT_SOURCE in comment.
27990 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27991 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27992 _BSD_SOURCE and _SVID_SOURCE.
27993 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27994 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27995 !_SVID_SOURCE]: Likewise.
27996 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27997 (__USE_POSIX_IMPLICITLY): Define.
27998 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27999 (_POSIX_SOURCE): Undefine and redefine.
28000 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28001 (_POSIX_C_SOURCE): Likewise.
28002 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28003 (Feature Test Macros): Update documentation of default features.
28004
28005 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28006
28007 * benchtests/Makefile: Add bench-strtok.
28008 * benchtests/bench-strtok.c: New file: strtok benchtest.
28009
28010 2013-12-19 Allan McRae <allan@archlinux.org>
28011
28012 * manual/install.texi: Suppress menu for plain text output.
28013 * INSTALL: Regenerated.
28014
28015 2013-12-18 Brooks Moses <bmoses@google.com>
28016
28017 [BZ #15846]
28018 * misc/getauxval.c: Include errno.h.
28019 (__getauxval): Set errno to ENOENT if the requested type is not
28020 found.
28021 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28022 don't declare with __attribute_const__.
28023 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28024 * manual/startup.texi: Document that getauxval sets errno.
28025
28026 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28027
28028 * math/auto-libm-test-in: Add tests of jn and yn.
28029 * math/auto-libm-test-out: Regenerated.
28030 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28031 (yn_test_data): Likewise.
28032 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28033 mpfr_if_f.
28034 (func_calc_desc): Add mpfr_if_f union field.
28035 (FUNC_mpfr_if_f): New macro.
28036 (test_functions): Add jn and yn.
28037 (calc_generic_results): Assert type of second input for
28038 mpfr_ff_f. Handle mpfr_if_f.
28039 (output_for_one_input_case): Disable all checking for arguments
28040 fitting floating-point types in case of an integer argument.
28041 * sysdeps/i386/fpu/libm-test-ulps: Update.
28042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28043
28044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28045 Don't expect fegetround reference in libm.so.
28046
28047 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28048
28049 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28050 $(config-cflags-nofma).
28051
28052 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28053
28054 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28055 * math/auto-libm-test-out: Regenerated.
28056
28057 [BZ #16338]
28058 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28059 to determine exponent and adjust argument to have exponent of -1.
28060 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28061 log2.
28062 * math/auto-libm-test-out: Regenerated.
28063 * sysdeps/i386/fpu/libm-test-ulps: Update.
28064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28065
28066 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28067
28068 * manual/probes.texi: Remove cases when per-thread arenas are
28069 disabled.
28070
28071 2013-12-18 Andreas Schwab <schwab@suse.de>
28072
28073 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28074 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28075 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28076 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28077 * sysdeps/i386/i686/multiarch/Makefile: Update.
28078 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28079
28080 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28081
28082 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28083 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28084
28085 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28086
28087 [BZ #15968]
28088 Support TZ transition times < 00:00:00.
28089 This is needed for version-3 tz-format files; it supports time
28090 stamps past 2037 for America/Godthab (the only entry in the tz
28091 database for which this change is relevant).
28092 * manual/time.texi (TZ Variable): Document transition times
28093 from -167:59:59 through -00:00:01.
28094 * time/tzset.c (tz_rule): Time of day is now signed.
28095 (__tzset_parse_tz): Parse negative time of day.
28096
28097 Document TZ transition times >= 25:00:00.
28098 * manual/time.texi (TZ Variable): Document transition times from
28099 25:00:00 through 167:59:59. These are already supported, and this
28100 support will help with version-3 tz-format files.
28101
28102 * manual/time.texi (TZ Variable): Modernize North America example
28103 to reflect current (i.e., 2007-and-later) daylight saving rules.
28104
28105 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28106
28107 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28108
28109 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28110 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28113 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28114 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28115 * sysdeps/unix/bsd/clock.c: Likewise.
28116 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28117 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28118 * sysdeps/unix/bsd/init-posix.c: Likewise.
28119 * sysdeps/unix/bsd/poll.c: Likewise.
28120 * sysdeps/unix/bsd/ptsname.c: Likewise.
28121 * sysdeps/unix/bsd/seekdir.c: Likewise.
28122 * sysdeps/unix/bsd/setegid.c: Likewise.
28123 * sysdeps/unix/bsd/seteuid.c: Likewise.
28124 * sysdeps/unix/bsd/setgid.c: Likewise.
28125 * sysdeps/unix/bsd/setrgid.c: Likewise.
28126 * sysdeps/unix/bsd/setruid.c: Likewise.
28127 * sysdeps/unix/bsd/setsid.c: Likewise.
28128 * sysdeps/unix/bsd/setuid.c: Likewise.
28129 * sysdeps/unix/bsd/sigaction.c: Likewise.
28130 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28131 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28132 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28133 * sysdeps/unix/bsd/telldir.c: Likewise.
28134 * sysdeps/unix/bsd/times.c: Likewise.
28135 * sysdeps/unix/bsd/usleep.c: Likewise.
28136
28137 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28138 ($(objpfx)libbsd-compat.a): Remove rule.
28139
28140 * include/features.h (__FAVOR_BSD): Do not define.
28141 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28142 features conflicting with POSIX.
28143 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28144 (_BSD_SOURCE): Remove description of not being a subset of other
28145 feature test macros.
28146 * manual/job.texi (getpgrp): Do not document BSD version.
28147 (getpgid): Do not document by reference to BSD getpgrp.
28148 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28149 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28150 * signal/signal.h [__FAVOR_BSD]: Likewise.
28151 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28152 instead of making contents conditional on [__FAVOR_BSD].
28153 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28154
28155 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28156
28157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28158
28159 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28160
28161 [BZ #16314]
28162 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28163 values below 2**-450, not 2**-500.
28164 * math/auto-libm-test-in: Don't allow spurious underflow from
28165 hypot.
28166 * math/auto-libm-test-out: Regenerated.
28167
28168 [BZ #16316]
28169 [BZ #16330]
28170 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28171 values of ha and hb and sort them after adjusting subnormal
28172 arguments.
28173 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28174 Likewise.
28175 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28176 values of ea and eb and sort them after adjusting subnormal
28177 arguments.
28178 * math/auto-libm-test-in: Do not expect some hypot tests of
28179 subnormals to fail. Add more hypot tests.
28180 * math/auto-libm-test-out: Regenerated.
28181
28182 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28183
28184 [BZ #13304]
28185 * sysdeps/sh/s_fma.c: New file.
28186 * sysdeps/sh/s_fmaf.c: New file.
28187 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28188 version.
28189 * sysdeps/sh/Implies: Add sh/soft-fp.
28190
28191 2013-12-16 Roland McGrath <roland@hack.frob.com>
28192
28193 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28194 level of indirection to members `objname', `errstring', `malloced'.
28195 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28196 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28197 it as the __longjmp argument (just pass 1 instead).
28198 (_dl_catch_error): Initialize C with argument pointers and address of
28199 volatile local ERRCODE rather than copying values out of C at return.
28200
28201 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28202
28203 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28204 * math/auto-libm-test-out: Regenerated.
28205 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28206 (hypot_test_data): Likewise.
28207 (pow_test_data): Likewise.
28208 (pow_tonearest_test_data): Likewise.
28209 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28210 mpfr_ff_f.
28211 (func_calc_desc): Add mpfr_ff_f union field.
28212 (FUNC_mpfr_ff_f): New macro.
28213 (test_functions): Add atan2, hypot and pow.
28214 (special_fill_min): New function.
28215 (special_fill_minus_min): Likewise.
28216 (special_fill_min_subnorm): Likewise.
28217 (special_fill_minus_min_subnorm): Likewise.
28218 (special_real_inputs): Add min, -min, min_subnorm and
28219 -min_subnorm.
28220 (calc_generic_results): Handle mpfr_ff_f.
28221 * sysdeps/i386/fpu/libm-test-ulps: Update.
28222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28223
28224 2013-12-16 Will Newton <will.newton@linaro.org>
28225
28226 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28227 (Aligned Memory Blocks): Add documentation for aligned_alloc
28228 and suggest it as an alternative to posix_memalign.
28229 (Hooks for Malloc): Document __memalign_hook is also called
28230 for aligned_alloc. (Summary of Malloc): Add summary for
28231 aligned alloc. Document __memalign_hook is also called
28232 for aligned_alloc.
28233
28234 2013-12-16 Will Newton <will.newton@linaro.org>
28235
28236 * manual/memory.texi (Malloc Examples): Clarify default
28237 alignment documentation. Suggest posix_memalign rather
28238 than memalign or valloc.
28239 (Aligned Memory Blocks): Remove suggestion to use memalign
28240 or valloc. Remove obsolete comment about BSD.
28241 Document memalign errno values and mark the function obsolete.
28242 Document posix_memalign returned error codes. Mark valloc
28243 as obsolete. (Hooks for Malloc): __memalign_hook is also
28244 called for posix_memalign and valloc.
28245 (Summary of Malloc): Add posix_memalign to function summary.
28246 __memalign_hook is also called for posix_memalign and valloc.
28247
28248 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28249
28250 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28251 TAYLOR_SIN.
28252 (__sin): Adjust.
28253 (__cos): Likewise.
28254 (sloww): Use mynumber union. Expand ternary operator into
28255 if-else statements.
28256 (cslow): use mynumber union.
28257
28258 2013-12-16 Allan McRae <allan@archlinux.org>
28259
28260 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28261 * configure: Regenerated.
28262
28263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28264
28265 [BZ #14120]
28266 * configure.ac: Added --enable-maintainer-mode. Check for
28267 autoconf when enabled.
28268 * configure: Regenerated.
28269
28270 * nscd/nscd.service: New file.
28271 * nscd/nscd.tmpfiles: New file.
28272
28273 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28274
28275 [BZ #12100]
28276 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28277 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28278 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28279 (strstr): Add __strstr_sse2_unaligned ifunc.
28280 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28281 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28282 (strcasestr): Remove __strcasestr_sse42 ifunc.
28283 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28286
28287 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28288
28289 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28290 * sysdeps/sh/bits/fenv.h: ... here.
28291 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28292
28293 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28294
28295 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28296
28297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28298 hypotf multiarch implementations.
28299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28302 multiarch hypot for PPC64.
28303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28306 multiarch hypotf for PPC64.
28307
28308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28309 modff multiarch implementations.
28310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28313 multiarch modf for PPC64.
28314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28317 multiarch modff for PPC64.
28318
28319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28320 and logl multiarch implementations.
28321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28324 multiarch logb for PPC64.
28325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28328 multiarch logb for PPC64.
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28332 multiarch logb for PPC64.
28333
28334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28335 isinff multiarch implementation.
28336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28337 file.
28338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28340 multiarch isinf for PPC64.
28341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28342 file.
28343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28344 multiarch isinff for PPC64.
28345
28346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28347 finitef multiarch implementation.
28348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28349 file.
28350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28352 multiarch finite for PPC64.
28353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28354 file.
28355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28356 multiarch finitef for PPC64.
28357
28358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28359 lrint multiarch implementation.
28360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28361 file.
28362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28364 multiarch llrint for PPC64.
28365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28366 multiarch lrint for PPC64.
28367
28368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28369 copysignf multiarch implementation.
28370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28371 file.
28372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28373 file.
28374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28375 multiarch copysign for PPC64.
28376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28377 multiarch copysignf for PPC64.
28378
28379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28380 multiarch implementation.
28381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28382 file.
28383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28384 file.
28385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28386 file.
28387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28388 file.
28389 multiarch llround for PPC64.
28390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28391 multiarch trunc for PPC64.
28392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28393 multiarch truncf for PPC64.
28394
28395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28396 multiarch implementation.
28397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28398 file.
28399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28400 file.
28401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28402 file.
28403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28404 file.
28405 multiarch llround for PPC64.
28406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28407 multiarch round for PPC64.
28408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28409 multiarch roundf for PPC64.
28410
28411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28412 multiarch implementation.
28413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28414 file.
28415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28416 file.
28417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28418 file.
28419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28420 file.
28421 multiarch llround for PPC64.
28422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28423 multiarch floor for PPC64.
28424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28425 multiarch floorf for PPC64.
28426
28427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28428 multiarch implementation.
28429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28430 file.
28431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28432 file.
28433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28434 file.
28435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28436 file.
28437 multiarch llround for PPC64.
28438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28439 multiarch ceil for PPC64.
28440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28441 multiarch ceilf for PPC64.
28442
28443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28444 multiarch implementation.
28445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28446 file.
28447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28448 file.
28449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28450 file.
28451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28452 multiarch llround for PPC64.
28453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28454 multiarch lround for PPC64.
28455
28456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28457 multiarch implementation.
28458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28461 file.
28462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28465 multiarch isnan for PPC64.
28466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28467 multiarch isnanf for PPC64.
28468
28469 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28470 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28471 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28472 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28473 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28475
28476 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28477 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28479 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28480
28481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28482 multiarch implementations.
28483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28484 (__libc_ifunc_impl_list): Likewise.
28485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28487 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28488 multiarch stpcpy for PPC64.
28489
28490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28491 multiarch implementations.
28492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28493 (__libc_ifunc_impl_list): Likewise.
28494 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28495 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28496 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28497 multiarch strcpy for PPC64.
28498
28499 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28500 redefine function name.
28501 (_wordcopy_fwd_dest_aligned): Likewise.
28502 (_wordcopy_bwd_aligned): Likewise.
28503 (_wordcopy_bwd_dest_aligned): Likewise.
28504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28505 multiarch implementations.
28506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28507 (__libc_ifunc_impl_list): Likewise.
28508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28510 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28511 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28512 multiarch wcscpy for PPC64.
28513
28514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28515 multiarch implementations.
28516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28517 (__libc_ifunc_impl_list): Likewise.
28518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28521 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28522 multiarch wcscpy for PPC64.
28523
28524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28525 multiarch implementations.
28526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28527 (__libc_ifunc_impl_list): Likewise.
28528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28530 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28531 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28532 multiarch wcsrchr for PPC64.
28533
28534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28535 multiarch implementations.
28536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28537 (__libc_ifunc_impl_list): Likewise.
28538 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28539 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28540 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28541 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28542 multiarch wcschr for PPC64.
28543
28544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28545 multiarch implementations.
28546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28547 (__libc_ifunc_impl_list): Likewise.
28548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28549 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28550 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28551 multiarch strchrnul for PPC64.
28552
28553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28554 implementations.
28555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28556 (__libc_ifunc_impl_list): Likewise.
28557 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28558 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28559 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28560 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28561 strchr for PPC64.
28562
28563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28564 implementations.
28565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28566 (__libc_ifunc_impl_list): Likewise.
28567 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28570 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28571 strncmp for PPC64.
28572
28573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28574 multiarch implementations.
28575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28576 (__libc_ifunc_impl_list): Likewise.
28577 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28578 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28579 strncasecmp for PPC64.
28580 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28581 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28582 multiarch strncasecmp_l for PPC64.
28583
28584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28585 multiarch implementations.
28586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28587 (__libc_ifunc_impl_list): Likewise.
28588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28590 multiarch strcasecmp for PPC64.
28591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28592 file.
28593 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28594 multiarch strcasecmp_l for PPC64.
28595
28596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28597 implementations.
28598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28599 (__libc_ifunc_impl_list): Likewise.
28600 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28601 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28602 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28603 strnlen for PPC64.
28604
28605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28606 implementations.
28607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28608 (__libc_ifunc_impl_list): Likewise.
28609 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28610 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28611 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28612 strlen for PPC64.
28613
28614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28615 implementations.
28616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28617 (__libc_ifunc_impl_list): Likewise.
28618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28619 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28620 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28621 rawmemrchr for PPC64.
28622
28623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28624 implementation.
28625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28626 (__libc_ifunc_impl_list): Likewise.
28627 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28628 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28629 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28630 memrchr for PPC64.
28631
28632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28633 implementation.
28634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28635 (__libc_ifunc_impl_list): Likewise.
28636 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28637 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28638 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28639 memchr for PPC64.
28640
28641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28642 implementation.
28643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28644 (__libc_ifunc_impl_list): Likewise.
28645 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28646 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28648 mempcpy for PPC64.
28649
28650 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28651 avoid cretion of __bzero symbol.
28652 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28653 Likewise.
28654 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28655 Likewise.
28656 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28657 Likewise.
28658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28659 multiarch implementations.
28660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28661 (__libc_ifunc_impl_list): Likewise.
28662 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28663 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28664 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28665 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28666 bzero for PPC32.
28667 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28668 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28669 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28670 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28671 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28672 memset for PPC64.
28673 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28674
28675 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28677 implementations.
28678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28679 (__libc_ifunc_impl_list): Likewise.
28680 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28681 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28682 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28683 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28684 memcmp for PPC64.
28685
28686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28687 multiarch for POWER/PPC64.
28688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28689 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28696 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28697 memcpy for PPC64.
28698
28699 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28700 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28701 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28702 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28703 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28704 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28705 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28706 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28707 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28708 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28709 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28710 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28711 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28712 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28713 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28721
28722 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28723
28724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28725
28726 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28727
28728 * benchtests/Makefile (bench): Add exp2 and log2.
28729 (LDLIBS-bench-exp2): Add -lm.
28730 (LDLIBS-bench-log2): Likewise.
28731 * benchtests/exp2-inputs: New inputs file.
28732 * benchtests/log2-inputs: New inputs file.
28733 * benchtests/log-inputs: Add new inputs.
28734 * benchtests/tan-inputs: Likewise.
28735
28736 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28737
28738 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28739 definition...
28740 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28741 (csloww2): ... from here.
28742
28743 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28744 instead of structures.
28745 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28746 (POLYNOMIAL): Likewise.
28747 (TAYLOR_SLOW): Likewise.
28748 (__sin): Likewise.
28749 (__cos): Likewise.
28750 (slow1): Likewise.
28751 (slow2): Likewise.
28752 (sloww): Likewise.
28753 (sloww1); Likewise.
28754 (sloww2): Likewise.
28755 (bsloww1): Likewise.
28756 (bsloww2): Likewise.
28757 (cslow2): Likewise.
28758 (csloww): Likewise.
28759 (csloww1): Likewise.
28760 (csloww2): Likewise.
28761
28762 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28763
28764 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28765 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28766 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28767 * malloc/hooks.c (realloc_check): Likewise.
28768
28769 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28770 * malloc/arena.c: Remove PER_THREAD conditional.
28771 [!PER_THREAD]: Remove code.
28772 (ptmalloc_unlock_all2): Likewise.
28773 (ptmalloc_init): Likewise.
28774 (_int_new_arena): Likewise.
28775 (arena_get2): Likewise.
28776 * malloc/hooks.c (__malloc_get_state): Likewise.
28777 (__malloc_set_state): Likewise.
28778 * malloc/malloc.c: Likewise.
28779 (struct malloc_state): Likewise.
28780 (struct malloc_par): Likewise.
28781 (__libc_realloc): Likewise.
28782 (__libc_mallopt): Likewise.
28783
28784 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28785
28786 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28787
28788 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28789
28790 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28791 macro to a function. Check for zero perturb_byte.
28792 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28793
28794 * malloc/malloc.c: (force_reg): Remove.
28795 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28796 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28797 force_reg by atomic_forced_read.
28798 * malloc/arena.c (ptmalloc_init): Likewise.
28799 * malloc/hooks.c (top_check): Likewise.
28800
28801 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28802
28803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28804
28805 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28806
28807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28808
28809 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28810
28811 * math/auto-libm-test-in: Add tests of lgamma.
28812 * math/auto-libm-test-out: Regenerated.
28813 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28814 (M_LOG_2_SQRT_PIl): Likewise.
28815 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28816 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28817 mpfr_f_f1.
28818 (func_calc_desc): Add mpfr_f_f1 union field.
28819 (ARGS1): New macro.
28820 (ARGS2): Likewise.
28821 (ARGS3): Likewise.
28822 (ARGS4): Likewise.
28823 (RET1): Likewise.
28824 (RET2): Likewise.
28825 (CALC): Likewise.
28826 (FUNC): Likewise.
28827 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28828 (test_functions): Add lgamma.
28829 (calc_generic_results): Handle mpfr_f_f1.
28830 * sysdeps/i386/fpu/libm-test-ulps: Update.
28831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28832
28833 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28834
28835 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28836 __mpn_add_n for PowerPC64/POWER7.
28837 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28838 __mpn_sub_n for PowerPC64/POWER7.
28839
28840 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28841 __mpn_addmul_1 for PowerPC64.
28842 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28843 __mpn_submul_1 for PowerPC64.
28844 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28845 for PowerPC64.
28846 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28847 for PowerPC64.
28848
28849 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28850
28851 [BZ #15089]
28852 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28853
28854 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28855
28856 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28857
28858 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28859 add multiarch folders.
28860 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28861 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28862 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28863 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28864 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28865 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28866 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28867 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28868 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28869 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28870 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28877
28878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28879 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28881 New file.
28882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28883 New file.
28884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28885 multiarch __ieee754_hypot for PowerPC32.
28886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28887 New file.
28888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28889 New file.
28890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28891 multiarch __ieee754_hypotf for PowerPC32.
28892
28893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28894 long_double_symbol only if __logbl is defined.
28895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28896 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28898 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28900 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28902 path for implementation.
28903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28906 logb, and logbl multiarch implementations for PowerPC32.
28907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28908 file.
28909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28910 file.
28911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28912 multiarch logb for PowerPC32.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28914 file.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28916 file.
28917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28918 multiarch logbf for PowerPC32.
28919 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28921 file.
28922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28923 multiarch logbl implementation for PowerPC32.
28924
28925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28926 and modff multiarch implementations.
28927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28928 New file.
28929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28930 New file.
28931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28932 multiarch modf for PowerPC32.
28933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28934 New file.
28935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28936 New file.
28937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28938 multiarch modff for PowerPC32.
28939
28940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28941 and lrintf multiarch implementations.
28942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28943 New file.
28944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28945 New file.
28946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28947 multiarch lrint for PowerPC32.
28948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28949 file: multiarch lrintf for PowerPC32.
28950
28951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28952 and lroundf multiarch implementations.
28953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28954 New file.
28955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28956 New file.
28957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28958 New file.
28959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28960 multiarch lround for PowerPC32.
28961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28962 file: multiarch lroundf for PowerPC32.
28963
28964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28965 copysign and copysignf multiarch implementations.
28966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28967 New file.
28968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28969 New file.
28970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28971 file: multiarch copysign for PowerPC32.
28972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28973 file: multiarch copysignf for PowerPC32.
28974
28975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28976 and truncf multiarch implementations.
28977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28978 New file.
28979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28980 file.
28981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28982 multiarch trunc for PowerPC32.
28983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28984 New file.
28985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28986 New file.
28987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28988 multiarch truncf for PowerPC32.
28989
28990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28991 and roundf multiarch implementations.
28992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28993 New file.
28994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28995 file.
28996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28997 multiarch round for PowerPC32.
28998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28999 New file.
29000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29001 New file.
29002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29003 multiarch roundf for PowerPC32.
29004
29005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29006 and floorf multiarch implementations.
29007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29008 New file.
29009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29010 file.
29011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29012 multiarch floor for PowerPC32.
29013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29014 New file.
29015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29016 New file.
29017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29018 multiarch floorf for PowerPC32.
29019
29020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29021 and ceilf multiarch implementations.
29022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29023 New file.
29024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29025 file.
29026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29027 multiarch ceil for PowerPC32.
29028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29029 New file.
29030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29031 file.
29032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29033 multiarch ceilf for PowerPC32.
29034
29035 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29036 is defined.
29037 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29038 FINITEF is defined.
29039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29040 and finitef multiarch implementations.
29041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29042 New file.
29043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29044 file.
29045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29046 multiarch finite for PowerPC32.
29047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29048 New file.
29049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29050 file: multiarch finitef for PowerPC32.
29051
29052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29053 and isinff multiarch implementations.
29054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29055 file.
29056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29057 file.
29058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29059 multiarch isinf for PowerPC32.
29060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29061 New file.
29062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29063 multiarch isinff for PowerPC32.
29064
29065 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29066 alias when __isnan is defined.
29067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29068 and isnanf multiarch implementations.
29069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29070 file.
29071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29072 file.
29073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29074 file.
29075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29076 file.
29077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29078 multiarch isnan for PowerPC32.
29079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29080 New file.
29081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29082 New file.
29083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29084 multiarch isnanf for PowerPC32.
29085
29086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29087 and sqrtf multiarch implementations.
29088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29089 file.
29090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29091 file.
29092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29093 multiarch sqrt for PowerPC32.
29094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29095 file.
29096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29097 file.
29098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29099 multiarch sqrtf for PowerPC32.
29100
29101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29102 and llroundf multiarch implementations.
29103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29104 New file.
29105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29106 New file.
29107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29108 New file.
29109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29110 file: multiarch llround for PowerPC32.
29111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29112 file: multiarch llroundf for PowerPC32.
29113
29114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29115 multiarch PowerPC32 fpu implementations.
29116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29117 New file.
29118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29119 New file.
29120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29121 multiarch llrint for PowerPC32.
29122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29123 New file.
29124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29125 New file.
29126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29127 file.
29128
29129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29130
29131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29132 file.
29133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29134 file.
29135 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29136 file.
29137 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29138 multiarch wordcopy for PPC32.
29139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29140 wordcopy objects.
29141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29142 (__libc_ifunc_impl_list): Likewise.
29143 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29144 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29146 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29147 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29148 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29149
29150 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29152 file.
29153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29154 file.
29155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29156 file.
29157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29158 multiarch wcscpy for PPC32.
29159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29160 multiarch objects.
29161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29162 (__libc_ifunc_impl_list): Likewise.
29163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29164 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29165 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29166 sysdeps/powerpc/power6/wcscpy.c.
29167
29168 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29170 file.
29171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29172 file.
29173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29174 file.
29175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29176 multiarch wcsrchr for PPC32.
29177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29178 multiarch objects.
29179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29180 (__libc_ifunc_impl_list): Likewise.
29181 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29182 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29183 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29184 sysdeps/powerpc/power6/wcsrchr.c.
29185
29186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29187 file.
29188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29189 file.
29190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29192 multiarch wcschr for PPc32.
29193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29194 multiarch objects.
29195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29196 (__libc_ifunc_impl_list): Likewise.
29197 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29198 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29199 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29200 sysdeps/powerpc/power6/wcschr.c.
29201
29202 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29204 file.
29205 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29206 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29207 file: multiarch strchr for PPC32.
29208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29209 multiarch objects.
29210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29211 (__libc_ifunc_impl_list): Likewise.
29212
29213 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29214 name.
29215 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29216 file.
29217 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29218 file.
29219 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29220 multiarch strchrnul for PPC32.
29221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29222 multiarch objects.
29223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29224 (__libc_ifunc_impl_list): Likewise.
29225
29226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29227 file.
29228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29229 multiarch strncasecmp for PPC32.
29230 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29231 file.
29232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29233 multiarch strncasecmp_l for PPC32.
29234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29235 strncasecmp multiarch objects.
29236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29237 (__libc_ifunc_impl_list): Likewise.
29238
29239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29240 file.
29241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29242 multiarch strncasecmp for PPC32.
29243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29244 New file.
29245 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29246 multiarch strcasecmp_l for PPC32.
29247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29248 multiarch objects.
29249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29250 (__libc_ifunc_impl_list): Likewise.
29251
29252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29253 file.
29254 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29255 file.
29256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29257 multiarch strncmp for PPC32.
29258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29259 multiarch objects.
29260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29261 (__libc_ifunc_impl_list): Likewise.
29262
29263 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29264 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29265 file.
29266 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29267 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29269 multiarch objects.
29270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29271 (__libc_ifunc_impl_list): Likewise.
29272
29273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29274 file.
29275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29276 file.
29277 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29279 multiarch objects.
29280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29281 (__libc_ifunc_impl_list): Likewise.
29282
29283 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29284 file.
29285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29286 file.
29287 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29288 multiarch rawmemchr for PPC32.
29289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29290 multiarch objects.
29291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29292 (__libc_ifunc_impl_list): Likewise.
29293
29294 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29295 file.
29296 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29297 file.
29298 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29299 file: memrchr multiarch for PPC32.
29300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29301 multiarch objects.
29302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29303 (__libc_ifunc_impl_list): Likewise.
29304
29305 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29307 file.
29308 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29310 multiarch memchr for PPC32.
29311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29312 multiarch objects.
29313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29314 (__libc_ifunc_impl_list): Likewise.
29315
29316 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29317 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29318 file.
29319 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29320 file.
29321 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29322 file: multiarch mempcpy for PPC32.
29323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29324 multiarch objects.
29325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29326 (__libc_ifunc_impl_list): Likewise.
29327
29328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29330 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29332 multiarch bzero for PPC32.
29333 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29334 file.
29335 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29336 file.
29337 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29338 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29339 file: multiarch memset for PPC32.
29340 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29342 memset multiarch objects.
29343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29344 (__libc_ifunc_impl_list): Likewise.
29345
29346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29347 file.
29348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29350 memcmp for PPC32.
29351 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29353 multiarch objects.
29354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29355 (__libc_ifunc_impl_list): Likewise.
29356
29357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29360 file.
29361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29362 file.
29363 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29364 file.
29365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29366 multiarch memcpy for PPC32.
29367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29368 multiarch objects.
29369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29370 (__libc_ifunc_impl_list): Likewise.
29371
29372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29373 support multiarch for POWER/PPC32.
29374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29375 Likewise.
29376 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29378 Implies file to make multiarch folder appers before the fpu and
29379 default folder for power4 configuration.
29380
29381 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29382
29383 * scripts/bench.pl: Append volatile keyword to type.
29384
29385 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29386
29387 * sysdeps/sh/sotruss-lib.c: New file.
29388 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29389
29390 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29391
29392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29393
29394 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29395
29396 [BZ #6810]
29397 * math/w_tgamma.c: Include <errno.h>.
29398 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29399 * math/w_tgammaf.c: Include <errno.h>.
29400 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29401 * math/w_tgammal.c: Include <errno.h>.
29402 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29403 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29404 underflow. Add more tgamma tests.
29405 * math/auto-libm-test-out: Regenerated.
29406 * sysdeps/i386/fpu/libm-test-ulps: Update.
29407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29408
29409 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29410 sin, sinh, tan, tanh, tgamma, y0 and y1.
29411 * math/auto-libm-test-out: Regenerated.
29412 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29413 (TEST_COND_x86): Likewise.
29414 (M_E2l): Remove macro.
29415 (M_E3l): Likewise.
29416 (M_2_SQRT_PIl): Likewise.
29417 (M_SQRT_PIl): Likewise.
29418 (M_1_DIV_El): Likewise.
29419 (log_test_data): Use AUTO_TESTS_f_f.
29420 (log10_test_data): Likewise.
29421 (log1p_test_data): Likewise.
29422 (log2_test_data): Likewise.
29423 (sin_test_data): Likewise.
29424 (sin_tonearest_test_data): Likewise.
29425 (sin_towardzero_test_data): Likewise.
29426 (sin_downward_test_data): Likewise.
29427 (sin_upward_test_data): Likewise.
29428 (sinh_test_data): Likewise.
29429 (sinh_tonearest_test_data): Likewise.
29430 (sinh_towardzero_test_data): Likewise.
29431 (sinh_downward_test_data): Likewise.
29432 (sinh_upward_test_data): Likewise.
29433 (tan_test_data): Likewise.
29434 (tan_tonearest_test_data): Likewise.
29435 (tan_towardzero_test_data): Likewise.
29436 (tan_downward_test_data): Likewise.
29437 (tan_upward_test_data): Likewise.
29438 (tanh_test_data): Likewise.
29439 (tgamma_test_data): Likewise.
29440 (y0_test_data): Likewise.
29441 (y1_test_data): Likewise.
29442 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29443 (special_real_inputs): Add pi/4.
29444 * sysdeps/i386/fpu/libm-test-ulps: Update.
29445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29446
29447 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29448
29449 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29450 "longjmp_target" static probes.
29451 (__longjmp): Rename to __longjmp_symbol.
29452 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29453 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29454 on which longjmp to generate.
29455 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29457 probe.
29458 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29459 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29460 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29461 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29462 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29463 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29465 __longjmp_symbol based on which __longjmp to generate.
29466 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29467 probe.
29468 (setjmp): Rename to setjmp_symbol.
29469 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29470 (_setjmp): Rename to _setjmp_symbol.
29471 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29472 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29473 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29474 which setjmp to generate.
29475 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29476 "longjmp_target" static probes.
29477
29478 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29479
29480 * benchtests/README: Add note about output arguments.
29481 * benchtests/bench-sincos.c: Remove file.
29482 * benchtests/sincos-inputs: New file.
29483 * scripts/bench.pl: Identify output arguments and define
29484 static variables for them.
29485
29486 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29487
29488 [BZ #15941]
29489 * Makefile (INSTALL): Add install-plain.texi as the primary
29490 dependency.
29491 * manual/install-plain.texi: New file.
29492 * manual/install.texi: Include node directive only for
29493 non-plaintext output.
29494
29495 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29496
29497 * stdlib/longlong.h: Update from GCC.
29498
29499 [BZ #6807]
29500 [BZ #15901]
29501 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29502 * math/w_j0f.c (y0f): Likewise.
29503 * math/w_j0l.c (__y0l): Likewise.
29504 * math/w_j1.c (y1): Likewise.
29505 * math/w_j1f.c (y1f): Likewise.
29506 * math/w_j1l.c (__y1l): Likewise
29507 * math/w_jn.c (yn): Likewise.
29508 * math/w_jnf.c (ynf): Likewise.
29509 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29510 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29511 value for Bessel function domain errors outside _SVID_ mode.
29512 Adjust sign of return value for yn (negative integer, 0).
29513 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29514 by zero in return for negative x and set sign appropriately for
29515 negative n.
29516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29517 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29518 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29519 expectations in error cases.
29520 (y1_test_data): Likewise.
29521 (yn_test_data): Likewise.
29522 * sysdeps/i386/fpu/libm-test-ulps: Update.
29523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29524
29525 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29526
29527 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29528 "64" to "64-v1". Add "64-v2".
29529 (abi-64-options): Rename to ...
29530 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29531 (abi-64-condition): Rename to ...
29532 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29533 (abi-64-ld-soname): Rename to ...
29534 (abi-64-v1-ld-soname): ... this.
29535 (abi-64-v2-options): Define.
29536 (abi-64-v2-condition): Likewise.
29537 (abi-64-v2-ld-soname): Likewise.
29538 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29539 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29543
29544 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29545 Alan Modra <amodra@gmail.com>
29546
29547 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29548 New versions for use with the ELFv2 ABI.
29549 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29550 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29551 declaration.
29552 (struct La_ppc64v2_retval): Likewise.
29553 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29554 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29555 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29556 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29557 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29558 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29559 Do not save or restore CR.
29560 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29561 (_dl_profile_resolve): Do no save or restore CR. Support extended
29562 return values for ELFv2 ABI. Fix location of FPR return registers.
29563 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29564 updated values for _CALL_ELF == 2.
29565 (La_regs, La_retval, int_retval): Likewise.
29566
29567 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29568
29569 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29570 (FRAME_MIN_SIZE_PARM): Likewise.
29571 (FRAME_BACKCHAIN): Likewise.
29572 (FRAME_CR_SAVE): Likewise.
29573 (FRAME_LR_SAVE): Likewise.
29574 (FRAME_TOC_SAVE): Likewise.
29575 (FRAME_PARM_SAVE): Likewise.
29576 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29577 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29578 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29579 (call_mcount_parm_offset): New macro.
29580 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29581 (PROF): Use symbolic stack frame offsets.
29582 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29583 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29584 Redefine in terms of FRAME_MIN_SIZE.
29585 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29586 (_dl_profile_resolve): Likewise. Update comment.
29587 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29588 symbols stack frame offsets.
29589 (__sigsetjmp): Likewise.
29590 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29591 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29592 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29593 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29594
29595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29596 (FRAME_BACKCHAIN): Remove.
29597 (FRAME_CR_SAVE): Likewise.
29598 (FRAME_LR_SAVE): Likewise.
29599 (FRAME_COMPILER_DW): Likewise.
29600 (FRAME_LINKER_DW): Likewise.
29601 (FRAME_TOC_SAVE): Likewise.
29602 (FRAME_PARM_SAVE): Likewise.
29603 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29604 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29605 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29607 (CHECK_SP): Use symbolic stack frame offsets.
29608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29609 zone" instead of caller's parameter save area for temp storage.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29611 Likewise. Also, use symbolic stack frame offsets.
29612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29613 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29614 our own stack frame instead of the caller's.
29615 (__socket): Use symbolic stack frame offsets.
29616
29617 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29618 Alan Modra <amodra@gmail.com>
29619
29620 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29621 Define.
29622 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29623 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29624 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29625 New function.
29626 (elf_machine_fixup_plt): Call it.
29627 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29628 reloc arguments.
29629 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29631 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29632 r2 before calling target.
29633
29634 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29635 Alan Modra <amodra@gmail.com>
29636
29637 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29638 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29639 versions of macros to support ELFv2 ABI.
29640 (LOCALENTRY): New macro.
29641 (ENTRY, EALIGN): Use it.
29642 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29643 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29644 fall through into ENTRY entry point.
29645 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29646 Only define if _CALL_ELF != 2.
29647
29648 (elf_machine_matches_host): Verify ABI version matches.
29649 (RTLD_START): Use LOCALENTRY.
29650 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29651 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29652 (PLT_ENTRY_WORDS): New macro.
29653 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29654 (elf_machine_runtime_setup): Support ELFv2 ABI.
29655 (elf_machine_fixup_plt): Likewise.
29656 (elf_machine_plt_conflict): Likewise.
29657 (resolve_ifunc): Likewise.
29658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29659 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29660 Likewise.
29661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29662 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29664 (makecontext): Support ELFv2 ABI.
29665 * elf/elf.h (EF_PPC64_ABI): Define.
29666
29667 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29668
29669 * sysdeps/powerpc/powerpc64/sysdep.h
29670 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29671 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29672 (ENTRY) [ASSEMBLER]: ... but instead here ...
29673 (EALIGN) [ASSEMBLER]: ... and here.
29674 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29675 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29676 (ENTRY_2) [!ASSEMBLER]: Use it.
29677 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29678 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29679 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29680 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29681 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29683 Use PPC64_LOAD_FUNCPTR.
29684
29685 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29686
29687 2013-12-04 Alan Modra <amodra@gmail.com>
29688
29689 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29690 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29691 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29692 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29693
29694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29695 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29696 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29697 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29698 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29699 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29700
29701 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29702
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29704 (__makecontext): Fix incorrect CFI when backtracing out of
29705 context created via makecontext.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29707 (__setcontext): Fix incorrect CFI during switch to new context.
29708 (__novec_setcontext): Likewise.
29709
29710 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29711
29712 [BZ #4772]
29713 * time/strptime_l.c (__strptime_internal): Allow modifiers
29714 in strptime.
29715 * time/tst-strptime.c (day_tests): Add testcase.
29716
29717 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29718
29719 * scripts/bench.pl: Skip over blank lines.
29720
29721 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29722
29723 [BZ #926]
29724 * manual/time.texi (Calendar Time): Clarify what timezone functions
29725 use.
29726
29727 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29728
29729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29730
29731 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29732
29733 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29734 implementation.
29735 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29736 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29737 * debug/memset_chk.c (__memset_chk): Likewise.
29738 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29739 * debug/strncpy_chk.c: Likewise.
29740
29741 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29742
29743 [BZ #15268]
29744 [BZ #15425]
29745 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29746 (__ieee754_exp): For possibly underflowing results, check size of
29747 result and force underflow exception if required.
29748 * math/auto-libm-test-in: Add more tests of exp.
29749 * math/auto-libm-test-out: Regenerated.
29750 * sysdeps/i386/fpu/libm-test-ulps: Update.
29751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29752
29753 [BZ #16283]
29754 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29755 * math/w_exp2f.c (__exp2f): Likewise.
29756 * math/w_exp2l.c (__exp2l): Likewise.
29757 * math/auto-libm-test-in: Do not allow missing errno on exp2
29758 underflow.
29759 * math/auto-libm-test-out: Regenerated.
29760
29761 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29762
29763 [BZ #16274]
29764 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29765 handle filename validation.
29766 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29767 (do_open): Delete.
29768
29769 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29770
29771 [BZ #6786]
29772 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29773 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29774 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29775 <float.h>.
29776 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29777 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29778 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29780 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29781 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29782 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29783 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29784 Add more erfc tests.
29785 * math/auto-libm-test-out: Regenerated.
29786 * sysdeps/i386/fpu/libm-test-ulps: Update.
29787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29788
29789 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29790 exp2, expm1, j0 and j1.
29791 * math/auto-libm-test-out: Regenerated.
29792 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29793 (erfc_test_data): Likewise.
29794 (exp_test_data): Likewise.
29795 (exp_tonearest_test_data): Likewise.
29796 (exp_towardzero_test_data): Likewise.
29797 (exp_downward_test_data): Likewise.
29798 (exp_upward_test_data): Likewise.
29799 (exp10_test_data): Likewise.
29800 (exp2_test_data): Likewise.
29801 (expm1_test_data): Likewise.
29802 (j0_test_data): Likewise.
29803 (j1_test_data): Likewise.
29804 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29805 (input_flag_type): Add flag_xfail_rounding.
29806 (input_flags): Add xfail-rounding.
29807 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29808 (output_for_one_input_case): Handle flag_xfail_rounding.
29809 * sysdeps/i386/fpu/libm-test-ulps: Update.
29810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29811
29812 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29813
29814 [BZ #16289]
29815 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29816 division by 0.
29817
29818 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29819
29820 [BZ #16195]
29821 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29822 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29823 (STAP_PROBE0): New macro.
29824 (STAP_PROBE1): Likewise.
29825 (STAP_PROBE2): Likewise.
29826 (STAP_PROBE3): Likewise.
29827 (STAP_PROBE4): Likewise.
29828
29829 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29830
29831 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29832
29833 2013-12-02 Steve Ellcey <sellcey@mips.com>
29834
29835 * benchtests/Makefile (bench): Add sqrt.
29836 (LDLIBS-bench-sqrt): New.
29837 * benchtests/sqrt-input: New.
29838
29839 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29840
29841 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29842 (GAIH_EAI): Likewise.
29843 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29844 (gaih_inet): Likewise.
29845 (getaddrinfo): Don't use GAIH_EAI.
29846
29847 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29848 (struct gaih): Remove definition.
29849
29850 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29851
29852 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29853 Use HERRNOP directly.
29854
29855 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29856
29857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29858
29859 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29860
29861 * math/gen-auto-libm-tests.c (test_functions): Add more
29862 single-argument functions.
29863 (special_fill_pi_2): New function.
29864 (special_fill_minus_pi_2): Likewise.
29865 (special_fill_pi_6): Likewise.
29866 (special_fill_minus_pi_6): Likewise.
29867 (special_fill_pi_3): Likewise.
29868 (special_fill_2pi_3): Likewise.
29869 (special_fill_e): Likewise.
29870 (special_fill_1_e): Likewise.
29871 (special_fill_e_minus_1): Likewise.
29872 (special_real_inputs): Add more special inputs.
29873 (output_for_one_input_case): Do not require ERANGE on underflow to
29874 zero if round-to-nearest result does not underflow to zero, unless
29875 exact results required.
29876 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29877 atan, atanh, cbrt, cos and cosh.
29878 * math/auto-libm-test-out: Regenerated.
29879 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29880 (acos_tonearest_test_data): Likewise.
29881 (acos_towardzero_test_data): Likewise.
29882 (acos_downward_test_data): Likewise.
29883 (acos_upward_test_data): Likewise.
29884 (acosh_test_data): Likewise.
29885 (asin_test_data): Likewise.
29886 (asin_tonearest_test_data): Likewise.
29887 (asin_towardzero_test_data): Likewise.
29888 (asin_upward_test_data): Likewise.
29889 (asinh_test_data): Likewise.
29890 (atan_test_data): Likewise.
29891 (atanh_test_data): Likewise.
29892 (cbrt_test_data): Likewise.
29893 (cos_test_data): Likewise.
29894 (cos_tonearest_test_data): Likewise.
29895 (cos_towardzero_test_data): Likewise.
29896 (cos_downward_test_data): Likewise.
29897 (cos_upward_test_data): Likewise.
29898 (cosh_test_data): Likewise.
29899 (cosh_tonearest_test_data): Likewise.
29900 (cosh_towardzero_test_data): Likewise.
29901 (cosh_downward_test_data): Likewise.
29902 (cosh_upward_test_data): Likewise.
29903 * sysdeps/i386/fpu/libm-test-ulps: Update.
29904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905
29906 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29907
29908 [BZ #6787]
29909 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29910 * math/w_exp10f.c (__exp10f): Likewise.
29911 * math/w_exp10l.c (__exp10l): Likewise.
29912 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29913 errno settings in existing tests.
29914
29915 [BZ #14032]
29916 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29917 precision control set to double precision.
29918 * sysdeps/i386/fpu/w_sqrt.c: New file.
29919 * math/auto-libm-test-in: Add more tests.
29920 * math/auto-libm-test-out: Update.
29921
29922 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29923 (sqrt_test_tonearest): New function.
29924 (sqrt_towardzero_test_data): New variable.
29925 (sqrt_test_towardzero): New function.
29926 (sqrt_downward_test_data): New variable.
29927 (sqrt_test_downward): New function.
29928 (sqrt_upward_test_data): New variable.
29929 (sqrt_test_upward): New function.
29930 (main): Call the new functions.
29931
29932 * math/gen-auto-libm-tests.c: New file.
29933 * math/auto-libm-test-in: Likewise.
29934 * math/auto-libm-test-out: New generated file.
29935 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29936 variables.
29937 (%beautify): Add generated representations of zero.
29938 (top level): Set $auto_input and call parse_auto_input.
29939 (beautify): Remove trailing "f" from hex float constants.
29940 (parse_args): Handle XFAIL_TEST.
29941 (convert_condition): New function.
29942 (or_value): Likewise.
29943 (or_cond_value): Likewise.
29944 (generate_testfile): Handle AUTO_TESTS_* lines.
29945 (parse_auto_input): New function.
29946 * math/libm-test.inc (XFAIL_TEST): New macro.
29947 (ERRNO_UNCHANGED): Update value.
29948 (ERRNO_EDOM): Likewise.
29949 (ERRNO_ERANGE): Likewise.
29950 (IGNORE_RESULT): Likewise.
29951 (TEST_COND_flt_32): New macro.
29952 (TEST_COND_dbl_64): Likewise.
29953 (TEST_COND_ldbl_96_intel): Likewise.
29954 (TEST_COND_ldbl_96_m68k): Likewise.
29955 (TEST_COND_ldbl_128): Likewise.
29956 (TEST_COND_ldbl_128ibm): Likewise.
29957 (TEST_COND_long32): Likewise.
29958 (TEST_COND_long64): Likewise.
29959 (TEST_COND_before_rounding): Likewise.
29960 (TEST_COND_after_rounding): Likewise.
29961 (enable_test): Handle XFAIL_TEST flag.
29962 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29963 with finite results.
29964 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29965 auto-libm-test-out.
29966
29967 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29968 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29969
29970 [BZ #16214]
29971 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29972 __tls_get_addr_internal instead of __tls_get_offset in order to
29973 avoid GOT pointer dependency. Make rtld export
29974 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29975 __tls_get_addr since we are a __tls_get_offset platform.
29976 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29977 GOT pointer being set up before.
29978 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29979
29980 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29981
29982 * manual/math.texi (Errors in Math Functions): Document accuracy
29983 goals.
29984
29985 [BZ #15004]
29986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29987 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29990 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29992 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30002
30003 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30004 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30005 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30006 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30007 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30008 Likewise.
30009 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30010 Likewise.
30011 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30012 Likewise.
30013 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30014 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30015 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30016 atomic-feupdateenv and flt-rounds.
30017 * sysdeps/powerpc/nofpu/Versions (libc): Add
30018 __atomic_feholdexcept, __atomic_feclearexcept,
30019 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30020 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30021 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30022 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30023 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30024 here.
30025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30026 Update.
30027
30028 * manual/arith.texi (FP Exceptions): Document that exceptions may
30029 not be raised when matherr is used.
30030 (Math Error Reporting): Document overflow in directed rounding
30031 modes. Document that errno may not be set when finite values are
30032 returned on overflow. Document intent to set errno on underflow
30033 only for underflow to zero.
30034
30035 [BZ #16271]
30036 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30037 round-to-nearest then adjust result for other rounding modes.
30038 * include/fenv.h (fegetround): Use libm_hidden_proto.
30039 * math/fegetround.c (fegetround): Use libm_hidden_def.
30040 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30041 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30042 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30043 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30044 Likewise.
30045 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30046 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30047 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30048 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30049
30050 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30051
30052 [BZ #16077]
30053 * nss/Versions (libnss_files): Add
30054 _nss_files_gethostbyname3_r.
30055 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30056 New function.
30057 (HOST_DB_LOOKUP): Remove macro.
30058 (_nss_files_gethostbyname_r): Implement function without the
30059 HOST_DB_LOOKUP macro.
30060 (_nss_files_gethostbyname2_r): Likewise.
30061
30062 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30063
30064 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30065
30066 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30067
30068 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30069 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30070 warning.
30071
30072 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30073
30074 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30075 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30076 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30077 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30078 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30079 __fe_nomask_env_priv and attribute_hidden.
30080 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30081 (libc_feupdateenv_test_ppc): Likewise.
30082 (libc_feresetround_ppc): Likewise.
30083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30084 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30085 compat_symbol macro.
30086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30087 (__fe_nomask_env): Likewise.
30088 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30089
30090 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30091
30092 * string/Makefile: Remove ifunc tests.
30093 * string/test-string.h: Define TEST_IFUNC.
30094 * string/test-bcopy-ifunc.c: Remove.
30095 * string/test-bzero-ifunc.c: Likewise.
30096 * string/test-memccpy-ifunc.c: Likewise.
30097 * string/test-memchr-ifunc.c: Likewise.
30098 * string/test-memcmp-ifunc.c: Likewise.
30099 * string/test-memcpy-ifunc.c: Likewise.
30100 * string/test-memmem-ifunc.c: Likewise.
30101 * string/test-memmove-ifunc.c: Likewise.
30102 * string/test-mempcpy-ifunc.c: Likewise.
30103 * string/test-memrchr-ifunc.c: Likewise.
30104 * string/test-memset-ifunc.c: Likewise.
30105 * string/test-rawmemchr-ifunc.c: Likewise.
30106 * string/test-stpcpy-ifunc.c: Likewise.
30107 * string/test-stpncpy-ifunc.c: Likewise.
30108 * string/test-strcasecmp-ifunc.c: Likewise.
30109 * string/test-strcasestr-ifunc.c: Likewise.
30110 * string/test-strcat-ifunc.c: Likewise.
30111 * string/test-strchr-ifunc.c: Likewise.
30112 * string/test-strchrnul-ifunc.c: Likewise.
30113 * string/test-strcmp-ifunc.c: Likewise.
30114 * string/test-strcpy-ifunc.c: Likewise.
30115 * string/test-strcspn-ifunc.c: Likewise.
30116 * string/test-strlen-ifunc.c: Likewise.
30117 * string/test-strncasecmp-ifunc.c: Likewise.
30118 * string/test-strncat-ifunc.c: Likewise.
30119 * string/test-strncmp-ifunc.c: Likewise.
30120 * string/test-strncpy-ifunc.c: Likewise.
30121 * string/test-strnlen-ifunc.c: Likewise.
30122 * string/test-strpbrk-ifunc.c: Likewise.
30123 * string/test-strrchr-ifunc.c: Likewise.
30124 * string/test-strspn-ifunc.c: Likewise.
30125 * string/test-strstr-ifunc.c: Likewise.
30126
30127 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30128
30129 * benchtests/Makefile: Remove ifunc tests.
30130 * benchtests/bench-string.h: Define TEST_IFUNC.
30131 * benchtests/bench-bcopy-ifunc.c: Remove.
30132 * benchtests/bench-bzero-ifunc.c: Likewise.
30133 * benchtests/bench-memccpy-ifunc.c: Likewise.
30134 * benchtests/bench-memchr-ifunc.c: Likewise.
30135 * benchtests/bench-memcmp-ifunc.c: Likewise.
30136 * benchtests/bench-memcpy-ifunc.c: Likewise.
30137 * benchtests/bench-memmem-ifunc.c: Likewise.
30138 * benchtests/bench-memmove-ifunc.c: Likewise.
30139 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30140 * benchtests/bench-memrchr-ifunc.c: Likewise.
30141 * benchtests/bench-memset-ifunc.c: Likewise.
30142 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30143 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30144 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30145 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30146 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30147 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30148 * benchtests/bench-strcat-ifunc.c: Likewise.
30149 * benchtests/bench-strchr-ifunc.c: Likewise.
30150 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30151 * benchtests/bench-strcmp-ifunc.c: Likewise.
30152 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30153 * benchtests/bench-strcpy-ifunc.c: Likewise.
30154 * benchtests/bench-strcspn-ifunc.c: Likewise.
30155 * benchtests/bench-strlen-ifunc.c: Likewise.
30156 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30157 * benchtests/bench-strncat-ifunc.c: Likewise.
30158 * benchtests/bench-strncmp-ifunc.c: Likewise.
30159 * benchtests/bench-strncpy-ifunc.c: Likewise.
30160 * benchtests/bench-strnlen-ifunc.c: Likewise.
30161 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30162 * benchtests/bench-strrchr-ifunc.c: Likewise.
30163 * benchtests/bench-strsep-ifunc.c: Likewise.
30164 * benchtests/bench-strspn-ifunc.c: Likewise.
30165 * benchtests/bench-strstr-ifunc.c: Likewise.
30166
30167 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30168
30169 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30170
30171 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30172
30173 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30174 * rt/aio.h: Likewise.
30175 * sysdeps/gnu/bits/utmp.h: Likewise.
30176 * sysdeps/gnu/bits/utmpx.h: Likewise.
30177 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30178 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30179 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30180 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30181 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30182 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30183 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30184 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30185 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30186 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30187 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30188 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30189 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30191 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30192 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30193 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30194 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30195 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30196 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30197 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30198 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30199 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30200 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30201 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30204 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30205 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30206 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30207 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30208 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30209 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30210 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30211 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30212 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30213 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30214 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30215 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30216 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30217 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30218 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30219
30220 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30221
30222 [BZ #16245]
30223 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30224 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30225
30226 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30227
30228 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30229 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30230 Likewise.
30231
30232 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30233
30234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30235 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30236 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30237 (__fesetround): Remove define.
30238 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30239 rounding and exceptions handling.
30240 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30241 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30242 (__fe_nomask_env): Likewise.
30243 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30244 __fegetround instead of fegetround.
30245 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30246 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30247
30248 2013-11-21 Roland McGrath <roland@hack.frob.com>
30249
30250 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30251 it's there.
30252
30253 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30254
30255 2013-11-21 Meador Inge <meadori@codesourcery.com>
30256
30257 [BZ #11157]
30258 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30259 (encrypt_r): Likewise.
30260 * malloc/obstack.h (obstack_free): Likewise.
30261 * posix/unistd.h (encrypt): Likewise.
30262
30263 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30264
30265 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30266 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30267 DL_CALL_DT_FINI() that call the functions directly.
30268 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30269 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30270 * elf/dl-fini.c: Likewise.
30271
30272 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30273
30274 * malloc/hooks.c (memalign_check): Add alignment rounding.
30275 * malloc/malloc.c (_mid_memalign): New function.
30276 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30277 Implement by calling _mid_memalign.
30278 * manual/probes.texi (Memory Allocation Probes): Remove
30279 memory_valloc_retry and memory_pvalloc_retry.
30280
30281 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30282
30283 * locale/programs/locarchive.c (open_archive): Add const
30284 qualifier to ARCHIVEFNAME and copy default fname to
30285 DEFAULT_FNAME.
30286
30287 [BZ #15601]
30288 * libio/tst-widetext.input: Rename Oriya to Odia.
30289 * locale/iso-639.def: Likewise.
30290
30291 * manual/probes.texi (Mathematical Function Probes): Add
30292 documentation for sin, cos, asin and acos probes.
30293 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30294 (__sin32): Add slowasin probe.
30295 (__cos32): Add slowacos probe.
30296 (__mpsin): Add slowsin probe.
30297 (__mpcos): Add slowcos probe.
30298
30299 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30300
30301 [BZ #15483]
30302 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30303 thread-local __sim_exceptions_thread and global
30304 __sim_exceptions_global.
30305 (__sim_disabled_exceptions): Change to thread-local
30306 __sim_disabled_exceptions_thread and global
30307 __sim_disabled_exceptions_global.
30308 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30309 and global __sim_round_mode_global.
30310 (__simulate_exceptions): Use thread-local floating-point state and
30311 set global state from it as needed.
30312 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30313 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30314 __sim_round_mode_thread.
30315 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30316 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30317 and global __sim_exceptions_global.
30318 (__sim_disabled_exceptions): Change to thread-local
30319 __sim_disabled_exceptions_thread and global
30320 __sim_disabled_exceptions_global.
30321 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30322 and global __sim_round_mode_global.
30323 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30324 (SIM_SET_GLOBAL): Likewise.
30325 * sysdeps/powerpc/soft-fp/sfp-machine.h
30326 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30327 __sim_round_mode_thread.
30328 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30329 __sim_disabled_exceptions_thread.
30330 (__sim_exceptions): Change to __sim_exceptions_thread.
30331 (__sim_disabled_exceptions): Change to
30332 __sim_disabled_exceptions_thread.
30333 (__sim_round_mode): Change to __sim_round_mode_thread.
30334 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30335 thread-local floating-point state and set global state from it as
30336 needed.
30337 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30338 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30339 (__sim_disabled_exceptions): Remove extern declaration.
30340 (feenableexcept): Use thread-local floating-point state and set
30341 global state from it as needed.
30342 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30343 extern declaration.
30344 (__sim_disabled_exceptions): Likewise.
30345 (__sim_round_mode): Likewise.
30346 (__fegetenv): Use thread-local floating-point state.
30347 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30348 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30349 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30350 floating-point state and set global state from it as needed.
30351 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30352 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30353 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30354 Likewise.
30355 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30356 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30357 Likewise.
30358 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30359 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30360 Use __sim_round_mode_thread.
30361 * math/test-fenv-tls.c: New file.
30362 * math/Makefile (tests): Add test-fenv-tls.
30363 ($(objpfx)test-fenv-tls): Depend on
30364 $(common-objpfx)nptl/libpthread.so.
30365
30366 2013-11-19 Andreas Schwab <schwab@suse.de>
30367
30368 * locale/programs/locale.c (show_info): Decode wordarray elements.
30369 * locale/categories.def (LC_MONETARY): Add element for
30370 _NL_MONETARY_CRNCYSTR.
30371 * locale/C-monetary.c (conversion_rate): New variable.
30372 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30373 element.
30374
30375 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30376
30377 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30378 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30379
30380 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30381
30382 * elf/Makefile (tst-auxv): New test.
30383 * elf/tst-auxv.c: New
30384 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30385
30386 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30387
30388 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30389 (hidden_proto): Caller changed.
30390 (hidden_tls_proto): New macro.
30391 (libc_hidden_tls_proto): Likewise.
30392 (rtld_hidden_tls_proto): Likewise.
30393 (libm_hidden_tls_proto): Likewise.
30394 (libresolv_hidden_tls_proto): Likewise.
30395 (librt_hidden_tls_proto): Likewise.
30396 (libdl_hidden_tls_proto): Likewise.
30397 (libnss_files_hidden_tls_proto): Likewise.
30398 (libnsl_hidden_tls_proto): Likewise.
30399 (libnss_nisplus_hidden_tls_proto): Likewise.
30400 (libutil_hidden_tls_proto): Likewise.
30401
30402 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30403
30404 [BZ #10253]
30405 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30406 (decompose_rpath): Defer expansion to fillin_rpath.
30407 (_dl_init_paths): Pass linkmap to fillin_rpath.
30408
30409 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30410
30411 * benchtests/Makefile: Add strsep.
30412 * benchtests/bench-strsep.c: New file: strsep benchtest.
30413 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30414
30415 2013-11-18 Andreas Schwab <schwab@suse.de>
30416
30417 * locale/programs/locale.c (show_info) [case byte]: Check for
30418 '\377' instead of '\177'.
30419 * locale/C-monetary.c (not_available): Always use "\377".
30420 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30421 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30422 detect unavailable sign_posn locale elements.
30423 * locale/localeconv.c (__localeconv): For grouping and
30424 mon_grouping handle "\177" and "\377" like no grouping.
30425 (INT_ELEM): New macro. Use it to set all numeric members.
30426 * locale/programs/ld-monetary.c (monetary_read)
30427 <tok_mon_grouping>: Normalize single -1 to the empty string.
30428 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30429 Likewise.
30430
30431 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30432
30433 [BZ #16055]
30434 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30435 when we match (nil).
30436 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30437
30438 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30439
30440 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30441 (NO_TEST_INLINE): Update value.
30442 (ERRNO_UNCHANGED): Likewise.
30443 (ERRNO_EDOM): Likewise.
30444 (ERRNO_ERANGE): Likewise.
30445 (IGNORE_RESULT): Likewise.
30446 (check_float_internal): Check signs of NaN results if
30447 TEST_NAN_SIGN used.
30448 (check_complex): Pass TEST_NAN_SIGN flag through to second
30449 check_float_internal call.
30450 (copysign_test_data): Add tests with quiet NaNs as second
30451 argument. Use TEST_NAN_SIGN.
30452 (fabs_test_data): Add test of negative quiet NaN argument. Use
30453 TEST_NAN_SIGN.
30454 (signbit_test_data): Add tests of quiet NaN argument.
30455 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30456
30457 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30458 $ignore_result.
30459 (parse_args): Handle function results specified as IGNORE.
30460 * math/libm-test.inc (IGNORE_RESULT): New macro.
30461 (check_float_internal): Do not check numerical result if flag
30462 IGNORE_RESULT set.
30463 (check_complex): Pass through IGNORE_RESULT to second
30464 check_float_internal call.
30465 (check_int): Do not check numerical result if flag IGNORE_RESULT
30466 set.
30467 (check_long): Likewise.
30468 (check_bool): Likewise.
30469 (check_longlong): Likewise.
30470 (lrint_test_data): Add tests of infinite and NaN arguments.
30471 (lrint_tonearest_test_data): Likewise.
30472 (lrint_towardzero_test_data): Likewise.
30473 (lrint_downward_test_data): Likewise.
30474 (lrint_upward_test_data): Likewise.
30475 (llrint_test_data): Likewise.
30476 (llrint_tonearest_test_data): Likewise.
30477 (llrint_towardzero_test_data): Likewise.
30478 (llrint_downward_test_data): Likewise.
30479 (llrint_upward_test_data): Likewise.
30480 (lround_test_data): Likewise.
30481 (llround_test_data): Likewise.
30482
30483 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30484 (ERRNO_UNCHANGED): Update value.
30485 (ERRNO_EDOM): Likewise.
30486 (ERRNO_ERANGE): Likewise.
30487 (NO_TEST_INLINE_FLOAT): New macro.
30488 (NO_TEST_INLINE_DOUBLE): Likewise.
30489 (enable_test): New function.
30490 (RUN_TEST_f_f): Check enable_test before running test.
30491 (RUN_TEST_2_f): Likewise.
30492 (RUN_TEST_fff_f): Likewise.
30493 (RUN_TEST_c_f): Likewise.
30494 (RUN_TEST_f_f1): Likewise.
30495 (RUN_TEST_fF_f1): Likewise.
30496 (RUN_TEST_fI_f1): Likewise.
30497 (RUN_TEST_ffI_f1): Likewise.
30498 (RUN_TEST_c_c): Likewise.
30499 (RUN_TEST_cc_c): Likewise.
30500 (RUN_TEST_f_i): Likewise.
30501 (RUN_TEST_f_i_tg): Likewise.
30502 (RUN_TEST_ff_i_tg): Likewise.
30503 (RUN_TEST_f_b): Likewise.
30504 (RUN_TEST_f_b_tg): Likewise.
30505 (RUN_TEST_f_l): Likewise.
30506 (RUN_TEST_f_L): Likewise.
30507 (RUN_TEST_fFF_11): Likewise.
30508 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30509 conditionals.
30510 (cosh_test_data): Likewise.
30511 (exp_test_data): Likewise.
30512 (expm1_test_data): Likewise.
30513 (hypot_test_data): Likewise.
30514 (pow_test_data): Likewise.
30515 (sinh_test_data): Likewise.
30516 (tanh_test_data): Likewise.
30517 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30518 flags argument.
30519
30520 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30521 tests with quiet NaN input and output.
30522 (acosh_test_data): Likewise.
30523 (asin_test_data): Likewise.
30524 (asinh_test_data): Likewise.
30525 (atan_test_data): Likewise.
30526 (atanh_test_data): Likewise.
30527 (atan2_test_data): Likewise.
30528 (cbrt_test_data): Likewise.
30529 (cos_test_data): Likewise.
30530 (cosh_test_data): Likewise.
30531 (erf_test_data): Likewise.
30532 (erfc_test_data): Likewise.
30533 (exp_test_data): Likewise.
30534 (exp10_test_data): Likewise.
30535 (exp2_test_data): Likewise.
30536 (expm1_test_data): Likewise.
30537 (hypot_test_data): Likewise.
30538 (j0_test_data): Likewise.
30539 (j1_test_data): Likewise.
30540 (jn_test_data): Likewise.
30541 (lgamma_test_data): Likewise.
30542 (log_test_data): Likewise.
30543 (log10_test_data): Likewise.
30544 (log1p_test_data): Likewise.
30545 (log2_test_data): Likewise.
30546 (pow_test_data): Likewise.
30547 (scalb_test_data): Likewise.
30548 (sin_test_data): Likewise.
30549 (sincos_test_data): Likewise.
30550 (sinh_test_data): Likewise.
30551 (tan_test_data): Likewise.
30552 (tanh_test_data): Likewise.
30553 (tgamma_test_data): Likewise.
30554 (y0_test_data): Likewise.
30555 (y1_test_data): Likewise.
30556 (yn_test_data): Likewise.
30557
30558 [BZ #16167]
30559 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30560 argument being NaN and avoid computations with second argument in
30561 that case.
30562 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30563 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30564 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30565
30566 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30567
30568 * locale/iso-639.def: Add Chitwani Tharu (the).
30569
30570 2013-11-14 Andreas Schwab <schwab@suse.de>
30571
30572 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30573 word instead of empty string.
30574
30575 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30576
30577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30578 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30580 (__fe_nomask_env): Likewise.
30581
30582 2013-11-13 Steve Ellcey <sellcey@mips.com>
30583
30584 * benchtests/bench-timing.h: Include time.h.
30585
30586 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30587
30588 [BZ #15997]
30589 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30590 to 3.4.0 for x32.
30591 * sysdeps/unix/sysv/linux/configure: Regenerated.
30592
30593 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30594
30595 [BZ #16151]
30596 * stdlib/strtod_l.c (round_and_return): Do not consider
30597 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30598 exponent one less than half the least subnormal exponent.
30599 * stdlib/test-strtod-round-data: Add more tests.
30600 * stdlib/tst-strtod-round.c (tests): Regenerated.
30601
30602 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30603
30604 [BZ #14143]
30605 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30606 (__fe_mask_env): Likewise.
30607 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30608 libm_hidden_proto and add function prototype.
30609 (__fe_mask_env): Add function prototype.
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30611 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30613 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30615 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30616
30617 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30618
30619 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30620 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30621
30622 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30623
30624 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30625 of htab_find_slot().
30626
30627 2013-11-11 David S. Miller <davem@davemloft.net>
30628
30629 [BZ #16150]
30630 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30631 symbol in the non-vis3 case in static builds.
30632 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30633 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30634 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30635 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30636
30637 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30638
30639 [BZ #387]
30640 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30641 it is empty.
30642
30643 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30644
30645 * benchtests/Makefile: Add bench-strtod.
30646 * benchtests/bench-strtod.c: New file: strtod benchtest
30647
30648 2013-11-11 Andreas Schwab <schwab@suse.de>
30649
30650 [BZ #16153]
30651 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30652 terminating NUL in key length.
30653
30654 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30655
30656 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30657 Add artificial ODP entry for vDSO symbol for PPC64.
30658 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30659 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30660
30661 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30662
30663 [BZ #15374]
30664 * nss/getent.c (services_keys): Recognize services starting with digit.
30665
30666 2013-11-06 David S. Miller <davem@davemloft.net>
30667
30668 [BZ #15985]
30669 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30670 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30671
30672 2013-11-06 Will Newton <will.newton@linaro.org>
30673
30674 * manual/memory.texi (Malloc Examples): Remove register
30675 keyword from examples.
30676
30677 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30678
30679 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30680
30681 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30682
30683 [BZ #6981]
30684 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30685 depending on [__GCC_IEC_559 > 0].
30686 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30687 depending on [__GCC_IEC_559_COMPLEX > 0].
30688
30689 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30690
30691 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30692 to iso-639.def.
30693
30694 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30695
30696 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30697
30698 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30699
30700 [BZ #16112]
30701 * malloc/malloc (malloc_info): Do not handle first bin as
30702 special case.
30703
30704 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30705
30706 * locale/iso-639.def: Add Central Nahuatl (nhn).
30707
30708 2013-11-01 Bruno Haible <bruno@clisp.org>
30709
30710 [BZ #7003]
30711 * manual/math.texi (BSD Random): Specify range upper bound as
30712 in POSIX.
30713
30714 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30715
30716 * locale/iso-639.def: Add Meadow Mari (mhr).
30717
30718 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30719
30720 [BZ #14752], [BZ #15763]
30721 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30722 Validate name.
30723 * rt/tst_shm.c: Add test for escaping directory.
30724
30725 2013-10-31 Andreas Schwab <schwab@suse.de>
30726
30727 [BZ #15917]
30728 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30729 followed by 'x' as part of digit sequence.
30730 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30731
30732 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30733
30734 [BZ #16037]
30735 * configure.ac: allow GNU Make 4.0 and greater.
30736 * configure: Regenerated.
30737
30738 2013-10-30 Will Newton <will.newton@linaro.org>
30739
30740 [BZ #16038]
30741 * malloc/hooks.c (memalign_check): Limit alignment to the
30742 maximum representable power of two.
30743 * malloc/malloc.c (__libc_memalign): Likewise.
30744 * malloc/tst-memalign.c (do_test): Add test for very
30745 large alignment values.
30746 * malloc/tst-posix_memalign.c (do_test): Likewise.
30747
30748 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30749
30750 [BZ #11087]
30751 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30752 (munmap_chunk): Likewise.
30753 (mremap_chunk): Likewise.
30754
30755 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30756
30757 [BZ #15799]
30758 * stdlib/div.c (div): Remove obsolete code.
30759 * stdlib/ldiv.c (ldiv): Likewise.
30760 * stdlib/lldiv.c (lldiv): Likewise.
30761
30762 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30763
30764 [BZ #16071]
30765 * nss/nss_files/files-XXX.c (get_contents_ret): New
30766 enumerator.
30767 (get_contents): New function.
30768 (internal_getent): Use it. Expand size of LINEBUFLEN.
30769
30770 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30771
30772 * configure.in: Moved to ...
30773 * configure.ac: ... here. Change reference to configure.in
30774 to configure.ac.
30775 * sysdeps/arm/preconfigure.ac: ... here.
30776 configure.in to configure.ac.
30777 * sysdeps/gnu/configure.in: Moved to ...
30778 * sysdeps/gnu/configure.ac: ... here.
30779 * sysdeps/i386/configure.in: Moved to ...
30780 * sysdeps/i386/configure.ac: ... here.
30781 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30782 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30783 * sysdeps/mach/configure.in: Moved to ...
30784 * sysdeps/mach/configure.ac: ... here.
30785 * sysdeps/mach/hurd/configure.in: Moved to ...
30786 * sysdeps/mach/hurd/configure.ac: ... here.
30787 * sysdeps/powerpc/configure.in: Moved to ...
30788 * sysdeps/powerpc/configure.ac: ... here.
30789 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30790 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30791 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30792 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30793 * sysdeps/s390/s390-32/configure.in: Moved to ...
30794 * sysdeps/s390/s390-32/configure.ac: ... here.
30795 * sysdeps/s390/s390-64/configure.in: Moved to ...
30796 * sysdeps/s390/s390-64/configure.ac: ... here.
30797 * sysdeps/sh/configure.in: Moved to ...
30798 * sysdeps/sh/configure.ac: ... here.
30799 * sysdeps/sparc/configure.in: Moved to ...
30800 * sysdeps/sparc/configure.ac: ... here.
30801 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30802 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30803 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30804 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30805 * sysdeps/x86_64/configure.in: Moved to ...
30806 * sysdeps/x86_64/configure.ac: ... here.
30807 * sysdeps/x86_64/preconfigure.in: Moved to ...
30808 * sysdeps/x86_64/preconfigure.ac: ... here.
30809 * aclocal.m4: Change reference to configure.in to configure.ac.
30810 * config.h.in: Likewise.
30811 * manual/install.texi: Likewise.
30812 * manual/maint.texi: Likewise.
30813 * Makefile: Likewise.
30814 * malloc/Makefile: Likewise.
30815 * nscd/Makefile: Likewise.
30816 * Makeconfig: Change reference to configure.in and
30817 preconfigure.in to configure.ac and preconfigure.ac
30818 respectively.
30819 * INSTALL: Regenerated.
30820 * configure: Likewise.
30821 * sysdeps/gnu/configure: Likewise.
30822 * sysdeps/i386/configure: Likewise.
30823 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30824 * sysdeps/mach/configure: Likewise.
30825 * sysdeps/mach/hurd/configure: Likewise.
30826 * sysdeps/powerpc/configure: Likewise.
30827 * sysdeps/powerpc/powerpc32/configure: Likewise.
30828 * sysdeps/powerpc/powerpc64/configure: Likewise.
30829 * sysdeps/s390/s390-32/configure: Likewise.
30830 * sysdeps/s390/s390-64/configure: Likewise.
30831 * sysdeps/sh/configure: Likewise.
30832 * sysdeps/sparc/configure: Likewise.
30833 * sysdeps/unix/sysv/linux/configure: Likewise.
30834 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30835 * sysdeps/x86_64/configure: Likewise.
30836 * sysdeps/x86_64/preconfigure: Likewise.
30837
30838 2013-10-29 Andreas Schwab <schwab@suse.de>
30839
30840 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30841
30842 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30843
30844 * benchtests/pow-inputs: Add new inputs.
30845
30846 * benchtests/exp-inputs: Add new inputs.
30847
30848 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30849 conditional check for return value.
30850 (__cos32): Likewise.
30851
30852 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30853
30854 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30855 to provide a boost for large inputs with word alignment.
30856 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30857 implementation based on optimized PPC64 strcpy.
30858 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30859 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30860 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30861 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30862
30863 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30864
30865 [BZ #2801]
30866 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30867
30868 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30869
30870 [BZ #14876]
30871 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30872 * time/tst-strptime.c (day_tests): Add testcase.
30873
30874 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30875
30876 [BZ #14029]
30877 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30878
30879 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30880
30881 [BZ #16074]
30882 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30883 MAP_FAILED on error.
30884
30885 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30886
30887 [BZ #16072]
30888 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30889 heap for large requests.
30890
30891 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30892
30893 [BZ #9954]
30894 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30895 result if the result has no associated interface.
30896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30897 interface for all 127.X.Y.Z addresses.
30898
30899 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30900
30901 * locale/iso-639.def: Add Ligurian (lij)
30902
30903 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30904
30905 [BZ #15825]
30906 * sunrpc/rpc_main.c: Document rpcgen -5.
30907
30908 2013-10-19 Michael Stahl <mstahl@redhat.com>
30909
30910 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30911
30912 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30913
30914 [BZ #10278]
30915 * posix/glob.c: Match only directories when trailing slash is present.
30916 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30917 (main): Add testcase.
30918
30919 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30920
30921 [BZ #15670]
30922 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30923
30924 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30925
30926 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30927 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30928 AUTH_DES and cindex for FIPS 140-2.
30929 (DES Encryption): Add cindex FIPS 46-3.
30930
30931 * locale/locarchive.h (struct locarhandle): Add fname.
30932 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30933 if an optional argument was specified to --list-archive,
30934 otherwise NULL.
30935 * locale/programs/locarchive.c (show_archive_content): Take new
30936 argument fname and pass it via ah.fname to open_archive.
30937 * locale/programs/localedef.h: Update decl.
30938 (open_archive): If AH->fname is non-null, open that file
30939 rather than the default file name, and don't ignore ENOENT.
30940 (create_archive): Set AH.fname to NULL.
30941 (delete_locales_from_archive): Likewise.
30942 (add_locales_to_archive): Likewise.
30943 * locale/programs/locfile.c (write_all_categories): Likewise.
30944
30945 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30946 Aldy Hernandez <aldyh@redhat.com>
30947
30948 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30949 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30950 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30951 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30952 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30953 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30954 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30955 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30956 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30957 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30958 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30959 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30960 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30961 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30962 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30963 Likewise.
30964 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30965 Likewise.
30966 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30967 Likewise.
30968 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30969 Likewise.
30970 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30971 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30972 Likewise.
30973 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30974 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30975 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30976 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30977 Likewise.
30978 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30979 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30980 * sysdeps/powerpc/preconfigure: Likewise.
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30982 Likewise.
30983 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30984 Replace contents of file by #include of <fenv_libc.h>.
30985 * sysdeps/powerpc/soft-fp/sfp-machine.h
30986 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30987 and <sys/prctl.h>.
30988 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30999 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31001 Allow copysignl PLT reference to be missing.
31002
31003 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31004 Joseph Myers <joseph@codesourcery.com
31005
31006 [BZ #15948]
31007 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31008 single character.
31009 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31010
31011 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31012
31013 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31014 * elf/tst-tls1.c: Likewise.
31015 * elf/tst-tls10.h: Likewise.
31016 * elf/tst-tls14.c: Likewise.
31017 * elf/tst-tls2.c: Likewise.
31018 * elf/tst-tls3.c: Likewise.
31019 * elf/tst-tls4.c: Likewise.
31020 * elf/tst-tls5.c: Likewise.
31021 * elf/tst-tls6.c: Likewise.
31022 * elf/tst-tls7.c: Likewise.
31023 * elf/tst-tls8.c: Likewise.
31024 * elf/tst-tls9.c: Likewise.
31025 * elf/tst-tlsmod1.c: Likewise.
31026 * elf/tst-tlsmod13.c: Likewise.
31027 * elf/tst-tlsmod13a.c: Likewise.
31028 * elf/tst-tlsmod14a.c: Likewise.
31029 * elf/tst-tlsmod16a.c: Likewise.
31030 * elf/tst-tlsmod16b.c: Likewise.
31031 * elf/tst-tlsmod2.c: Likewise.
31032 * elf/tst-tlsmod3.c: Likewise.
31033 * elf/tst-tlsmod4.c: Likewise.
31034 * elf/tst-tlsmod5.c: Likewise.
31035 * elf/tst-tlsmod6.c: Likewise.
31036
31037 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31038
31039 [BZ #12486]
31040 * malloc/malloc.c: remove checks for statistics.
31041
31042 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31043
31044 [BZ #15277]
31045 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31046 * inet/tst-network.c: Add testcase.
31047
31048 2013-10-17 Andreas Schwab <schwab@suse.de>
31049
31050 [BZ #15218]
31051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31052 to determine canonical name.
31053
31054 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31055
31056 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31057 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31059 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31062 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31063 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31064 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31065 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31066 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31074 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31075 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31079 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31080 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31081 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31082 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31083 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31084 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31085 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31086 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31087 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31088 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31089 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31090 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31091 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31092 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31093 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31094 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31095 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31096 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31097 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31099 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31100 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31101 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31102 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31103 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31104 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31105 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31106 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31107 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31108 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31109 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31111 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31113 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31114
31115 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31116
31117 [BZ #16041]
31118 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31119 make result into a quiet NaN.
31120
31121 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31122
31123 * soft-fp/adddf3.c: Fix horizontal whitespace.
31124 * soft-fp/addsf3.c: Likewise.
31125 * soft-fp/addtf3.c: Likewise.
31126 * soft-fp/divdf3.c: Likewise.
31127 * soft-fp/divsf3.c: Likewise.
31128 * soft-fp/divtf3.c: Likewise.
31129 * soft-fp/double.h: Likewise.
31130 * soft-fp/eqdf2.c: Likewise.
31131 * soft-fp/eqsf2.c: Likewise.
31132 * soft-fp/eqtf2.c: Likewise.
31133 * soft-fp/extenddftf2.c: Likewise.
31134 * soft-fp/extended.h: Likewise.
31135 * soft-fp/extendsfdf2.c: Likewise.
31136 * soft-fp/extendsftf2.c: Likewise.
31137 * soft-fp/extendxftf2.c: Likewise.
31138 * soft-fp/fixdfdi.c: Likewise.
31139 * soft-fp/fixdfsi.c: Likewise.
31140 * soft-fp/fixdfti.c: Likewise.
31141 * soft-fp/fixsfdi.c: Likewise.
31142 * soft-fp/fixsfsi.c: Likewise.
31143 * soft-fp/fixsfti.c: Likewise.
31144 * soft-fp/fixtfdi.c: Likewise.
31145 * soft-fp/fixtfsi.c: Likewise.
31146 * soft-fp/fixtfti.c: Likewise.
31147 * soft-fp/fixunsdfdi.c: Likewise.
31148 * soft-fp/fixunsdfsi.c: Likewise.
31149 * soft-fp/fixunsdfti.c: Likewise.
31150 * soft-fp/fixunssfdi.c: Likewise.
31151 * soft-fp/fixunssfsi.c: Likewise.
31152 * soft-fp/fixunssfti.c: Likewise.
31153 * soft-fp/fixunstfdi.c: Likewise.
31154 * soft-fp/fixunstfsi.c: Likewise.
31155 * soft-fp/fixunstfti.c: Likewise.
31156 * soft-fp/floatdidf.c: Likewise.
31157 * soft-fp/floatdisf.c: Likewise.
31158 * soft-fp/floatditf.c: Likewise.
31159 * soft-fp/floatsidf.c: Likewise.
31160 * soft-fp/floatsisf.c: Likewise.
31161 * soft-fp/floatsitf.c: Likewise.
31162 * soft-fp/floattidf.c: Likewise.
31163 * soft-fp/floattisf.c: Likewise.
31164 * soft-fp/floattitf.c: Likewise.
31165 * soft-fp/floatundidf.c: Likewise.
31166 * soft-fp/floatundisf.c: Likewise.
31167 * soft-fp/floatunditf.c: Likewise.
31168 * soft-fp/floatunsidf.c: Likewise.
31169 * soft-fp/floatunsisf.c: Likewise.
31170 * soft-fp/floatunsitf.c: Likewise.
31171 * soft-fp/floatuntidf.c: Likewise.
31172 * soft-fp/floatuntisf.c: Likewise.
31173 * soft-fp/floatuntitf.c: Likewise.
31174 * soft-fp/fmadf4.c: Likewise.
31175 * soft-fp/fmasf4.c: Likewise.
31176 * soft-fp/fmatf4.c: Likewise.
31177 * soft-fp/gedf2.c: Likewise.
31178 * soft-fp/gesf2.c: Likewise.
31179 * soft-fp/getf2.c: Likewise.
31180 * soft-fp/ledf2.c: Likewise.
31181 * soft-fp/lesf2.c: Likewise.
31182 * soft-fp/letf2.c: Likewise.
31183 * soft-fp/muldf3.c: Likewise.
31184 * soft-fp/mulsf3.c: Likewise.
31185 * soft-fp/multf3.c: Likewise.
31186 * soft-fp/negdf2.c: Likewise.
31187 * soft-fp/negsf2.c: Likewise.
31188 * soft-fp/negtf2.c: Likewise.
31189 * soft-fp/op-1.h: Likewise.
31190 * soft-fp/op-2.h: Likewise.
31191 * soft-fp/op-4.h: Likewise.
31192 * soft-fp/op-8.h: Likewise.
31193 * soft-fp/op-common.h: Likewise.
31194 * soft-fp/quad.h: Likewise.
31195 * soft-fp/single.h: Likewise.
31196 * soft-fp/soft-fp.h: Likewise.
31197 * soft-fp/sqrtdf2.c: Likewise.
31198 * soft-fp/sqrtsf2.c: Likewise.
31199 * soft-fp/sqrttf2.c: Likewise.
31200 * soft-fp/subdf3.c: Likewise.
31201 * soft-fp/subsf3.c: Likewise.
31202 * soft-fp/subtf3.c: Likewise.
31203 * soft-fp/truncdfsf2.c: Likewise.
31204 * soft-fp/trunctfdf2.c: Likewise.
31205 * soft-fp/trunctfsf2.c: Likewise.
31206 * soft-fp/trunctfxf2.c: Likewise.
31207 * soft-fp/unorddf2.c: Likewise.
31208 * soft-fp/unordsf2.c: Likewise.
31209 * soft-fp/unordtf2.c: Likewise.
31210
31211 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31212
31213 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31214 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31215
31216 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31217
31218 * elf/dl-libc.c: Clear initfini list after freeing.
31219
31220 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31221
31222 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31223 * soft-fp/addsf3.c: Likewise.
31224 * soft-fp/addtf3.c: Likewise.
31225 * soft-fp/divdf3.c: Likewise.
31226 * soft-fp/divsf3.c: Likewise.
31227 * soft-fp/divtf3.c: Likewise.
31228 * soft-fp/double.h: Likewise.
31229 * soft-fp/eqdf2.c: Likewise.
31230 * soft-fp/eqsf2.c: Likewise.
31231 * soft-fp/eqtf2.c: Likewise.
31232 * soft-fp/extenddftf2.c: Likewise.
31233 * soft-fp/extended.h: Likewise.
31234 * soft-fp/extendsfdf2.c: Likewise.
31235 * soft-fp/extendsftf2.c: Likewise.
31236 * soft-fp/extendxftf2.c: Likewise.
31237 * soft-fp/fixdfdi.c: Likewise.
31238 * soft-fp/fixdfsi.c: Likewise.
31239 * soft-fp/fixdfti.c: Likewise.
31240 * soft-fp/fixsfdi.c: Likewise.
31241 * soft-fp/fixsfsi.c: Likewise.
31242 * soft-fp/fixsfti.c: Likewise.
31243 * soft-fp/fixtfdi.c: Likewise.
31244 * soft-fp/fixtfsi.c: Likewise.
31245 * soft-fp/fixtfti.c: Likewise.
31246 * soft-fp/fixunsdfdi.c: Likewise.
31247 * soft-fp/fixunsdfsi.c: Likewise.
31248 * soft-fp/fixunsdfti.c: Likewise.
31249 * soft-fp/fixunssfdi.c: Likewise.
31250 * soft-fp/fixunssfsi.c: Likewise.
31251 * soft-fp/fixunssfti.c: Likewise.
31252 * soft-fp/fixunstfdi.c: Likewise.
31253 * soft-fp/fixunstfsi.c: Likewise.
31254 * soft-fp/fixunstfti.c: Likewise.
31255 * soft-fp/floatdidf.c: Likewise.
31256 * soft-fp/floatdisf.c: Likewise.
31257 * soft-fp/floatditf.c: Likewise.
31258 * soft-fp/floatsidf.c: Likewise.
31259 * soft-fp/floatsisf.c: Likewise.
31260 * soft-fp/floatsitf.c: Likewise.
31261 * soft-fp/floattidf.c: Likewise.
31262 * soft-fp/floattisf.c: Likewise.
31263 * soft-fp/floattitf.c: Likewise.
31264 * soft-fp/floatundidf.c: Likewise.
31265 * soft-fp/floatundisf.c: Likewise.
31266 * soft-fp/floatunsidf.c: Likewise.
31267 * soft-fp/floatunsisf.c: Likewise.
31268 * soft-fp/floatuntidf.c: Likewise.
31269 * soft-fp/floatuntisf.c: Likewise.
31270 * soft-fp/floatuntitf.c: Likewise.
31271 * soft-fp/fmadf4.c: Likewise.
31272 * soft-fp/fmasf4.c: Likewise.
31273 * soft-fp/fmatf4.c: Likewise.
31274 * soft-fp/gedf2.c: Likewise.
31275 * soft-fp/gesf2.c: Likewise.
31276 * soft-fp/getf2.c: Likewise.
31277 * soft-fp/ledf2.c: Likewise.
31278 * soft-fp/lesf2.c: Likewise.
31279 * soft-fp/letf2.c: Likewise.
31280 * soft-fp/muldf3.c: Likewise.
31281 * soft-fp/mulsf3.c: Likewise.
31282 * soft-fp/multf3.c: Likewise.
31283 * soft-fp/negdf2.c: Likewise.
31284 * soft-fp/negsf2.c: Likewise.
31285 * soft-fp/negtf2.c: Likewise.
31286 * soft-fp/op-1.h: Likewise.
31287 * soft-fp/op-2.h: Likewise.
31288 * soft-fp/op-4.h: Likewise.
31289 * soft-fp/op-8.h: Likewise.
31290 * soft-fp/op-common.h: Likewise.
31291 * soft-fp/quad.h: Likewise.
31292 * soft-fp/single.h: Likewise.
31293 * soft-fp/soft-fp.h: Likewise.
31294 * soft-fp/sqrtdf2.c: Likewise.
31295 * soft-fp/sqrtsf2.c: Likewise.
31296 * soft-fp/sqrttf2.c: Likewise.
31297 * soft-fp/subdf3.c: Likewise.
31298 * soft-fp/subsf3.c: Likewise.
31299 * soft-fp/subtf3.c: Likewise.
31300 * soft-fp/truncdfsf2.c: Likewise.
31301 * soft-fp/trunctfdf2.c: Likewise.
31302 * soft-fp/trunctfsf2.c: Likewise.
31303 * soft-fp/trunctfxf2.c: Likewise.
31304 * soft-fp/unorddf2.c: Likewise.
31305 * soft-fp/unordsf2.c: Likewise.
31306 * soft-fp/unordtf2.c: Likewise.
31307
31308 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31309
31310 [BZ #15672]
31311 * misc/error.c (error_tail): Fix possible buffer overflow.
31312
31313 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31314
31315 [BZ #13028]
31316 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31317 address.
31318
31319 2013-10-14 P. J. McDermott <pj@pehjota.net>
31320
31321 [BZ #832]
31322 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31323 testing pipefail option.
31324
31325 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31326
31327 * soft-fp/double.h: Indent preprocessor directives inside #if.
31328 * soft-fp/extended.h: Likewise.
31329 * soft-fp/op-2.h: Likewise.
31330 * soft-fp/op-4.h: Likewise.
31331 * soft-fp/op-common.h: Likewise.
31332 * soft-fp/quad.h: Likewise.
31333 * soft-fp/single.h: Likewise.
31334 * soft-fp/soft-fp.h: Likewise.
31335
31336 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31337
31338 * iconv/iconv_prog.c: Fix typos.
31339 * stdio-common/psiginfo-data.h: Likewise.
31340
31341 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31342
31343 [BZ #15764]
31344 * locale/setlocale.c: Fix typo.
31345
31346 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31347
31348 [BZ #16036]
31349 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31350 signaling NaN arguments.
31351 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31352 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31353
31354 [BZ #14910]
31355 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31356 unordered operands.
31357 * soft-fp/gesf2.c (__gesf2): Likewise.
31358 * soft-fp/getf2.c (__getf2): Likewise.
31359 * soft-fp/ledf2.c (__ledf2): Likewise.
31360 * soft-fp/lesf2.c (__lesf2): Likewise.
31361 * soft-fp/letf2.c (__letf2): Likewise.
31362
31363 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31364 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31365 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31366 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31367 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31368 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31369 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31370 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31371 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31372 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31373 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31374 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31375 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31376 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31377 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31378 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31379 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31380 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31381 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31382 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31383 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31384 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31385 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31386 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31387 * soft-fp/floattidf.c (__floattidf): Likewise.
31388 * soft-fp/floattisf.c (__floattisf): Likewise.
31389 * soft-fp/floattitf.c (__floattitf): Likewise.
31390 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31391 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31392 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31393 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31394 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31395 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31396 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31397 * soft-fp/gesf2.c (__gesf2): Likewise.
31398 * soft-fp/getf2.c (__getf2): Likewise.
31399 * soft-fp/ledf2.c (__ledf2): Likewise.
31400 * soft-fp/lesf2.c (__lesf2): Likewise.
31401 * soft-fp/letf2.c (__letf2): Likewise.
31402
31403 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31404 Undefine and redefine.
31405 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31406 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31407 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31408 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31409 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31410 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31411 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31412 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31413 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31414 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31415 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31416 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31417 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31418 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31419 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31420
31421 [BZ #16032]
31422 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31423 without decrementing exponent if mantissa >= that for the
31424 denominator, not >.
31425 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31426 denominator, not >. Decrement exponent in < case instead of
31427 incrementing in >= case.
31428 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31429 without decrementing exponent if mantissa >= that for the
31430 denominator, not >.
31431
31432 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31433 computing saturated result for unsigned overflow.
31434
31435 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31436 Jeff Law <law@redhat.com>
31437
31438 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31439 (atan2Mp): Add systemtap probe marker.
31440 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31441 (__ieee754_log): Add systemtap probe marker.
31442 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31443 (atanMp): Add systemtap probe marker.
31444 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31445 (tanMp): Add systemtap probe marker.
31446 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31447 (__slowexp): Add systemtap probe marker.
31448 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31449 (__slowpow): Add systemtap probe marker.
31450 * manual/probes.texi: Document probes.
31451
31452 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31453
31454 [BZ #15362]
31455 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31456 written.
31457 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31458 written.
31459 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31460 written to buffer but not flushed.
31461 * libio/iofwrite_u.c: Likewise.
31462 * libio/iopadn.c: Return bytes returned even if EOF was
31463 encountered.
31464 * libio/iowpadn.c: Likewise.
31465 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31466 if _IO_padn does not write the whole buffer.
31467 [!COMPILE_WPRINTF] (PAD): Likewise.
31468
31469 2013-10-10 David S. Miller <davem@davemloft.net>
31470
31471 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31472 directory block.
31473
31474 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31475
31476 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31477 instead of FSF address.
31478 * soft-fp/fixdfti.c: Likewise.
31479 * soft-fp/fixsfti.c: Likewise.
31480 * soft-fp/fixtfti.c: Likewise.
31481 * soft-fp/fixunsdfti.c: Likewise.
31482 * soft-fp/fixunssfti.c: Likewise.
31483 * soft-fp/fixunstfti.c: Likewise.
31484 * soft-fp/floattidf.c: Likewise.
31485 * soft-fp/floattisf.c: Likewise.
31486 * soft-fp/floattitf.c: Likewise.
31487 * soft-fp/floatuntidf.c: Likewise.
31488 * soft-fp/floatuntisf.c: Likewise.
31489 * soft-fp/floatuntitf.c: Likewise.
31490 * soft-fp/trunctfxf2.c: Likewise.
31491
31492 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31493 * soft-fp/fixdfti.c: Likewise.
31494 * soft-fp/fixsfti.c: Likewise.
31495 * soft-fp/fixtfti.c: Likewise.
31496 * soft-fp/fixunsdfti.c: Likewise.
31497 * soft-fp/fixunssfti.c: Likewise.
31498 * soft-fp/fixunstfti.c: Likewise.
31499 * soft-fp/floattidf.c: Likewise.
31500 * soft-fp/floattisf.c: Likewise.
31501 * soft-fp/floattitf.c: Likewise.
31502 * soft-fp/floatuntidf.c: Likewise.
31503 * soft-fp/floatuntisf.c: Likewise.
31504 * soft-fp/floatuntitf.c: Likewise.
31505 * soft-fp/trunctfxf2.c: Likewise.
31506
31507 2013-10-10 David S. Miller <davem@davemloft.net>
31508
31509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31510
31511 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31512
31513 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31514 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31515 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31516 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31517 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31518 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31519 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31520
31521 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31522 for NaNs before doing comparisons on argument.
31523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31524 Likewise.
31525
31526 2013-10-10 Will Newton <will.newton@linaro.org>
31527
31528 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31529 passed to _int_memalign does not overflow.
31530
31531 2013-10-10 Torvald Riegel <triegel@redhat.com>
31532
31533 * scripts/bench.pl: Add include-sources directive.
31534 * benchtests/README: Update documentation.
31535
31536 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31537
31538 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31539 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31540 instead of FP_INIT_ROUNDMODE.
31541 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31542 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31543
31544 [BZ #16034]
31545 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31546 copy class of input value.
31547 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31548 not handle exceptions.
31549 * soft-fp/negsf2.c (__negsf2): Likewise.
31550 * soft-fp/negtf2.c (__negtf2): Likewise.
31551 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31552
31553 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31554
31555 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31556 semicolon. From Linux kernel.
31557
31558 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31559
31560 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31561
31562 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31563
31564 [BZ #156]
31565 * manual/socket.texi: Added statement about buffer
31566 for gethostbyname2_r.
31567
31568 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31569
31570 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31571 Use .p2align directive instead, throughout.
31572 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31573 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31574 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31576 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31577 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31578 * sysdeps/x86_64/strchr.S: Likewise.
31579 * sysdeps/x86_64/strrchr.S: Likewise.
31580
31581 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31582
31583 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31584
31585 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31586
31587 * sysdeps/generic/math_private.h (__mpsin1): Remove
31588 declaration.
31589 (__mpcos1): Likewise.
31590 (__mpsin): New argument __range_reduce.
31591 (__mpcos): Likewise.
31592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31593 (slow): Use __mpsin and __mpcos.
31594 (slow1): Likewise.
31595 (slow2): Likewise.
31596 (sloww): Likewise.
31597 (sloww1): Likewise.
31598 (sloww2): Likewise.
31599 (bsloww): Likewise.
31600 (bsloww1): Likewise.
31601 (bsloww2): Likewise.
31602 (cslow2): Likewise.
31603 (csloww): Likewise.
31604 (csloww1): Likewise.
31605 (csloww2): Likewise.
31606 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31607 range_reduce. Merge in __mpsin1.
31608 (__mpcos): Likewise.
31609 (__mpsin1): Remove.
31610 (__mpcos1): Likewise.
31611
31612 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31613
31614 * locale/loadlocale.c (_nl_intern_locale_data): Use
31615 LOCFILE_ALIGNED_P.
31616 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31617 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31618 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31619 obstack data is appropriately aligned.
31620 (obstack_int32_grow_fast): Likewise.
31621 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31622 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31623 (add_locale_uint32_array): Likewise.
31624
31625 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31626
31627 * benchtests/Makefile: Remove ARGLIST and RET variables.
31628 ($(objpfx)bench-%.c): Pass only function name to the script.
31629 * benchtests/README: Update documentation.
31630 * benchtests/acos-inputs: Add new directives.
31631 * benchtests/acosh-inputs: Likewise.
31632 * benchtests/asin-inputs: Likewise.
31633 * benchtests/asinh-inputs: Likewise.
31634 * benchtests/atan-inputs: Likewise.
31635 * benchtests/atanh-inputs: Likewise.
31636 * benchtests/cos-inputs: Likewise.
31637 * benchtests/cosh-inputs: Likewise.
31638 * benchtests/exp-inputs: Likewise.
31639 * benchtests/log-inputs: Likewise.
31640 * benchtests/pow-inputs: Likewise.
31641 * benchtests/rint-inputs: Likewise.
31642 * benchtests/sin-inputs: Likewise.
31643 * benchtests/sinh-inputs: Likewise.
31644 * benchtests/tan-inputs: Likewise.
31645 * benchtests/tanh-inputs: Likewise.
31646 * scripts/bench.pl: Add support for new directives.
31647
31648 2013-10-07 Alan Modra <amodra@gmail.com>
31649
31650 * README: Fix careless merge.
31651
31652 2013-10-05 Alan Modra <amodra@gmail.com>
31653
31654 * NEWS: Mention powerpc64le support and bugs fixed.
31655 * README: Both big-endian and little-endian powerpc64 supported.
31656
31657 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31658
31659 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31660 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31661 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31662 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31663
31664 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31665
31666 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31667 match prototype.
31668
31669 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31670
31671 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31672 Move -mhard-float appending from
31673 ports/sysdeps/powerpc/powerpc32/Makefile.
31674 [$(with-fp) = yes] (ASFLAGS): Likewise.
31675 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31676 * sysdeps/powerpc/nofpu: Move directory from
31677 ports/sysdeps/powerpc/nofpu.
31678 * sysdeps/powerpc/soft-fp: Move directory from
31679 ports/sysdeps/powerpc/soft-fp.
31680 * sysdeps/powerpc/powerpc32/405: Move directory from
31681 ports/sysdeps/powerpc/powerpc32/405.
31682 * sysdeps/powerpc/powerpc32/440: Move directory from
31683 ports/sysdeps/powerpc/powerpc32/440.
31684 * sysdeps/powerpc/powerpc32/464: Move directory from
31685 ports/sysdeps/powerpc/powerpc32/464.
31686 * sysdeps/powerpc/powerpc32/476: Move directory from
31687 ports/sysdeps/powerpc/powerpc32/476.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31689 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31691 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31693 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31695 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31697 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31698 * README: Update for powerpc-*-linux-gnu software floating point
31699 support in libc.
31700
31701 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31702 case to powerpc/powerpc32*.
31703 * sysdeps/unix/sysv/linux/configure: Regenerated.
31704
31705 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31706 (_FPU_MASK_OM): Define as 0x04.
31707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31709 0x00c10080.
31710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31711 0x0000003c.
31712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31713
31714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31715 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31716 getcontext_e500.
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31718 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31719 setcontext_e500.
31720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31721 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31722 and setcontext_e500.
31723
31724 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31725
31726 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31727
31728 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31729
31730 * manual/threads.texi (Default Thread Attributes): Fix typo.
31731
31732 2013-10-04 Will Newton <will.newton@linaro.org>
31733
31734 * malloc/Makefile: Add tst-memalign.
31735 * malloc/tst-memalign.c: New file.
31736
31737 * malloc/tst-posix_memalign.c: Add comments.
31738 (do_test): Add comments and call free on all potentially
31739 allocated pointers. Add space after cast.
31740
31741 * malloc/tst-pvalloc.c: Add comments.
31742 (do_test): Add comments and call free on all potentially
31743 allocated pointers. Remove duplicate check for NULL pointer.
31744 Add space after cast.
31745
31746 * malloc/tst-valloc.c: Add comments.
31747 (do_test): Add comments and call free on all potentially
31748 allocated pointers. Remove duplicate check for NULL pointer.
31749 Add space after cast.
31750
31751 2013-10-04 Alan Modra <amodra@gmail.com>
31752
31753 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31754 Use stdint types in rather than __attribute__((mode())).
31755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31756
31757 2013-10-04 Alan Modra <amodra@gmail.com>
31758
31759 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31760 Correct handling of unaligned relocs for little-endian.
31761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31762
31763 2013-10-04 Alan Modra <amodra@gmail.com>
31764
31765 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31766 * configure: Regenerate.
31767 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31768 * shlib-versions: Likewise.
31769
31770 2013-10-04 Alan Modra <amodra@gmail.com>
31771
31772 * string/tester.c (test_memrchr): Increment reported test cycle.
31773
31774 2013-10-04 Alan Modra <amodra@gmail.com>
31775
31776 * string/test-memcpy.c (do_one_test): When reporting errors, print
31777 string address and don't overrun end of string.
31778
31779 2013-10-04 Alan Modra <amodra@gmail.com>
31780
31781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31782 insrdi. Make better use of reg selection to speed exit slightly.
31783 Schedule entry path a little better. Remove useless "are we done"
31784 checks on entry to main loop. Handle wrapping around zero address.
31785 Correct main loop count. Handle single left-over word from main
31786 loop inline rather than by using loop_small. Remove extra word
31787 case in loop_small caused by wrong loop count. Add little-endian
31788 support.
31789 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31790 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31791 cache hint.
31792 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31793 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31794 support. Avoid rlwimi.
31795 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31796
31797 2013-10-04 Alan Modra <amodra@gmail.com>
31798
31799 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31800 insrdi. Formatting.
31801 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31802 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31803 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31804 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31805 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31806 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31807
31808 2013-10-04 Alan Modra <amodra@gmail.com>
31809
31810 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31812 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31813 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31814 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31815 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31816 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31819 use of regs. Use power7 mtocrf. Tidy function tails.
31820
31821 2013-10-04 Alan Modra <amodra@gmail.com>
31822
31823 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31824 Formatting. Consistently use rXXX register defines or rN defines.
31825 Use early exit labels that avoid restoring unused non-volatile regs.
31826 Make cr field use more consistent with rWORDn compares. Rename
31827 regs used as shift registers for unaligned loop, using rN defines
31828 for short lifetime/multiple use regs.
31829 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31830 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31831 addi 1,1,64 to pop stack frame. Simplify return value code.
31832 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31833
31834 2013-10-04 Alan Modra <amodra@gmail.com>
31835
31836 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31837 support. Correct typos, formatting. Optimize tail. Use insrdi
31838 rather than rlwimi.
31839 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31840 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31841 little-endian support. Correct typos.
31842 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31843 rather than rlwimi.
31844 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31845 in loop and entry code to keep "and." results.
31846 (strchr): Add little-endian support. Comment. Move cntlzd
31847 earlier in tail.
31848 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31849
31850 2013-10-04 Alan Modra <amodra@gmail.com>
31851
31852 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31853 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31854 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31855 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31856
31857 2013-10-04 Alan Modra <amodra@gmail.com>
31858
31859 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31860 (rTMP): Define as r11.
31861 (strcmp): Add little-endian support. Optimise tail.
31862 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31863 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31864 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31866 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31868 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31869
31870 2013-10-04 Alan Modra <amodra@gmail.com>
31871
31872 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31873 little-endian support. Remove unnecessary "are we done" tests.
31874 Handle "s" wrapping around zero and extremely large "size".
31875 Correct main loop count. Handle single left-over word from main
31876 loop inline rather than by using small_loop. Correct comments.
31877 Delete "zero" tail, use "end_max" instead.
31878 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31879
31880 2013-10-04 Alan Modra <amodra@gmail.com>
31881
31882 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31883 support. Don't branch over align.
31884 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31885 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31886 support. Rearrange tmp reg use to suit. Comment.
31887 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31888
31889 2013-10-04 Alan Modra <amodra@gmail.com>
31890
31891 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31892
31893 2013-10-04 Alan Modra <amodra@gmail.com>
31894
31895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31896 conditional form of branch and link when obtaining pc.
31897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31898
31899 2013-10-04 Alan Modra <amodra@gmail.com>
31900
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31902 HIWORD/LOWORD.
31903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31905
31906 2013-10-04 Alan Modra <amodra@gmail.com>
31907
31908 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31909 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31910 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31911 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31912 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31913 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31914 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31915 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31916 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31917 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31918
31919 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31920 Alistair Popple <alistair@ozlabs.au.ibm.com>
31921 Alan Modra <amodra@gmail.com>
31922
31923 [BZ #15723]
31924 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31925 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31926 _dl_hwcap access for little-endian.
31927 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31928 destroy vmx regs when saving unaligned.
31929 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31930 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31931 destroy vmx regs when saving unaligned.
31932
31933 2013-10-04 Alan Modra <amodra@gmail.com>
31934
31935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31936 Don't use a union to pack hi/low value.
31937
31938 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31939
31940 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31941 for little-endian.
31942 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31943 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31944 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31945 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31946 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31947
31948 2013-10-04 Alan Modra <amodra@gmail.com>
31949
31950 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31951 constants to usual value for .cst8 section, and remove redundant
31952 high address load.
31953 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31954 constant for 0x1p52. Load little-endian words of double from
31955 correct stack offsets.
31956
31957 2013-10-04 Alan Modra <amodra@gmail.com>
31958
31959 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31960 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31961 words of double from correct stack offsets.
31962 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31963 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31964 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31968 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31969 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31970 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31971 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31972 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31973 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31974 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31975 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31976 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31977 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31978 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31979
31980 2013-10-04 Alan Modra <amodra@gmail.com>
31981
31982 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31983 64-bit int/double union.
31984 (_FPU_SETCW): Likewise.
31985 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31986 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31987
31988 2013-10-04 Alan Modra <amodra@gmail.com>
31989
31990 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31991 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31992
31993 2013-10-04 Alan Modra <amodra@gmail.com>
31994
31995 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31996 use vector int constants.
31997 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31998
31999 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32000
32001 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32002 array with long long.
32003 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32004 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32005 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32006 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32007 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32008 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32009 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32010 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32011 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32012 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32013 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32014 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32015 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32016
32017 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32018
32019 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32020 (__signbit): Likewise. Correct for little-endian.
32021 (__signbitl): Call __signbit.
32022 (lrint): Correct for little-endian.
32023 (lrintf): Call lrint.
32024
32025 2013-10-04 Alan Modra <amodra@gmail.com>
32026
32027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32028 union 32-bit int array member with 64-bit int array.
32029 (t515, tm256): Double rather than long double.
32030 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32031
32032 2013-10-04 Alan Modra <amodra@gmail.com>
32033
32034 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32035 Delete.
32036 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32038 version of math_ldbl.h.
32039
32040 2013-10-04 Alan Modra <amodra@gmail.com>
32041
32042 [BZ #15734], [BZ #15735]
32043 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32044 all uses of ieee875 long double macros and unions. Simplify test
32045 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32046 ldbl_extract_mantissa value for ix,iy exponents. Properly
32047 normalize after ldbl_extract_mantissa, and don't add hidden bit
32048 already handled. Don't treat low word of ieee854 mantissa like
32049 low word of IBM long double and mask off bit when testing for
32050 zero.
32051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32052 all uses of ieee875 long double macros and unions. Simplify tests
32053 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32054 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32055 two1022, instead use their values. Recognise that tests for large
32056 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32057 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32058 Rewrite all uses of ieee875 long double macros and unions. Simplify
32059 test for 0.0L and nan. Correct negation.
32060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32061 ieee875 long double macros and unions. Correct output for large
32062 magnitude x. Correct absolute value calculation.
32063 (__erfcl): Likewise.
32064 * math/libm-test.inc: Add tests for errors discovered in IBM long
32065 double versions of fmodl, remainderl, erfl and erfcl.
32066
32067 2013-10-04 Alan Modra <amodra@gmail.com>
32068
32069 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32070 all uses of ieee854 long double macros and unions. Simplify tests
32071 for long doubles that are fully specified by the high double.
32072 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32073 Likewise.
32074 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32075 Remove dead code too.
32076 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32077 (__ieee754_ynl): Likewise.
32078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32079 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32080 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32081 Remove dead code too.
32082 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32083 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32084 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32085 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32086 Simplify.
32087 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32088 Simplify.
32089 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32091 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32092 Comment on variable precision.
32093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32095 Likewise.
32096 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32099 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32100 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32101
32102 2013-10-04 Alan Modra <amodra@gmail.com>
32103
32104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32105 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32106 all uses of ieee854 long double macros and unions.
32107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32109 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32111 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32112 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32113 Likewise.
32114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32116 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32120 Simplify sign and nan test too.
32121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32122 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32123 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32124 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32125 Likewise.
32126 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32127 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32128 Likewise.
32129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32130 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32131 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32133 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32135
32136 2013-10-04 Alan Modra <amodra@gmail.com>
32137
32138 * stdio-common/printf_size.c (__printf_size): Don't use
32139 union ieee854_long_double in fpnum union.
32140 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32141 signbit macro to retrieve sign from long double.
32142 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32143 retrieve sign from long double.
32144 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32145 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32146 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32147 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32148 * math/test-misc.c (main): Don't use union ieee854_long_double.
32149
32150 2013-10-04 Alan Modra <amodra@gmail.com>
32151
32152 [BZ #15680]
32153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32154 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32155 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32156 calculation. Remove unnecessary test for denormal exponent.
32157 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32158 Correct handling of denormals. Avoid undefined shift behaviour.
32159 Correct normalisation of low mantissa when low double is denormal.
32160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32161 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32162 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32163 Correct normalisation of low mantissa. Test for overflow of high
32164 mantissa and normalise.
32165 (ldbl_nearbyint): Use more readable constant for two52.
32166 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32167 (__mpn_construct_long_double): Fix test for overflow of high
32168 mantissa and correct normalisation. Avoid undefined shift.
32169
32170 2013-10-04 Alan Modra <amodra@gmail.com>
32171
32172 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32173 (union ibm_extended_long_double): Define as an array of ieee754_double.
32174 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32175 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32176 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32177 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32179 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32180 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32181 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32183 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32184 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32185
32186 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32187
32188 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32189 page size instead of calling getpagesize.
32190
32191 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32192 (LOCFILE_ALIGN_MASK): Likewise.
32193 (LOCFILE_ALIGN_UP): Likewise.
32194 (LOCFILE_ALIGNED_P): Likewise.
32195 * locale/programs/ld-collate.c (collate_output): Use the new
32196 macros instead of __alignof__ (int32_t).
32197 * locale/weight.h (findidx): Likewise.
32198
32199 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32200
32201 [BZ #431]
32202 * manual/string.texi: Fix strncat and wcsncat.
32203
32204 2013-10-03 Brooks Moses <bmoses@google.com>
32205
32206 [BZ #15915]
32207 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32208 * Makerules: ...here, and adjust associated comments.
32209
32210 2013-10-02 Will Newton <will.newton@linaro.org>
32211
32212 * malloc/Makefile: Add tst-pvalloc.
32213 * malloc/tst-pvalloc.c: New file.
32214
32215 2013-10-02 Will Newton <will.newton@linaro.org>
32216
32217 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32218 improve test coverage.
32219
32220 2013-10-02 Will Newton <will.newton@linaro.org>
32221
32222 * malloc/Makefile: Add tst-posix_memalign.
32223 * malloc/tst-posix_memalign.c: New file.
32224
32225 2013-10-01 Eric Blake <eblake@redhat.com>
32226
32227 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32228 Use __THROWNL rather than __THROW on static functions.
32229
32230 2013-09-30 Petr Machata <pmachata@redhat.com>
32231
32232 * elf/elf.h (R_AARCH64_ABS16): New macro.
32233 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32234 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32235 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32236 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32237 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32238 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32239 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32240 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32241 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32242 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32243 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32244 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32245 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32246 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32247 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32248 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32249 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32250 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32251 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32252 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32253 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32254 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32255 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32256 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32257 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32258 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32259 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32260 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32261 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32262 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32263 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32264 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32265 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32266 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32267 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32268 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32269 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32270 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32271 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32272 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32273 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32274 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32275 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32276 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32277 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32278 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32279 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32280 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32281 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32282 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32283 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32284 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32285 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32286 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32287 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32288 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32289 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32290 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32291 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32292 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32293 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32294 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32295 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32296 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32297 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32298 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32299 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32300 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32301 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32302 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32303 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32304 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32305 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32306 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32307 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32308 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32309 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32310 (R_AARCH64_TLSDESC_LDR): Likewise.
32311 (R_AARCH64_TLSDESC_ADD): Likewise.
32312 (R_AARCH64_TLSDESC_CALL): Likewise.
32313
32314 2013-09-30 Andreas Schwab <schwab@suse.de>
32315
32316 [BZ #15048]
32317 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32318 the nss database lookup.
32319 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32321
32322 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32323
32324 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32325
32326 2013-09-28 P. J. McDermott <pj@pehjota.net>
32327
32328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32329 ${Bash-specific parameter/pattern/string} parameter expansion.
32330 * sysdeps/unix/make-syscalls.sh: Likewise.
32331
32332 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32333
32334 * sysdeps/sh/stackguard-macros.h: New file.
32335
32336 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32337
32338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32340 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32341 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32342 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32343 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32344
32345 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32346
32347 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32348 Fix thread ID register.
32349
32350 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32351
32352 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32353 [POSIX || UNIX98]: Require rather than permitting all symbols from
32354 <time.h>.
32355 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32356 element of struct sched_param.
32357 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32358 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32359 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32360 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32361 constant.
32362
32363 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32364
32365 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32366 argument calculation.
32367
32368 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32369
32370 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32371 Expect macro.
32372 [POSIX] (pthread_attr_t): Do not require type.
32373 [POSIX] (pthread_cond_t): Likewise.
32374 [POSIX] (pthread_condattr_t): Likewise.
32375 [POSIX] (pthread_key_t): Likewise.
32376 [POSIX] (pthread_mutex_t): Likewise.
32377 [POSIX] (pthread_mutexattr_t): Likewise.
32378 [POSIX] (pthread_once_t): Likewise.
32379 [POSIX] (pthread_t): Likewise.
32380 [POSIX-based standards] (pthread_atfork): Expect function.
32381
32382 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32383 Richard Sandiford <richard@codesourcery.com>
32384
32385 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32386 (swap_endianness_p): New extern variable.
32387 (set_big_endian): New inline function.
32388 (maybe_swap_uint32): Likewise.
32389 (maybe_swap_uint32_array): Likewise.
32390 (maybe_swap_uint32_obstack): Likewise.
32391 * locale/programs/locfile.c: Include <stdbool.h>.
32392 (swap_endianness_p): New variable.
32393 (add_locale_uint32): Call maybe_swap_uint32.
32394 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32395 (write_locale_data): Call maybe_swap_uint32_array.
32396 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32397 maybe_swap_uint32.
32398 (obstack_int32_grow_fast): Likewise.
32399 (output_weightwc): Call maybe_swap_uint32_obstack.
32400 (collate_output): Likewise.
32401 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32402 (OPT_LITTLE_ENDIAN): Likewise.
32403 (options): Add --little-endian and --big-endian options.
32404 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32405 * locale/programs/locarchive.c: Include "locfile.h".
32406 (GET): New macro.
32407 (SET): Likewise.
32408 (INC): Likewise.
32409 (create_archive): Use the new macros to access fields of
32410 structures directly mapped from or written to locale archives.
32411 (oldlocrecentcmp): Likewise.
32412 (enlarge_archive): Likewise.
32413 (insert_name): Likewise.
32414 (add_alias): Likewise.
32415 (add_locale): Likewise.
32416 (delete_locales_from_archive): Likewise.
32417 (show_archive_content): Likewise.
32418 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32419 locale data.
32420
32421 2013-09-24 Roland McGrath <roland@hack.frob.com>
32422
32423 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32424 http://www.gnu.org/doc/freemanuals.texi.
32425 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32426
32427 2013-09-24 Will Newton <will.newton@linaro.org>
32428
32429 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32430 macro.
32431
32432 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32433
32434 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32435 unsigned char.
32436
32437 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32438
32439 * manual/threads.texi (POSIX Threads): Fix a typo.
32440
32441 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32442
32443 [BZ #14547]
32444 * string/tst-strcoll-overflow.c: New test case.
32445 * string/Makefile (xtests): Add tst-strcoll-overflow.
32446 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32447 cache if string sizes may cause integer overflow.
32448
32449 [BZ #14547]
32450 * string/strcoll_l.c (coll_seq): New members rule, idx,
32451 save_idx and back_us.
32452 (get_next_seq_nocache): New function.
32453 (do_compare_nocache): New function.
32454 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32455 when malloc fails.
32456
32457 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32458
32459 [BZ #15754]
32460 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32461 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32462 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32463
32464 [BZ #15754]
32465 * elf/Makefile (tests): Add tst-ptrguard1.
32466 (tests-static): Add tst-ptrguard1-static.
32467 (tst-ptrguard1-ARGS): Define.
32468 (tst-ptrguard1-static-ARGS): Define.
32469 * elf/tst-ptrguard1.c: New file.
32470 * elf/tst-ptrguard1-static.c: New file.
32471 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32472 * sysdeps/i386/stackguard-macros.h: Likewise.
32473 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32474 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32475 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32476 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32477 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32478 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32479
32480 2013-09-23 Hector Marco <hecmargi@upv.es>
32481 Ismael Ripoll <iripoll@disca.upv.es>
32482 Carlos O'Donell <carlos@redhat.com>
32483
32484 [BZ #15754]
32485 * sysdeps/generic/stackguard-macros.h: Define
32486 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32487 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32488 Define __pointer_chk_guard_local.
32489 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32490 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32491
32492 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32493
32494 [BZ #15859]
32495 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32496
32497 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32498
32499 * include/string.h (__ffs): Declare as hidden.
32500 * string/ffs.c (__ffs): Define as hidden.
32501 * sysdeps/i386/ffs.c (__ffs): Likewise.
32502 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32503 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32504 * sysdeps/s390/ffs.c (__ffs): Likewise.
32505 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32506
32507 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32508
32509 * NEWS: Mention malloc probes.
32510
32511 * malloc/arena.c (new_heap): New memory_heap_new probe.
32512 (grow_heap): New memory_heap_more probe.
32513 (shrink_heap): New memory_heap_less probe.
32514 (heap_trim): New memory_heap_free probe.
32515 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32516 (systrim): New memory_sbrk_less probe.
32517 * manual/probes.texi: Document them.
32518
32519 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32520 * manual/probes.texi: Document it.
32521
32522 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32523 (__libc_realloc): Add memory_realloc_retry probe.
32524 (__libc_memalign): Add memory_memalign_retry probe.
32525 (__libc_valloc): Add memory_valloc_retry probe.
32526 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32527 (__libc_calloc): Add memory_calloc_retry probe.
32528 * manual/probes.texi: Document them.
32529
32530 * malloc/arena.c (get_free_list): Add probe
32531 memory_arena_reuse_free_list.
32532 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32533 and memory_arena_reuse.
32534 (arena_get2) [!PER_THREAD]: Likewise.
32535 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32536 memory_arena_reuse_realloc.
32537 * manual/probes.texi: Document them.
32538
32539 * malloc/malloc.c (__libc_free): Add
32540 memory_mallopt_free_dyn_thresholds probe.
32541 (__libc_mallopt): Add multiple memory_mallopt probes.
32542 * manual/probes.texi: Document them.
32543
32544 * malloc/malloc.c: Include stap-probe.h.
32545 (__libc_mallopt): Add memory_mallopt probe.
32546 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32547 * manual/probes.texi: New.
32548 * manual/Makefile (chapters): Add probes.
32549 * manual/threads.texi: Set next node.
32550
32551 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32552
32553 [BZ #15963, #13985]
32554 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32555 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32556 Add `Chinese' to `nan' entry name.
32557
32558 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32559
32560 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32561 (POLYNOMIAL): Likewise.
32562 (TAYLOR_SINCOS): Likewise.
32563 (TAYLOR_SLOW): Likewise.
32564 (__sin): Use TAYLOR_SINCOS.
32565 (__cos): Likewise.
32566 (slow): Use TAYLOR_SLOW.
32567 (sloww): Likewise.
32568 (bsloww): Likewise.
32569 (csloww): Likewise.
32570
32571 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32572
32573 * stdlib/strtod_l.c: Fix buffer overrun.
32574
32575 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32576
32577 * benchtests/Makefile (bench): Add sincos.
32578 * benchtests/bench-sincos.c: New file.
32579
32580 * math/libm-test.inc (cos_test_data): New test inputs.
32581 (sin_test_data): Likewise.
32582
32583 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32584 macro.
32585 (__sin): Use it.
32586 (__cos): Likewise.
32587 (slow1): Likewise.
32588 (slow2): Likewise.
32589 (sloww1): Likewise.
32590 (sloww2): Likewise.
32591 (bsloww1): Likewise.
32592 (bsloww2): Likewise.
32593 (cslow2): Likewise.
32594 (csloww1): Likewise.
32595 (csloww2): Likewise.
32596
32597 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32598 function.
32599 (__sin): Use it.
32600 (__cos): Likewise.
32601
32602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32603 gotos.
32604 (__cos): Likewise.
32605
32606 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32607
32608 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32609 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32610 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32611 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32612 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32613 * elf/cache.c (print_entry): Handle the new cache flags.
32614
32615 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32616 Aldy Hernandez <aldyh@redhat.com>
32617
32618 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32619 Change condition to [_SOFT_FLOAT].
32620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32632 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32635 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32636 declaration.
32637
32638 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32639
32640 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32641 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32642 (__longjmp): Use LOAD_GP to load saved GPRs.
32643 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32644 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32645 (__sigsetjmp): Use SAVE_GP to save GPRs.
32646
32647 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32648 Do not append -msoft-float.
32649 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32650
32651 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32652
32653 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32654
32655 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32656
32657 [BZ #15966]
32658 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32659 (_FPU_GETCW): Use initial "__" on variable and field names but not
32660 on macro parameter name.
32661 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32662 parentheses around reference to macro parameter.
32663
32664 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32665
32666 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32667 prototype.
32668 (ctype_startup): Use uint32_t in cast and sizeof for
32669 ctype->charnames.
32670
32671 2013-09-11 Jia Liu <proljc@gmail.com>
32672
32673 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32674 __daddr_t_defined.
32675 [__FreeBSD__]: Likewise.
32676
32677 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32678
32679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32680 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32681 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32682 (strchr): Remove __strchr_sse42 ifunc selection.
32683 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32684 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32685
32686 2013-09-11 Will Newton <will.newton@linaro.org>
32687
32688 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32689 parameter to RES. Remove hardcoded 1000 value.
32690 * benchtests/bench-skeleton.c (main): Pass RES parameter
32691 to TIMING_INIT and multiply result by 1000.
32692
32693 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32694
32695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32696
32697 2013-09-11 Andreas Schwab <schwab@suse.de>
32698
32699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32700 if not defined.
32701 (O_TMPFILE) [__USE_GNU]: Define.
32702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32703 Define.
32704
32705 2013-09-11 Will Newton <will.newton@linaro.org>
32706
32707 [BZ #15857]
32708 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32709 does not overflow.
32710
32711 2013-09-11 Will Newton <will.newton@linaro.org>
32712
32713 [BZ #15856]
32714 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32715 does not overflow.
32716
32717 2013-09-11 Will Newton <will.newton@linaro.org>
32718
32719 [BZ #15855]
32720 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32721 does not overflow.
32722
32723 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32724
32725 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32726 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32730
32731 2013-09-10 Allan McRae <allan@archlinux.org>
32732
32733 [BZ #15748]
32734 * manual/arith.texi (Parsing of Floats): Clarify
32735 cross-reference.
32736
32737 [BZ #15849]
32738 * manual/install.texi (Running make install): Mention
32739 --enable-pt-chown.
32740 * INSTALL: Regenerated.
32741
32742 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32743
32744 * csu/init-first.c (_init): Remove the !SHARED condition around
32745 FPU control word initialization.
32746 * elf/dl-support.c (_dl_fpu_control): New variable.
32747 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32748 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32749 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32750 * math/test-fpucw-static.c: New file.
32751 * math/test-fpucw-ieee.c: New file.
32752 * math/test-fpucw-ieee-static.c: New file.
32753 * math/Makefile (tests): Add `test-fpucw-ieee' and
32754 `$(tests-static)'.
32755 (tests-static): New variable.
32756 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32757 dependency to...
32758 [($(build-shared),yes)]
32759 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32760 ... this.
32761 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32762 New dependency.
32763
32764 2013-09-09 Allan McRae <allan@archlinux.org>
32765
32766 [BZ #15939]
32767 * manual/string.texi (Collation Functions): Fix typo in
32768 strcoll example.
32769 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32770
32771 [BZ #15893]
32772 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32773
32774 [BZ #15892]
32775 * libio/memstream.c (open_memstream): Fix memory leak.
32776 * libio/wmemstream.c (open_wmemstream): Likewise.
32777
32778 [BZ #15895]
32779 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32780
32781 2013-09-09 Will Newton <will.newton@linaro.org>
32782
32783 * malloc/Makefile: Add tst-realloc to tests.
32784 * malloc/tst-realloc.c: New file.
32785
32786 2013-09-09 Allan McRae <allan@archlinux.org>
32787
32788 [BZ #15844]
32789 * COPYING: Update from GNU website to fix FSF address.
32790 * COPYING.LIB: Likewise.
32791
32792 2013-09-06 David S. Miller <davem@davemloft.net>
32793
32794 * po/zh_TW.po: Update Chinese (traditional) translation from
32795 translation project.
32796
32797 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32798 Joseph Myers <joseph@codesourcery.com>
32799
32800 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32801 "localeinfo.h".
32802 (obstack_chunk_alloc): New macro.
32803 (obstack_chunk_free): Likewise.
32804 (record_offset): New function.
32805 (init_locale_data): Likewise.
32806 (align_locale_data): Likewise.
32807 (add_locale_empty): Likewise.
32808 (add_locale_raw_data): Likewise.
32809 (add_locale_raw_obstack): Likewise.
32810 (add_locale_string): Likewise.
32811 (add_locale_wstring): Likewise.
32812 (add_locale_uint32): Likewise.
32813 (add_locale_uint32_array): Likewise.
32814 (add_locale_char): Likewise.
32815 (start_locale_structure): Likewise.
32816 (end_locale_structure): Likewise.
32817 (start_locale_prelude): Likewise.
32818 (end_locale_prelude): Likewise.
32819 (write_locale_data): Take locale_file structure rather than an
32820 iovec.
32821 * locale/programs/locfile.h: Include "obstack.h".
32822 (struct locale_file): Change to store locale file contents instead
32823 of header.
32824 (init_locale_data): New prototype.
32825 (align_locale_data): Likewise.
32826 (add_locale_empty): Likewise.
32827 (add_locale_raw_data): Likewise.
32828 (add_locale_raw_obstack): Likewise.
32829 (add_locale_string): Likewise.
32830 (add_locale_wstring): Likewise.
32831 (add_locale_uint32): Likewise.
32832 (add_locale_uint32_array): Likewise.
32833 (add_locale_char): Likewise.
32834 (start_locale_structure): Likewise.
32835 (end_locale_structure): Likewise.
32836 (start_locale_prelude): Likewise.
32837 (end_locale_prelude): Likewise.
32838 (write_locale_data): Update prototype.
32839 * locale/programs/3level.h (struct TABLE): Remove result field.
32840 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32841 Use new locale_file interface.
32842 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32843 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32844 * locale/programs/ld-address.c (address_output): Use new
32845 locale_file interface.
32846 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32847 NO_ADD_LOCALE.
32848 (collate_finish): Don't call collseq_table_finalize.
32849 (collate_output): Use new locale_file interface.
32850 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32851 in file.
32852 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32853 (TABLE): Move defines earlier in file.
32854 (ELEMENT): Likewise.
32855 (DEFAULT): Likewise.
32856 (wctrans_table_add): Move macro and inline function earlier in
32857 file.
32858 (struct wctype_table): Move type earlier in file.
32859 (add_locale_wctype_table): New static prototype.
32860 (struct locale_ctype_t): Use logical types instead of struct iovec
32861 pointers for members.
32862 (ctype_output): Use new locale_file interface.
32863 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32864 new locale_file interface.
32865 (allocate_arrays): Update for use of new locale_file interface.
32866 * locale/programs/ld-identification.c (identification_output): Use
32867 new locale_file interface.
32868 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32869 * locale/programs/ld-messages.c (messages_output): Likewise.
32870 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32871 * locale/programs/ld-name.c (name_output): Likewise.
32872 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32873 * locale/programs/ld-paper.c (paper_output): Likewise.
32874 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32875 * locale/programs/ld-time.c (time_output): Likewise.
32876
32877 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32878
32879 * benchtests/Makefile: Add memrchr benchmark.
32880 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32881 benchmark as memrchr.
32882 * benchtests/bench-memrchr-ifunc.c: New file.
32883 * benchtests/bench-memrchr.c: New file.
32884
32885 2013-09-06 Will Newton <will.newton@linaro.org>
32886
32887 * benchtests/Makefile (string-bench): Add memcpy.
32888
32889 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32890 Cong Wang <amwang@redhat.com>
32891
32892 [BZ #15850]
32893 * sysdeps/unix/sysv/linux/bits/in.h
32894 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32895 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32896 before __USE_KERNEL_IPV6_DEFS uses.
32897 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32898 IPPROTO_BEETPH.
32899 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32900 sockaddr_in6, or ipv6_mreq.
32901
32902 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32903
32904 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32905 memory access for final bytes in some large inputs.
32906 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32907
32908 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32909
32910 * string/test-memrchr.c: New file.
32911 * string/test-memrchr-ifunc.c: New file.
32912 * string/Makefile: Add new memrchr testcase.
32913
32914 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32915
32916 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32917 fanotify_init returns EPERM.
32918
32919 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32920
32921 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32922 errors.
32923 (top level): Treat second token from macro or constant entries for
32924 allowed headers as allowed.
32925 * include/complex.h: Condition internal declarations on
32926 [!_ISOMAC].
32927 * include/fenv.h: Condition include of <stdbool.h> and internal
32928 declarations on [!_ISOMAC].
32929
32930 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32931
32932 [BZ #15923]
32933 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32934
32935 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32936
32937 * configure.in (--enable-versioning): Remove configure option.
32938 (libc_cv_asm_symver_directive): Remove configure test.
32939 (libc_cv_ld_version_script_option): Likewise.
32940 (VERSIONING): Remove variable and AC_SUBST.
32941 (DO_VERSIONING): Remove AC_DEFINE.
32942 * configure: Regenerated.
32943 * config.h.in (DO_VERSIONING): Remove macro.
32944 * Makerules [$(versioning) = yes]: Change conditionals to
32945 [$(build-shared) = yes].
32946 * config.make.in (versioning): Remove variable.
32947 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32948 [$(build-shared) = yes].
32949 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32950 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32951 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32952 [$(build-shared) = yes].
32953 * extra-lib.mk [$(versioning) = yes]: Likewise.
32954 * hurd/Makefile [$(versioning) = yes]: Likewise.
32955 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32956 [SHARED].
32957 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32958 [SHARED].
32959 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32960 [SHARED && !NO_HIDDEN].
32961 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32962 [SHARED].
32963 [SHARED && DO_VERSIONING]: Likewise..
32964 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32965 [$(build-shared) = yes].
32966 * manual/install.texi (--disable-versioning): Remove
32967 documentation.
32968 * INSTALL: Regenerated.
32969 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32970 to [SHARED].
32971 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32972 [$(build-shared) = yes].
32973 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32974 * sysdeps/i386/i686/multiarch/strstr-c.c
32975 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32976 [SHARED && !NO_HIDDEN].
32977 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32978 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32979 * sysdeps/powerpc/powerpc32/dl-machine.c
32980 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32981 * sysdeps/powerpc/powerpc32/sysdep.h
32982 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32983 to [SHARED && PIC && !NO_HIDDEN].
32984 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32985 conditional to [SHARED].
32986
32987 2013-09-04 Will Newton <will.newton@linaro.org>
32988
32989 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32990 * benchtests/bench-string.h: Include bench-timing.h instead
32991 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32992 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32993 call to HP_TIMING_DIFF_INIT.
32994 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32995 instead of hp-timing.h macros.
32996 * benchtests/bench-memchr.c: Likewise.
32997 * benchtests/bench-memcmp.c: Likewise.
32998 * benchtests/bench-memcpy.c: Likewise.
32999 * benchtests/bench-memmem.c: Likewise.
33000 * benchtests/bench-memmove.c: Likewise.
33001 * benchtests/bench-memset.c: Likewise.
33002 * benchtests/bench-rawmemchr.c: Likewise.
33003 * benchtests/bench-strcasecmp.c: Likewise.
33004 * benchtests/bench-strcasestr.c: Likewise.
33005 * benchtests/bench-strcat.c: Likewise.
33006 * benchtests/bench-strchr.c: Likewise.
33007 * benchtests/bench-strcmp.c: Likewise.
33008 * benchtests/bench-strcpy.c: Likewise.
33009 * benchtests/bench-strcpy_chk.c: Likewise.
33010 * benchtests/bench-strlen.c: Likewise.
33011 * benchtests/bench-strncasecmp.c: Likewise.
33012 * benchtests/bench-strncat.c: Likewise.
33013 * benchtests/bench-strncmp.c: Likewise.
33014 * benchtests/bench-strncpy.c: Likewise.
33015 * benchtests/bench-strnlen.c: Likewise.
33016 * benchtests/bench-strpbrk.c: Likewise.
33017 * benchtests/bench-strrchr.c: Likewise.
33018 * benchtests/bench-strspn.c: Likewise.
33019 * benchtests/bench-strstr.c: Likewise.
33020
33021 2013-09-04 Will Newton <will.newton@linaro.org>
33022
33023 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33024
33025 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33026
33027 [BZ #15427]
33028 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33029 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33030 * math/libm-test.inc (lgamma_test_data): Add more tests.
33031 * sysdeps/i386/fpu/libm-test-ulps: Update.
33032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33033
33034 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33035
33036 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33038 Add ifunc.
33039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33040 Add strcmp-sse2-unaligned
33041 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33042
33043 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33044
33045 * Versions.def (libc): Add GLIBC_2.19.
33046
33047 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33048
33049 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33050 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33051
33052 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33053
33054 [BZ #14155]
33055 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33056 intermediate calculations in recurrence.
33057 (__ieee754_ynf): Likewise.
33058 * math/libm-test.inc (jn_test_data): Do not allow spurious
33059 underflow exception. Add more tests.
33060 (yn_test_data): Add more tests.
33061 * sysdeps/i386/fpu/libm-test-ulps: Update.
33062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33063
33064 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33065
33066 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33067
33068 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33069
33070 * csu/init-first.c: Fix then/than typos.
33071 * locale/programs/ld-collate.c: Likewise.
33072 * locale/programs/linereader.h: Likewise.
33073 * manual/charset.texi: Likewise.
33074 * manual/filesys.texi: Likewise.
33075 * manual/stdio.texi: Likewise.
33076 * manual/string.texi: Likewise.
33077 * stdlib/fmtmsg.c: Likewise.
33078 * sysdeps/i386/stpncpy.S: Likewise.
33079 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33080 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33081 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33082 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33083
33084 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33085
33086 * elf/dl-open.c: Fix typos.
33087 * iconvdata/gbbig5.c: Likewise.
33088 * iconvdata/iso-2022-jp.c: Likewise.
33089 * iconv/gconv_int.h: Likewise.
33090 * iconv/loop.c: Likewise.
33091 * nis/rpcsvc/nis.h: Likewise.
33092 * resolv/ns_name.c: Likewise.
33093 * stdio-common/vfscanf.c: Likewise.
33094 * streams/stropts.h: Likewise.
33095 * sunrpc/rpc_thread.c: Likewise.
33096 * sysdeps/i386/strpbrk.S: Likewise.
33097 * sysdeps/ieee754/k_standard.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33100 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33101 * sysdeps/mach/hurd/profil.c: Likewise.
33102 * sysdeps/s390/dl-procinfo.h: Likewise.
33103 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33104 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33105 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33106 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33108
33109 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33110
33111 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33113
33114 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33115
33116 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33117 aix specific files.
33118 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33119 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33120 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33121 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33122 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33123 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33124 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33125 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33126
33127 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33128 Roland McGrath <roland@hack.frob.com>
33129
33130 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33131 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33132
33133 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33134
33135 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33136 __executable_start symbol instead of _start.
33137
33138 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33139
33140 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33141 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33142 Move macros to...
33143 * sysdeps/gnu/ldsodefs.h: ... this new file.
33144
33145 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33146 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33147 instead of ELFOSABI_LINUX.
33148
33149 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33150 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33151 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33152 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33153 Likewise.
33154 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33155 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33157 Likewise.
33158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33159 (ibm_extended_long_double): Add ieee_nan member.
33160 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33161 (do_test): New function.
33162
33163 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33164 TEST_TRUNC.
33165 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33166 functions, renamed from truncdfsf_test, trunctfsf_test,
33167 trunctfdf_test.
33168 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33169 functions.
33170 (do_test): Run all these.
33171
33172 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33173
33174 * argp/argp-help.c: Fix typos.
33175 * argp/argp-parse.c: Likewise.
33176 * debug/backtracesyms.c: Likewise.
33177 * elf/elf.h: Likewise.
33178 * malloc/malloc.c: Likewise.
33179 * nis/nis_print.c: Likewise.
33180 * resolv/res_comp.c: Likewise.
33181 * stdlib/stdlib.h: Likewise.
33182 * sunrpc/clnt_tcp.c: Likewise.
33183 * sunrpc/clnt_udp.c: Likewise.
33184 * sunrpc/clnt_unix.c: Likewise.
33185 * sysdeps/unix/bsd/ptsname.c: Likewise.
33186 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33187 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33189 Likewise.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33191 Likewise.
33192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33193 Likewise.
33194 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33195
33196 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33197
33198 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33200
33201 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33202
33203 [BZ #15897]
33204 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33205 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33206 ($(objpfx)bug-dl-leaf): New rule.
33207 ($(objpfx)bug-dl-leaf.so): Likewise.
33208 ($(objpfx)bug-dl-leaf.out): Likewise.
33209 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33210 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33211 * dlfcn/bug-dl-leaf.c: New test.
33212 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33213 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33214 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33215 (dlclose): Likewise.
33216 (dlmopen): Likewise.
33217
33218 2013-08-27 Roland McGrath <roland@hack.frob.com>
33219
33220 * include/netdb.h [!_ISOMAC]:
33221 Don't include <tls.h>.
33222 (h_errno, __libc_h_errno): Move declaration and macros out of
33223 [_LIBC_REENTRANT].
33224
33225 * include/resolv.h [_RESOLV_H_]:
33226 Don't include <tls.h>.
33227 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33228 * resolv/res_libc.c: Don't include <tls.h>.
33229 (_res): Use __attribute__ ((nocommon)) in place of
33230 __attribute__ ((section (".bss"))).
33231
33232 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33233 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33234
33235 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33236
33237 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33238 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33239
33240 * resolv/res_mkquery.c: Include <sys/time.h>.
33241
33242 * inet/ifreq.c: Moved to ...
33243 * sysdeps/unix/ifreq.c: ... here.
33244 * inet/ifreq.c: New file, true stub version.
33245
33246 * socket/sa_len.c: New file.
33247 * socket/Makefile (aux): Add it.
33248 * sysdeps/unix/sysv/linux/Makefile
33249 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33250 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33251 and #include <socket/sa_len.c>.
33252 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33253 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33254
33255 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33256 * bits/socket.h: ... here.
33257
33258 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33259 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33260 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33261
33262 2013-08-27 Andreas Schwab <schwab@suse.de>
33263
33264 [BZ #15736]
33265 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33266 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33267 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33268 * string/test-strcasecmp.c (test_main): Run tests in several
33269 locales.
33270 * string/test-strncasecmp.c (test_main): Likewise.
33271
33272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33273 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33274 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33276 (__strncasecmp_ssse3) [PIC]: Likewise.
33277
33278 2013-08-26 Roland McGrath <roland@hack.frob.com>
33279
33280 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33281
33282 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33283 instead of explicitly declaring xdecrypt.
33284 * nis/nss_nis/nis-publickey.c: Likewise.
33285
33286 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33287
33288 [BZ #15890]
33289 * nscd/aicache.c: Include res_hconf.h.
33290 (addhstaiX): Initialize res_hconf.
33291
33292 2013-08-26 Andreas Schwab <schwab@suse.de>
33293
33294 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33295 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33296
33297 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33298
33299 * nscd/aicache.c (addhstaiX): Fix indentation.
33300
33301 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33302
33303 * configure.ac: Quote $build_pt_chown test.
33304 * configure: Regenerated.
33305
33306 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33307
33308 [BZ #15532]
33309 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33310 * math/s_cexpf.c (__cexpf): Likewise.
33311 * math/s_cexpl.c (__cexpl): Likewise.
33312 * math/libm-test.inc (cexp_test_data): Correct expected return
33313 value for NaN + i0. Add another test.
33314
33315 2013-08-22 David S. Miller <davem@davemloft.net>
33316
33317 * po/ca.po: Update Catalan translation from translation project.
33318 * po/uk.po: Add Ukrainian translations from translation project.
33319
33320 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33321
33322 [BZ #15797]
33323 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33324 is infinite, not alongside NaN test.
33325 * math/s_fdimf.c (__fdimf): Likewise.
33326 * math/s_fdiml.c (__fdiml): Likewise.
33327 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33328 errno is unchanged.
33329
33330 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33331
33332 * argp/argp-help.c: Fix typos.
33333 * crypt/speeds.c: Likewise.
33334 * csu/check_fds.c: Likewise.
33335 * elf/dl-load.c: Likewise.
33336 * elf/dl-open.c: Likewise.
33337 * elf/reldep3.c: Likewise.
33338 * elf/reldep.c: Likewise.
33339 * elf/sprof.c: Likewise.
33340 * iconv/iconv_charmap.c: Likewise.
33341 * iconv/skeleton.c: Likewise.
33342 * iconv/strtab.c: Likewise.
33343 * io/lockf64.c: Likewise.
33344 * libio/libioP.h: Likewise.
33345 * resolv/gai_notify.c: Likewise.
33346 * resolv/ns_name.c: Likewise.
33347 * resolv/ns_samedomain.c: Likewise.
33348 * resolv/res_send.c: Likewise.
33349 * stdlib/random.c: Likewise.
33350 * sunrpc/rpc/xdr.h: Likewise.
33351 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33352 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33353 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33354 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33355 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33358 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33359 * sysdeps/mach/hurd/check_fds.c: Likewise.
33360 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33361 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33364 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33365 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33366 * sysdeps/pthread/aio_notify.c: Likewise.
33367 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33368 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33371 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33372
33373 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33374
33375 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33376 version if bit_Slow_SSE4_2 is set.
33377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33378 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33379
33380 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33381
33382 [BZ #15867]
33383 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33384 trampoline stack frame information.
33385 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33386 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33387 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33388 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33389 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33390 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33391 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33392 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33393 sa_flags value.
33394 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33395 interrupting a syscall and set with option SA_SIGINFO.
33396
33397 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33398
33399 [BZ #15531]
33400 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33401 argument is infinite.
33402 * math/s_cprojf.c (__cprojf): Likewise.
33403 * math/s_cprojl.c (__cprojl): Likewise.
33404 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33405 * math/libm-test.inc (cproj_test_data): Add more tests.
33406
33407 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33408
33409 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33410 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33411 size. Use __ffs to determine corresponding shift.
33412
33413 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33414 Roland McGrath <roland@hack.frob.com>
33415
33416 * Makefile (INSTALL): Remove trailing blank lines from output of
33417 makeinfo.
33418
33419 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33420
33421 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33422 Align 32 bit compat elf_greg to 8 bytes.
33423
33424 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33425
33426 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33427
33428 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33429
33430 * string/strcoll_l.c (coll_seq): New structure.
33431 (get_next_seq_cached): New function.
33432 (get_next_seq): New function.
33433 (do_compare): New function.
33434 (STRCOLL): Use GNU style definition. Simplify implementation
33435 by using get_next_seq, get_next_seq_cached and do_compare.
33436
33437 2013-08-16 Florian Weimer <fweimer@redhat.com>
33438
33439 [BZ #14699]
33440 CVE-2013-4237
33441 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33442 member.
33443 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33444 member.
33445 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33446 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33447 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33448 conditional.
33449 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33450 GETDENTS_64BIT_ALIGNED.
33451 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33452 * manual/filesys.texi (Reading/Closing Directory): Document
33453 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33454 strongly.
33455 * manual/conf.texi (Limits for Files): Add portability note to
33456 NAME_MAX, PATH_MAX.
33457 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33458
33459 2013-08-13 Andreas Schwab <schwab@suse.de>
33460
33461 [BZ #15749]
33462 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33463 of fabs.
33464 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33465 LDBL_MAX_EXP >= 16384]: Add tests for it.
33466
33467 2013-08-12 David S. Miller <davem@davemloft.net>
33468
33469 * version.h (RELEASE): Set to "development".
33470 (VERSION): Set to "2.18.90".
33471 * NEWS: Add 2.19 section.
33472
33473 2013-08-03 David S. Miller <davem@davemloft.net>
33474
33475 * po/ko.po: Update Korean translation from translation project.
33476
33477 2013-08-01 David S. Miller <davem@davemloft.net>
33478
33479 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33480 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33481 Bilka.
33482
33483 2013-07-30 David S. Miller <davem@davemloft.net>
33484
33485 * po/fr.po: Update French translation from translation project.
33486
33487 2013-07-28 David S. Miller <davem@davemloft.net>
33488
33489 * po/cs.po: Update Czech translation from translation project.
33490
33491 * po/sv.po: Update Swedish translation from translation project.
33492
33493 2013-07-27 David S. Miller <davem@davemloft.net>
33494
33495 * po/eo.po: Update Esperanto translation from translation project.
33496
33497 * po/vi.po: Update Vietnamese translation from translation project.
33498
33499 * po/de.po: Update German translation from translation project.
33500
33501 2013-07-26 David S. Miller <davem@davemloft.net>
33502
33503 * po/bg.po: Update Bulgarian translation from translation project.
33504
33505 * po/nl.po: Update Dutch translation from translation project.
33506 * po/pl.po: Update Polish translation from translation project.
33507 * po/ru.po: Update Russian translation from translation project.
33508
33509 2013-07-24 David S. Miller <davem@davemloft.net>
33510
33511 * po/libc.pot: Update.
33512
33513 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33514
33515 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33516 variable page size.
33517 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33518 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33519 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33520
33521 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33522
33523 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33524
33525 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33526 Andreas Schwab <schwab@suse.de>
33527 Roland McGrath <roland@hack.frob.com>
33528 Joseph Myers <joseph@codesourcery.com>
33529 Carlos O'Donell <carlos@redhat.com>
33530
33531 [BZ #15755]
33532 * config.h.in: Define HAVE_PT_CHOWN.
33533 * config.make.in (build-pt-chown): New variable.
33534 * configure.in (--enable-pt_chown): New configure option.
33535 * configure: Regenerate.
33536 * login/Makefile: Include Makeconfig. Build pt_chown only if
33537 build-pt-chown is enabled.
33538 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33539 pt_chown to fix pty ownership.
33540 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33541 CLOSE_ALL_FDS.
33542 * manual/install.texi (Configuring and compiling): Mention
33543 --enable-pt_chown. Add @findex for grantpt.
33544 * INSTALL: Regenerate.
33545
33546 2013-07-20 David S. Miller <davem@davemloft.net>
33547
33548 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33549 difference between 32-bit and 64-bit.
33550
33551 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33552
33553 [BZ #15711]
33554 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33555 Avoid system header dependency with -ffreestanding.
33556 ($(objpfx)bits/syscall%d): Likewise.
33557
33558 2013-07-13 David S. Miller <davem@davemloft.net>
33559
33560 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33561 underflows from atanl/atan2l due to bug 15319.
33562 (casinh_test_data): Likewise.
33563
33564 2013-07-07 David S. Miller <davem@davemloft.net>
33565
33566 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33567
33568 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33569
33570 * sysdeps/i386/fpu/libm-test-ulps: Update.
33571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33572
33573 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33574
33575 * configure.in (--enable-lock-elision): Fix message text.
33576 * INSTALL: Regenerate.
33577 * configure: Regenerate.
33578
33579 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33580
33581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33582
33583 2013-07-03 Andreas Jaeger <aj@suse.de>
33584
33585 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33586 define.
33587 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33588 (ptrace_peeksiginfo_args): Add.
33589 (__ptrace_peeksiginfo_flags): Add.
33590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33593
33594 2013-07-03 Allan McRae <allan@archlinux.org>
33595
33596 * sysdeps/i386/fpu/libm-test-ulps: Update.
33597
33598 2013-07-02 David S. Miller <davem@davemloft.net>
33599
33600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33601
33602 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33603
33604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33605
33606 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33607
33608 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33610
33611 2013-07-02 Andi Kleen <ak@linux.intel.com>
33612
33613 * config.h.in (ENABLE_LOCK_ELISION): Add.
33614 * configure.in (--enable-lock-elision): Add option.
33615 * manual/install.texi: Document --enable lock elision.
33616 * configure: Regenerate
33617 * INSTALL: Regenerate.
33618
33619 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33620
33621 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33622 SSE4.2 strcasecmp for libc.a.
33623 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33624
33625 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33626
33627 [BZ #13304]
33628 * soft-fp/op-common.h (_FP_FMA): New macro.
33629 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33630 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33631 (_FP_MUL_MEAT_1_imm): ... here.
33632 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33633 (_FP_MUL_MEAT_1_wide): ... here.
33634 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33635 (_FP_MUL_MEAT_1_hard): ... here.
33636 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33637 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33638 (_FP_MUL_MEAT_2_wide): ... here.
33639 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33640 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33641 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33642 (_FP_MUL_MEAT_2_gmp): ... here.
33643 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33644 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33645 (_FP_MUL_MEAT_4_wide): ... here.
33646 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33647 (_FP_MUL_MEAT_4_gmp): ... here.
33648 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33649 (_FP_WFRACBITS_DW_S): Likewise.
33650 (_FP_WFRACXBITS_DW_S): Likewise.
33651 (_FP_HIGHBIT_DW_S): Likewise.
33652 (FP_FMA_S): Likewise.
33653 (_FP_FRAC_HIGH_DW_S): Likewise.
33654 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33655 (_FP_WFRACBITS_DW_D): Likewise.
33656 (_FP_WFRACXBITS_DW_D): Likewise.
33657 (_FP_HIGHBIT_DW_D): Likewise.
33658 (FP_FMA_D): Likewise.
33659 (_FP_FRAC_HIGH_DW_D): Likewise.
33660 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33661 (_FP_WFRACBITS_DW_E): Likewise.
33662 (_FP_WFRACXBITS_DW_E): Likewise.
33663 (_FP_HIGHBIT_DW_E): Likewise.
33664 (FP_FMA_E): Likewise.
33665 (_FP_FRAC_HIGH_DW_E): Likewise.
33666 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33667 (_FP_WFRACBITS_DW_Q): Likewise.
33668 (_FP_WFRACXBITS_DW_Q): Likewise.
33669 (_FP_HIGHBIT_DW_Q): Likewise.
33670 (FP_FMA_Q): Likewise.
33671 (_FP_FRAC_HIGH_DW_Q): Likewise.
33672 * soft-fp/fmasf4.c: New file.
33673 * soft-fp/fmadf4.c: Likewise.
33674 * soft-fp/fmatf4.c: Likewise.
33675
33676 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33677
33678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33679 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33680 Silvermont.
33681 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33682 macro.
33683 (index_Slow_SSE4_2): Likewise.
33684 (index_Prefer_PMINUB_for_stringop): Likewise.
33685 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33686 bit_Slow_SSE4_2 is set.
33687 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33688 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33689
33690 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33691
33692 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33693 rtld_global._dl_hwcap2.
33694 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33695 POWER8.
33696 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33697 POWER8 feature descriptions defined in _dl_hwcap2.
33698 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33699 string handling for POWER8 feature bits.
33700 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33701 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33702 _dl_powerpc_cap_flags.
33703 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33704 * sysdeps/powerpc/rtld-global-offsets.sym
33705 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33706 _dl_hwcap2 in the rtld_global_ro structure.
33707
33708 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33709
33710 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33711 hardware capabilities in support of AT_HWCAP2.
33712 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33713 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33714 GLRO(dl_hwcap2).
33715 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33716 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33717 explicitly the unknown a_type display mechanism is used.
33718 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33719 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33720 struct member.
33721 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33722 to macro prototype for AT_HWCAP2 support.
33723 * sysdeps/i386/dl-procinfo.h: Likewise.
33724 * sysdeps/s390/dl-procinfo.h: Likewise.
33725 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33726 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33727 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33728 return -1 for unknown a_type display fallback.
33729 * sysdeps/sparc/dl-procinfo.h: Likewise.
33730 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33731 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33732
33733 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33734
33735 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33736 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33737
33738 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33739
33740 [BZ #12492]
33741 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33742 mprotect making __stack_prot writable.
33743
33744 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33745 Joseph Myers <joseph@codesourcery.com>
33746
33747 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33748 as being properly aligned.
33749
33750 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33751
33752 * dlfcn/modstatic5.c: New file.
33753 * dlfcn/tststatic5.c: New file.
33754 * dlfcn/Makefile (tests): Add tststatic5.
33755 (tests-static): Likewise.
33756 (modules-names): Add modstatic5.
33757 (tststatic5-ENV): New variable.
33758 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33759
33760 [BZ #15022]
33761 * elf/dl-support.c (_dl_main_map): New variable.
33762 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33763 (_dl_nns, _dl_load_adds): Set to 1.
33764 (_dl_initial_searchlist): Refer to _dl_main_map.
33765 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33766 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33767 call to _dl_get_origin.
33768 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33769 around call_map.
33770 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33771 * dlfcn/modstatic3.c: New file.
33772 * dlfcn/tststatic3.c: New file.
33773 * dlfcn/tststatic4.c: New file.
33774 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33775 (tests-static): Likewise.
33776 (modules-names): Add modstatic3.
33777 (tststatic3-ENV, tststatic4-ENV): New variables.
33778 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33779 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33780
33781 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33782
33783 * configure.in (CC): Require GCC version 4.4 or later.
33784 * configure: Regenerated.
33785 * manual/install.texi (Tools for Compilation): Update GCC version
33786 requirement.
33787 * INSTALL: Regenerated.
33788
33789 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33790
33791 [BZ #15674]
33792 * string/test-memcmp.c (check2): New.
33793 (main): Call check2.
33794
33795 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33796
33797 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33798
33799 [BZ #15022]
33800 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33801 over to...
33802 (dl_open_worker) [!SHARED]: ... here.
33803
33804 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33805
33806 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33807
33808 2013-06-25 Richard Henderson <rth@redhat.com>
33809
33810 * locale/programs/locarchive.c: Include <libc-internal.h>
33811
33812 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33813
33814 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33815 trailing whitespace removed.
33816
33817 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33818
33819 [BZ #10283]
33820 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33821 * locale/programs/locarchive.c: Include libc-mmap.h.
33822 (prepare_address_space): Take two new outputs (the mmap base and len).
33823 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33824 values.
33825 (create_archive): Declare new mmap base and len values for
33826 prepare_address_space, and store the result in ah.
33827 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33828 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33829 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33830 Declare new mmap base and len values for
33831 prepare_address_space, and store the result in new_ah.
33832 (open_archive): Declare new mmap base and len values for
33833 prepare_address_space, and store the result in ah.
33834 (close_archive): If ah->mmap_base is not NULL, use that and
33835 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33836 * sysdeps/generic/libc-mmap.h: New file.
33837
33838 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33839
33840 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33841 (ALIGN_UP): Likewise.
33842 (PTR_ALIGN_DOWN): Likewise.
33843 (PTR_ALIGN_UP): Likewise.
33844
33845 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33846
33847 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33848 entry mapped to PPC_PLATFORM_POWER8.
33849 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33850 POWER8.
33851 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33852 (_dl_string_platform): Add case for exporting platform position for
33853 POWER8.
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33855 search path to sysdeps/powerpc/powerpc32/power8 directory.
33856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33857 search path to sysdeps/powerpc/powerpc64/power8 directory.
33858 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33859 power7 directories.
33860 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33861 power7 directories.
33862
33863 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33864
33865 * INSTALL: Regenerate.
33866
33867 * nscd/connections.c (nscd_init): Fix comment.
33868
33869 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33870
33871 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33872
33873 [BZ #15667]
33874 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33875 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33876
33877 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33878
33879 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33880 DL_DST_REQ_STATIC.
33881 (DL_DST_REQ_STATIC): Remove macro.
33882
33883 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33884
33885 [BZ #7006]
33886 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33887 with a shift of 0 bits.
33888
33889 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33890
33891 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33892 $(tststatic-ENV).
33893
33894 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33895
33896 [BZ #15655]
33897 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33898
33899 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33900
33901 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33902 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33903 accepts -fno-tree-loop-distribute-patterns.
33904 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33905 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33906 recursive call.
33907 * string/memset.c (memset): Likewise.
33908 * string/test-memmove.c (simple_memmove): Disable loop transformation
33909 to library calls.
33910 * string/test-memset.c (simple_memset): Likewise.
33911 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33912 * benchtests/bench-memset.c (simple_memset): Likewise.
33913 * configure: Regenerated.
33914
33915 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33916
33917 * math/test-misc.c (main): Ignore fesetround failure when failures
33918 of subsequent rounding tests would be ignored.
33919
33920 [BZ #15654]
33921 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33922 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33923 * math/fegetenv.c (__fegetenv): Return 0.
33924 * math/fegetexcept.c (fegetexcept): Return 0.
33925 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33926 FE_TONEAREST.
33927 * math/feholdexcpt.c (feholdexcept): Return 0.
33928 * math/fesetenv.c (__fesetenv): Return 0.
33929 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33930 argument FE_TONEAREST.
33931 * math/feupdateenv.c (__feupdateenv): Return 0.
33932 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33933
33934 2013-06-18 Roland McGrath <roland@hack.frob.com>
33935
33936 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33937 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33938 ($(objpfx)rtld-%.os rules): Use them.
33939
33940 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33941
33942 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33943 fields.
33944
33945 2013-06-17 Roland McGrath <roland@hack.frob.com>
33946
33947 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33948 length of target pattern, then descending length of dependency pattern.
33949 * configure.in (AWK): Require gawk 3.1.2 or newer.
33950 * manual/install.texi (Tools for Compilation): Say that we do.
33951 * configure: Regenerated.
33952
33953 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33954 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33955 * scripts/sysd-rules.awk: ... this new script.
33956 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33957 than a glob-style pattern.
33958
33959 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33960
33961 * math/test-misc.c (main): Do not treat incorrectly rounded
33962 conversions as failure unless ROUNDING_TESTS passes.
33963
33964 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33965
33966 [BZ #15631]
33967 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33968 restore exception state around main square root computation, then
33969 check for inexactness explicitly.
33970
33971 * math/libm-test.inc (fma_test_data): Add another test.
33972
33973 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33974
33975 * manual/threads.texi (Non-POSIX Extensions): New document
33976 node. Document pthread_getattr_default_np and
33977 pthread_setattr_default_np.
33978
33979 * Versions.def (libpthread): Add GLIBC_2.18.
33980 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33982 Likewise.
33983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33984 Likewise.
33985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33986 Likewise.
33987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33988 Likewise.
33989 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33990 Likewise.
33991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33992 Likewise.
33993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33994 Likewise.
33995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33996 Likewise.
33997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33998 Likewise.
33999
34000 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34001
34002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34003 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34004
34005 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34006 H.J. Lu <hjl.tools@gmail.com>
34007
34008 [BZ #15627]
34009 * sysdeps/x86_64/rtld-memset.c: Remove file.
34010 * sysdeps/x86_64/rtld-memset.S: New file.
34011
34012 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34013
34014 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34015 (test_in_one_mode): Take arguments for whether the rounding mode
34016 is supported for each floating-point type.
34017 (do_test): Pass new arguments to test_in_one_mode using
34018 ROUNDING_TESTS.
34019
34020 2013-06-13 Roland McGrath <roland@hack.frob.com>
34021
34022 * posix/tst-waitid.c (do_test): Distinguish different instances of
34023 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34024 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34025 before entering the kernel for waitpid.
34026
34027 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34028
34029 * NEWS: Fix note on clock function precision. Text by Roland
34030 McGrath.
34031
34032 2013-06-13 Roland McGrath <roland@hack.frob.com>
34033
34034 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34035 it into place only when and if the sanity check passes.
34036
34037 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34038
34039 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34040 output for whether conversion result is exact. Take argument
34041 indicating whether type is IBM long double.
34042 (round_for_all): Change need_exact field to ibm_ld.
34043 * stdlib/tst-strtod-round.c (struct exactness): New type.
34044 (struct test): Change bool ld_ok field to struct exactness exact.
34045 (TEST): Update all definitions for change to field.
34046 (tests): Regenerate array contents.
34047 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34048 field value. Check for IBM long double here.
34049 (do_test): Update calls to test_in_one_mode.
34050
34051 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34052
34053 [BZ #12515]
34054 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34055 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34056
34057 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34058
34059 [BZ #15605]
34060 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34061 generated by the compiler on loop optimizations.
34062 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34063 general definitions.
34064
34065 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34066
34067 * math/bug-nextafter.c: Include <math-tests.h>.
34068 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34069 the relevant type.
34070 * math/bug-nexttoward.c: Include <math-tests.h>.
34071 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34072 the relevant type.
34073 * math/test-misc.c: Include <math-tests.h>.
34074 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34075 the relevant type.
34076
34077 2013-06-12 Andreas Jaeger <aj@suse.de>
34078
34079 * po/ia.po: Update Interlingua translation from translation
34080 project.
34081
34082 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34083
34084 * include/fenv.h: Include stdbool.h.
34085 (struct rm_ctx): New structure.
34086 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34087 Define macro.
34088 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34089 (SET_RESTORE_ROUNDF): Likewise.
34090 (SET_RESTORE_ROUNDL): Likewise.
34091 (SET_RESTORE_ROUND_NOEX): Likewise.
34092 (SET_RESTORE_ROUND_NOEXF): Likewise.
34093 (SET_RESTORE_ROUND_NOEXL): Likewise.
34094 (SET_RESTORE_ROUND_53BIT): Likewise.
34095 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34096 (libc_feresetround_noexf_ctx): Likewise.
34097 (libc_feresetround_noexl_ctx): Likewise.
34098 (libc_feholdsetround_53bit_ctx): Likewise.
34099 (libc_feresetround_53bit_ctx): Likewise.
34100 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34101 (libc_feholdexcept_setround_sse_ctx): New function.
34102 (libc_fesetenv_sse_ctx): Likewise.
34103 (libc_feupdateenv_sse_ctx): Likewise.
34104 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34105 (libc_feholdexcept_setround_387_ctx): Likewise.
34106 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34107 (libc_feholdsetround_387_prec_ctx): Likewise.
34108 (libc_feholdsetround_387_ctx): Likewise.
34109 (libc_feholdsetround_387_53bit_ctx): Likewise.
34110 (libc_feholdsetround_sse_ctx): Likewise.
34111 (libc_feresetround_sse_ctx): Likewise.
34112 (libc_feresetround_387_ctx): Likewise.
34113 (libc_feupdateenv_387_ctx): Likewise.
34114 (libc_feholdexcept_setroundf_ctx): Define macro.
34115 (libc_fesetenvf_ctx): Likewise.
34116 (libc_feupdateenvf_ctx): Likewise.
34117 (libc_feholdsetroundf_ctx): Likewise.
34118 (libc_feresetroundf_ctx): Likewise.
34119 (libc_feholdexcept_setround_ctx): Likewise.
34120 (libc_fesetenv_ctx): Likewise.
34121 (libc_feupdateenv_ctx): Likewise.
34122 (libc_feholdsetround_ctx): Likewise.
34123 (libc_feresetround_ctx): Likewise.
34124 (libc_feholdexcept_setroundl_ctx): Likewise.
34125 (libc_feupdateenvl_ctx): Likewise.
34126 (libc_feholdsetroundl_ctx): Likewise.
34127 (libc_feresetroundl_ctx): Likewise.
34128 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34129 (libc_feresetround_53bit_ctx): Likewise.
34130
34131 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34132
34133 * locale/iso-639.def: Convert to UTF-8.
34134
34135 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34136
34137 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34138 (EXCEPTION_TESTS_double): Likewise.
34139 (EXCEPTION_TESTS_long_double): Likewise.
34140 (EXCEPTION_TESTS): Likewise.
34141 * math/libm-test.inc (test_exceptions): Only test exceptions if
34142 EXCEPTION_TESTS (FLOAT).
34143
34144 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34145
34146 * benchtests/Makefile (string-bench): Add strcpy_chk and
34147 stpcpy_chk.
34148 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34149 * benchtests/bench-stpcpy_chk.c: New file.
34150 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34151 * benchtests/bench-strcpy_chk.c: New file.
34152 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34153 code.
34154 (do_test): Likewise.
34155
34156 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34157
34158 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34159 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34160 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34161 with tabs where appropriate.
34162 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34163 dl-procinfo.h.
34164 [PPC_PLATFORM_PPC440]: Likewise.
34165 [PPC_PLATFORM_PPC464]: Likewise.
34166 [PPC_PLATFORM_PPC476]: Likewise.
34167 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34168 ppc464, and ppc476 platform strings merging from ports/
34169 dl-procinfo.h.
34170
34171 2013-06-11 Andreas Schwab <schwab@suse.de>
34172
34173 [BZ #14991]
34174 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34175 (from_ucs4_idx): Regenerate.
34176 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34177 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34178 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34179 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34180 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34181 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34182 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34183 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34184 from FROM_LOOP and TO_LOOP specific macros.
34185 (BODY): Handle combining characters.
34186 * iconvdata/BIG5HKSCS.irreversible: Update.
34187 * iconvdata/BIG5HKSCS.precomposed: New file.
34188 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34189 characters.
34190 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34191
34192 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34193
34194 * include/sys/time.h: Fix indentation and add copyright header.
34195
34196 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34197 (do_test): Likewise.
34198 * string/test-memchr.c (do_one_test): Likewise.
34199 (do_test): Likewise.
34200 * string/test-memcmp.c (do_one_test): Likewise.
34201 (do_test): Likewise.
34202 * string/test-memcpy.c (do_one_test): Likewise.
34203 (do_test): Likewise.
34204 * string/test-memmem.c (do_one_test): Likewise.
34205 (do_test): Likewise.
34206 (do_random_tests): Likewise.
34207 * string/test-memmove.c (do_one_test): Likewise.
34208 (do_test): Likewise.
34209 * string/test-memset.c (do_one_test): Likewise.
34210 (do_test): Likewise.
34211 * string/test-rawmemchr.c (do_one_test): Likewise.
34212 (do_test): Likewise.
34213 * string/test-strcasecmp.c (do_one_test): Likewise.
34214 (do_test): Likewise.
34215 * string/test-strcasestr.c (do_one_test): Likewise.
34216 (do_test): Likewise.
34217 * string/test-strcat.c (do_one_test): Likewise.
34218 (do_test): Likewise.
34219 * string/test-strchr.c (do_one_test): Likewise.
34220 (do_test): Likewise.
34221 * string/test-strcmp.c (do_one_test): Likewise.
34222 (do_test): Likewise.
34223 * string/test-strcpy.c (do_one_test): Likewise.
34224 (do_test): Likewise.
34225 * string/test-string.h: Likewise.
34226 (test_init): Likewise.
34227 * string/test-strlen.c (do_one_test): Likewise.
34228 (do_test): Likewise.
34229 * string/test-strncasecmp.c (do_one_test): Likewise.
34230 (do_test): Likewise.
34231 * string/test-strncat.c (do_one_test): Likewise.
34232 (do_test): Likewise.
34233 * string/test-strncmp.c (do_one_test): Likewise.
34234 (do_test_limit): Likewise.
34235 (do_test): Likewise.
34236 * string/test-strncpy.c (do_one_test): Likewise.
34237 (do_test): Likewise.
34238 * string/test-strnlen.c (do_one_test): Likewise.
34239 (do_test): Likewise.
34240 * string/test-strpbrk.c (do_one_test): Likewise.
34241 (do_test): Likewise.
34242 * string/test-strrchr.c (do_one_test): Likewise.
34243 (do_test): Likewise.
34244 * string/test-strspn.c (do_one_test): Likewise.
34245 (do_test): Likewise.
34246 * string/test-strstr.c (do_one_test): Likewise.
34247 (do_test): Likewise.
34248
34249 * benchtests/Makefile (string-bench): Add string benchmarks.
34250 * benchtests/bench-bcopy-ifunc.c: New file.
34251 * benchtests/bench-bcopy.c: New file.
34252 * benchtests/bench-bzero-ifunc.c: New file.
34253 * benchtests/bench-bzero.c: New file.
34254 * benchtests/bench-memccpy-ifunc.c: New file.
34255 * benchtests/bench-memccpy.c: New file.
34256 * benchtests/bench-memchr-ifunc.c: New file.
34257 * benchtests/bench-memchr.c: New file.
34258 * benchtests/bench-memcmp-ifunc.c: New file.
34259 * benchtests/bench-memcmp.c: New file.
34260 * benchtests/bench-memmem-ifunc.c: New file.
34261 * benchtests/bench-memmem.c: New file.
34262 * benchtests/bench-memmove-ifunc.c: New file.
34263 * benchtests/bench-memmove.c: New file.
34264 * benchtests/bench-mempcpy-ifunc.c: New file.
34265 * benchtests/bench-mempcpy.c: New file.
34266 * benchtests/bench-memset-ifunc.c: New file.
34267 * benchtests/bench-memset.c: New file.
34268 * benchtests/bench-rawmemchr-ifunc.c: New file.
34269 * benchtests/bench-rawmemchr.c: New file.
34270 * benchtests/bench-stpcpy-ifunc.c: New file.
34271 * benchtests/bench-stpcpy.c: New file.
34272 * benchtests/bench-stpncpy-ifunc.c: New file.
34273 * benchtests/bench-stpncpy.c: New file.
34274 * benchtests/bench-strcasecmp-ifunc.c: New file.
34275 * benchtests/bench-strcasecmp.c: New file.
34276 * benchtests/bench-strcasestr-ifunc.c: New file.
34277 * benchtests/bench-strcasestr.c: New file.
34278 * benchtests/bench-strcat-ifunc.c: New file.
34279 * benchtests/bench-strcat.c: New file.
34280 * benchtests/bench-strchr-ifunc.c: New file.
34281 * benchtests/bench-strchr.c: New file.
34282 * benchtests/bench-strchrnul-ifunc.c: New file.
34283 * benchtests/bench-strchrnul.c: New file.
34284 * benchtests/bench-strcmp-ifunc.c: New file.
34285 * benchtests/bench-strcmp.c: New file.
34286 * benchtests/bench-strcpy-ifunc.c: New file.
34287 * benchtests/bench-strcpy.c: New file.
34288 * benchtests/bench-strcspn-ifunc.c: New file.
34289 * benchtests/bench-strcspn.c: New file.
34290 * benchtests/bench-strlen-ifunc.c: New file.
34291 * benchtests/bench-strlen.c: New file.
34292 * benchtests/bench-strncasecmp-ifunc.c: New file.
34293 * benchtests/bench-strncasecmp.c: New file.
34294 * benchtests/bench-strncat-ifunc.c: New file.
34295 * benchtests/bench-strncat.c: New file.
34296 * benchtests/bench-strncmp-ifunc.c: New file.
34297 * benchtests/bench-strncmp.c: New file.
34298 * benchtests/bench-strncpy-ifunc.c: New file.
34299 * benchtests/bench-strncpy.c: New file.
34300 * benchtests/bench-strnlen-ifunc.c: New file.
34301 * benchtests/bench-strnlen.c: New file.
34302 * benchtests/bench-strpbrk-ifunc.c: New file.
34303 * benchtests/bench-strpbrk.c: New file.
34304 * benchtests/bench-strrchr-ifunc.c: New file.
34305 * benchtests/bench-strrchr.c: New file.
34306 * benchtests/bench-strspn-ifunc.c: New file.
34307 * benchtests/bench-strspn.c: New file.
34308 * benchtests/bench-strstr-ifunc.c: New file.
34309 * benchtests/bench-strstr.c: New file.
34310
34311 * benchtests/Makefile: Disable parallel execution of targets.
34312 (string-bench): Add memcpy.
34313 (benchset): New variable to store a list of benchmark sets.
34314 (bench-func): Renamed from bench.
34315 (bench-set): New target.
34316 (bench): Depend on bench-func and bench-set.
34317 * benchtests/README: Add section on benchmark sets.
34318 * benchtests/bench-memcpy-ifunc.c: New file.
34319 * benchtests/bench-memcpy.c: New file.
34320 * benchtests/bench-string.h: New file.
34321
34322 2013-06-11 Andreas Schwab <schwab@suse.de>
34323
34324 [BZ #15577]
34325 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34326 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34327 values in the triple.
34328 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34329 terminator in the group key.
34330
34331 2013-06-11 Andreas Jaeger <aj@suse.de>
34332
34333 * po/zh_TW.po: Update Chinese (traditional) translation from
34334 translation project.
34335
34336 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34337
34338 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34339 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34340 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34341 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34342 (clock_getcpuclockid): Likewise.
34343 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34344 Add weak_alias and libc_hidden_def.
34345 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34346 * rt/clock_gettime.c (clock_gettime): Rename to
34347 __clock_gettime. Add weak_alias and libc_hidden_def.
34348 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34349 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34350 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34351 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34352 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34353 Likewise.
34354 * rt/clock_settime.c (clock_settime): Rename to
34355 __clock_settime. Add weak_alias and libc_hidden_def.
34356 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34357
34358 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34359
34360 * mach/err_boot.sub: Remove trailing whitespace.
34361 * mach/err_ipc.sub: Likewise.
34362 * mach/err_mach.sub: Likewise.
34363
34364 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34365 (ROUNDING_TESTS_double): Likewise.
34366 (ROUNDING_TESTS_long_double): Likewise.
34367 (ROUNDING_TESTS): Likewise.
34368 * math/libm-test.inc: Include <math-tests.h>.
34369 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34370 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34371 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34372 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34373
34374 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34375
34376 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34377 of assigning.
34378
34379 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34380
34381 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34382 otherwise empty TRANS lines.
34383 * sysdeps/gnu/errlist.c: Regenerated.
34384
34385 * catgets/gencat.c (error_print): Use (void) in function
34386 definition.
34387 * crypt/crypt_util.c (__init_des): Likewise.
34388 * crypt/speeds.c (Stop): Likewise.
34389 (main): Likewise.
34390 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34391 * inet/ruserpass.c (token): Likewise.
34392 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34393 * intl/localealias.c (extend_alias_table): Likewise.
34394 * intl/plural-exp.c (init_germanic_plural): Likewise.
34395 * libio/fcloseall.c (__fcloseall): Likewise.
34396 * libio/genops.c (_IO_flush_all): Likewise.
34397 (_IO_flush_all_linebuffered): Likewise.
34398 (_IO_cleanup): Likewise.
34399 (_IO_iter_begin): Likewise.
34400 (_IO_iter_end): Likewise.
34401 (_IO_list_lock): Likewise.
34402 (_IO_list_unlock): Likewise.
34403 (_IO_list_resetlock): Likewise.
34404 * libio/getchar.c (getchar): Likewise.
34405 * libio/getchar_u.c (getchar_unlocked): Likewise.
34406 * libio/getwchar.c (getwchar): Likewise.
34407 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34408 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34409 * login/getpt.c (__getpt): Likewise.
34410 * login/tst-utmp.c (main): Likewise.
34411 * malloc/hooks.c (__malloc_check_init): Likewise.
34412 * malloc/malloc.c (__malloc_stats): Likewise.
34413 * malloc/mtrace.c (tr_break): Likewise.
34414 (mtrace): Likewise.
34415 (muntrace): Likewise.
34416 * misc/fstab.c (endfsent): Likewise.
34417 * misc/getclktck.c (__getclktck): Likewise.
34418 * misc/getdtsz.c (__getdtablesize): Likewise.
34419 * misc/gethostid.c (gethostid): Likewise.
34420 * misc/getpagesize.c (__getpagesize): Likewise.
34421 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34422 (__get_nprocs): Likewise.
34423 (__get_phys_pages): Likewise.
34424 (__get_avphys_pages): Likewise.
34425 * misc/getttyent.c (getttyent): Likewise.
34426 (setttyent): Likewise.
34427 (endttyent): Likewise.
34428 * misc/getusershell.c (getusershell): Likewise.
34429 (endusershell): Likewise.
34430 (setusershell): Likewise.
34431 (initshells): Likewise.
34432 * misc/hsearch.c (__hdestroy): Likewise.
34433 * misc/sync.c (sync): Likewise.
34434 * misc/syslog.c (closelog_internal): Likewise.
34435 (closelog): Likewise.
34436 * misc/ttyslot.c (ttyslot): Likewise.
34437 * misc/vhangup.c (vhangup): Likewise.
34438 * posix/fork.c (__fork): Likewise.
34439 * posix/getegid.c (__getegid): Likewise.
34440 * posix/geteuid.c (__geteuid): Likewise.
34441 * posix/getgid.c (__getgid): Likewise.
34442 * posix/getpid.c (__getpid): Likewise.
34443 * posix/getppid.c (__getppid): Likewise.
34444 * posix/getuid.c (__getuid): Likewise.
34445 * posix/pause.c (pause): Likewise.
34446 * posix/setpgrp.c (setpgrp): Likewise.
34447 * posix/setsid.c (__setsid): Likewise.
34448 * posix/test-vfork.c (noop): Likewise.
34449 * resolv/gethnamaddr.c (_endhtent): Likewise.
34450 (_gethtent): Likewise.
34451 (ht_endhostent): Likewise.
34452 (gethostent): Likewise.
34453 (dns_service): Likewise.
34454 * stdlib/drand48.c (drand48): Likewise.
34455 * stdlib/lrand48.c (lrand48): Likewise.
34456 * stdlib/mrand48.c (mrand48): Likewise.
34457 * stdlib/rand.c (rand): Likewise.
34458 * stdlib/random.c (__random): Likewise.
34459 * stdlib/setenv.c (clearenv): Likewise.
34460 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34461 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34462 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34463 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34464 (__get_nprocs): Likewise.
34465 (__get_phys_pages): Likewise.
34466 (__get_avphys_pages): Likewise.
34467 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34468 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34469 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34470 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34471 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34472 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34473 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34474 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34475 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34476 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34477 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34478 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34479 * sysdeps/posix/clock.c (clock): Likewise.
34480 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34481 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34482 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34483 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34484 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34486 (__get_nprocs_conf): Likewise.
34487 (__get_phys_pages): Likewise.
34488 (__get_avphys_pages): Likewise.
34489 * time/clock.c (clock): Likewise.
34490 * time/tzset.c (__tzname_max): Likewise.
34491
34492 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34493
34494 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34495 (__bswap_32): Do not use "register".
34496 * crypt/crypt.c (_ufc_doit_r): Likewise.
34497 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34498 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34499 * gmon/gmon.c (__monstartup): Likewise.
34500 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34501 * hurd/hurdmalloc.c (more_memory): Likewise.
34502 (malloc): Likewise.
34503 (free): Likewise.
34504 (realloc): Likewise.
34505 (malloc_fork_prepare): Likewise.
34506 (malloc_fork_parent): Likewise.
34507 (malloc_fork_child): Likewise.
34508 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34509 (_svcauth_des): Likewise.
34510 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34511 * inet/inet_net.c (inet_network): Likewise.
34512 * inet/inet_netof.c (inet_netof): Likewise.
34513 * inet/rcmd.c (__validuser2_sa): Likewise.
34514 * io/fts.c (fts_open): Likewise.
34515 (fts_load): Likewise.
34516 (fts_close): Likewise.
34517 (fts_read): Likewise.
34518 (fts_children): Likewise.
34519 (fts_build): Likewise.
34520 (fts_stat): Likewise.
34521 (fts_sort): Likewise.
34522 (fts_alloc): Likewise.
34523 (fts_lfree): Likewise.
34524 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34525 (_IO_file_xsgetn): Likewise.
34526 (_IO_file_xsgetn_mmap): Likewise.
34527 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34528 (_IO_cookie_write): Likewise.
34529 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34530 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34531 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34532 * malloc/obstack.c (_obstack_begin): Likewise.
34533 (_obstack_begin_1): Likewise.
34534 (_obstack_newchunk): Likewise.
34535 (_obstack_allocated_p): Likewise.
34536 (obstack_free): Likewise.
34537 (_obstack_memory_used): Likewise.
34538 * misc/getttyent.c (getttynam): Likewise.
34539 (getttyent): Likewise.
34540 (skip): Likewise.
34541 (value): Likewise.
34542 * misc/getusershell.c (initshells): Likewise.
34543 * misc/syslog.c (__vsyslog_chk): Likewise.
34544 * misc/ttyslot.c (ttyslot): Likewise.
34545 * nis/nis_hash.c (__nis_hash): Likewise.
34546 * posix/fnmatch_loop.c (FCT): Likewise.
34547 * posix/getconf.c (print_all): Likewise.
34548 (main): Likewise.
34549 * posix/getopt.c (exchange): Likewise.
34550 * posix/glob.c (globfree): Likewise.
34551 (prefix_array): Likewise.
34552 (__glob_pattern_type): Likewise.
34553 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34554 (NS_GET32): Likewise.
34555 (NS_PUT16): Likewise.
34556 (NS_PUT32): Likewise.
34557 * resolv/gethnamaddr.c (getanswer): Likewise.
34558 (gethostbyname2): Likewise.
34559 (gethostbyaddr): Likewise.
34560 (_gethtent): Likewise.
34561 (_gethtbyname2): Likewise.
34562 (_gethtbyaddr): Likewise.
34563 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34564 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34565 * resolv/res_init.c (__res_vinit): Likewise.
34566 (net_mask): Likewise.
34567 * resolv/res_mkquery.c (outchar): Likewise.
34568 (PRINT): Likewise.
34569 * stdio-common/printf_fp.c (outchar): Likewise.
34570 (PRINT): Likewise.
34571 * stdio-common/printf_fphex.c (outchar): Likewise.
34572 (PRINT): Likewise.
34573 * stdio-common/printf_size.c (outchar): Likewise.
34574 (PRINT): Likewise.
34575 * stdio-common/test_rdwr.c (main): Likewise.
34576 * stdio-common/tfformat.c (matches): Likewise.
34577 * stdio-common/vfprintf.c (outchar): Likewise.
34578 (printf_unknown): Likewise.
34579 (buffered_vfprintf): Likewise.
34580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34581 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34582 (ReadFile): Likewise.
34583 * stdlib/qsort.c (SWAP): Likewise.
34584 (_quicksort): Likewise.
34585 * stdlib/setenv.c (__add_to_environ): Likewise.
34586 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34587 * stdlib/strtol_l.c (__strtol_l): Likewise.
34588 * stdlib/tst-strtod.c (main): Likewise.
34589 * stdlib/tst-strtol.c (main): Likewise.
34590 * stdlib/tst-strtoll.c (main): Likewise.
34591 * string/bits/string2.h (__strcmp_cc): Likewise.
34592 (__strcmp_cg): Likewise.
34593 (__strcspn_c1): Likewise.
34594 (__strcspn_c2): Likewise.
34595 (__strcspn_c3): Likewise.
34596 (__strspn_c1): Likewise.
34597 (__strspn_c2): Likewise.
34598 (__strspn_c3): Likewise.
34599 (__strsep_1c): Likewise.
34600 (__strsep_2c): Likewise.
34601 (__strsep_3c): Likewise.
34602 * string/memccpy.c (__memccpy): Likewise.
34603 * string/stpcpy.c (__stpcpy): Likewise.
34604 * string/strcmp.c (strcmp): Likewise.
34605 * string/strrchr.c (strrchr): Likewise.
34606 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34607 Likewise.
34608 * sysdeps/mach/hurd/getcwd.c
34609 (_hurd_canonicalize_directory_name_internal): Likewise.
34610 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34611 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34612 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34613 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34614 Likewise, in both definitions.
34615 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34616 definitions.
34617 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34618 64] (__bswap_64): Likewise.
34619 * time/test_time.c (main): Likewise.
34620 * time/tzfile.c (__tzfile_read): Likewise.
34621 (__tzfile_compute): Likewise.
34622 * time/tzset.c (__tzset_parse_tz): Likewise.
34623 (tzset_internal): Likewise.
34624 (compute_change): Likewise.
34625 * wcsmbs/wcscat.c (__wcscat): Likewise.
34626 * wcsmbs/wcschr.c (wcschr): Likewise.
34627 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34628 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34629 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34630 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34631 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34632 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34633 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34634 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34635 * wcsmbs/wmemset.c (wmemset): Likewise.
34636
34637 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34638
34639 * scripts/config.guess: Update to version 2013-05-16.
34640 * scripts/config.sub: Update to version 2013-04-24.
34641 * scripts/install-sh: Update to version 2011-11-20.07.
34642 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34643 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34644
34645 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34646
34647 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34648 * elf/sln.c: Likewise.
34649 * hurd/hurd/ioctl.h: Likewise.
34650 * hurd/hurdmalloc.c: Likewise.
34651 * hurd/xattr.c: Likewise.
34652 * include/shlib-compat.h: Likewise.
34653 * inet/ruserpass.c: Likewise.
34654 * libio/iofgets_u.c: Likewise.
34655 * libio/iofgetws_u.c: Likewise.
34656 * locale/programs/ld-identification.c: Likewise.
34657 * locale/programs/ld-time.c: Likewise.
34658 * mach/msg-destroy.c: Likewise.
34659 * nss/nss_files/files-netgrp.c: Likewise.
34660 * resolv/res_data.c: Likewise.
34661 * soft-fp/op-1.h: Likewise.
34662 * soft-fp/op-2.h: Likewise.
34663 * soft-fp/op-4.h: Likewise.
34664 * soft-fp/op-common.h: Likewise.
34665 * stdio-common/printf_fphex.c: Likewise.
34666 * stdlib/strtod_l.c: Likewise.
34667 * sunrpc/rpc/clnt.h: Likewise.
34668 * sysdeps/generic/framestate.c: Likewise.
34669 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34670 * sysdeps/i386/bsd-setjmp.S: Likewise.
34671 * sysdeps/i386/__longjmp.S: Likewise.
34672 * sysdeps/i386/setjmp.S: Likewise.
34673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34674 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34676 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34683 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34691 * sysdeps/ieee754/support.c: Likewise.
34692 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34693 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34694 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34695 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34696 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34697 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34698 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34699 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34700 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34701 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34702 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34703 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34704 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34705 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34706 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34707 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34708 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34710
34711 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34712
34713 * posix/transbug.c: Remove executable mode.
34714
34715 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34716
34717 * crypt/speeds.c: Remove trailing whitespace.
34718 * dlfcn/default.c: Likewise.
34719 * elf/ifuncdep2.c: Likewise.
34720 * elf/ifuncmain1.c: Likewise.
34721 * elf/ifuncmain1vis.c: Likewise.
34722 * elf/testobj.h: Likewise.
34723 * elf/tst-stackguard1.c: Likewise.
34724 * gmon/sys/gmon.h: Likewise.
34725 * hurd/hurdmsg.c: Likewise.
34726 * hurd/new-fd.c: Likewise.
34727 * hurd/ports-get.c: Likewise.
34728 * iconvdata/ibm1008_420.c: Likewise.
34729 * inet/tst-getni1.c: Likewise.
34730 * inet/tst-getni2.c: Likewise.
34731 * libio/ioungetc.c: Likewise.
34732 * libio/wfiledoalloc.c: Likewise.
34733 * manual/libm-err-tab.pl: Likewise.
34734 * math/w_dremf.c: Likewise.
34735 * misc/ftruncate.c: Likewise.
34736 * posix/bug-glob2.c: Likewise.
34737 * posix/tst-pcre.c: Likewise.
34738 * posix/wait4.c: Likewise.
34739 * resolv/README: Likewise.
34740 * resolv/res_debug.h: Likewise.
34741 * resolv/tst-inet_ntop.c: Likewise.
34742 * setjmp/bug269-setjmp.c: Likewise.
34743 * soft-fp/extended.h: Likewise.
34744 * soft-fp/op-1.h: Likewise.
34745 * soft-fp/op-2.h: Likewise.
34746 * soft-fp/op-4.h: Likewise.
34747 * soft-fp/op-8.h: Likewise.
34748 * soft-fp/testit.c: Likewise.
34749 * stdio-common/bug16.c: Likewise.
34750 * stdlib/random.c: Likewise.
34751 * sunrpc/rpcsvc/rquota.x: Likewise.
34752 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34759 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34760 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34761 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34762 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34763 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34765 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34767 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34768 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34769 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34770 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34773 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34774 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34781 * sysdeps/ieee754/s_lib_version.c: Likewise.
34782 * sysdeps/mach/hurd/check_fds.c: Likewise.
34783 * sysdeps/mach/hurd/getsockname.c: Likewise.
34784 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34785 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34786 * sysdeps/powerpc/bits/link.h: Likewise.
34787 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34788 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34789 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34790 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34791 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34792 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34793 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34794 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34795 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34796 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34797 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34798 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34799 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34800 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34801 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34802 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34805 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34806 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34807 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34808 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34810 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34811 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34815 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34817 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34818 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34819 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34820 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34821 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34822 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34823 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34824 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34825 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34826 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34827 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34828 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34829 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34830 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34831 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34832 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34833 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34834 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34835 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34836 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34839 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34840 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34841 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34842 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34843 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34844 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34845 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34847 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34848 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34849 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34850 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34851 * sysdeps/powerpc/sysdep.h: Likewise.
34852 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34853 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34854 * sysdeps/sh/dl-trampoline.S: Likewise.
34855 * sysdeps/sh/memset.S: Likewise.
34856 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34857 * sysdeps/sh/strlen.S: Likewise.
34858 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34859 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34860 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34861 * sysdeps/sparc/sparc32/rem.S: Likewise.
34862 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34863 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34864 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34865 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34866 * sysdeps/sparc/sparc32/urem.S: Likewise.
34867 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34868 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34869 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34870 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34871 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34872 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34873 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34874 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34875 * sysdeps/unix/bsd/times.c: Likewise.
34876 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34877 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34881 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34882 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34883 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34884 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34885 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34886 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34887 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34888 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34889 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34890 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34891 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34893 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34894 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34895 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34896 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34897 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34898 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34899 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34900 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34901 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34902 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34903 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34904 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34905 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34906 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34907 * sysdeps/x86_64/strcspn.S: Likewise.
34908
34909 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34910
34911 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34912 generated file. Regenerate properly from gen-translit.pl.
34913 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34914 locale/C-translit.h.
34915
34916 2013-06-05 Andreas Schwab <schwab@suse.de>
34917
34918 [BZ #15100]
34919 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34920 week as 6 instead of -1.
34921 * time/tst-strptime.c (day_tests): Add test case.
34922
34923 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34924
34925 * sysdeps/generic/math_private.h
34926 (libc_feholdexcept_setround_53bit): Replace with
34927 libc_feholdsetround_53bit.
34928 (libc_feupdateenv_53bit): Replace with
34929 libc_feresetround_53bit.
34930 (SET_RESTORE_ROUND_53BIT): Adjust.
34931
34932 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34933
34934 * string/test-strchrnul.c: Add copyright header.
34935
34936 * posix/tst-getaddrinfo4.c: Increase test timeout.
34937
34938 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34939
34940 [BZ #15536]
34941 * math/libm-test.inc (MAX_EXP): Remove
34942 (MIN_EXP): Define.
34943 (ulp): Use MIN_EXP - MANT_DIG.
34944 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34945
34946 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34947
34948 * po/be.po: Revert last change.
34949 * po/zh_CN.po: Likewise.
34950 * po/header.pot: Likewise.
34951
34952 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34953
34954 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34955 link-libc-deps to empty as target-specific variable.
34956 * Makerules (link-libc-args): New variable.
34957 (libc-for-link): Likewise.
34958 (link-libc-deps): Likewise.
34959 (lib%.so): Depend on $(link-libc-deps). Link with
34960 $(link-libc-args).
34961 (build-module): Link with $(link-libc-args).
34962 (build-module-asneeded): Likewise.
34963 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34964 list of objects.
34965 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34966 target-specific variable.
34967 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34968 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34969 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34970 libc.
34971 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34972 libc and ld.so.
34973 ($(objpfx)libpcprofile.so): Likewise.
34974 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34975 libc_nonshared.a.
34976 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34977 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34978 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34979 $(link-libc-deps).
34980 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34981 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34982 * login/Makefile ($(objpfx)libutil.so): Likewise.
34983 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34984 * math/Makefile ($(objpfx)libm.so): Likewise.
34985 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34986 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34987 variable instead of depending directly on libc.
34988 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34989 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34990 $(link-libc-deps).
34991 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34992 libc.
34993 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34994 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34995 ($(objpfx)libanl.so): Likewise.
34996 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34997 ld.so.
34998 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34999 $(link-libc-deps).
35000 * sysdeps/i386/fpu/Makefile: Remove file.
35001 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35002 ($(objpfx)libm.so): Remove dependency on ld.so.
35003
35004 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35005
35006 [BZ # 15553]
35007 * nis/yp_xdr.c (XDRMAXNAME): Define.
35008 (XDRMAXRECORD): Define.
35009 (xdr_domainname): Use XDRMAXNAME.
35010 (xdr_mapname): Likewise.
35011 (xdr_peername): Likewise.
35012 (xdr_keydat): Use XDRMAXRECORD.
35013 (xdr_valdat): Likewise.
35014
35015 2013-05-30 Jeff Law <law@redhat.com>
35016
35017 [BZ #14256]
35018 * manual/errno.texi (ESTALE): Update to account for more than
35019 just NFS file systems.
35020 * sysdeps/gnu/errlist.c: Regenerated.
35021
35022 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35023
35024 [BZ #15465]
35025 * elf/Makefile (tests): Add tst-null-argv.
35026 (modules-names): Add tst-null-argv-lib.
35027 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35028 (tst-null-argv-ENV): Set environment for tst-null-argv.
35029 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35030 (RTLD_PROGNAME): New macro.
35031 * elf/tst-null-argv.c: New test case.
35032 * elf/tst-null-argv-lib.c: Library for test case.
35033 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35034 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35035 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35036 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35037 * elf/dl-init.c (call_init): Likewise.
35038 (_dl_init): Likewise.
35039 * elf/dl-load.c (print_search_path): Likewise.
35040 (_dl_map_object): Likewise.
35041 * elf/dl-lookup.c (do_lookup_x): Likewise.
35042 (add_dependency): Likewise.
35043 (_dl_lookup_symbol_x): Likewise.
35044 (_dl_debug_bindings): Likewise.
35045 * elf/dl-open.c (_dl_show_scope): Likewise.
35046 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35047 * elf/dl-version.c (match_symbol): Likewise.
35048 (_dl_check_map_versions): Likewise.
35049 * elf/rtld.c (dl_main): Likewise.
35050 (print_unresolved): Use RTLD_PROGNAME.
35051 (print_missing_version): Likewise.
35052 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35053 (elf_machine_rela): Likewise.
35054 * sysdeps/powerpc/powerpc32/dl-machine.c
35055 (__process_machine_rela): Likewise.
35056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35057 Likewise.
35058 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35059 Likewise.
35060 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35061 Likewise.
35062 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35064 Likewise.
35065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35066 Likewise.
35067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35068
35069 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35070
35071 * po/be.po: Add descriptive title.
35072 * po/zh_CN.po: Likewise.
35073 * po/header.pot: Likewise.
35074
35075 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35076
35077 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35078 error message.
35079 (enlarge_archive): Likewise.
35080
35081 2013-05-28 Ben North <ben@redfrontdoor.org>
35082
35083 * manual/arith.texi (frexp): It is the magnitude of the return
35084 value which lies in [0.5, 1), not the return value itself.
35085
35086 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35087
35088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35089
35090 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35091
35092 * stdio-common/bug26.c (main): Correct fscanf template.
35093
35094 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35095 declare _dl_skip_args.
35096
35097 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35098 Don't declare.
35099
35100 * manual/platform.texi: Add missing @end deftypefun.
35101
35102 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35103
35104 [BZ #15529]
35105 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35106 bit of mantissa of 2^16382.
35107 * math/libm-test.inc (hypot_test_data): Add more tests.
35108
35109 * math/libm-test.inc: Add drem and pow10 to list of tested
35110 functions.
35111 (pow10_test): New function.
35112 (drem_test): Likewise.
35113 (drem_test_tonearest): Likewise.
35114 (drem_test_towardzero): Likewise.
35115 (drem_test_downward): Likewise.
35116 (drem_test_upward): Likewise.
35117 (main): Call the new functions.
35118
35119 * math/libm-test.inc (finite_test_data): Remove.
35120 (finite_test): Run tests from isfinite_test_data.
35121 (gamma_test_data): Remove.
35122 (gamma_test): Run tests from lgamma_test_data.
35123 * sysdeps/i386/fpu/libm-test-ulps: Update.
35124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35125
35126 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35127
35128 * manual/platform.texi: Add PowerPC PPR function set documentation.
35129 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35130 implementation.
35131
35132 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35133
35134 * math/libm-test.inc (MAX_EXP): Define.
35135 (ULPDIFF): Define.
35136 (ulp): New function.
35137 (check_float_internal): Use ULPDIFF.
35138 (cpow_test): Disable failing test.
35139 (check_ulp): Test ulp() implemetnation.
35140 (main): Call check_ulp before starting tests.
35141
35142 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35143
35144 * math/gen-libm-test.pl (generate_testfile): Do not handle
35145 START_DATA and END_DATA.
35146 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35147 END_DATA.
35148 (acos_tonearest_test_data): Likewise.
35149 (acos_towardzero_test_data): Likewise.
35150 (acos_downward_test_data): Likewise.
35151 (acos_upward_test_data): Likewise.
35152 (acosh_test_data): Likewise.
35153 (asin_test_data): Likewise.
35154 (asin_tonearest_test_data): Likewise.
35155 (asin_towardzero_test_data): Likewise.
35156 (asin_downward_test_data): Likewise.
35157 (asin_upward_test_data): Likewise.
35158 (asinh_test_data): Likewise.
35159 (atan_test_data): Likewise.
35160 (atanh_test_data): Likewise.
35161 (atan2_test_data): Likewise.
35162 (cabs_test_data): Likewise.
35163 (cacos_test_data): Likewise.
35164 (cacosh_test_data): Likewise.
35165 (carg_test_data): Likewise.
35166 (casin_test_data): Likewise.
35167 (casinh_test_data): Likewise.
35168 (catan_test_data): Likewise.
35169 (catanh_test_data): Likewise.
35170 (cbrt_test_data): Likewise.
35171 (ccos_test_data): Likewise.
35172 (ccosh_test_data): Likewise.
35173 (ceil_test_data): Likewise.
35174 (cexp_test_data): Likewise.
35175 (cimag_test_data): Likewise.
35176 (clog_test_data): Likewise.
35177 (clog10_test_data): Likewise.
35178 (conj_test_data): Likewise.
35179 (copysign_test_data): Likewise.
35180 (cos_test_data): Likewise.
35181 (cos_tonearest_test_data): Likewise.
35182 (cos_towardzero_test_data): Likewise.
35183 (cos_downward_test_data): Likewise.
35184 (cos_upward_test_data): Likewise.
35185 (cosh_test_data): Likewise.
35186 (cosh_tonearest_test_data): Likewise.
35187 (cosh_towardzero_test_data): Likewise.
35188 (cosh_downward_test_data): Likewise.
35189 (cosh_upward_test_data): Likewise.
35190 (cpow_test_data): Likewise.
35191 (cproj_test_data): Likewise.
35192 (creal_test_data): Likewise.
35193 (csin_test_data): Likewise.
35194 (csinh_test_data): Likewise.
35195 (csqrt_test_data): Likewise.
35196 (ctan_test_data): Likewise.
35197 (ctan_tonearest_test_data): Likewise.
35198 (ctan_towardzero_test_data): Likewise.
35199 (ctan_downward_test_data): Likewise.
35200 (ctan_upward_test_data): Likewise.
35201 (ctanh_test_data): Likewise.
35202 (ctanh_tonearest_test_data): Likewise.
35203 (ctanh_towardzero_test_data): Likewise.
35204 (ctanh_downward_test_data): Likewise.
35205 (ctanh_upward_test_data): Likewise.
35206 (erf_test_data): Likewise.
35207 (erfc_test_data): Likewise.
35208 (exp_test_data): Likewise.
35209 (exp_tonearest_test_data): Likewise.
35210 (exp_towardzero_test_data): Likewise.
35211 (exp_downward_test_data): Likewise.
35212 (exp_upward_test_data): Likewise.
35213 (exp10_test_data): Likewise.
35214 (exp2_test_data): Likewise.
35215 (expm1_test_data): Likewise.
35216 (fabs_test_data): Likewise.
35217 (fdim_test_data): Likewise.
35218 (finite_test_data): Likewise.
35219 (floor_test_data): Likewise.
35220 (fma_test_data): Likewise.
35221 (fma_towardzero_test_data): Likewise.
35222 (fma_downward_test_data): Likewise.
35223 (fma_upward_test_data): Likewise.
35224 (fmax_test_data): Likewise.
35225 (fmin_test_data): Likewise.
35226 (fmod_test_data): Likewise.
35227 (fpclassify_test_data): Likewise.
35228 (frexp_test_data): Likewise.
35229 (gamma_test_data): Likewise.
35230 (hypot_test_data): Likewise.
35231 (ilogb_test_data): Likewise.
35232 (isfinite_test_data): Likewise.
35233 (isgreater_test_data): Likewise.
35234 (isgreaterequal_test_data): Likewise.
35235 (isinf_test_data): Likewise.
35236 (isless_test_data): Likewise.
35237 (islessequal_test_data): Likewise.
35238 (islessgreater_test_data): Likewise.
35239 (isnan_test_data): Likewise.
35240 (isnormal_test_data): Likewise.
35241 (issignaling_test_data): Likewise.
35242 (isunordered_test_data): Likewise.
35243 (j0_test_data): Likewise.
35244 (j1_test_data): Likewise.
35245 (jn_test_data): Likewise.
35246 (ldexp_test_data): Likewise.
35247 (lgamma_test_data): Likewise.
35248 (lrint_test_data): Likewise.
35249 (lrint_tonearest_test_data): Likewise.
35250 (lrint_towardzero_test_data): Likewise.
35251 (lrint_downward_test_data): Likewise.
35252 (lrint_upward_test_data): Likewise.
35253 (llrint_test_data): Likewise.
35254 (llrint_tonearest_test_data): Likewise.
35255 (llrint_towardzero_test_data): Likewise.
35256 (llrint_downward_test_data): Likewise.
35257 (llrint_upward_test_data): Likewise.
35258 (log_test_data): Likewise.
35259 (log10_test_data): Likewise.
35260 (log1p_test_data): Likewise.
35261 (log2_test_data): Likewise.
35262 (logb_test_data): Likewise.
35263 (logb_downward_test_data): Likewise.
35264 (lround_test_data): Likewise.
35265 (llround_test_data): Likewise.
35266 (modf_test_data): Likewise.
35267 (nearbyint_test_data): Likewise.
35268 (nextafter_test_data): Likewise.
35269 (nexttoward_test_data): Likewise.
35270 (pow_test_data): Likewise.
35271 (pow_tonearest_test_data): Likewise.
35272 (pow_towardzero_test_data): Likewise.
35273 (pow_downward_test_data): Likewise.
35274 (pow_upward_test_data): Likewise.
35275 (remainder_test_data): Likewise.
35276 (remainder_tonearest_test_data): Likewise.
35277 (remainder_towardzero_test_data): Likewise.
35278 (remainder_downward_test_data): Likewise.
35279 (remainder_upward_test_data): Likewise.
35280 (remquo_test_data): Likewise.
35281 (rint_test_data): Likewise.
35282 (rint_tonearest_test_data): Likewise.
35283 (rint_towardzero_test_data): Likewise.
35284 (rint_downward_test_data): Likewise.
35285 (rint_upward_test_data): Likewise.
35286 (round_test_data): Likewise.
35287 (scalb_test_data): Likewise.
35288 (scalbn_test_data): Likewise.
35289 (scalbln_test_data): Likewise.
35290 (signbit_test_data): Likewise.
35291 (sin_test_data): Likewise.
35292 (sin_tonearest_test_data): Likewise.
35293 (sin_towardzero_test_data): Likewise.
35294 (sin_downward_test_data): Likewise.
35295 (sin_upward_test_data): Likewise.
35296 (sincos_test_data): Likewise.
35297 (sinh_test_data): Likewise.
35298 (sinh_tonearest_test_data): Likewise.
35299 (sinh_towardzero_test_data): Likewise.
35300 (sinh_downward_test_data): Likewise.
35301 (sinh_upward_test_data): Likewise.
35302 (sqrt_test_data): Likewise.
35303 (tan_test_data): Likewise.
35304 (tan_tonearest_test_data): Likewise.
35305 (tan_towardzero_test_data): Likewise.
35306 (tan_downward_test_data): Likewise.
35307 (tan_upward_test_data): Likewise.
35308 (tanh_test_data): Likewise.
35309 (tgamma_test_data): Likewise.
35310 (trunc_test_data): Likewise.
35311 (y0_test_data): Likewise.
35312 (y1_test_data): Likewise.
35313 (yn_test_data): Likewise.
35314 (significand_test_data): Likewise.
35315
35316 * math/gen-libm-test.pl (@functions): Remove variable.
35317 (generate_testfile): Don't handle START and END lines.
35318 * math/libm-test.inc (START): New macro.
35319 (END): Likewise.
35320 (END_COMPLEX): Likewise.
35321 (acos_test): Use END macro without arguments.
35322 (acos_test_tonearest): Likewise.
35323 (acos_test_towardzero): Likewise.
35324 (acos_test_downward): Likewise.
35325 (acos_test_upward): Likewise.
35326 (acosh_test): Likewise.
35327 (asin_test): Likewise.
35328 (asin_test_tonearest): Likewise.
35329 (asin_test_towardzero): Likewise.
35330 (asin_test_downward): Likewise.
35331 (asin_test_upward): Likewise.
35332 (asinh_test): Likewise.
35333 (atan_test): Likewise.
35334 (atanh_test): Likewise.
35335 (atan2_test): Likewise.
35336 (cabs_test): Likewise.
35337 (cacos_test): Use END_COMPLEX macro without arguments.
35338 (cacosh_test): Likewise.
35339 (carg_test): Use END macro without arguments.
35340 (casin_test): Use END_COMPLEX macro without arguments.
35341 (casinh_test): Likewise.
35342 (catan_test): Likewise.
35343 (catanh_test): Likewise.
35344 (cbrt_test): Use END macro without arguments.
35345 (ccos_test): Use END_COMPLEX macro without arguments.
35346 (ccosh_test): Likewise.
35347 (ceil_test): Use END macro without arguments.
35348 (cexp_test): Use END_COMPLEX macro without arguments.
35349 (cimag_test): Use END macro without arguments.
35350 (clog_test): Use END_COMPLEX macro without arguments.
35351 (clog10_test): Likewise.
35352 (conj_test): Likewise.
35353 (copysign_test): Use END macro without arguments.
35354 (cos_test): Likewise.
35355 (cos_test_tonearest): Likewise.
35356 (cos_test_towardzero): Likewise.
35357 (cos_test_downward): Likewise.
35358 (cos_test_upward): Likewise.
35359 (cosh_test): Likewise.
35360 (cosh_test_tonearest): Likewise.
35361 (cosh_test_towardzero): Likewise.
35362 (cosh_test_downward): Likewise.
35363 (cosh_test_upward): Likewise.
35364 (cpow_test): Use END_COMPLEX macro without arguments.
35365 (cproj_test): Likewise.
35366 (creal_test): Use END macro without arguments.
35367 (csin_test): Use END_COMPLEX macro without arguments.
35368 (csinh_test): Likewise.
35369 (csqrt_test): Likewise.
35370 (ctan_test): Likewise.
35371 (ctan_test_tonearest): Likewise.
35372 (ctan_test_towardzero): Likewise.
35373 (ctan_test_downward): Likewise.
35374 (ctan_test_upward): Likewise.
35375 (ctanh_test): Likewise.
35376 (ctanh_test_tonearest): Likewise.
35377 (ctanh_test_towardzero): Likewise.
35378 (ctanh_test_downward): Likewise.
35379 (ctanh_test_upward): Likewise.
35380 (erf_test): Use END macro without arguments.
35381 (erfc_test): Likewise.
35382 (exp_test): Likewise.
35383 (exp_test_tonearest): Likewise.
35384 (exp_test_towardzero): Likewise.
35385 (exp_test_downward): Likewise.
35386 (exp_test_upward): Likewise.
35387 (exp10_test): Likewise.
35388 (exp2_test): Likewise.
35389 (expm1_test): Likewise.
35390 (fabs_test): Likewise.
35391 (fdim_test): Likewise.
35392 (finite_test): Likewise.
35393 (floor_test): Likewise.
35394 (fma_test): Likewise.
35395 (fma_test_towardzero): Likewise.
35396 (fma_test_downward): Likewise.
35397 (fma_test_upward): Likewise.
35398 (fmax_test): Likewise.
35399 (fmin_test): Likewise.
35400 (fmod_test): Likewise.
35401 (fpclassify_test): Likewise.
35402 (frexp_test): Likewise.
35403 (gamma_test): Likewise.
35404 (hypot_test): Likewise.
35405 (ilogb_test): Likewise.
35406 (isfinite_test): Likewise.
35407 (isgreater_test): Likewise.
35408 (isgreaterequal_test): Likewise.
35409 (isinf_test): Likewise.
35410 (isless_test): Likewise.
35411 (islessequal_test): Likewise.
35412 (islessgreater_test): Likewise.
35413 (isnan_test): Likewise.
35414 (isnormal_test): Likewise.
35415 (issignaling_test): Likewise.
35416 (isunordered_test): Likewise.
35417 (j0_test): Likewise.
35418 (j1_test): Likewise.
35419 (jn_test): Likewise.
35420 (ldexp_test): Likewise.
35421 (lgamma_test): Likewise.
35422 (lrint_test): Likewise.
35423 (lrint_test_tonearest): Likewise.
35424 (lrint_test_towardzero): Likewise.
35425 (lrint_test_downward): Likewise.
35426 (lrint_test_upward): Likewise.
35427 (llrint_test): Likewise.
35428 (llrint_test_tonearest): Likewise.
35429 (llrint_test_towardzero): Likewise.
35430 (llrint_test_downward): Likewise.
35431 (llrint_test_upward): Likewise.
35432 (log_test): Likewise.
35433 (log10_test): Likewise.
35434 (log1p_test): Likewise.
35435 (log2_test): Likewise.
35436 (logb_test): Likewise.
35437 (logb_test_downward): Likewise.
35438 (lround_test): Likewise.
35439 (llround_test): Likewise.
35440 (modf_test): Likewise.
35441 (nearbyint_test): Likewise.
35442 (nextafter_test): Likewise.
35443 (nexttoward_test): Likewise.
35444 (pow_test): Likewise.
35445 (pow_test_tonearest): Likewise.
35446 (pow_test_towardzero): Likewise.
35447 (pow_test_downward): Likewise.
35448 (pow_test_upward): Likewise.
35449 (remainder_test): Likewise.
35450 (remainder_test_tonearest): Likewise.
35451 (remainder_test_towardzero): Likewise.
35452 (remainder_test_downward): Likewise.
35453 (remainder_test_upward): Likewise.
35454 (remquo_test): Likewise.
35455 (rint_test): Likewise.
35456 (rint_test_tonearest): Likewise.
35457 (rint_test_towardzero): Likewise.
35458 (rint_test_downward): Likewise.
35459 (rint_test_upward): Likewise.
35460 (round_test): Likewise.
35461 (scalb_test): Likewise.
35462 (scalbn_test): Likewise.
35463 (scalbln_test): Likewise.
35464 (signbit_test): Likewise.
35465 (sin_test): Likewise.
35466 (sin_test_tonearest): Likewise.
35467 (sin_test_towardzero): Likewise.
35468 (sin_test_downward): Likewise.
35469 (sin_test_upward): Likewise.
35470 (sincos_test): Likewise.
35471 (sinh_test): Likewise.
35472 (sinh_test_tonearest): Likewise.
35473 (sinh_test_towardzero): Likewise.
35474 (sinh_test_downward): Likewise.
35475 (sinh_test_upward): Likewise.
35476 (sqrt_test): Likewise.
35477 (tan_test): Likewise.
35478 (tan_test_tonearest): Likewise.
35479 (tan_test_towardzero): Likewise.
35480 (tan_test_downward): Likewise.
35481 (tan_test_upward): Likewise.
35482 (tanh_test): Likewise.
35483 (tgamma_test): Likewise.
35484 (trunc_test): Likewise.
35485 (y0_test): Likewise.
35486 (y1_test): Likewise.
35487 (yn_test): Likewise.
35488 (significand_test): Likewise.
35489
35490 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35491
35492 [BZ #15381]
35493 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35494
35495 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35496
35497 [BZ #14894]
35498 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35499 __ppc_mdoio and __ppc_mdoom.
35500 * manual/platform.texi: Document new functions __ppc_yield,
35501 __ppc_mdoio and __ppc_mdoom.
35502
35503 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35504
35505 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35506 (main): Mention "tls" pseudo-hwcap is legacy.
35507 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35508
35509 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35510
35511 * math/gen-libm-test.pl (parse_args): Output only string of
35512 arguments as text for test name, not full call or descriptions of
35513 tests for extra outputs.
35514 (generate_testfile): Do not pass function name to parse_args.
35515 Generate this_func variable from START.
35516 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35517 field to arg_str.
35518 (struct test_ff_f_data): Likewise.
35519 (test_ff_f_data_nexttoward): Likewise.
35520 (struct test_fi_f_data): Likewise.
35521 (struct test_fl_f_data): Likewise.
35522 (struct test_if_f_data): Likewise.
35523 (struct test_fff_f_data): Likewise.
35524 (struct test_c_f_data): Likewise.
35525 (struct test_f_f1_data): Likewise. Remove field extra_name.
35526 (struct test_fF_f1_data): Likewise.
35527 (struct test_ffI_f1_data): Likewise.
35528 (struct test_c_c_data): Rename test_name field to arg_str.
35529 (struct test_cc_c_data): Likewise.
35530 (struct test_f_i_data): Likewise.
35531 (struct test_ff_i_data): Likewise.
35532 (struct test_f_l_data): Likewise.
35533 (struct test_f_L_data): Likewise.
35534 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35535 and extra2_name.
35536 (COMMON_TEST_SETUP): New macro.
35537 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35538 (COMMON_TEST_CLEANUP): Likewise.
35539 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35540 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35541 macros.
35542 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35543 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35544 macros.
35545 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35546 (RUN_TEST_fff_f): Take argument string. Call new setup and
35547 cleanup macros.
35548 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35549 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35550 macros.
35551 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35552 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35553 macros.
35554 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35555 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35556 cleanup macros.
35557 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35558 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35559 cleanup macros.
35560 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35561 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35562 cleanup macros.
35563 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35564 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35565 macros.
35566 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35567 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35568 macros.
35569 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35570 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35571 macros.
35572 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35573 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35574 cleanup macros.
35575 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35576 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35577 cleanup macros.
35578 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35579 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35580 macros.
35581 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35582 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35583 cleanup macros.
35584 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35585 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35586 macros.
35587 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35588 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35589 macros.
35590 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35591 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35592 cleanup macros.
35593 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35594
35595 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35596
35597 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35598 to _sifields.sigfault.
35599 (si_addr_lsb): Define new macro.
35600 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35602 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35603
35604 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35605
35606 [BZ #15441]
35607 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35608 returns -1.
35609 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35610 null return -1.
35611 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35612 loading the domain.
35613
35614 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35615
35616 * math/gen-libm-test.pl (parse_args): Do not include expected
35617 result in test name.
35618 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35620 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35621 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35622 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35624
35625 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35626
35627 * benchtests/Makefile: Sort function entries.
35628
35629 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35630 tanh, asinh, acosh, atanh.
35631 * benchtests/acos-inputs: New file.
35632 * benchtests/acosh-inputs: New file.
35633 * benchtests/asin-inputs: New file.
35634 * benchtests/asinh-inputs: New file.
35635 * benchtests/atanh-inputs: New file.
35636 * benchtests/cosh-inputs: New file.
35637 * benchtests/log-inputs: New file.
35638 * benchtests/sinh-inputs: New file.
35639 * benchtests/tanh-inputs: New file.
35640
35641 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35642
35643 [BZ #15339]
35644 * posix/tst-getaddrinfo4.c: New test.
35645 * posix/Makefile (tests): Add it.
35646
35647 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35648
35649 [BZ #15339]
35650 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35651 when no services were used.
35652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35653 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35654
35655 2013-05-21 Andreas Schwab <schwab@suse.de>
35656
35657 [BZ #15014]
35658 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35659 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35660 successful.
35661 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35662 redundant variable declarations and reallocation of buffer when
35663 parsing as IPv6 address. Always set NSS status when called from
35664 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35665 buffer too small. Correct computation of needed size.
35666 * nss/Makefile (tests): Add test-digits-dots.
35667 * nss/test-digits-dots.c: New test.
35668
35669 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35670
35671 * benchtests/Makefile: Remove instructions for adding
35672 benchmark tests.
35673 * benchtests/README: New file to explain how to execute and
35674 enhance the benchmark tests.
35675
35676 2013-05-21 Andreas Schwab <schwab@suse.de>
35677
35678 [BZ #15493]
35679 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35680 * setjmp/tst-sigsetjmp.c: New test.
35681
35682 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35683
35684 * sysdeps/x86_64/memset.S (memset): New implementation.
35685 (__bzero): Likewise.
35686 (__memset_tail): New function.
35687
35688 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35689
35690 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35691 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35692 __memcpy_sse2_unaligned ifunc selection.
35693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35694 Add memcpy-sse2-unaligned.S.
35695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35696 Add: __memcpy_sse2_unaligned.
35697
35698 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35699
35700 [BZ #15490]
35701 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35702 math_force_eval before restoring floating-point envrionment.
35703 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35704 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35705 Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35707 <math_private.h>.
35708 (__nearbyintl): Use math_force_eval before restoring
35709 floating-point environment.
35710 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35711
35712 * math/gen-libm-test.pl (special_functions): Remove.
35713 (parse_args): Don't handle TEST_extra. Handle functions with no
35714 return value.
35715 * math/libm-test.inc (struct test_sincos_data): Replace with
35716 struct test_fFF_11_data.
35717 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35718 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35719 (sincos_test_data): Change element type to struct
35720 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35721 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35722 RUN_TEST_LOOP_sincos.
35723 * math/README.libm-test: Don't mention special handling of
35724 individual functions.
35725 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35728 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35729 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35731
35732 * math/gen-libm-test.pl (get_variable): Remove function.
35733 (parse_args): Don't show pointer parameters to call in test
35734 names. Use "extra output N" in test names for extra outputs
35735 rather than naming variables.
35736
35737 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35738
35739 [BZ #15488]
35740 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35741 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35742 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35743 double tests.
35744 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35745 disable.
35746 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35747 check_long_double.
35748
35749 * math/gen-libm-test.pl (@tests): Remove variable.
35750 ($count): Likewise.
35751 (new_test): Remove function.
35752 (show_exceptions): New function.
35753 (special_functions): Use show_exceptions instead of new_test.
35754 (parse_args): Likewise.
35755 (generate_testfile): Pass only function name in generated call to
35756 print_max_error or print_complex_max_error.
35757 (get_ulps): Do not handle complex tests specially.
35758 (output_test): Rename to ...
35759 (get_all_ulps_for_test): ... this. Return a string rather than
35760 printing to a file. Require ulps to be present.
35761 (output_ulps): Generate arrays rather than #defines.
35762 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35763 (struct ulp_data): New type.
35764 (BUILD_COMPLEX_ULP): Remove macro.
35765 (compare_ulp_data): New function.
35766 (find_ulps): Likewise.
35767 (find_test_ulps): Likewise.
35768 (find_function_ulps): Likewise.
35769 (find_complex_function_ulps): Likewise.
35770 (print_max_error): Determine allowed ulps using
35771 find_function_ulps.
35772 (print_complex_max_error): Determine allowed ulps using
35773 find_complex_function_ulps.
35774 (check_float_internal): Determine max ulps using find_test_ulps.
35775 (check_float): Do not take max_ulp parameter. Update call to
35776 check_float_internal.
35777 (check_complex): Likewise.
35778 (check_int): Do not take max_ulp parameter.
35779 (check_long): Likewise.
35780 (check_bool): Likewise.
35781 (check_longlong): Likewise.
35782 (struct test_f_f_data): Remove max_ulp field.
35783 (struct test_ff_f_data): Likewise.
35784 (struct test_ff_f_data_nexttoward): Likewise.
35785 (struct test_fi_f_data): Likewise.
35786 (struct test_fl_f_data): Likewise.
35787 (struct test_if_f_data): Likewise.
35788 (struct test_fff_f_data): Likewise.
35789 (struct test_c_f_data): Likewise.
35790 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35791 (struct test_fF_f1_data): Likewise.
35792 (struct test_ffI_f1_data): Likewise.
35793 (struct test_c_c_data): Remove max_ulp field.
35794 (struct test_cc_c_data): Likewise.
35795 (struct test_f_i_data): Likewise.
35796 (struct test_ff_i_data): Likewise.
35797 (struct test_f_l_data): Likewise.
35798 (struct test_f_L_data): Likewise.
35799 (struct test_sincos_data): Likewise.
35800 (RUN_TEST_f_f): Do not handle ulps.
35801 (RUN_TEST_LOOP_f_f): Likewise.
35802 (RUN_TEST_2_f): Likewise.
35803 (RUN_TEST_LOOP_2_f): Likewise.
35804 (RUN_TEST_fff_f): Likewise.
35805 (RUN_TEST_LOOP_fff_f): Likewise.
35806 (RUN_TEST_c_f): Likewise.
35807 (RUN_TEST_LOOP_c_f): Likewise.
35808 (RUN_TEST_f_f1): Likewise.
35809 (RUN_TEST_LOOP_f_f1): Likewise.
35810 (RUN_TEST_fF_f1): Likewise.
35811 (RUN_TEST_LOOP_fF_f1): Likewise.
35812 (RUN_TEST_fI_f1): Likewise.
35813 (RUN_TEST_LOOP_fI_f1): Likewise.
35814 (RUN_TEST_ffI_f1): Likewise.
35815 (RUN_TEST_LOOP_ffI_f1): Likewise.
35816 (RUN_TEST_c_c): Likewise.
35817 (RUN_TEST_LOOP_c_c): Likewise.
35818 (RUN_TEST_cc_c): Likewise.
35819 (RUN_TEST_LOOP_cc_c): Likewise.
35820 (RUN_TEST_f_i): Likewise.
35821 (RUN_TEST_LOOP_f_i): Likewise.
35822 (RUN_TEST_f_i_tg): Likewise.
35823 (RUN_TEST_LOOP_f_i_tg): Likewise.
35824 (RUN_TEST_ff_i_tg): Likewise.
35825 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35826 (RUN_TEST_f_b): Likewise.
35827 (RUN_TEST_LOOP_f_b): Likewise.
35828 (RUN_TEST_f_b_tg): Likewise.
35829 (RUN_TEST_LOOP_f_b_tg): Likewise.
35830 (RUN_TEST_f_l): Likewise.
35831 (RUN_TEST_LOOP_f_l): Likewise.
35832 (RUN_TEST_f_L): Likewise.
35833 (RUN_TEST_LOOP_f_L): Likewise.
35834 (RUN_TEST_sincos): Likewise.
35835 (RUN_TEST_LOOP_sincos): Likewise.
35836
35837 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35838
35839 [BZ #15480]
35840 [BZ #15485]
35841 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35842 main case of finite arguments, set rounding mode to FE_TONEAREST
35843 and discard exceptions.
35844 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35845 exceptions.
35846 (remainder_tonearest_test_data): New variable.
35847 (remainder_test_tonearest): New function.
35848 (remainder_towardzero_test_data): New variable.
35849 (remainder_test_towardzero): New function.
35850 (remainder_downward_test_data): New variable.
35851 (remainder_test_downward): New function.
35852 (remainder_upward_test_data): New variable.
35853 (remainder_test_upward): New function.
35854 (main): Call the new test functions.
35855
35856 * math/libm-test.inc (struct test_f_f1_data): Remove field
35857 extra_init.
35858 (struct test_fF_f1_data): Likewise.
35859 (struct test_ffI_f1_data): Likewise.
35860 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35861 based on value of EXTRA_EXPECTED.
35862 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35863 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35864 EXTRA_VAR based on value of EXTRA_EXPECTED.
35865 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35866 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35867 EXTRA_VAR based on value of EXTRA_EXPECTED.
35868 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35869 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35870 EXTRA_VAR based on value of EXTRA_EXPECTED.
35871 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35872 * math/gen-libm-test.pl (parse_args): Don't output initializers
35873 for extra output values.
35874
35875 * math/libm-test.inc (check_int): Expect result to be exactly
35876 equal to expected value and do not handle ulps.
35877 (check_long): Likewise.
35878 (check_longlong): Likewise.
35879
35880 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35881 exceptions.
35882 (cimag_test_data): Likewise.
35883 (conj_test_data): Likewise.
35884 (copysign_test_data): Likewise.
35885 (cproj_test_data): Likewise.
35886 (creal_test_data): Likewise.
35887 (fabs_test_data): Likewise.
35888 (fdim_test_data): Likewise.
35889 (finite_test_data): Likewise.
35890 (floor_test_data): Likewise.
35891 (fmax_test_data): Likewise.
35892 (fmin_test_data): Likewise.
35893 (fmod_test_data): Likewise.
35894 (fpclassify_test_data): Likewise.
35895 (frexp_test_data): Likewise.
35896 (ilogb_test_data): Likewise.
35897 (isfinite_test_data): Likewise.
35898 (isgreater_test_data): Likewise.
35899 (isgreaterequal_test_data): Likewise.
35900 (isinf_test_data): Likewise.
35901 (isless_test_data): Likewise.
35902 (islessequal_test_data): Likewise.
35903 (islessgreater_test_data): Likewise.
35904 (isnan_test_data): Likewise.
35905 (isnormal_test_data): Likewise.
35906 (issignaling_test_data): Likewise.
35907 (isunordered_test_data): Likewise.
35908 (ldexp_test_data): Likewise.
35909 (lrint_test_data): Likewise.
35910 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35911 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35912 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35913 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35914 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35915 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35916 test input.
35917 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35918 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35919 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35920 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35921 that test input.
35922 (lrint_downward_test_data): Test for "inexact" exceptions.
35923 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35924 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35925 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35926 test input.
35927 (lrint_upward_test_data): Test for "inexact" exceptions.
35928 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35929 test input.
35930 (llrint_test_data): Test for "inexact" exceptions.
35931 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35932 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35933 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35934 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35935 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35936 (llrint_downward_test_data): Test for "inexact" exceptions.
35937 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35938 (llrint_upward_test_data): Test for "inexact" exceptions.
35939 (logb_test_data): Likewise.
35940 (logb_downward_test_data): Likewise.
35941 (nextafter_test_data): Likewise.
35942 (nexttoward_test_data): Likewise.
35943 (remainder_test_data): Likewise.
35944 (remquo_test_data): Likewise.
35945 (scalbn_test_data): Likewise.
35946 (scalbln_test_data): Likewise.
35947 (signbit_test_data): Likewise.
35948 (sqrt_test_data): Likewise.
35949 (significand_test_data): Likewise.
35950
35951 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35952
35953 [BZ #15424]
35954 * benchtests/bench-modf.c (struct args): Mark arg0 as
35955 volatile.
35956 * scripts/bench.pl: Mark members of struct args as volatile.
35957
35958 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35959
35960 [BZ # 15497]
35961 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35962 negative infinity on POWER6 or lower.
35963 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35964
35965 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35966
35967 [BZ #15442]
35968 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35969 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35970 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35971 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35972 (_FP_SETQNAN): New macro.
35973 (_FP_SETQNAN_SEMIRAW): Likewise.
35974 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35975 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35976 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35977 (FP_EXTEND): Use _FP_FRAC_SNANP.
35978 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35979 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35980 into account.
35981 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35982 New macro.
35983 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35984 Likewise.
35985
35986 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35987
35988 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35989 with DIVIDE_BY_ZERO_EXCEPTION.
35990 (gamma_test_data): Likewise.
35991 (lgamma_test_data): Likewise.
35992 (log_test_data): Likewise.
35993 (log10_test_data): Likewise.
35994 (log2_test_data): Likewise.
35995 (tgamma_test_data): Likewise.
35996
35997 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35998 (acos_test_tonearest): Likewise.
35999 (acos_test_towardzero): Likewise.
36000 (acos_test_downward): Likewise.
36001 (acos_test_upward): Likewise.
36002 (acosh_test): Likewise.
36003 (asin_test): Likewise.
36004 (asin_test_tonearest): Likewise.
36005 (asin_test_towardzero): Likewise.
36006 (asin_test_downward): Likewise.
36007 (asin_test_upward): Likewise.
36008 (asinh_test): Likewise.
36009 (atan_test): Likewise.
36010 (atanh_test): Likewise.
36011 (atan2_test): Likewise.
36012 (cabs_test): Likewise.
36013 (cacos_test): Likewise.
36014 (cacosh_test): Likewise.
36015 (casin_test): Likewise.
36016 (casinh_test): Likewise.
36017 (catan_test): Likewise.
36018 (catanh_test): Likewise.
36019 (cbrt_test): Likewise.
36020 (ccos_test): Likewise.
36021 (ccosh_test): Likewise.
36022 (cexp_test): Likewise.
36023 (clog_test): Likewise.
36024 (clog10_test): Likewise.
36025 (cos_test): Likewise.
36026 (cos_test_tonearest): Likewise.
36027 (cos_test_towardzero): Likewise.
36028 (cos_test_downward): Likewise.
36029 (cos_test_upward): Likewise.
36030 (cosh_test): Likewise.
36031 (cosh_test_tonearest): Likewise.
36032 (cosh_test_towardzero): Likewise.
36033 (cosh_test_downward): Likewise.
36034 (cosh_test_upward): Likewise.
36035 (cpow_test): Likewise.
36036 (csin_test): Likewise.
36037 (csinh_test): Likewise.
36038 (csqrt_test): Likewise.
36039 (ctan_test): Likewise.
36040 (ctan_test_tonearest): Likewise.
36041 (ctan_test_towardzero): Likewise.
36042 (ctan_test_downward): Likewise.
36043 (ctan_test_upward): Likewise.
36044 (ctanh_test): Likewise.
36045 (ctanh_test_tonearest): Likewise.
36046 (ctanh_test_towardzero): Likewise.
36047 (ctanh_test_downward): Likewise.
36048 (ctanh_test_upward): Likewise.
36049 (erf_test): Likewise.
36050 (erfc_test): Likewise.
36051 (exp_test): Likewise.
36052 (exp_test_tonearest): Likewise.
36053 (exp_test_towardzero): Likewise.
36054 (exp_test_downward): Likewise.
36055 (exp_test_upward): Likewise.
36056 (exp10_test): Likewise.
36057 (exp2_test): Likewise.
36058 (expm1_test): Likewise.
36059 (fmod_test): Likewise.
36060 (gamma_test): Likewise.
36061 (hypot_test): Likewise.
36062 (j0_test): Likewise.
36063 (j1_test): Likewise.
36064 (jn_test): Likewise.
36065 (lgamma_test): Likewise.
36066 (log_test): Likewise.
36067 (log10_test): Likewise.
36068 (log1p_test): Likewise.
36069 (log2_test): Likewise.
36070 (logb_test_downward): Likewise.
36071 (pow_test): Likewise.
36072 (pow_test_tonearest): Likewise.
36073 (pow_test_towardzero): Likewise.
36074 (pow_test_downward): Likewise.
36075 (pow_test_upward): Likewise.
36076 (remainder_test): Likewise.
36077 (remquo_test): Likewise.
36078 (sin_test): Likewise.
36079 (sin_test_tonearest): Likewise.
36080 (sin_test_towardzero): Likewise.
36081 (sin_test_downward): Likewise.
36082 (sin_test_upward): Likewise.
36083 (sincos_test): Likewise.
36084 (sinh_test): Likewise.
36085 (sinh_test_tonearest): Likewise.
36086 (sinh_test_towardzero): Likewise.
36087 (sinh_test_downward): Likewise.
36088 (sinh_test_upward): Likewise.
36089 (sqrt_test): Likewise.
36090 (tan_test): Likewise.
36091 (tan_test_tonearest): Likewise.
36092 (tan_test_towardzero): Likewise.
36093 (tan_test_downward): Likewise.
36094 (tan_test_upward): Likewise.
36095 (tanh_test): Likewise.
36096 (tgamma_test): Likewise.
36097 (y0_test): Likewise.
36098 (y1_test): Likewise.
36099 (yn_test): Likewise.
36100
36101 * math/gen-libm-test.pl (adjust_arg): Remove function.
36102 (special_function): Remove argument $in_func. Only handle
36103 generating output for tables of tests, not inside functions.
36104 (parse_args): Likewise.
36105 (generate_testfile): Remove variable $in_func. Update call to
36106 parse_args.
36107 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36108 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36109 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36110 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36111 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36112 (MAX_VALUE_INIT): Rename macro to max_value.
36113 (MIN_VALUE_INIT): Rename macro to min_value.
36114 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36115 (plus_zero): Remove variable.
36116 (minus_zero): Likewise.
36117 (plus_infty): Likewise.
36118 (minus_infty): Likewise.
36119 (qnan_value): Likewise.
36120 (max_value): Likewise.
36121 (min_value): Likewise.
36122 (min_subnorm_value): Likewise.
36123
36124 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36125
36126 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36127 uint64_t or uint32_t usage.
36128 * crypt/sha256-block.c: Likewise.
36129 * crypt/sha256-crypt.c: Likewise.
36130 * crypt/sha256.c: Likewise.
36131 * crypt/sha512-block.c: Likewise.
36132 * crypt/sha512-crypt.c: Likewise.
36133 * crypt/sha512.c: Likewise.
36134 * debug/backtrace-tst.c: Likewise.
36135 * debug/pcprofiledump.c: Likewise.
36136 * elf/cache.c: Likewise.
36137 * elf/dl-cache.c: Likewise.
36138 * elf/dl-misc.c: Likewise.
36139 * elf/dl-profile.c: Likewise.
36140 * elf/dl-support.c: Likewise.
36141 * elf/ldconfig.c: Likewise.
36142 * elf/sprof.c: Likewise.
36143 * iconv/dummy-repertoire.c: Likewise.
36144 * iconv/iconv_charmap.c: Likewise.
36145 * iconv/skeleton.c: Likewise.
36146 * iconvdata/8bit-generic.c: Likewise.
36147 * iconvdata/cp737.h: Likewise.
36148 * iconvdata/cp775.h: Likewise.
36149 * iconvdata/ibm1008.h: Likewise.
36150 * iconvdata/ibm1025.h: Likewise.
36151 * iconvdata/ibm1046.h: Likewise.
36152 * iconvdata/ibm1097.h: Likewise.
36153 * iconvdata/ibm1112.h: Likewise.
36154 * iconvdata/ibm1122.h: Likewise.
36155 * iconvdata/ibm1123.h: Likewise.
36156 * iconvdata/ibm1124.h: Likewise.
36157 * iconvdata/ibm1129.h: Likewise.
36158 * iconvdata/ibm1130.h: Likewise.
36159 * iconvdata/ibm1132.h: Likewise.
36160 * iconvdata/ibm1133.h: Likewise.
36161 * iconvdata/ibm1137.h: Likewise.
36162 * iconvdata/ibm1140.h: Likewise.
36163 * iconvdata/ibm1141.h: Likewise.
36164 * iconvdata/ibm1142.h: Likewise.
36165 * iconvdata/ibm1143.h: Likewise.
36166 * iconvdata/ibm1144.h: Likewise.
36167 * iconvdata/ibm1145.h: Likewise.
36168 * iconvdata/ibm1146.h: Likewise.
36169 * iconvdata/ibm1147.h: Likewise.
36170 * iconvdata/ibm1148.h: Likewise.
36171 * iconvdata/ibm1149.h: Likewise.
36172 * iconvdata/ibm1153.h: Likewise.
36173 * iconvdata/ibm1154.h: Likewise.
36174 * iconvdata/ibm1155.h: Likewise.
36175 * iconvdata/ibm1156.h: Likewise.
36176 * iconvdata/ibm1157.h: Likewise.
36177 * iconvdata/ibm1158.h: Likewise.
36178 * iconvdata/ibm1160.h: Likewise.
36179 * iconvdata/ibm1161.h: Likewise.
36180 * iconvdata/ibm1162.h: Likewise.
36181 * iconvdata/ibm1163.h: Likewise.
36182 * iconvdata/ibm1164.h: Likewise.
36183 * iconvdata/ibm1166.h: Likewise.
36184 * iconvdata/ibm1167.h: Likewise.
36185 * iconvdata/ibm12712.h: Likewise.
36186 * iconvdata/ibm1390.h: Likewise.
36187 * iconvdata/ibm1399.h: Likewise.
36188 * iconvdata/ibm16804.h: Likewise.
36189 * iconvdata/ibm4517.h: Likewise.
36190 * iconvdata/ibm4899.h: Likewise.
36191 * iconvdata/ibm4909.h: Likewise.
36192 * iconvdata/ibm4971.h: Likewise.
36193 * iconvdata/ibm5347.h: Likewise.
36194 * iconvdata/ibm803.h: Likewise.
36195 * iconvdata/ibm856.h: Likewise.
36196 * iconvdata/ibm901.h: Likewise.
36197 * iconvdata/ibm902.h: Likewise.
36198 * iconvdata/ibm9030.h: Likewise.
36199 * iconvdata/ibm9066.h: Likewise.
36200 * iconvdata/ibm921.h: Likewise.
36201 * iconvdata/ibm922.h: Likewise.
36202 * iconvdata/ibm9448.h: Likewise.
36203 * iconvdata/isiri-3342.h: Likewise.
36204 * iconvdata/jis0201.h: Likewise.
36205 * include/link.h: Likewise.
36206 * include/netdb.h: Likewise.
36207 * inet/check_native.c: Likewise.
36208 * inet/check_pf.c: Likewise.
36209 * inet/getipv4sourcefilter.c: Likewise.
36210 * inet/getnameinfo.c: Likewise.
36211 * inet/getsourcefilter.c: Likewise.
36212 * inet/htonl.c: Likewise.
36213 * inet/setipv4sourcefilter.c: Likewise.
36214 * inet/setsourcefilter.c: Likewise.
36215 * inet/test-inet6_opt.c: Likewise.
36216 * inet/tst-network.c: Likewise.
36217 * locale/C-collate.c: Likewise.
36218 * locale/C-ctype.c: Likewise.
36219 * locale/C-time.c: Likewise.
36220 * locale/C-translit.h: Likewise.
36221 * locale/loadarchive.c: Likewise.
36222 * locale/programs/3level.h: Likewise.
36223 * locale/programs/charmap.c: Likewise.
36224 * locale/programs/charmap.h: Likewise.
36225 * locale/programs/ld-address.c: Likewise.
36226 * locale/programs/ld-collate.c: Likewise.
36227 * locale/programs/ld-ctype.c: Likewise.
36228 * locale/programs/ld-identification.c: Likewise.
36229 * locale/programs/ld-measurement.c: Likewise.
36230 * locale/programs/ld-messages.c: Likewise.
36231 * locale/programs/ld-monetary.c: Likewise.
36232 * locale/programs/ld-name.c: Likewise.
36233 * locale/programs/ld-numeric.c: Likewise.
36234 * locale/programs/ld-paper.c: Likewise.
36235 * locale/programs/ld-telephone.c: Likewise.
36236 * locale/programs/ld-time.c: Likewise.
36237 * locale/programs/linereader.c: Likewise.
36238 * locale/programs/locale.c: Likewise.
36239 * locale/programs/locarchive.c: Likewise.
36240 * locale/programs/locfile.h: Likewise.
36241 * locale/programs/repertoire.c: Likewise.
36242 * locale/programs/simple-hash.c: Likewise.
36243 * locale/programs/simple-hash.h: Likewise.
36244 * malloc/memusage.c: Likewise.
36245 * malloc/memusagestat.c: Likewise.
36246 * nis/nis_defaults.c: Likewise.
36247 * nis/nis_hash.c: Likewise.
36248 * nis/nis_print.c: Likewise.
36249 * nis/nis_xdr.c: Likewise.
36250 * nscd/connections.c: Likewise.
36251 * nscd/hstcache.c: Likewise.
36252 * nscd/nscd_gethst_r.c: Likewise.
36253 * nscd/nscd_getserv_r.c: Likewise.
36254 * nscd/nscd_helper.c: Likewise.
36255 * nscd/servicescache.c: Likewise.
36256 * nss/makedb.c: Likewise.
36257 * nss/nss_db/db-XXX.c: Likewise.
36258 * nss/nss_db/db-initgroups.c: Likewise.
36259 * nss/nss_db/db-netgrp.c: Likewise.
36260 * nss/nss_files/files-network.c: Likewise.
36261 * nss/nss_files/files-parse.c: Likewise.
36262 * posix/bug-regex5.c: Likewise.
36263 * posix/fnmatch_loop.c: Likewise.
36264 * posix/regcomp.c: Likewise.
36265 * posix/regexec.c: Likewise.
36266 * posix/tst-rfc3484-2.c: Likewise.
36267 * posix/tst-rfc3484-3.c: Likewise.
36268 * posix/tst-rfc3484.c: Likewise.
36269 * resolv/nss_dns/dns-canon.c: Likewise.
36270 * resolv/nss_dns/dns-network.c: Likewise.
36271 * resolv/res_init.c: Likewise.
36272 * resolv/res_mkquery.c: Likewise.
36273 * resolv/tst-aton.c: Likewise.
36274 * stdlib/cxa_atexit.c: Likewise.
36275 * stdlib/cxa_finalize.c: Likewise.
36276 * stdlib/gen-fpioconst.c: Likewise.
36277 * stdlib/strtol_l.c: Likewise.
36278 * string/tst-endian.c: Likewise.
36279 * sunrpc/auth_des.c: Likewise.
36280 * sunrpc/clnt_udp.c: Likewise.
36281 * sunrpc/rtime.c: Likewise.
36282 * sunrpc/svcauth_des.c: Likewise.
36283 * sunrpc/xdr.c: Likewise.
36284 * sunrpc/xdr_intXX_t.c: Likewise.
36285 * sunrpc/xdr_rec.c: Likewise.
36286 * sysdeps/generic/ldconfig.h: Likewise.
36287 * sysdeps/generic/ldsodefs.h: Likewise.
36288 * sysdeps/generic/memusage.h: Likewise.
36289 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36290 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36291 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36295 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36296 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36297 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36299 * sysdeps/posix/getaddrinfo.c: Likewise.
36300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36304 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36305 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36306 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36307 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36308 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36309 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36310 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36311 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36312 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36313 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36314 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36315 * sysdeps/x86_64/dl-tls.h: Likewise.
36316 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36317 * time/alt_digit.c: Likewise.
36318 * time/era.c: Likewise.
36319 * wcsmbs/tst-c16c32-1.c: Likewise.
36320
36321 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36322
36323 * math/libm-test.inc (struct test_sincos_data): New type.
36324 (RUN_TEST_LOOP_sincos): New macro.
36325 (sincos_test_data): New variable.
36326 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36327
36328 2013-05-16 Richard Henderson <rth@redhat.com>
36329
36330 * math/atest-exp2.c (LIMB64): New macro.
36331 (CONSTSZ): New macro.
36332 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36333 (hexdig): Move ...
36334 (print_mpn_fp): ... to function scope.
36335 (read_mpn_hex): Remove.
36336 (get_log2): Remove.
36337 (exp2_mpn): Use mp_log2.
36338 (main): Use mp_exp1.
36339
36340 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36341
36342 * math/libm-test.inc: Remove comment about not testing "inexact"
36343 exceptions.
36344 (INEXACT_EXCEPTION): New macro.
36345 (NO_INEXACT_EXCEPTION): Likewise.
36346 (INVALID_EXCEPTION_OK): Update value.
36347 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36348 (OVERFLOW_EXCEPTION_OK): Likewise.
36349 (UNDERFLOW_EXCEPTION_OK): Likewise.
36350 (IGNORE_ZERO_INF_SIGN): Likewise.
36351 (ERRNO_UNCHANGED): Likewise.
36352 (ERRNO_EDOM): Likewise.
36353 (ERRNO_ERANGE): Likewise.
36354 (test_exceptions): Handle testing "inexact" exceptions.
36355 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36356 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36357 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36358 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36359 INEXACT_EXCEPTION.
36360 (rint_towardzero_test_data): Likewise.
36361 (rint_downward_test_data): Likewise.
36362 (rint_upward_test_data): Likewise.
36363
36364 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36365 with OVERFLOW_EXCEPTION.
36366 (exp10_test_data): Likewise.
36367 (exp2_test_data): Likewise.
36368 (expm1_test_data): Likewise.
36369 (lgamma_test_data): Likewise.
36370 (pow_test_data): Likewise.
36371 (tgamma_test_data): Likewise.
36372 (yn_test_data): Remove duplicate test of overflow.
36373
36374 * math/libm-test.inc (struct test_cc_c_data): New type.
36375 (RUN_TEST_LOOP_cc_c): New macro.
36376 (cpow_test_data): New variable.
36377 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36378
36379 * math/libm-test.inc (struct test_f_L_data): New type.
36380 (RUN_TEST_LOOP_f_L): New macro.
36381 (llrint_test_data): New variable.
36382 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36383 (llrint_tonearest_test_data): New variable.
36384 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36385 (llrint_towardzero_test_data): New variable.
36386 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36387 (llrint_downward_test_data): New variable.
36388 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36389 (llrint_upward_test_data): New variable.
36390 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36391 (llround_test_data): New variable.
36392 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36393
36394 2013-05-13 Peter Collingbourne <pcc@google.com>
36395
36396 * math/atest-exp2.c (get_log2): Remove const attribute.
36397
36398 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36399
36400 * math/libm-test.inc (struct test_f_l_data): New type.
36401 (RUN_TEST_LOOP_f_l): New macro.
36402 (lrint_test_data): New variable.
36403 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36404 (lrint_tonearest_test_data): New variable.
36405 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36406 (lrint_towardzero_test_data): New variable.
36407 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36408 (lrint_downward_test_data): New variable.
36409 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36410 (lrint_upward_test_data): New variable.
36411 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36412 (lround_test_data): New variable.
36413 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36414
36415 2013-05-15 Peter Collingbourne <pcc@google.com>
36416
36417 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36418 (EXTRACT_WORDS64) Use where appropriate.
36419 (INSERT_WORDS64) Likewise.
36420
36421 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36422 constraints with x constraints.
36423 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36424
36425 * malloc/obstack.c (_obstack_compat): Add initializer.
36426
36427 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36428
36429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36430 si_trapno and add si_addr_lsb to _sifields.sigfault.
36431 (si_trapno): Remove macro.
36432 (si_addr_lsb): Define new macro.
36433 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36434
36435 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36436
36437 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36438 instead of TEST_f_l.
36439 (llrint_test_tonearest): Likewise.
36440 (llrint_test_towardzero): Likewise.
36441 (llrint_test_downward): Likewise.
36442 (llrint_test_upward): Likewise.
36443 (llround_test): Likewise.
36444
36445 * math/libm-test.inc (struct test_f_i_data): Add comment.
36446 (RUN_TEST_LOOP_f_b): New macro.
36447 (RUN_TEST_LOOP_f_b_tg): Likewise.
36448 (finite_test_data): New variable.
36449 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36450 (isfinite_test_data): New variable.
36451 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36452 (isinf_test_data): New variable.
36453 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36454 (isnan_test_data): New variable.
36455 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36456 (isnormal_test_data): New variable.
36457 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36458 (issignaling_test_data): New variable.
36459 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36460 (signbit_test_data): New variable.
36461 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36462
36463 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36464 with INVALID_EXCEPTION.
36465 (acosh_test_data): Likewise.
36466 (asin_test_data): Likewise.
36467 (atanh_test_data): Likewise.
36468 (fmod_test_data): Likewise.
36469 (log_test_data): Likewise.
36470 (log10_test_data): Likewise.
36471 (log2_test_data): Likewise.
36472 (pow_test_data): Likewise.
36473 (sqrt_test_data): Likewise.
36474 (y0_test_data): Likewise.
36475 (y1_test_data): Likewise.
36476 (yn_test_data): Likewise.
36477
36478 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36479 function contents.
36480
36481 * math/libm-test.inc (struct test_ff_i_data): New type.
36482 (RUN_TEST_LOOP_ff_i_tg): New macro.
36483 (isgreater_test_data): New variable.
36484 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36485 (isgreaterequal_test_data): New variable.
36486 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36487 (isless_test_data): New variable.
36488 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36489 (islessequal_test_data): New variable.
36490 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36491 (islessgreater_test_data): New variable.
36492 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36493 (isunordered_test_data): New variable.
36494 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36495
36496 2013-05-14 David S. Miller <davem@davemloft.net>
36497
36498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36499
36500 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36501
36502 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36503
36504 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36505 extra_test to int.
36506 (struct test_f_i_data): Change type of max_ulp to int.
36507
36508 * math/libm-test.inc (test_ffI_f1_data): New type.
36509 (RUN_TEST_LOOP_ffI_f1): New macro.
36510 (remquo_test_data): New variable.
36511 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36512
36513 * setjmp/tst-setjmp-fp.c: New file.
36514 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36515 (link-libm): New variable.
36516 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36517
36518 * math/libm-test.inc (struct test_f_i_data): New type.
36519 (RUN_TEST_LOOP_f_i): New macro.
36520 (RUN_TEST_LOOP_f_i_tg): Likewise.
36521 (fpclassify_test_data): New variable.
36522 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36523 (ilogb_test_data): New variable.
36524 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36525
36526 * math/libm-test.inc (scalbln_test): Correct function name in END
36527 call.
36528
36529 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36530 (RUN_TEST_LOOP_fI_f1): New macro.
36531 (frexp_test_data): New variable.
36532 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36533
36534 * math/libm-test.inc (struct test_fF_f1_data): New type.
36535 (RUN_TEST_LOOP_fF_f1): New macro.
36536 (modf_test_data): New variable.
36537 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36538
36539 * math/libm-test.inc (struct test_f_f1_data): New type.
36540 (RUN_TEST_LOOP_f_f1): New macro.
36541 (gamma_test_data): New variable.
36542 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36543 (lgamma_test_data): New variable.
36544 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36545
36546 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36547
36548 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36549 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36550 (main): Comment "tls" pseudo-hwcap.
36551
36552 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36553
36554 * math/libm-test.inc (struct test_fl_f_data): New type.
36555 (RUN_TEST_LOOP_fl_f): New variable.
36556 (scalbln_test_data): New variable.
36557 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36558
36559 * math/libm-test.inc (struct test_fi_f_data): New type.
36560 (RUN_TEST_LOOP_fi_f): New macro.
36561 (ldexp_test_data): New variable.
36562 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36563 (scalbn_test_data): New variable.
36564 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36565
36566 * math/libm-test.inc (struct test_c_f_data): New type.
36567 (RUN_TEST_LOOP_c_f): New macro.
36568 (cabs_test_data): New variable.
36569 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36570 (carg_test_data): New variable.
36571 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36572 (cimag_test_data): New variable.
36573 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36574 (creal_test_data): New variable.
36575 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36576
36577 * math/libm-test.inc (struct test_if_f_data): New type.
36578 (RUN_TEST_LOOP_if_f): New macro.
36579 (jn_test_data): New variable.
36580 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36581 (yn_test_data): New variable.
36582 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36583
36584 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36585
36586 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36587
36588 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36589 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36590
36591 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36592
36593 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36594 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36595 (bench-deps): Add bench-timing.h.
36596 * benchtests-bench-skeleton.c: Include bench-timing.h.
36597 (main): Use TIMING_* macros instead of clock_gettime.
36598 * benchtests/bench-timing.h: New file.
36599
36600 [BZ #14582]
36601 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36602 Renamed from _LIB_VERSION.
36603 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36604
36605 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36606
36607 * math/libm-test.inc (struct test_fff_f_data): New type.
36608 (RUN_TEST_LOOP_fff_f): New macro.
36609 (fma_test_data): New variable.
36610 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36611 (fma_towardzero_test_data): New variable.
36612 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36613 (fma_downward_test_data): New variable.
36614 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36615 (fma_upward_test_data): New variable.
36616 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36617
36618 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36619 (struct test_c_c_data): New type.
36620 (RUN_TEST_LOOP_c_c): New macro.
36621 (cacos_test_data): New variable.
36622 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36623 (cacosh_test_data): New variable.
36624 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36625 (casin_test_data): New variable.
36626 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36627 (casinh_test_data): New variable.
36628 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36629 (catan_test_data): New variable.
36630 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36631 (catanh_test_data): New variable.
36632 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36633 (ccos_test_data): New variable.
36634 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36635 (ccosh_test_data): New variable.
36636 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36637 (cexp_test_data): New variable.
36638 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36639 (clog_test_data): New variable.
36640 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36641 (clog10_test_data): New variable.
36642 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36643 (conj_test_data): New variable.
36644 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36645 (cproj_test_data): New variable.
36646 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36647 (csin_test_data): New variable.
36648 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36649 (csinh_test_data): New variable.
36650 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36651 (csqrt_test_data): New variable.
36652 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36653 (ctan_test_data): New variable.
36654 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36655 (ctan_tonearest_test_data): New variable.
36656 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36657 (ctan_towardzero_test_data): New variable.
36658 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36659 (ctan_downward_test_data): New variable.
36660 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36661 (ctan_upward_test_data): New variable.
36662 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36663 (ctanh_test_data): New variable.
36664 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36665 (ctanh_tonearest_test_data): New variable.
36666 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36667 (ctanh_towardzero_test_data): New variable.
36668 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36669 (ctanh_downward_test_data): New variable.
36670 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36671 (ctanh_upward_test_data): New variable.
36672 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36673 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36674 of BUILD_COMPLEX.
36675
36676 * math/libm-test.inc (struct test_ff_f_data): New type.
36677 (struct test_ff_f_data_nexttoward): Likewise.
36678 (RUN_TEST_LOOP_2_f): New macro.
36679 (RUN_TEST_LOOP_ff_f): Likewise.
36680 (atan2_test_data): New variable.
36681 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36682 (copysign_test_data): New variable.
36683 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36684 (fdim_test_data): New variable.
36685 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36686 (fmax_test_data): New variable.
36687 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36688 (fmin_test_data): New variable.
36689 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36690 (fmod_test_data): New variable.
36691 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36692 (hypot_test_data): New variable.
36693 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36694 (nextafter_test_data): New variable.
36695 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36696 (nexttoward_test_data): New variable.
36697 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36698 (pow_test_data): New variable.
36699 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36700 (pow_tonearest_test_data): New variable.
36701 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36702 (pow_towardzero_test_data): New variable.
36703 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36704 (pow_downward_test_data): New variable.
36705 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36706 (pow_upward_test_data): New variable.
36707 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36708 (remainder_test_data): New variable.
36709 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36710 (scalb_test_data): New variable.
36711 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36712 * sysdeps/i386/fpu/libm-test-ulps: Update.
36713
36714 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36715
36716 * math/libm-test.inc (fma_test): Use max_value instead of local
36717 variable fltmax.
36718 (nextafter_test): Likewise.
36719
36720 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36721 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36722 (acos_downward_test_data): New variable.
36723 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36724 (acos_upward_test_data): New variable.
36725 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36726 (acosh_test_data): New variable.
36727 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36728 (asin_test_data): New variable.
36729 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36730 (asin_tonearest_test_data): New variable.
36731 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36732 (asin_towardzero_test_data): New variable.
36733 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36734 (asin_downward_test_data): New variable.
36735 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36736 (asin_upward_test_data): New variable.
36737 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36738 (asinh_test_data): New variable.
36739 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36740 (atan_test_data): New variable.
36741 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36742 (atanh_test_data): New variable.
36743 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36744 (cbrt_test_data): New variable.
36745 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36746 (ceil_test_data): New variable.
36747 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36748 (cos_test_data): New variable.
36749 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36750 (cos_tonearest_test_data): New variable.
36751 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36752 (cos_towardzero_test_data): New variable.
36753 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36754 (cos_downward_test_data): New variable.
36755 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36756 (cos_upward_test_data): New variable.
36757 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36758 (cosh_test_data): New variable.
36759 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36760 (cosh_tonearest_test_data): New variable.
36761 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36762 (cosh_towardzero_test_data): New variable.
36763 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36764 (cosh_downward_test_data): New variable.
36765 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36766 (cosh_upward_test_data): New variable.
36767 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36768 (erf_test_data): New variable.
36769 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36770 (erfc_test_data): New variable.
36771 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36772 (exp_test_data): New variable.
36773 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36774 (exp_tonearest_test_data): New variable.
36775 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36776 (exp_towardzero_test_data): New variable.
36777 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36778 (exp_downward_test_data): New variable.
36779 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36780 (exp_upward_test_data): New variable.
36781 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36782 (exp10_test_data): New variable.
36783 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36784 (exp2_test_data): New variable.
36785 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36786 (expm1_test_data): New variable.
36787 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36788 (fabs_test_data): New variable.
36789 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36790 (floor_test_data): New variable.
36791 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36792 (j0_test_data): New variable.
36793 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36794 (j1_test_data): New variable.
36795 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36796 (log_test_data): New variable.
36797 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36798 (log10_test_data): New variable.
36799 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36800 (log1p_test_data): New variable.
36801 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36802 (log2_test_data): New variable.
36803 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36804 (logb_test_data): New variable.
36805 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36806 (logb_downward_test_data): New variable.
36807 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36808 (nearbyint_test_data): New variable.
36809 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36810 (rint_test_data): New variable.
36811 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36812 (rint_tonearest_test_data): New variable.
36813 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36814 (rint_towardzero_test_data): New variable.
36815 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36816 (rint_downward_test_data): New variable.
36817 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36818 (rint_upward_test_data): New variable.
36819 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36820 (round_test_data): New variable.
36821 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36822 (sin_test_data): New variable.
36823 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36824 (sin_tonearest_test_data): New variable.
36825 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36826 (sin_towardzero_test_data): New variable.
36827 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36828 (sin_downward_test_data): New variable.
36829 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36830 (sin_upward_test_data): New variable.
36831 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36832 (sinh_test_data): New variable.
36833 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36834 (sinh_tonearest_test_data): New variable.
36835 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36836 (sinh_towardzero_test_data): New variable.
36837 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36838 (sinh_downward_test_data): New variable.
36839 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36840 (sinh_upward_test_data): New variable.
36841 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36842 (sqrt_test_data): New variable.
36843 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36844 (tan_test_data): New variable.
36845 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36846 (tan_tonearest_test_data): New variable.
36847 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36848 (tan_towardzero_test_data): New variable.
36849 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36850 (tan_downward_test_data): New variable.
36851 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36852 (tan_upward_test_data): New variable.
36853 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36854 (tanh_test_data): New variable.
36855 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36856 (tgamma_test_data): New variable.
36857 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36858 (trunc_test_data): New variable.
36859 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36860 (y0_test_data): New variable.
36861 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36862 (y1_test_data): New variable.
36863 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36864 (significand_test_data): New variable.
36865 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36866
36867 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36868
36869 [BZ #12387]
36870 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36871
36872 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36873
36874 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36875
36876 2013-05-10 Andreas Jaeger <aj@suse.de>
36877
36878 [BZ #15448]
36879 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36880 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36881
36882 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36883
36884 * math/gen-libm-test.pl (adjust_arg): New function.
36885 (special_functions): Handle generating output in both functions
36886 and arrays.
36887 (parse_args): Likewise.
36888 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36889 $in_func argument to parse_args.
36890 * math/libm-test.inc (struct test_f_f_data): New type.
36891 (IF_ROUND_INIT_): New macro.
36892 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36893 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36894 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36895 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36896 (ROUND_RESTORE_): Likewise.
36897 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36898 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36899 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36900 (ROUND_RESTORE_FE_UPWARD): Likewise.
36901 (RUN_TEST_LOOP_f_f): New macro.
36902 (acos_test_data): New variable.
36903 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36904 (acos_tonearest_test_data): New variable.
36905 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36906
36907 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36908
36909 * benchtests/bench-skeleton.c (startup): Fix coding style.
36910
36911 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36912
36913 [BZ #6809]
36914 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36915 negative infinity argument.
36916 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36917 negative infinity argument.
36918 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36919 negative infinity argument.
36920 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36921 domain errors.
36922
36923 2013-05-10 Florian Weimer <fweimer@redhat.com>
36924
36925 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36926 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36927 * iconv/iconv_prog.c (main): Likewise.
36928 * locale/programs/charmap-dir.c (charmap_readdir)
36929 (fopen_uncompressed): Likewise.
36930 * locale/programs/locfile.c (siblings_uncached)
36931 (write_locale_data): Use lstat64 instead of lstat.
36932 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36933 stat.
36934
36935 2013-05-10 Andreas Jaeger <aj@suse.de>
36936
36937 [BZ #15395]
36938 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36939 localization.
36940 Include <locale.h>.
36941
36942 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36943
36944 * elf/dl-close.c (_dl_close_worker): Add comments.
36945
36946 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36947
36948 [BZ #15359]
36949 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36950 high part of pi/2.
36951 (__ieee754_rem_pio2l): Update comments.
36952
36953 [BZ #15429]
36954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36955 high part of pi/2.
36956 (__ieee754_rem_pio2l): Update comments.
36957
36958 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36959 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36960
36961 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36962 M_PI_4l.
36963
36964 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36965 (M_PI_34_LOG10El): Likewise.
36966 (M_PI2_LOG10El): Likewise.
36967 (M_PI4_LOG10El): Likewise.
36968 (M_PI_LOG10El): Likewise.
36969
36970 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36971
36972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36973
36974 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36975
36976 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36977 (MINUS_ZERO_INIT): Likewise.
36978 (PLUS_INFTY_INIT): Likewise.
36979 (MINUS_INFTY_INIT): Likewise.
36980 (QNAN_VALUE_INIT): Likewise.
36981 (MAX_VALUE_INIT): Likewise.
36982 (MIN_VALUE_INIT): Likewise.
36983 (MIN_SUBNORM_VALUE_INIT): Likewise.
36984 (plus_zero): Initialize with PLUS_ZERO_INIT.
36985 (minus_zero): Initialize with MINUS_ZERO_INIT.
36986 (plus_infty): Initialize with PLUS_INFTY_INIT.
36987 (minus_infty): Initialize with MINUS_INFTY_INIT.
36988 (qnan_value): Initialize with QNAN_VALUE_INIT.
36989 (max_value): Initialize with MAX_VALUE_INIT.
36990 (min_value): Initialize with MIN_VALUE_INIT.
36991 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36992
36993 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36994 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36995 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36996 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36997
36998 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36999 (RUN_TEST_2_f): Likewise.
37000 (RUN_TEST_ff_f): Likewise.
37001 (RUN_TEST_fi_f): Likewise.
37002 (RUN_TEST_fl_f): Likewise.
37003 (RUN_TEST_fff_f): Likewise.
37004 (RUN_TEST_c_f): Likewise.
37005 (RUN_TEST_f_f1): Likewise.
37006 (RUN_TEST_fF_f1): Likewise.
37007 (RUN_TEST_fI_f1): Likewise.
37008 (RUN_TEST_ffI_f1): Likewise.
37009 (RUN_TEST_c_c): Likewise.
37010 (RUN_TEST_cc_c): Likewise.
37011 (RUN_TEST_f_i): Likewise.
37012 (RUN_TEST_f_i_tg): Likewise.
37013 (RUN_TEST_ff_i_tg): Likewise.
37014 (RUN_TEST_f_b): Likewise.
37015 (RUN_TEST_f_b_tg): Likewise.
37016 (RUN_TEST_f_l): Likewise.
37017 (RUN_TEST_f_L): Likewise.
37018 (RUN_TEST_sincos): Likewise.
37019 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37020 whether to show exceptions. Do not include ");\n" in return
37021 value.
37022 (special_functions): Output call to RUN_TEST_sincos instead of
37023 check_float calls. Update calls to new_test.
37024 (parse_args): Output call to single RUN_TEST_* macro instead of
37025 check_* calls and other assignments. Update calls to new_test.
37026
37027 [BZ #2546]
37028 [BZ #2560]
37029 [BZ #5159]
37030 [BZ #15426]
37031 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37032 input to result for tgamma overflow.
37033 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37034 (gamma_coeff): New variable.
37035 (NCOEFF): New macro.
37036 (gamma_positive): New function.
37037 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37038 underflow here. Use gamma_positive instead of exp (lgamma) for
37039 other arguments.
37040 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37041 (gamma_coeff): New variable.
37042 (NCOEFF): New macro.
37043 (gammaf_positive): New function.
37044 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37045 underflow here. Use gamma_positive instead of exp (lgamma) for
37046 other arguments.
37047 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37048 (gamma_coeff): New variable.
37049 (NCOEFF): New macro.
37050 (gammal_positive): New function.
37051 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37052 underflow here. Use gamma_positive instead of exp (lgamma) for
37053 other arguments.
37054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37055 (gamma_coeff): New variable.
37056 (NCOEFF): New macro.
37057 (gammal_positive): New function.
37058 (__ieee754_gammal_r): Handle positive infinity, overflow and
37059 underflow here. Handle NaN the same as positive infinity. Remove
37060 check x < 0xffffffff for negative integers. Use gamma_positive
37061 instead of exp (lgamma) for other arguments.
37062 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37063 (gamma_coeff): New variable.
37064 (NCOEFF): New macro.
37065 (gammal_positive): New function.
37066 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37067 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37068 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37071 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37072 * sysdeps/generic/math_private.h (__gamma_productf): New
37073 prototype.
37074 (__gamma_product): Likewise.
37075 (__gamma_productl): Likewise.
37076 * math/Makefile (libm-calls): Add gamma_product.
37077 * math/libm-test.inc (tgamma_test): Add more tests.
37078 * sysdeps/i386/fpu/libm-test-ulps: Update.
37079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37080
37081 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37082
37083 * benchtests/bench-skeleton.c (main): Preheat CPU.
37084
37085 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37086
37087 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37088
37089 2013-05-07 Roland McGrath <roland@hack.frob.com>
37090
37091 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37092 and _dl_skip_args_internal.
37093
37094 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37095
37096 * manual/message.texi (Message Translation): Talk about users.
37097 Message to key mapping impacts design.
37098
37099 2013-05-06 Roland McGrath <roland@hack.frob.com>
37100
37101 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37102
37103 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37104
37105 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37106 * sysdeps/wordsize-64/glob64.c: ... here.
37107
37108 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37109 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37110 New macros.
37111
37112 * debug/getlogin_r_chk.c: Moved to ...
37113 * login/getlogin_r_chk.c: ... here.
37114 * debug/Makefile (routines): Move getlogin_r_chk to ...
37115 * login/Makefile (routines): ... here.
37116 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37117 * login/Versions (libc: GLIBC_2.4): ... here.
37118
37119 * io/poll.c (__poll): Renamed from poll.
37120 Add libc_hidden_def.
37121 (poll): Define as weak alias.
37122
37123 * debug/ptsname_r_chk.c: Moved to ...
37124 * login/ptsname_r_chk.c: ... here.
37125 * debug/Makefile (routines): Move ptsname_r_chk to ...
37126 * login/Makefile (routines): ... here.
37127 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37128 * login/Versions (libc: GLIBC_2.4): ... here.
37129
37130 * posix/getlogin.c: Moved to ...
37131 * login/getlogin.c: ... here.
37132 * posix/getlogin_r.c: Moved to ...
37133 * login/getlogin_r.c: ... here.
37134 * posix/getlogin_r.c: Moved to ...
37135 * login/getlogin_r.c: ... here.
37136 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37137 * login/Makefile (routines): ... here.
37138 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37139 * login/Versions (libc: GLIBC_2.0): ... here.
37140
37141 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37142 (setrlimit): Define as weak alias.
37143
37144 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37145 Call __ names for open, ftruncate, and close.
37146 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37147 (truncate): Define as weak alias.
37148
37149 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37150
37151 * math/gen-libm-test.pl (parse_args): Initialize x before each
37152 test of frexp, modf and remquo.
37153
37154 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37155 test signgam value.
37156
37157 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37158
37159 [BZ #15418]
37160 [BZ #15419]
37161 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37162 internal tests.
37163 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37164
37165 2013-05-06 Roland McGrath <roland@hack.frob.com>
37166
37167 * elf/dl-writev.h: New file.
37168 * elf/dl-misc.c: Include it.
37169 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37170 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37171
37172 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37173
37174 * math/libm-test.inc (noXFails): Remove variable.
37175 (noXPasses): Likewise.
37176 (BUILD_COMPLEX_INT): Remove macro.
37177 (print_screen): Remove xfail argument.
37178 (print_screen_max_error): Likewise.
37179 (update_stats): Likewise.
37180 (print_max_error): Likewise. Update calls to other affected
37181 functions.
37182 (print_complex_max_error): Likewise.
37183 (test_single_exception): Update calls to print_screen.
37184 (test_single_errno): Likewise.
37185 (check_float_internal): Remove xfail argument. Update calls to
37186 other affected functions.
37187 (check_float): Likewise.
37188 (check_complex): Likewise.
37189 (check_int): Likewise.
37190 (check_long): Likewise.
37191 (check_bool): Likewise.
37192 (check_longlong): Likewise.
37193 (main): Don't print noXFails and noXPasses.
37194 * math/gen-libm-test.pl (top level): Don't mention expected
37195 failure handling in comment.
37196 (new_test): Don't handle expected failures.
37197 (parse_args): Don't mention expected failure handling in comment.
37198 (generate_testfile): Don't handle expected failures.
37199 (parse_ulps): Likewise.
37200 (print_ulps_file): Likewise.
37201 (get_failure): Remove function.
37202 (output_test): Don't handle expected failures.
37203 * make/README.libm-test: Don't mention expected failure handling.
37204
37205 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37206 (minus_zero): Likewise.
37207 (plus_infty): Likewise.
37208 (minus_infty): Likewise.
37209 (qnan_value): Likewise.
37210 (max_value): Likewise.
37211 (min_value): Likewise.
37212 (min_subnorm_value): Likewise.
37213 (initialize): Do not initialize those variables dynamically.
37214
37215 2013-05-03 Roland McGrath <roland@hack.frob.com>
37216
37217 * io/open.c (__open_2): Moved to ...
37218 * io/open_2.c: ... this new file.
37219 * io/open64.c (__open64_2): Moved to ...
37220 * io/open64_2.c: ... this new file.
37221 * io/openat.c (__openat_2): Moved to ...
37222 * io/openat_2.c: ... this new file.
37223 * io/openat64.c (__openat64_2): Moved to ...
37224 * io/openat64_2.c: ... this new file.
37225 * io/Makefile (routines): Add them.
37226 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37227 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37228 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37229 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37230 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37231 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37232 (__openat64): Add hidden_ver.
37233 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37234 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37235
37236 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37237 Separately conditionalize setting of GLRO(dl_sysinfo) so
37238 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37239 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37240
37241 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37242
37243 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37244 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37245 definition.
37246 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37247 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37248 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37249 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37250 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37251
37252 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37253
37254 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37255 test signgam value.
37256
37257 * math/libm-test.inc (hypot_test): Do not use
37258 IGNORE_ZERO_INF_SIGN.
37259
37260 2013-05-03 Andreas Jaeger <aj@suse.de>
37261
37262 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37263 Linux 3.9.
37264 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37265 (PF_MAX): Adjust for VSOCK change.
37266
37267 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37268
37269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37270
37271 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37272
37273 [BZ #15264]
37274 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37275 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37276 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37277
37278 2013-05-02 David S. Miller <davem@davemloft.net>
37279
37280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37281
37282 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37283
37284 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37285
37286 2013-05-01 Roland McGrath <roland@hack.frob.com>
37287
37288 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37289
37290 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37291
37292 [BZ #14952]
37293 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37294 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37295 Use __attribute__ ((__gnu_inline__)).
37296 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37297 Don't use __attribute__ ((__gnu_inline__)).
37298
37299 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37300
37301 [BZ #15423]
37302 * math/s_catan.c (__catan): Handle small real or imaginary part of
37303 input specially to avoid spurious underflow.
37304 * math/s_catanf.c (__catanf): Likewise.
37305 * math/s_catanh.c (__catanh): Likewise.
37306 * math/s_catanhf.c (__catanhf): Likewise.
37307 * math/s_catanhl.c (__catanhl): Likewise.
37308 * math/s_catanl.c (__catanl): Likewise.
37309 * math/libm-test.inc (catan_test): Add more tests.
37310 (catanh_test): Likewise.
37311 * sysdeps/i386/fpu/libm-test-ulps: Update.
37312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37313
37314 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37315
37316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37317
37318 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37319
37320 [BZ #15416]
37321 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37322 accurately for denominator in atan2.
37323 * math/s_catanf.c (__catanf): Likewise.
37324 * math/s_catanh.c (__catanh): Likewise.
37325 * math/s_catanhf.c (__catanhf): Likewise.
37326 * math/s_catanhl.c (__catanhl): Likewise.
37327 * math/s_catanl.c (__catanl): Likewise.
37328 * math/libm-test.inc (catan_test): Add more tests.
37329 (catanh_test): Likewise.
37330 * sysdeps/i386/fpu/libm-test-ulps: Update.
37331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37332
37333 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37334
37335 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37336
37337 * benchtests/Makefile (bench): Remove slow benchmarks.
37338 * benchtests/atan-inputs: Add slow benchmark inputs.
37339 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37340 (BENCH_FUNC): Accept variant offset.
37341 (VARIANT): Define.
37342 * benchtests/bench-skeleton.c (main): Run benchmark for each
37343 variant.
37344 * benchtests/cos-inputs: Add slow benchmark inputs.
37345 * benchtests/exp-inputs: Likewise.
37346 * benchtests/pow-inputs: Likewise.
37347 * benchtests/sin-inputs: Likewise.
37348 * benchtests/slowatan-inputs: Remove.
37349 * benchtests/slowatan.c: Remove.
37350 * benchtests/slowcos-inputs: Remove.
37351 * benchtests/slowcos.c: Remove.
37352 * benchtests/slowexp-inputs: Remove.
37353 * benchtests/slowexp.c: Remove.
37354 * benchtests/slowpow-inputs: Remove.
37355 * benchtests/slowpow.c: Remove.
37356 * benchtests/slowsin-inputs: Remove.
37357 * benchtests/slowsin.c: Remove.
37358 * benchtests/slowtan-inputs: Remove.
37359 * benchtests/slowtan.c: Remove.
37360 * benchtests/tan-inputs: Add slow benchmark inputs.
37361 * scripts/bench.pl: Parse comments and directives.
37362
37363 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37364 in CPPFLAGS.
37365 ($(objpfx)bench-%.c): Remove *-ITER.
37366 * benchtests/bench-modf.c: Remove definition of ITER.
37367 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37368 (main): Loop for DURATION seconds instead of fixed number of
37369 iterations.
37370 * scripts/bench.pl: Don't expect iterations in parameters.
37371
37372 2013-04-29 Roland McGrath <roland@hack.frob.com>
37373
37374 * io/fchdir.c (__fchdir): Renamed from fchdir.
37375 (fchdir): Define as weak alias.
37376
37377 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37378
37379 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37380 (ERRNO_EDOM): Likewise.
37381 (ERRNO_ERANGE): Likewise.
37382 (noErrnoTests): New variable.
37383 (init_max_error): Set errno to 0.
37384 (test_single_errno): New function.
37385 (test_errno): Likewise.
37386 (check_float_internal): Call test_errno. Set errno to 0.
37387 (check_complex): Refer to errno tests in comment.
37388 (check_int): Call test_errno. Set errno to 0.
37389 (check_long): Likewise.
37390 (check_bool): Likewise.
37391 (check_longlong): Likewise.
37392 (cos_test): Use ERRNO_* flags for errno tests instead of
37393 check_int.
37394 (expm1_test): Likewise.
37395 (fmod_test): Likewise.
37396 (ilogb_test): Likewise.
37397 (lgamma_test): Likewise.
37398 (pow_test): Likewise.
37399 (remainder_test): Likewise.
37400 (sin_test): Likewise.
37401 (tan_test): Likewise.
37402 (yn_test): Likewise.
37403 (initialize): Set errno to 0.
37404 (main): Print number of errno tests.
37405 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37406
37407 2013-04-29 Andreas Jaeger <aj@suse.de>
37408
37409 [BZ #15084]
37410 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37411 and RES_USEVC.
37412
37413 [BZ #15085]
37414 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37415 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37416 unimplemented.
37417
37418 [BZ #15380]
37419 * stdlib/random.c (__initstate): Return NULL if
37420 __initstate fails.
37421
37422 [BZ #15086]
37423 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37424 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37425 RES_SNGLKUPREOP.
37426
37427 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37428
37429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37430
37431 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37432
37433 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37434 of individual tests.
37435 (casin_test): Likewise.
37436 (casinh_test): Likewise.
37437
37438 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37439
37440 [BZ #15409]
37441 * math/s_catan.c (__catan): Handle arguments with large real or
37442 imaginary part separately without squaring.
37443 * math/s_catanf.c (__catanf): Likewise.
37444 * math/s_catanh.c (__catanh): Likewise.
37445 * math/s_catanhf.c (__catanhf): Likewise.
37446 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37447 and redefine.
37448 (__catanhl): Handle arguments with large real or imaginary part
37449 separately without squaring.
37450 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37451 and redefine.
37452 (__catanl): Handle arguments with large real or imaginary part
37453 separately without squaring.
37454 * math/libm-test.inc (catan_test): Add more tests.
37455 (catanh_test): Likewise.
37456 * sysdeps/i386/fpu/libm-test-ulps: Update.
37457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37458
37459 2013-04-27 Andreas Jaeger <aj@suse.de>
37460
37461 [BZ #15007]
37462 * stdlib/stdlib.h: Update guards for qecvt.
37463 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37464 <stdlib.h>.
37465
37466 2013-04-27 Allan McRae <allan@archlinux.org>
37467
37468 * sysdeps/i386/fpu/libm-test-ulps: Update.
37469
37470 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37471
37472 [BZ #15406]
37473 * math/s_catan.c: Include <float.h>.
37474 (__catan): Ensure underflow exception occurs for underflowed
37475 result.
37476 * math/s_catanf.c: Include <float.h>.
37477 (__catanf): Ensure underflow exception occurs for underflowed
37478 result.
37479 * math/s_catanh.c: Include <float.h>.
37480 (__catanh): Ensure underflow exception occurs for underflowed
37481 result.
37482 * math/s_catanhf.c: Include <float.h>.
37483 (__catanhf): Ensure underflow exception occurs for underflowed
37484 result.
37485 * math/s_catanhl.c: Include <float.h>.
37486 (__catanhl): Ensure underflow exception occurs for underflowed
37487 result.
37488 * math/s_catanl.c: Include <float.h>.
37489 (__catanl): Ensure underflow exception occurs for underflowed
37490 result.
37491 * math/libm-test.inc (catan_test): Add more tests.
37492 (catanh_test): Likewise.
37493
37494 [BZ #15405]
37495 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37496 underflowed result.
37497 * math/s_ccoshf.c (__ccoshf): Likewise.
37498 * math/s_ccoshl.c (__ccoshl): Likewise.
37499 * math/s_csin.c (__csin): Likewise.
37500 * math/s_csinf.c (__csinf): Likewise.
37501 * math/s_csinh.c (__csinh): Likewise.
37502 * math/s_csinhf.c (__csinhf): Likewise.
37503 * math/s_csinhl.c (__csinhl): Likewise.
37504 * math/s_csinl.c (__csinl): Likewise.
37505 * math/libm-test.inc (ccos_test): Add more tests.
37506 (ccosh_test): Likewise.
37507 (csin_test): Likewise.
37508 (csinh_test): Likewise.
37509
37510 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37511
37512 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37513 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37514 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37515 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37516 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37517 powerpc/power5+/fpu folders.
37518 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37519
37520
37521 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37522
37523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37524
37525 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37526
37527 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37528 additions to variable.
37529 [$(config-machine) = x86_64] (modules-names): Likewise.
37530 ($(objpfx)tst-audit3): Remove dependency.
37531 ($(objpfx)tst-audit3.out): Likewise.
37532 ($(objpfx)tst-audit4): Likewise.
37533 ($(objpfx)tst-audit4.out): Likewise.
37534 ($(objpfx)tst-audit5): Likewise.
37535 ($(objpfx)tst-audit5.out): Likewise.
37536 ($(objpfx)tst-audit6): Likewise.
37537 ($(objpfx)tst-audit6.out): Likewise.
37538 ($(objpfx)tst-audit7): Likewise.
37539 ($(objpfx)tst-audit7.out): Likewise.
37540 (tst-audit3-ENV): Remove variable.
37541 (tst-audit4-ENV): Likewise.
37542 (tst-audit5-ENV): Likewise.
37543 (tst-audit6-ENV): Likewise.
37544 (tst-audit7-ENV): Likewise.
37545 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37546 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37547 addition to variable.
37548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37551 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37552 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37553 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37554 tst-audit3, tst-audit4 and tst-audit5.
37555 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37556 tst-audit6 and tst-audit7.
37557 [$(subdir) = elf] (modules-names): Add audit modules for those
37558 tests.
37559 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37560 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37561 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37562 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37563 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37564 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37565 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37566 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37567 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37568 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37569 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37570 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37571 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37572 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37573 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37574 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37575 Likewise.
37576 [$(subdir) = elf && $(config-cflags-avx) = yes]
37577 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37578 [$(subdir) = elf && $(config-cflags-avx) = yes]
37579 (CFLAGS-tst-auditmod4a.c): Likewise.
37580 [$(subdir) = elf && $(config-cflags-avx) = yes]
37581 (CFLAGS-tst-auditmod4b.c): Likewise.
37582 [$(subdir) = elf && $(config-cflags-avx) = yes]
37583 (CFLAGS-tst-auditmod6b.c): Likewise.
37584 [$(subdir) = elf && $(config-cflags-avx) = yes]
37585 (CFLAGS-tst-auditmod6c.c): Likewise.
37586 [$(subdir) = elf && $(config-cflags-avx) = yes]
37587 (CFLAGS-tst-auditmod7b.c): Likewise.
37588 * elf/tst-audit3.c: Move to ...
37589 * sysdeps/x86_64/tst-audit3.c: ... here.
37590 * elf/tst-audit4.c: Move to ...
37591 * sysdeps/x86_64/tst-audit4.c: ... here.
37592 * elf/tst-audit5.c: Move to ...
37593 * sysdeps/x86_64/tst-audit5.c: ... here.
37594 * elf/tst-audit6.c: Move to ...
37595 * sysdeps/x86_64/tst-audit6.c: ... here.
37596 * elf/tst-audit7.c: Move to ...
37597 * sysdeps/x86_64/tst-audit7.c: ... here.
37598 * elf/tst-auditmod3a.c: Move to ...
37599 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37600 * elf/tst-auditmod3b.c: Move to ...
37601 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37602 * elf/tst-auditmod4a.c: Move to ...
37603 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37604 * elf/tst-auditmod4b.c: Move to ...
37605 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37606 * elf/tst-auditmod5a.c: Move to ...
37607 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37608 * elf/tst-auditmod5b.c: Move to ...
37609 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37610 * elf/tst-auditmod6a.c: Move to ...
37611 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37612 * elf/tst-auditmod6b.c: Move to ...
37613 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37614 * elf/tst-auditmod6c.c: Move to ...
37615 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37616 * elf/tst-auditmod7a.c: Move to ...
37617 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37618 * elf/tst-auditmod7b.c: Move to ...
37619 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37620
37621 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37622
37623 [BZ #15366]
37624 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37625 define unconditionally.
37626 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37627 define unconditionally.
37628 (INT8_C, INT16_C, etc.): Likewise.
37629
37630 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37631
37632 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37633 __ehdr_start with hidden visibility.
37634
37635 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37636
37637 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37638
37639 * math/libm-test.inc (cos_test): Use accurate hex constants.
37640 (sincost_test): Likewise.
37641
37642 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37643
37644 * math/libm-test.inc (catan_test): Add more tests.
37645 (catanh_test): Likewise.
37646
37647 * math/s_catanf.c (__catanf): Use suffixed floating-point
37648 constants.
37649 * math/s_catanhf.c (__catanhf): Likewise.
37650 * math/s_catanhl.c (__catanhl): Likewise.
37651 * math/s_catanl.c (__catanl): Likewise.
37652
37653 [BZ #15394]
37654 * math/s_catan.c (__catan): Calculate imaginary part of result
37655 with log1p not log unless computing log of number close to 0.
37656 * math/s_catanf.c (__catanf): Likewise.
37657 * math/s_catanl.c (__catanl): Likewise.
37658 * math/s_catanh.c (__catanh): Calculate real part of result with
37659 log1p not log unless computing log of number close to 0.
37660 * math/s_catanhf.c (__catanhf): Likewise.
37661 * math/s_catanhl.c (__catanhl): Likewise.
37662 * math/libm-test.inc (catan_test): Add more tests.
37663 (catanh_test): Likewise.
37664 * sysdeps/i386/fpu/libm-test-ulps: Update.
37665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37666
37667 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37668
37669 * benchtests/Makefile: Mention files in which fast and slow
37670 paths of math functions are implemented.
37671
37672 2013-04-23 Roland McGrath <roland@hack.frob.com>
37673
37674 * sysdeps/posix/timespec_get.c: New file.
37675
37676 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37677
37678 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37679 POWER.
37680 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37681 for POWER.
37682 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37683 powerpc/power5/fpu folders.
37684 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37685 * benchtests/Makefile: Add modf testcase.
37686 * benchtests/bench-modf.c: New file: Benchmark test for mo
37687
37688 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37689
37690 [BZ #14888]
37691 * time/Makefile (tests): Add tst-strptime-whitespace.
37692 * time/strptime_l.c (get_number): Use ISSPACE.
37693 (__strptime_internal): Likewise.
37694 * time/tst-strptime-whitespace.c: New test case.
37695
37696 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37697
37698 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37699 member.
37700 (_nss_files_init): Set it here.
37701
37702 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37703
37704 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37705 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37706 unsigned.
37707
37708 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37709
37710 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37711
37712 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37713
37714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37715 size just once.
37716
37717 2013-04-21 David S. Miller <davem@davemloft.net>
37718
37719 * po/ru.po: Update Russion translation from translation project.
37720
37721 2013-04-17 Adam Conrad <adconrad@0c3.net>
37722
37723 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37724 and setfsgid.
37725
37726 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37727
37728 * configure.in: Remove i386 configure warning. Remove i386 case.
37729 * configure: Regenerate.
37730 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37731 Add example to error message.
37732 * sysdeps/i386/configure: Regenerate.
37733
37734 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37735
37736 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37737 slowtan.
37738 * benchtests/cos-inputs: New file.
37739 * benchtests/slowcos-inputs: New file.
37740 * benchtests/slowcos.c: New file.
37741 * benchtests/slowtan-inputs: New file.
37742 * benchtests/slowtan.c: New file.
37743 * benchtests/tan-inputs: New file.
37744
37745 2013-04-16 Roland McGrath <roland@hack.frob.com>
37746
37747 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37748 considered kosher.
37749
37750 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37751
37752 * benchtests/Makefile: Include cppflags-iterator.mk to add
37753 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37754
37755 * Makefile.in (bench-clean): New target.
37756 * benchtests/Makefile (bench-clean): Likewise.
37757
37758 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37759
37760 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37761
37762 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37763
37764 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37765
37766 2013-04-15 Andreas Schwab <schwab@suse.de>
37767
37768 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37770 * nscd/pwdcache.c (cache_addpw): Likewise.
37771 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37772 more than recsize.
37773
37774 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37775
37776 * benchtests/Makefile (bench): Write all output to
37777 bench-out.tmp together.
37778
37779 2013-04-15 Andreas Schwab <schwab@suse.de>
37780
37781 * nscd/nscd.c (main): Don't fork again after closing files.
37782
37783 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37784
37785 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37786
37787 * benchtests/Rules (bench-deps): Collect dependencies into a
37788 single variable. Add Makefile to dependencies.
37789 ($(objpfx)bench-%.c): Depend on bench-deps.
37790
37791 2013-04-12 Roland McGrath <roland@hack.frob.com>
37792 Xavier Roche <roche+kml2@exalead.com>
37793
37794 [BZ #15361]
37795 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37796 just that it's a file descriptor.
37797 * manual/llio.texi (Synchronizing AIO Operations): Update description
37798 for EBADF error from aio_fsync.
37799
37800 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37801
37802 * Rules (bench): Move target definition...
37803 * benchtests/Makefile: ... here.
37804
37805 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37806
37807 * math/libm-test.inc (cos_test): Fix PI/2 test.
37808 (sincos_test): Likewise.
37809 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37810 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37811
37812 2013-04-11 Andreas Schwab <schwab@suse.de>
37813
37814 [BZ #13988]
37815 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37816 accept exponent character only when digits were seen.
37817 * stdio-common/Makefile (tests): Add bug26.
37818 * stdio-common/bug26.c: New file.
37819
37820 [BZ #14293]
37821 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37822 non-freeable.
37823
37824 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37825
37826 * Makeconfig (rtld-prefix): Define built linker prefix.
37827 * Rules (run-bench): Use it.
37828 * math/Makefile (run-regen-ulps): Likewise.
37829
37830 * Rules (bench): Remove eval.
37831
37832 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37833 Roland McGrath <roland@hack.frob.com>
37834 Ondrej Bilka <neleai@seznam.cz>
37835
37836 [BZ #15346]
37837 * time/getdate.c: Include ctype.h and alloca.h.
37838 (__getdate_r): Trim leading and trailing spaces of input.
37839 * time/tst-getdate.c (tests): Add tests with leading and
37840 trailing spaces.
37841
37842 2013-04-08 Roland McGrath <roland@hack.frob.com>
37843
37844 [BZ #14280]
37845 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37846 when computing value.
37847
37848 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37849
37850 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37851 Use testrun.sh to run libm tests.
37852
37853 [BZ #15309]
37854 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37855
37856 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37857
37858 [BZ #15264]
37859 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37860
37861 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37862
37863 * Makefile.in (regen-ulps): New target.
37864 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37865 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37866 [ifneq (no,$(PERL)] (regen-ulps): New target.
37867 [ifeq (no,$(PERL)] (regen-ulps): New target.
37868 * math/libm-test.inc (ulps_file_name): Define.
37869 (output_dir): New variable.
37870 (options): Add "output-dir" option.
37871 (parse_opt): Handle 'o' case.
37872 (main): If output_dir is non-NULL use it as a prefix
37873 otherwise use "".
37874 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37875
37876 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37877
37878 [BZ #10060, #10062]
37879 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37880 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37881 fail configure if __sync_val_compare_and_swap is not inlined.
37882 * sysdeps/i386/configure: Regenerate.
37883 * configure.in: Build for i686 when configured for i386.
37884 * configure: Regenerate.
37885 * README: Remove i386 reference.
37886
37887 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37888
37889 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37891
37892 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37893
37894 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37895 (lmsnanval): New variables.
37896 (F): Add conversion tests.
37897 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37898 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37899
37900 * stdio-common/tstdiomisc.c (F): Properly collect individual
37901 tests' results.
37902
37903 [BZ #14686, #15336]
37904 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37905 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37906 Instead, use input NaN values or generate a qNaN by arithmetic
37907 operation. Also fix bugs to comply with the standard.
37908 * math/libm-test.inc (remainder_test): Add more tests.
37909
37910 [BZ #15335, #15342]
37911 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37913 input NaN values or generate a qNaN by arithmetic operation.
37914
37915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37916 unreachable code.
37917
37918 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37919 definitions.
37920
37921 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37922
37923 [BZ #14478]
37924 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37925 underflowed result.
37926 * math/s_cexpf.c (__cexpf): Likewise.
37927 * math/s_cexpl.c (__cexpl): Likewise.
37928 * math/libm-test.inc (cexp_test): Add more tests.
37929
37930 2013-04-03 Andreas Schwab <schwab@suse.de>
37931
37932 [BZ #15330]
37933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37934 order arrays from heap if bigger than alloca cutoff.
37935
37936 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37937
37938 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37939 (SNAN_TESTS_double): Refer to GCC PR56831.
37940 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37941 GCC PR56828.
37942
37943 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37944
37945 * Rules (bench): Move bench.out after the run is complete.
37946
37947 * Rules (bench): Echo currently running benchmark.
37948
37949 * benchtests/Makefile (bench): Add atan and slowatan.
37950 * benchtests/atan-inputs: New file.
37951 * benchtests/slowatan-inputs: New file.
37952 * benchtests/slowatan.c: New file.
37953
37954 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37956 its value.
37957
37958 [BZ #15305]
37959 * sysdeps/unix/sysv/linux/kernel-features.h
37960 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37961 __ASSUME_XFS_RESTRICTED_CHOWN.
37962 * sysdeps/unix/sysv/linux/pathconf.c
37963 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37964 Save and restore errno.
37965
37966 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37967
37968 [BZ #15327]
37969 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37970 arguments using __kernel_casinh.
37971 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37972 arguments using __kernel_casinhf.
37973 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37974 arguments using __kernel_casinhl.
37975 * math/libm-test.inc (cacosh_test): Add more tests.
37976 * sysdeps/i386/fpu/libm-test-ulps: Update.
37977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37978
37979 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37980
37981 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37983
37984 * bench/Makefile (bench): Add sin and slowsin.
37985 * benchtests/sin-inputs: New file.
37986 * benchtests/slowsin-inputs: New file.
37987 * benchtests/slowsin.c: New file.
37988
37989 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37990 (bench): Add slowexp and slowpow.
37991 (exp-ITER): Increase iterations.
37992 (pow-ITER): Likewise.
37993 * benchtests/exp-inputs: Change input.
37994 * benchtests/pow-inputs: Likewise.
37995 * benchtests/slowexp-inputs: New file.
37996 * benchtests/slowexp.c: New file.
37997 * benchtests/slowpow-inputs: New file.
37998 * benchtests/slowpow.c: New file.
37999
38000 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38001
38002 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38003 instructions.
38004 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38005 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38006 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38007 * benchtests/Makefile: Add rint benchtest.
38008 * benchtests/rint-inputs: Input for rint benchtest.
38009
38010 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38011
38012 * Versions.def (libm): Add GLIBC_2.18.
38013 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38014 hidden libm prototypes.
38015 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38016 * math/Makefile (libm-calls): Add s_issignaling.
38017 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38018 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38019 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38020 declaration.
38021 * math/math.h [__USE_GNU] (issignaling): New macro.
38022 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38023 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38025 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38028 * manual/arith.texi (issignaling): New section.
38029 * manual/libm-err-tab.pl (@all_functions): Update comment.
38030 * math/gen-libm-test.pl (parse_args): Apply special handling for
38031 issignaling.
38032 * math/libm-test.inc (print_float, issignaling_test): New
38033 functions.
38034 (check_float_internal): Add issignaling checks.
38035 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38036 default definition.
38037 * sysdeps/powerpc/math-tests.h: New file.
38038 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38039 tests.
38040 * math/test-snan.c (TEST_FUNC): Likewise.
38041
38042 2013-03-30 David S. Miller <davem@davemloft.net>
38043
38044 * po/de.po: Update from translation team.
38045
38046 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38047
38048 [BZ #10357]
38049 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38050 imaginary part less than 1.0 and real part less than 0.5
38051 specially.
38052 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38053 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38054 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38055 (cacos_test): Add more tests.
38056 (casin_test): Likewise.
38057 (casinh_test): Likewise.
38058 * sysdeps/i386/fpu/libm-test-ulps: Update.
38059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38060
38061 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38062
38063 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38064 ONE with its value.
38065
38066 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38067 (__pow_mp): Replace ONE and MONE with their values.
38068 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38069 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38070 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38071 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38072 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38073 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38074
38075 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38076
38077 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38078 (__pow_mp): Replace ZERO and MZERO with their values.
38079 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38081 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38083 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38084 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38085 (__sqr): Likewise.
38086
38087 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38088
38089 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38090
38091 2013-03-28 Roland McGrath <roland@hack.frob.com>
38092
38093 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38094 Declare with __attribute__ ((weak)).
38095 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38096 Call __call_tls_dtors only if it's not NULL.
38097
38098 2013-03-28 Roland McGrath <roland@hack.frob.com>
38099
38100 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38101 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38102 magic __ehdr_start linker symbol if it's defined.
38103 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38104 them up here if it was already done.
38105
38106 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38107 (_dl_aux_init): Use const in cast when setting it.
38108 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38109 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38110 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38111
38112 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38113 Declare them here.
38114 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38115 * csu/libc-tls.c: Nor here.
38116 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38117
38118 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38119 (__libc_message): Never call vsyslog.
38120
38121 2013-03-28 Alan Modra <amodra@gmail.com>
38122
38123 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38124 Define as empty.
38125 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38126 Likewise.
38127
38128 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38129
38130 [BZ #15214]
38131 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38132 underflow.
38133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38134
38135 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38136
38137 [BZ #15304]
38138 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38139 Don't add gid passed as argument.
38140
38141 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38142
38143 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38144
38145 [BZ #15307]
38146 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38147 imaginary part between 1.0 and 1.5 and real part less than 0.5
38148 specially.
38149 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38150 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38151 * math/libm-test.inc (cacos_test): Add more tests.
38152 (casin_test): Likewise.
38153 (casinh_test): Likewise.
38154 * sysdeps/i386/fpu/libm-test-ulps: Update.
38155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38156
38157 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38158
38159 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38160 constants.
38161 (norm): Likewise.
38162 (denorm): Likewise.
38163 (__dbl_mp): Likewise.
38164 (add_magnitudes): Likewise.
38165 (sub_magnitudes): Likewise.
38166 (__add): Likewise.
38167 (__sub): Likewise.
38168 (__mul): Likewise.
38169 (__sqr): Likewise.
38170 (__inv): Likewise.
38171 (__dvd): Likewise.
38172
38173 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38174 commented code.
38175 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38176 (__dubcos): Likewise.
38177 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38178 (__ieee754_acos): Likewise.
38179 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38180 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38181 (__exp1): Likewise.
38182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38184 (log1): Likewise.
38185 (my_log2): Likewise.
38186 (checkint): Likewise.
38187 * sysdeps/ieee754/dbl-64/e_remainder.c
38188 (__ieee754_remainder): Likewise.
38189 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38191 (bsloww): Likewise.
38192 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38193
38194 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38196 MANTISSA_STORE_T to store computations on mantissa. Use
38197 macros for rounding and division.
38198 (denorm): Likewise.
38199 (__dbl_mp): Likewise.
38200 (add_magnitudes): Likewise.
38201 (sub_magnitudes): Likewise.
38202 (__mul): Likewise.
38203 (__sqr): Likewise.
38204 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38205 powers of two in terms of TWOPOW macro.
38206 (mp_no): Make type of mantissa as MANTISSA_T.
38207 [!RADIXI]: Define RADIXI.
38208 [!TWO52]: Define TWO52.
38209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38210
38211 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38212
38213 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38214 llroundl symbol when building for PPC32.
38215
38216 2013-03-24 Mark H Weaver <mhw@netris.org>
38217
38218 * manual/arith.texi (Normalization Functions): Fix prototypes for
38219 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38220
38221 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38222
38223 [BZ #13889]
38224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38225 high value to check if expl overflow.
38226 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38227 to check for underflow and overflow.
38228 * math/libm-test.inc: Add exp test.
38229
38230 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38231
38232 [BZ #11120]
38233 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38234 with NOT_IN_libc.
38235
38236 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38237
38238 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38239 symbol.
38240
38241 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38242
38243 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38244 wrap blocks consisting of several statements.
38245
38246 * sysdeps/generic/math-tests.h: New file.
38247 * sysdeps/i386/fpu/math-tests.h: Likewise.
38248 * math/test-snan.c: Include it.
38249 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38250
38251 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38252
38253 [BZ #15285]
38254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38255 (__ieee754_j0l): Do not improve calculations using cos of twice
38256 input for inputs above LDBL_MAX / 2.0L.
38257 (__ieee754_y0l): Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38259 (__ieee754_j1l): Do not improve calculations using cos of twice
38260 input for inputs above LDBL_MAX / 2.0L.
38261 (__ieee754_y1l): Likewise.
38262 * math/libm-test.inc (j0_test): Add another test.
38263 (j1_test): Likewise.
38264 (y0_test): Likewise.
38265 (y1_test): Likewise.
38266 * sysdeps/i386/fpu/libm-test-ulps: Update.
38267
38268 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38269
38270 * Rules ($(objpfx)bench-%.c): Include code from a C source
38271 file.
38272
38273 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38274
38275 [BZ #15287]
38276 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38277 imaginary part 1.0 and real part less than 0.5 specially.
38278 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38279 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38280 * math/libm-test.inc (cacos_test): Add more tests.
38281 (casin_test): Likewise.
38282 (casinh_test): Likewise.
38283 * sysdeps/i386/fpu/libm-test-ulps: Update.
38284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38285
38286 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38287
38288 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38289 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38290
38291 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38292
38293 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38294 * config.make.in (config-cflags-sse4): Remove variable.
38295 (config-cflags-avx): Likewise.
38296 (config-cflags-sse2avx): Likewise.
38297 (config-cflags-novzeroupper): Likewise.
38298 (config-asflags-i686): Likewise.
38299 (have-mfma4): Likewise.
38300 (have-as-vis3): Likewise.
38301 (MIG): Likewise.
38302 * configure.in (MIG): Do not AC_SUBST.
38303 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38304 (libc_cv_cc_sse4): Do not AC_SUBST.
38305 (libc_cv_cc_avx): Likewise.
38306 (libc_cv_cc_sse2avx): Likewise.
38307 (libc_cv_cc_novzeroupper): Likewise.
38308 (libc_cv_cc_fma4): Likewise.
38309 (libc_cv_as_i686): Likewise.
38310 (libc_cv_sparc_as_vis3): Likewise.
38311 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38312 LIBC_CONFIG_VAR.
38313 (config-asflags-i686): Likewise.
38314 (config-cflags-avx): Likewise.
38315 (config-cflags-sse2avx): Likewise.
38316 (have-mfma4): Likewise.
38317 (config-cflags-novzeroupper): Likewise.
38318 * sysdeps/mach/configure.in (MIG): Likewise.
38319 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38320 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38321 LIBC_CONFIG_VAR.
38322 (config-cflags-avx): Likewise.
38323 (config-cflags-sse2avx): Likewise.
38324 (have-mfma4): Likewise.
38325 (config-cflags-novzeroupper): Likewise.
38326 * configure: Regenerated.
38327 * sysdeps/i386/configure: Likewise.
38328 * sysdeps/mach/configure: Likewise.
38329 * sysdeps/sparc/configure: Likewise.
38330 * sysdeps/x86_64/configure: Likewise.
38331
38332 2013-03-20 Roland McGrath <roland@hack.frob.com>
38333
38334 [BZ #14812]
38335 * locale/programs/localedef.c (options): Put N_ translation marker
38336 on argument names, not just descriptions.
38337
38338 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38339
38340 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38341
38342 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38343
38344 [BZ #14176]
38345 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38346
38347 2013-03-19 Roland McGrath <roland@hack.frob.com>
38348
38349 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38350 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38351 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38352 [!BEFORE_ABORT] (before_abort): New function.
38353 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38354 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38355 (writev_for_fatal): New function.
38356 (WRITEV_FOR_FATAL): New macro; call that.
38357 (backtrace_and_maps): New function.
38358 (BEFORE_ABORT): New macro; call that.
38359 (struct str_list): Type removed.
38360 (__libc_message, __libc_fatal): Functions removed.
38361 Include <sysdeps/posix/libc_fatal.c> instead.
38362
38363 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38364
38365 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38366 constants.
38367 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38368 double constants.
38369
38370 2013-03-19 Andreas Schwab <schwab@suse.de>
38371
38372 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38373 * sysdeps/gnu/configure: Regenerate.
38374
38375 * configure.in: Substitute libc_cv_rtlddir.
38376 * configure: Regenerate.
38377 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38378 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38379 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38380 * elf/Makefile (install-others, CFLAGS-interp.c)
38381 (ldso_install, common-ldd-rewrite): Likewise.
38382 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38383 $(inst_slibdir)/$(rtld-installed-name).
38384 * scripts/rellns-sh: Add -p option.
38385 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38386 for source.
38387
38388 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38389
38390 * manual/nptl.texi: Renamed to ...
38391 * manual/threads.texi: ... this.
38392 * manual/Makefile (chapters): Update.
38393
38394 2013-03-18 Roland McGrath <roland@hack.frob.com>
38395
38396 [BZ #14812]
38397 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38398 on argument names, not just descriptions.
38399 * malloc/memusagestat.c (options): Likewise.
38400 * nss/getent.c (options): Likewise.
38401
38402 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38403
38404 [BZ #14812]
38405 * iconv/iconv_prog.c (options): Put N_ translation marker
38406 on argument names, not just descriptions.
38407 * iconv/iconvconfig.c (options): Likewise.
38408
38409 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38410
38411 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38412 implementation which is faster on all x86_64 architectures.
38413 Tested on AMD, Intel Nehalem, SNB, IVB.
38414 * sysdeps/x86_64/strnlen.S: Likewise.
38415
38416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38417 Remove all multiarch strlen and strnlen versions.
38418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38419 Remove strlen and strnlen related parts.
38420
38421 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38422 Inline strlen part.
38423 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38424
38425 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38426 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38427 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38428 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38429 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38430 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38431
38432 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38433
38434 * manual/memory.texi (Malloc Tunable Parameters):
38435 Sort parameters alphabetically. Add comments for missing entries.
38436
38437 2013-03-17 David S. Miller <davem@davemloft.net>
38438
38439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38440
38441 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38442
38443 [BZ #15283]
38444 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38445 for arguments at most half maximum finite value.
38446 * math/libm-test.inc (j0_test): Add more tests.
38447 (j1_test): Likewise.
38448 (y0_test): Likewise.
38449 (y1_test): Likewise.
38450 * sysdeps/i386/fpu/libm-test-ulps: Update.
38451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38452
38453 [BZ #14155]
38454 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38455 1 / x and functions P and Q for arguments above 0x1p256L.
38456 (__ieee754_y0l): Likewise.
38457 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38458 (__ieee754_y1l): Likewise.
38459 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38460 (j1_test): Likewise.
38461 (y0_test): Likewise.
38462 (y1_test): Likewise.
38463
38464 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38465
38466 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38467 variable.
38468
38469 2013-03-15 Roland McGrath <roland@hack.frob.com>
38470
38471 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38472 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38473 zero since it's initialized to EXEC_PAGESIZE.
38474
38475 * sysdeps/unix/sysv/linux/ldsodefs.h
38476 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38477 * sysdeps/generic/ldsodefs.h: ... here.
38478
38479 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38480
38481 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38482
38483 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38484 math/test-snan.c.
38485 * math/test-snan.c: Renamed from
38486 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38487 * math/Makefile (tests): Add test-snan.
38488 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38489 test-powerpc-snan.
38490
38491 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38492 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38493 functions.
38494 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38495 __builtin_nan family of functions.
38496 * math/libm-test.inc (initialize): Initialize qnan_value with
38497 __builtin_nan family of functions.
38498 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38499 Remove variables.
38500 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38501 Remove functions.
38502 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38503 storage class. Initialize qNaN_var and sNaN_var with
38504 __builtin_nan and __builtin_nans families of functions,
38505 respectively.
38506
38507 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38508 (sqrt_test): Remove duplicate test with qNaN input.
38509 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38510 (round_test, signbit_test, significand_test): Note missing +/-Inf
38511 as well as qNaN tests.
38512
38513 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38514 qNaN_var. Fix a few strings, too.
38515 * math/libm-test.inc (nan_value): Rename to qnan_value.
38516 * math/gen-libm-test.pl (%beautify): Adjust to that.
38517 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38518 * math/test-misc.c (main): Likewise.
38519 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38520 to __qnan_bytes, and __qnan_union, respectively.
38521 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38522 Likewise.
38523 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38524 and lqnanval, respectively.
38525 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38526 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38527 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38528 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38529
38530 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38531 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38532 doubles.
38533
38534 * math/test-misc.c (main): Fix copy'n'pastos.
38535 * misc/tst-efgcvt.c (special): Likewise.
38536
38537 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38538 Remove declarations.
38539
38540 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38541
38542 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38543 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38544 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38545 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38546
38547 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38548
38549 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38550 macro to return vdso values correctly in IFUNC implementations.
38551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38552 Optimization by using IFUNC.
38553
38554 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38555 Richard Henderson <rth@redhat.com>
38556 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38557
38558 * Makefile.in (bench): New target.
38559 * NEWS: Mention the benchmark framework.
38560 * Rules (bench): Likewise.
38561 (binaries-bench): Generate binaries for functions to
38562 benchmark.
38563 * benchtests/Makefile: New makefile for benchmark tests.
38564 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38565 programs.
38566 * benchtests/exp-inputs: New input file for EXP function.
38567 * benchtests/pow-inputs: New input file for POW function.
38568 * scripts/bench.pl: New script to generate source files for
38569 benchmark programs.
38570
38571 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38572
38573 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38574 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38575 computations on mantissa. Use macros for rounding and
38576 division.
38577 (denorm): Likewise.
38578 (__dbl_mp): Likewise.
38579 (add_magnitudes): Likewise.
38580 (sub_magnitudes): Likewise.
38581 (__mul): Likewise.
38582 (__sqr): Likewise.
38583 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38584 powers of two in terms of TWOPOW macro.
38585 (mp_no): Make type of mantissa as MANTISSA_T.
38586 [!RADIXI]: Define RADIXI.
38587 [!TWO52]: Define TWO52.
38588 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38589
38590 * manual/nptl.texi (cindex): Modify threads to pthreads.
38591
38592 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38593
38594 * sysdeps/x86_64/preconfigure: Regenerated.
38595
38596 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38597
38598 [BZ #14155]
38599 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38600 0x1p28 and above.
38601 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38602 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38603 0x1p28 and above.
38604 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38605 * math/libm-test.inc (j0_test): Do not allow one spurious
38606 underflow exception.
38607 (y1_test): Likewise.
38608
38609 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38610
38611 * manual/Makefile (chapters): Add nptl.
38612 * manual/debug.texi (Debugging Support): Add link to Threads
38613 chapter.
38614 * manual/nptl.texi: New file.
38615
38616 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38617
38618 2013-03-14 Petr Baudis <pasky@ucw.cz>
38619
38620 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38621 for non-NULL pointer before the memory validity test. Pointed
38622 out by Holger Brunck <holger.brunck@keymile.com>.
38623
38624 2013-03-13 Andreas Schwab <schwab@suse.de>
38625
38626 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38627 instead of .os.
38628
38629 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38630
38631 * timezone/zic.c: Update from tzcode 2013b.
38632
38633 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38634
38635 * manual/install.texi (Configuring and compiling):
38636 Mention i686 and i586.
38637 * INSTALL: Regenerate.
38638
38639 2013-03-12 Roland McGrath <roland@hack.frob.com>
38640
38641 * sysdeps/init_array/elf-init.c: New file.
38642 * csu/elf-init.c
38643 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38644 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38645
38646 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38647 __gmon_start__ as global, but as static with a .preinit_array pointer.
38648 * sysdeps/init_array/gmon-start.c: New file. Use that.
38649 * sysdeps/init_array/crti.S: New file, empty except for comments.
38650 * sysdeps/init_array/crtn.S: Likewise.
38651
38652 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38653
38654 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38655 definining bcopy.
38656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38657 Remove Prefer_SSE_for_memop.
38658 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38659 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38660 HAS_PREFER_SSE_FOR_MEMOP.
38661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38662 memset-x86-64.
38663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38664 Remove bzero, memset ifunc support.
38665 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38666 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38667 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38668 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38669
38670 2013-03-11 Andreas Schwab <schwab@suse.de>
38671
38672 [BZ #15234]
38673 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38674 by SHLIB_COMPAT.
38675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38676 (GLIBC_2.16): Remove pthread_atfork.
38677
38678 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38679
38680 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38681 (ptestcases.h): Likewise.
38682
38683 2013-03-08 Roland McGrath <roland@hack.frob.com>
38684
38685 * Makeconfig ($(common-objpfx)config.status): Depend on
38686 sysdeps/*/preconfigure{,.in} too.
38687
38688 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38689
38690 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38691 (__free_hook): Use void * instead of __malloc_ptr_t.
38692 (__malloc_hook): Likewise.
38693 (__realloc_hook): Likewise.
38694 (__memalign_hook): Likewise.
38695 (__after_morecore_hook): Likewise.
38696 * malloc/arena.c (save_malloc_hook): Likewise.
38697 (save_free_hook): Likewise.
38698 * malloc/hooks.c (malloc_hook_ini): Likewise.
38699 (realloc_hook_ini): Likewise.
38700 (memalign_hook_ini): Likewise.
38701 * malloc/malloc.c (malloc_hook_ini): Likewise.
38702 (realloc_hook_ini): Likewise.
38703 (memalign_hook_ini): Likewise.
38704 (__free_hook): Likewise.
38705 (__malloc_hook): Likewise.
38706 (__realloc_hook): Likewise.
38707 (__memalign_hook): Likewise.
38708 (__libc_malloc): Likewise.
38709 (__libc_free): Likewise.
38710 (__libc_realloc): Likewise.
38711 (__libc_memalign): Likewise.
38712 (__libc_valloc): Likewise.
38713 (__libc_pvalloc): Likewise.
38714 (__libc_calloc): Likewise.
38715 (__posix_memalign): Likewise.
38716 * malloc/morecore.c (__sbrk): Likewise.
38717 (__default_morecore): Likewise.
38718
38719 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38720
38721 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38722 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38723 __malloc_ptrdiff_t.
38724
38725 * malloc/malloc.h (__malloc_size_t): Remove macro.
38726 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38727 __malloc_size_t.
38728 (old_memalign_hook): Likewise.
38729 (old_realloc_hook): Likewise.
38730 (struct hdr): Likewise.
38731 (flood): Likewise.
38732 (mallochook): Likewise.
38733 (memalignhook): Likewise.
38734 (reallochook): Likewise.
38735 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38736 (tr_old_realloc_hook): Likewise.
38737 (tr_old_memalign_hook): Likewise.
38738 (tr_mallochook): Likewise.
38739 (tr_reallochook): Likewise.
38740 (tr_memalignhook): Likewise.
38741
38742 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38743
38744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38745 default_ldbl_pack and using as default implementation.
38746 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38747 implementation.
38748 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38749 redundant definition.
38750 (ldbl_insert_mantissa): Likewise.
38751 (ldbl_canonicalize): Likewise.
38752 (ldbl_nearbyint): Likewise.
38753 (ldbl_pack): Rename to ldbl_pack_ppc.
38754 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38755 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38756 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38757
38758 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38759
38760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38761 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38762 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38763 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38766 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38767 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38768
38769 2013-03-07 Andreas Jaeger <aj@suse.de>
38770
38771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38772 bits/mman-linux.h.
38773
38774 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38775
38776 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38777 Include mpa.h and declare __MPEXP.
38778 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38779 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38780 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38781 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38782 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38783 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38785
38786 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38787 (__slowpow): Use long double EXPL and LOGL functions to
38788 compute POW.
38789 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38790 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38791 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38792 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38793 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38794 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38795
38796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38797 intermediate variable to calculate exponent.
38798 (__sqr): Likewise.
38799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38800 Likewise.
38801 (__sqr): Likewise.
38802
38803 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38804 [!NO__SQR]: Define __sqr.
38805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38806 and NO__SQR. Remove all code except __mul and __sqr. Include
38807 sysdeps/ieee754/dbl-64/mpa.c.
38808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38809
38810 [BZ #12723]
38811 * posix/Makefile (tests): Add tst-pathconf.
38812 * posix/tst-pathconf.c: New test case.
38813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38814 _PC_PIPE_BUF.
38815 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38816
38817 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38818
38819 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38820
38821 2013-03-06 Andreas Jaeger <aj@suse.de>
38822
38823 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38824 definition via __MAP_ANONYMOUS.
38825
38826 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38827 it's not part of Linux headers.
38828
38829 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38830 (MAP_HUGE_MASK): Define.
38831
38832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38833 Define.
38834 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38835 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38836 Define.
38837 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38838 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38839 Define.
38840 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38841 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38842 Define.
38843 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38844
38845 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38846 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38847 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38848 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38849 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38850 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38851
38852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38853 Handle f2fs.
38854
38855 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38856 Handle f2fs and efivarfs.
38857
38858 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38859 f2fs.
38860
38861 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38862 (EFIVARFS_MAGIC): Add.
38863 (F2FS_LINK_MAX): Add.
38864
38865 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38866
38867 * stdio-common/vfprintf.c: Replace __builtin_expect with
38868 __glibc_unlikely.
38869
38870 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38871
38872 [BZ #13550]
38873 * sysdeps/generic/bp-sym.h: Remove file.
38874 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38875 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38876 <bp-sym.h> and <bp-asm.h>.
38877 (__longjmp): Don't use BP_SYM.
38878 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38879 and <bp-asm.h>.
38880 (memcpy): Don't use BP_SYM.
38881 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38882 <bp-sym.h> and <bp-asm.h>.
38883 (memcpy): Don't use BP_SYM.
38884 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38885 <bp-asm.h>.
38886 (memcpy): Don't use BP_SYM.
38887 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38888 <bp-asm.h>.
38889 (memset): Don't use BP_SYM.
38890 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38891 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38892 (__bzero): Don't use BP_SYM.
38893 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38894 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38895 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38896 <bp-sym.h> and <bp-asm.h>.
38897 (memcmp): Don't use BP_SYM. Remove comment about bounded
38898 pointers.
38899 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38900 <bp-sym.h> and <bp-asm.h>.
38901 (memcpy): Don't use BP_SYM.
38902 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38903 <bp-sym.h> and <bp-asm.h>.
38904 (memset): Don't use BP_SYM.
38905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38907 (__bzero): Don't use BP_SYM.
38908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38910 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38911 <bp-sym.h> and <bp-asm.h>.
38912 (strncmp): Don't use BP_SYM. Remove comment about bounded
38913 pointers.
38914 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38915 <bp-sym.h> and <bp-asm.h>.
38916 (memcpy): Don't use BP_SYM.
38917 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38918 <bp-sym.h> and <bp-asm.h>.
38919 (memset): Don't use BP_SYM.
38920 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38921 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38922 (__bzero): Don't use BP_SYM.
38923 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38924 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38926 <bp-sym.h> and <bp-asm.h>.
38927 (__memchr): Don't use BP_SYM.
38928 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38929 <bp-sym.h> and <bp-asm.h>.
38930 (memcmp): Don't use BP_SYM. Remove comment about bounded
38931 pointers.
38932 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38933 <bp-sym.h> and <bp-asm.h>.
38934 (memcpy): Don't use BP_SYM.
38935 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38936 <bp-sym.h> and <bp-asm.h>.
38937 (__mempcpy): Don't use BP_SYM.
38938 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38939 <bp-sym.h> and <bp-asm.h>.
38940 (__memrchr): Don't use BP_SYM.
38941 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38942 <bp-sym.h> and <bp-asm.h>.
38943 (memset): Don't use BP_SYM.
38944 (__bzero): Likewise.
38945 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38946 <bp-sym.h> and <bp-asm.h>.
38947 (__rawmemchr): Don't use BP_SYM.
38948 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38949 <bp-sym.h> and <bp-asm.h>.
38950 (__STRCMP): Don't use BP_SYM.
38951 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38952 <bp-sym.h> and <bp-asm.h>.
38953 (strchr): Don't use BP_SYM.
38954 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38955 <bp-sym.h> and <bp-asm.h>.
38956 (__strchrnul): Don't use BP_SYM.
38957 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38958 <bp-sym.h> and <bp-asm.h>.
38959 (strlen): Don't use BP_SYM.
38960 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38961 <bp-sym.h> and <bp-asm.h>.
38962 (strncmp): Don't use BP_SYM. Remove comment about bounded
38963 pointers.
38964 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38965 <bp-sym.h> and <bp-asm.h>.
38966 (__strnlen): Don't use BP_SYM.
38967 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38968 <bp-sym.h> and <bp-asm.h>.
38969 (__GI__setjmp): Don't use BP_SYM.
38970 (_setjmp): Likewise.
38971 (__sigsetjmp): Likewise.
38972 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38973 (L(start_addresses)): Don't use BP_SYM.
38974 (_start): Likewise.
38975 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38976 <bp-asm.h>.
38977 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38978 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38979 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38980 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38981 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38982 <bp-asm.h>.
38983 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38984 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38985 about bounded pointers.
38986 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38987 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38988 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38989 <bp-asm.h>.
38990 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38991 about bounded pointers. Remove GKM FIXME comments.
38992 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38993 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38994 <bp-asm.h>.
38995 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38996 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38997 Remove GKM FIXME comments.
38998 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38999 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39000 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39001 <bp-asm.h>.
39002 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39003 about bounded pointers. Remove GKM FIXME comment.
39004 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39005 and <bp-asm.h>.
39006 (strncmp): Don't use BP_SYM. Remove comment about bounded
39007 pointers.
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39009 <bp-sym.h> and <bp-asm.h>.
39010 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39012 <bp-sym.h> and <bp-asm.h>.
39013 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39014 comment.
39015
39016 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39017
39018 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39019 call free(NULL).
39020
39021 2013-03-05 David S. Miller <davem@davemloft.net>
39022
39023 * po/es.po: Update from translation team.
39024
39025 2013-03-05 Andreas Jaeger <aj@suse.de>
39026
39027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39028 <bits/mman-linux.h>.
39029 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39030 is fine.
39031 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39032 <bits/mman-linux.h> to end of file.
39033 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39034 is fine.
39035 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39036 <bits/mman-linux.h> to end of file.
39037 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39038 is fine.
39039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39040 <bits/mman-linux.h> to end of file.
39041
39042 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39043 (MCL_CURRENT, MCL_FUTURE): Define here.
39044
39045 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39046
39047 [BZ #15232]
39048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39049 attribute_hidden.
39050 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39051
39052 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39053
39054 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39055 fourth parameter needed for rt_sigprocmask syscall.
39056 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39057 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39058 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39059 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39060 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39061 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39062
39063 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39064
39065 [BZ #13550]
39066 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39067 comment about bounded pointers.
39068 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39069 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39070
39071 2013-03-04 Andreas Jaeger <aj@suse.de>
39072
39073 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39074 common definitions.
39075
39076 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39077 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39078 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39079 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39080 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39081 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39082
39083 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39084
39085 [BZ #15055]
39086 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39087 __ieee754_sqrl instead of __sqrl.
39088
39089 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39090
39091 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39092 * sysdeps/powerpc/fpu_control.h: ... here.
39093 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39094 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39095 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39096 * sysdeps/powerpc/bits/mathinline.h: ... here.
39097
39098 2013-03-01 Roland McGrath <roland@hack.frob.com>
39099
39100 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39101 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39102 to just [NEED_DL_SYSINFO_DSO].
39103 * elf/dl-support.c: Likewise.
39104 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39105 * elf/rtld.c (dl_main): Likewise.
39106 * elf/setup-vdso.h (setup_vdso): Likewise.
39107 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39108 * sysdeps/unix/sysv/linux/dl-sysdep.c
39109 (_dl_discover_osversion): Likewise.
39110
39111 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39112
39113 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39114 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39115
39116 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39117
39118 * NEWS: Mention libm performance improvements and non-x86 PI
39119 futex support.
39120
39121 * csu/libc-start.c (__pthread_initialize_minimal): Change
39122 function arguments.
39123 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39124
39125 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39126
39127 [BZ #13550]
39128 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39129 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39130 <bp-sym.h> and <bp-asm.h>.
39131 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39132 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39133 and <bp-asm.h>.
39134 (memcpy): Don't use BP_SYM.
39135 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39136 <bp-asm.h>.
39137 (__mpn_add_n): Don't use BP_SYM.
39138 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39139 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39140 and <bp-asm.h>.
39141 (__mpn_addmul_1): Don't use BP_SYM.
39142 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39143 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39144 <bp-sym.h>.
39145 (_setjmp): Don't use BP_SYM.
39146 (__novmx_setjmp): Likewise.
39147 (__GI__setjmp): Likewise.
39148 (__vmx_setjmp): Likewise.
39149 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39150 <bp-sym.h>.
39151 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39152 (__bzero): Don't use BP_SYM.
39153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39155 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39156 <bp-sym.h> and <bp-asm.h>.
39157 (memcpy): Don't use BP_SYM.
39158 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39159 <bp-sym.h> and <bp-asm.h>.
39160 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39161 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39162 <bp-sym.h> and <bp-asm.h>.
39163 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39164 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39165 <bp-asm.h>.
39166 (__mpn_lshift): Don't use BP_SYM.
39167 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39168 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39169 <bp-asm.h>.
39170 (memset): Don't use BP_SYM.
39171 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39172 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39173 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39174 <bp-asm.h>.
39175 (__mpn_mul_1): Don't use BP_SYM.
39176 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39178 <bp-sym.h> and <bp-asm.h>.
39179 (memcmp): Don't use BP_SYM.
39180 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39181 <bp-sym.h> and <bp-asm.h>.
39182 (memcpy): Don't use BP_SYM.
39183 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39184 <bp-sym.h> and <bp-asm.h>.
39185 (memset): Don't use BP_SYM.
39186 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39187 <bp-sym.h> and <bp-asm.h>.
39188 (strncmp): Don't use BP_SYM.
39189 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39190 <bp-sym.h> and <bp-asm.h>.
39191 (memcpy): Don't use BP_SYM.
39192 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39193 <bp-sym.h> and <bp-asm.h>.
39194 (memset): Don't use BP_SYM.
39195 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39196 <bp-sym.h> and <bp-asm.h>.
39197 (__memchr): Don't use BP_SYM.
39198 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39199 <bp-sym.h> and <bp-asm.h>.
39200 (memcmp): Don't use BP_SYM.
39201 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39202 <bp-sym.h> and <bp-asm.h>.
39203 (memcpy): Don't use BP_SYM.
39204 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39205 <bp-sym.h> and <bp-asm.h>.
39206 (__mempcpy): Don't use BP_SYM.
39207 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39208 <bp-sym.h> and <bp-asm.h>.
39209 (__memrchr): Don't use BP_SYM.
39210 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39211 <bp-sym.h> and <bp-asm.h>.
39212 (memset): Don't use BP_SYM.
39213 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39214 <bp-sym.h> and <bp-asm.h>.
39215 (__rawmemchr): Don't use BP_SYM.
39216 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39217 <bp-sym.h> and <bp-asm.h>.
39218 (__STRCMP): Don't use BP_SYM.
39219 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39220 <bp-sym.h> and <bp-asm.h>.
39221 (strchr): Don't use BP_SYM.
39222 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39223 <bp-sym.h> and <bp-asm.h>.
39224 (__strchrnul): Don't use BP_SYM.
39225 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39226 <bp-sym.h> and <bp-asm.h>.
39227 (strlen): Don't use BP_SYM.
39228 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39229 <bp-sym.h> and <bp-asm.h>.
39230 (strncmp): Don't use BP_SYM.
39231 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39232 <bp-sym.h> and <bp-asm.h>.
39233 (__strnlen): Don't use BP_SYM.
39234 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39235 <bp-asm.h>.
39236 (__mpn_rshift): Don't use BP_SYM.
39237 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39238 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39239 <bp-sym.h> and <bp-asm.h>.
39240 (__sigsetjmp): Don't use BP_SYM.
39241 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39242 (L(start_addresses)): Don't use BP_SYM.
39243 (_start): Likewise.
39244 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39245 <bp-asm.h>.
39246 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39247 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39248 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39249 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39250 <bp-asm.h>.
39251 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39252 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39253 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39254 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39255 <bp-asm.h>.
39256 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39257 comments.
39258 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39259 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39260 <bp-asm.h>.
39261 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39262 FIXME comments.
39263 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39264 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39265 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39266 <bp-asm.h>.
39267 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39268 comment.
39269 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39270 and <bp-asm.h>.
39271 (strncmp): Don't use BP_SYM,
39272 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39273 <bp-asm.h>.
39274 (__mpn_sub_n): Don't use BP_SYM.
39275 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39276 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39277 and <bp-asm.h>.
39278 (__mpn_submul_1): Don't use BP_SYM.
39279 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39281 <bp-sym.h> and <bp-asm.h>.
39282 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39284 <bp-sym.h> and <bp-asm.h>.
39285 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39286 comment.
39287
39288 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39289
39290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39291 Use ZK to minimize writes to Z.
39292 (sub_magnitudes): Simplify code a bit.
39293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39294 Use ZK to minimize writes to Z.
39295 (sub_magnitudes): Simplify code a bit.
39296
39297 2013-02-27 Roland McGrath <roland@hack.frob.com>
39298
39299 * csu/gmon-start.c: Add special exception to license text.
39300
39301 2013-02-27 Richard Henderson <rth@redhat.com>
39302
39303 * scripts/config.guess: Update from config.git.
39304 * scripts/config.sub: Likewise.
39305
39306 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39307
39308 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39309
39310 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39311
39312 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39313
39314 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39315
39316 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39317
39318 2013-02-26 Roland McGrath <roland@hack.frob.com>
39319
39320 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39321 [$(build-shared = yes].
39322
39323 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39324
39325 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39326 (__mul): Reduce iterations for calculating mantissa.
39327
39328 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39329 MPTWO.
39330 (__mpranred): Likewise.
39331
39332 [BZ #15160]
39333 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39334 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39335
39336 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39337
39338 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39339 Define __attribute__.
39340
39341 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39342
39343 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39344 unused.
39345 * posix/regex_internal.h (__attribute): Remove.
39346 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39347 (re_string_context_at): Likewise.
39348 (bitset_not): Use __attribute__ and mark function as possibly
39349 unused.
39350 (bitset_merge): Likewise.
39351 (bitset_mask): Likewise.
39352 (re_string_char_size_at): Likewise.
39353 (re_string_wchar_at): Likewise.
39354 (re_string_elem_size_at): Likewise.
39355
39356 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39357
39358 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39359 code.
39360 (cc32): Likewise.
39361
39362 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39363 (__acr): Likewise.
39364 (__cpy): Likewise.
39365 (norm): Likewise.
39366 (denorm): Likewise.
39367 (__dbl_mp): Likewise.
39368 (add_magnitudes): Likewise.
39369 (sub_magnitudes): Likewise.
39370 (__mul): Likewise.
39371 (__inv): Likewise.
39372
39373 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39374 style.
39375
39376 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39377 style.
39378
39379 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39380 code.
39381
39382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39383 up changes with default code.
39384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39385 Likewise.
39386
39387 2013-02-24 Allan McRae <allan@archlinux.org>
39388
39389 * manual/socket.texi (The Internet Namespace): Order menu items
39390 to match that in the file.
39391
39392 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39393 node listing of the info page menu.
39394
39395 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39396
39397 [BZ #13550]
39398 * sysdeps/i386/bp-asm.h: Remove file.
39399 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39400 (PARMS): Do not use macros from bp-asm.h.
39401 (S1): Likewise.
39402 (S2): Likewise.
39403 (SIZE): Likewise.
39404 (__mpn_add_n): Do not use BP_SYM
39405 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39406 "bp-asm.h".
39407 (PARMS): Do not use macros from bp-asm.h.
39408 (S1): Likewise.
39409 (SIZE): Likewise.
39410 (__mpn_addmul_1): Do not use BP_SYM
39411 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39412 "bp-asm.h".
39413 (PARMS): Do not use macros from bp-asm.h.
39414 (SIGMSK): Likewise.
39415 (_setjmp): Likewise. Do not use BP_SYM.
39416 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39417 "bp-asm.h".
39418 (PARMS): Do not use macros from bp-asm.h.
39419 (SIGMSK): Likewise.
39420 (setjmp): Likewise. Do not use BP_SYM.
39421 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39422 "bp-asm.h".
39423 (PARMS): Do not use macros from bp-asm.h.
39424 (__frexp): Do not use BP_SYM.
39425 (frexp): Likewise.
39426 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39427 "bp-asm.h".
39428 (PARMS): Do not use macros from bp-asm.h.
39429 (__frexpf): Do not use BP_SYM.
39430 (frexpf): Likewise.
39431 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39432 "bp-asm.h".
39433 (PARMS): Do not use macros from bp-asm.h.
39434 (__frexpl): Do not use BP_SYM.
39435 (frexpl): Likewise.
39436 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39437 "bp-asm.h".
39438 (PARMS): Do not use macros from bp-asm.h.
39439 (__remquo): Do not use BP_SYM.
39440 (remquo): Likewise.
39441 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39442 "bp-asm.h".
39443 (PARMS): Do not use macros from bp-asm.h.
39444 (__remquof): Do not use BP_SYM.
39445 (remquof): Likewise.
39446 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39447 "bp-asm.h".
39448 (PARMS): Do not use macros from bp-asm.h.
39449 (__remquol): Do not use BP_SYM.
39450 (remquol): Likewise.
39451 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39452 "bp-asm.h".
39453 (PARMS): Do not use macros from bp-asm.h.
39454 (DEST): Likewise.
39455 (SRC): Likewise.
39456 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39457 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39458 "bp-asm.h".
39459 (PARMS): Do not use macros from bp-asm.h.
39460 (strlen): Do not use BP_SYM.
39461 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39462 "bp-asm.h".
39463 (PARMS): Do not use macros from bp-asm.h.
39464 (S1): Likewise.
39465 (S2): Likewise.
39466 (SIZE): Likewise.
39467 (__mpn_add_n): Do not use BP_SYM.
39468 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39469 "bp-asm.h".
39470 (PARMS): Do not use macros from bp-asm.h.
39471 (S1): Likewise.
39472 (SIZE): Likewise.
39473 (__mpn_addmul_1): Do not use BP_SYM.
39474 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39475 weak_alias.
39476 (bzero): Likewise.
39477 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39478 "bp-asm.h".
39479 (PARMS): Do not use macros from bp-asm.h.
39480 (S): Likewise.
39481 (SIZE): Likewise.
39482 (__mpn_lshift): Do not use BP_SYM.
39483 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39484 "bp-asm.h".
39485 (PARMS): Do not use macros from bp-asm.h.
39486 (DEST): Likewise.
39487 (SRC): Likewise.
39488 (LEN): Likewise.
39489 (memcpy): Likewise. Do not use BP_SYM.
39490 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39491 libc_hidden_def and weak_alias.
39492 (mempcpy): Do not use BP_SYM in weak_alias.
39493 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39494 "bp-asm.h".
39495 (PARMS): Do not use macros from bp-asm.h.
39496 (DEST): Likewise.
39497 (LEN): Likewise.
39498 [!BZERO_P] (CHR): Likewise.
39499 (memset): Likewise. Do not use BP_SYM.
39500 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39501 "bp-asm.h".
39502 (PARMS): Do not use macros from bp-asm.h.
39503 (S1): Likewise.
39504 (SIZE): Likewise.
39505 (__mpn_mul_1): Do not use BP_SYM.
39506 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39507 "bp-asm.h".
39508 (PARMS): Do not use macros from bp-asm.h.
39509 (S): Likewise.
39510 (SIZE): Likewise.
39511 (__mpn_rshift): Do not use BP_SYM.
39512 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39513 "bp-asm.h".
39514 (PARMS): Do not use macros from bp-asm.h.
39515 (STR): Likewise.
39516 (CHR): Likewise.
39517 (strchr): Likewise. Do not use BP_SYM.
39518 (index): Do not use BP_SYM in weak_alias.
39519 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39520 "bp-asm.h".
39521 (PARMS): Do not use macros from bp-asm.h.
39522 (DEST): Likewise.
39523 (SRC): Likewise.
39524 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39525 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39526 "bp-asm.h".
39527 (PARMS): Do not use macros from bp-asm.h.
39528 (strlen): Do not use BP_SYM.
39529 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39530 "bp-asm.h".
39531 (PARMS): Do not use macros from bp-asm.h.
39532 (S1): Likewise.
39533 (S2): Likewise.
39534 (SIZE): Likewise.
39535 (__mpn_sub_n): Do not use BP_SYM.
39536 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39537 "bp-asm.h".
39538 (PARMS): Do not use macros from bp-asm.h.
39539 (S1): Likewise.
39540 (SIZE): Likewise.
39541 (__mpn_submul_1): Do not use BP_SYM.
39542 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39543 "bp-asm.h".
39544 (PARMS): Do not use macros from bp-asm.h.
39545 (S1): Likewise.
39546 (S2): Likewise.
39547 (SIZE): Likewise.
39548 (__mpn_add_n): Do not use BP_SYM.
39549 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39550 weak_alias.
39551 (bzero): Likewise.
39552 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39553 "bp-asm.h".
39554 (PARMS): Do not use macros from bp-asm.h.
39555 (BLK2): Likewise.
39556 (LEN): Likewise.
39557 (memcmp): Do not use BP_SYM.
39558 (bcmp): Do not use BP_SYM in weak_alias.
39559 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39560 "bp-asm.h".
39561 (PARMS): Do not use macros from bp-asm.h.
39562 (DEST): Likewise.
39563 (SRC): Likewise.
39564 (LEN): Likewise.
39565 (memcpy): Likewise. Do not use BP_SYM.
39566 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39567 "bp-asm.h".
39568 (PARMS): Do not use macros from bp-asm.h.
39569 (DEST): Likewise.
39570 (SRC): Likewise.
39571 (LEN): Likewise.
39572 (memmove): Likewise. Do not use BP_SYM.
39573 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39574 "bp-asm.h".
39575 (PARMS): Do not use macros from bp-asm.h.
39576 (DEST): Likewise.
39577 (SRC): Likewise.
39578 (LEN): Likewise.
39579 (__mempcpy): Likewise. Do not use BP_SYM.
39580 (mempcpy): Do not use BP_SYM in weak_alias.
39581 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39582 "bp-asm.h".
39583 (PARMS): Do not use macros from bp-asm.h.
39584 (DEST): Likewise.
39585 (LEN): Likewise.
39586 [!BZERO_P] (CHR): Likewise.
39587 (memset): Likewise. Do not use BP_SYM.
39588 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39589 "bp-asm.h".
39590 (PARMS): Do not use macros from bp-asm.h.
39591 (STR2): Likewise.
39592 (strcmp): Do not use BP_SYM.
39593 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39594 "bp-asm.h".
39595 (PARMS): Do not use macros from bp-asm.h.
39596 (STR): Likewise.
39597 (DELIM): Likewise.
39598 [USE_AS_STRTOK_R] (SAVE): Likewise.
39599 (FUNCTION): Likewise. Do not use BP_SYM.
39600 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39601 aliases.
39602 (strtok_r): Likewise.
39603 (__GI___strtok_r): Likewise.
39604 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39605 (PARMS): Do not use macros from bp-asm.h.
39606 (S): Likewise.
39607 (SIZE): Likewise.
39608 (__mpn_lshift): Do not use BP_SYM.
39609 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39610 (PARMS): Do not use macros from bp-asm.h.
39611 (STR): Likewise.
39612 (CHR): Likewise.
39613 (__memchr): Do not use BP_SYM.
39614 (memchr): Do not use BP_SYM in weak_alias.
39615 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39616 (PARMS): Do not use macros from bp-asm.h.
39617 (BLK2): Likewise.
39618 (LEN): Likewise.
39619 (memcmp): Do not use BP_SYM.
39620 (bcmp): Do not use BP_SYM in weak_alias.
39621 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39622 (PARMS): Do not use macros from bp-asm.h.
39623 (S1): Likewise.
39624 (SIZE): Likewise.
39625 (__mpn_mul_1): Do not use BP_SYM.
39626 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39627 "bp-asm.h".
39628 (PARMS): Do not use macros from bp-asm.h.
39629 (STR): Likewise.
39630 (CHR): Likewise.
39631 (__rawmemchr): Do not use BP_SYM.
39632 (rawmemchr): Do not use BP_SYM in weak_alias.
39633 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39634 (PARMS): Do not use macros from bp-asm.h.
39635 (S): Likewise.
39636 (SIZE): Likewise.
39637 (__mpn_rshift): Do not use BP_SYM.
39638 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39639 (PARMS): Do not use macros from bp-asm.h.
39640 (SIGMSK): Likewise.
39641 (__sigsetjmp): Likewise. Do not use BP_SYM.
39642 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39643 (_start): Do not use BP_SYM.
39644 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39645 (PARMS): Do not use macros from bp-asm.h.
39646 (DEST): Likewise.
39647 (SRC): Likewise.
39648 (__stpcpy): Likewise. Do not use BP_SYM.
39649 (stpcpy): Do not use BP_SYM in weak_alias.
39650 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39651 "bp-asm.h".
39652 (PARMS): Do not use macros from bp-asm.h.
39653 (DEST): Likewise.
39654 (SRC): Likewise.
39655 (LEN): Likewise.
39656 (__stpncpy): Likewise. Do not use BP_SYM.
39657 (stpncpy): Do not use BP_SYM in weak_alias.
39658 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39659 (PARMS): Do not use macros from bp-asm.h.
39660 (STR): Likewise.
39661 (CHR): Likewise.
39662 (strchr): Likewise. Do not use BP_SYM.
39663 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39664 "bp-asm.h".
39665 (PARMS): Do not use macros from bp-asm.h.
39666 (STR): Likewise.
39667 (CHR): Likewise.
39668 (__strchrnul): Likewise. Do not use BP_SYM.
39669 (strchrnul): Do not use BP_SYM in weak_alias.
39670 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39671 "bp-asm.h".
39672 (PARMS): Do not use macros from bp-asm.h.
39673 (STOP): Likewise.
39674 (strcspn): Do not use BP_SYM.
39675 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39676 "bp-asm.h".
39677 (PARMS): Do not use macros from bp-asm.h.
39678 (STR): Likewise.
39679 (STOP): Likewise.
39680 (strpbrk): Likewise. Do not use BP_SYM.
39681 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39682 "bp-asm.h".
39683 (PARMS): Do not use macros from bp-asm.h.
39684 (STR): Likewise.
39685 (CHR): Likewise.
39686 (strrchr): Likewise. Do not use BP_SYM.
39687 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39688 (PARMS): Do not use macros from bp-asm.h.
39689 (SKIP): Likewise.
39690 (strspn): Do not use BP_SYM.
39691 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39692 (PARMS): Do not use macros from bp-asm.h.
39693 (STR): Likewise.
39694 (DELIM): Likewise.
39695 (SAVE): Likewise.
39696 (FUNCTION): Likewise. Do not use BP_SYM.
39697 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39698 aliases.
39699 (strtok_r): Likewise.
39700 (__GI___strtok_r): Likewise.
39701 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39702 (PARMS): Do not use macros from bp-asm.h.
39703 (S1): Likewise.
39704 (S2): Likewise.
39705 (SIZE): Likewise.
39706 (__mpn_sub_n): Do not use BP_SYM.
39707 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39708 "bp-asm.h".
39709 (PARMS): Do not use macros from bp-asm.h.
39710 (S1): Likewise.
39711 (SIZE): Likewise.
39712 (__mpn_submul_1): Do not use BP_SYM.
39713 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39714 <bp-sym.h>.
39715 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39716 and <bp-asm.h>.
39717 (PARMS): Do not use macros from bp-asm.h.
39718 (FLAGS): Likewise.
39719 (PTID): Likewise.
39720 (TLS): Likewise.
39721 (CTID): Likewise.
39722 (__clone): Do not use BP_SYM.
39723 (clone): Do not use BP_SYM in weak_alias.
39724 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39725 and <bp-asm.h>.
39726 (PARMS): Do not use macros from bp-asm.h.
39727 (LEN): Likewise.
39728 (__mmap64): Do not use BP_SYM.
39729 (mmap64): Do not use BP_SYM in weak_alias.
39730 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39731 <bp-sym.h> and <bp-asm.h>.
39732 (PARMS): Do not use macros from bp-asm.h.
39733 (__posix_fadvise64_l64): Do not use BP_SYM.
39734 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39735 (PARMS): Do not use macros from bp-asm.h.
39736 (NSOPS): Likewise.
39737 (semtimedop): Do not use BP_SYM.
39738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39739 and <bp-asm.h>.
39740
39741 2013-02-21 Allan McRae <allan@archlinux.org>
39742
39743 * manual/message.texi (Charset conversion in gettext):
39744 Move @end statement to beginning of line.
39745
39746 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39747
39748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39749 static.
39750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39751 Likewise.
39752
39753 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39754 (denorm): Likewise.
39755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39757
39758 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39759
39760 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39761 tail-call to the resolved function if pltexit isn't needed.
39762
39763 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39764
39765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39766 or Y being zero as being unlikely.
39767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39768 Likewise.
39769
39770 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39771
39772 * manual/nss.texi (System Databases and Name Service Switch):
39773 Remove frobnicate @pxref.
39774
39775 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39776
39777 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39778 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39779
39780 2013-02-20 Petr Machata <pmachata@redhat.com>
39781
39782 * elf/elf.h (R_ARM_TARGET1): New macro.
39783 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39784 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39785 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39786 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39787 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39788 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39789 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39790 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39791 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39792 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39793 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39794 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39795 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39796 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39797 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39798 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39799 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39800 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39801 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39802 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39803 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39804 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39805 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39806 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39807 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39808 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39809 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39810 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39811 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39812 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39813 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39814 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39815 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39816 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39817 (R_ARM_THM_GOT_BREL12): Likewise.
39818 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39819 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39820 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39821 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39822 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39823 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39824 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39825 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39826 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39827
39828 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39829
39830 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39831 __attribute_used__ to __attribute__ ((unused)).
39832
39833 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39834
39835 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39836 powerpc mpa.c.
39837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39838 comment formatting.
39839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39840
39841 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39842
39843 [BZ #13550]
39844 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39845 Remove macro.
39846 (ENTER): Remove both macro definitions.
39847 (LEAVE): Likewise.
39848 (CHECK_BOUNDS_LOW): Likewise.
39849 (CHECK_BOUNDS_HIGH): Likewise.
39850 (CHECK_BOUNDS_BOTH): Likewise.
39851 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39852 (RETURN_BOUNDED_POINTER): Likewise.
39853 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39854 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39855 (POP_ERRNO_LOCATION_RETURN): Likewise.
39856 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39857 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39858 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39859 macros.
39860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39861 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39862 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39863 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39864 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39865 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39866 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39867 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39868 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39869 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39870 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39871 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39872 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39873 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39874 removed macros.
39875 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39876 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39877 macros.
39878 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39879 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39880 * sysdeps/i386/i586/memset.S (memset): Likewise.
39881 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39882 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39883 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39884 macros.
39885 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39886 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39887 Change uses of L(2) to L(out).
39888 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39889 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39890 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39891 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39892 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39893 removed macros.
39894 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39895 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39896 macros.
39897 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39898 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39899 (RETURN): Do not use macro LEAVE.
39900 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39901 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39902 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39903 * sysdeps/i386/i686/memset.S (memset): Likewise.
39904 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39905 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39906 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39907 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39908 Likewise.
39909 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39910 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39911 L(1_2) and L(1_3) into L(1).
39912 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39913 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39914 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39915 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39916 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39917 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39918 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39919 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39920 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39921 macros.
39922 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39923 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39924 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39925 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39926 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39927 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39928 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39929 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39930 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39931 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39932 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39933 * sysdeps/i386/strspn.S (strspn): Likewise.
39934 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39935 conditional code.
39936 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39937 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39938 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39939 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39940 L(1_3) into L(1_1).
39941 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39942 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39943 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39944 macros.
39945 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39946
39947 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39948
39949 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39950 macro.
39951
39952 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39953
39954 * math/atest-exp.c (exp_mpn): Remove ROUND.
39955 * math/atest-exp2.c (exp_mpn): Likewise.
39956 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39957
39958 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39959 * stdlib/tst-tls-atexit-lib.c: Likewise.
39960 * stdlib/tst-tls-atexit.c: Likewise.
39961
39962 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39963
39964 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39965 and __attribute_alloc_size__.
39966
39967 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39968
39969 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39970 __attribute_alloc_size__.
39971 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39972 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39973
39974 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39975
39976 * include/programs/xmalloc.h: New file.
39977 * catgets/gencat.c: Include it.
39978 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39979 * elf/pldd.c: Likewise.
39980 * iconv/iconv_charmap.c: Likewise.
39981 * iconv/iconvconfig.c: Likewise.
39982 * iconv/strtab.c: Likewise.
39983 * locale/programs/locale.c: Likewise.
39984 * locale/programs/localedef.h: Likewise.
39985 * locale/programs/simple-hash.c: Likewise.
39986 * nscd/nscd.h: Likewise.
39987 * nss/makedb.c: Likewise.
39988 * sysdeps/generic/ldconfig.h: Likewise.
39989
39990 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39991
39992 * Versions.def: Add GLIBC_2.18.
39993 * include/link.h (struct link_map): New member l_tls_dtor_count.
39994 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39995 (__call_tls_dtors): Likewise.
39996 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39997 __cxa_thread_atexit_impl.
39998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39999 Likewise.
40000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40001 Likewise.
40002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40003 Likewise.
40004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40005 Likewise.
40006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40008 Likewise.
40009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40010 Likewise.
40011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40013 Likewise.
40014 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40015 (tests): Add test case tst-tls-atexit.
40016 (modules-names): Add shared library for tst-tls-atexit.
40017 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40018 (GLIBC_PRIVATE): Add __call_tls_dtors.
40019 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40020 for libstdc++.
40021 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40022 * stdlib/tst-tls-atexit.c: New test case.
40023 * stdlib/tst-tls-atexit-lib.c: New test case.
40024
40025 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40026
40027 * elf/Versions (ld): Add _dl_find_dso_for_object.
40028 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40029 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40030 (dl_open_worker): Use _dl_find_dso_for_object.
40031 * elf/dl-sym.c (do_sym): Likewise.
40032 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40033
40034 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40035
40036 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40037 Syntactic changes only.
40038 (_dl_runtime_profile): Do a tail-call to the resolved function.
40039
40040 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40041
40042 [BZ #13550]
40043 * sysdeps/x86_64/bp-asm.h: Remove file.
40044 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40045 <bp-sym.h> and <bp-asm.h>.
40046 (__clone): Do not use BP_SYM.
40047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40048 <bp-sym.h> and <bp-asm.h>.
40049 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40050 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40051 "bp-asm.h".
40052 (_setjmp): Do not use BP_SYM.
40053 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40054 "bp-asm.h".
40055 (setjmp): Do not use BP_SYM.
40056 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40057 libc_hidden_def.
40058 (mempcpy): Do not use BP_SYM in weak_alias.
40059 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40060 "bp-asm.h".
40061 (strchr): Do not use BP_SYM.
40062 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40063 "bp-asm.h".
40064 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40065 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40066 (_start): Do not use BP_SYM.
40067 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40068 "bp-asm.h".
40069 (strcat): Do not use BP_SYM.
40070 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40071 "bp-asm.h".
40072 (STRCMP): Do not use BP_SYM.
40073 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40074 "bp-asm.h".
40075 (STRCPY): Do not use BP_SYM.
40076 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40077 "bp-asm.h".
40078 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40079 "bp-asm.h".
40080 (FUNCTION): Do not use BP_SYM.
40081 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40082 weak_alias.
40083 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40084
40085 2013-02-17 Andreas Jaeger <aj@suse.de>
40086
40087 * time/Versions: Sort entries.
40088 * string/Versions: Likewise.
40089 * resolv/Versions: Likewise.
40090 * posix/Versions: Likewise.
40091 * iconv/Versions: Likewise.
40092 * elf/Versions: Likewise.
40093 * wcsmbs/Versions: Likewise.
40094
40095 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40096
40097 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40098 loop termination condition.
40099
40100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40101 variable to calculate EZ.
40102 (__sqr): Likewise.
40103
40104 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40105 the lower precision input.
40106
40107 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40108
40109 [BZ #13550]
40110 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40111 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40112 (run-via-rtld-prefix): Do not handle %-bp tests.
40113 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40114 (all-object-suffixes): Remove .ob.
40115 (bppfx): Remove variable.
40116 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40117 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40118 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40119 [$(build-bounded) = yes] (libtype.ob): Likewise.
40120 * Makerules (elide-routines.ob): Remove variable.
40121 (do-tests-clean): Do not handle *-bp.out.
40122 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40123 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40124 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40125 (tests): Do not include $(tests-bp.out).
40126 (xtests): Do not include $(xtests-bp.out).
40127 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40128 [$(build-bounded) = yes] ($(addprefix
40129 $(objpfx),$(binaries-bounded))): Remove rule.
40130 ($(objpfx)%-bp.out): Remove rule.
40131 * config.make.in (build-bounded): Remove variable.
40132 * crypt/Makefile [$(build-bounded) = yes]
40133 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40134 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40135 append to variable.
40136 [$(build-bounded) = yes] (install-lib): Likewise.
40137 [$(build-bounded) = yes] (generated): Likewise.
40138 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40139 Remove rule.
40140 * intl/Makefile [$(build-bounded) = yes]
40141 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40142 * math/Makefile [$(build-bounded) = yes]
40143 ($(tests:%=$(objpfx)%-bp): Likewise.
40144 * misc/Makefile [$(build-bounded) = yes]
40145 ($(objpfx)tst-tsearch-bp): Likewise.
40146 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40147 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40148 Remove dependency.
40149 * string/Makefile (o-objects.ob): Remove variable.
40150 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40151 (CFLAGS-.ob): Remove variable.
40152 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40153 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40154 both definitions of variable.
40155 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40156 (ASFLAGS-.ob): Remove variable.
40157
40158 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40159
40160 [BZ #13550]
40161 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40162 Remove __BOUNDED_POINTERS__ from condition.
40163 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40164 * string/bits/string2.h [!__NO_STRING_INLINES &&
40165 !__BOUNDED_POINTERS__]: Likewise.
40166 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40167 Likewise.
40168 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40169 Remove conditional code.
40170 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40171 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40172 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40173 condition.
40174
40175 [BZ #13550]
40176 * csu/libc-start.c: Do not include <bp-sym.h>.
40177 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40178 * elf/dl-open.c: Do not include <bp-sym.h>.
40179 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40180 * math/fegetenv.c: Do not include <bp-sym.h>.
40181 (fegetenv): Do not use BP_SYM in versioned symbols.
40182 * nptl/sysdeps/pthread/bits/libc-lockP.h
40183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40184 <bp-sym.h>.
40185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40186 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40188 (__pthread_mutex_destroy): Likewise.
40189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40190 (__pthread_mutex_lock): Likewise.
40191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40192 (__pthread_mutex_trylock): Likewise.
40193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40194 (__pthread_mutex_unlock): Likewise.
40195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40196 (__pthread_mutexattr_init): Likewise.
40197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40198 (__pthread_mutexattr_destroy): Likewise.
40199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40200 (__pthread_mutexattr_settype): Likewise.
40201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40202 (__pthread_rwlock_init): Likewise.
40203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40204 (__pthread_rwlock_destroy): Likewise.
40205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40206 (__pthread_rwlock_rdlock): Likewise.
40207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40208 (__pthread_rwlock_tryrdlock): Likewise.
40209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40210 (__pthread_rwlock_wrlock): Likewise.
40211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40212 (__pthread_rwlock_trywrlock): Likewise.
40213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40214 (__pthread_rwlock_unlock): Likewise.
40215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40216 (__pthread_key_create): Likewise.
40217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40218 (__pthread_setspecific): Likewise.
40219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40220 (__pthread_getspecific): Likewise.
40221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40222 Likewise.
40223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40224 (_pthread_cleanup_push_defer): Likewise.
40225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40226 (_pthread_cleanup_pop_restore): Likewise.
40227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40228 (pthread_setcancelstate): Likewise.
40229 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40230 <bp-sym.h>.
40231 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40232 (memchr): Do not use BP_SYM in weak_alias.
40233 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40234 (fegetenv): Do not use BP_SYM in versioned symbols.
40235 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40236 (fesetenv): Do not use BP_SYM in versioned symbols.
40237 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40238 (feupdateenv): Do not use BP_SYM in versioned symbols.
40239 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40240 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40241 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40242 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40243 (open64): Do not use BP_SYM in weak_alias.
40244 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40245 (fegetenv): Do not use BP_SYM in versioned symbols.
40246 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40247 (fesetenv): Do not use BP_SYM in versioned symbols.
40248 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40249 (feupdateenv): Do not use BP_SYM in versioned symbols.
40250 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40251 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40252 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40253 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40254 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40255 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40257 <bp-sym.h>.
40258 (__libc_start_main): Do not use BP_SYM.
40259
40260 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40261
40262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40263 redundant return line.
40264 (norm): Likewise.
40265 (denorm): Likewise.
40266 (dbl_mp): Likewise.
40267 (sub_magnitudes): Likewise.
40268 (__add): Likewise.
40269 (__sub): Likewise.
40270 (__mul): Likewise.
40271 (__inv): Likewise.
40272 (__dvd): Likewise.
40273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40274 (norm): Likewise.
40275 (denorm): Likewise.
40276 (dbl_mp): Likewise.
40277 (sub_magnitudes): Likewise.
40278 (__add): Likewise.
40279 (__sub): Likewise.
40280 (__mul): Likewise.
40281 (__inv): Likewise.
40282 (__dvd): Likewise.
40283
40284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40285 instead of __mul.
40286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40287 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40288 (cc32): Likewise.
40289
40290 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40291 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40293 of __mul for squares.
40294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40295 function
40296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40297 Likewise.
40298 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40299 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40300
40301 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40302
40303 [BZ #13550]
40304 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40305 code.
40306 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40307 prototype or function definition. Rename ubp_* variables and
40308 parameters. Remove argv definitions conditional on
40309 [__BOUNDED_POINTERS__].
40310 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40311 * elf/dl-runtime.c (_dl_fixup): Likewise.
40312 * include/set-hooks.h (RUN_HOOK): Likewise.
40313 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40314 definition.
40315 * string/strcpy.c (strcpy): Do not use __unbounded.
40316 * sysdeps/generic/frame.h (struct layout): Likewise.
40317 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40318 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40319 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40320 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40321 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40322 (__backtrace): Likewise.
40323 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40324 use __ptrvalue.
40325 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40326 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40327 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40328 Likewise.
40329 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40330 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40331 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40332 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40333 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40334 Do not use __unbounded.
40335 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40336 Rename __unboundedrlimits parameter to rlimits in prototype.
40337 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40338 Do not use __unbounded.
40339 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40340 not use __ptrvalue.
40341 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40342 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40343 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40344 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40345 __ptrvalue or __unbounded.
40346 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40347 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40348 use __unbounded.
40349 (__new_msgctl): Do not use __ptrvalue.
40350 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40351 __unbounded.
40352 (__libc_msgrcv): Do not use __ptrvalue.
40353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40354 startup_info): Do not use __unbounded.
40355 (__libc_start_main): Likewise. Rename ubp_* variables and
40356 parameters. Remove argv definitions conditional on
40357 [__BOUNDED_POINTERS__].
40358 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40359 __ptrvalue.
40360 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40361 use __unbounded.
40362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40363 or __ptrvalue.
40364 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40365 use __unbounded.
40366 (__new_shmctl): Do not use __ptrvalue.
40367 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40368 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40369 Likewise.
40370 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40372 (__libc_sigaction): Likewise.
40373 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40374 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40375 Likewise.
40376 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40377
40378 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40379
40380 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40381
40382 * string/mempcpy.c: Implement by calling memcpy.
40383
40384 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40385
40386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40387
40388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40389 evaluation.
40390
40391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40392 values in the mantissa.
40393
40394 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40395 minimize writes to Z.
40396 (sub_magnitudes): Simplify code a bit.
40397
40398 2013-02-12 Roland McGrath <roland@hack.frob.com>
40399
40400 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40401 from the message. The linker prefixes all warnings with that already.
40402
40403 2013-02-12 Andreas Schwab <schwab@suse.de>
40404
40405 [BZ #15078]
40406 * posix/regexec.c (extend_buffers): Add parameter min_len.
40407 (check_matching): Pass minimum needed length.
40408 (clean_state_log_if_needed): Likewise.
40409 (get_subexp): Likewise.
40410 * posix/Makefile (tests): Add bug-regex34.
40411 (bug-regex34-ENV): Define.
40412 * posix/bug-regex34.c: New file.
40413
40414 [BZ #11561]
40415 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40416 elements compare against the byte sequence of it, not its name.
40417 * posix/Makefile (tests): Add bug-regex35.
40418 (bug-regex35-ENV): Define.
40419 * posix/bug-regex35.c: New file.
40420
40421 2013-02-11 Tom de Vries <tom@codesourcery.com>
40422
40423 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40424 comment.
40425 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40426 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40427 (CHECK_EOL): Add undef.
40428
40429 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40430
40431 * bits/stdlib-bsearch.h: New file.
40432 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40433 * stdlib/stdlib.h: Likewise.
40434
40435 2013-02-11 Roland McGrath <roland@hack.frob.com>
40436
40437 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40438 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40439 declaration.
40440 * manual/search.texi (Array Search Function): Add missing const in
40441 lfind prototype.
40442 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40443 declaration to use rlim_t.
40444 (Basic Scheduling Functions): Remove erroneous const from
40445 sched_getparam prototype. Remove erroneous * from
40446 sched_get_priority_max and sched_get_priority_min prototypes.
40447 (Resource Usage): Fix summary @comment on vtimes to refer to
40448 sys/vtimes.h rather than vtimes.h.
40449 Add missing *s in vtimes prototype.
40450 (Limits on Resources): Fix ulimit prototype to return long int.
40451 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40452 prototypes to use long int rather than double.
40453 (BSD Random): Fix initstate and setstate to use char *, not void *.
40454 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40455 prototype to make second argument 'struct aiocb64 *const[]'.
40456 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40457 (Status of AIO Operations): Remove erroneous const in aio_return and
40458 aio_return64 prototypes.
40459 (Synchronizing I/O): Fix sync prototype to return void.
40460 * manual/startup.texi (Suboptions): Remove an erroneous const in
40461 getsubopt prototype.
40462 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40463 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40464 use size_t rather than int.
40465 (Scanning All Users): Likewise for getpwent_r.
40466 (Setting Groups): Add missing const to setgroups prototype.
40467 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40468 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40469 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40470 'const void *' rather than 'const char *'.
40471 (Host Address Functions): Likewise for inet_ntop.
40472 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40473 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40474 ssize_t for return value.
40475 (Sending Data): Likewise for send, sendto, sendmsg.
40476 (Socket Option Functions): Add a missing const in setsockopt prototype.
40477 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40478 use wchar_t for the argument.
40479 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40480 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40481 take no arguments.
40482 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40483 double/float/long double for second argument.
40484 Fix return types of significand, significandf, significandl.
40485 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40486 argument in fchmod prototype.
40487 (File Owner): Use uid_t and gid_t in fchown prototype.
40488 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40489 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40490 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40491 use 'const struct dirent **' as argument types to CMP function pointer
40492 argument.
40493 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40494 (File Times): Fix summary magic @comment for struct utimbuf and utime
40495 to refer to utime.h, not time.h.
40496 * manual/string.texi (Argz Functions): Add missing const in
40497 argz_extract and argz_next prototypes.
40498 (Finding Tokens in a String): Likewise for basename.
40499 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40500 (Copying and Concatenation): Fix typo in wmemmove prototype.
40501 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40502 (Signal Stack): Remove erroneous const in sigstack prototype.
40503 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40504 prototype.
40505 (Simple Calendar Time): Likewise for stime.
40506 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40507 prototype.
40508 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40509 say sys/sysctl.h instead.
40510 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40511 and vsyslog prototypes.
40512
40513 2013-02-11 Tom de Vries <tom@codesourcery.com>
40514
40515 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40516 Remove.
40517
40518 2013-02-11 Roland McGrath <roland@hack.frob.com>
40519
40520 * misc/sys/mman.h: Fix typo in mremap comment.
40521
40522 2013-02-08 Roland McGrath <roland@hack.frob.com>
40523
40524 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40525 the '\0' terminator.
40526
40527 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40528
40529 [BZ #13550]
40530 * debug/segfault.c: Don't include <bp-checks.h>.
40531 * sysdeps/generic/bp-checks.h: Remove file.
40532 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40533 (__GETDENTS): Don't use CHECK_N.
40534 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40535 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40536 (__getgroups): Don't use CHECK_N.
40537 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40538 (setgroups): Don't use CHECK_N.
40539 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40540 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40541 (__libc_msgrcv): Don't use CHECK_N.
40542 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40543 (__libc_msgsnd): Don't use CHECK_N.
40544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40545 <bp-checks.h>.
40546 (__libc_pread): Don't use CHECK_N.
40547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40548 include <bp-checks.h>.
40549 (__libc_pread64): Don't use CHECK_N.
40550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40551 include <bp-checks.h>.
40552 (__libc_pwrite): Don't use CHECK_N.
40553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40554 include <bp-checks.h>.
40555 (__libc_pwrite64): Don't use CHECK_N.
40556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40557 <bp-checks.h>.
40558 (__libc_pread): Don't use CHECK_N.
40559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40560 include <bp-checks.h>.
40561 (__libc_pread64): Don't use CHECK_N.
40562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40563 include <bp-checks.h>.
40564 (__libc_pwrite): Don't use CHECK_N.
40565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40566 include <bp-checks.h>.
40567 (__libc_pwrite64): Don't use CHECK_N.
40568 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40569 (do_pread): Don't use CHECK_N.
40570 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40571 (do_pread64): Don't use CHECK_N.
40572 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40573 (do_pwrite): Don't use CHECK_N.
40574 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40575 (do_pwrite64): Don't use CHECK_N.
40576 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40577 (__libc_readv): Don't use CHECK_N.
40578 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40579 (semop): Don't use CHECK_N.
40580 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40581 <bp-checks.h>.
40582 (semtimedop): Don't use CHECK_N.
40583 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40584 (__libc_pread): Don't use CHECK_N.
40585 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40586 <bp-checks.h>.
40587 (__libc_pread64): Don't use CHECK_N.
40588 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40589 <bp-checks.h>.
40590 (__libc_pwrite): Don't use CHECK_N.
40591 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40592 <bp-checks.h>.
40593 (__libc_pwrite64): Don't use CHECK_N.
40594 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40595 <bp-checks.h>.
40596 (__libc_msgrcv): Don't use CHECK_N.
40597 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40598 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40599 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40600 (__libc_writev): Don't use CHECK_N.
40601
40602 2013-02-08 Roland McGrath <roland@hack.frob.com>
40603
40604 * string/strcpy.c: Removed unused variable.
40605
40606 * Makeconfig (+sysdep-includes): Define with := rather than =.
40607 Use an existing include/ subdir of each sysdeps dir before it.
40608
40609 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40610
40611 * nscd/connection.c (register_traced_file): Comment function.
40612 [HAVE_INOTIFY] (union __inev): Define.
40613 [HAVE_INOTIFY] (inotify_check_files): New function.
40614 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40615 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40616 clear_db_cache.
40617 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40618
40619 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40620
40621 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40622 loaded if not already and that a failure is permanent.
40623
40624 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40625
40626 [BZ #15006]
40627 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40628 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40629
40630 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40631
40632 [BZ #13550]
40633 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40634 (CHECK_1_NULL_OK): Likewise.
40635 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40636 (__fxstat): Do not use CHECK_1.
40637 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40638 <bp-checks.h>.
40639 (___fxstat64): Do not use CHECK_1.
40640 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40641 <bp-checks.h>.
40642 (__fxstatat): Do not use CHECK_1.
40643 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40644 <bp-checks.h>.
40645 (__fxstatat64): Do not use CHECK_1.
40646 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40647 <bp-checks.h>.
40648 (__fxstat): Do not use CHECK_1.
40649 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40650 <bp-checks.h>.
40651 (__fxstatat): Do not use CHECK_1.
40652 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40653 <bp-checks.h>.
40654 (__getresgid): Do not use CHECK_1.
40655 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40656 <bp-checks.h>.
40657 (__getresuid): Do not use CHECK_1.
40658 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40659 <bp-checks.h>.
40660 (__lxstat): Do not use CHECK_1.
40661 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40662 <bp-checks.h>.
40663 (__old_msgctl): Do not use CHECK_1.
40664 (__new_msgctl): Likewise.
40665 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40666 <bp-checks.h>.
40667 (__new_setrlimit): Do not use CHECK_1.
40668 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40669 <bp-checks.h>.
40670 (__old_shmctl): Do not use CHECK_1.
40671 (__new_shmctl): Likewise.
40672 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40673 <bp-checks.h>.
40674 (__xstat): Do not use CHECK_1.
40675 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40676 (__lxstat): Do not use CHECK_1.
40677 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40678 <bp-checks.h>.
40679 (___lxstat64): Do not use CHECK_1.
40680 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40681 (__old_msgctl): Do not use CHECK_1.
40682 (__new_msgctl): Likewise.
40683 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40684 <bp-checks.h>.
40685 (__gettimeofday): Do not use CHECK_1.
40686 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40687 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40688 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40689 <bp-checks.h>.
40690 (__gettimeofday): Do not use CHECK_1.
40691 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40692 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40693 (__new_shmctl): Do not use CHECK_1.
40694 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40695 <bp-checks.h>.
40696 (do_sigtimedwait): Do not use CHECK_1.
40697 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40698 <bp-checks.h>.
40699 (do_sigwaitinfo): Do not use CHECK_1.
40700 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40701 <bp-checks.h>.
40702 (msgctl): Do not use CHECK_1.
40703 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40704 <bp-checks.h>.
40705 (shmctl): Do not use CHECK_1.
40706 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40707 (ustat): Do not use CHECK_1.
40708 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40709 <bp-checks.h>.
40710 (__fxstat): Do not use CHECK_1.
40711 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40712 <bp-checks.h>.
40713 (__fxstatat): Do not use CHECK_1.
40714 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40715 <bp-checks.h>.
40716 (__lxstat): Do not use CHECK_1.
40717 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40718 <bp-checks.h>.
40719 (__xstat): Do not use CHECK_1.
40720 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40721 (__xstat): Do not use CHECK_1.
40722 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40723 (___xstat64): Do not use CHECK_1.
40724
40725 [BZ #13550]
40726 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40727 definitions.
40728 (CHECK_BOUNDS_HIGH): Likewise.
40729 * string/strcpy.c: Do not include <bp-checks.h>.
40730 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40731
40732 2013-02-07 Roland McGrath <roland@hack.frob.com>
40733
40734 * nscd/nscd-client.h (__nscd_drop_map_ref):
40735 Add __attribute__ ((unused)).
40736 * nis/nss-nisplus.h (niserr2nss): Likewise.
40737
40738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40739 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40740
40741 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40742 Remove inline keyword.
40743 * include/rounding-mode.h (round_away): Likewise.
40744 * libio/wfileops.c (adjust_wide_data): Likewise.
40745 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40746 (__m128i_strloadu_tolower): Likewise.
40747 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40748 (__m128i_strloadu_tolower): Likewise.
40749 * time/mktime.c (ydhms_diff): Likewise.
40750 * locale/elem-hash.h (elem_hash): Likewise.
40751 * locale/setlocale.c (setdata): Likewise.
40752 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40753 (re_string_wchar_at): Likewise.
40754 (bitset_not, bitset_merge, bitset_mask): Likewise.
40755 [!(__GNUC__ > 3)] (inline): Remove macro.
40756 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40757 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40758 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40759 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40760 * string/memcmp.c (memcmp_bytes): Likewise.
40761 * locale/programs/locarchive.c (compute_hashval): Likewise.
40762 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40763 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40764 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40765 * nss/getent.c (print_rpc, print_protocols): Likewise.
40766 (print_passwd, print_group, print_aliases): Likewise.
40767 * nis/nss-nisplus.h (niserr2nss): Likewise.
40768 * nscd/connections.c (restart_p): Likewise.
40769 Change return type to bool.
40770
40771 2013-02-05 Roland McGrath <roland@hack.frob.com>
40772
40773 * Makeconfig (all-Depend-files): Add existing
40774 $(sorted-subdirs:=/Depend) files.
40775 (all-subdirs): Remove nss.
40776 * sysdeps/unix/inet/Subdirs: Add it here instead.
40777 * hesiod/Depend: New file.
40778
40779 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40780 instead of calling alloca.
40781
40782 * io/lseek.c (__lseek): Rename to __libc_lseek.
40783 Define __lseek as an alias.
40784
40785 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40786
40787 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40788
40789 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40790 else clause and remove check for non-standard endianness.
40791
40792 2013-02-04 David S. Miller <davem@davemloft.net>
40793
40794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40795
40796 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40797
40798 [BZ #13550]
40799 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40800 (__ubp_memchr): Remove prototype.
40801 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40802 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40803 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40804 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40805 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40806 Remove alias.
40807 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40808 (__ubp_memchr): Likewise.
40809 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40810 (__ubp_memchr): Likewise.
40811 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40812 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40813 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40814 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40815 CHECK_STRING.
40816 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40817 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40818 (__getcwd): Do not use CHECK_STRING.
40819 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40820 <bp-checks.h>.
40821 (__real_chown): Do not use CHECK_STRING.
40822 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40823 <bp-checks.h>.
40824 (fchownat): Do not use CHECK_STRING.
40825 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40826 CHECK_STRING.
40827 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40828 <bp-checks.h>.
40829 (__lchown): Do not use CHECK_STRING.
40830 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40831 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40832 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40833 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40835 include <bp-checks.h>.
40836 (truncate64): Do not use CHECK_STRING.
40837 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40838 <bp-checks.h>.
40839 (__real_chown): Do not use CHECK_STRING.
40840 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40841 <bp-checks.h>.
40842 (__lchown): Do not use CHECK_STRING.
40843 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40844 <bp-checks.h>.
40845 (__chown): Do not use CHECK_STRING.
40846 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40847 <bp-checks.h>.
40848 (truncate64): Do not use CHECK_STRING.
40849 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40850 Likewise.
40851 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40852 (__xmknod): Do not use CHECK_STRING.
40853 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40854 <bp-checks.h>.
40855 (__xmknodat): Do not use CHECK_STRING.
40856 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40857 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40858
40859 2013-02-04 Andreas Schwab <schwab@suse.de>
40860
40861 [BZ #14142]
40862 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40863 * include/netdb.h: Likewise for h_errno.
40864 * elf/tst-stackguard1.c: Include <tls.h>.
40865
40866 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40867
40868 * elf/link.h (struct link_map): Extend the l_addr comment.
40869 * include/link.h (struct link_map): Likewise.
40870
40871 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40872
40873 [BZ #13550]
40874 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40875 (BOUNDED_1): Remove macro.
40876 * debug/backtrace.c: Don't include <bp-checks.h>.
40877 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40878 (__backtrace): Likewise.
40879 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40880 <bp-checks.h>.
40881 (__backtrace): Don't use BOUNDED_1.
40882 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40883 <bp-checks.h>.
40884 (__backtrace): Don't use BOUNDED_1.
40885 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40886 (__backtrace): Don't use BOUNDED_1.
40887 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40888 (shmat): Don't use BOUNDED_N.
40889
40890 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40891
40892 [BZ #13550]
40893 * sysdeps/generic/bp-start.h: Remove file.
40894 * csu/libc-start.c: Don't include <bp-start.h>.
40895 (LIBC_START_MAIN): Set up __environ directly instead of using
40896 INIT_ARGV_and_ENVIRON.
40897 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40898 <bp-start.h>.
40899
40900 [BZ #13550]
40901 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40902 definitions.
40903 (CHECK_FCNTL): Likewise.
40904 (CHECK_N_PAGES): Likewise.
40905
40906 [BZ #13550]
40907 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40908 definitions.
40909 (CHECK_SIGSET_NULL_OK): Likewise.
40910 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40911 <bp-checks.h>.
40912 (sigpending): Don't use CHECK_SIGSET.
40913 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40914 <bp-checks.h>.
40915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40916 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40917 <bp-checks.h>.
40918 (do_sigsuspend): Don't use CHECK_SIGSET.
40919 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40920 use CHECK_SIGSET.
40921 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40922 (do_sigwait): Don't use CHECK_SIGSET.
40923 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40924 use CHECK_SIGSET.
40925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40926 include <bp-checks.h>.
40927 (sigpending): Don't use CHECK_SIGSET.
40928 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40929 include <bp-checks.h>.
40930 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40931 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40932 <bp-checks.h>.
40933 (sigpending): Don't use CHECK_SIGSET.
40934 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40935 <bp-checks.h>.
40936 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40937
40938 [BZ #13550]
40939 * sysdeps/generic/bp-semctl.h: Remove file.
40940 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40941 <bp-checks.h> and <bp-semctl.h>.
40942 (__old_semctl): Don't use CHECK_SEMCTL.
40943 (__new_semctl): Likewise.
40944 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40945 and <bp-semctl.h>.
40946 (__old_semctl): Don't use CHECK_SEMCTL.
40947 (__new_semctl): Likewise.
40948 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40949 <bp-checks.h> and <bp-semctl.h>.
40950 (__old_semctl): Don't use CHECK_SEMCTL.
40951 (__new_semctl): Likewise.
40952 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40953 <bp-checks.h> and <bp-semctl.h>.
40954 (semctl): Don't use CHECK_SEMCTL.
40955
40956 [BZ #13550]
40957 * Makerules (elide-bp-thunks): Remove variable.
40958 (elide-routines.oS): Don't use $(elide-bp-thunks).
40959 (elide-routines.os): Likewise.
40960 (elide-routines.o): Likewise.
40961 (elide-routines.op): Likewise.
40962 (elide-routines.og): Likewise.
40963 (objects): Don't use $(bp-thunks).
40964 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40965 include.
40966 (common-generated): Do not add s-proto-bp.d.
40967 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40968 (int): Likewise.
40969 (typ): Likewise.
40970 Do not generate makefile rules for bounded-pointer thunks.
40971 * sysdeps/generic/bp-thunks.h: Remove file.
40972 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40973 * sysdeps/unix/s-proto-bp.S: Likewise.
40974
40975 [BZ #15062]
40976 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40977 parts of result separately when argument is not close to line from
40978 -i to i and one part of argument is small.
40979 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40980 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40981 * math/libm-test.inc (cacos_test): Add more tests.
40982 (casin_test): Likewise.
40983 (casinh_test): Likewise.
40984 * sysdeps/i386/fpu/libm-test-ulps: Update.
40985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40986
40987 2013-01-31 David S. Miller <davem@davemloft.net>
40988
40989 * po/de.po: Update from translation team.
40990
40991 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40992
40993 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40994
40995 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40996
40997 * configure.in (_AC_PROG_CC_C89): New definition.
40998 * configure: Regenerate.
40999
41000 * configure.in (AC_PROG_CPP): New definition.
41001 * configure: Regenerate.
41002
41003 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41004
41005 * debug/tst-backtrace.h: New file.
41006 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41007 (ret): Remove variable.
41008 (x): Likewise.
41009 (FAIL): Remove macro.
41010 (NO_INLINE): Likewise.
41011 (fn1): Use match function instead of strstr.
41012 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41013 (ret): Remove variable.
41014 (x): Likewise.
41015 (FAIL): Remove macro.
41016 (NO_INLINE): Likewise.
41017 (fn): Use match function instead of strstr.
41018 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41019 (ret): Remove variable.
41020 (x): Likewise.
41021 (FAIL): Remove macro.
41022 (NO_INLINE): Likewise.
41023 (handle_signal): Use match function instead of strstr.
41024 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41025 (ret): Remove variable.
41026 (x): Likewise.
41027 (FAIL): Remove macro.
41028 (NO_INLINE): Likewise.
41029 (handle_signal): Use match function instead of strstr.
41030
41031 2013-01-23 Roland McGrath <roland@hack.frob.com>
41032
41033 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41034
41035 2013-01-23 David S. Miller <davem@davemloft.net>
41036
41037 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41038 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41039 argument of CAS if possible.
41040 * sysdeps/sparc/sparc64/bits/atomic.h
41041 (__arch_compare_and_exchange_val_32_acq): Likewise.
41042 (__arch_compare_and_exchange_val_64_acq): Likewise.
41043
41044 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41045
41046 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41047 * sysdeps/posix/ulimit.c: ... this.
41048 Include <limits.h>.
41049 * sysdeps/unix/bsd/ulimit.c: Remove file.
41050
41051 2013-01-23 Adam Conrad <adconrad@0c3.net>
41052
41053 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41054 (LDFLAGS-tst-array5): Likewise.
41055
41056 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41057
41058 [BZ #15036]
41059 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41060 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41061 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41062 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41063
41064 2013-01-21 David S. Miller <davem@davemloft.net>
41065
41066 * sysdeps/sparc/backtrace.c: New file.
41067 * sysdeps/sparc/sparc32/backtrace.h: New file.
41068 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41069 * sysdeps/sparc/sparc64/backtrace.h: New file.
41070 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41071 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41072 -funwind-tables.
41073
41074 2013-01-21 Andreas Schwab <schwab@suse.de>
41075
41076 [BZ #15020]
41077 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41078 closed its stdout.
41079
41080 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41081
41082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41083 "mpa2.h".
41084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41085
41086 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41087 Mark Mitchell <mark@codesourcery.com>
41088 Tom de Vries <tom@codesourcery.com>
41089 Paul Pluzhnikov <ppluzhnikov@google.com>
41090
41091 * debug/tst-backtrace2.c: New file.
41092 * debug/tst-backtrace3.c: Likewise.
41093 * debug/tst-backtrace4.c: Likewise.
41094 * debug/tst-backtrace5.c: Likewise.
41095 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41096 (CFLAGS-tst-backtrace3.c): Likewise.
41097 (CFLAGS-tst-backtrace4.c): Likewise.
41098 (CFLAGS-tst-backtrace5.c): Likewise.
41099 (LDFLAGS-tst-backtrace2): Likewise.
41100 (LDFLAGS-tst-backtrace3): Likewise.
41101 (LDFLAGS-tst-backtrace4): Likewise.
41102 (LDFLAGS-tst-backtrace5): Likewise.
41103 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41104 tst-backtrace4 and tst-backtrace5.
41105
41106 2013-01-18 Anton Blanchard <anton@samba.org>
41107 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41108
41109 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41110 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41111 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41112 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41114 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41115 "+r" and remove output regs list as redundant. Add explicit inline
41116 asm to specify register of return val to work around compiler codegen
41117 bug. Remove (int) cast on return value. Add return type parameter to
41118 use in macro so that this macro does not truncate return value for
41119 64-bit values.
41120 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41121 pass to INTERNAL_VSYSCALL_NCS.
41122 (INLINE_VSYSCALL): Add 'long int' as return type to
41123 INTERNAL_VSYSCALL_NCS macro invocation.
41124 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41125 INTERNAL_VSYSCALL_NCS macro invocation.
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41127
41128 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41129
41130 [BZ #14496]
41131 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41132 Fix application of SIMD FP exception mask.
41133
41134 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41135 mp_no from a power of two.
41136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41137 __mpexp_twomm1. Use __pow_mp.
41138
41139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41140 multiplication.
41141
41142 2013-01-17 David S. Miller <davem@davemloft.net>
41143
41144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41145
41146 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41147
41148 [BZ #15023]
41149 * include/complex.h: Condition contents on [!_COMPLEX_H].
41150 (__kernel_casinhf): New prototype.
41151 (__kernel_casinh): Likewise.
41152 (__kernel_casinhl): Likewise.
41153 * math/Makefile (libm_calls): Add k_casinh.
41154 * math/k_casinh.c: New file.
41155 * math/k_casinhf.c: Likewise.
41156 * math/k_casinhl.c: Likewise.
41157 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41158 finite nonzero arguments.
41159 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41160 finite nonzero arguments.
41161 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41162 finite nonzero arguments.
41163 * math/s_casinh.c: Do not include <float.h>.
41164 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41165 * math/s_casinhf.c: Do not include <float.h>.
41166 (__casinhf): Move code for finite nonzero arguments to
41167 k_casinhf.c.
41168 * math/s_casinhl.c: Do not include <float.h>.
41169 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41170 redefine.
41171 (__casinhl): Move code for finite nonzero arguments to
41172 k_casinhl.c.
41173 * math/libm-test.inc (cacos_test): Add more tests.
41174 * sysdeps/i386/fpu/libm-test-ulps: Update.
41175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41176
41177 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41178
41179 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41180 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41181 [!HAVE_MREMAP]: Remove [defined linux] case.
41182 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41183
41184 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41185
41186 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41187
41188 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41189
41190 * elf/elf.h (R_386_SIZE32): New relocation.
41191 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41192 R_386_SIZE32.
41193 (elf_machine_rela): Likewise.
41194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41195 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41196
41197 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41198
41199 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41200 (FP_FAST_FMA): Do not define.
41201 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41202 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41203 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41204 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41205 !_SOFT_FLOAT]: Likewise.
41206 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41207 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41208 value.
41209 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41210 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41211 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41212 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41213 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41214 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41215 file.
41216
41217 2013-01-16 Andreas Schwab <schwab@suse.de>
41218
41219 [BZ #14327]
41220 * include/stdlib.h (__mktemp): Add declaration.
41221 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41222 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41223
41224 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41225
41226 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41227 definitions.
41228 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41229 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41230 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41231 definitions here.
41232 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41233 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41234 definitions.
41235 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41236 and ONE.
41237 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41238 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41239 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41240 definitions.
41241 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41242 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41243 definitions.
41244 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41245
41246 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41247
41248 2013-01-15 David S. Miller <davem@davemloft.net>
41249
41250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41251 trunc{,f} to libm-sysdep_routes.
41252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41254 file.
41255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41257 file.
41258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41259 file.
41260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41262 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41263 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41264 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41265 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41266 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41267 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41268
41269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41270 nearbyint{,f} to libm-sysdep_routes.
41271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41273 New file.
41274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41275 file.
41276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41277 New file.
41278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41279 file.
41280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41283 file.
41284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41285 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41286 file.
41287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41288 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41289 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41290
41291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41292 libc_feholdexcept and libc_fesetenv.
41293
41294 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41295
41296 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41297
41298 2013-01-14 David S. Miller <davem@davemloft.net>
41299
41300 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41301 (SPARC_ASM_VIS2_IFUNC): Likewise.
41302 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41304 use of 'siam' instruction.
41305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41306 Likewise.
41307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41308 Likewise.
41309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41310 Likewise.
41311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41316 file.
41317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41318 file.
41319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41320 file.
41321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41322 file.
41323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41328 new VIS2 routines.
41329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41332 Likewise.
41333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41338 routines to libm-sysdep_routines.
41339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41340
41341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41342 fdim/fdimf to libm-sysdep_routines.
41343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41344 file.
41345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41347 file.
41348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41351 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41352 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41353 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41354 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41355
41356 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41357
41358 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41359 to optimize copies.
41360
41361 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41364
41365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41366 local variable MPTWO.
41367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41368 Likewise.
41369
41370 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41371
41372 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41373 GLOB_NOESCAPE.
41374
41375 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41376
41377 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41378
41379 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41380
41381 * manual/pattern.texi (glob_t): Document gl_flags.
41382 (glob64_t): Likewise.
41383
41384 2013-01-11 David S. Miller <davem@davemloft.net>
41385
41386 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41387 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41388 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41389 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41390 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41391 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41392 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41393 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41394 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41395 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41396 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41397 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41398 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41399
41400 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41401 sparc V9 rather than using V8 code.
41402 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41403 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41404
41405 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41406 Move to...
41407 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41408 Here.
41409
41410 2013-01-11 Roland McGrath <roland@hack.frob.com>
41411
41412 [BZ #14941]
41413 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41414 not in the main loop.
41415 * configure: Regenerated.
41416
41417 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41418
41419 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41420 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41421 to just #else.
41422 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41423 [!__GLIBC_HAVE_LONG_LONG] case.
41424 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41425 condition to just #else.
41426 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41427 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41428 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41429 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41430 unconditional.
41431 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41432 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41433 #elif condition to just #else.
41434 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41435 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41436 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41437 #elif condition to just #else.
41438
41439 2013-01-11 Steve Ellcey <sellcey@mips.com>
41440
41441 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41442 (EF_MIPS_ARCH_64): Fix value.
41443 (EF_MIPS_ARCH_32R2): New.
41444 (EF_MIPS_ARCH_64R2): New.
41445
41446 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41447
41448 * Makeconfig (+link-pie-before-libc): New.
41449 (+link-pie-after-libc): Likewise.
41450 (+link-pie-tests): Likewise.
41451 (+link-pie): Rewritten.
41452 (link-before-libc): Remove $(config-LDFLAGS).
41453 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41454 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41455 (config-LDFLAGS): Renamed to ...
41456 (rtld-LDFLAGS): This.
41457 (rtld-tests-LDFLAGS): New macro.
41458 (link-libc-rpath-link): Likewise.
41459 (link-libc-tests-rpath-link): Likewise.
41460 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41461 (link-libc): Prepand $(link-libc-rpath-link).
41462 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41463 (test-program-prefix): New macro.
41464 (test-via-rtld-prefix): Likewise.
41465 (test-program-cmd): Likewise.
41466 (host-test-program-cmd): Likewise.
41467 * Makefile ($(common-objpfx)testrun.sh): Replace
41468 $(run-program-prefix) with $(test-program-prefix).
41469 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41470 $(rtld-LDFLAGS).
41471 ($(common-objpfx)shlib.lds): Likewise.
41472 (build-module-helper): Likewise.
41473 ($(common-objpfx)format.lds): Likewise.
41474 * Rules (binaries-pie-tests): New.
41475 (binaries-pie-notests): Likewise.
41476 (binaries-pie): Rewritten.
41477 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41478 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41479 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41480 (make-test-out): Replace $(host-built-program-cmd) with
41481 $(host-test-program-cmd).
41482 * config.make.in (build-hardcoded-path-in-tests): New variable.
41483 * configure.in (--enable-hardcoded-path-in-tests): New configure
41484 option.
41485 (hardcoded_path_in_tests): New AC_SUBST.
41486 * configure: Regenerated.
41487 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41488 $(built-program-cmd) with $(test-program-cmd).
41489 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41490 (test_program_cmd): This.
41491 * elf/Makefile ($(objpfx)order.out): Run test with
41492 $(test-program-prefix).
41493 ($(objpfx)order2.out): Likewise.
41494 ($(objpfx)tst-initorder.out): Likewise.
41495 ($(objpfx)tst-initorder2.out): Likewise.
41496 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41497 $(test-program-cmd).
41498 ($(objpfx)tst-array1-static.out): Likewise.
41499 ($(objpfx)tst-array2.out): Likewise.
41500 ($(objpfx)tst-array3.out): Likewise.
41501 ($(objpfx)tst-array4.out): Likewise.
41502 ($(objpfx)tst-array5.out): Likewise.
41503 ($(objpfx)tst-array5-static.out): Likewise.
41504 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41505 $(test-program-cmd).
41506 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41507 $(run-program-prefix) with $(test-program-prefix).
41508 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41509 (test_program_prefix): This.
41510 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41511 $(run-program-prefix) with $(test-program-prefix).
41512 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41513 (test_program_prefix): This.
41514 * iconvdata/tst-tables.sh: Likewise.
41515 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41516 $(run-program-prefix) with $(test-program-prefix).
41517 ($(objpfx)tst-translit.out): Likewise.
41518 ($(objpfx)tst-gettext2.out): Likewise.
41519 ($(objpfx)tst-gettext4.out): Likewise.
41520 ($(objpfx)tst-gettext6.out): Likewise.
41521 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41522 (test_program_prefix): This.
41523 * intl/tst-gettext2.sh: Likewise.
41524 * intl/tst-gettext4.sh Likewise.
41525 * intl/tst-gettext6.sh: Likewise.
41526 * intl/tst-translit.sh: Likewise.
41527 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41528 with $(test-program-cmd).
41529 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41530 $(run-program-prefix) with $(test-program-prefix).
41531 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41532 (test_program_prefix): This.
41533 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41534 $(run-program-prefix) with $(test-program-prefix).
41535 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41536 (test_program_prefix): This.
41537 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41538 * posix/Makefile ($(objpfx)globtest.out): Replace
41539 $(run-via-rtld-prefix) and $(test-wrapper) with
41540 $(test-program-prefix) and $(test-via-rtld-prefix).
41541 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41542 $(test-program-prefix).
41543 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41544 $(host-test-program-cmd).
41545 (tst-spawn-ARGS): Likewise.
41546 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41547 $(test-program-prefix).
41548 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41549 (test_via_rtld_prefix): This.
41550 (test_wrapper): Renamed to ...
41551 (test_program_prefix): This.
41552 (run_program_prefix): Replaced by test_program_prefix.
41553 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41554 (test_program_prefix): This.
41555 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41556 with $(host-test-program-cmd).
41557 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41558 $(run-program-prefix) with $(test-program-prefix).
41559 ($(objpfx)tst-printf.out): Likewise.
41560 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41561 $(test-program-cmd).
41562 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41563 (test_program_prefix): This.
41564 * stdio-common/tst-unbputc.sh: Likewise.
41565 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41566 $(run-program-prefix) with $(test-program-prefix).
41567 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41568 (test_program_prefix): This.
41569 * string/Makefile ($(objpfx)tst-svc.out): Replace
41570 $(built-program-cmd) with $(test-program-cmd).
41571
41572 2013-01-11 Andreas Jaeger <aj@suse.de>
41573
41574 [BZ #15003]
41575 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41576 value. Sync with Linux 3.7.
41577
41578 2013-01-10 David S. Miller <davem@davemloft.net>
41579
41580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41581 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41582 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41583
41584 2013-01-10 Roland McGrath <roland@hack.frob.com>
41585
41586 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41587 never set.
41588 * configure: Regenerated.
41589
41590 2013-01-10 David S. Miller <davem@davemloft.net>
41591
41592 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41593 sparc V9 rather than using V8 code.
41594 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41595 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41596
41597 2013-01-10 Roland McGrath <roland@hack.frob.com>
41598
41599 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41600 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41601 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41602 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41603 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41604 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41605 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41606 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41607 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41608 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41609 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41610 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41611 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41612 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41613 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41614 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41615 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41616 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41617 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41618 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41619 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41620 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41621 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41622 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41623 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41624 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41625 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41626
41627 2013-01-10 David S. Miller <davem@davemloft.net>
41628
41629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41630
41631 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41632
41633 * posix/Makefile (tests-static): New variable.
41634 (tests): Add $(tests-static).
41635 (tst-exec-static-ARGS): New variable.
41636 (tst-spawn-static-ARGS): Likewise.
41637 * posix/tst-exec-static.c: New file.
41638 * posix/tst-spawn-static.c: Likewise.
41639 * posix/tst-exec.c: Support run directly.
41640 * posix/tst-spawn.c: Likewise.
41641
41642 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41643
41644 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41645 long.
41646 * math/bits/mathcalls.h (llrint): Likewise.
41647 (llround): Likewise.
41648 * stdlib/stdlib.h (struct drand48_data): Likewise.
41649 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41650 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41651 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41652 Likewise.
41653 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41654 Likewise.
41655 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41656 (elf_greg_t): Likewise.
41657 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41658 (__jmp_buf): Likewise.
41659 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41660 definitions.
41661 (llrint): Likewise, for all definitions.
41662 (llrintl): Likewise.
41663
41664 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41665 Remove [__GNUC__] condition.
41666 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41667 condition to just [__USE_ISOC99].
41668 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41669
41670 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41671
41672 [BZ #14200]
41673 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41674 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41675 defined.
41676 (_POSIX_V6_ILP32_OFF32): Likewise.
41677 (_XBS5_ILP32_OFF32): Likewise.
41678 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41679 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41680
41681 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41682
41683 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41684
41685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41686 doubles __mpexp_twomm1. Adjust usage.
41687 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41688 Remove.
41689
41690 2013-01-10 Andreas Schwab <schwab@suse.de>
41691
41692 [BZ #14964]
41693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41694 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41695
41696 2013-01-09 David S. Miller <davem@davemloft.net>
41697
41698 [BZ #15003]
41699 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41700 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41701 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41702 (TCP_FASTOPEN): Define.
41703 (tcp_repair_opt): New structure.
41704 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41705 enum values.
41706 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41707 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41708 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41709 (tcp_cookie_transactions): New structure.
41710
41711 2013-01-09 Anton Blanchard <anton@samba.org>
41712
41713 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41714 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41716 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41717
41718 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41719
41720 * include/features.h (__USE_ANSI): Remove.
41721
41722 2013-01-09 Roland McGrath <roland@hack.frob.com>
41723
41724 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41725
41726 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41727
41728 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41729
41730 * sysdeps/s390/fpu/libm-test-ulps: Update.
41731
41732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41733
41734 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41735 (__acr): Likewise.
41736 (__cpy): Likewise.
41737 (norm): Likewise.
41738 (denorm): Likewise.
41739 (__mp_dbl): Likewise.
41740 (__dbl_mp): Likewise.
41741 (add_magnitudes): Likewise.
41742 (sub_magnitudes): Likewise.
41743 (__add): Likewise.
41744 (__sub): Likewise.
41745 (__mul): Likewise.
41746 (__inv): Likewise.
41747 (__dvd): Likewise.
41748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41749 (__acr): Likewise.
41750 (__cpy): Likewise.
41751 (norm): Likewise.
41752 (denorm): Likewise.
41753 (__mp_dbl): Likewise.
41754 (__dbl_mp): Likewise.
41755 (add_magnitudes): Likewise.
41756 (sub_magnitudes): Likewise.
41757 (__add): Likewise.
41758 (__sub): Likewise.
41759 (__mul): Likewise.
41760 (__inv): Likewise.
41761 (__dvd): Likewise.
41762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41763 (__acr): Likewise.
41764 (__cpy): Likewise.
41765 (norm): Likewise.
41766 (denorm): Likewise.
41767 (__mp_dbl): Likewise.
41768 (__dbl_mp): Likewise.
41769 (add_magnitudes): Likewise.
41770 (sub_magnitudes): Likewise.
41771 (__add): Likewise.
41772 (__sub): Likewise.
41773 (__mul): Likewise.
41774 (__inv): Likewise.
41775 (__dvd): Likewise.
41776
41777 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41778
41779 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41780 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41781 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41782 2 && __USE_EXTERN_INLINES]: Likewise.
41783
41784 2013-01-08 Andreas Jaeger <aj@suse.de>
41785
41786 [BZ# 14985]
41787 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41788 Remove.
41789 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41790 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41791
41792 2013-01-07 Anton Blanchard <anton@samba.org>
41793
41794 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41795 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41796 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41797 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41798 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41799 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41800 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41801 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41803 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41804 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41806 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41808 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41809 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41810 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41812 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41814 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41815 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41817 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41818 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41819 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41820 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41821 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41823 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41824 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41827 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41828 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41830 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41831 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41832 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41833 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41836 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41837
41838 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41839
41840 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41841 (__MALLOC_PMT): Likewise.
41842 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41843 [__GNUC__], only on [_LIBC].
41844 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41845 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41846 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41847 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41848 forward declaration.
41849 (realloc_hook_ini): Likewise.
41850 (memalign_hook_ini): Likewise.
41851 (__libc_memalign): Do not use __MALLOC_PMT in variable
41852 declaration.
41853 (__libc_valloc): Likewise.
41854 (__libc_pvalloc): Likewise.
41855 (__libc_calloc): Likewise.
41856 (__posix_memalign): Likewise.
41857
41858 [BZ #14996]
41859 * math/s_casinh.c: Include <float.h>.
41860 (__casinh): Do not do computation with squaring and square root
41861 for large arguments.
41862 * math/s_casinhf.c: Include <float.h>.
41863 (__casinhf): Do not do computation with squaring and square root
41864 for large arguments.
41865 * math/s_casinhl.c: Include <float.h>.
41866 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41867 (__casinhl): Do not do computation with squaring and square root
41868 for large arguments.
41869 * math/libm-test.inc (casin_test): Add more tests.
41870 (casinh_test): Likewise.
41871 * sysdeps/i386/fpu/libm-test-ulps: Update.
41872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41873
41874 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41875
41876 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41877 (__x86_64_raw_data_cache_size): Likewise.
41878 (__x86_64_data_cache_size_half): Likewise.
41879 (__x86_64_raw_data_cache_size_half): Likewise.
41880 (__x86_64_shared_cache_size): Likewise.
41881 (__x86_64_raw_shared_cache_size): Likewise.
41882 (__x86_64_shared_cache_size_half): Likewise.
41883 (__x86_64_raw_shared_cache_size_half): Likewise.
41884 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41885 to ...
41886 (__x86_data_cache_size): This.
41887 (__x86_64_raw_data_cache_size): Renamed to ...
41888 (__x86_raw_data_cache_size): This.
41889 (__x86_64_data_cache_size_half): Renamed to ...
41890 (__x86_data_cache_size_half): This.
41891 (__x86_64_raw_data_cache_size_half): Renamed to ...
41892 (__x86_raw_data_cache_size_half): This.
41893 (__x86_64_shared_cache_size): Renamed to ...
41894 (__x86_shared_cache_size): This.
41895 (__x86_64_raw_shared_cache_size): Renamed to ...
41896 (__x86_raw_shared_cache_size): This.
41897 (__x86_64_shared_cache_size_half): Renamed to ...
41898 (__x86_shared_cache_size_half): This.
41899 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41900 (__x86_raw_shared_cache_size_half): This.
41901 * sysdeps/x86_64/memcpy.S: Updated.
41902 * sysdeps/x86_64/memset.S: Likewise.
41903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41904 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41906
41907 2013-01-04 David S. Miller <davem@davemloft.net>
41908
41909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41910
41911 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41912
41913 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41914 1 to avoid redefinition warning.
41915 (__USE_GNU): Don't define.
41916 (init_signaling_nan): Protoize.
41917
41918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41919
41920 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41921
41922 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41924 (__cpymn): Likewise.
41925 (norm): Remove commented code.
41926 (denorm): Likewise.
41927 (__mp_dbl): Likewise.
41928 (__inv): Likewise.
41929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41930 (__cpymn): Likewise.
41931 (norm): Remove commented code.
41932 (denorm): Likewise.
41933 (__mp_dbl): Likewise.
41934 (__inv): Likewise.
41935
41936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41937 mp_no value for 1.0 and 2.0.
41938 (norm): Use RADIXI instead of radixi.d.
41939 (denorm): Likewise.
41940 (__mul): Use 0.0 instead of zero.d.
41941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41942 mp_no value for 1.0 and 2.0.
41943 (norm): Use RADIXI instead of radixi.d.
41944 (denorm): Likewise.
41945 (__mul): Use 0.0 instead of zero.d.
41946
41947 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41948
41949 [BZ #14994]
41950 * math/s_casinh.c (__casinh): Reduce finite argument to first
41951 quadrant then set signs of results at the end.
41952 * math/s_casinhf.c (__casinhf): Likewise.
41953 * math/s_casinhl.c (__casinhl): Likewise.
41954 * math/libm-test.inc (casin_test): Add more tests.
41955 (casinh_test): Likewise.
41956 * sysdeps/i386/fpu/libm-test-ulps: Update.
41957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41958
41959 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41960
41961 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41962
41963 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41964
41965 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41966 declarations.
41967 (denorm): Likewise.
41968 (__mp_dbl): Likewise.
41969 (__inv): Likewise.
41970
41971 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41972 and adjust the header comment.
41973
41974 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41975 variable name from declaration.
41976
41977 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41978
41979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41980 Initialize COMMON_CPUID_INDEX_7 element.
41981 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41982 (CPUID_RTM): Likewise.
41983 (HAS_RTM): Likewise.
41984 (COMMON_CPUID_INDEX_7): New enum.
41985
41986 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41987
41988 [BZ #14981]
41989 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41990 size is zero, record memory as freed.
41991
41992 2013-01-03 Andreas Jaeger <aj@suse.de>
41993
41994 * po/ia.po: Add new Interlingua translation.
41995
41996 2012-01-03 Allan McRae <allan@archlinux.org>
41997
41998 * locale/programs/localedef.c: Fix description of '--posix' flag.
41999
42000 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42001
42002 * NEWS: Update dates in second copyright notice.
42003 * README: Update copyright dates in example.
42004 * manual/libc.texinfo: Update copyright dates.
42005 * scripts/test-installation.pl: Update copyright date in --version
42006 output.
42007
42008 * hurd/ctty-input.c: Fix copyright notice formatting.
42009 * hurd/ctty-output.c: Likewise.
42010 * hurd/dtable.c: Likewise.
42011 * hurd/hurd-raise.c: Likewise.
42012 * hurd/hurdprio.c: Likewise.
42013 * hurd/msgportdemux.c: Likewise.
42014 * misc/sys/file.h: Likewise.
42015 * misc/sys/ioctl.h: Likewise.
42016 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42017 * sysdeps/mach/hurd/chdir.c: Likewise.
42018 * sysdeps/mach/hurd/fchdir.c: Likewise.
42019 * sysdeps/mach/hurd/rename.c: Likewise.
42020 * sysdeps/mach/hurd/rmdir.c: Likewise.
42021 * sysdeps/mach/hurd/seekdir.c: Likewise.
42022 * sysdeps/mach/hurd/setsid.c: Likewise.
42023 * sysdeps/posix/wait3.c: Likewise.
42024
42025 * All files with FSF copyright notices: Update copyright dates
42026 using scripts/update-copyrights.
42027 * intl/plural.c: Regenerated.
42028 * locale/programs/charmap-kw.h: Likewise.
42029 * locale/programs/locfile-kw.h: Likewise.
42030
42031 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42032
42033 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42034 four values.
42035
42036 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42037 calculation loop and add branch prediction.
42038
42039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42040 check access beyond bounds of m1np.
42041
42042 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42043 MPTWO.
42044 (__inv): Remove local variable MPTWO to use the global
42045 constant.
42046 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42048 variable MPTWO.
42049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42050 MP3HALFS static const.
42051
42052 2013-01-01 David S. Miller <davem@davemloft.net>
42053
42054 * po/ca.po: Update from translation team.
42055
42056 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42057
42058 * scripts/update-copyrights: New file.
42059 * Makeconfig: Reformat copyright notice.
42060 * ctype/ctype.h: Likewise.
42061 * debug/swprintf_chk.c: Likewise.
42062 * elf/dl-cache.c: Likewise.
42063 * elf/dl-debug.c: Likewise.
42064 * elf/dl-object.c: Likewise.
42065 * grp/initgroups.c: Likewise.
42066 * hurd/Makefile: Likewise.
42067 * hurd/hurd/signal.h: Likewise.
42068 * hurd/hurdfault.c: Likewise.
42069 * hurd/hurdioctl.c: Likewise.
42070 * hurd/hurdlookup.c: Likewise.
42071 * hurd/intr-msg.c: Likewise.
42072 * iconv/gconv_open.c: Likewise.
42073 * libio/swprintf.c: Likewise.
42074 * locale/lc-ctype.c: Likewise.
42075 * locale/nl_langinfo.c: Likewise.
42076 * mach/Machrules: Likewise.
42077 * mach/Makefile: Likewise.
42078 * malloc/obstack.h: Likewise.
42079 * manual/Makefile: Likewise.
42080 * manual/tsort.awk: Likewise.
42081 * misc/bits/stab.def: Likewise.
42082 * nis/nis_print_group_entry.c: Likewise.
42083 * nis/nis_table.c: Likewise.
42084 * nis/nss_compat/compat-pwd.c: Likewise.
42085 * nis/nss_compat/compat-spwd.c: Likewise.
42086 * po/Makefile: Likewise.
42087 * posix/fnmatch.c: Likewise.
42088 * posix/regex.h: Likewise.
42089 * resolv/Makefile: Likewise.
42090 * resolv/nss_dns/dns-network.c: Likewise.
42091 * resolv/res_hconf.c: Likewise.
42092 * scripts/gen-sorted.awk: Likewise.
42093 * soft-fp/soft-fp.h: Likewise.
42094 * stdio-common/printf.h: Likewise.
42095 * stdlib/monetary.h: Likewise.
42096 * stdlib/random.c: Likewise.
42097 * stdlib/random_r.c: Likewise.
42098 * sysdeps/generic/Makefile: Likewise.
42099 * sysdeps/gnu/Makefile: Likewise.
42100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42102 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42104 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42108 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42109 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42110 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42111 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42112 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42113 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42114 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42115 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42116 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42118 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42120 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42121 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42122 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42128 * sysdeps/mach/hurd/errnos.awk: Likewise.
42129 * sysdeps/mach/hurd/fork.c: Likewise.
42130 * sysdeps/mach/hurd/getcwd.c: Likewise.
42131 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42132 * sysdeps/mach/hurd/mmap.c: Likewise.
42133 * sysdeps/mach/hurd/utimes.c: Likewise.
42134 * sysdeps/mach/hurd/xmknod.c: Likewise.
42135 * sysdeps/posix/profil.c: Likewise.
42136 * sysdeps/posix/readdir_r.c: Likewise.
42137 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42138 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42139 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42140 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42142 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42143 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42144 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42146 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42147 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42148 * sysdeps/pthread/lio_listio.c: Likewise.
42149 * sysdeps/sparc/dl-procinfo.h: Likewise.
42150 * sysdeps/unix/i386/sysdep.S: Likewise.
42151 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42152 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42153 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42154 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42156 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42157 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42158 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42159 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42160 * sysdeps/wordsize-32/divdi3.c: Likewise.
42161 * time/sys/time.h: Likewise.
42162 * wcsmbs/Makefile: Likewise.
42163
42164 2013-01-01 David S. Miller <davem@davemloft.net>
42165
42166 * po/fr.po: Update from translation team.
42167
42168 * catgets/gencat.c: Update copyright year.
42169 * csu/version.c: Likewise.
42170 * debug/catchsegv.sh: Likewise.
42171 * debug/pcprofiledump.c: Likewise.
42172 * debug/xtrace.sh: Likewise.
42173 * elf/ldconfig.c: Likewise.
42174 * elf/ldd.bash.in: Likewise.
42175 * elf/pldd.c: Likewise.
42176 * elf/sotruss.ksh: Likewise.
42177 * elf/sprof.c: Likewise.
42178 * iconv/iconv_prog.c: Likewise.
42179 * iconv/iconvconfig.c: Likewise.
42180 * locale/programs/locale.c: Likewise.
42181 * locale/programs/localedef.c: Likewise.
42182 * login/programs/pt_chown.c: Likewise.
42183 * malloc/memusage.sh: Likewise.
42184 * malloc/memusagestat.c: Likewise.
42185 * malloc/mtrace.pl: Likewise.
42186 * nscd/nscd.c: Likewise.
42187 * nss/getent.c: Likewise.
42188 * nss/makedb.c: Likewise.
42189 * posix/getconf.c: Likewise.
42190
42191 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42192
42193 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42194 numbers.
42195
42196 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42197
42198 * math/bits/mathcalls.h (modf): Use __nonnull.
42199
42200 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42201
42202 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42203 (split): Use macro CN instead of the bare value.
42204 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42205 could be used.
42206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42207 instead of the bare value.
42208 (power1): Likewise.
42209
42210 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42211
42212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42213 __ATAN_TWOM.
42214 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42215
42216 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42217 their values.
42218 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42220 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42221 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42222
42223 2012-12-28 Andreas Jaeger <aj@suse.de>
42224
42225 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42226 values are from Linux 3.7.
42227
42228 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42229 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42230
42231 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42232
42233 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42234 TRUE case.
42235
42236 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42237 (norm): Likewise.
42238 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42239 variables with preprocessor constants.
42240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42241 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42242 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42243
42244 2012-12-27 Bruno Haible <bruno@clisp.org>
42245
42246 [BZ #14317]
42247 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42248 only if needed.
42249
42250 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42251
42252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42253 and use variable directly.
42254 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42255
42256 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42257 MPONE.
42258 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42259 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42260 variable MPONE.
42261 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42263 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42264 include directive. Remove local variable MPONE.
42265 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42267 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42268
42269 2012-12-25 David S. Miller <davem@davemloft.net>
42270
42271 * version.h (RELEASE): Set to "development".
42272 (VERSION): Set to "2.17.90".
42273 * NEWS: Add 2.18 section.
42274
42275 2012-12-21 David S. Miller <davem@davemloft.net>
42276
42277 * po/hr.po: Update from translation team.
42278
42279 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42280
42281 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42282
42283 2012-12-19 Steve Ellcey <sellcey@mips.com>
42284
42285 * NEWS: Mention new memcpy for MIPS.
42286
42287 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42288
42289 * manual/contrib.texi (Contributors): Spelling correction.
42290
42291 2012-12-15 David S. Miller <davem@davemloft.net>
42292
42293 * po/ru.po: Update from translation team.
42294
42295 2012-12-13 David S. Miller <davem@davemloft.net>
42296
42297 * NEWS: Mention IFUNC testsuite enhancements.
42298
42299 * po/pl.po: Update from translation team.
42300 * po/bg.po: Likewise.
42301
42302 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42303 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42304
42305 2012-12-11 David S. Miller <davem@davemloft.net>
42306
42307 * po/sv.po: Update from translation team.
42308
42309 * po/vi.po: Update from translation team.
42310
42311 * po/cs.po: Update from translation team.
42312
42313 * po/de.po: Update from translation team.
42314 * po/eo.po: Likewise.
42315 * po/nl.po: Likewise.
42316
42317 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42318
42319 [BZ #14246]
42320 * manual/argp.texi (Argp Helper Functions): Move node to follow
42321 Argp Parsing State.
42322
42323 [BZ #14872]
42324 * manual/conf.texi (Limits on File System Capacity): Mention if
42325 terminating null is included in the max size.
42326
42327 2012-12-10 Andreas Jaeger <aj@suse.de>
42328
42329 * po/cs.po: Update from translation team.
42330
42331 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42332
42333 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42334 void pointer and cast to uintptr_t.
42335 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42336 path.
42337 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42338 * sysdeps/s390/s390-64/memset.S: Likewise.
42339
42340 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42341
42342 [BZ #14833]
42343 * menual/message.texi (Message Translation): Fix typos.
42344 (Helper programs for gettext): Likewise.
42345
42346 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42347
42348 [BZ #14898]
42349 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42350 Change to -1.
42351
42352 2012-12-07 David S. Miller <davem@davemloft.net>
42353
42354 * po/libc.pot: Update.
42355
42356 2012-12-07 Richard Henderson <rth@redhat.com>
42357
42358 [BZ #10114]
42359 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42360 normal/normal case to before the switch.
42361 (_FP_DIV): Likewise.
42362
42363 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42364 Mike Frysinger <vapier@gentoo.org>
42365
42366 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42367 check for __NR_fadvise64_64.
42368
42369 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42370
42371 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42372 0, not just to plain "0" as a statement.
42373 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42374 with cw.
42375
42376 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42377
42378 * NEWS: Use sourceware.org in Bugzilla URL.
42379
42380 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42381
42382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42383 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42384
42385 * stdio-common/tst-put-error.c (do_test): Add newline to the
42386 padded test to ensure flush.
42387
42388 2012-12-05 Jeff Law <law@redhat.com>
42389
42390 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42391
42392 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42393
42394 * README: Don't refer to ports add-on as distributed separately.
42395 Mention AArch64 in list of systems supported in the ports add-on.
42396
42397 * LICENSES: Add more non-FSF copyright and license notices.
42398
42399 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42400 ((unused)).
42401
42402 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42403
42404 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42405 10000 as width of padded output.
42406
42407 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42408
42409 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42410
42411 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42412 variable LX with __attribute__ ((unused)).
42413 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42414 Likewise.
42415 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42417 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42418 with __attribute__ ((unused)).
42419
42420 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42421
42422 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42423
42424 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42425
42426 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42427 (CFLAGS-nldbl-acos.c): New variable.
42428 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42429 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42430 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42431 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42432 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42433 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42434 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42435 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42436 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42437 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42438 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42439 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42440 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42441 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42442 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42443 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42444 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42445 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42446 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42447 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42448 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42449 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42450 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42451 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42452 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42453 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42454 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42455 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42456 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42457 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42458 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42459 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42460 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42461 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42462 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42463 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42464 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42465 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42466 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42467 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42468 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42469 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42470 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42471 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42472 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42473 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42474 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42475 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42476 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42477 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42478 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42479 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42480 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42481 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42482 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42483 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42484 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42485 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42486 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42487 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42488 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42489 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42490 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42491 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42492 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42493 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42494 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42495 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42496 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42497 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42498 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42499 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42500 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42501 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42502 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42503 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42504 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42505 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42506 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42507 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42508 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42509 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42510 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42511 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42512 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42513 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42514 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42515 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42516 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42517 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42518 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42519 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42520 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42521 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42522 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42523 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42524 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42525
42526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42527 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42528
42529 [BZ #14914]
42530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42531 whole low double instead of just low 47 bits when splitting values
42532 into two parts.
42533
42534 2012-12-03 Allan McRae <allan@archlinux.org>
42535
42536 * manual/stdio.texi (Predefined Printf Handlers): Remove
42537 @hsep and @vsep usage.
42538
42539 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42540
42541 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42542 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42543
42544 2012-12-03 Jeff Law <law@redhat.com>
42545
42546 * time/sys/time.h (settimeofday): Do not mark TV argument
42547 as __nonnull.
42548
42549 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42550
42551 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42552 when currently writing and seek to current position when not.
42553 * libio/Makefile (tests): Remove bug-fclose1.
42554 * libio/bug-fclose1.c: Delete.
42555
42556 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42557
42558 * manual/arith.texi (feenableexcept): Fix typo.
42559 (fedisableexcept): Likewise.
42560
42561 2012-11-30 Roland McGrath <roland@hack.frob.com>
42562
42563 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42564 second, differently-typed declaration, rather than a cast.
42565
42566 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42567
42568 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42569 * include/rpc/svc.h: ... here.
42570
42571 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42572
42573 [BZ #13013]
42574 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42575 depending n and resplen2 to catch cases where answer
42576 equals answerp2.
42577
42578 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42579
42580 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42581 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42582
42583 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42584
42585 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42586
42587 2012-11-29 Roland McGrath <roland@hack.frob.com>
42588
42589 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42590
42591 2012-11-28 Jeff Law <law@redhat.com>
42592
42593 [BZ #13761]
42594 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42595 dataset_temporary. Track alloca usage into alloca_used.
42596 If dataset is large allocate and release it via malloc/free.
42597
42598 2012-06-04 Florian Weimer <fweimer@redhat.com>
42599
42600 [BZ #14197]
42601 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42602
42603 2012-11-28 David S. Miller <davem@davemloft.net>
42604
42605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42606
42607 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42608
42609 [BZ #14803]
42610 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42611 of pi/2 rounded to nearest to 64 bits.
42612 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42613 nearest to 64 bits.
42614 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42615 bits.
42616
42617 2012-11-28 Jeff Law <law@redhat.com>
42618 Martin Osvald <mosvald@redhat.com>
42619
42620 [BZ #14889]
42621 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42622 * sunrpc/svc.c: Include time.h.
42623 (__svc_accept_failed): New function.
42624 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42625 any reason other than EINTR, call __svc_accept_failed.
42626 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42627 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42628
42629 2012-11-28 Andreas Schwab <schwab@suse.de>
42630
42631 * scripts/abilist.awk: Also handle indirect functions in .opd
42632 section.
42633
42634 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42635
42636 [BZ #13881]
42637 * sysdeps/x86/fpu/powl_helper.c: New file.
42638 * sysdeps/x86/fpu/Makefile: Likewise.
42639 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42640 (p3): New object.
42641 (__ieee754_powl): Use __powl_helper for finite arguments except
42642 integer exponents below 8.
42643 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42644 (p3): New object.
42645 (__ieee754_powl): Use __powl_helper for finite arguments except
42646 integer exponents below 8.
42647 * math/libm-test.inc (pow_test): Add more tests and enable some
42648 previously disabled tests.
42649 * sysdeps/i386/fpu/libm-test-ulps: Update.
42650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42651
42652 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42653 Carlos O'Donell <carlos_odonell@mentor.com>
42654
42655 * nss/makedb.c (is_prime): Assert that input is odd and greater
42656 than 4. Note that fact in a comment too.
42657 (next_prime): Add 4 to input.
42658
42659 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42660
42661 [BZ #11741]
42662 * libio/Makefile (tests): Add test case tst-fwrite-error.
42663 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42664 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42665 * libio/tst-fwrite-error.c: New test case.
42666
42667 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42668
42669 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42670 before casting to void *.
42671 * include/libc-internal.h (__pointer_type): New macro.
42672 (__integer_if_pointer_type_sub): Likewise.
42673 (__integer_if_pointer_type): Likewise.
42674 (cast_to_integer): Likewise.
42675 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42676 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42677 before casting to atomic64_t.
42678 (atomic_exchange_acq): Likewise.
42679 (__arch_exchange_and_add_body): Likewise.
42680 (__arch_add_body): Likewise.
42681 (atomic_add_negative): Likewise.
42682 (atomic_add_zero): Likewise.
42683
42684 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42685
42686 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42687 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42688 (add_fdes): Likewise.
42689 (linear_search_fdes): Likewise.
42690 (binary_search_unencoded_fdes): Likewise.
42691
42692 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42693
42694 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42695
42696 2012-11-24 Adam Conrad <adconrad@0c3.net>
42697
42698 * configure.in: Autodetect C++ header directories.
42699 * configure: Regenerated.
42700
42701 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42702
42703 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42704
42705 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42706
42707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42708
42709 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42710
42711 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42712 LDBL_MANT_DIG == 106]: Disable some tests.
42713 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42714 Likewise.
42715 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42716 Likewise.
42717
42718 [BZ #14871]
42719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42720 input for small inputs. Return +/- pi/2 for large inputs.
42721 * math/libm-test.inc (atan_test): Add more tests.
42722
42723 * sysdeps/generic/unwind-dw2-fde-glibc.c
42724 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42725 __attribute__ ((unused)).
42726
42727 [BZ #14645]
42728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42729 x * y if x and y are nonzero and z is zero.
42730
42731 [BZ #14811]
42732 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42733 nonzero exponents with absolute value below 0x1p-117 to +/-
42734 0x1p-117.
42735
42736 [BZ #14869]
42737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42738 up arguments below 2**-450, not just those below 2**-500.
42739 * math/libm-test.inc (hypot_test): Add another test.
42740
42741 [BZ #14868]
42742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42743 Return a+b for ratio over 2**120, not 2**60.
42744 * math/libm-test.inc (hypot_test): Add another test.
42745
42746 * math/libm-test.inc (clog_test): Use
42747 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42748 (clog10_test): Likewise.
42749
42750 [BZ #6778]
42751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42752
42753 2012-11-22 Andreas Schwab <schwab@suse.de>
42754
42755 * sysdeps/i386/fpu/libm-test-ulps: Update.
42756
42757 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42758
42759 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42760 printf output with newline.
42761
42762 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42763
42764 [BZ #14865]
42765 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42766 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42767 -z nodlopen, -z initfirst and -z execstack support.
42768 * configure: Regenerated.
42769
42770 * elf/elf.h (DF_1_NODIRECT): New macro.
42771 (DF_1_IGNMULDEF): Likewise.
42772 (DF_1_NOKSYMS): Likewise.
42773 (DF_1_NOHDR): Likewise.
42774 (DF_1_EDITED): Likewise.
42775 (DF_1_NORELOC): Likewise.
42776 (DF_1_SYMINTPOSE): Likewise.
42777 (DF_1_GLOBAUDIT): Likewise.
42778 (DF_1_SINGLETON): Likewise.
42779 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42780 DT_1_SUPPORTED_MASK bits.
42781 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42782
42783 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42784
42785 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42786
42787 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42788
42789 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42790 macro.
42791
42792 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42793 (sendmmsg): Move declarations...
42794 * socket/sys/socket.h: ... here.
42795 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42796 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42797 include it from...
42798 * socket/recvmmsg.c: ... this new file.
42799 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42800 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42801 definition of __sendmmsg hidden.
42802 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42803 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42804 Move ENOSYS stub into and include it from...
42805 * socket/sendmmsg.c: ... this new file.
42806 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42807 (sysdep_routines): Move recvmmsg and sendmmsg...
42808 * socket/Makefile (routines): ... here.
42809 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42810 (GLIBC_PRIVATE): Add __sendmmsg.
42811 * include/sys/socket.h (__sendmmsg): Add declarations.
42812 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42813 sendmmsg.
42814
42815 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42816
42817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42818 variable I1 with __attribute__ ((unused)).
42819 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42820
42821 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42822
42823 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42824 DUMMY variables with __attribute__ ((unused)).
42825
42826 * bits/byteswap.h: Include <bits/types.h>.
42827 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42828
42829 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42830
42831 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42832 string_t. Do not manually set errno.
42833 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42834 length with __strnlen. Make sure to both set errno and return it on
42835 failure.
42836
42837 2012-11-19 David S. Miller <davem@davemloft.net>
42838
42839 With help from Joseph Myers.
42840 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42841 very large arguments properly.
42842 * math/libm-test.inc (atan_test): New tests.
42843 (atan2_test): New tests.
42844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42846
42847 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42848
42849 [BZ #14856]
42850 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42851 Define to 3.
42852
42853 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42854 [POSIX] (EADDRNOTAVAIL): Likewise.
42855 [POSIX] (EAFNOSUPPORT): Likewise.
42856 [POSIX] (EALREADY): Likewise.
42857 [POSIX] (ECONNABORTED): Likewise.
42858 [POSIX] (ECONNREFUSED): Likewise.
42859 [POSIX] (ECONNRESET): Likewise.
42860 [POSIX] (EDESTADDRREQ): Likewise.
42861 [POSIX] (EDQUOT): Likewise.
42862 [POSIX] (EHOSTUNREACH): Likewise.
42863 [POSIX] (EIDRM): Likewise.
42864 [POSIX] (EISCONN): Likewise.
42865 [POSIX] (ELOOP): Likewise.
42866 [POSIX] (EMULTIHOP): Likewise.
42867 [POSIX] (ENETDOWN): Likewise.
42868 [POSIX] (ENETUNREACH): Likewise.
42869 [POSIX] (ENOBUFS): Likewise.
42870 [POSIX] (ENODATA): Likewise.
42871 [POSIX] (ENOLINK): Likewise.
42872 [POSIX] (ENOMSG): Likewise.
42873 [POSIX] (ENOPROTOOPT): Likewise.
42874 [POSIX] (ENOSR): Likewise.
42875 [POSIX] (ENOSTR): Likewise.
42876 [POSIX] (ENOTCONN): Likewise.
42877 [POSIX] (ENOTSOCK): Likewise.
42878 [POSIX] (EOPNOTSUPP): Likewise.
42879 [POSIX] (EOVERFLOW): Likewise.
42880 [POSIX] (EPROTO): Likewise.
42881 [POSIX] (EPROTONOSUPPORT): Likewise.
42882 [POSIX] (EPROTOTYPE): Likewise.
42883 [POSIX] (ESTALE): Likewise.
42884 [POSIX] (ETIME): Likewise.
42885 [POSIX] (ETXTBSY): Likewise.
42886 [POSIX] (EWOULDBLOCK): Likewise.
42887 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42888 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42889 [POSIX] (SEEK_CUR): Likewise.
42890 [POSIX] (SEEK_END): Likewise.
42891 [POSIX || UNIX98] (mode_t): Do not require.
42892 [POSIX] (off_t): Likewise.
42893 [POSIX] (pid_t): Likewise.
42894 [POSIX] (sys/stat.h): Do not allow header.
42895 [POSIX] (unistd.h): Likewise.
42896 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42897 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42898 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42899 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42900 require.
42901 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42902 sigevent): Specify elements.
42903 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42904 entry.
42905 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42906 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42907
42908 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42909 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42910 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42911 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42912 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42913 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42914 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42915 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42916 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42917 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42918 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42919 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42920 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42922 Likewise.
42923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42924 Likewise.
42925 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42926 Likewise.
42927 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42928 Likewise.
42929 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42930 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42931 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42932 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42933 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42934 Specify lower bound on value.
42935 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42936 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42937 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42938 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42939 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42940 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42941 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42942 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42943 value.
42944 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42945 as optional.
42946 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42947 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42948 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42949 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42950 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42951 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42952 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42953 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42954 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42955 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42956 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42957 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42958 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42959 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42960 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42961 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42962 entry.
42963 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42964 optional.
42965 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42966 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42967 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42968 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42969 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42970 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42971 Likewise.
42972 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42973 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42974 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42975 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42976 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42977 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42979 as optional.
42980 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42981 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42982 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42983 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42984 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42985 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42986 specify as optional.
42987 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42988 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42989 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42990 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42991 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42992 [XPG3] (NL_LANGMAX): Likewise.
42993 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42994 [POSIX || XPG3] (NL_NMAX): Likewise.
42995 [POSIX || XPG3] (NL_SETMAX): Likewise.
42996 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42997 [XPG3] (NZERO): Likewise.
42998 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42999 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43000 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43001 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43002 (REG_ERANGE): Expect.
43003 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43004 optional-constant.
43005 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43006 Use (void) in prototype.
43007 [POSIX] (*_t): Allow.
43008 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43009 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43010 (WRDE_BADVAL): Expect.
43011
43012 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43013 expect.
43014 [XPG3 || XPG4] (O_RSYNC): Likewise.
43015 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43016 Likewise.
43017 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43018 [XPG3 || XPG4] (sigqueue): Likewise.
43019 [XPG3 || XPG4] (sigtimedwait): Likewise.
43020 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43021 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43022 [XPG3 || XPG4] (vsnprintf): Likewise.
43023 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43024 Likewise.
43025 [XPG3 || XPG4] (blksize_t): Likewise.
43026 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43027 Likewise.
43028 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43029 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43030 [XPG3 || XPG4] (struct itimerspec): Likewise.
43031 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43032 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43033 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43034 [XPG3 || XPG4] (clockid_t): Likewise.
43035 [XPG3 || XPG4] (timer_t): Likewise.
43036 [XPG3 || XPG4] (clock_getres): Likewise.
43037 [XPG3 || XPG4] (clock_gettime): Likewise.
43038 [XPG3 || XPG4] (clock_settime): Likewise.
43039 [XPG3 || XPG4] (nanosleep): Likewise.
43040 [XPG3 || XPG4] (timer_create): Likewise.
43041 [XPG3 || XPG4] (timer_delete): Likewise.
43042 [XPG3 || XPG4] (timer_gettime): Likewise.
43043 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43044 [XPG3 || XPG4] (timer_settime): Likewise.
43045 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43046 [XPG3 || XPG4] (getlogin_r): Likewise.
43047 [XPG3 || XPG4] (pread): Likewise.
43048 [XPG3 || XPG4] (pthread_atfork): Likewise.
43049 [XPG3 || XPG4] (pwrite): Likewise.
43050
43051 [BZ #14835]
43052 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43053 <bits/siginfo.h>.
43054
43055 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43056
43057 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43058 finalizing MALLSTREAM.
43059
43060 * sysdeps/mach/hurd/syncfs.c: New file.
43061
43062 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43063
43064 [BZ #14719]
43065 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43066 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43067 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43068 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43069 (_nss_dns_gethostbyname4_r): Likewise.
43070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43071 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43072
43073 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43074
43075 [BZ #13763]
43076 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43077
43078 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43079
43080 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43081 * elf/cache.c (print_entry): Print ",AArch64" for
43082 FLAG_AARCH64_LIB64
43083
43084 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43085 * elf/cache.c (print_entry): Print ",hard-float" for
43086 FLAG_ARM_LIBHF.
43087
43088 2012-11-18 David S. Miller <davem@davemloft.net>
43089
43090 With help from Joseph Myers.
43091 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43092 cutoff to 2**-13.
43093 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43094 cutoff to 2**-25.
43095 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43096 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43097 small.
43098 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43099 * math/libm-test.inc (y0_test): New tests.
43100 (y1_test): New tests.
43101 * sysdeps/i386/fpu/libm-test-ulps: Update.
43102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43104
43105 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43106
43107 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43108 64-bit targets.
43109 * configure: Regenerated.
43110
43111 2012-11-17 David S. Miller <davem@davemloft.net>
43112
43113 [BZ #14811]
43114 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43115 nonzero exponents with absolute value below 0x1p-128 to +/-
43116 0x1p-128.
43117
43118 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43119
43120 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43121
43122 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43123
43124 * posix/getconf-speclist.c: New file.
43125 * posix/posix-envs.def: Likewise.
43126 * posix/confstr.c (START_ENV_GROUP): New macro.
43127 (END_ENV_GROUP): Likewise.
43128 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43129 (KNOWN_PRESENT_ENV_STRING): Likewise.
43130 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43131 (UNKNOWN_ENVIRONMENT): Likewise.
43132 (confstr): Include posix-envs.def instead of handling
43133 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43134 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43135 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43136 (END_ENV_GROUP): Likewise.
43137 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43138 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43139 (UNKNOWN_ENVIRONMENT): Likewise.
43140 (__sysconf): Include posix-envs.def instead of handling associated
43141 cases directly here.
43142 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43143 preprocessing getconf-speclist.c rather than running getconf or
43144 generating empty file.
43145
43146 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43147
43148 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43149
43150 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43151
43152 [BZ #14672]
43153 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43154
43155 2012-11-16 David S. Miller <davem@davemloft.net>
43156
43157 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43158 smaller than LDBL_EPSILON/2.0L, just return xm1.
43159
43160 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43161
43162 * elf/tst-array1.c (init): Set constructor priority to 1000.
43163 (fini): Set destructor priority to 1000.
43164 * elf/tst-array2dep.c: Likewise.
43165
43166 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43167
43168 [BZ #11741]
43169 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43170 (_IO_new_file_xsputn): Also return EOF if none of the input
43171 data was written when overflow failed.
43172 * libio/iopadn.c (_IO_padn): Likewise.
43173 * libio/iowpadn.c (_IO_wpadn): Likewise.
43174 * stdio-common/tst-put-error.c: Add copyright notice.
43175 (do_test): Add case for printing padded string.
43176 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43177 _IO_padn returned error.
43178 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43179 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43180 return EOF.
43181
43182 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43183
43184 * libio/libioP.h: Add comment note that the references to C++
43185 bits are now obsolete.
43186
43187 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43188
43189 * math/libm-test.inc (check_complex): Use asprintf.
43190
43191 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43192
43193 * debug/pcprofiledump.c (print_version): Update copyright year.
43194 * malloc/memusagestat.c (print_version): Likewise.
43195
43196 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43197
43198 [BZ #14831]
43199 * elf/Makefile (tests): Add tst-audit8.
43200 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43201 ($(objpfx)tst-audit8.out): New target.
43202 (tst-audit8-ENV): New variable.
43203 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43204 audit if l_reloc_result is NULL.
43205 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43206 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43207 * elf/tst-audit8.c: New file.
43208
43209 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43210
43211 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43212 * misc/Makefile (CFLAGS-select.c): Define.
43213 * posix/Makefile (CFLAGS-pause.c): Define.
43214
43215 2012-11-13 David S. Miller <davem@davemloft.net>
43216
43217 * crypt/Makefile: Move test targets after toplevel Rules
43218 inclusion. Grab any necessary sysdep routines when linking.
43219 * crypt/md5.c (md5_process_block): Remove define, we will always
43220 name it __md5_process_block.
43221 (md5_finish_ctx): Update md5_process_block call.
43222 (md5_stream): Likewise.
43223 (md5_process_bytes): Likewise.
43224 (md5_process_block): Rename to __md5_process_block and move to ...
43225 * crypt/md5-block.c: ... here.
43226 * crypt/sha256.c (sha256_process_block): Move to ...
43227 * crypt/sha256-block.c: ... here.
43228 * crypt/sha512.c (sha512_process_block): Move to ...
43229 * crypt/sha512-block.c: ... here.
43230 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43231 path.
43232 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43233 * sysdeps/sparc/sparc64/multiarch/Makefile
43234 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43235 crypt subdir.
43236 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43238 multiarch changes.
43239 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43240 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43241 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43242 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43243 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43244 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43245 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43246 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43248 file.
43249 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43250 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43251 file.
43252 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43253
43254 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43255
43256 * timezone/tzselect.ksh: Update from tzcode git revision
43257 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43258 * timezone/zdump.c: Likewise.
43259 * timezone/zic.c: Likewise.
43260 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43261 in TZVERSION setting, not $(PKGVERSION).
43262 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43263 REPORT_BUGS_TO settings.
43264
43265 [BZ #14838]
43266 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43267 macro.
43268
43269 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43270
43271 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43272 detection to immediately after _FP_ROUND().
43273 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43274 bits are 0.
43275
43276 2012-11-11 David S. Miller <davem@davemloft.net>
43277
43278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43279 inttypes.h
43280 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43281 __close rather than their public counterparts.
43282
43283 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43284
43285 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43286 file.
43287 [UNIX98] (sem_timedwait): Do not expect.
43288 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43289 [XPG4 || UNIX98] (sockatmark): Do not expect.
43290 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43291 (clock_getcpuclockid): Do not expect.
43292 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43293 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43294 Do not expect.
43295 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43296 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43297 [UNIX98] (vwscanf): Likewise.
43298 [UNIX98] (vswscanf): Likewise.
43299
43300 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43301
43302 * timezone/version.h: Remove file.
43303 * timezone/README: Do not refer to version.h.
43304 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43305 $(objpfx)version.h.
43306 ($(objpfx)zdump.o): Likewise.
43307 ($(objpfx)version.h): New target.
43308
43309 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43310 2012i.
43311 * timezone/README: Don't mention modification to tzselect.ksh.
43312 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43313 work on unmodified tzselect.ksh. Substitute version numbers in
43314 tzselect.ksh.
43315
43316 * Makefile (format-me): Remove.
43317 (INSTALL): Adjust indentation. Use commands directly instead of
43318 using $(format-me).
43319
43320 * aclocal.m4 (ACX_PKGVERSION): New macro.
43321 (ACX_BUGURL): Likewise.
43322 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43323 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43324 (REPORT_BUGS_TO): Likewise.
43325 * configure: Regenerated.
43326 * config.h.in (PKGVERSION): New macro.
43327 (REPORT_BUGS_TO): Likewise.
43328 * config.make.in (PKGVERSION): New variable.
43329 (PKGVERSION_TEXI): Likewise.
43330 (REPORT_BUGS_TO): Likewise.
43331 (REPORT_BUGS_TEXI): Likewise.
43332 * Makefile (format-me): Use -I$(common-objpfx)manual.
43333 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43334 ($(common-objpfx)manual/%): New target.
43335 (manual/%): Remove target.
43336 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43337 (print_version): Use PKGVERSION.
43338 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43339 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43340 and REPORT_BUGS_TO.
43341 ($(objpfx)xtrace): Likewise.
43342 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43343 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43344 (print_version): Use PKGVERSION.
43345 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43346 (do_version): Use PKGVERSION.
43347 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43348 REPORT_BUGS_TO.
43349 (common-ldd-rewrite): Likewise.
43350 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43351 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43352 (print_version): Use PKGVERSION.
43353 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43354 * elf/pldd.c (argp_program_bug_address): Remove variable.
43355 (more_help): New function.
43356 (argp): Use more_help.
43357 (print_version): Use PKGVERSION.
43358 * elf/sln.c (main): Use PKGVERSION.
43359 (usage): Use REPORT_BUGS_TO.
43360 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43361 (top level): Use PKGVERSION.
43362 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43363 (print_version): Use PKGVERSION.
43364 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43365 (print_version): Use PKGVERSION.
43366 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43367 (print_version): Use PKGVERSION.
43368 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43369 (print_version): Use PKGVERSION.
43370 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43371 (print_version): Use PKGVERSION.
43372 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43373 (print_version): Use PKGVERSION.
43374 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43375 and BUGURL.
43376 ($(objpfx)memusage): Likewise.
43377 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43378 (do_version): Use PKGVERSION.
43379 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43380 (print_version): Use PKGVERSION.
43381 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43382 ($PKGVERSION): New variable.
43383 ($REPORT_BUGS_TO): Likewise.
43384 (usage): Use $REPORT_BUGS_TO.
43385 (top level): Use $PKGVERSION.
43386 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43387 ($(objpfx)pkgvers.texi): New rule.
43388 ($(objpfx)stamp-pkgvers): Likewise.
43389 * manual/install.texi: Include pkgvers.texi.
43390 (--with-pkgversion): Document new configure option.
43391 (--with-bugurl): Likewise.
43392 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43393 than necessarily for this particular distribution. Use
43394 REPORT_BUGS_TO for where to report bugs.
43395 * INSTALL: Regenerated.
43396 * manual/libc.texinfo: Include pkgvers.texi.
43397 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43398 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43399 (print_version): Use PKGVERSION.
43400 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43401 (print_version): Use PKGVERSION.
43402 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43403 (print_version): Use PKGVERSION.
43404 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43405 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43406 macro.
43407 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43408 (print_version): Use PKGVERSION.
43409 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43410 (print_version): Use PKGVERSION.
43411 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43412 and PKGVERSION.
43413
43414 * timezone/checktab.awk: Update from tzcode 2012i.
43415 * timezone/ialloc.c: Likewise.
43416 * timezone/private.h: Likewise.
43417 * timezone/scheck.c: Likewise.
43418 * timezone/tzfile.h: Likewise.
43419 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43420 (TZVERSION): Hardcode tzcode version number.
43421 * timezone/zdump.c: Update from tzcode 2012i.
43422 * timezone/zic.c: Likewise.
43423 * timezone/version.h: New file.
43424 * timezone/README: Describe version.h. Update upstream location.
43425
43426 [BZ #14824]
43427 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43428 (mktemp): Enable declaration.
43429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43433 Likewise.
43434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43435 Likewise.
43436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43437 Likewise.
43438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43439 Likewise.
43440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43441 Likewise.
43442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43443 Likewise.
43444
43445 [BZ #14821]
43446 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43447 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43448 for copies of such integer values.
43449 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43450 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43451
43452 2012-11-09 Andreas Jaeger <aj@suse.de>
43453
43454 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43455 definitions and declarations that are provided by
43456 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43457
43458 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43459
43460 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43461 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43462 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43463 definition.
43464
43465 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43466
43467 * elf/elf.h: Update comment before AArch64 relocations.
43468
43469 2012-11-07 David S. Miller <davem@davemloft.net>
43470
43471 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43472 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43473 (__start_context): Declare.
43474 (__makecontext_ret): Delete.
43475 (__makecontext): Hook up __start_context instead of
43476 __makecontext_ret.
43477 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43478 (sysdep_routines): Add __start_context when in stdlib.
43479
43480 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43481
43482 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43483 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43484 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43485 hardcoded "nm".
43486 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43487 (READELF): New variable. Use it instead of hardcoded "readelf".
43488
43489 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43490
43491 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43492 * sysdeps/x86/Makefile: Here.
43493 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43494 * sysdeps/x86/tst-xmmymm.sh: This.
43495
43496 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43497
43498 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43499 expectations.
43500 [UNIX98] (pthread_barrier_t): Do not expect.
43501 [UNIX98] (pthread_barrierattr_t): Likewise.
43502 [UNIX98] (pthread_spinlock_t): Likewise.
43503 [UNIX98] (pthread_barrier_destroy): Likewise.
43504 [UNIX98] (pthread_barrier_init): Likewise.
43505 [UNIX98] (pthread_barrier_wait): Likewise.
43506 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43507 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43508 [UNIX98] (pthread_barrierattr_init): Likewise.
43509 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43510 [UNIX98] (pthread_getcpuclockid): Likewise.
43511 [UNIX98] (pthread_mutex_timedlock): Likewise.
43512 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43513 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43514 [UNIX98] (pthread_sigmask): Likewise.
43515 [UNIX98] (pthread_spin_destroy): Likewise.
43516 [UNIX98] (pthread_spin_init): Likewise.
43517 [UNIX98] (pthread_spin_lock): Likewise.
43518 [UNIX98] (pthread_spin_trylock): Likewise.
43519 [UNIX98] (pthread_spin_unlock): Likewise.
43520 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43521 Do not expect.
43522 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43523 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43524 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43525 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43526 [XPG3 || XPG4] (pthread_key_t): Likewise.
43527 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43528 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43529 [XPG3 || XPG4] (pthread_once_t): Likewise.
43530 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43531 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43532 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43533 [XPG3 || XPG4] (pthread_t): Likewise.
43534
43535 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43536 not expect.
43537 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43538
43539 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43540 Change function return type to int.
43541
43542 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43543 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43544 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43545 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43546 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43547 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43548 [!POSIX] (posix_madvise): Likewise.
43549 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43550 && !UNIX98].
43551 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43552 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43553 (mode_t): Likewise.
43554 (posix_mem_offset): Likewise.
43555 (posix_typed_mem_get_info): Likewise.
43556 (posix_typed_mem_open): Likewise.
43557
43558 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43559 Change condition to [XOPEN2K8].
43560
43561 * conform/conformtest.pl: Preprocess allow-header data with -x c
43562 instead of from stdin.
43563 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43564 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43565 [C99-based standards] (cerfc): Likewise.
43566 [C99-based standards] (cexp2): Likewise.
43567 [C99-based standards] (cexpm1): Likewise.
43568 [C99-based standards] (clog10): Likewise.
43569 [C99-based standards] (clog1p): Likewise.
43570 [C99-based standards] (clog2): Likewise.
43571 [C99-based standards] (clgamma): Likewise.
43572 [C99-based standards] (ctgamma): Likewise.
43573 [C99-based standards] (cerff): Likewise.
43574 [C99-based standards] (cerfcf): Likewise.
43575 [C99-based standards] (cexp2f): Likewise.
43576 [C99-based standards] (cexpm1f): Likewise.
43577 [C99-based standards] (clog10f): Likewise.
43578 [C99-based standards] (clog1pf): Likewise.
43579 [C99-based standards] (clog2f): Likewise.
43580 [C99-based standards] (clgammaf): Likewise.
43581 [C99-based standards] (ctgammaf): Likewise.
43582 [C99-based standards] (cerfl): Likewise.
43583 [C99-based standards] (cerfcl): Likewise.
43584 [C99-based standards] (cexp2l): Likewise.
43585 [C99-based standards] (cexpm1l): Likewise.
43586 [C99-based standards] (clog10l): Likewise.
43587 [C99-based standards] (clog1pl): Likewise.
43588 [C99-based standards] (clog2l): Likewise.
43589 [C99-based standards] (clgammal): Likewise.
43590 [C99-based standards] (ctgammal): Likewise.
43591 * conform/data/inttypes.h-data [C99-based standards]: Include
43592 stdint.h-data. Remove all expectations for stdint.h contents.
43593 [C99-based standards] (PRI*): Do not allow.
43594 [C99-based standards] (SCN*): Likewise.
43595 [C99-based standards] (*_t): Likewise.
43596 [C99-based-standards] (PRId8): Expect macro.
43597 [C99-based-standards] (PRIi8): Likewise.
43598 [C99-based-standards] (PRIo8): Likewise.
43599 [C99-based-standards] (PRIu8): Likewise.
43600 [C99-based-standards] (PRIx8): Likewise.
43601 [C99-based-standards] (PRIX8): Likewise.
43602 [C99-based-standards] (SCNd8): Likewise.
43603 [C99-based-standards] (SCNi8): Likewise.
43604 [C99-based-standards] (SCNo8): Likewise.
43605 [C99-based-standards] (SCNu8): Likewise.
43606 [C99-based-standards] (SCNx8): Likewise.
43607 [C99-based-standards] (PRIdLEAST8): Likewise.
43608 [C99-based-standards] (PRIiLEAST8): Likewise.
43609 [C99-based-standards] (PRIoLEAST8): Likewise.
43610 [C99-based-standards] (PRIuLEAST8): Likewise.
43611 [C99-based-standards] (PRIxLEAST8): Likewise.
43612 [C99-based-standards] (PRIXLEAST8): Likewise.
43613 [C99-based-standards] (SCNdLEAST8): Likewise.
43614 [C99-based-standards] (SCNiLEAST8): Likewise.
43615 [C99-based-standards] (SCNoLEAST8): Likewise.
43616 [C99-based-standards] (SCNuLEAST8): Likewise.
43617 [C99-based-standards] (SCNxLEAST8): Likewise.
43618 [C99-based-standards] (PRIdFAST8): Likewise.
43619 [C99-based-standards] (PRIiFAST8): Likewise.
43620 [C99-based-standards] (PRIoFAST8): Likewise.
43621 [C99-based-standards] (PRIuFAST8): Likewise.
43622 [C99-based-standards] (PRIxFAST8): Likewise.
43623 [C99-based-standards] (PRIXFAST8): Likewise.
43624 [C99-based-standards] (SCNdFAST8): Likewise.
43625 [C99-based-standards] (SCNiFAST8): Likewise.
43626 [C99-based-standards] (SCNoFAST8): Likewise.
43627 [C99-based-standards] (SCNuFAST8): Likewise.
43628 [C99-based-standards] (SCNxFAST8): Likewise.
43629 [C99-based-standards] (PRId16): Likewise.
43630 [C99-based-standards] (PRIi16): Likewise.
43631 [C99-based-standards] (PRIo16): Likewise.
43632 [C99-based-standards] (PRIu16): Likewise.
43633 [C99-based-standards] (PRIx16): Likewise.
43634 [C99-based-standards] (PRIX16): Likewise.
43635 [C99-based-standards] (SCNd16): Likewise.
43636 [C99-based-standards] (SCNi16): Likewise.
43637 [C99-based-standards] (SCNo16): Likewise.
43638 [C99-based-standards] (SCNu16): Likewise.
43639 [C99-based-standards] (SCNx16): Likewise.
43640 [C99-based-standards] (PRIdLEAST16): Likewise.
43641 [C99-based-standards] (PRIiLEAST16): Likewise.
43642 [C99-based-standards] (PRIoLEAST16): Likewise.
43643 [C99-based-standards] (PRIuLEAST16): Likewise.
43644 [C99-based-standards] (PRIxLEAST16): Likewise.
43645 [C99-based-standards] (PRIXLEAST16): Likewise.
43646 [C99-based-standards] (SCNdLEAST16): Likewise.
43647 [C99-based-standards] (SCNiLEAST16): Likewise.
43648 [C99-based-standards] (SCNoLEAST16): Likewise.
43649 [C99-based-standards] (SCNuLEAST16): Likewise.
43650 [C99-based-standards] (SCNxLEAST16): Likewise.
43651 [C99-based-standards] (PRIdFAST16): Likewise.
43652 [C99-based-standards] (PRIiFAST16): Likewise.
43653 [C99-based-standards] (PRIoFAST16): Likewise.
43654 [C99-based-standards] (PRIuFAST16): Likewise.
43655 [C99-based-standards] (PRIxFAST16): Likewise.
43656 [C99-based-standards] (PRIXFAST16): Likewise.
43657 [C99-based-standards] (SCNdFAST16): Likewise.
43658 [C99-based-standards] (SCNiFAST16): Likewise.
43659 [C99-based-standards] (SCNoFAST16): Likewise.
43660 [C99-based-standards] (SCNuFAST16): Likewise.
43661 [C99-based-standards] (SCNxFAST16): Likewise.
43662 [C99-based-standards] (PRId32): Likewise.
43663 [C99-based-standards] (PRIi32): Likewise.
43664 [C99-based-standards] (PRIo32): Likewise.
43665 [C99-based-standards] (PRIu32): Likewise.
43666 [C99-based-standards] (PRIx32): Likewise.
43667 [C99-based-standards] (PRIX32): Likewise.
43668 [C99-based-standards] (SCNd32): Likewise.
43669 [C99-based-standards] (SCNi32): Likewise.
43670 [C99-based-standards] (SCNo32): Likewise.
43671 [C99-based-standards] (SCNu32): Likewise.
43672 [C99-based-standards] (SCNx32): Likewise.
43673 [C99-based-standards] (PRIdLEAST32): Likewise.
43674 [C99-based-standards] (PRIiLEAST32): Likewise.
43675 [C99-based-standards] (PRIoLEAST32): Likewise.
43676 [C99-based-standards] (PRIuLEAST32): Likewise.
43677 [C99-based-standards] (PRIxLEAST32): Likewise.
43678 [C99-based-standards] (PRIXLEAST32): Likewise.
43679 [C99-based-standards] (SCNdLEAST32): Likewise.
43680 [C99-based-standards] (SCNiLEAST32): Likewise.
43681 [C99-based-standards] (SCNoLEAST32): Likewise.
43682 [C99-based-standards] (SCNuLEAST32): Likewise.
43683 [C99-based-standards] (SCNxLEAST32): Likewise.
43684 [C99-based-standards] (PRIdFAST32): Likewise.
43685 [C99-based-standards] (PRIiFAST32): Likewise.
43686 [C99-based-standards] (PRIoFAST32): Likewise.
43687 [C99-based-standards] (PRIuFAST32): Likewise.
43688 [C99-based-standards] (PRIxFAST32): Likewise.
43689 [C99-based-standards] (PRIXFAST32): Likewise.
43690 [C99-based-standards] (SCNdFAST32): Likewise.
43691 [C99-based-standards] (SCNiFAST32): Likewise.
43692 [C99-based-standards] (SCNoFAST32): Likewise.
43693 [C99-based-standards] (SCNuFAST32): Likewise.
43694 [C99-based-standards] (SCNxFAST32): Likewise.
43695 [C99-based-standards] (PRId64): Likewise.
43696 [C99-based-standards] (PRIi64): Likewise.
43697 [C99-based-standards] (PRIo64): Likewise.
43698 [C99-based-standards] (PRIu64): Likewise.
43699 [C99-based-standards] (PRIx64): Likewise.
43700 [C99-based-standards] (PRIX64): Likewise.
43701 [C99-based-standards] (SCNd64): Likewise.
43702 [C99-based-standards] (SCNi64): Likewise.
43703 [C99-based-standards] (SCNo64): Likewise.
43704 [C99-based-standards] (SCNu64): Likewise.
43705 [C99-based-standards] (SCNx64): Likewise.
43706 [C99-based-standards] (PRIdLEAST64): Likewise.
43707 [C99-based-standards] (PRIiLEAST64): Likewise.
43708 [C99-based-standards] (PRIoLEAST64): Likewise.
43709 [C99-based-standards] (PRIuLEAST64): Likewise.
43710 [C99-based-standards] (PRIxLEAST64): Likewise.
43711 [C99-based-standards] (PRIXLEAST64): Likewise.
43712 [C99-based-standards] (SCNdLEAST64): Likewise.
43713 [C99-based-standards] (SCNiLEAST64): Likewise.
43714 [C99-based-standards] (SCNoLEAST64): Likewise.
43715 [C99-based-standards] (SCNuLEAST64): Likewise.
43716 [C99-based-standards] (SCNxLEAST64): Likewise.
43717 [C99-based-standards] (PRIdFAST64): Likewise.
43718 [C99-based-standards] (PRIiFAST64): Likewise.
43719 [C99-based-standards] (PRIoFAST64): Likewise.
43720 [C99-based-standards] (PRIuFAST64): Likewise.
43721 [C99-based-standards] (PRIxFAST64): Likewise.
43722 [C99-based-standards] (PRIXFAST64): Likewise.
43723 [C99-based-standards] (SCNdFAST64): Likewise.
43724 [C99-based-standards] (SCNiFAST64): Likewise.
43725 [C99-based-standards] (SCNoFAST64): Likewise.
43726 [C99-based-standards] (SCNuFAST64): Likewise.
43727 [C99-based-standards] (SCNxFAST64): Likewise.
43728 [C99-based-standards] (PRIdMAX): Likewise.
43729 [C99-based-standards] (PRIiMAX): Likewise.
43730 [C99-based-standards] (PRIoMAX): Likewise.
43731 [C99-based-standards] (PRIuMAX): Likewise.
43732 [C99-based-standards] (PRIxMAX): Likewise.
43733 [C99-based-standards] (PRIXMAX): Likewise.
43734 [C99-based-standards] (SCNdMAX): Likewise.
43735 [C99-based-standards] (SCNiMAX): Likewise.
43736 [C99-based-standards] (SCNoMAX): Likewise.
43737 [C99-based-standards] (SCNuMAX): Likewise.
43738 [C99-based-standards] (SCNxMAX): Likewise.
43739 [C99-based-standards] (PRIdPTR): Likewise.
43740 [C99-based-standards] (PRIiPTR): Likewise.
43741 [C99-based-standards] (PRIoPTR): Likewise.
43742 [C99-based-standards] (PRIuPTR): Likewise.
43743 [C99-based-standards] (PRIxPTR): Likewise.
43744 [C99-based-standards] (PRIXPTR): Likewise.
43745 [C99-based-standards] (SCNdPTR): Likewise.
43746 [C99-based-standards] (SCNiPTR): Likewise.
43747 [C99-based-standards] (SCNoPTR): Likewise.
43748 [C99-based-standards] (SCNuPTR): Likewise.
43749 [C99-based-standards] (SCNxPTR): Likewise.
43750 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43751 allow.
43752 * conform/data/stdint.h-data: Update comments to clarify
43753 requirements.
43754 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43755 type.
43756 [C99-based standards] (INT8_MAX): Likewise.
43757 [C99-based standards] (INT16_MIN): Likewise.
43758 [C99-based standards] (INT16_MAX): Likewise.
43759 [C99-based standards] (INT32_MIN): Likewise.
43760 [C99-based standards] (INT32_MAX): Likewise.
43761 [C99-based standards] (INT64_MIN): Likewise.
43762 [C99-based standards] (INT64_MAX): Likewise.
43763 [C99-based standards] (UINT8_MAX): Likewise.
43764 [C99-based standards] (UINT16_MAX): Likewise.
43765 [C99-based standards] (UINT32_MAX): Likewise.
43766 [C99-based standards] (UINT64_MAX): Likewise.
43767 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43768 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43769 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43770 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43771 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43772 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43773 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43774 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43775 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43776 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43777 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43778 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43779 [C99-based standards] (INT_FAST8_MIN): Likewise.
43780 [C99-based standards] (INT_FAST8_MAX): Likewise.
43781 [C99-based standards] (INT_FAST16_MIN): Likewise.
43782 [C99-based standards] (INT_FAST16_MAX): Likewise.
43783 [C99-based standards] (INT_FAST32_MIN): Likewise.
43784 [C99-based standards] (INT_FAST32_MAX): Likewise.
43785 [C99-based standards] (INT_FAST64_MIN): Likewise.
43786 [C99-based standards] (INT_FAST64_MAX): Likewise.
43787 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43788 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43789 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43790 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43791 [C99-based standards] (INTPTR_MIN): Likewise.
43792 [C99-based standards] (INTPTR_MAX): Likewise.
43793 [C99-based standards] (UINTPTR_MAX): Likewise.
43794 [C99-based standards] (INTMAX_MIN): Likewise.
43795 [C99-based standards] (INTMAX_MAX): Likewise.
43796 [C99-based standards] (UINTMAX_MAX): Likewise.
43797 [C99-based standards] (PTRDIFF_MIN): Likewise.
43798 [C99-based standards] (PTRDIFF_MAX): Likewise.
43799 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43800 [C99-based standards] (SIZE_MAX): Likewise.
43801 [C99-based standards] (WCHAR_MAX): Likewise.
43802 [C99-based standards] (WINT_MAX): Likewise.
43803 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43804 constraint on value.
43805 [C99-based standards] (WCHAR_MIN): Likewise.
43806 [C99-based standards] (WINT_MIN): Likewise.
43807 [C99-based standards] (*_t): Allow.
43808 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43809 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43810 Include math.h-data and complex.h-data. Remove all expectations
43811 of math.h and complex.h contents.
43812 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43813 at end of line.
43814 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43815 (struct tm): Expect tag.
43816 [C99-based-standards] (wcstof): Expect function.
43817 [C99-based-standards] (wcstold): Likewise.
43818 [C99-based-standards] (wcstoll): Likewise.
43819 [C99-based-standards] (wcstoull): Likewise.
43820 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43821 macro-int-constant. Specify type.
43822 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43823 constraint on value.
43824 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43825 Specify type.
43826 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43827 Specify value.
43828 [ISO C standards]: Do not allow headers.
43829 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43830 wcs[abcdefghijklmnopqrstuvwxyz]*.
43831 [ISO C standards] (*_t): Do not allow.
43832 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43833 Expect function.
43834 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43835 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43836 Specify type.
43837 [ISO C standards]: Do not allow headers.
43838 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43839 is[abcdefghijklmnopqrstuvwxyz]*.
43840 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43841 to[abcdefghijklmnopqrstuvwxyz]*.
43842 [ISO C standards] (*_t): Do not allow.
43843 * conform/data/stdalign.h-data: New file.
43844 * conform/data/stdbool.h-data: Likewise.
43845 * conform/data/stdnoreturn.h-data: Likewise.
43846
43847 2012-11-07 Roland McGrath <roland@hack.frob.com>
43848
43849 [BZ #14815]
43850 * manual/filesys.texi (Directory Entries): Typo fix.
43851 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43852
43853 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43854
43855 * elf/elf.h (EM_AARCH64): New macro.
43856 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43857 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43858 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43859 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43860 (R_AARCH64_TLSDESC): Likewise.
43861 (NT_ARM_TLS): Likewise.
43862 (NT_ARM_HW_BREAK): Likewise.
43863 (NT_ARM_HW_WATCH): Likewise.
43864
43865 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43866
43867 [BZ #14811]
43868 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43869 (__ieee754_powl): Saturate nonzero exponents with absolute value
43870 below 0x1p-79 to +/- 0x1p-79.
43871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43872 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43873 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43874 nonzero exponents with absolute value below 0x1p-32 to +/-
43875 0x1p-32.
43876 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43877 (__ieee754_powl): Saturate nonzero exponents with absolute value
43878 below 0x1p-79 to +/- 0x1p-79.
43879 * math/libm-test.inc (pow_test): Add more tests.
43880
43881 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43882
43883 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43884 _dl_s390_cap_flags with kernel. Increase string length.
43885 (_dl_s390_platforms): Add z196 and zEC12.
43886
43887 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43888
43889 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43890 Change XOPEN21K to XOPEN2K.
43891
43892 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43893
43894 * string/memmove.c: Use memcpy when possible.
43895
43896 2012-11-06 Andreas Jaeger <aj@suse.de>
43897
43898 * po/eo.po: Update from translation team.
43899
43900 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43901
43902 [BZ #14793]
43903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43904 exponent and small x and y exponents, scale x or y up. Increase
43905 by 2 the exponent used in scaling up.
43906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43908 * math/libm-test.inc (fma_test): Add more tests.
43909 (fma_test_towardzero): Likewise.
43910 (fma_test_downward): Likewise.
43911 (fma_test_upward): Likewise.
43912
43913 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43914
43915 [BZ #14805]
43916 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43917 fenv_t *.
43918
43919 [BZ #14801]
43920 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43921 namespace for names of struct fields.
43922 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43923 fenv_t fields.
43924 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43925 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43926
43927 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43928
43929 [BZ #3665]
43930 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43931
43932 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43933
43934 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43935 PTR_DEMANGLE.
43936
43937 [BZ #5246]
43938 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43939 PTR_DEMANGLE.
43940
43941 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43942
43943 [BZ #14797]
43944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43945 definitely overflow as x * y not x * y + z.
43946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43948 * math/libm-test.inc (fma_test): Add more tests.
43949 (fma_test_towardzero): Likewise.
43950 (fma_test_downward): Likewise.
43951 (fma_test_upward): Likewise.
43952
43953 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43954
43955 [BZ #157]
43956
43957 * include/stub-tag.h: Remove file.
43958 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43959 '#include' of it.
43960 * manual/maint.texi (Porting): Don't reference it.
43961 * Makerules ($(objpfx)stubs): Likewise.
43962 * dirent/closedir.c: Don't include <stub-tag.h>.
43963 * dirent/dirfd.c: Likewise.
43964 * dirent/fdopendir.c: Likewise.
43965 * dirent/getdents.c: Likewise.
43966 * dirent/getdents64.c: Likewise.
43967 * dirent/opendir.c: Likewise.
43968 * dirent/readdir.c: Likewise.
43969 * dirent/readdir64.c: Likewise.
43970 * dirent/readdir64_r.c: Likewise.
43971 * dirent/readdir_r.c: Likewise.
43972 * dirent/rewinddir.c: Likewise.
43973 * dirent/seekdir.c: Likewise.
43974 * dirent/telldir.c: Likewise.
43975 * gmon/profil.c: Likewise.
43976 * grp/setgroups.c: Likewise.
43977 * inet/if_index.c: Likewise.
43978 * io/access.c: Likewise.
43979 * io/chdir.c: Likewise.
43980 * io/chmod.c: Likewise.
43981 * io/chown.c: Likewise.
43982 * io/close.c: Likewise.
43983 * io/dup.c: Likewise.
43984 * io/dup2.c: Likewise.
43985 * io/dup3.c: Likewise.
43986 * io/euidaccess.c: Likewise.
43987 * io/faccessat.c: Likewise.
43988 * io/fchdir.c: Likewise.
43989 * io/fchmod.c: Likewise.
43990 * io/fchmodat.c: Likewise.
43991 * io/fchown.c: Likewise.
43992 * io/fchownat.c: Likewise.
43993 * io/fcntl.c: Likewise.
43994 * io/flock.c: Likewise.
43995 * io/fstatfs.c: Likewise.
43996 * io/fstatfs64.c: Likewise.
43997 * io/fstatvfs.c: Likewise.
43998 * io/fstatvfs64.c: Likewise.
43999 * io/futimens.c: Likewise.
44000 * io/fxstat.c: Likewise.
44001 * io/fxstat64.c: Likewise.
44002 * io/fxstatat.c: Likewise.
44003 * io/fxstatat64.c: Likewise.
44004 * io/getcwd.c: Likewise.
44005 * io/isatty.c: Likewise.
44006 * io/lchmod.c: Likewise.
44007 * io/lchown.c: Likewise.
44008 * io/link.c: Likewise.
44009 * io/linkat.c: Likewise.
44010 * io/lseek.c: Likewise.
44011 * io/lseek64.c: Likewise.
44012 * io/lxstat64.c: Likewise.
44013 * io/mkdir.c: Likewise.
44014 * io/mkdirat.c: Likewise.
44015 * io/mkfifo.c: Likewise.
44016 * io/mkfifoat.c: Likewise.
44017 * io/open.c: Likewise.
44018 * io/open64.c: Likewise.
44019 * io/openat.c: Likewise.
44020 * io/openat64.c: Likewise.
44021 * io/pipe.c: Likewise.
44022 * io/pipe2.c: Likewise.
44023 * io/poll.c: Likewise.
44024 * io/posix_fadvise.c: Likewise.
44025 * io/posix_fadvise64.c: Likewise.
44026 * io/posix_fallocate.c: Likewise.
44027 * io/posix_fallocate64.c: Likewise.
44028 * io/read.c: Likewise.
44029 * io/readlink.c: Likewise.
44030 * io/readlinkat.c: Likewise.
44031 * io/rmdir.c: Likewise.
44032 * io/sendfile.c: Likewise.
44033 * io/sendfile64.c: Likewise.
44034 * io/statfs.c: Likewise.
44035 * io/statfs64.c: Likewise.
44036 * io/statvfs.c: Likewise.
44037 * io/statvfs64.c: Likewise.
44038 * io/symlink.c: Likewise.
44039 * io/symlinkat.c: Likewise.
44040 * io/ttyname.c: Likewise.
44041 * io/ttyname_r.c: Likewise.
44042 * io/umask.c: Likewise.
44043 * io/unlink.c: Likewise.
44044 * io/unlinkat.c: Likewise.
44045 * io/utime.c: Likewise.
44046 * io/utimensat.c: Likewise.
44047 * io/write.c: Likewise.
44048 * io/xmknod.c: Likewise.
44049 * io/xmknodat.c: Likewise.
44050 * io/xstat.c: Likewise.
44051 * io/xstat64.c: Likewise.
44052 * login/getpt.c: Likewise.
44053 * login/grantpt.c: Likewise.
44054 * login/unlockpt.c: Likewise.
44055 * math/e_acoshl.c: Likewise.
44056 * math/e_acosl.c: Likewise.
44057 * math/e_asinl.c: Likewise.
44058 * math/e_atan2l.c: Likewise.
44059 * math/e_atanhl.c: Likewise.
44060 * math/e_coshl.c: Likewise.
44061 * math/e_expl.c: Likewise.
44062 * math/e_fmodl.c: Likewise.
44063 * math/e_gammal_r.c: Likewise.
44064 * math/e_hypotl.c: Likewise.
44065 * math/e_j0l.c: Likewise.
44066 * math/e_j1l.c: Likewise.
44067 * math/e_jnl.c: Likewise.
44068 * math/e_lgammal_r.c: Likewise.
44069 * math/e_log10l.c: Likewise.
44070 * math/e_log2l.c: Likewise.
44071 * math/e_logl.c: Likewise.
44072 * math/e_powl.c: Likewise.
44073 * math/e_rem_pio2l.c: Likewise.
44074 * math/e_sinhl.c: Likewise.
44075 * math/e_sqrtl.c: Likewise.
44076 * math/fclrexcpt.c: Likewise.
44077 * math/fedisblxcpt.c: Likewise.
44078 * math/feenablxcpt.c: Likewise.
44079 * math/fegetenv.c: Likewise.
44080 * math/fegetexcept.c: Likewise.
44081 * math/fegetround.c: Likewise.
44082 * math/feholdexcpt.c: Likewise.
44083 * math/fesetenv.c: Likewise.
44084 * math/fesetround.c: Likewise.
44085 * math/feupdateenv.c: Likewise.
44086 * math/fgetexcptflg.c: Likewise.
44087 * math/fraiseexcpt.c: Likewise.
44088 * math/fsetexcptflg.c: Likewise.
44089 * math/ftestexcept.c: Likewise.
44090 * math/k_cosl.c: Likewise.
44091 * math/k_rem_pio2l.c: Likewise.
44092 * math/k_sinl.c: Likewise.
44093 * math/k_tanl.c: Likewise.
44094 * math/s_asinhl.c: Likewise.
44095 * math/s_atanl.c: Likewise.
44096 * math/s_cbrtl.c: Likewise.
44097 * math/s_erfl.c: Likewise.
44098 * math/s_expm1l.c: Likewise.
44099 * math/s_log1pl.c: Likewise.
44100 * math/s_tanhl.c: Likewise.
44101 * misc/acct.c: Likewise.
44102 * misc/brk.c: Likewise.
44103 * misc/chflags.c: Likewise.
44104 * misc/chroot.c: Likewise.
44105 * misc/fchflags.c: Likewise.
44106 * misc/fgetxattr.c: Likewise.
44107 * misc/flistxattr.c: Likewise.
44108 * misc/fremovexattr.c: Likewise.
44109 * misc/fsetxattr.c: Likewise.
44110 * misc/fsync.c: Likewise.
44111 * misc/ftruncate.c: Likewise.
44112 * misc/futimes.c: Likewise.
44113 * misc/futimesat.c: Likewise.
44114 * misc/getdomain.c: Likewise.
44115 * misc/getdtsz.c: Likewise.
44116 * misc/gethostid.c: Likewise.
44117 * misc/gethostname.c: Likewise.
44118 * misc/getloadavg.c: Likewise.
44119 * misc/getpagesize.c: Likewise.
44120 * misc/getsysstats.c: Likewise.
44121 * misc/getxattr.c: Likewise.
44122 * misc/gtty.c: Likewise.
44123 * misc/ioctl.c: Likewise.
44124 * misc/lgetxattr.c: Likewise.
44125 * misc/listxattr.c: Likewise.
44126 * misc/llistxattr.c: Likewise.
44127 * misc/lremovexattr.c: Likewise.
44128 * misc/lsetxattr.c: Likewise.
44129 * misc/lutimes.c: Likewise.
44130 * misc/madvise.c: Likewise.
44131 * misc/mincore.c: Likewise.
44132 * misc/mlock.c: Likewise.
44133 * misc/mlockall.c: Likewise.
44134 * misc/mmap.c: Likewise.
44135 * misc/mprotect.c: Likewise.
44136 * misc/msync.c: Likewise.
44137 * misc/munlock.c: Likewise.
44138 * misc/munlockall.c: Likewise.
44139 * misc/munmap.c: Likewise.
44140 * misc/preadv.c: Likewise.
44141 * misc/preadv64.c: Likewise.
44142 * misc/ptrace.c: Likewise.
44143 * misc/pwritev.c: Likewise.
44144 * misc/pwritev64.c: Likewise.
44145 * misc/readv.c: Likewise.
44146 * misc/reboot.c: Likewise.
44147 * misc/remap_file_pages.c: Likewise.
44148 * misc/removexattr.c: Likewise.
44149 * misc/revoke.c: Likewise.
44150 * misc/select.c: Likewise.
44151 * misc/setdomain.c: Likewise.
44152 * misc/setegid.c: Likewise.
44153 * misc/seteuid.c: Likewise.
44154 * misc/sethostid.c: Likewise.
44155 * misc/sethostname.c: Likewise.
44156 * misc/setregid.c: Likewise.
44157 * misc/setreuid.c: Likewise.
44158 * misc/setxattr.c: Likewise.
44159 * misc/sstk.c: Likewise.
44160 * misc/stty.c: Likewise.
44161 * misc/swapoff.c: Likewise.
44162 * misc/swapon.c: Likewise.
44163 * misc/sync.c: Likewise.
44164 * misc/syncfs.c: Likewise.
44165 * misc/syscall.c: Likewise.
44166 * misc/truncate.c: Likewise.
44167 * misc/ualarm.c: Likewise.
44168 * misc/usleep.c: Likewise.
44169 * misc/ustat.c: Likewise.
44170 * misc/utimes.c: Likewise.
44171 * misc/vhangup.c: Likewise.
44172 * misc/writev.c: Likewise.
44173 * posix/_exit.c: Likewise.
44174 * posix/alarm.c: Likewise.
44175 * posix/execve.c: Likewise.
44176 * posix/fexecve.c: Likewise.
44177 * posix/fork.c: Likewise.
44178 * posix/fpathconf.c: Likewise.
44179 * posix/getaddrinfo.c: Likewise.
44180 * posix/getegid.c: Likewise.
44181 * posix/geteuid.c: Likewise.
44182 * posix/getgid.c: Likewise.
44183 * posix/getgroups.c: Likewise.
44184 * posix/getlogin.c: Likewise.
44185 * posix/getlogin_r.c: Likewise.
44186 * posix/getpgid.c: Likewise.
44187 * posix/getpid.c: Likewise.
44188 * posix/getppid.c: Likewise.
44189 * posix/getresgid.c: Likewise.
44190 * posix/getresuid.c: Likewise.
44191 * posix/getsid.c: Likewise.
44192 * posix/getuid.c: Likewise.
44193 * posix/glob64.c: Likewise.
44194 * posix/nanosleep.c: Likewise.
44195 * posix/pathconf.c: Likewise.
44196 * posix/pause.c: Likewise.
44197 * posix/posix_madvise.c: Likewise.
44198 * posix/pread.c: Likewise.
44199 * posix/pread64.c: Likewise.
44200 * posix/pwrite.c: Likewise.
44201 * posix/pwrite64.c: Likewise.
44202 * posix/sched_getaffinity.c: Likewise.
44203 * posix/sched_getp.c: Likewise.
44204 * posix/sched_gets.c: Likewise.
44205 * posix/sched_primax.c: Likewise.
44206 * posix/sched_primin.c: Likewise.
44207 * posix/sched_rr_gi.c: Likewise.
44208 * posix/sched_setaffinity.c: Likewise.
44209 * posix/sched_setp.c: Likewise.
44210 * posix/sched_sets.c: Likewise.
44211 * posix/sched_yield.c: Likewise.
44212 * posix/setgid.c: Likewise.
44213 * posix/setlogin.c: Likewise.
44214 * posix/setpgid.c: Likewise.
44215 * posix/setresgid.c: Likewise.
44216 * posix/setresuid.c: Likewise.
44217 * posix/setsid.c: Likewise.
44218 * posix/setuid.c: Likewise.
44219 * posix/sleep.c: Likewise.
44220 * posix/spawni.c: Likewise.
44221 * posix/sysconf.c: Likewise.
44222 * posix/times.c: Likewise.
44223 * posix/wait.c: Likewise.
44224 * posix/wait3.c: Likewise.
44225 * posix/wait4.c: Likewise.
44226 * posix/waitpid.c: Likewise.
44227 * resolv/gai_sigqueue.c: Likewise.
44228 * resource/getpriority.c: Likewise.
44229 * resource/getrlimit.c: Likewise.
44230 * resource/getrusage.c: Likewise.
44231 * resource/nice.c: Likewise.
44232 * resource/setpriority.c: Likewise.
44233 * resource/setrlimit.c: Likewise.
44234 * resource/ulimit.c: Likewise.
44235 * rt/aio_cancel.c: Likewise.
44236 * rt/aio_fsync.c: Likewise.
44237 * rt/aio_read.c: Likewise.
44238 * rt/aio_sigqueue.c: Likewise.
44239 * rt/aio_suspend.c: Likewise.
44240 * rt/aio_write.c: Likewise.
44241 * rt/clock_getres.c: Likewise.
44242 * rt/clock_gettime.c: Likewise.
44243 * rt/clock_nanosleep.c: Likewise.
44244 * rt/clock_settime.c: Likewise.
44245 * rt/lio_listio.c: Likewise.
44246 * rt/mq_close.c: Likewise.
44247 * rt/mq_getattr.c: Likewise.
44248 * rt/mq_notify.c: Likewise.
44249 * rt/mq_open.c: Likewise.
44250 * rt/mq_receive.c: Likewise.
44251 * rt/mq_send.c: Likewise.
44252 * rt/mq_setattr.c: Likewise.
44253 * rt/mq_timedreceive.c: Likewise.
44254 * rt/mq_timedsend.c: Likewise.
44255 * rt/mq_unlink.c: Likewise.
44256 * rt/shm_open.c: Likewise.
44257 * rt/shm_unlink.c: Likewise.
44258 * rt/timer_create.c: Likewise.
44259 * rt/timer_delete.c: Likewise.
44260 * rt/timer_getoverr.c: Likewise.
44261 * rt/timer_gettime.c: Likewise.
44262 * rt/timer_settime.c: Likewise.
44263 * setjmp/__longjmp.c: Likewise.
44264 * setjmp/setjmp.c: Likewise.
44265 * signal/kill.c: Likewise.
44266 * signal/killpg.c: Likewise.
44267 * signal/raise.c: Likewise.
44268 * signal/sigaction.c: Likewise.
44269 * signal/sigaltstack.c: Likewise.
44270 * signal/sigblock.c: Likewise.
44271 * signal/sigignore.c: Likewise.
44272 * signal/sigintr.c: Likewise.
44273 * signal/signal.c: Likewise.
44274 * signal/sigpause.c: Likewise.
44275 * signal/sigpending.c: Likewise.
44276 * signal/sigqueue.c: Likewise.
44277 * signal/sigreturn.c: Likewise.
44278 * signal/sigset.c: Likewise.
44279 * signal/sigsetmask.c: Likewise.
44280 * signal/sigstack.c: Likewise.
44281 * signal/sigsuspend.c: Likewise.
44282 * signal/sigtimedwait.c: Likewise.
44283 * signal/sigvec.c: Likewise.
44284 * signal/sigwait.c: Likewise.
44285 * signal/sigwaitinfo.c: Likewise.
44286 * signal/sysv_signal.c: Likewise.
44287 * socket/accept.c: Likewise.
44288 * socket/accept4.c: Likewise.
44289 * socket/bind.c: Likewise.
44290 * socket/connect.c: Likewise.
44291 * socket/getpeername.c: Likewise.
44292 * socket/getsockname.c: Likewise.
44293 * socket/getsockopt.c: Likewise.
44294 * socket/isfdtype.c: Likewise.
44295 * socket/listen.c: Likewise.
44296 * socket/recv.c: Likewise.
44297 * socket/recvfrom.c: Likewise.
44298 * socket/recvmsg.c: Likewise.
44299 * socket/send.c: Likewise.
44300 * socket/sendmsg.c: Likewise.
44301 * socket/sendto.c: Likewise.
44302 * socket/setsockopt.c: Likewise.
44303 * socket/shutdown.c: Likewise.
44304 * socket/sockatmark.c: Likewise.
44305 * socket/socket.c: Likewise.
44306 * socket/socketpair.c: Likewise.
44307 * stdio-common/ctermid.c: Likewise.
44308 * stdio-common/cuserid.c: Likewise.
44309 * stdio-common/remove.c: Likewise.
44310 * stdio-common/rename.c: Likewise.
44311 * stdio-common/renameat.c: Likewise.
44312 * stdio-common/tempname.c: Likewise.
44313 * stdlib/getcontext.c: Likewise.
44314 * stdlib/makecontext.c: Likewise.
44315 * stdlib/setcontext.c: Likewise.
44316 * stdlib/swapcontext.c: Likewise.
44317 * stdlib/system.c: Likewise.
44318 * streams/fattach.c: Likewise.
44319 * streams/fdetach.c: Likewise.
44320 * streams/getmsg.c: Likewise.
44321 * streams/getpmsg.c: Likewise.
44322 * streams/putmsg.c: Likewise.
44323 * streams/putpmsg.c: Likewise.
44324 * sysdeps/unix/bsd/getpt.c: Likewise.
44325 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44326 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44327 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44329 Likewise.
44330 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44331 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44332 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44333 * sysvipc/msgctl.c: Likewise.
44334 * sysvipc/msgget.c: Likewise.
44335 * sysvipc/msgrcv.c: Likewise.
44336 * sysvipc/msgsnd.c: Likewise.
44337 * sysvipc/semctl.c: Likewise.
44338 * sysvipc/semget.c: Likewise.
44339 * sysvipc/semop.c: Likewise.
44340 * sysvipc/semtimedop.c: Likewise.
44341 * sysvipc/shmat.c: Likewise.
44342 * sysvipc/shmctl.c: Likewise.
44343 * sysvipc/shmdt.c: Likewise.
44344 * sysvipc/shmget.c: Likewise.
44345 * termios/tcdrain.c: Likewise.
44346 * termios/tcflow.c: Likewise.
44347 * termios/tcflush.c: Likewise.
44348 * termios/tcgetattr.c: Likewise.
44349 * termios/tcgetpgrp.c: Likewise.
44350 * termios/tcsendbrk.c: Likewise.
44351 * termios/tcsetattr.c: Likewise.
44352 * termios/tcsetpgrp.c: Likewise.
44353 * time/adjtime.c: Likewise.
44354 * time/clock.c: Likewise.
44355 * time/getitimer.c: Likewise.
44356 * time/gettimeofday.c: Likewise.
44357 * time/setitimer.c: Likewise.
44358 * time/settimeofday.c: Likewise.
44359 * time/stime.c: Likewise.
44360 * time/time.c: Likewise.
44361
44362 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44363
44364 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44365 /usr/old/bin.
44366
44367 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44368 instead of spaces.
44369 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44370
44371 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44372
44373 [BZ #14796]
44374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44375 FE_TONEAREST before applying Dekker multiplication and Knuth
44376 addition. Clear inexact exceptions and check for exact zero
44377 results afterwards.
44378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44379 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44381 * math/libm-test.inc (fma_test): Add more tests.
44382 (fma_test_towardzero): Likewise.
44383 (fma_test_downward): Likewise.
44384 (fma_test_upward): Likewise.
44385 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44386 function.
44387 (libc_fesetround): New macro.
44388 (libc_fesetroundf): Likewise.
44389 (libc_fesetroundl): Likewise.
44390 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44391 function.
44392 (libc_fesetround_387): Likewise.
44393 (libc_fesetroundf): New macro.
44394 (libc_fesetround): Likewise.
44395 (libc_fesetroundl): Likewise.
44396 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44397 function.
44398 (libc_fesetroundf): New macro.
44399 (libc_fesetround): Likewise.
44400 (libc_fesetroundl): Likewise.
44401 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44402 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44403 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44404 libm_hidden_ver.
44405 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44406 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44407 libm_hidden_def.
44408 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44409 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44410 libm_hidden_ver.
44411 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44412 libm_hidden_def.
44413
44414 [BZ #3439]
44415 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44416 integer constant usable in #if and use that to give value to enum
44417 constant.
44418 (FE_DIVBYZERO): Likewise.
44419 (FE_UNDERFLOW): Likewise.
44420 (FE_OVERFLOW): Likewise.
44421 (FE_INVALID): Likewise.
44422 (FE_INVALID_SNAN): Likewise.
44423 (FE_INVALID_ISI): Likewise.
44424 (FE_INVALID_IDI): Likewise.
44425 (FE_INVALID_ZDZ): Likewise.
44426 (FE_INVALID_IMZ): Likewise.
44427 (FE_INVALID_COMPARE): Likewise.
44428 (FE_INVALID_SOFTWARE): Likewise.
44429 (FE_INVALID_SQRT): Likewise.
44430 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44431 (FE_TONEAREST): Likewise.
44432 (FE_TOWARDZERO): Likewise.
44433 (FE_UPWARD): Likewise.
44434 (FE_DOWNWARD): Likewise.
44435 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44436 (FE_DIVBYZERO): Likewise.
44437 (FE_OVERFLOW): Likewise.
44438 (FE_UNDERFLOW): Likewise.
44439 (FE_INEXACT): Likewise.
44440 (FE_TONEAREST): Likewise.
44441 (FE_DOWNWARD): Likewise.
44442 (FE_UPWARD): Likewise.
44443 (FE_TOWARDZERO): Likewise.
44444 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44445 (FE_UNDERFLOW): Likewise.
44446 (FE_OVERFLOW): Likewise.
44447 (FE_DIVBYZERO): Likewise.
44448 (FE_INVALID): Likewise.
44449 (FE_TONEAREST): Likewise.
44450 (FE_TOWARDZERO): Likewise.
44451 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44452 (FE_OVERFLOW): Likewise.
44453 (FE_UNDERFLOW): Likewise.
44454 (FE_DIVBYZERO): Likewise.
44455 (FE_INEXACT): Likewise.
44456 (FE_TONEAREST): Likewise.
44457 (FE_TOWARDZERO): Likewise.
44458 (FE_UPWARD): Likewise.
44459 (FE_DOWNWARD): Likewise.
44460 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44461 (FE_DIVBYZERO): Likewise.
44462 (FE_OVERFLOW): Likewise.
44463 (FE_UNDERFLOW): Likewise.
44464 (FE_INEXACT): Likewise.
44465 (FE_TONEAREST): Likewise.
44466 (FE_DOWNWARD): Likewise.
44467 (FE_UPWARD): Likewise.
44468 (FE_TOWARDZERO): Likewise.
44469
44470 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44471
44472 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44473
44474 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44475
44476 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44477 commands. Quote $PWD.
44478 (blacklist_exports): Don't use remove_newlines. Replace "declare
44479 -x" by "export".
44480 (remove_newlines): Remove.
44481
44482 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44483
44484 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44485 * stdlib/stdlib.h (atof): Moved to ...
44486 * include/bits/stdlib-float.h: Here. New file.
44487 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44488 * stdlib/bits/stdlib-float.h: New file.
44489 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44490 -mno-sse -mno-mmx.
44491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44492 <xmmintrin.h>.
44493
44494 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44495
44496 * conform/conformtest.pl (@headers): Add fenv.h.
44497 * conform/data/fenv.h-data: New file.
44498 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44499 include of <math/fenv.h>.
44500
44501 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44502 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44503 && !UNIX98]. Enables tests for XOPEN2K8.
44504 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44505 POSIX2008]: Likewise.
44506
44507 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44508 (struct rusage): Do not expect type or its members.
44509
44510 [BZ #3439]
44511 * math/math.h (FP_NAN): Define macro to integer constant usable in
44512 #if and use that to give value to enum constant.
44513 (FP_INFINITE): Likewise.
44514 (FP_ZERO): Likewise.
44515 (FP_SUBNORMAL): Likewise.
44516 (FP_NORMAL): Likewise.
44517
44518 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44519
44520 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44521 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44522 arguments.
44523
44524 2012-11-02 Roland McGrath <roland@hack.frob.com>
44525
44526 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44527 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44528 autoconf-time if not.
44529 * configure.in: Remove AC_PREREQ.
44530
44531 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44532
44533 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44534 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44535 of the internal implementation.
44536
44537 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44538
44539 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44540 except include of <misc/sys/syslog.h>.
44541
44542 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44543
44544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44545 function returns with a NULL context exit with zero.
44546
44547 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44548
44549 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44550
44551 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44552
44553 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44554 (run_program_cmd): This.
44555 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44556 (tst_langinfo): New variable. Use it.
44557
44558 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44559
44560 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44561 floating point opcodes.
44562
44563 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44564
44565 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44566 variable.
44567
44568 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44569
44570 * sysdeps/mach/hurd/powerpc: Remove directory.
44571 * sysdeps/mach/powerpc: Likewise.
44572
44573 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44574
44575 * scripts/check-local-headers.sh: Ignore c++ headers.
44576
44577 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44578
44579 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44580 __libc_cleanup_region_start argument.
44581
44582 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44583
44584 [BZ #14784]
44585 [BZ #14785]
44586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44587 x * y using scaling, not as x * y + z.
44588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44590 * math/libm-test.inc (fma_test): Add more tests.
44591 (fma_test_towardzero): Likewise.
44592 (fma_test_downward): Likewise.
44593 (fma_test_upward): Likewise.
44594
44595 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44596
44597 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44598
44599 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44600
44601 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44602 New variable.
44603
44604 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44605
44606 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44607
44608 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44609
44610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44611 Fix sort order.
44612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44613 Likewise.
44614
44615 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44616
44617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44618 Fix the order of the list for glibc 2.17.
44619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44620 Likewise.
44621
44622 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44623
44624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44625
44626 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44627
44628 [BZ #14610]
44629 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44630 for low part of x being zero before using __atanl (y).
44631 * math/libm-test.inc (atan2_test): Add another test.
44632
44633 * manual/install.texi (Configuring and compiling): Document
44634 general use of test-wrapper and test-wrapper-env.
44635 * INSTALL: Regenerated.
44636
44637 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44638 (__fma): Do not extract and scale down low bits on after-rounding
44639 systems when result rounded to normal precision would have normal
44640 exponent.
44641 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44642 (__fmal): Do not extract and scale down low bits on after-rounding
44643 systems when result rounded to normal precision would have normal
44644 exponent.
44645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44646 (__fmal): Do not extract and scale down low bits on after-rounding
44647 systems when result rounded to normal precision would have normal
44648 exponent.
44649 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44650 macro.
44651 (fma_test): Add more tests.
44652 (fma_test_towardzero): Likewise.
44653 (fma_test_downward): Likewise.
44654 (fma_test_upward): Likewise.
44655
44656 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44657
44658 * sysdeps/i386/tininess.h: Renamed to ...
44659 * sysdeps/x86/tininess.h: This.
44660 * sysdeps/x86_64/tininess.h: Removed.
44661
44662 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44663
44664 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44665 input. Use $(build-program-cmd).
44666 ($(objpfx)tst-array1-static.out): Likewise.
44667 ($(objpfx)tst-array2.out): Likewise.
44668 ($(objpfx)tst-array3.out): Likewise.
44669 ($(objpfx)tst-array4.out): Likewise.
44670 ($(objpfx)tst-array5.out): Likewise.
44671 ($(objpfx)tst-array5-static.out): Likewise.
44672
44673 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44674
44675 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44676 if defined.
44677
44678 * nss/nsswitch.h (nss_interface_function): Provide new
44679 macro for use with NSS functions.
44680 * grp/initgroups.c: Use new macro.
44681 * nss/getXXbyYY.c: Likewise.
44682 * nss/getXXbyYY_r.c: Likewise.
44683 * nss/getXXent.c: Likewise.
44684 * nss/getXXent_r.c: Likewise.
44685 * sysdeps/posix/getaddrinfo.c: Likewise.
44686
44687 2012-10-30 Andreas Jaeger <aj@suse.de>
44688
44689 * po/ru.po: Update Russion translation from translation project.
44690
44691 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44692
44693 [BZ #14152]
44694 [BZ #14783]
44695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44696 result and shift together with sticky bit instead of replicating
44697 round-to-nearest rounding.
44698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44700 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44701 missing underflow exceptions.
44702 (fma_test_towardzero): Add more tests.
44703 (fma_test_downward): Likewise.
44704 (fma_test_upward): Likewise.
44705
44706 [BZ #14047]
44707 * sysdeps/generic/tininess.h: New file.
44708 * sysdeps/i386/tininess.h: Likewise.
44709 * sysdeps/sh/tininess.h: Likewise.
44710 * sysdeps/x86_64/tininess.h: Likewise.
44711 * stdlib/tst-strtod-underflow.c: Likewise.
44712 * stdlib/tst-tininess.c: Likewise.
44713 * stdlib/strtod_l.c: Include <tininess.h>.
44714 (round_and_return): Do not set errno for exact underflow cases.
44715 Force an underflow exception when setting errno for underflow.
44716 Determine underflow based on rounding to normal precision if
44717 TININESS_AFTER_ROUNDING.
44718 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44719 ERANGE for exact underflow cases.
44720 * stdlib/Makefile (tests): Add tst-tininess and
44721 tst-strtod-underflow.
44722 ($(objpfx)tst-tininess): Use $(link-libm).
44723 ($(objpfx)tst-strtod-underflow): Likewise.
44724
44725 2012-10-30 Andreas Jaeger <aj@suse.de>
44726
44727 [BZ#14767]
44728 * elf/Makefile (tests): Remove conditional for have-initfini-array
44729 since this is now always required and the variable does not exist
44730 anymore.
44731 (tests-static): Likewise.
44732 (modules-names): Likewise.
44733
44734 * po/eo.po: Add Esperanto translation from translation project.
44735
44736 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44737 merged with constructor/destructor.
44738 (init_array): Likewise.
44739 * elf/tst-array2dep.c (fini_array): Likewise.
44740 (init_array): Likewise.
44741
44742 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44743
44744 * manual/message.texi: Delete @cartouche tags.
44745
44746 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44747
44748 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44749 EOPNOTSUPP.
44750 * sysdeps/mach/hurd/fsync.c: Likewise.
44751
44752 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44753 [_POSIX_REALTIME_SIGNALS]: Change condition to
44754 [_POSIX_REALTIME_SIGNALS > 0].
44755
44756 2012-10-27 Andreas Jaeger <aj@suse.de>
44757
44758 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44759 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44761 [__WORDSIZE != 64]: Likewise.
44762
44763 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44764
44765 * iconvdata/tst-table.sh: Remove ${SHELL}.
44766 * iconvdata/tst-tables.sh: Likewise.
44767
44768 2012-10-25 David S. Miller <davem@davemloft.net>
44769
44770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44771 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44772 of strtoull.
44773
44774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44775 ifunc-impl-list.c
44776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44777 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44778 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44779 file.
44780
44781 2012-10-25 Roland McGrath <roland@hack.frob.com>
44782
44783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44784 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44785 __getdirentries.
44786
44787 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44788 Jim Blandy <jimb@codesourcery.com>
44789
44790 * scripts/cross-test-ssh.sh: New file.
44791 * manual/install.texi (Configuring and compiling): Document use of
44792 cross-test-ssh.sh.
44793 * INSTALL: Regenerated.
44794
44795 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44796
44797 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44798 EOPNOTSUPP.
44799
44800 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44801
44802 * Makeconfig (run-program-prefix): Fix comment.
44803
44804 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44805 Jim Blandy <jimb@codesourcery.com>
44806
44807 * Makeconfig (test-wrapper): New variable,
44808 (test-wrapper-env): Likewise.
44809 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44810 (run-built-tests): Define to yes.
44811 (run-program-prefix): Use $(test-wrapper).
44812 (built-program-cmd): Likewise.
44813 * Rules (make-test-out): Use $(test-wrapper-env) and
44814 $(host-built-program-cmd).
44815 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44816 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44817 tst-pathopt.sh.
44818 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44819 $(test-wrapper-env) to tst-rtld-load-self.sh.
44820 ($(objpfx)order2.out): Use $(test-wrapper).
44821 ($(objpfx)tst-initorder.out): Likewise.
44822 ($(objpfx)tst-initorder2.out): Likewise.
44823 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44824 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44825 (test_wrapper_env): New variable. Use it to run ld.so.
44826 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44827 Use it to run ld.so.
44828 (test_wrapper_env): Likewise.
44829 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44830 $(test-wrapper) to run-iconv-test.sh.
44831 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44832 (ICONV): Use $test_wrapper.
44833 * posix/Makefile ($(objpfx)globtest.out): Pass
44834 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44835 globtest.sh, not $(run-program-prefix).
44836 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44837 (test_wrapper): Likewise.
44838 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44839 set together with run_via_rtld_prefix.
44840 (run_program_prefix): Define in terms of test_wrapper and
44841 run_via_rtld_prefix.
44842
44843 2012-10-24 Roland McGrath <roland@hack.frob.com>
44844
44845 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44846 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44847 Targets removed.
44848
44849 [BZ #14743]
44850 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44851 Declare __clock_getres, __clock_gettime, __clock_settime,
44852 __clock_nanosleep, and __clock_getcpuclockid.
44853 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44854 Remove librt_hidden_def (clock_gettime).
44855 * sysdeps/unix/clock_gettime.c: Likewise.
44856 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44857 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44858 * rt/clock_getres.c: Define __clock_getres as an alias.
44859 * sysdeps/posix/clock_getres.c: Likewise.
44860 * rt/clock_settime.c: Define __clock_settime as an alias.
44861 * sysdeps/unix/clock_settime.c: Likewise.
44862 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44863 * sysdeps/unix/clock_nanosleep.c: Likewise.
44864 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44865 * rt/clock-compat.c: New file.
44866 * rt/Makefile (librt-routines): Add clock-compat and move
44867 $(clock-routines) to ...
44868 (routines): ... here, new variable.
44869 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44870 Don't add get_clockfreq here.
44871 * rt/Versions (libc: GLIBC_2.17): New version set.
44872 Add clock_* symbols here.
44873 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44875 (GLIBC_2.17): Add clock_* symbols.
44876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44878 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44880 Likewise.
44881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44882 Likewise.
44883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44887 * NEWS: Mention the move.
44888
44889 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44890 Use __open, __read, __close rather than their public counterparts.
44891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44892 (__get_clockfreq_via_cpuinfo): Likewise.
44893 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44894 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44895
44896 * config.h.in (HAVE_IFUNC): New #undef.
44897 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44898 was successful.
44899 * configure: Regenerated.
44900
44901 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44902
44903 * configure.in: Move READELF check to start of file.
44904 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44905 libc_cv_asm_gnu_indirect_function in the process.
44906 * configure: Regenerated.
44907
44908 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44909
44910 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44911 send the output to /dev/null.
44912 (libc_cv_cc_with_libunwind): Likewise.
44913 (libc_cv_as_noexecstack): Likewise.
44914 * configure: Regenerate.
44915
44916 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44917
44918 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44919
44920 * posix/globtest.sh (TMPDIR): Do not set.
44921 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44922 (testout): Likewise.
44923
44924 2012-10-24 Andreas Jaeger <aj@suse.de>
44925
44926 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44927 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44928 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44929 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44930 posix_fadvise64, posix_fallocate64.
44931
44932 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44933 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44934 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44935 Likewise.
44936 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44937 Likewise.
44938 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44939
44940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44941 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44942 <bits/fcntl-linux.h>.
44943 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44944
44945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44946 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44947 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44948 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44949 [__WORDSIZE != 64]: Likewise.
44950
44951 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44952
44953 * Makeconfig (run-built-tests): New variable.
44954 * Rules [$(cross-compiling) = yes]: Change condition to
44955 [$(run-built-tests) = no].
44956 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44957 to [$(run-built-tests) = yes].
44958 * elf/Makefile [$(cross-compiling) = no]: Likewise
44959 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44960 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44961 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44962 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44963 * io/Makefile [$(cross-compiling) = no]: Likewise.
44964 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44965 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44966 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44967 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44968 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44969 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44970 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44971 * string/Makefile [$(cross-compiling) = no]: Likewise.
44972
44973 * posix/Makefile ($(objpfx)globtest.out): Pass
44974 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44975 $(rtld-installed-name).
44976 * posix/globtest.sh (elf_objpfx): Remove variable.
44977 (rtld_installed_name): Likewise.
44978 (library_path): Likewise.
44979 (run_program_prefix): New variable. Use for running globtest
44980 binary.
44981
44982 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44983 Joseph Myers <joseph@codesourcery.com>
44984
44985 * Makeconfig (host-built-program-cmd): New variable.
44986 * elf/Makefile (tst-stackguard1-ARGS): Use
44987 $(host-built-program-cmd).
44988 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44989 (tst-spawn-ARGS): Likewise.
44990 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44991
44992 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44993 Jim Blandy <jimb@codesourcery.com>
44994
44995 * Makeconfig (run-via-rtld-prefix): New variable.
44996 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44997 (built-program-cmd): Likewise.
44998
44999 2012-10-22 Andreas Jaeger <aj@suse.de>
45000
45001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45002 __O_RSYNC if it exists, otherwise to O_SYNC.
45003
45004 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45005 Joseph Myers <joseph@codesourcery.com>
45006
45007 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45008 /dev/null.
45009 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45010 from /dev/null
45011 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45012 /dev/null.
45013
45014 2012-10-22 Andreas Jaeger <aj@suse.de>
45015
45016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45017 Define always.
45018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45019
45020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45021 bits/fcntl-linux.h.
45022
45023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45024 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45025
45026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45027 to __O_LARGEFILE.
45028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45029 to __O_LARGEFILE.
45030
45031 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45032 Joseph Myers <joseph@codesourcery.com>
45033
45034 * config.make.in (NM): New variable.
45035
45036 2012-10-21 Andreas Jaeger <aj@suse.de>
45037
45038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45039 definitions and declarations that are provided by
45040 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45041
45042 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45043
45044 [BZ #14683]
45045 * elf/Makefile (tests-static): Add tst-leaks1-static.
45046 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45047 ($(objpfx)tst-leaks1-static): New rule.
45048 ($(objpfx)tst-leaks1-static-mem): Likewise.
45049 (tst-leaks1-static-ENV): New macro.
45050 * elf/dl-open.c (dl_open_worker): Check the main application
45051 only if SHARED is defined.
45052 * elf/tst-leaks1-static.c: New file.
45053
45054 2012-10-20 Andreas Jaeger <aj@suse.de>
45055
45056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45057 generic values for Linux.
45058 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45059 and declarations that are provided by <bits/fcntl-linux.h> and
45060 include <bits/fcntl-linux.h>.
45061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45063
45064 2012-10-20 Roland McGrath <roland@hack.frob.com>
45065
45066 * io/fcntl.h: Move include of <bits/types.h> to the top and
45067 include it unconditionally.
45068
45069 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45070
45071 * wcsmbs/Makefile (tests-ifunc): New variable.
45072 (tests): Add $(tests-ifunc).
45073 * wcsmbs/test-wcschr-ifunc.c: New file.
45074 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45075 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45076 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45077 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45078 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45079
45080 * string/Makefile (tests-ifunc): New variable.
45081 (tests): Add $(tests-ifunc).
45082 * string/test-memccpy.c (TEST_NAME): New macro.
45083 * string/test-memchr.c (TEST_NAME): Likewise.
45084 * string/test-memcmp.c (TEST_NAME): Likewise.
45085 * string/test-memcpy.c (TEST_NAME): Likewise.
45086 * string/test-memmem.c (TEST_NAME): Likewise.
45087 * string/test-memmove.c (TEST_NAME): Likewise.
45088 * string/test-memset.c (TEST_NAME): Likewise.
45089 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45090 * string/test-stpcpy.c (TEST_NAME): Likewise.
45091 * string/test-stpncpy.c (TEST_NAME): Likewise.
45092 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45093 * string/test-strcasestr.c (TEST_NAME): Likewise.
45094 * string/test-strcat.c (TEST_NAME): Likewise.
45095 * string/test-strchr.c (TEST_NAME): Likewise.
45096 * string/test-strcmp.c(TEST_NAME): Likewise.
45097 * string/test-strcpy.c (TEST_NAME): Likewise.
45098 * string/test-strcspn.c (TEST_NAME): Likewise.
45099 * string/test-strlen.c (TEST_NAME): Likewise.
45100 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45101 * string/test-strncmp.c (TEST_NAME): Likewise.
45102 * string/test-strncpy.c (TEST_NAME): Likewise.
45103 * string/test-strnlen.c (TEST_NAME): Likewise.
45104 * string/test-strpbrk.c (TEST_NAME): Likewise.
45105 * string/test-strrchr.c (TEST_NAME): Likewise.
45106 * string/test-strspn.c (TEST_NAME): Likewise.
45107 * string/test-strstr.c (TEST_NAME): Likewise.
45108 * string/test-bcopy-ifunc.c: New file.
45109 * string/test-bzero-ifunc.c: Likewise.
45110 * string/test-memccpy-ifunc.c: Likewise.
45111 * string/test-memchr-ifunc.c: Likewise.
45112 * string/test-memcmp-ifunc.c: Likewise.
45113 * string/test-memcpy-ifunc.c: Likewise.
45114 * string/test-memmem-ifunc.c: Likewise.
45115 * string/test-memmove-ifunc.c: Likewise.
45116 * string/test-mempcpy-ifunc.c: Likewise.
45117 * string/test-memset-ifunc.c: Likewise.
45118 * string/test-rawmemchr-ifunc.c: Likewise.
45119 * string/test-stpcpy-ifunc.c: Likewise.
45120 * string/test-stpncpy-ifunc.c: Likewise.
45121 * string/test-strcasecmp-ifunc.c: Likewise.
45122 * string/test-strcasestr-ifunc.c: Likewise.
45123 * string/test-strcat-ifunc.c: Likewise.
45124 * string/test-strchr-ifunc.c: Likewise.
45125 * string/test-strchrnul-ifunc.c: Likewise.
45126 * string/test-strcmp-ifunc.c: Likewise.
45127 * string/test-strcpy-ifunc.c: Likewise.
45128 * string/test-strcspn-ifunc.c: Likewise.
45129 * string/test-strlen-ifunc.c: Likewise.
45130 * string/test-strncasecmp-ifunc.c: Likewise.
45131 * string/test-strncat-ifunc.c: Likewise.
45132 * string/test-strncmp-ifunc.c: Likewise.
45133 * string/test-strncpy-ifunc.c: Likewise.
45134 * string/test-strnlen-ifunc.c: Likewise.
45135 * string/test-strpbrk-ifunc.c: Likewise.
45136 * string/test-strrchr-ifunc.c: Likewise.
45137 * string/test-strspn-ifunc.c: Likewise.
45138 * string/test-strstr-ifunc.c: Likewise.
45139
45140 * debug/Makefile (tests-ifunc): New variable.
45141 (tests): Add $(tests-ifunc).
45142 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45143 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45144 * debug/test-stpcpy_chk-ifunc.c: New file.
45145 * debug/test-strcpy_chk-ifunc.c: Likewise.
45146
45147 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45148
45149 [BZ #13601]
45150 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45151 header is not read in.
45152
45153 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45154
45155 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45156 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45157 directly. Pass built executable to script as
45158 $(built-program-cmd).
45159 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45160 $testprogram without using LD_LIBRARY_PATH and $ldso.
45161
45162 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45163 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45164 $(rtld-installed-name).
45165 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45166 (rtld_installed_name): Likewise.
45167 (library_path): Likewise.
45168 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45169 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45170 $(run-program-prefix) to tst-tables.sh.
45171 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45172 it to run tst-table-from and tst-table-to.
45173 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45174 Pass it to tst-table.sh.
45175 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45176 $(run-program-prefix) to tst-gettext.sh.
45177 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45178 tst-translit.sh.
45179 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45180 tst-gettext2.sh.
45181 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45182 to run tst-gettext.
45183 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45184 to run tst-gettext2.
45185 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45186 to run tst-translit.
45187 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45188 $(run-program-prefix) to tst-mtrace.sh.
45189 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45190 to run tst-mtrace.
45191 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45192 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45193 $(rtld-installed-name).
45194 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45195 (rtld_installed_name): Likewise.
45196 (run_program_prefix): New variable. Use it to run wordexp-test.
45197
45198 * Makeconfig (ARCH): Remove all definitions.
45199 (machine): Likewise.
45200 [ARCH]: Remove conditional code.
45201 [!objdir]: Give error.
45202 [!objdir] (objpfx): Remove.
45203 [!objdir] (common-objpfx): Likewise.
45204 [!objdir] (common-objdir): Likewise.
45205 * configure.in (config_makefile): Remove. Hardcode Makefile in
45206 AC_CONFIG_FILES call.
45207 * configure: Regenerated.
45208
45209 [BZ #13888]
45210 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45211 or TMPDIR.
45212 (testout): Likewise.
45213
45214 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45215 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45216 $(rtld-installed-name).
45217 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45218 (rtld_installed_name): Likwise.
45219 (runit): Remove function.
45220 (run_getconf): New variable, Use it for running getconf binary.
45221
45222 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45223
45224 [BZ #14716]
45225 * string/test-memmem.c (check_result): New function.
45226 (do_one_test): Use it.
45227 (check1): New function.
45228 (test_main): Use it.
45229
45230 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45231
45232 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45233
45234 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45235
45236 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45237 (_G_LSEEK64): Likewise.
45238 (_G_MMAP64): Likewise.
45239 (_G_FSTAT64): Likewise.
45240 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45241 (_G_LSEEK64): Likewise.
45242 (_G_MMAP64): Likewise.
45243 (_G_FSTAT64): Likewise.
45244 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45245 unconditional. Call __mmap64 directly.
45246 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45247 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45248 __lseek64 directly.
45249 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45250 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45251 __mmap64 directly.
45252 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45253 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45254 __lseek64 directly.
45255 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45256 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45257 __lseek64 directly.
45258 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45259 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45260 __lseek64 directly.
45261 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45262 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45263 __fxstat64 directly.
45264 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45265 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45266 unconditional.
45267 (freopen64) [!_G_OPEN64]: Remove conditional code.
45268 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45269 unconditional.
45270 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45271 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45272 unconditional.
45273 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45274 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45275 unconditional.
45276 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45277 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45278 unconditional.
45279 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45280 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45281 unconditional.
45282 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45283 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45284 unconditional.
45285 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45286 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45287 unconditional.
45288 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45289
45290 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45291
45292 [BZ #12140]
45293 * manual/memory.texi (Malloc Tunable Parameters): Add note
45294 about free list pointers overwriting some perturb bytes.
45295 Wording suggested by Roland McGrath.
45296
45297 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45298
45299 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45300 (lgamma_test): Likewise.
45301 (tgamma_test): Likewise.
45302
45303 2012-10-16 Florian Weimer <fweimer@redhat.com>
45304
45305 [BZ #14700]
45306 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45307 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45308
45309 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45310
45311 * NEWS: Mention BZ #14716.
45312 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45313 when removing AVAILABLE1_USES_J macro.
45314
45315 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45316
45317 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45318 (__bswap_64): __uint64_t for unsigned 64-bit int.
45319
45320 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45321
45322 * include/string.h (memmem): Declare libc hidden alias.
45323 * string/memmem.c (memmem): Define libc hidden alias.
45324 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45325 __read, __close instead of open, read, close.
45326
45327 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45328
45329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45330 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45331 global and hidden.
45332 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45333 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45334 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45335 Likewise.
45336 (__rawmemchr_sse2): Likewise.
45337 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45338 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45339 (__strchr_sse2): Likewise.
45340 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45341 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45342 (__strcasecmp_sse2): Likewise.
45343 (__strncasecmp_sse2): Likewise.
45344 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45345 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45346 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45347 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45348 (__strrchr_sse2): Likewise.
45349 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45350 ifunc-impl-list.c.
45351 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45352 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45353 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45354 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45355 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45356 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45357 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45358 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45359 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45360 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45361 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45363 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45364 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45365 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45366 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45367 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45368 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45369 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45370 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45371 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45372 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45373 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45374 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45375 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45376 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45377 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45378 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45379 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45380 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45381
45382 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45383 global and hidden.
45384 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45385 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45386 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45387 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45388 Likewise.
45389 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45390 Likewise.
45391 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45392 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45393 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45394 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45395 ifunc-impl-list.c.
45396 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45397 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45398 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45399 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45400 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45401 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45402 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45403 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45404 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45405 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45406 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45407 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45408 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45409 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45410 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45412 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45413 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45414 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45415 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45416 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45417 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45418 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45419 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45421 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45422 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45423 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45424 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45425 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45426 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45427 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45428 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45429 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45430 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45431 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45432 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45433 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45434 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45435 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45436 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45437
45438 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45439 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45440 * include/ifunc-impl-list.h: New file.
45441 * misc/ifunc-impl-list.c: Likewise.
45442 * misc/Makefile (routines): Add ifunc-impl-list.
45443 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45444 * string/test-string.h: Include <ifunc-impl-list.h>.
45445 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45446 TEST_NAME]: New variables.
45447 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45448 are defined.
45449 (test_init): Call __libc_ifunc_impl_list to initialize
45450 func_list if TEST_IFUNC and TEST_NAME are defined.
45451
45452 * string/Makefile (strop-tests): Add bcopy and bzero.
45453 * string/test-bcopy.c: New file.
45454 * string/test-bzero.c: Likewise.
45455 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45456 defined.
45457 * string/test-memset.c: Support bzero test if TEST_BZERO is
45458 defined.
45459 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45460 __libc_memmove.
45461 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45462 __libc_memset.
45463 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45464 of memset.
45465
45466 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45467
45468 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45469 * configure: Regenerated.
45470
45471 * Makeconfig (+link-static-before-libc): Don't include
45472 $(link-static-libc).
45473
45474 * libio/libio.h (_IO_pos_t): Remove.
45475
45476 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45477
45478 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45479 McGrath.
45480
45481 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45482
45483 * crypt/crypt-entry.c: Include fips-private.h.
45484 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45485 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45486 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45487 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45488
45489 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45490
45491 * crypt/crypt-private.h: Include stdbool.h.
45492 (_ufc_setup_salt_r): Return bool.
45493 * crypt/crypt-entry.c: Include errno.h.
45494 (__crypt_r): Return NULL with EINVAL for bad salt.
45495 * crypt/crypt_util.c (bad_for_salt): New.
45496 (_ufc_setup_salt_r): Check that salt is long enough and within
45497 the specified alphabet.
45498 * crypt/badsalttest.c: New file.
45499 * crypt/Makefile (tests): Add it.
45500 ($(objpfx)badsalttest): New.
45501
45502 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45503
45504 * NEWS: Add entry for BZ #14602.
45505
45506 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45507
45508 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45509 type-generic.
45510 * math/libm-test.inc: Update comment listing what functions and
45511 macros are tested.
45512 (isgreater_test): New function.
45513 (isgreaterequal_test): Likewise.
45514 (isless_test): Likewise.
45515 (islessequal_test): Likewise.
45516 (islessgreater_test): Likewise.
45517 (isunordered_test): Likewise.
45518 (main): Call the new functions.
45519
45520 2012-10-09 Roland McGrath <roland@hack.frob.com>
45521
45522 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45523 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45524 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45525 * sysdeps/i386/configure: Regenerated.
45526 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45527 * sysdeps/mach/configure: Regenerated.
45528 * sysdeps/mach/hurd/configure: Regenerated.
45529 * sysdeps/powerpc/configure: Regenerated.
45530 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45531 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45532 * sysdeps/s390/s390-32/configure: Regenerated.
45533 * sysdeps/s390/s390-64/configure: Regenerated.
45534 * sysdeps/sh/configure: Regenerated.
45535 * sysdeps/sparc/configure: Regenerated.
45536 * sysdeps/unix/sysv/linux/configure: Regenerated.
45537 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45538 * sysdeps/x86_64/configure: Regenerated.
45539
45540 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45541 defined. Don't check if MAP is NULL.
45542
45543 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45544
45545 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45546 (_G_stat64): Likewise.
45547 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45548 (_G_stat64): Likewise.
45549 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45550 instead of struct _G_stat64.
45551 * libio/fileops.c (mmap_remap_check): Likewise.
45552 (decide_maybe_mmap): Likewise.
45553 (_IO_new_file_seekoff): Likewise.
45554 (_IO_file_stat): Likewise.
45555 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45556 _G_off64_t.
45557 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45558 instead of struct _G_stat64.
45559 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45560
45561 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45562
45563 [BZ #14602]
45564 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45565 Replace with ...
45566 (CHECK_EOL): New macro.
45567 (two_way_short_needle): Check beginning of haystack for EOL. Use
45568 CHECK_EOL.
45569 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45570 Replace with CHECK_EOL.
45571 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45572 Replace with CHECK_EOL.
45573
45574 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45575
45576 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45577 type-generic.
45578 * math/libm-test.inc: Update comment listing what functions and
45579 macros are tested.
45580 (finite_test): New function.
45581 (isinf_test): Likewise.
45582 (isnan_test): Likewise.
45583 (fpclassify_test): Test subnormal input.
45584 (isfinite_test): Likewise.
45585 (isnormal_test): Likewise.
45586 (main): Call the new functions.
45587
45588 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45589
45590 [BZ #14660]
45591 * Makerules (%.dynsym): Force C locale when running
45592 $(OBJDUMP) --dynamic-syms.
45593
45594 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45595
45596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45597 <stdint.h>.
45598
45599 2012-10-06 David S. Miller <davem@davemloft.net>
45600
45601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45602 upper 32-bits of the length value in %o2 since we use branch-on-register
45603 tests which consider the entire 64-bit register.
45604
45605 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45606
45607 * string/test-strstr.c (check2): Add a test for page boundary.
45608
45609 2012-10-05 David S. Miller <davem@davemloft.net>
45610
45611 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45612 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45613 file.
45614 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45615 sysdep_routines.
45616 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45617 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45618 and bzero when HWCAP_SPARC_CRYPTO is present.
45619
45620 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45621
45622 [BZ #14602]
45623 * string/test-strstr.c (check2): New function.
45624 (test_main): Call check2.
45625
45626 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45627 and bug-strchr1.
45628 * string/bug-strcasestr1.c (do_test): Moved to ...
45629 * string/test-strcasestr.c (check1): Here. New function.
45630 (do_one_test): Break out result checking code into ...
45631 (check_result): This. New function.
45632 (do_one_test): Call check_result.
45633 (test_main): Call check1.
45634 * string/bug-strchr1.c (do_test): Moved to ...
45635 * string/test-strchr.c (check1): Here. New function.
45636 (do_one_test): Break out result checking code into ...
45637 (check_result): This. New function.
45638 (do_one_test): Call check_result.
45639 (test_main): Call check1.
45640 * string/bug-strstr1.c (main): Moved to ...
45641 * string/test-strstr.c (check1): Here. New function.
45642 (do_one_test): Break out result checking code into ...
45643 (check_result): This. New function.
45644 (do_one_test): Call check_result.
45645 (test_main): Call check1.
45646 * string/bug-strcasestr1.c: Removed.
45647 * string/bug-strchr1.c: Likewise.
45648 * string/bug-strstr1.c: Likewise.
45649
45650 * elf/Makefile (dl-routines): Add hwcaps.
45651 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45652 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45653 (_dl_important_hwcaps): Moved to ...
45654 * elf/dl-hwcaps.c: Here. New file.
45655 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45656
45657 [BZ #14557]
45658 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45659 if IS_IN_rtld isn't defined.
45660
45661 * elf/dl-support.c (_dl_sysinfo_map): New.
45662 Include "get-dynamic-info.h" and "setup-vdso.h".
45663 (_dl_non_dynamic_init): Call setup_vdso.
45664 * elf/dynamic-link.h: Don't include <assert.h>.
45665 (elf_get_dynamic_info): Moved to ...
45666 * elf/get-dynamic-info.h: Here. New file.
45667 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45668 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45669 * elf/setup-vdso.h: Here. New file.
45670 * elf/rtld.c: Include "setup-vdso.h".
45671 (dl_main): Call setup_vdso.
45672
45673 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45674
45675 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45676 creal in comment listing functions tested. List finite, isinf,
45677 isnan, isless, islessequal, isgreater, isgreaterequal,
45678 islessgreater, isunordered, lgamma_r and pow10 as functions and
45679 macros not tested. Mention which functions not tested are aliases
45680 for other functions. Fix typo. Note that signs of NaNs are not
45681 tested.
45682
45683 * scripts/config.guess: Update from config.git.
45684 * scripts/config.sub: Likewise.
45685
45686 2012-10-04 Roland McGrath <roland@hack.frob.com>
45687
45688 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45689 * misc/madvise.c (madvise): Renamed to __madvise.
45690 Make madvise a weak alias.
45691 * include/sys/mman.h: Declare __madvise.
45692 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45693 * sysdeps/unix/syscalls.list
45694 (madvise): Make __madvise the strong name, and madvise a weak alias.
45695 * sysdeps/unix/sysv/linux/syscalls.list
45696 (madvise, mmap): Remove redundant entries.
45697 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45698 * malloc/malloc.c (mtrim): Likewise.
45699 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45700
45701 2012-10-03 Roland McGrath <roland@hack.frob.com>
45702
45703 * sysdeps/mach/hurd/dl-cache.c: File removed.
45704 * config.h.in (USE_LDCONFIG): New #undef.
45705 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45706 * configure: Regenerated.
45707 * elf/Makefile (dl-routines): Add dl-cache only under
45708 [$(use-ldconfig) = yes].
45709 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45710 cache on [USE_LDCONFIG].
45711 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45712 [USE_LDCONFIG].
45713 * elf/rtld.c (dl_main): Likewise.
45714
45715 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45716
45717 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45718 _SC_LEVEL4_CACHE_LINESIZE.
45719
45720 2012-10-03 Roland McGrath <roland@hack.frob.com>
45721
45722 * sysdeps/unix/bsd/confstr.h: File removed.
45723
45724 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45725
45726 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45727 sys/sdt-config.h.
45728
45729 2012-10-02 Roland McGrath <roland@hack.frob.com>
45730
45731 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45732 Make 'mapoff' field ElfW(Off) rather than off_t.
45733
45734 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45735
45736 * nscd/Makefile: Remove nscd-cflags and all its users.
45737 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45738 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45739
45740 [BZ #10631]
45741 * malloc.c (malloc_printerr): Clarify error message.
45742
45743 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45744
45745 [BZ #14648]
45746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45747 Set bit_FMA_Usable if FMA is supported.
45748 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45749 macro.
45750 (bit_FMA4_Usable): Updated.
45751 (index_FMA_Usable): New macro.
45752 (CPUID_FMA): Likewise
45753 (HAS_FMA): Defined with bit_FMA_Usable.
45754
45755 2012-10-01 Roland McGrath <roland@hack.frob.com>
45756
45757 * bits/types.h (__swblk_t): Type removed.
45758 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45759 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45761 (__SWBLK_T_TYPE): Likewise.
45762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45763 (__SWBLK_T_TYPE): Likewise.
45764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45765 (__SWBLK_T_TYPE): Likewise.
45766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45767 (__SWBLK_T_TYPE): Likewise.
45768
45769 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45770 Honza Horak <hhorak@redhat.com>
45771
45772 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45773 (xdr_mapname): Use YPMAXMAP as maxsize.
45774 (xdr_peername): Use YPMAXPEER as maxsize.
45775 (xdr_keydat): Use YPAXRECORD as maxsize.
45776 (xdr_valdat): Use YPMAXRECORD as maxsize.
45777
45778 2012-10-01 Roland McGrath <roland@hack.frob.com>
45779
45780 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45781
45782 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45783 * csu/init-first.c: ... here.
45784 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45785 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45786 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45787 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45788 * sysdeps/i386/init-first.c: File removed.
45789 * sysdeps/sh/init-first.c: File removed.
45790
45791 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45792
45793 [BZ #14645]
45794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45795 if x * y might underflow to zero and z is zero.
45796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45798 * math/libm-test.inc (min_subnorm_value): New variable.
45799 (fma_test): Add more tests.
45800 (fma_test_towardzero): Likewise.
45801 (fma_test_downward): Likewise
45802 (fma_test_upward): Likewise.
45803 (initialize): Set min_subnorm_value.
45804
45805 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45806
45807 [BZ #14638]
45808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45809 0 + 0.
45810 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45811 mode for addition resulting in exact zero.
45812 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45814 exact 0 + 0.
45815 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45817 * math/libm-test.inc (fma_test): Add more tests.
45818 (fma_test_towardzero): New function.
45819 (fma_test_downward): Likewise.
45820 (fma_test_upward): Likewise.
45821 (main): Call the new functions.
45822
45823 2012-09-28 David S. Miller <davem@davemloft.net>
45824
45825 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45826
45827 2012-09-28 Roland McGrath <roland@hack.frob.com>
45828
45829 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45830 instead of SIGALRM.
45831
45832 * sysdeps/gnu/_G_config.h: Moved to ...
45833 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45834 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45835 * sysdeps/generic/_G_config.h: ... here.
45836
45837 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45838
45839 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45840
45841 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45842 Conditionalize target on [libnss_test1.so-version].
45843
45844 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45845
45846 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45847 (elfobjdir): Move out of conditionals.
45848
45849 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45850 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45851 (__nss_lookup_function): Conditionalize label remove_from_tree on
45852 [!DO_STATIC_NSS || SHARED], matching its only use.
45853
45854 2012-09-28 David S. Miller <davem@davemloft.net>
45855
45856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45857 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45858 file.
45859 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45860 sysdep_routines.
45861 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45863 when HWCAP_SPARC_CRYPTO is present.
45864
45865 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45866
45867 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45868
45869 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45870
45871 [BZ #6530]
45872 * stdio-common/vfprintf.c (process_string_arg): Revert
45873 2000-07-22 change.
45874
45875 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45876
45877 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45878 for testcase.
45879 * stdio-common/tst-sprintf.c: Include <locale.h>
45880 (main): Test sprintf's handling of incomplete multibyte
45881 characters.
45882
45883 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45884
45885 * elf/dl-runtime.c (VERSYMIDX): Removed.
45886 * elf/dl-version.c (VERSYMIDX): Likewise.
45887 * elf/do-rel.h (VERSYMIDX): Likewise.
45888 (VALIDX): Likewise.
45889 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45890 * elf/rtld.c (VALIDX): Likewise.
45891 (ADDRIDX): Likewise.
45892 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45893 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45894 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45895 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45896 (VALIDX): Likewise.
45897 (ADDRIDX): Likewise.
45898
45899 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45900
45901 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45902
45903 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45904
45905 [BZ #11438]
45906 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45907 to global scope.
45908 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45909 addresses are in the same scope as 192.0.2/24.
45910 * posix/gai.conf: Document new scope table defaults.
45911
45912 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45913
45914 [BZ #5298]
45915 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45916 for ftell. Compute offsets from write pointers instead.
45917 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45918
45919 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45920
45921 [BZ #14543]
45922 * libio/Makefile (tests): New test case tst-fseek.
45923 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45924 combination works in wide mode.
45925 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45926 state when the external buffer state changes.
45927
45928 2012-09-27 David S. Miller <davem@davemloft.net>
45929
45930 [BZ #14376]
45931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45932 pass reloc->r_addend in as the 'high' argument to
45933 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45934
45935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45936
45937 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45938
45939 * rt/tst-aio2.c: Include <pthread.h>.
45940 * rt/tst-aio3.c: Likewise.
45941
45942 2012-09-27 Steve Ellcey <sellcey@mips.com>
45943
45944 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45945
45946 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45947
45948 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45949 contents on [SHARED].
45950
45951 2012-09-26 Marek Polacek <polacek@redhat.com>
45952
45953 [BZ #14530]
45954 [BZ #13741]
45955 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45956 for C++ and GCC <4.3 as well as for non GCC compilers.
45957
45958 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45959
45960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45961
45962 2012-09-25 Roland McGrath <roland@hack.frob.com>
45963
45964 * Makefile.in (all, install): Declare with .PHONY.
45965 Reported by Michael Hope <michael.hope@linaro.org>.
45966
45967 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45968
45969 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45970 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45971 system header.
45972 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45973 Likewise.
45974 (sydep_routines): Add the new and the internal functions.
45975 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45976 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45978 (GLIBC_2.17): Add the new function.
45979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45980 (GLIBC_2.17): Likewise.
45981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45982 (GLIBC_2.17): Likewise.
45983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45984 (GLIBC_2.17): Likewise.
45985 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45986
45987 2012-09-25 Alan Modra <amodra@gmail.com>
45988
45989 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45990 Add release barrier before setting once_control to say
45991 initialisation is done. Add hints on lwarx. Use macro in
45992 place of isync.
45993 (clear_once_control): Add release barrier.
45994
45995 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45996
45997 [BZ #13629]
45998 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45999 specially.
46000 * math/s_clog10.c (__clog10): Likewise.
46001 * math/s_clog10f.c (__clog10f): Likewise.
46002 * math/s_clog10l.c (__clog10l): Likewise.
46003 * math/s_clogf.c (__clogf): Likewise.
46004 * math/s_clogl.c (__clogl): Likewise.
46005 * math/Makefile (libm-calls): Add x2y2m1.
46006 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46007 (__x2y2m1): Likewise.
46008 (__x2y2m1l): Likewise.
46009 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46010 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46013 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46014 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46015 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46016 * sysdeps/i386/fpu/libm-test-ulps: Update.
46017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46018
46019 [BZ #14621]
46020 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46021 int as type of variable DEPTH.
46022 (glob): Use size_t instead of int as type of variables NEWCOUNT
46023 and OLD_PATHC.
46024
46025 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46026
46027 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46028 Add s_sincosf-sse2.
46029 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46030 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46031 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46032 macros for using routine as __sincosf_ia32.
46033 Use macro for function declaration and weak_alias.
46034 * sysdeps/i386/fpu/libm-test-ulps: Update.
46035
46036 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46038
46039 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46040 subnormal argument.
46041 * math/s_cexpf.c (__cexpf): Likewise.
46042 * math/s_csinf.c (__csinf): Likewise.
46043 * math/s_csinhf.c (__csinhf): Likewise.
46044 * math/s_ctanf.c (__ctanf): Likewise.
46045 * math/s_ctanhf.c (__ctanhf): Likewise.
46046 * math/s_ccosh.c (__ccoshf): Likewise.
46047 * math/s_cexp.c (__cexpl): Likewise.
46048 * math/s_csin.c (__csin): Likewise.
46049 * math/s_csinh.c (__csinh): Likewise.
46050 * math/s_ctan.c (__ctan): Likewise.
46051 * math/s_ctanh.c (ctanh): Likewise.
46052 * math/s_ccoshl.c (__ccoshl): Likewise.
46053 * math/s_cexpl.c (__cexpl): Likewise.
46054 * math/s_csinl.c (__csinl): Likewise.
46055 * math/s_csinhl.c (__csinhl): Likewise.
46056 * math/s_ctanl.c (__ctanl): Likewise.
46057 * math/s_ctanhl.c (__ctanhl): Likewise.
46058
46059 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46060
46061 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46062 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46063 (_IO_off_t): Define to __off_t, not _G_off_t.
46064 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46065 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46066 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46067 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46068 type of __dummy and __dummy2 fields.
46069 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46070 (_G_ssize_t): Likewise.
46071 (_G_off_t): Likewise.
46072 (_G_pid_t): Likewise.
46073 (_G_uid_t): Likewise.
46074 (_G_wchar_t): Likewise.
46075 (_G_wint_t): Likewise.
46076 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46077 (_G_ssize_t): Likewise.
46078 (_G_off_t): Likewise.
46079 (_G_pid_t): Likewise.
46080 (_G_uid_t): Likewise.
46081 (_G_wchar_t): Likewise.
46082 (_G_wint_t): Likewise.
46083 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46084 (_G_ssize_t): Likewise.
46085 (_G_off_t): Likewise.
46086 (_G_pid_t): Likewise.
46087 (_G_uid_t): Likewise.
46088 (_G_wchar_t): Likewise.
46089 (_G_wint_t): Likewise.
46090
46091 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46092
46093 * malloc/arena.c: Include malloc-sysdep.h.
46094 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46095 is sufficient to shrink the heap or an unmap is needed.
46096 * sysdeps/generic/malloc-sysdep.h: New file. Define
46097 new function check_may_shrink_heap.
46098 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46099 new function check_may_shrink_heap.
46100
46101 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46102
46103 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46104 comments.
46105
46106 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46107
46108 * catgets/test-gencat.sh: Add "set -e".
46109 * elf/tst-pathopt.sh: Likewise.
46110 * grp/tst_fgetgrent.sh: Likewise.
46111 * iconvdata/run-iconv-test.sh: Likewise.
46112 * intl/tst-gettext.sh: Likewise.
46113 * intl/tst-gettext2.sh: Likewise.
46114 * intl/tst-gettext4.sh: Likewise.
46115 * intl/tst-gettext6.sh: Likewise.
46116 * intl/tst-translit.sh: Likewise.
46117 * io/ftwtest-sh: Likewise.
46118 * libio/test-freopen.sh: Likewise.
46119 * malloc/tst-mtrace.sh: Likewise.
46120 * posix/globtest.sh: Likewise.
46121 * posix/tst-getconf.sh: Likewise.
46122 * posix/wordexp-tst.sh: Likewise.
46123 * stdio-common/tst-printf.sh: Likewise.
46124 * stdio-common/tst-unbputc.sh: Likewise.
46125 * stdlib/tst-fmtmsg.sh: Likewise.
46126 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46127 * catgets/Makefile: Do not specify -e option when running
46128 testsuite shell scripts.
46129 * elf/Makefile: Likewise.
46130 * grp/Makefile: Likewise.
46131 * iconvdata/Makefile: Likewise.
46132 * intl/Makefile: Likewise.
46133 * io/Makefile: Likewise.
46134 * libio/Makefile: Likewise.
46135 * malloc/Makefile: Likewise.
46136 * posix/Makefile: Likewise.
46137 * stdio-common/Makefile: Likewise.
46138 * stdlib/Makefile: Likewise.
46139 * sysdeps/x86_64/Makefile: Likewise.
46140
46141 * io/ftwtest-sh: Add copyright header.
46142 * posix/globtest.sh: Likewise.
46143 * posix/tst-getconf.sh: Likewise.
46144 * posix/wordexp-tst.sh: Likewise.
46145 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46146
46147 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46148
46149 [BZ #13679]
46150 * Makeconfig (+link): Defined as $(+link-static) if
46151 $(build-shared) isn't yes.
46152 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46153 isn't yes.
46154 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46155
46156 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46157
46158 [BZ #14562]
46159 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46160 new chunk size with MALLOC_ALIGN_MASK.
46161
46162 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46163
46164 [BZ #5044]
46165 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46166 <rounding-mode.h>.
46167 (__printf_fphex): Determine rounding using get_rounding_mode and
46168 round_away.
46169 * stdio-common/tst-printf-round.c (struct hex_test): New
46170 structure.
46171 (hex_tests): New variable.
46172 (test_hex_in_one_mode): New function.
46173 (do_test): Also run tests for hex float output.
46174
46175 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46176
46177 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46178 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46179 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46180 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46181 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46182 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46183 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46184 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46185
46186 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46187
46188 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46189 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46190 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46191 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46192
46193 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46194
46195 [BZ #14579]
46196 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46197 mode only.
46198 * elf/tst-rtld-load-self.sh: New test.
46199 * elf/Makefile: Run it.
46200
46201 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46202
46203 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46204 (tst-writev-ENV): Remove.
46205 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46206
46207 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46208
46209 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46210
46211 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46212
46213 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46214 unconditional.
46215 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46216 Likewise.
46217 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46218 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46219 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46220 Likewise.
46221
46222 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46223
46224 [BZ #14587]
46225 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46226 * config.make.in (have-cpp-asm-debuginfo): Removed.
46227 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46228 * configure: Regenerated.
46229
46230 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46231
46232 [BZ #5044]
46233 * stdio-common/printf_fp.c: Include <stdbool.h> and
46234 <rounding-mode.h>.
46235 (___printf_fp): Determine rounding using get_rounding_mode and
46236 round_away.
46237 * stdio-common/tst-printf-round.c: New file.
46238 * stdio-common/Makefile (tests): Add tst-printf-round.
46239 (link-libm): New variable.
46240 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46241
46242 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46243
46244 [BZ #14576]
46245 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46246 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46247 Likewise.
46248 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46249 Likewise.
46250
46251 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46252
46253 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46254 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46255 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46256 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46257
46258 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46259
46260 [BZ #14518]
46261 * include/rounding-mode.h: New file.
46262 * sysdeps/generic/get-rounding-mode.h: Likewise.
46263 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46264 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46265 (MAX_VALUE): New macro.
46266 (MIN_VALUE): Likewise.
46267 (overflow_value): New function.
46268 (underflow_value): Likewise.
46269 (round_and_return): Use overflow_value and underflow_value to
46270 determine return values in overflow and underflow cases. Use
46271 round_away to determine rounding depending on rounding mode.
46272 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46273 determine return values in overflow and underflow cases.
46274 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46275 (struct test_results): New structure.
46276 (struct test): Use struct test_results to store expected results
46277 for all rounding modes.
46278 (TEST): Include expected results for all rounding modes.
46279 (test_in_one_mode): New function.
46280 (do_test): Use test_in_one_mode to compute and check results.
46281 Check results for all rounding modes.
46282 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46283 $(link-libm).
46284
46285 2012-12-09 Allan McRae <allan@archlinux.org>
46286
46287 * sysdeps/i386/fpu/libm-test-ulps: Update
46288
46289 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46290
46291 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46292 (_G_int32_t): Likewise.
46293 (_G_uint16_t): Likewise.
46294 (_G_uint32_t): Likewise.
46295 (_G_HAVE_BOOL): Likewise.
46296 (_G_HAVE_ATEXIT): Likewise.
46297 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46298 (_G_HAVE_IO_FILE_OPEN): Likewise.
46299 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46300 (_G_int32_t): Likewise.
46301 (_G_uint16_t): Likewise.
46302 (_G_uint32_t): Likewise.
46303 (_G_HAVE_BOOL): Likewise.
46304 (_G_HAVE_ATEXIT): Likewise.
46305 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46306 (_G_HAVE_IO_FILE_OPEN): Likewise.
46307 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46308 (_G_int32_t): Likewise.
46309 (_G_uint16_t): Likewise.
46310 (_G_uint32_t): Likewise.
46311 (_G_HAVE_BOOL): Likewise.
46312 (_G_HAVE_ATEXIT): Likewise.
46313 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46314 (_G_HAVE_IO_FILE_OPEN): Likewise.
46315
46316 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46317
46318 * csu/libc-tls.c: Update copyright years.
46319
46320 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46321
46322 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46323 [!_G_USING_THUNKS]: Remove conditional code.
46324 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46325 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46326
46327 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46328 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46329 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46330 (_G_VTABLE_LABEL_PREFIX): Likewise.
46331 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46332 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46333 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46334 (_G_VTABLE_LABEL_PREFIX): Likewise.
46335 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46336 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46337 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46338 (_G_VTABLE_LABEL_PREFIX): Likewise.
46339 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46340
46341 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46342
46343 * libio/Makefile: Include ../Makeconfig before tests.
46344 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46345 only if $(build-shared) is yes.
46346
46347 * iconv/gconv_db.c: Update copyright years.
46348
46349 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46350
46351 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46352 unwind info if defined PIC. Fix special cases description.
46353 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46354
46355 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46356 DP_HI_MASK entry.
46357 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46358
46359 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46360
46361 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46362
46363 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46364 is NULL.
46365
46366 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46367 (LDLIBS-tst-chk4): This.
46368 (LDFLAGS-tst-chk5): Renamed to ...
46369 (LDLIBS-tst-chk5): This.
46370 (LDFLAGS-tst-chk6): Renamed to ...
46371 (LDLIBS-tst-chk6): This.
46372 (LDFLAGS-tst-lfschk4): Renamed to ...
46373 (LDLIBS-tst-lfschk4): This.
46374 (LDFLAGS-tst-lfschk5): Renamed to ...
46375 (LDLIBS-tst-lfschk5): This.
46376 (LDFLAGS-tst-lfschk6): Renamed to ...
46377 (LDLIBS-tst-lfschk6): This.
46378
46379 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46380 on $(common-objpfx)soversions.mk.
46381
46382 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46383
46384 [BZ #10014]
46385 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46386 example host name.
46387
46388 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46389
46390 * malloc/arena.c (arena_get_retry): New function that gets
46391 another arena for the caller to try its request on.
46392 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46393 current arena cannot fulfill the request.
46394 (__libc_memalign): Likewise.
46395 (__libc_memalign): Likewise.
46396 (__libc_pvalloc): Likewise.
46397 (__libc_calloc): Likewise.
46398
46399 2012-09-05 John Tobey <john.tobey@gmail.com>
46400
46401 [BZ #13542]
46402 * manual/arith.texi (Operations on Complex): Fix description
46403 of carg branch cut.
46404
46405 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46406
46407 [BZ #10014]
46408 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46409 host name.
46410
46411 [BZ #10038]
46412 * manual/memory.texi (Memory): Make order of menu items match
46413 order of sections.
46414
46415 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46416
46417 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46418 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46419 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46420
46421 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46422
46423 * csu/libc-tls.c (static_dtv): Renamed to ...
46424 (_dl_static_dtv): This. Make it global.
46425 (_dl_initial_dtv): Removed.
46426 (__libc_setup_tls): Updated.
46427 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46428 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46429 DL_INITIAL_DTV.
46430
46431 2012-09-06 Petr Machata <pmachata@redhat.com>
46432
46433 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46434 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46435 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46436 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46437
46438 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46439
46440 [BZ #14545]
46441 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46442 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46443 freeing dtv[-1].
46444
46445 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46446
46447 [BZ #14544]
46448 * Makeconfig (link-static-before-libc): Replace $(+prector)
46449 with $(+prectorT).
46450 (link-static-after-libc): Replace $(+postctor) with
46451 $(+postctorT).
46452 (link-bounded): Replace $(+prector)/$(+postctor) with
46453 $(+prectorT)/$(+postctorT).
46454 (+prectorT): New macro.
46455 (+postctorT): Likewise.
46456
46457 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46458
46459 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46460 (round_str): Handle values above the maximum for IBM long double
46461 as inexact.
46462 * stdlib/tst-strtod-round.c (tests): Regenerated.
46463
46464 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46465
46466 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46467 assembler flag.
46468 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46469 zarch_nohighgprs around the zarch optimized routines.
46470 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46471 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46472 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46473 for zarch.
46474
46475 2012-09-05 David S. Miller <davem@davemloft.net>
46476
46477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46478
46479 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46480 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46481 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46482 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46483 entries.
46484
46485 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46486
46487 * malloc/arena.c: Fold copyright years.
46488 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46489
46490 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46491
46492 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46493
46494 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46495
46496 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46497
46498 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46499
46500 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46501 change internal state upon failure.
46502
46503 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46504
46505 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46506 * malloc/memusage.c (mmap): Likewise.
46507 (mmap64, mremap): Likewise. Adjust name in comment.
46508
46509 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46510
46511 * libio/fileops.c: Fix typos in comments.
46512 * libio/oldfileops.c: Likewise.
46513 * libio/wfileops.c: Likewise.
46514
46515 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46516
46517 [BZ #1349]
46518 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46519 (tst-malloc-usable-ENV): Set environment for test case.
46520 * malloc/hooks.c (malloc_check_get_size): New function to get
46521 requested size.
46522 * malloc/malloc.c (musable): Use malloc_check_get_size.
46523 * malloc/tst-malloc-usable.c: New test case.
46524
46525 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46526
46527 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46528
46529 2012-09-05 Allan McRae <allan@archlinux.org>
46530
46531 [BZ #13966]
46532 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46533 determine header location.
46534 * configure: Regenerated.
46535
46536 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46537
46538 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46539 float format.
46540 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46541 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46542 format.
46543 (test): Regenerate.
46544
46545 2012-09-04 David S. Miller <davem@davemloft.net>
46546
46547 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46548 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46549 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46550
46551 2012-09-04 Florian Weimer <fweimer@redhat.com>
46552
46553 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46554 failures.
46555
46556 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46557
46558 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46559
46560 [BZ #9914]
46561 * libio/iogetdelim.c: Include <limits.h>.
46562 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46563 + len + 1 would overflow.
46564
46565 2012-09-03 Andreas Jaeger <aj@suse.de>
46566
46567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46568 * sysdeps/i386/fpu/libm-test-ulps: Update.
46569
46570 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46571
46572 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46573 Add s_sinf-sse2, s_conf-sse2.
46574
46575 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46577 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46578 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46579
46580 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46581 for using routine as __sinf_ia32.
46582 Use macro for function declaration and weak_alias.
46583 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46584 for using routine as __cosf_ia32.
46585 Use macro for function declaration and weak_alias.
46586
46587 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46588 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46589
46590 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46591 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46593
46594 * math/libm-test.inc (cos_test): Add more test cases.
46595 (sin_test): Likewise.
46596 (sincos_test): Likewise.
46597
46598 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46599
46600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46601 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46602 hidden.
46603 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46604
46605 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46606
46607 [BZ #14538]
46608 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46609 first element of the GOT.
46610 (elf_machine_load_address): Return the difference between
46611 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46612
46613 2012-09-01 Allan McRae <allan@archlinux.org>
46614
46615 [BZ #13412]
46616 * configure.in (AWK): Require gawk version 3.0 or later.
46617 * configure: Regenerated.
46618
46619 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46620
46621 * sysdeps/unix/sysv/linux/kernel-features.h
46622 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46623 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46624 [__NR_clock_getres]: Make code unconditional.
46625 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46626 (clock_getcpuclockid): Remove code left unreachable by removal of
46627 conditionals.
46628 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46629 code unconditional.
46630 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46631 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46632 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46633 Make code unconditional.
46634 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46635 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46636 * sysdeps/unix/sysv/linux/clock_settime.c
46637 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46638 conditional code.
46639 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46640 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46641
46642 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46643
46644 [BZ #14476]
46645 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46646 scripts/test-installation.pl.
46647
46648 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46649 and $ld_so_version if it is set.
46650
46651 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46652
46653 [BZ #14516]
46654 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46655 failure if reading from procfs failed.
46656 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46657
46658 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46659
46660 * sysdeps/unix/sysv/linux/kernel-features.h
46661 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46662 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46663 Remove conditional code.
46664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46665 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46666 Remove conditional code.
46667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46668 * sysdeps/unix/sysv/linux/i386/fxstat.c
46669 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46671 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46672 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46674 * sysdeps/unix/sysv/linux/i386/lxstat.c
46675 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46677 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46678 Remove conditional code.
46679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46680 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46681 Remove conditional code.
46682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46683 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46684 <kernel-features.h>.
46685 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46686 Remove.
46687 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46688 Remove conditional code.
46689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46690 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46691 Remove conditional.
46692
46693 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46694
46695 [BZ #5400]
46696 * NEWS: Add fixed bug number.
46697
46698 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46699
46700 [BZ #14519]
46701 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46702 underflowing exponent in case of negative sign.
46703 * stdlib/tst-strtod-round-data: Add more tests.
46704 * stdlib/tst-strtod-round.c (tests): Regenerated.
46705
46706 [BZ #3479]
46707 * stdlib/strtod_l.c (NDIG): Remove.
46708 (HEXNDIG): Likewise.
46709 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46710 smallest representable value.
46711 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46712 lie within an exact representation of 1/2 ulp of the result.
46713 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46714 unconditionally.
46715 (TENS_P9_IDX): Define unconditionally.
46716 (TENS_P9_SIZE): Likewise.
46717 (TENS_P10_IDX): Likewise.
46718 (TENS_P10_SIZE): Likewise.
46719 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46720 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46721 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46722 entries for 10^2^13 and 10^2^14.
46723 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46724 (TENS_P13_IDX): Define.
46725 (TENS_P13_SIZE): Likewise.
46726 (TENS_P14_IDX): Likewise.
46727 (TENS_P14_SIZE): Likewise.
46728 (_fpioconst_pow10): Change array size to
46729 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46730 unconditional.
46731 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46732 1024]: Add entries for 10^2^13 and 10^2^14.
46733 [LAST_POW10 > _LAST_POW10]: Remove #error.
46734 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46735 (_fpioconst_pow10): Change array size to
46736 FPIOCONST_POW10_ARRAY_SIZE.
46737 * stdlib/gen-fpioconst.c: New file.
46738 * stdlib/gen-tst-strtod-round.c: Likewise.
46739 * stdlib/tst-strtod-round-data: Likewise.
46740 * stdlib/tst-strtod-round.c: Likewise.
46741 * stdlib/Makefile (tests): Add tst-strtod-round.
46742
46743 [BZ #14459]
46744 * stdlib/strtod_l.c: Include <stdint.h>.
46745 (NDEBUG): Do not define.
46746 (round_and_return): Change EXPONENT parameter to type intmax_t.
46747 Rearrange calculations to avoid internal overflow possibilities.
46748 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46749 Rearrange calculations to avoid internal overflow possibilities.
46750 Assert that number fits inside MPNSIZE limbs.
46751 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46752 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46753 calculations and add assertions to avoid internal overflow
46754 possibilities. Add casts to avoid signed/unsigned operations.
46755 * stdlib/tst-strtod-overflow.c: New file.
46756 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46757
46758 2012-08-25 Marek Polacek <polacek@redhat.com>
46759
46760 * time/time.h: Fix some typos in comments.
46761
46762 2012-08-23 Roland McGrath <roland@hack.frob.com>
46763
46764 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46765 * posix/tst-rfc3484-2.c: Likewise.
46766 * posix/tst-rfc3484-3.c: Likewise.
46767
46768 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46769
46770 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46771 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46772
46773 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46774
46775 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46776 #include of fxstatat64.c.
46777
46778 2012-08-22 Roland McGrath <roland@hack.frob.com>
46779
46780 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46781 * shadow/getspent_r.c: Likewise.
46782 * shadow/getspnam.c: Likewise.
46783 * shadow/getspnam_r.c: Likewise.
46784 * gshadow/getsgent.c: Likewise.
46785 * gshadow/getsgent_r.c: Likewise.
46786 * gshadow/getsgnam.c: Likewise.
46787 * gshadow/getsgnam_r.c: Likewise.
46788 * inet/getnetbyad.c: Likewise.
46789 * inet/getnetbyad_r.c: Likewise.
46790 * inet/getnetbynm.c: Likewise.
46791 * inet/getnetbynm_r.c: Likewise.
46792 * inet/getnetent.c: Likewise.
46793 * inet/getnetent_r.c: Likewise.
46794 * inet/getproto.c: Likewise.
46795 * inet/getproto_r.c: Likewise.
46796 * inet/getprtent.c: Likewise.
46797 * inet/getprtent_r.c: Likewise.
46798 * inet/getprtname.c: Likewise.
46799 * inet/getprtname_r.c: Likewise.
46800 * inet/getrpcbyname.c: Likewise.
46801 * inet/getrpcbyname_r.c: Likewise.
46802 * inet/getrpcbynumber.c: Likewise.
46803 * inet/getrpcbynumber_r.c: Likewise.
46804 * inet/getrpcent.c: Likewise.
46805 * inet/getrpcent_r.c: Likewise.
46806 * inet/getaliasent.c: Likewise.
46807 * inet/getaliasent_r.c: Likewise.
46808 * inet/getaliasname.c: Likewise.
46809 * inet/getaliasname_r.c: Likewise.
46810 * nscd/getgrgid_r.c: Likewise.
46811 * nscd/getgrnam_r.c: Likewise.
46812 * nscd/gethstbyad_r.c: Likewise.
46813 * nscd/gethstbynm3_r.c: Likewise.
46814 * nscd/getpwnam_r.c: Likewise.
46815 * nscd/getpwuid_r.c: Likewise.
46816 * nscd/getsrvbynm_r.c: Likewise.
46817 * nscd/getsrvbypt_r.c: Likewise.
46818 * nscd/gai.c: Likewise.
46819
46820 * configure.in (build_nscd): New substituted variable, set
46821 by --disable-build-nscd and defaults to $use_nscd.
46822 * configure: Regenerated.
46823 * config.make.in (build-nscd): New substituted variable.
46824 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46825 Change conditional to require [$(build-nscd) = yes] as well.
46826 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46827
46828 [BZ# 13696]
46829 * configure.in (use_nscd): New substituted variable, set by
46830 --disable-nscd. If enabled, define USE_NSCD.
46831 * configure: Regenerated.
46832 * config.h.in: Add USE_NSCD.
46833 * config.make.in (use-nscd): New substituted variable.
46834 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46835 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46836 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46837 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46838 (CFLAGS-getgrnam_r.c): Likewise.
46839 (CFLAGS-initgroups.c): Likewise.
46840 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46841 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46842 Variables removed.
46843 * inet/getnetgrent_r.c
46844 (nscd_setnetgrent): New function, broken out of ...
46845 (setnetgrent): ... here. Call it.
46846 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46847 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46848 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46849 * nscd/Makefile (routines, aux): Move definitions after include of
46850 Makeconfig. Conditionalize on [$(use-nscd) != no].
46851 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46852 Conditionalize on [USE_NSCD].
46853 (is_nscd, nscd_init_cb): Likewise.
46854 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46855 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46856 * nss/nss_db/db-init.c: Likewise.
46857 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46858 [USE_NSCD].
46859 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46860 (make_request): Use it.
46861 (cache_valid_p): New function.
46862 (__check_pf): Use it.
46863 * NEWS: Add item for --disable-nscd.
46864
46865 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46866
46867 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46868 to support sed >= 4.2.1-20-ga9bf076.
46869 * configure: Regenerated.
46870
46871 2012-08-22 Roland McGrath <roland@hack.frob.com>
46872
46873 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46874 Conditionalize whole body on [IREL].
46875
46876 2012-08-22 Jeff Law <law@redhat.com>
46877
46878 [BZ #14505]
46879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46880 if the family is PF_UNSPEC.
46881
46882 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46883
46884 * Makerules (lib-version): Rename from V.
46885 (install-lib-nosubdir): Change V to lib-version.
46886
46887 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46888
46889 [BZ #14252]
46890 * powerpc32/power6/wcschr.c: New file.
46891 * powerpc32/power6/wcscpy.c: New file.
46892 * powerpc32/power6/wcsrchr.c: New file.
46893 * powerpc64/power6/wcschr.c: New file.
46894 * powerpc64/power6/wcscpy.c: New file.
46895 * powerpc64/power6/wcsrchr.c: New file.
46896
46897 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46898
46899 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46900 (two_way_short_needle): Use it.
46901 * string/strstr.c (AVAILABLE1_USES_J): Define.
46902 * string/strcasestr.c: Likewise.
46903
46904 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46905 array references.
46906 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46907
46908 [BZ #11607]
46909 * NEWS: Add an entry.
46910 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46911 define their defaults.
46912 (two_way_short_needle): Detect end-of-string on-the-fly.
46913 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46914 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46915 * string/bug-strcasestr1.c: New test.
46916 * string/Makefile: Run it.
46917
46918 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46919
46920 [BZ #11607]
46921 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46922 the first character.
46923
46924 2012-08-21 Roland McGrath <roland@hack.frob.com>
46925
46926 * csu/elf-init.c (__libc_csu_irel): Function removed.
46927 * csu/libc-start.c (apply_irel): New function.
46928 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46929
46930 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46931
46932 * sysdeps/unix/sysv/linux/kernel-features.h
46933 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46934 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46935 <kernel-features.h>.
46936 [__NR_fadvise64_64]: Make code unconditional.
46937 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46938 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46939 !__NR_fadvise64_64)]: Likewise.
46940 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46941 !__NR_fadvise64_64))]: Likewise.
46942 [__NR_fadvise64]: Make code unconditional.
46943 [!__NR_fadvise64]: Remove conditional code.
46944 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46945 <kernel-features.h>.
46946 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46947 unconditional.
46948 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46949 conditional code.
46950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46951 not include <kernel-features.h>.
46952 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46953 unconditional.
46954 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46955 conditional code.
46956 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46957 include <kernel-features.h>.
46958 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46959 unconditional.
46960 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46961 conditional code.
46962
46963 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46964
46965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46966 slight instruction rearrangements per scrollpipe analysis.
46967 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46968
46969 2012-08-20 Roland McGrath <roland@hack.frob.com>
46970
46971 * manual/syslog.texi (syslog; vsyslog, closelog):
46972 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46973 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46974
46975 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46976 DSOCAPS to match condition on defining it.
46977
46978 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46979
46980 * sysdeps/unix/sysv/linux/kernel-features.h
46981 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46983 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46984 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46986 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46987 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46989 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46990 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46991
46992 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46993 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46994
46995 * sysdeps/unix/sysv/linux/kernel-features.h
46996 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46997 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46998 unconditional.
46999 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47000 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47001 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47002 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47003 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47004 Make code unconditional.
47005 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47006 (__mmap64) [!__NR_mmap2]: Likewise.
47007 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47008 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47009 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47010 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47011 [__NR_mmap2]: Make code unconditional.
47012 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47013 (__mmap64) [!__NR_mmap2]: Likewise.
47014
47015 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47016
47017 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47018
47019 2012-08-18 Andreas Jaeger <aj@suse.de>
47020
47021 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47022
47023 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47024
47025 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47026 * include/unistd.h (__have_sock_cloexec): Likewise.
47027 (__have_pipe2): Likewise.
47028 (__have_dup3): Likewise.
47029
47030 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47031
47032 [BZ #9685]
47033 * include/unistd.h (__have_pipe2): Change define into an extern int.
47034 (__have_dup3): Likewise.
47035 * socket/have_sock_cloexec.c: Include fcntl.h.
47036 (__have_pipe2): New variable.
47037 (__have_dup3): Likewise.
47038
47039 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47040
47041 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47042
47043 2012-08-17 Marek Polacek <polacek@redhat.com>
47044
47045 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47046 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47047
47048 2012-08-17 Roland McGrath <roland@hack.frob.com>
47049
47050 * configure.in: Add AC_SUBST for sysheaders.
47051 * configure: Regenerated.
47052 * config.make.in (sysheaders): New substituted variable.
47053
47054 * sysdeps/unix/mkfifo.c: Moved ...
47055 * sysdeps/posix/mkfifo.c: ... here.
47056 * sysdeps/unix/mkfifoat.c: Moved ...
47057 * sysdeps/posix/mkfifoat.c: ... here.
47058
47059 * sysdeps/unix/utime.c: Moved ...
47060 * sysdeps/posix/utime.c: ... here.
47061
47062 * sysdeps/unix/time.c: Moved ...
47063 * sysdeps/posix/time.c: ... here.
47064 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47065 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47066
47067 * sysdeps/unix/nice.c: Moved ...
47068 * sysdeps/posix/nice.c: ... here.
47069
47070 * sysdeps/unix/alarm.c: Moved ...
47071 * sysdeps/posix/alarm.c: ... here.
47072
47073 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47074
47075 2012-08-17 Jeff Law <law@redhat.com>
47076
47077 * intl/Makefile (codeset_mo): New variable.
47078 ($(codeset_mo)): New target.
47079 (tst-codeset.out): Depend on that. Remove explicit rule.
47080 (tst-gettext3.out, tst-gettext5.out): Likewise.
47081 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47082 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47083 * intl/tst-codeset.sh: Remove.
47084 * intl/tst-gettext3.sh: Likewise.
47085 * intl/tst-gettext5.sh: Likewise.
47086
47087 2012-08-17 Roland McGrath <roland@hack.frob.com>
47088
47089 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47090 * sysdeps/unix/syscalls.list: ... here.
47091
47092 * sysdeps/posix/getaddrinfo.c
47093 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47094 (gaiconf_init, gaiconf_reload): Use them.
47095 [!_STATBUF_ST_NSEC]
47096 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47097 Define using time_t rather than struct timespec.
47098
47099 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47100 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47101 Macros removed.
47102 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47103 [!NO_THREADS].
47104 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47105 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47106 Likewise.
47107
47108 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47109 __libc_cleanup_push argument.
47110
47111 * bits/param.h: New file.
47112 * misc/sys/param.h: New file.
47113 * include/sys/param.h: New file.
47114 * misc/Makefile (headers): Add bits/param.h.
47115 * sysdeps/generic/sys/param.h: File removed.
47116 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47117 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47118 * sysdeps/mach/hurd/bits/param.h: New file.
47119 * sysdeps/mach/hurd/sys/param.h: File removed.
47120
47121 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47122 last change.
47123
47124 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47125 [_IO_MTSAFE_IO].
47126 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47127 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47128 New macros.
47129
47130 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47131 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47132 rather than -D_IO_MTSAFE_IO conditionally.
47133 * stdio-common/Makefile (CPPFLAGS): Likewise.
47134 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47135 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47136 Use $(libio-mtsafe).
47137 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47138 of -D_IO_MTSAFE_IO.
47139 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47140 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47141 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47142 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47143 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47144 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47145 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47146 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47147 (CFLAGS-fread_u_chk.c): Likewise.
47148 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47149 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47150 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47151 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47152 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47153 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47154 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47155 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47156 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47157
47158 * libio/Makefile: Test [$(libc-reentrant) = yes]
47159 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47160
47161 * Makeconfig
47162 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47163 * sysdeps/pthread/configure: File removed.
47164 * sysdeps/pthread/Makeconfig: New file.
47165 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47166 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47167
47168 2012-08-16 Gary Benson <gbenson@redhat.com>
47169
47170 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47171 unmapping the first object in a namespace.
47172
47173 2012-08-16 Roland McGrath <roland@hack.frob.com>
47174
47175 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47176 (__internal_setnetgrent): ... this. Add internal_function to
47177 definition. Add libc_hidden_def.
47178 (setnetgrent): Update caller.
47179 (internal_endnetgrent): Renamed to ...
47180 (__internal_endnetgrent): ... this. Add internal_function to
47181 definition. Add libc_hidden_def.
47182 (endnetgrent): Update caller.
47183 (internal_getnetgrent_r): Renamed to ...
47184 (__internal_getnetgrent_r): ... this. Add internal_function to
47185 definition. Add libc_hidden_def.
47186 (__getnetgrent_r): Update caller.
47187 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47188
47189 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47190
47191 * stdlib/longlong.h: Update from GCC.
47192
47193 2012-08-16 Roland McGrath <roland@hack.frob.com>
47194
47195 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47196 on _QL, which is set by umul_ppmm but never used.
47197 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47198 variables, which are set by GMP macros but never used.
47199 * stdio-common/_itowa.c (_itowa): Likewise.
47200 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47201 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47202
47203 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47204
47205 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47206 struct La_sh_regs is not constant.
47207 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47208 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47209 and struct La_sparc64_regs are not constant.
47210
47211 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47212
47213 * sysdeps/unix/sysv/linux/kernel-features.h
47214 (__ASSUME_POSIX_TIMERS): Remove.
47215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47217 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47218 Make code unconditional.
47219 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47220 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47221 Make code unconditional.
47222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47223 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47224 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47226 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47227 Make code unconditional.
47228 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47229 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47230 (__libc_missing_posix_timers): Remove.
47231
47232 2012-08-15 Roland McGrath <roland@hack.frob.com>
47233
47234 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47235 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47236
47237 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47238
47239 * elf/dl-sym.c: Include <stdlib.h>.
47240
47241 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47242 constants, which avoids warnings in 32-bit builds.
47243
47244 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47245 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47246
47247 * misc/lseek.c: File moved to ...
47248 * io/lseek.c: ... here.
47249
47250 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47251
47252 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47253 shifting LEN more than 31 bits at once.
47254
47255 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47256
47257 [BZ #14195]
47258 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47259 segmentation fault for a case of two empty input strings.
47260 * string/test-strncasecmp.c (check1): Renamed to...
47261 (bz12205): ...this.
47262 (bz14195): Add new testcase for two empty input strings and N > 0.
47263 (test_main): Call new testcase, adapt for renamed function.
47264
47265 2012-08-15 Andreas Jaeger <aj@suse.de>
47266
47267 [BZ #14090]
47268 * crypt/md5test2.c: New test, based on test supplied by Serge
47269 Belyshev <belyshev@depni.sinp.msu.ru>.
47270 * crypt/Makefile (xtests): Add md5test-giant..
47271 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47272
47273 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47274
47275 [BZ #14090]
47276 * crypt/md5.c (md5_process_block): Don't assume the buffer
47277 length is less than 2**32.
47278 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47279 length is less than 2**64.
47280
47281 2012-08-15 Roland McGrath <roland@hack.frob.com>
47282
47283 * string/str-two-way.h: Include <sys/param.h>.
47284 (MAX): Macro removed.
47285
47286 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47287 Move #define and #undef of memmove to just before and after
47288 including <string.h>.
47289
47290 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47291 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47292 and after including <string.h>. Move declarations of
47293 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47294 to before #include "string/memmove.c".
47295
47296 * include/dirent.h: Declare __getdirentries.
47297
47298 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47299 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47300
47301 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47302
47303 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47304 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47305 * sysdeps/i386/configure: Regenerated.
47306 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47307 STABS_CURRENT_FILE, and STABS_FUN.
47308 (END): Remove call to STABS_FUN_END.
47309 (STABS_CURRENT_FILE1): Delete.
47310 (STABS_CURRENT_FILE): Likewise.
47311 (STABS_FUN): Likewise.
47312 (STABS_FUN_END): Likewise.
47313 (STABS_FUN2): Likewise.
47314 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47315 * sysdeps/x86_64/configure: Regenerated.
47316
47317 2012-08-14 Roland McGrath <roland@hack.frob.com>
47318
47319 * elf/dl-open.c: Include <atomic.h>.
47320 * elf/dl-lookup.c: Likewise.
47321
47322 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47323
47324 * sysdeps/unix/sysv/linux/kernel-features.h
47325 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47326 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47327 unconditionally.
47328 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47329 unconditionally.
47330 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47331 condition on __ASSUME_CLONE_THREAD_FLAGS.
47332
47333 2012-08-14 Andreas Jaeger <aj@suse.de>
47334
47335 * sysdeps/i386/fpu/libm-test-ulps: Update.
47336
47337 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47338
47339 * include/atomic.h (atomic_exchange_and_add): Split into ...
47340 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47341 New atomic macros.
47342
47343 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47344
47345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47346
47347 2012-08-13 Jeff Law <law@redhat.com>
47348
47349 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47350 null byte in the output string.
47351
47352 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47353
47354 * sysdeps/unix/sysv/linux/kernel-features.h
47355 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47356 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47357 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47358 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47359 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47360 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47361 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47362
47363 2012-08-09 Jeff Law <law@redhat.com>
47364
47365 [BZ #13939]
47366 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47367 When avoid_arena is set, don't retry in the that arena. Pick the
47368 next one, whatever it might be.
47369 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47370 (arena_lock): Pass in new parameter to arena_get2.
47371 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47372 arena_get2.
47373 (__libc_malloc): Unify retrying after main arena failure with
47374 __libc_memalign version.
47375 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47376
47377 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47378
47379 [BZ #14166]
47380 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47381 to __redirect_strstr.
47382 (__strstr_sse42): Use typeof __redirect_strstr.
47383 (__strstr_ia32): Likewise.
47384 (__libc_strstr): New prototype.
47385 (strstr): Renamed to ...
47386 (__libc_strstr): This.
47387 (strstr): New strong alias of __libc_strstr.
47388 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47389 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47390 __redirect_time.
47391 Include <time.h>.
47392 (__libc_time): New prototype.
47393 (time_ifunc): Replace time with __libc_time.
47394 (time): New strong alias and hidden definition of __libc_time.
47395 (__GI_time): Remove strong alias.
47396 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47397 Include <stddef.h>.
47398 (memmove): Redefined to __redirect_memmove.
47399 (__memmove_sse2): Use typeof __redirect_memmove.
47400 (__memmove_ssse3): Likewise.
47401 (__memmove_ssse3_back): Likewise.
47402 (__libc_memmove): New prototype.
47403 (memmove): Renamed to ...
47404 (__libc_memmove): This.
47405 (memmove): New strong alias of __libc_memmove.
47406
47407 2012-08-08 Mark Salter <msalter@redhat.com>
47408
47409 * elf/elf.h
47410 (R_MN10300_TLS_GD): Define.
47411 (R_MN10300_TLS_LD): Likewise.
47412 (R_MN10300_TLS_LDO): Likewise.
47413 (R_MN10300_TLS_GOTIE): Likewise.
47414 (R_MN10300_TLS_IE): Likewise.
47415 (R_MN10300_TLS_LE): Likewise.
47416 (R_MN10300_TLS_DTPMOD): Likewise.
47417 (R_MN10300_TLS_DTPOFF): Likewise.
47418 (R_MN10300_TLS_TPOFF): Likewise.
47419 (R_MN10300_SYM_DIFF): Likewise.
47420 (R_MN10300_ALIGN): Likewise.
47421 (R_MN10300_NUM): Update.
47422
47423 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47424
47425 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47426 Remove.
47427
47428 2012-08-08 Roland McGrath <roland@hack.frob.com>
47429
47430 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47431
47432 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47433 sysdeps/unix -> sysdeps/posix move.
47434 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47435
47436 2012-08-07 Allan McRae <allan@archlinux.org>
47437
47438 [BZ #14303]
47439 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47440 (SUNOS_CPP): Likewise.
47441 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47442 not found.
47443 (open_input): Call CPP using execvp.
47444
47445 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47446
47447 * sysdeps/unix/sysv/linux/kernel-features.h
47448 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47449 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47450 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47451 (__ASSUME_WAITID_SYSCALL): Likewise.
47452 * sysdeps/unix/sysv/linux/dl-execstack.c
47453 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47454 code unconditional.
47455 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47456 conditional code.
47457 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47458 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47459 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47460 code.
47461 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47462 unconditional.
47463 [__ASSUME_WAITID_SYSCALL]: Likewise.
47464 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47465
47466 2012-08-07 Roland McGrath <roland@hack.frob.com>
47467
47468 * sysdeps/unix/closedir.c: Renamed to ...
47469 * sysdeps/posix/closedir.c: ... here.
47470 * sysdeps/unix/dirfd.c: Renamed to ...
47471 * sysdeps/posix/dirfd.c: ... here.
47472 * sysdeps/unix/dirstream.h: Renamed to ...
47473 * sysdeps/posix/dirstream.h: ... here.
47474 * sysdeps/unix/fdopendir.c: Renamed to ...
47475 * sysdeps/posix/fdopendir.c: ... here.
47476 * sysdeps/unix/opendir.c: Renamed to ...
47477 * sysdeps/posix/opendir.c: ... here.
47478 * sysdeps/unix/readdir.c: Renamed to ...
47479 * sysdeps/posix/readdir.c: ... here.
47480 * sysdeps/unix/readdir_r.c: Renamed to ...
47481 * sysdeps/posix/readdir_r.c: ... here.
47482 * sysdeps/unix/rewinddir.c: Renamed to ...
47483 * sysdeps/posix/rewinddir.c: ... here.
47484 * sysdeps/unix/seekdir.c: Renamed to ...
47485 * sysdeps/posix/seekdir.c: ... here.
47486 * sysdeps/unix/telldir.c: Renamed to ...
47487 * sysdeps/posix/telldir.c: ... here.
47488 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47489 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47490 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47491 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47492
47493 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47494 * bits/fcntl.h: ... here.
47495
47496 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47497 not 0.
47498 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47499 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47500 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47501 (struct flock): Move l_start, l_len to the beginning.
47502 Use __pid_t for l_pid.
47503 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47504 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47505 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47506 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47507 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47508 [__USE_LARGEFILE64] (struct flock64): New type.
47509 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47510
47511 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47512 * bits/dirent.h: ... here.
47513
47514 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47515 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47516
47517 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47518
47519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47520 Change from 2.6.0 to 2.6.16.
47521 * sysdeps/unix/sysv/linux/configure: Regenerated.
47522 * sysdeps/unix/sysv/linux/kernel-features.h
47523 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47524 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47525 version.
47526 (__ASSUME_UTIMES): Likewise.
47527 (__ASSUME_CLONE_STOPPED): Remove.
47528 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47529 architectures, not kernel version.
47530 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47531 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47532 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47533 (__ASSUME_WAITID_SYSCALL): Likewise.
47534 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47535 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47536 * README: State 2.6.16 as minimum Linux kernel version. Do not
47537 refer to older versions.
47538
47539 2012-08-06 Roland McGrath <roland@hack.frob.com>
47540
47541 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47542 Define alphasort64 as an alias.
47543 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47544 Define versionsort64 as an alias.
47545 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47546 Define scandir64 as an alias.
47547 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47548 Define scandirat64 as an alias.
47549 * dirent/alphasort64.c (alphasort64):
47550 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47551 * dirent/versionsort64.c: Likewise.
47552 * dirent/scandir64.c: Likewise.
47553 * dirent/scandirat64.c: Likewise.
47554 * sysdeps/wordsize-64/alphasort.c: File removed.
47555 * sysdeps/wordsize-64/alphasort64.c: File removed.
47556 * sysdeps/wordsize-64/scandir.c: File removed.
47557 * sysdeps/wordsize-64/scandir64.c: File removed.
47558 * sysdeps/wordsize-64/scandirat.c: File removed.
47559 * sysdeps/wordsize-64/scandirat64.c: File removed.
47560 * sysdeps/wordsize-64/versionsort.c: File removed.
47561 * sysdeps/wordsize-64/versionsort64.c: File removed.
47562 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47564 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47565 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47566 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47567 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47568 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47569 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47570
47571 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47573 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47575 [defined __arch64__ || defined __sparcv9]
47576 (__INO_T_MATCHES_INO64_T): New macro.
47577 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47578 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47579 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47580 * sysdeps/unix/sysv/linux/bits/dirent.h
47581 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47582 (_DIRENT_MATCHES_DIRENT64): New macro.
47583
47584 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47585 Define lockf64 as an alias.
47586 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47587 Define fseeko64 as an alias.
47588 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47589 Define ftello64 as an alias.
47590 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47591 Define _IO_fgetpos64 and fgetpos64 as aliases.
47592 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47593 Define _IO_fsetpos64 and fsetpos64 as aliases.
47594 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47595 Conditionalize body on this.
47596 * libio/fseeko64.c: Likewise.
47597 * libio/ftello64.c: Likewise.
47598 * libio/iofgetpos64.c: Likewise.
47599 * libio/iofsetpos64.c: Likewise.
47600 * sysdeps/wordsize-64/lockf.c: File removed.
47601 * sysdeps/wordsize-64/lockf64.c: File removed.
47602 * sysdeps/wordsize-64/fseeko.c: File removed.
47603 * sysdeps/wordsize-64/fseeko64.c: File removed.
47604 * sysdeps/wordsize-64/ftello.c: File removed.
47605 * sysdeps/wordsize-64/ftello64.c: File removed.
47606 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47607 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47608 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47609 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47610 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47611 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47612 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47614 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47616 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47620
47621 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47623 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47625 [defined __arch64__ || defined __sparcv9]
47626 (__OFF_T_MATCHES_OFF64_T): New macro.
47627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47628 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47630 (__OFF_T_MATCHES_OFF64_T): New macro.
47631
47632 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47633
47634 * stdlib/secure-getenv.c (__secure_getenv): Replace
47635 GLIBC_2_16 with GLIBC_2_17.
47636
47637 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47638
47639 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47640 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47641
47642 2012-08-03 David S. Miller <davem@davemloft.net>
47643
47644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47645
47646 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47647
47648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47649 Remove.
47650 (__ASSUME_CORRECT_SI_PID): Likewise.
47651 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47652 (__ASSUME_TMPFS_NAME): Likewise.
47653 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47654 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47655 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47656 (HAVE_AUX_SECURE): Make definition unconditional.
47657 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47658 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47659
47660 2012-08-03 Roland McGrath <roland@hack.frob.com>
47661
47662 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47663 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47664 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47665 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47666 __eloop_threshold instead of SYMLOOP_MAX.
47667
47668 * sysdeps/generic/eloop-threshold.h: New file.
47669 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47670 of MAXSYMLINKS.
47671 * elf/chroot_canon.c (chroot_canon): Likewise.
47672
47673 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47674
47675 [BZ #13717]
47676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47677 Change to 2.6.0 everywhere.
47678 * sysdeps/unix/sysv/linux/configure: Regenerated.
47679 * sysdeps/unix/sysv/linux/kernel-features.h
47680 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47681 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47682 kernel versions.
47683 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47684 (__ASSUME_FUTEX_REQUEUE): Remove.
47685 (__ASSUME_STATFS64): Define unconditionally.
47686 (__ASSUME_AT_SECURE): Likewise.
47687 (__ASSUME_CORRECT_SI_PID): Likewise.
47688 (__ASSUME_TGKILL): Define without depending on kernel version for
47689 i386.
47690 (__ASSUME_UTIMES): Likewise.
47691 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47692 kernel version.
47693 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47694 (__ASSUME_TMPFS_NAME): Likewise.
47695 * README: Update reference to Linux kernel versions.
47696
47697 2012-08-02 Marek Polacek <polacek@redhat.com>
47698
47699 [BZ# 14150]
47700 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47701 libc_cv_asm_type_prefix with %.
47702 * configure: Regenerated.
47703 * include/libc-symbols.h: Remove comment about
47704 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47705 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47706 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47707 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47708 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47709 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47710 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47711 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47712 * elf/tst-unique2mod1.c: Likewise.
47713 * elf/tst-unique1mod2.c: Likewise.
47714 * elf/tst-unique1mod1.c: Likewise.
47715 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47716 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47717 Replace ASM_TYPE_DIRECTIVE with .type.
47718 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47719 * sysdeps/i386/sysdep.h: Likewise.
47720 * sysdeps/x86_64/sysdep.h: Likewise.
47721 * sysdeps/sh/sysdep.h: Likewise.
47722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47723 Do not define ASM_TYPE_DIRECTIVE.
47724 * sysdeps/powerpc/sysdep.h: Likewise.
47725 * sysdeps/powerpc/powerpc32/sysdep.h:
47726 Replace ASM_TYPE_DIRECTIVE with .type.
47727 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47728 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47729 * sysdeps/i386/fpu/e_powf.S: Likewise.
47730 * sysdeps/i386/fpu/e_expl.S: Likewise.
47731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47732 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47733 * sysdeps/i386/fpu/e_pow.S: Likewise.
47734 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47735 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47736 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47737 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47738 * sysdeps/i386/fpu/e_log2.S: Likewise.
47739 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47740 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47741 * sysdeps/i386/fpu/e_powl.S: Likewise.
47742 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47743 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47744 * sysdeps/i386/fpu/e_logl.S: Likewise.
47745 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47746 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47747 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47748 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47749 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47750 * sysdeps/i386/fpu/e_log.S: Likewise.
47751 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47752 * sysdeps/i386/fpu/e_logf.S: Likewise.
47753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47755 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47756 * sysdeps/i386/fpu/e_log10.S: Likewise.
47757 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47758 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47759 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47760 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47762 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47763 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47764 * sysdeps/i386/i686/strtok.S: Likewise.
47765 * sysdeps/i386/i386-mcount.S: Likewise.
47766 * sysdeps/i386/strtok.S: Likewise.
47767 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47768 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47770 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47771 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47772 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47773 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47774 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47775 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47776 * sysdeps/x86_64/_mcount.S: Likewise.
47777 * sysdeps/x86_64/strtok.S: Likewise.
47778 * sysdeps/sh/_mcount.S: Likewise.
47779
47780 2012-08-01 Roland McGrath <roland@hack.frob.com>
47781
47782 * libio/iofopen.c: Include <fcntl.h>.
47783 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47784 (_IO_fopen64, fopen64): Define as aliases.
47785 * libio/iofopen64.c: Include <fcntl.h>.
47786 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47787 Conditionalize body on this.
47788 * sysdeps/wordsize-64/iofopen.c: File removed.
47789 * sysdeps/wordsize-64/iofopen64.c: File removed.
47790
47791 2012-08-01 Marek Polacek <polacek@redhat.com>
47792
47793 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47794 Use dlfcn directly instead of a variable.
47795 (binfmt-subdir): Do not define.
47796 (dlfcn): Likewise.
47797
47798 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47799
47800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47801 Remove all definitions.
47802 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47803 <kernel-features.h>.
47804 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47805 (miss_F_GETOWN_EX): Remove all definitions.
47806 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47807 macro definition.
47808 [!__ASSUME_FCNTL64]: Remove conditional code.
47809 [__ASSUME_FCNTL64]: Make code unconditional.
47810 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47811 <kernel-features.h>.
47812 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47813 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47814 (lockf64) [__NR_fcntl64]: Make code unconditional.
47815 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47816
47817 * sysdeps/unix/sysv/linux/kernel-features.h
47818 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47819 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47820 Make code unconditional.
47821 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47822 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47824 [__NR_vfork]: Make code unconditional.
47825 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47826 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47828 [__NR_vfork]: Make code unconditional.
47829 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47830 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47831
47832 2012-08-01 Roland McGrath <roland@hack.frob.com>
47833
47834 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47835 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47836
47837 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47838 Define mkstemp64 as an alias.
47839 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47840 Define mkstemps64 as an alias.
47841 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47842 Define mkostemp64 as an alias.
47843 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47844 Define mkostemps64 as an alias.
47845 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47846 Conditionalize body on this.
47847 * misc/mkostemp64.c: Likewise.
47848 * misc/mkostemps64.c: Likewise.
47849 * misc/mkstemps64.c: Likewise.
47850 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47851 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47852 * sysdeps/wordsize-64/mkostemp.c: File removed.
47853 * sysdeps/wordsize-64/mkstemp.c: File removed.
47854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47855 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47857 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47858
47859 [BZ #14138]
47860 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47861 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47862 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47863 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47864
47865 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47866 compat_symbol macros from <shlib-compat.h> rather than the underlying
47867 default_symbol_version and symbol_version macros, so that DEFAULT
47868 lines in shlib-versions are respected.
47869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47870
47871 2012-08-01 Florian Weimer <fweimer@redhat.com>
47872
47873 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47874 Declare with warn_unused_result.
47875 (setgid, setregid, setegid, setresgid): Likewise.
47876 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47877 Likewise.
47878 * WUR-REPORT: Remove set*id functions.
47879
47880 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47881
47882 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47883
47884 2012-07-31 Roland McGrath <roland@hack.frob.com>
47885
47886 [BZ #10191]
47887 * include/sys/socket.h (__libc_accept, __libc_accept4):
47888 Add attribute_hidden.
47889 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47890
47891 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47892 use of PTR_MANGLE.
47893 * inet/getnetgrent_r.c (setup): Likewise.
47894
47895 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47896
47897 2012-07-31 David S. Miller <davem@davemloft.net>
47898
47899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47900
47901 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47902
47903 [BZ #13629]
47904 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47905 value between 1.0 and 2.0 and smaller part has absolute value less
47906 than 1.0.
47907 * math/s_clog10.c (__clog10): Likewise.
47908 * math/s_clog10f.c (__clog10f): Likewise.
47909 * math/s_clog10l.c (__clog10l): Likewise.
47910 * math/s_clogf.c (__clogf): Likewise.
47911 * math/s_clogl.c (__clogl): Likewise.
47912 * math/libm-test.inc (clog_test): Add more tests.
47913 (clog10_test): Likewise.
47914 * sysdeps/i386/fpu/libm-test-ulps: Update.
47915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47916
47917 2012-07-31 Florian Weimer <fweimer@redhat.com>
47918
47919 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47920 Exit with zero in case no suitable GID is found, and write a
47921 message to standard error.
47922
47923 2012-07-30 Roland McGrath <roland@hack.frob.com>
47924
47925 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47926 rather than to 1.
47927 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47928 (MAXPATHLEN): Removed.
47929 (NOGROUP, NODEV): New macros.
47930 (setbit, clrbit, isset, isclr): New macros.
47931 (howmany, roundup, powerof2): New macros.
47932 (DEV_BSIZE): New macro.
47933
47934 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47935 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47936
47937 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47938 definition on [!__NO_LONG_DOUBLE_MATH].
47939
47940 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47941 PTR_MANGLE and PTR_DEMANGLE.
47942
47943 * socket/accept4.c (accept4): Rename to __libc_accept4.
47944 Define accept4 as a weak alias.
47945
47946 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47947 on [_DIRENT_HAVE_D_TYPE].
47948 * io/ftw.c (ftw_dir): Likewise.
47949
47950 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47951
47952 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47953
47954 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47955 Use the BSD numbers rather than the arbitrary ones we had.
47956 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47957 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47958 (SIGXCPU, SIGXFSZ): New macros.
47959 (_NSIG): Now 32.
47960
47961 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47962 initializer on [_LIBC_REENTRANT].
47963
47964 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47965 definitions inside [_POSIX_MAPPED_FILES].
47966
47967 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47968
47969 * dirent/opendir.c: Include <fcntl.h>.
47970
47971 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47972 (__libc_getspecific): Likewise.
47973 (__libc_key_create): Likewise.
47974
47975 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47976 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47977 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47978 (tmpfile64): Define as alias.
47979 * sysdeps/wordsize-64/tmpfile.c: File removed.
47980 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47981 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47983
47984 * stdio-common/vfscanf.c: Include <stdbool.h>.
47985 * nss/makedb.c: Likewise.
47986 * stdio-common/_i18n_number.h: Likewise.
47987 * argp/argp-help.c: Likewise.
47988 * posix/wordexp.c: Likewise.
47989 * sysdeps/posix/spawni.c: Likewise.
47990 * nss/nss_files/files-initgroups.c: Likewise.
47991 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47992 * nss/nss_files/files-initgroups.c: Likewise.
47993 * nss/nss_db/db-netgrp.c: Likewise.
47994 * nss/nss_db/db-initgroups.c: Likewise.
47995 * io/fchmodat.c: Include <sys/stat.h>.
47996
47997 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47998 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47999
48000 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48001 [HAVE_MMAP].
48002
48003 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48004 Add multiple inclusion protection.
48005
48006 2012-07-27 David S. Miller <davem@davemloft.net>
48007
48008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48009
48010 2012-07-27 Gary Benson <gbenson@redhat.com>
48011
48012 [BZ #14298]
48013 * elf/rtld.c: Include <stap-probe.h>.
48014 (dl_main): Added static probes "init_start" and "init_complete".
48015 * elf/dl-load.c: Include <stap-probe.h>.
48016 (lose): Take new parameter "nsid".
48017 Added static probe "map_failed".
48018 (_dl_map_object_from_fd): Pass namespace id to lose.
48019 Added static probe "map_start".
48020 (open_verify): Pass namespace id to lose.
48021 * elf/dl-open.c: Include <stap-probe.h>.
48022 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48023 and "reloc_complete".
48024 * elf/dl-close.c: Include <stap-probe.h>.
48025 (_dl_close_worker): Added static probes "unmap_start" and
48026 "unmap_complete".
48027 * elf/rtld-debugger-interface.txt: New file documenting the above.
48028
48029 2012-07-26 Roland McGrath <roland@hack.frob.com>
48030
48031 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48032 rather than a string variable.
48033 * sunrpc/rpc_main.c (h_output): Likewise.
48034 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48035
48036 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48037
48038 * inet/check_native.c: New file.
48039
48040 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48041
48042 [BZ #13629]
48043 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48044 if larger part has absolute value 1.0.
48045 * math/s_clog10.c (__clog10): Likewise.
48046 * math/s_clog10f.c (__clog10f): Likewise.
48047 * math/s_clog10l.c (__clog10l): Likewise.
48048 * math/s_clogf.c (__clogf): Likewise.
48049 * math/s_clogl.c (__clogl): Likewise.
48050 * math/libm-test.inc (clog_test): Add more tests.
48051 (clog10_test): Likewise.
48052 * sysdeps/i386/fpu/libm-test-ulps: Update.
48053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48054
48055 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48056 (pltexit): Likewise.
48057 (La_regs): Likewise.
48058 (La_retval): Likewise.
48059 (int_retval): Likewise.
48060 Update #error for removed macros to refer only to definitions in
48061 tst-audit.h.
48062 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48063 macro.
48064 (pltexit): Likewise.
48065 (La_regs): Likewise.
48066 (La_retval): Likewise.
48067 (int_retval): Likewise.
48068 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48069 macro.
48070 (pltexit): Likewise.
48071 (La_regs): Likewise.
48072 (La_retval): Likewise.
48073 (int_retval): Likewise.
48074 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48075 macro.
48076 (pltexit): Likewise.
48077 (La_regs): Likewise.
48078 (La_retval): Likewise.
48079 (int_retval): Likewise.
48080 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48081 macro.
48082 (pltexit): Likewise.
48083 (La_regs): Likewise.
48084 (La_retval): Likewise.
48085 (int_retval): Likewise.
48086 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48087 macro.
48088 (pltexit): Likewise.
48089 (La_regs): Likewise.
48090 (La_retval): Likewise.
48091 (int_retval): Likewise.
48092 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48093 macro.
48094 (pltexit): Likewise.
48095 (La_regs): Likewise.
48096 (La_retval): Likewise.
48097 (int_retval): Likewise.
48098 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48099 macro definitions in tst-audit.h.
48100 * sysdeps/i386/tst-audit.h: New file.
48101 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48102 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48103 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48104 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48105 * sysdeps/sh/tst-audit.h: Likewise.
48106 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48107 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48108 * sysdeps/x86_64/tst-audit.h: Likewise.
48109
48110 2012-07-26 Andreas Jaeger <aj@suse.de>
48111
48112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48113 ptrace.
48114
48115 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48116 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48117 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48118 PTRACE_O_MASK.
48119 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48120 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48121 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48122
48123 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48124 value.
48125
48126 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48127 _sigsys.
48128 (si_call_addr, si_syscall, si_arch): Define new macro.
48129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48130 _sigsys.
48131 (si_call_addr, si_syscall, si_arch): Define new marcro.
48132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48133 _sigsys.
48134 (si_call_addr, si_syscall, si_arch): Define new macro.
48135 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48136 _sigsys.
48137 (si_call_addr, si_syscall, si_arch): Define new macro.
48138
48139 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48140
48141 [BZ #13717]
48142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48143 Change to 2.4.21 where previously 2.4.1.
48144 * sysdeps/unix/sysv/linux/configure: Regenerated.
48145 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48146 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48147 Linux kernel version.
48148 (__ASSUME_STD_AUXV): Remove.
48149 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48150 kernel version.
48151 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48152 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48153 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48154 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48155 (__ASSUME_NETLINK_SUPPORT): Likewise.
48156 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48157 (__no_netlink_support): Remove conditional definition.
48158 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48159 Remove.
48160 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48161 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48162 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48163 (if_nameindex_ioctl): Remove.
48164 (if_nameindex_netlink): Do not handle __no_netlink_support.
48165 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48166 code.
48167 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48168 Remove conditional code.
48169 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48170 code.
48171 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48172 unconditional.
48173 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48174 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48175 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48176 Remove.
48177 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48178 [!__ASSUME_STD_AUXV]: Remove conditional code.
48179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48180 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48181 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48183 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48184 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48185 code.
48186 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48188 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48189 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48190 conditional code.
48191 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48193 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48194 code.
48195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48196 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48197 conditional code.
48198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48199 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48200 code unconditional.
48201 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48202 conditional code.
48203 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48204 unconditional.
48205 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48206 conditional code.
48207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48208 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48209 unconditional.
48210 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48211 conditional code.
48212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48213 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48214 code unconditional.
48215 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48216 conditional code.
48217 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48218 unconditional.
48219 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48220 conditional code.
48221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48222 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48223 code unconditional.
48224 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48225 conditional code.
48226 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48227 unconditional.
48228 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48229 conditional code.
48230
48231 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48232
48233 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48234 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48235 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48236 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48237 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48238 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48239 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48240 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48241 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48242 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48243 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48244 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48245 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48246 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48247 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48248 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48249 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48251 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48253 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48254 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48256
48257 2012-07-25 Florian Weimer <fweimer@redhat.com>
48258
48259 * Versions.def: Add GLIBC_2.17.
48260 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48261 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48262 Introduce __libc_secure_getenv.
48263 * stdlib/Versions (2.17): Add secure_getenv
48264 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48265 * stdlib/secure-getenv.c: Rename __secure_getenv to
48266 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48267 symbol __secure_getenv for GLIBC_2.0.
48268 * stdlib/tst-secure-getenv.c: New.
48269 * stdlib/Makefile (tests): Add testcase.
48270 * manual/startup.texi (Environment Access): Document
48271 secure_getenv.
48272 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48273 __libc_secure_getenv.
48274 * inet/ruserpass.c (ruserpass): Likewise.
48275 * malloc/mtrace.c (mtrace): Likewise.
48276 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48277 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48278 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48279 * sysdeps/posix/tempname.c: Likewise. Evaluate
48280 HAVE_SECURE_GETENV.
48281 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48282 __secure_getenv to __libc_secure_getenv.
48283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48285 Likewise.
48286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48287 Likewise.
48288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48295
48296 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48297
48298 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48299 (struct La_i86_retval): Likewise.
48300 (struct La_x86_64_regs): Likewise.
48301 (struct La_x86_64_retval): Likewise.
48302 (struct La_x32_regs): Likewise.
48303 (struct La_x32_retval): Likewise.
48304 (struct La_ppc32_regs): Likewise.
48305 (struct La_ppc32_retval): Likewise.
48306 (struct La_ppc64_regs): Likewise.
48307 (struct La_ppc64_retval): Likewise.
48308 (struct La_sh_regs): Likewise.
48309 (struct La_sh_retval): Likewise.
48310 (struct La_s390_32_regs): Likewise.
48311 (struct La_s390_32_retval): Likewise.
48312 (struct La_s390_64_regs): Likewise.
48313 (struct La_s390_64_retval): Likewise.
48314 (struct La_sparc32_regs): Likewise.
48315 (struct La_sparc32_retval): Likewise.
48316 (struct La_sparc64_regs): Likewise.
48317 (struct La_sparc64_retval): Likewise.
48318 (struct audit_ifaces): Remove architecture-specific pltenter and
48319 pltexit members.
48320 * sysdeps/i386/ldsodefs.h: New file.
48321 * sysdeps/powerpc/ldsodefs.h: Likewise.
48322 * sysdeps/s390/ldsodefs.h: Likewise.
48323 * sysdeps/sh/ldsodefs.h: Likewise.
48324 * sysdeps/sparc/ldsodefs.h: Likewise.
48325 * sysdeps/x86_64/ldsodefs.h: Likewise.
48326
48327 2012-07-25 Marek Polacek <polacek@redhat.com>
48328
48329 [BZ #6808]
48330 * math/libm-test.inc (yn_test): Add another test.
48331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48332 to ERANGE when the result is +-Inf.
48333 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48334 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48335 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48336 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48337
48338 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48339
48340 * conform/data/time.h-data (NULL): Use macro-constant. Require
48341 equal to 0.
48342 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48343 clock_t.
48344 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48345
48346 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48347
48348 * configure.in <sysdeps resolving>: Correct printing
48349 Implies_before.
48350 * configure: Regenerate.
48351
48352 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48353
48354 * math/w_ilogb.c: Include <limits.h>.
48355 * math/w_ilogbl.c: Likewise.
48356
48357 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48358
48359 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48360 va_copy. Document allowing for unavailable va_copy only as
48361 pre-C99 compatibility.
48362 * manual/string.texi (Copying and Concatenation): Use va_copy
48363 instead of __va_copy in concat example.
48364
48365 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48366
48367 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48368 (__sendto): Use create_address_port. Initialize APORT and deallocate
48369 it if not null.
48370
48371 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48372 with O_NOLINK passed to __file_name_lookup.
48373
48374 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48375 with O_NOLINK passed to __file_name_lookup.
48376
48377 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48378 negative N or less than NGIDS.
48379
48380 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48381 type to string_t. Set ERANGE as errno and return it if NAME is not big
48382 enough. Use memcpy instead of strncpy.
48383
48384 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48385
48386 * elf/Makefile (check-data): Remove.
48387 (localplt.data): New vpath directive.
48388 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48389 instead of $(check-data).
48390 * scripts/data/localplt-generic.data: Move to ...
48391 * sysdeps/generic/localplt.data: ... here.
48392 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48393 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48394 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48396 ... here.
48397 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48399 ... here.
48400 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48402 ... here.
48403 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48405 ... here.
48406 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48408 ... here.
48409 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48411 ... here.
48412
48413 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48414
48415 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48416 PPC32 and PPC64 files.
48417 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48418 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48419
48420 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48421
48422 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48423 __makecontext_ret to ...
48424 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48425 ... here and call exit if uc_link is NULL. New file.
48426 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48427 __makecontext_ret.S.
48428 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48429 __makecontext_ret to ...
48430 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48431 ... here and call exit if uc_link is NULL. New file.
48432 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48433 __makecontext_ret.S.
48434
48435 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48436
48437 * elf/elf.h (R_390_IRELATIVE): New definition.
48438 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48439 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48440 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48442 (elf_machine_lazy_rel): Likewise.
48443 * sysdeps/s390/dl-irel.h: New file.
48444 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48445 * sysdeps/s390/s390-64/memset.S: New asm code.
48446 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48447 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48448 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48449 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48450 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48451 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48452 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48453 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48454 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48455 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48456 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48457 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48458 * sysdeps/s390/s390-32/memset.S: New asm code.
48459 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48460
48461 2012-07-17 Marek Polacek <polacek@redhat.com>
48462
48463 [BZ #14349]
48464 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48465 * sysdeps/s390/s390-64/configure.in: Likewise.
48466 * sysdeps/sparc/configure.in: Likewise.
48467 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48468 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48469 * sysdeps/i386/configure.in: Likewise.
48470 * sysdeps/x86_64/configure.in: Likewise.
48471 * sysdeps/sh/configure.in: Likewise.
48472 * sysdeps/s390/s390-32/configure: Regenerated.
48473 * sysdeps/s390/s390-64/configure: Likewise.
48474 * sysdeps/x86_64/configure: Likewise.
48475 * sysdeps/sh/configure: Likewise.
48476 * sysdeps/powerpc/powerpc64/configure: Likewise.
48477 * sysdeps/powerpc/powerpc32/configure: Likewise.
48478 * sysdeps/sparc/configure: Likwise.
48479 * sysdeps/i386/configure: Likewise.
48480
48481 * elf/dl-open.c: Comment fixes.
48482
48483 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48484
48485 * Makefile [CXX] (check-data): Remove.
48486 [CXX] (c++-types.data): New vpath directive.
48487 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48488 vpath. Do not allow for C++ type data being missing.
48489 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48490 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48491 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48492 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48493 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48494 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48495 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48497 ... here.
48498 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48500 ... here.
48501 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48503 ... here.
48504 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48506 ... here.
48507 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48509 ... here.
48510 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48512 ... here.
48513 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48515 ... here.
48516 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48518
48519 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48520 definitions to architecture-specific files.
48521 (TLS_IE): Likewise.
48522 (TLS_LD): Likewise.
48523 (TLS_GD): Likewise.
48524 * sysdeps/i386/tls-macros.h: New file.
48525 * sysdeps/powerpc/tls-macros.h: Likewise.
48526 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48527 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48528 * sysdeps/sh/tls-macros.h: Likewise.
48529 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48530 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48531 * sysdeps/x86_64/tls-macros.h: Likewise.
48532
48533 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48534
48535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48536 zero value for regular exit case.
48537
48538 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48539 (__start_context): Preserve zero value for regular exit case.
48540
48541 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48542 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48543
48544 * manual/setjmp.texi (setcontext): Clarify normal process
48545 termination when uc_link is the null pointer.
48546 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48547 exit call.
48548
48549 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48550
48551 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48552 preprocessor. Test for each exception mask separately.
48553
48554 2012-07-16 Andreas Jaeger <aj@suse.de>
48555
48556 * po/ru.po: Update from translation team.
48557
48558 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48559
48560 * conform/data/string.h-data (NULL): Use macro-constant. Require
48561 equal to 0.
48562 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48563 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48564 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48565 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48567
48568 2012-07-13 Andreas Jaeger <aj@suse.de>
48569
48570 * po/fr.po: Update from translation team.
48571
48572 2012-07-12 Marek Polacek <polacek@redhat.com>
48573
48574 [BZ #14173]
48575 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48577 loop condition.
48578
48579 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48580
48581 [BZ #13717]
48582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48583 Change to 2.4.1 where previously 2.4.0.
48584 * sysdeps/unix/sysv/linux/configure: Regenerated.
48585 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48586 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48587 version.
48588 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48589 (__ASSUME_AT_CLKTCK): Remove.
48590 (__ASSUME_AT_PAGESIZE): Likewise.
48591 (__ASSUME_AT_XID): Likewise.
48592 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48593 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48594 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48595 unconditionally.
48596 (HAVE_AUX_PAGESIZE): Likewise.
48597 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48598 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48599 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48600
48601 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48602
48603 [BZ #14307]
48604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48605 the temporary buffer used to invoke __gethostbyname2_r,
48606 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48607 host_data / struct gaih_addrtuple.
48608 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48609 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48610 header file nss/nsswitch.h.
48611 * nss/nsswitch.h (global scope): Add definition of implementation
48612 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48613 resolv/nss_dns/dns-host.c).
48614
48615 2012-07-11 Andreas Jaeger <aj@suse.de>
48616
48617 * po/fr.po: Update from translation team.
48618
48619 * po/sv.po: Update from translation team
48620 * po/fr.po: Another update from translation team.
48621
48622 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48623
48624 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48625 for subnormals or multiply small sinh result by itself.
48626 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48628
48629 2012-07-11 David S. Miller <davem@davemloft.net>
48630
48631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48632
48633 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48634
48635 [BZ #14347]
48636 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48637 (INTERNAL_MARK): Shift it here.
48638
48639 2012-07-10 Marek Polacek <polacek@redhat.com>
48640
48641 [BZ #14151]
48642 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48643 libc_cv_asm_global_directive with .globl.
48644 * configure: Regenerated.
48645 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48646 with .globl.
48647 * sysdeps/i386/configure: Regenerated.
48648 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48649 with .globl.
48650 * sysdeps/x86_64/configure: Regenerated.
48651 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48652 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48653 * elf/tst-unique2mod2.c: Likewise.
48654 * elf/tst-unique2mod1.c: Likewise.
48655 * elf/tst-unique1mod2.c: Likewise.
48656 * elf/tst-unique1mod1.c: Likewise.
48657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48658 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48660 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48661 * sysdeps/mach/sysdep.h: Likewise.
48662 * sysdeps/i386/sysdep.h: Likewise.
48663 * sysdeps/i386/i386-mcount.S: Likewise.
48664 * sysdeps/x86_64/_mcount.S: Likewise.
48665 * sysdeps/x86_64/sysdep.h: Likewise.
48666 * sysdeps/sh/_mcount.S: Likewise.
48667 * sysdeps/sh/sysdep.h: Likewise.
48668 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48669 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48670 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48671 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48672 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48673 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48674 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48675 * locale/localeinfo.h: Likewise.
48676 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48677 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48678
48679 2012-07-09 Roland McGrath <roland@hack.frob.com>
48680
48681 [BZ #14336]
48682 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48683 system".
48684 * manual/message.texi (The Uniforum approach): Likewise.
48685 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48686 (glibc iconv Implementation): Likewise.
48687
48688 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48689
48690 [BZ #14337]
48691 * math/s_clog.c (__clog): Avoid scaling a value down where that
48692 could result in underflow.
48693 * math/s_clog10.c (__clog10): Likewise.
48694 * math/s_clog10f.c (__clog10f): Likewise.
48695 * math/s_clog10l.c (__clog10l): Likewise.
48696 * math/s_clogf.c (__clogf): Likewise.
48697 * math/s_clogl.c (__clogl): Likewise.
48698 * math/libm-test.inc (clog_test): Add more tests.
48699 (clog10_test): Likewise.
48700 * sysdeps/i386/fpu/libm-test-ulps: Update.
48701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48702
48703 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48704
48705 [BZ #14283]
48706 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48707 by 7 not 8 to examine high bit of fractional part.
48708
48709 [BZ #14042]
48710 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48711 for call to __mcount_internal.
48712 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48713 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48714 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48715
48716 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48717
48718 [BZ #14154]
48719 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48720 approximation for values within 0x1p-13f of an odd multiple of
48721 pi/4.
48722 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48723 exception. Add more tests.
48724 * sysdeps/i386/fpu/libm-test-ulps: Update.
48725
48726 [BZ #6778]
48727 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48728 inputs and return -1 for them. Do not check for +Inf in case not
48729 reachable for +Inf.
48730 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48731 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48732 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48733 and return -1 for them. Do not check for +Inf in case not
48734 reachable for +Inf.
48735 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48736 define.
48737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48738 and return -1 for them. Do not check for +Inf in case not
48739 reachable for +Inf.
48740 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48741 spurious underflow.
48742 * sysdeps/i386/fpu/libm-test-ulps: Update.
48743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48744
48745 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48746
48747 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48748
48749 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48750
48751 [BZ #14157]
48752 [BZ #14331]
48753 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48754 could result in spurious underflow. Scale down values above
48755 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48756 * math/s_csqrtf.c (__csqrtf): Likewise.
48757 * math/s_csqrtl.c (__csqrtl): Likewise.
48758 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48759 spurious underflow.
48760 * sysdeps/i386/fpu/libm-test-ulps: Update.
48761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48762
48763 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48764
48765 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48766 xopen-msg.sed.
48767 * catgets/xopen-msg.awk: New file.
48768 * catgets/xopen-msg.sed: Removed.
48769
48770 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48771 po2text.sed.
48772 * intl/po2test.awk: New file.
48773 * intl/po2test.sed: Removed.
48774
48775 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48776
48777 [BZ #14328]
48778 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48779 or multiply small sinh result by itself.
48780 * math/s_ctanf.c (__ctanf): Likewise.
48781 * math/s_ctanh.c (__ctanh): Likewise.
48782 * math/s_ctanhf.c (__ctanhf): Likewise.
48783 * math/s_ctanhl.c (__ctanhl): Likewise.
48784 * math/s_ctanl.c (__ctanl): Likewise.
48785 * math/libm-test.inc (ctan_test_tonearest): New function.
48786 (ctan_test_towardzero): Likewise.
48787 (ctan_test_downward): Likewise.
48788 (ctan_test_upward): Likewise.
48789 (ctanh_test_tonearest): Likewise.
48790 (ctanh_test_towardzero): Likewise.
48791 (ctanh_test_downward): Likewise.
48792 (ctanh_test_upward): Likewise.
48793 (main): Call these new functions.
48794 * sysdeps/i386/fpu/libm-test-ulps: Update.
48795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48796
48797 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48798
48799 * .gitignore: Delete /ports entry.
48800
48801 2012-07-03 Andreas Jaeger <aj@suse.de>
48802
48803 * po/bg.po: Update from translation team.
48804 * po/cs.po: Likewise.
48805 * po/de.po: Likewise.
48806 * po/hr.po: Likewise.
48807 * po/nl.pl: Likewise.
48808 * po/pl.po: Likewise.
48809 * po/vi.po: Likewise.
48810
48811 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48812
48813 * Makeconfig [!+link] (+link-before-libc): New variable.
48814 [!+link] (+link-after-libc): Likewise.
48815 [!+link] (+link-tests): Likewise.
48816 [!+link] (+link): Define in terms of $(+link-before-libc) and
48817 $(+link-after-libc).
48818 [!+link-static] (+link-static-before-libc): New variable.
48819 [!+link-static] (+link-static-after-libc): Likewise.
48820 [!+link-static] (+link-static-tests): Likewise.
48821 [!+link-static] (+link-static): Define in terms of
48822 $(+link-static-before-libc) and $(+link-static-after-libc).
48823 [build-shared] (link-libc-before-gnulib): New variable.
48824 [build-shared] (link-libc-tests): Likewise.
48825 [build-shared] (link-libc): Define in terms of
48826 $(link-libc-before-gnulib).
48827 [!build-shared] (link-libc-tests): New variable.
48828 (link-libc-static-tests): New variable.
48829 [!gnulib] (gnulib-arch): New variable.
48830 [!gnulib] (gnulib-tests): Likewise.
48831 [!gnulib] (static-gnulib-arch): Likewise.
48832 [!gnulib] (static-gnulib-tests): Likewise.
48833 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48834 Define with "=" instead of ":=".
48835 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48836 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48837 * Rules (binaries-all-notests): New variable.
48838 (binaries-all-tests): Likewise.
48839 (binaries-static-notests): Likewise.
48840 (binaries-static-tests): Likewise.
48841 (binaries-all): Define using $(binaries-all-notests) and
48842 $(binaries-all-tests).
48843 (binaries-static): Define using $(binaries-static-notests) and
48844 $(binaries-static-tests).
48845 (binaries-shared-tests): New variable.
48846 (binaries-shared-notests): Likewise.
48847 (binaries-shared): Remove variable.
48848 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48849 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48850 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48851 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48852 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48853 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48854 * elf/Makefile (sln-modules): New variable.
48855 (extra-objs): Add $(sln-modules:=.o).
48856 (ldconfig-modules): Add static-stubs.
48857 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48858 * elf/static-stubs.c: New file.
48859
48860 [BZ #14283]
48861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48862 by 7 not 8 to examine high bit of fractional part. Use volatile
48863 variables when splitting into final array of floats if
48864 __FLT_EVAL_METHOD__ != 0.
48865 * math/libm-test.inc (cos_test): Add another test.
48866 (sin_test): Likewise.
48867 * sysdeps/i386/fpu/libm-test-ulps: Update.
48868
48869 [BZ #14273]
48870 * math/libm-test.inc (cosh_test): Add more tests.
48871
48872 * version.h (RELEASE): Set to "development".
48873 (VERSION): Set to "2.16.90".
48874
48875 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48876
48877 * NEWS: Update copyright. Remove last-updated date.
48878 Mention math library bug fixes and timezone data changes.
48879 * README: Mention GNU/Hurd, x32, and HPPA support status.
48880
48881 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48882
48883 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48884
48885 2012-06-27 Andreas Jaeger <aj@suse.de>
48886
48887 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48888
48889 2012-06-25 Andreas Jaeger <aj@suse.de>
48890
48891 * sysdeps/s390/fpu/libm-test-ulps: Update.
48892
48893 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48894 Thomas Schwinge <thomas@codesourcery.com>
48895
48896 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48897 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48899 fanotify_mark.
48900
48901 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48902
48903 * sysdeps/mach/start.c: Remove file.
48904 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48905 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48906 * sysdeps/sh/init-first.c: Likewise.
48907
48908 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48909 registers for frame unwinding purposes, add CFI directives.
48910 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48912 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48913 Likewise.
48914
48915 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48916 __fortify_fail returning.
48917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48918
48919 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48920 sysdeps/sh/____longjmp_chk.S.
48921 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48922 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48923 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48924 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48925
48926 * sysdeps/sh/abort-instr.h: New file.
48927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48928 process in case exit returns.
48929
48930 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48931 initialize the GOT register before use.
48932
48933 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48934 calculation of ARGC > 4.
48935
48936 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48937 meaningful names to some local labels.
48938
48939 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48940 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48941
48942 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48943 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48944 (__arch_compare_and_exchange_val_16_acq): Likewise.
48945 (__arch_compare_and_exchange_val_32_acq): Likewise.
48946 (atomic_exchange_and_add): Fix gUSA sequence.
48947 (atomic_add): Likewise.
48948 (atomic_add_negative): Likewise.
48949 (atomic_add_zero): Likewise.
48950 (atomic_bit_test_set): Likewise.
48951
48952 2012-06-22 Andreas Schwab <schwab@redhat.com>
48953
48954 [BZ #13579]
48955 * include/link.h (struct link_map): Add l_free_initfini.
48956 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48957 l_initfini.
48958 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48959 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48960 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48961 set.
48962
48963 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48964
48965 * configure.in: Use AC_LANG_SOURCE.
48966 * configure: Regenerate.
48967
48968 2012-06-22 Roland McGrath <roland@hack.frob.com>
48969
48970 * configure.in (libc_cv_localstatedir): New substituted variable.
48971 * configure: Regenerated.
48972 * config.make.in (localstatedir): New variable, substituted from
48973 libc_cv_localstatedir.
48974 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48975 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48976 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48977 * sysdeps/gnu/configure: Regenerated.
48978
48979 2012-06-21 Jeff Law <law@redhat.com>
48980
48981 [BZ #14277]
48982 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48983 free. Simplify list management for _LIBC case.
48984
48985 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48986
48987 [BZ #14273]
48988 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48989 Clear sign bit of 64-bit integer value before comparing against
48990 overflow value.
48991
48992 * sysdeps/mach/configure: Regenerated.
48993
48994 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48995
48996 [BZ #14278]
48997 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48998
48999 2012-06-21 Jeff Law <law@redhat.com>
49000
49001 [BZ #13882]
49002 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49003 uint16_t for elements in the "seen" array to avoid char overflows.
49004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49005 * elf/dl-open.c (dl_open_worker): Likewise.
49006
49007 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49008
49009 * scripts/list-sources.sh: Scan PORTS for translations.
49010 * po/libc.pot: Regenerated.
49011
49012 2012-06-21 Andreas Jaeger <aj@suse.de>
49013
49014 [BZ #12194]
49015 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49016 warning.
49017 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49018 * bits/byteswap-16.h (__bswap_16): Likewise.
49019 * bits/byteswap.h (__bswap_constant_16): Likewise.
49020
49021 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49022
49023 [BZ #14117]
49024 * sysdeps/i386/fpu_control.h: Removed.
49025 * sysdeps/x86_64/fpu_control.h: Moved to ...
49026 * sysdeps/x86/fpu_control.h: Here.
49027
49028 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49029 (_FPU_SETCW): Likewise.
49030
49031 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49032
49033 [BZ #14117]
49034 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49035 * sysdeps/x86/fpu/bits/mathinline.h: This.
49036 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49037
49038 [BZ #14050]
49039 [BZ #14117]
49040 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49041 functions if __x86_64__ is defined.
49042
49043 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49044
49045 * string/endian.h: Add !__ASSEMBLER__ condition for including
49046 conversion interfaces.
49047
49048 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49049
49050 [BZ #14241]
49051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49052 of ABS(x) in calculating zero to negative powers other than odd
49053 integers.
49054 * math/libm-test.inc (pow_test): Add more tests.
49055
49056 2012-06-15 Andreas Jaeger <aj@suse.de>
49057
49058 * manual/contrib.texi (Contributors): Update entry of Liubov
49059 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49060 Machado Filho.
49061
49062 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49063
49064 * string/string.h: Add __wur to GNU version of strerror_r.
49065
49066 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49067
49068 [BZ #14229]
49069 * string/Makefile (tests): Add tst-strtok_r.
49070 * string/tst-strtok_r.c: New file.
49071 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49072 RAX_LP/RDX_LP on SAVE_PTR.
49073
49074 2012-06-14 Roland McGrath <roland@hack.frob.com>
49075
49076 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49077
49078 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49079
49080 * libm_test.inc (csqrt_test): Allow more spurious underflow
49081 exceptions.
49082 (j0_test): Likewise.
49083 (j1_test): Likewise.
49084 (y0_test): Likewise.
49085 (y1_test): Likewise.
49086
49087 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49088
49089 * po/Makefile (libc.pot): Use UTF-8 charset.
49090
49091 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49092
49093 [BZ #14210]
49094 Suppress sign-conversion warning from FD_SET.
49095 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49096 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49097 not unsigned long int.
49098 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49099
49100 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49101
49102 [BZ #14050]
49103 [BZ #14117]
49104 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49105 __extern_always_inline instead of __extern_inline.
49106 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49107 (__signbit): Likewise.
49108 (__signbitl): Support C++ namespace.
49109 (lrintf): New inline function.
49110 (lrint): Likewise.
49111 (llrintf): Likewise.
49112 (llrint): Likewise.
49113 (fmaxf): Likewise.
49114 (fmax): Likewise.
49115 (fminf): Likewise.
49116 (fmin): Likewise.
49117 (rint): Likewise.
49118 (rintf): Likewise.
49119 (ceil): Likewise.
49120 (ceilf): Likewise.
49121 (floor): Likewise.
49122 (floorf): Likewise.
49123 (nearbyint): Likewise.
49124 (nearbyintf): Likewise.
49125
49126 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49127
49128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49129 non-default versions.
49130
49131 2012-06-11 Roland McGrath <roland@hack.frob.com>
49132
49133 [BZ #14218]
49134 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49135
49136 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49137
49138 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49139 (FE_UPWARD, FE_DOWNWARD): Don't define.
49140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49142
49143 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49144 reading it.
49145 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49147
49148 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49149
49150 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49152 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49153 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49154
49155 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49156
49157 [BZ #14117]
49158 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49159 * sysdeps/i386/fpu/Implies: New file.
49160 * sysdeps/x86_64/fpu/Implies: Likewise.
49161 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49162 * sysdeps/x86/fpu/bits/fenv.h: This.
49163
49164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49165 __SSE_MATH__.
49166
49167 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49168
49169 [BZ #14134]
49170 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49171 character 0xffff that matches the last element of the
49172 conversion table.
49173
49174 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49175
49176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49177 fmodl commit.
49178
49179 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49180
49181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49182 values higher than 25.6283.
49183
49184 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49185
49186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49187 subnormal exponent extraction and add some __builtin_expect.
49188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49189 Fix for subnormal mantissa calculation.
49190
49191 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49192
49193 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49194 cpu2 is -1 and errno is not ENOSYS.
49195
49196 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49197
49198 [BZ #14117]
49199 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49200 * sysdeps/x86/bits/string.h: This.
49201 * sysdeps/x86_64/bits/string.h: Removed.
49202
49203 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49204 if not compiling for x86-64, but compiling for >= i486.
49205
49206 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49207 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49208
49209 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49210 New macro from Linux kernel 3.4.0.
49211 (FP_XSTATE_MAGIC2): Likewise.
49212 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49213 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49214 (struct _fpx_sw_bytes): New struct.
49215 (struct _xsave_hdr): Likewise.
49216 (struct _ymmh_state): Likewise.
49217 (struct _xstate): Likewise.
49218
49219 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49220 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49222 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49223 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49224 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49225
49226 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49227 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49228 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49229 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49230 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49231 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49232
49233 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49234
49235 [BZ #13743]
49236 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49237 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49238 (sysdep_headers): Include sys/platform/ppc.h.
49239 * sysdeps/powerpc/test-gettimebase.c: Test for
49240 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49241 * manual/Makefile (appendices): Include platform.texi.
49242 * manual/contrib.texi (Contributors): Update @node pointers.
49243 * manual/maint.texi (Maintenance): Likewise.
49244 (Platform): New node.
49245 * manual/platform.texi: New file. Document the new features.
49246
49247 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49248 Jakub Jelinek <jakub@redhat.com>
49249
49250 [BZ #14188]
49251 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49252 where __builtin_expect is unavailable.
49253
49254 2012-06-03 David S. Miller <davem@davemloft.net>
49255
49256 * stdlib/longlong.h: Updated from GCC.
49257
49258 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49259
49260 [BZ #14042]
49261 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49262 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49263 __mcount_internal.
49264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49265 (GLIBC_2.16): Likewise.
49266
49267 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49268
49269 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49270
49271 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49272
49273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49274 (default-abi): New variable.
49275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49276 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49277 variable.
49278 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49279 Likewise.
49280 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49281 Likewise.
49282 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49283 Likewise.
49284
49285 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49286 definition. Document in comment.
49287
49288 2012-06-01 David S. Miller <davem@davemloft.net>
49289
49290 * stdlib/longlong.h: Updated from GCC.
49291
49292 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49293
49294 [BZ #14117]
49295 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49296 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49297 sys/debugreg.h sys/io.h here.
49298 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49299 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49300 sys/io.h.
49301 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49302 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49303 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49304 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49305 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49306 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49307
49308 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49309 Define only if __x86_64__ is defined.
49310
49311 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49312
49313 [BZ #14048]
49314 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49315 Use int64_t for variable i.
49316 * math/libm-test.inc (fmod_test): Add more tests.
49317
49318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49319 z computation is not scheduled after fetestexcept.
49320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49321 Use math_force_eval instead of asm to ensure calculation scheduled
49322 before exception test.
49323 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49324 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49325
49326 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49327
49328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49329 computation is not scheduled after fetestexcept.
49330
49331 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49332
49333 [BZ #14117]
49334 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49335 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49336
49337 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49338
49339 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49340 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49341
49342 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49343
49344 [BZ #14117]
49345 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49346 <bits/wordsize.h>.
49347 (__WCHAR_MIN): Support __WORDSIZE == 64.
49348 (__WCHAR_MAX): Likewise.
49349
49350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49352
49353 [BZ #14183]
49354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49355 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49356
49357 [BZ #14117]
49358 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49359 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49360
49361 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49362 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49363
49364 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49365 Defined to 1 if __x86_64__ isn't defined.
49366 (_STAT_VER_LINUX_OLD): New.
49367 (st_atime): Remove duplicate.
49368 (st_mtime): Likewise.
49369 (st_ctime): Likewise.
49370
49371 2012-05-31 David S. Miller <davem@davemloft.net>
49372
49373 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49374 entries.
49375
49376 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49377
49378 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49379 gen-libm-test.pl.
49380
49381 [BZ #14132]
49382 * elf/dl-reloc.c: Include <_itoa.h>.
49383 (_dl_reloc_bad_type): Remove use of INTUSE.
49384 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49385 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49386 * stdio-common/psiginfo.c (psiginfo): Likewise.
49387 * stdio-common/psignal.c (psignal): Likewise.
49388 * string/strsignal.c (strsignal): Likewise.
49389 * include/signal.h (_sys_siglist): Declare hidden proto.
49390 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49391 INTVARDEF with libc_hidden_data_def.
49392 * stdio-common/itoa-udigits.c: Likewise.
49393 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49394 (_itoa_lower_digits_internal): Remove declaration.
49395 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49396 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49397 (_sys_sigabbrev_internal): Remove aliases.
49398 (_sys_siglist): Define hidden alias.
49399
49400 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49401
49402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49403 bits/sysctl.h.
49404
49405 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49406
49407 [BZ #14117]
49408 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49409 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49410
49411 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49412 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49413 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49414 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49416 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49417
49418 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49420 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49421
49422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49423 with __addr.
49424 (insw): Likewise.
49425 (insl): Likewise.
49426 (outsb): Likewise.
49427 (outsw): Likewise.
49428 (outsl): Likewise.
49429
49430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49432 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49433
49434 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49435 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49436 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49437 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49438 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49439 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49440
49441 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49442 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49443
49444 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49445 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49446
49447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49450
49451 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49452 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49453 to ...
49454 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49455
49456 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49457 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49458 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49459
49460 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49461 for x86-64.
49462 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49463
49464 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49465
49466 * math/math.h (M_El): Use two more decimal places.
49467 (M_LOG2El): Likewise.
49468 (M_LOG10El): Likewise.
49469 (M_LN2l): Likewise.
49470 (M_LN10l): Likewise.
49471 (M_PIl): Likewise.
49472 (M_PI_2l): Likewise.
49473 (M_PI_4l): Likewise.
49474 (M_1_PIl): Likewise.
49475 (M_2_PIl): Likewise.
49476 (M_2_SQRTPIl): Likewise.
49477 (M_SQRT2l): Likewise.
49478 (M_SQRT1_2l): Likewise.
49479
49480 2012-05-31 David S. Miller <davem@davemloft.net>
49481
49482 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49483 values between float registers.
49484 * sysdeps/sparc/sparc64/memset.S: Likewise.
49485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49486
49487 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49488
49489 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49490 -D_FORTIFY_SOURCE=1.
49491 (CPPFLAGS-tst-longjmp_chk.c): Define.
49492 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49493 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49494 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49495 CFLAGS-tst-wchar-h.c.
49496
49497 2012-05-31 Marek Polacek <polacek@redhat.com>
49498
49499 [BZ #14132]
49500 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49501 __endmntent_internal): Remove declaration.
49502 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49503 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49504 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49505
49506 2012-05-30 David S. Miller <davem@davemloft.net>
49507
49508 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49509 (___Q_simulate_exceptions): Use real FP ops rather than writing
49510 into the %fsr.
49511 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49512 Likewise.
49513
49514 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49515
49516 [BZ #14117]
49517 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49518 * sysdeps/x86/bits/xtitypes.h: This.
49519
49520 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49521 * sysdeps/x86/bits/wordsize.h: This.
49522
49523 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49524 * sysdeps/x86/bits/huge_vall.h: This.
49525
49526 * sysdeps/i386/bits/select.h: Removed.
49527 * sysdeps/x86_64/bits/select.h: Renamed to ...
49528 * sysdeps/x86/bits/select.h: This.
49529
49530 * sysdeps/i386/bits/setjmp.h: Removed.
49531 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49532 * sysdeps/x86/bits/setjmp.h: This.
49533
49534 * sysdeps/i386/bits/mathdef.h: Removed.
49535 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49536 * sysdeps/x86/bits/mathdef.h: This.
49537
49538 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49539
49540 [BZ #14132]
49541 * include/sys/socket.h (__connect_internal)
49542 (__libc_sa_len_internal): Remove declaration.
49543 (__connect, __libc_sa_len): Declare hidden_proto.
49544 (SA_LEN): Remove use of INTUSE.
49545 * socket/connect.c: Add libc_hidden_def.
49546 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49547 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49548 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49549 alias.
49550 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49551 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49552 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49553 of adding _internal alias.
49554
49555 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49556
49557 [BZ #14117]
49558 * sysdeps/i386/bits/link.h: Removed.
49559 * sysdeps/i386/bits/linkmap.h: Likewise.
49560 * sysdeps/x86_64/bits/link.h: Renamed to ...
49561 * sysdeps/x86/bits/link.h: This.
49562 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49563 * sysdeps/x86/bits/linkmap.h: This.
49564
49565 * sysdeps/i386/bits/endian.h: Removed.
49566 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49567 * sysdeps/x86/bits/endian.h: This.
49568
49569 * sysdeps/i386/bits/byteswap.h: Removed.
49570 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49571 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49572 * sysdeps/x86/bits/byteswap.h: This.
49573 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49574 * sysdeps/x86/bits/byteswap-16.h: This.
49575 * sysdeps/i386/Implies: Add x86.
49576 * sysdeps/x86_64/Implies: Likewise.
49577
49578 2012-05-30 David S. Miller <davem@davemloft.net>
49579
49580 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49581 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49582 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49583 (FP_TRAPPING_EXCEPTIONS): Define.
49584 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49585 (FP_TRAPPING_EXCEPTIONS): Define.
49586 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49587 subnormals only when inexact has been signalled or underflow
49588 exceptions are enabled.
49589 (_FP_PACK_CANONICAL): Likewise.
49590
49591 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49592
49593 [BZ #14183]
49594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49595 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49596
49597 2012-05-30 Richard Henderson <rth@twiddle.net>
49598
49599 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49600 with #ifndef NOT_IN_libc.
49601
49602 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49603 marked to avoid plt entry.
49604
49605 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49606
49607 [BZ #14112]
49608 * Makeconfig (default-abi): New macro.
49609 (abi-includes): Likewise.
49610 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49611 $(abi-$(default-abi)-lib-soname) for soname if defined.
49612 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49613 abi-variants.
49614 * Makefile (installed-stubs): Likewise.
49615 * include/stubs-biarch.h: Removed.
49616 * scripts/lib-names.awk: Only handle one library at a time.
49617 * scripts/soversions.awk: Remove WORDSIZE support.
49618 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49619 entries.
49620 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49621 Removed.
49622 (syscall-list-default-condition): Likewise.
49623 (syscall-list-default-condition): Likewise.
49624 (syscall-list-includes): Likewise.
49625 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49626 syscall-list-* with abi-*. Handle undefined abi-variants.
49627 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49628 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49629 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49630 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49631 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49632 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49633 Removed.
49634 (syscall-list-32-options): Likewise.
49635 (syscall-list-32-condition): Likewise.
49636 (syscall-list-64-options): Likewise.
49637 (syscall-list-64-condition): Likewise.
49638 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49639 macro.
49640 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49641 Renamed to ...
49642 (abi-*): This.
49643 (abi-64-ld-soname): New macro.
49644 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49645 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49646 Renamed to ...
49647 (abi-*): This.
49648 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49649 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49650
49651 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49652
49653 * sysdeps/unix/sysv/linux/kernel-features.h
49654 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49655 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49656 include <kernel-features.h>.
49657 [!__NR_ftruncate64]: Remove conditional code.
49658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49659 [__NR_ftruncate64]: Make code unconditional.
49660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49661 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49662 include <kernel-features.h>.
49663 [!__NR_ftruncate64]: Remove conditional code.
49664 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49665 [__NR_ftruncate64]: Make code unconditional.
49666 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49668 include <kernel-features.h>.
49669 [!__NR_ftruncate64]: Remove conditional code.
49670 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49671 [__NR_ftruncate64]: Make code unconditional.
49672 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49674 include <kernel-features.h>.
49675 [!__NR_ftruncate64]: Remove conditional code.
49676 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49677 [__NR_ftruncate64]: Make code unconditional.
49678 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49679
49680 * configure.in (libc_cv_fpie): Weaken to a compile test using
49681 LIBC_TRY_CC_OPTION.
49682 * configure: Regenerated.
49683
49684 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49685
49686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49690 Refreshed.
49691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49697 Refreshed.
49698
49699 2012-05-27 David S. Miller <davem@davemloft.net>
49700
49701 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49702 (___Q_zero): New.
49703 (__Q_simulate_exceptions): Return void. Change to simulate
49704 exceptions by writing into the %fsr.
49705 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49706 (__Qp_handle_exceptions): Likewise.
49707 (numbers): Delete.
49708 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49709 __Qp_handle_exceptions.
49710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49711 __Qp_handle_exceptions.
49712 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49713 as unused and give dummy FP_RND_NEAREST initializer.
49714 (FP_INHIBIT_RESULTS): Define.
49715 (___Q_simulate_exceptions): Update declaration.
49716 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49717 formatting.
49718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49719 as unused and give dummy FP_RND_NEAREST initializer.
49720 (__Qp_handle_exceptions): Update declaration.
49721 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49722 formatting.
49723
49724 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49725
49726 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49727 the temporary FPU control word.
49728 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49729 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49731 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49732 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49733 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49734 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49736 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49737 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49739
49740 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49741
49742 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49743 fields.
49744
49745 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49746
49747 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49748 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49749 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49750 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49751 Likewise.
49752 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49753 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49754 Likewise.
49755
49756 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49757
49758 * po/h.po: Update from translation team.
49759
49760 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49761
49762 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49763
49764 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49765 handling of denormals.
49766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49767 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49768 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49769 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49773 Likewise.
49774
49775 2012-05-26 Marek Polacek <polacek@redhat.com>
49776
49777 [BZ #14152]
49778 * math/libm-test.inc (fma_test): Don't always expect underflow
49779 exception.
49780
49781 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49782
49783 [BZ #12416]
49784 * elf/tst-execstack.c: Include stackinfo.h.
49785 (do_test): Adjust test case to ensure that pthread_getattr_np
49786 behaviour remains the same after marking stack executable.
49787
49788 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49789
49790 * sysdeps/unix/sysv/linux/kernel-features.h
49791 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49792 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49793 kernel-features.h.
49794 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49795 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49796 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49797 kernel-features.h.
49798 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49799 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49800
49801 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49802
49803 * configure.in: Define the default includes to being none.
49804 * configure: Regenerated.
49805
49806 2012-05-25 Roland McGrath <roland@hack.frob.com>
49807
49808 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49809 * sysdeps/x86_64/setjmp.S: Likewise.
49810 * sysdeps/i386/bsd-setjmp.S: Likewise.
49811 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49812 * sysdeps/i386/setjmp.S: Likewise.
49813 * sysdeps/i386/__longjmp.S: Likewise.
49814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49815 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49816
49817 * include/stap-probe.h: New file.
49818 * configure.in: Handle --enable-systemtap.
49819 * configure: Regenerated.
49820 * config.h.in (USE_STAP_PROBE): New #undef.
49821 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49822 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49823 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49824
49825 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49826
49827 [BZ #13717]
49828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49829 to 2.4.0 where earlier.
49830 * sysdeps/unix/sysv/linux/configure: Regenerated.
49831 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49832 <kernel-features.h>.
49833 [__ASSUME_32BITUIDS]: Make code unconditional.
49834 [!__ASSUME_32BITUIDS]: Remove conditional code.
49835 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49836 <kernel-features.h>.
49837 [__ASSUME_32BITUIDS]: Make code unconditional.
49838 [!__ASSUME_32BITUIDS]: Remove conditional code.
49839 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49840 [__ASSUME_32BITUIDS]: Make code unconditional.
49841 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49842 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49843 <kernel-features.h>.
49844 [__ASSUME_32BITUIDS]: Make code unconditional.
49845 [!__ASSUME_32BITUIDS]: Remove conditional code.
49846 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49847 <kernel-features.h>.
49848 [__ASSUME_32BITUIDS]: Make code unconditional.
49849 [!__ASSUME_32BITUIDS]: Remove conditional code.
49850 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49851 <kernel-features.h>.
49852 [__ASSUME_32BITUIDS]: Make code unconditional.
49853 [!__ASSUME_32BITUIDS]: Remove conditional code.
49854 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49855 <kernel-features.h>.
49856 [__ASSUME_32BITUIDS]: Make code unconditional.
49857 [!__ASSUME_32BITUIDS]: Remove conditional code.
49858 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49859 <kernel-features.h>.
49860 [__ASSUME_32BITUIDS]: Make code unconditional.
49861 [!__ASSUME_32BITUIDS]: Remove conditional code.
49862 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49863 <kernel-features.h>.
49864 [__ASSUME_32BITUIDS]: Make code unconditional.
49865 [!__ASSUME_32BITUIDS]: Remove conditional code.
49866 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49867 <kernel-features.h>.
49868 [__ASSUME_32BITUIDS]: Make code unconditional.
49869 [!__ASSUME_32BITUIDS]: Remove conditional code.
49870 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49871 <kernel-features.h>.
49872 [__ASSUME_32BITUIDS]: Make code unconditional.
49873 [!__ASSUME_32BITUIDS]: Remove conditional code.
49874 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49875 <kernel-features.h>.
49876 [__ASSUME_32BITUIDS]: Make code unconditional.
49877 [!__ASSUME_32BITUIDS]: Remove conditional code.
49878 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49879 <kernel-features.h>.
49880 [__ASSUME_32BITUIDS]: Make code unconditional.
49881 [!__ASSUME_32BITUIDS]: Remove conditional code.
49882 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49883 <kernel-features.h>.
49884 [__NR_setresgid] (__setresgid): Do not declare.
49885 [__ASSUME_32BITUIDS]: Make code unconditional.
49886 [!__ASSUME_32BITUIDS]: Remove conditional code.
49887 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49888 <kernel-features.h>.
49889 [__NR_setresuid] (__setresuid): Do not declare.
49890 [__ASSUME_32BITUIDS]: Make code unconditional.
49891 [!__ASSUME_32BITUIDS]: Remove conditional code.
49892 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49893 <kernel-features.h>.
49894 [__ASSUME_32BITUIDS]: Make code unconditional.
49895 [!__ASSUME_32BITUIDS]: Remove conditional code.
49896 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49897 <kernel-features.h>.
49898 [__ASSUME_32BITUIDS]: Make code unconditional.
49899 [!__ASSUME_32BITUIDS]: Remove conditional code.
49900 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49901 <kernel-features.h>.
49902 [__ASSUME_32BITUIDS]: Make code unconditional.
49903 [!__ASSUME_32BITUIDS]: Remove conditional code.
49904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49905 <kernel-features.h>.
49906 [__ASSUME_32BITUIDS]: Make code unconditional.
49907 [!__ASSUME_32BITUIDS]: Remove conditional code.
49908 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49909 <kernel-features.h>.
49910 [__ASSUME_32BITUIDS]: Make code unconditional.
49911 [!__ASSUME_32BITUIDS]: Remove conditional code.
49912 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49913 <kernel-features.h>.
49914 [__ASSUME_32BITUIDS]: Make code unconditional.
49915 [!__ASSUME_32BITUIDS]: Remove conditional code.
49916 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49917 <kernel-features.h>.
49918 [__ASSUME_32BITUIDS]: Make code unconditional.
49919 [!__ASSUME_32BITUIDS]: Remove conditional code.
49920 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49921 <kernel-features.h>.
49922 [__ASSUME_32BITUIDS]: Make code unconditional.
49923 [!__ASSUME_32BITUIDS]: Remove conditional code.
49924 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49925 <kernel-features.h>.
49926 [__ASSUME_32BITUIDS]: Make code unconditional.
49927 [!__ASSUME_32BITUIDS]: Remove conditional code.
49928 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49929 <kernel-features.h>.
49930 [__ASSUME_32BITUIDS]: Make code unconditional.
49931 [!__ASSUME_32BITUIDS]: Remove conditional code.
49932 * sysdeps/unix/sysv/linux/kernel-features.h
49933 (__ASSUME_SETRESUID_SYSCALL): Remove.
49934 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49935 (__ASSUME_32BITUIDS): Likewise.
49936 (__ASSUME_LDT_WORKS): Likewise.
49937 (__ASSUME_O_DIRECTORY): Likewise.
49938 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49939 architecture but not kernel version.
49940 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49941 (__ASSUME_MMAP2_SYSCALL): Likewise.
49942 (__ASSUME_STAT64_SYSCALL): Likewise.
49943 (__ASSUME_IPC64): Likewise.
49944 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49945 <kernel-features.h>.
49946 [__ASSUME_32BITUIDS]: Make code unconditional.
49947 [!__ASSUME_32BITUIDS]: Remove conditional code.
49948 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49949 <kernel-features.h>.
49950 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49951 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49952 132096]: Remove conditional code.
49953 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49954 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49955 <kernel-features.h>.
49956 [__ASSUME_32BITUIDS]: Make code unconditional.
49957 [!__ASSUME_32BITUIDS]: Remove conditional code.
49958 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49959 <kernel-features.h>.
49960 [__ASSUME_32BITUIDS]: Make code unconditional.
49961 [!__ASSUME_32BITUIDS]: Remove conditional code.
49962 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49963 <kernel-features.h>.
49964 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49965 unconditional.
49966 (__setresgid): Do not declare.
49967 [__ASSUME_32BITUIDS]: Make code unconditional.
49968 [!__ASSUME_32BITUIDS]: Remove conditional code.
49969 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49970 <kernel-features.h>.
49971 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49972 unconditional.
49973 (__setresuid): Do not declare.
49974 [__ASSUME_32BITUIDS]: Make code unconditional.
49975 [!__ASSUME_32BITUIDS]: Remove conditional code.
49976 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49977 <kernel-features.h>.
49978 [__ASSUME_32BITUIDS]: Make code unconditional.
49979 [!__ASSUME_32BITUIDS]: Remove conditional code.
49980 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49981 <kernel-features.h>.
49982 [__ASSUME_32BITUIDS]: Make code unconditional.
49983 [!__ASSUME_32BITUIDS]: Remove conditional code.
49984
49985 2012-05-25 Richard Henderson <rth@twiddle.net>
49986
49987 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49988 dl_hwcap to ifunc resolver.
49989 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49990 elf_ifunc_invoke.
49991 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49992 dl_hwcap to ifunc resolver.
49993 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49994
49995 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49996
49997 [BZ #14153]
49998 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49999 for |x| <= 2**-26, not 2**-57.
50000 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50001 exception.
50002
50003 2012-05-24 Jeff Law <law@redhat.com>
50004
50005 * stdio-common/Makefile (tests): Add bug25.
50006 * stdio-common/bug25.c: New test.
50007
50008 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50009
50010 [BZ #13576]
50011 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50012 multiple of MALLOC_ALIGNMENT in size.
50013 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50014
50015 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50016
50017 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50018 Require >= 256.
50019 (FILENAME_MAX): Use macro-int-constant.
50020 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50021 (_IOFBF): Use macro-int-constant.
50022 (_IOLBF): Likewise.
50023 (_IONBF): Likewise.
50024 (SEEK_CUR): Likewise.
50025 (SEEK_END): Likewise.
50026 (SEEK_SET): Likewise.
50027 (TMP_MAX): Likewise.
50028 (EOF): Use macro-int-constant. Require < 0.
50029 (NULL): Use macro-constant. Require == 0.
50030 (stdin): Require type to be FILE *.
50031 (stdout): Likewise.
50032 (stderr): Likewise.
50033 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50034 macro-int-constant.
50035 (EXIT_SUCCESS): Likewise.
50036 (NULL): Use macro-constant. Require == 0.
50037 (RAND_MAX): Use macro-int-constant.
50038 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50039 [C99-based standards] (strtof): Require function.
50040 [C99-based standards] (strtold): Likewise.
50041 [C99-based standards] (strtoll): Likewise.
50042 [C99-based standards] (strtoull): Likewise.
50043 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50044 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50045 [ISO || ISO99 || ISO11] (math.h): Likewise.
50046 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50047 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50049
50050 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50051
50052 [BZ #14132]
50053 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50054 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50055 * intl/dgettext.c (DCGETTEXT): Likewise.
50056 * intl/gettext.c (DCGETTEXT): Likewise.
50057 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50058 * posix/regex_internal.h (gettext): Likewise.
50059 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50060 Remove declaration.
50061 * include/argz.h (__argz_count_internal)
50062 (__argz_stringify_internal): Remove declaration.
50063 (__argz_count, __argz_stringify): Declare hidden proto.
50064 * intl/dcgettext.c: Remove use of INTDEF.
50065 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50066 * string/argz-stringify.c: Likewise.
50067 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50068 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50069 Declare hidden proto.
50070 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50071 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50072 Declare hidden proto.
50073 * include/stdio.h (__asprintf_internal): Don't declare.
50074 (__asprintf): Don't define as macro. Declare hidden proto.
50075 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50076 (__fsetlocking): Declare hidden proto.
50077 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50078 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50079 hidden proto.
50080 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50081 (_IO_setlinebuf): Remove use of INTUSE.
50082 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50083 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50084 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50085 Remove declaration.
50086 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50087 (_IO_do_flush): Remove use of INTUSE.
50088 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50089 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50090 (_IO_adjust_column, _IO_least_wmarker)
50091 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50092 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50093 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50094 (_IO_default_doallocate, _IO_wdefault_doallocate)
50095 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50096 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50097 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50098 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50099 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50100 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50101 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50102 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50103 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50104 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50105 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50106 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50107 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50108 proto.
50109 (_IO_flush_all_internal, _IO_adjust_column_internal)
50110 (_IO_default_uflow_internal, _IO_default_finish_internal)
50111 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50112 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50113 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50114 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50115 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50116 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50117 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50118 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50119 (_IO_file_close_internal, _IO_file_close_it_internal)
50120 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50121 (_IO_file_init_internal, _IO_file_attach_internal)
50122 (_IO_file_fopen_internal, _IO_file_read_internal)
50123 (_IO_file_sync_internal, _IO_file_seek_internal)
50124 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50125 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50126 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50127 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50128 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50129 (_IO_list_all_internal, _IO_link_in_internal)
50130 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50131 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50132 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50133 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50134 (_IO_do_write_internal, _IO_padn_internal)
50135 (_IO_getline_info_internal, _IO_getline_internal)
50136 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50137 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50138 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50139 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50140 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50141 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50142 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50143 with libc_hidden_ver, remove use of INTUSE.
50144 * libio/genops.c: Likewise.
50145 * libio/freopen.c: Likewise.
50146 * libio/freopen64.c: Likewise.
50147 * libio/iofclose.c: Likewise.
50148 * libio/iofdopen.c: Likewise.
50149 * libio/iofflush.c: Likewise.
50150 * libio/iofflush_u.c: Likewise.
50151 * libio/iofgets.c: Likewise.
50152 * libio/iofgets_u.c: Likewise.
50153 * libio/iofopen.c: Likewise.
50154 * libio/iofopncook.c: Likewise.
50155 * libio/iofread.c: Likewise.
50156 * libio/iofread_u.c: Likewise.
50157 * libio/ioftell.c: Likewise.
50158 * libio/iofwrite.c: Likewise.
50159 * libio/iogetline.c: Likewise.
50160 * libio/iogets.c: Likewise.
50161 * libio/iogetwline.c: Likewise.
50162 * libio/iopadn.c: Likewise.
50163 * libio/iopopen.c: Likewise.
50164 * libio/ioseekoff.c: Likewise.
50165 * libio/ioseekpos.c: Likewise.
50166 * libio/iosetbuffer.c: Likewise.
50167 * libio/iosetvbuf.c: Likewise.
50168 * libio/ioungetc.c: Likewise.
50169 * libio/ioungetwc.c: Likewise.
50170 * libio/iovdprintf.c: Likewise.
50171 * libio/iovsprintf.c: Likewise.
50172 * libio/iovsscanf.c: Likewise.
50173 * libio/memstream.c: Likewise.
50174 * libio/obprintf.c: Likewise.
50175 * libio/oldfileops.c: Likewise.
50176 * libio/oldiofclose.c: Likewise.
50177 * libio/oldiofdopen.c: Likewise.
50178 * libio/oldiofopen.c: Likewise.
50179 * libio/oldiopopen.c: Likewise.
50180 * libio/oldstdfiles.c: Likewise.
50181 * libio/putc.c: Likewise.
50182 * libio/setbuf.c: Likewise.
50183 * libio/setlinebuf.c: Likewise.
50184 * libio/stdfiles.c: Likewise.
50185 * libio/strops.c: Likewise.
50186 * libio/vasprintf.c: Likewise.
50187 * libio/vscanf.c: Likewise.
50188 * libio/vsnprintf.c: Likewise.
50189 * libio/vswprintf.c: Likewise.
50190 * libio/wfiledoalloc.c: Likewise.
50191 * libio/wfileops.c: Likewise.
50192 * libio/wgenops.c: Likewise.
50193 * libio/wmemstream.c: Likewise.
50194 * libio/wstrops.c: Likewise.
50195 * libio/__fpurge.c: Likewise.
50196 * libio/__fsetlocking.c: Likewise.
50197 * assert/assert.c: Likewise.
50198 * debug/fgets_chk.c: Likewise.
50199 * debug/fgets_u_chk.c: Likewise.
50200 * debug/fread_chk.c: Likewise.
50201 * debug/fread_u_chk.c: Likewise.
50202 * debug/gets_chk.c: Likewise.
50203 * debug/obprintf_chk.c: Likewise.
50204 * debug/vasprintf_chk.c: Likewise.
50205 * debug/vdprintf_chk.c: Likewise.
50206 * debug/vsnprintf_chk.c: Likewise.
50207 * debug/vsprintf_chk.c: Likewise.
50208 * malloc/mtrace.c: Likewise.
50209 * misc/error.c: Likewise.
50210 * misc/syslog.c: Likewise.
50211 * stdio-common/asprintf.c: Likewise.
50212 * stdio-common/fxprintf.c: Likewise.
50213 * stdio-common/getw.c: Likewise.
50214 * stdio-common/isoc99_fscanf.c: Likewise.
50215 * stdio-common/isoc99_scanf.c: Likewise.
50216 * stdio-common/isoc99_vfscanf.c: Likewise.
50217 * stdio-common/isoc99_vscanf.c: Likewise.
50218 * stdio-common/isoc99_vsscanf.c: Likewise.
50219 * stdio-common/printf-prs.c: Likewise.
50220 * stdio-common/printf_fp.c: Likewise.
50221 * stdio-common/printf_fphex.c: Likewise.
50222 * stdio-common/printf_size.c: Likewise.
50223 * stdio-common/putw.c: Likewise.
50224 * stdio-common/scanf.c: Likewise.
50225 * stdio-common/sprintf.c: Likewise.
50226 * stdio-common/tmpfile.c: Likewise.
50227 * stdio-common/vfprintf.c: Likewise.
50228 * stdio-common/vfscanf.c: Likewise.
50229 * stdlib/strfmon_l.c: Likewise.
50230 * sunrpc/openchild.c: Likewise.
50231 * sunrpc/xdr_stdio.c: Likewise.
50232 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50233 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50234
50235 2012-05-24 Roland McGrath <roland@hack.frob.com>
50236
50237 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50238
50239 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50240 in the third column, to generate for the shared library an IFUNC
50241 that uses _dl_vdso_vsym.
50242 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50243 * Makeconfig (object-suffixes-noshared): New variable.
50244
50245 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50246 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50247 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50248 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50249
50250 [BZ #14132]
50251 * include/sys/time.h (__gettimeofday): Remove macro.
50252 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50253 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50254 Remove INTDEF.
50255 (__gettimeofday): Add libc_hidden_def.
50256 (gettimeofday): Add libc_hidden_weak.
50257 * sysdeps/mach/gettimeofday.c: Likewise.
50258 * sysdeps/posix/gettimeofday.c: Likewise.
50259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50260 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50262 (__gettimeofday_internal): Remove strong_alias.
50263 (__gettimeofday): Add libc_hidden_def.
50264 (gettimeofday): Add libc_hidden_weak.
50265 * sysdeps/unix/syscalls.list (gettimeofday):
50266 Remove __gettimeofday_internal alias.
50267
50268 2012-05-24 Daniel Jacobowitz <drow@false.org>
50269 H.J. Lu <hongjiu.lu@intel.com>
50270
50271 [BZ #12495]
50272 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50273 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50274 (largebin_index_32_big): New.
50275 (largebin_index): Use it for 16-byte alignment.
50276 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50277 correction with front_misalign.
50278
50279 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50280
50281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50283 Likewise.
50284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50285 Likewise.
50286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50287 Likewise.
50288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50289 Likewise.
50290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50291 Likewise.
50292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50293 Likewise.
50294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50295 Likewise.
50296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50297 Likewise.
50298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50299 Likewise.
50300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50301 Likewise.
50302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50303 Likewise.
50304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50305 Likewise.
50306
50307 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50308 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50309
50310 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50311
50312 [BZ #10846]
50313 [BZ #14036]
50314 * math/libm-test.inc (exp_test): Add test from bug 14036.
50315 (pow_test): Add test from bug 10846.
50316
50317 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50318 and other flags.
50319 (special_function): Do not include flags in test name.
50320 (parse_args): Likewise.
50321 * sysdeps/i386/fpu/libm-test-ulps: Update.
50322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50323 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50324 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50326
50327 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50328 exceptions.
50329 * math/libm-test.inc ("Philosophy"): Update comment about
50330 exception testing.
50331 (UNDERFLOW_EXCEPTION): New macro.
50332 (UNDERFLOW_EXCEPTION_OK): Likewise.
50333 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50334 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50335 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50336 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50337 (INVALID_EXCEPTION_OK): Update value.
50338 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50339 (OVERFLOW_EXCEPTION_OK): Likewise.
50340 (IGNORE_ZERO_INF_SIGN): Likewise.
50341 (test_exceptions): Handle underflow exceptions.
50342 (acos_test): Update for underflow exception expectations.
50343 (cexp_test): Likewise.
50344 (clog_test): Likewise.
50345 (clog10_test): Likewise.
50346 (csqrt_test): Likewise.
50347 (ctan_test): Likewise.
50348 (ctanh_test): Likewise.
50349 (exp_test): Likewise.
50350 (exp10_test): Likewise.
50351 (exp2_test): Likewise.
50352 (expm1_test): Likewise.
50353 (fma_test): Likewise.
50354 (j0_test): Likewise.
50355 (jn_test): Likewise.
50356 (nexttoward_test): Likewise.
50357 (pow_test): Likewise.
50358 (scalbn_test): Likewise.
50359 (scalbln_test): Likewise.
50360 (tan_test): Likewise.
50361 (y1_test): Likewise.
50362 * sysdeps/i386/fpu/libm-test-ulps: Update.
50363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50364
50365 2012-05-23 David S. Miller <davem@davemloft.net>
50366
50367 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50368 (__libc_sigaction): Remove unused local variables.
50369
50370 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50371
50372 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50373
50374 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50375
50376 mktime: avoid signed integer overflow
50377 * time/mktime.c (__mktime_internal): Do not mishandle the case
50378 where diff == INT_MIN.
50379
50380 mktime: simplify computation of average
50381 * time/mktime.c (ranged_convert): Use new time_t_avg function
50382 instead of rolling our own (probably-slower) code.
50383
50384 mktime: do not assume signed right shift propagates sign bit
50385 * time/mktime.c (isdst_differ): New static function.
50386 (__mktime_internal): No need to normalize tm_isdst now.
50387 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50388 tm_isdst values.
50389
50390 mktime: merge another wrapv change from gnulib
50391 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50392 from some compilers.
50393
50394 mktime: remove incorrect attempt at unusual arithmetics
50395 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50396 The code didn't really work on such machines anyway.
50397 (TYPE_MINIMUM): Assume two's complement.
50398 (twos_complement_arithmetic): Verify that long_int and time_t
50399 are two's complement (or unsigned, in the latter case).
50400
50401 mktime: check signed shifts on long_int and time_t, too
50402 * time/mktime.c (SHR): Check that shifts work as desired
50403 on the types long_int and time_t too, as SHR is used on
50404 such types.
50405
50406 mktime: do not assume 'long' is wide enough
50407 * time/mktime.c (verify): Move decl up.
50408 (long_int): New type.
50409 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50410 to remove assumption in the code that 'long' is wide enough to
50411 store year values. This assumption is not true on x32 and on
50412 some non-glibc platforms.
50413
50414 mktime: merge wrapv change from gnulib
50415 * time/mktime.c (WRAPV): New macro.
50416 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50417 (guess_time_tm, __mktime_internal): Do not assume that signed
50418 integer overflow wraps around; modern compilers generate code
50419 where this assumption is no longer valid.
50420
50421 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50422
50423 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50424 Replace "jmp L(pseudo_end)" with "ret".
50425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50426 Likewise.
50427
50428 2012-05-23 Andreas Jaeger <aj@suse.de>
50429
50430 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50431 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50432
50433 2012-05-23 Andreas Jaeger <aj@suse.de>
50434 Maximilian Attems <max@stro.at>
50435
50436 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50437 New macros.
50438
50439 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50440
50441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50442 code so that pseudo_end is just ret and the stack pointer is
50443 correct also for static library in error case.
50444
50445 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50446
50447 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50448 move to syscalls.list.
50449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50453
50454 * manual/install.texi (Running make install): Do not mention Linux
50455 kernel version for which pt_chown is not needed.
50456 (Linux): Do not mention problems with nscd with 2.0 kernels.
50457 * INSTALL: Regenerated.
50458
50459 2012-05-23 Andreas Jaeger <aj@suse.de>
50460
50461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50462 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50463 macro.
50464 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50466 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50468 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50470 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50474 * sysdeps/unix/sysv/linux/bits/in.h
50475 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50476
50477 2012-05-22 Roland McGrath <roland@hack.frob.com>
50478
50479 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50480 (PREPARE_VERSION): Just use assert instead, it will be elided
50481 under [NDEBUG] anyway.
50482
50483 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50484
50485 * sysdeps/unix/sysv/linux/Makefile: Include
50486 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50487 (sysdep_routines): Remove sysctl.
50488 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50489 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50490 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50491 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50492 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50493
50494 2012-05-22 Andreas Jaeger <aj@suse.de>
50495
50496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50497 that pseudo_end is just ret and the stack pointer is correct also
50498 for static library in error case.
50499
50500 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50501
50502 [BZ #14122]
50503 * nss/nsswitch.c (defconfig_entries): New variable.
50504 (__nss_database_lookup): Don't leak defconfig entries.
50505 (nss_parse_service_list): Don't leak on error paths.
50506 (free_database_entries): New function.
50507 (free_defconfig): New function.
50508 (free_mem): Move common code to free_database_entries.
50509
50510 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50511
50512 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50513 Add arch_prctl.
50514 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50515
50516 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50517 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50519 New macro.
50520 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50521 (INTERNAL_SYSCALL_TYPES): Likewise.
50522 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50523 (LOAD_REGS_TYPES_[1-6]): Likewise.
50524 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50525 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50526
50527 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50528
50529 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50530 copysignl for GLIBC_2_0.
50531 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50532 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50534 logbl for GLIBC_2_0.
50535 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50536 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50537
50538 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50539
50540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50542
50543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50544 Use "neg %eax".
50545
50546 * time/mktime.c: Update copyright years.
50547
50548 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50549
50550 mktime: merge comment-quoting-style change from gnulib
50551 * time/mktime.c: Quote 'like this' in comments.
50552 The GNU coding standards suggest that we no longer quote `like this',
50553 as "`" and "'" are typically rendered asymmetrically nowadays.
50554 The typical gnulib style is to quote 'like this' when quoting
50555 code, and "like this" when quoting English.
50556
50557 * time/mktime.c (compile-command): Add "-I.".
50558
50559 mktime: merge mktime-internal.h change from gnulib
50560 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50561
50562 mktime: merge time_r change from gnulib
50563 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50564
50565 mktime: merge DEBUG change from gnulib
50566 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50567 case system <time.h> has a #define.
50568
50569 mktime: merge <sys/types.h> change from gnulib
50570 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50571 since <time.t> is now guaranteed to define time_t.
50572
50573 mktime: merge HAVE_CONFIG_H change from gnulib
50574 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50575
50576 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50577
50578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50579 Use "neg %eax".
50580
50581 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50582 __rlim_t cast.
50583 (struct rusage): Use anonymous union to pad each field to
50584 __syscall_slong_t.
50585
50586 2012-05-21 David S. Miller <davem@davemloft.net>
50587
50588 * Makefules (o-iterator): Remove .s cases.
50589 (compile-command.s): Delete.
50590 (COMPILE.s): Delete.
50591 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50592
50593 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50594
50595 * configure.in (libc_cv_predef_stack_protector): Only consider
50596 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50597 * configure: Regenerated.
50598
50599 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50600
50601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50602 New macro. Use R*LP on int and pointer.
50603 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50604 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50605 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50606 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50607
50608 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50609 [__WORDSIZE_TIME64_COMPAT32] instead of
50610 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50611 (struct utmp): Likewise.
50612 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50613 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50614 Renamed to ...
50615 (__WORDSIZE_TIME64_COMPAT32): This.
50616 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50617 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50618 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50619 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50620 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50621 (__WORDSIZE_TIME64_COMPAT32): New macro.
50622
50623 2012-05-21 Andreas Jaeger <aj@suse.de>
50624
50625 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50626 only if [SHARED]. Add prototype for __wcschr_ia32.
50627
50628 2012-05-21 Roland McGrath <roland@hack.frob.com>
50629
50630 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50631 of %rbp unmolested in the jmp_buf while mangling the low bits.
50632 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50633 unmolested high bits of %rbp while demangling the low bits.
50634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50635
50636 2012-05-21 Andreas Jaeger <aj@suse.de>
50637
50638 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50639 * sunrpc/svc_simple.c: Use it for registerrpc.
50640 * sunrpc/xcrypt.c: Use it for passwd2des.
50641
50642 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50643
50644 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50645
50646 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50647 Don't define if [__SYSCALL_WORDSIZE != 32].
50648 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50649 New macro.
50650
50651 2012-05-21 Bruno Haible <bruno@clisp.org>
50652 Andreas Jaeger <aj@suse.de>
50653
50654 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50655 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50656 inptr and inend for must_buffer_ch.
50657 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50658 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50659 * stdio-common/Makefile (tests): Remove bug15.
50660 (bug15-ENV): Remove macro.
50661 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50662 anymore.
50663
50664 2012-05-19 Andreas Jaeger <aj@suse.de>
50665 Roland McGrath <roland@hack.frob.com>
50666
50667 * manual/contrib.texi: Completely rewritten. It contains now an
50668 alphabetical list of contributors and their contributions.
50669
50670 2012-05-21 Richard Henderson <rth@twiddle.net>
50671
50672 * misc/getauxval.c (__getauxval): Use unsigned long int.
50673 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50674 (getauxval): Use unsigned long int.
50675
50676 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50677
50678 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50679
50680 2012-05-21 Roland McGrath <roland@hack.frob.com>
50681
50682 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50683 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50684 __alignof__ (long double).
50685
50686 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50687
50688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50689
50690 2012-05-20 Richard Henderson <rth@twiddle.net>
50691
50692 * misc/getauxval.c: New file.
50693 * misc/sys/auxv.h: New file.
50694 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50695 (routines): Add getauxval.
50696 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50698 * elf/dl-sysdep.c (_dl_auxv): Remove.
50699 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50700 * elf/dl-support.c (_dl_auxv): New variable.
50701 (_dl_aux_init): Initialize it.
50702 * manual/startup.texi (Auxiliary Vector): New node.
50703 * sysdeps/generic/bits/hwcap.h: New file.
50704 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50705 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50706 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50707 * sysdeps/sparc/sysdep.h: ... here. Include it.
50708 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50711 Update.
50712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50720
50721 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50722
50723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50724
50725 2012-05-19 David S. Miller <davem@davemloft.net>
50726
50727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50728
50729 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50730
50731 [BZ #14123]
50732 * math/s_ccosh.c: Include <float.h>
50733 (__ccosh): Avoid internal overflow calculating sinh and cosh
50734 values before multiplying by sin and cos values.
50735 * math/s_ccoshf.c: Likewise.
50736 * math/s_ccoshl.c: Likewise.
50737 * math/s_csin.c: Likewise.
50738 * math/s_csinf.c: Likewise.
50739 * math/s_csinl.c: Likewise.
50740 * math/s_csinh.c: Likewise.
50741 * math/s_csinhf.c: Likewise.
50742 * math/s_csinhl.c: Likewise.
50743 * math/libm-test.inc (ccos_test): Add more tests.
50744 (ccosh_test): Likewise.
50745 (csin_test): Likewise.
50746 (csinh_test): Likewise.
50747 * sysdeps/i386/fpu/libm-test-ulps: Update.
50748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50749
50750 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50751
50752 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50753 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50754
50755 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50756
50757 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50758
50759 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50760 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50761 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50762 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50763 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50764 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50765 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50766 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50767 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50768 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50769 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50770 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50771 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50772 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50773 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50774 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50775 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50776 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50777 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50778 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50779 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50780 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50781 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50782 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50783 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50784 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50785 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50786 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50787 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50788 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50789 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50790
50791 2012-05-18 Andreas Jaeger <aj@suse.de>
50792
50793 * csu/.gitignore: Delete.
50794
50795 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50796
50797 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50798 (timex): Use __syscall_slong_t.
50799
50800 2012-05-18 Andreas Jaeger <aj@suse.de>
50801 Carlos O'Donell <carlos_odonell@mentor.com>
50802
50803 * manual/install.texi (Configuring and compiling): Update
50804 description about files modified in the source directory.
50805 * INSTALL: Regenerated.
50806
50807 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50808
50809 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50810 value. Use "or" to set return value to -1.
50811 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50812 negate return value.
50813
50814 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50815
50816 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50817 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50818 failure if the compiler has Graphite support disabled.
50819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50820 Likewise.
50821 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50822 (CFLAGS-memmove.c): Likewise.
50823 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50824 Likewise.
50825
50826 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50827
50828 * sysdeps/x86_64/x32/_itoa.h: New file.
50829
50830 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50831 getdents system call only if kernel and user dirents have the
50832 same d_ino and d_off.
50833
50834 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50835 LLONG_MAX != LONG_MAX.
50836 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50837 (_fitoa_word): Likewise.
50838
50839 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50840 years.
50841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50842 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50844
50845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50846 include <bits/wordsize.h>. Check __x86_64__ instead of
50847 __WORDSIZE.
50848 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50849 if __x86_64__ is defined. Use anonymous union on fpstate.
50850
50851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50852 anonymous union.
50853
50854 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50855
50856 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50857 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50858 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50859 Refer to _rtld_local_ro instead of _rtld_global_ro.
50860 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50861 Likewise.
50862 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50863 Likewise.
50864 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50865 Likewise.
50866 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50867 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50868 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50869
50870 [BZ #10882]
50871 * sysdeps/powerpc/powerpc32/dl-machine.c
50872 (__elf_machine_runtime_setup) [PROF]: Don't reference
50873 _dl_prof_resolve.
50874
50875 2012-05-18 Andreas Jaeger <aj@suse.de>
50876
50877 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50878 function only available for GCCs before 3.4 since GCC 3.4
50879 introduced a builtin.
50880 (lrint): Likewise.
50881 (llrintf): Likewise.
50882 (llrint): Likewise.
50883 (fmaxf): Likewise.
50884 (fmax): Likewise.
50885 (fminf): Likewise.
50886 (fmin): Likewise.
50887 (rint): Likewise.
50888 (rintf): Likewise.
50889 (nearbyint): Likewise.
50890 (nearbyintf): Likewise.
50891 (ceil): Likewise.
50892 (ceilf): Likewise.
50893 (floor): Likewise.
50894 (floorf): Likewise.
50895
50896 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50897
50898 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50899 on both fields and cast pointer to __syscall_ulong_t.
50900
50901 * bits/types.h (__fsword_t): New type.
50902 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50903 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50905 (__FSWORD_T_TYPE): Likewise.
50906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50907 (__FSWORD_T_TYPE): Likewise.
50908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50909 (__FSWORD_T_TYPE): Likewise.
50910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50911 (__FSWORD_T_TYPE): Likewise.
50912 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50913 __SWORD_TYPE with __fsword_t.
50914 (statfs64): Likewise.
50915
50916 2012-05-17 David S. Miller <davem@davemloft.net>
50917
50918 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50919
50920 2012-05-17 Andreas Jaeger <aj@suse.de>
50921
50922 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50923 warning.
50924
50925 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50926
50927 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50928
50929 2012-05-17 Andreas Jaeger <aj@suse.de>
50930
50931 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50932 when it is used.
50933
50934 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50935
50936 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50937
50938 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50939
50940 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50941 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50942
50943 2012-05-17 Andreas Jaeger <aj@suse.de>
50944 Carlos O'Donell <carlos_odonell@mentor.com>
50945
50946 [BZ #14059]
50947 * sysdeps/x86_64/multiarch/init-arch.h
50948 (bit_YMM_Usable): Rename to...
50949 (bit_AVX_Usable): ... this.
50950 (bit_FMA4_Usable): New macro.
50951 (bit_XMM_state): New macro.
50952 (bit_YMM_state): New macro.
50953 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50954 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50955 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50956 (CPUID_OSXSAVE): New macro.
50957 (CPUID_AVX): New macro.
50958 (CPUID_FMA4): New macro.
50959 (index_YMM_Usable): Rename to...
50960 (index_AVX_Usable): ... this.
50961 (HAS_AVX): Use HAS_ARCH_FEATURE.
50962 (HAS_FMA4): Likewise.
50963 (HAS_YMM_USABLE): Remove.
50964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50965 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50966 are present.
50967 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50968 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50969 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50970 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50971 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50972
50973 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50974
50975 * math/libm-test.c: Support platforms without multiple rounding modes.
50976 * math/bug-nextafter.c: Support platforms without FP exceptions.
50977 * math/bug-nexttoward.c: Likewise.
50978 * math/test-fenv.c: Likewise.
50979 * math/test-misc.c: Likewise.
50980 * stdlib/bug-getcontext.c: Likewise.
50981
50982 2012-05-17 Andreas Jaeger <aj@suse.de>
50983
50984 * manual/examples/search.c (critter_cmp): Change signature to
50985 avoid warnings.
50986 * manual/string.texi (Collation Functions): Likewise.
50987
50988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50989
50990 * bits/types.h: Fold copyright years.
50991 * bits/typesizes.h: Likewise.
50992 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50996 * time/time.h: Likewise.
50997
50998 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50999
51000 [BZ #208]
51001 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51002 in instead of returning them. Return void.
51003 (__libc_mallinfo): Accumulate over all arenas.
51004 (__malloc_stats): Adjust for change in int_mallinfo interface.
51005
51006 2012-05-16 Roland McGrath <roland@hack.frob.com>
51007
51008 [BZ #10375]
51009 * configure.in (NM): Add AC_CHECK_TOOL for it.
51010 (libc_extra_cflags): New substituted variable.
51011 Check for -fstack-protector being used implicitly.
51012 * configure: Regenerated.
51013 * config.make.in (config-extra-cflags): New variable,
51014 gets @libc_extra_cflags@.
51015 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51016
51017 [BZ #10375]
51018 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51019 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51020 * configure: Regenerated.
51021 * config.make.in (CPPUNDEFS): New substituted variable.
51022 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51023 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51024 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51025
51026 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51027
51028 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51029 (mq_attr): Use __syscall_slong_t.
51030
51031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51032
51033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51034 Check __x86_64__ instead of __WORDSIZE.
51035 (_STAT_VER_LINUX): Likewise.
51036 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51037 __syscall_ulong_t and __syscall_slong_t.
51038 (stat64): Likewise.
51039
51040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51041
51042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51043
51044 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51045
51046 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51047
51048 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51049
51050 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51051 __syscall_ulong_t.
51052
51053 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51054 include <bits/wordsize.h>. Check __x86_64__ instead of
51055 __WORDSIZE.
51056 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51057 defined.
51058 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51059
51060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51061 include <bits/wordsize.h>. Check __x86_64__ instead of
51062 __WORDSIZE.
51063 (user_regs_struct): Use "__extension__ unsigned long long"
51064 instead of "unsigned long" if __x86_64__ is defined.
51065 (user): Likewise. Pad after pointer field if __ILP32__ is
51066 defined.
51067
51068 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51069
51070 * configure.in (makeinfo): Require version 4.5 or later. Allow
51071 versions 5 to 9.
51072 * configure: Regenerated.
51073 * manual/install.texi (texinfo): Increase version requirement to
51074 4.5 or later.
51075 * INSTALL: Regenerated.
51076
51077 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51078
51079 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51080
51081 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51082
51083 * sysdeps/x86_64/x32/ffs.c: New file.
51084
51085 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51086 __syscall_ulong_t.
51087 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51088 defined. Use __syscall_ulong_t.
51089 (shminfo): Use __syscall_ulong_t.
51090 (shm_info): Likewise.
51091
51092 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51093 __syscall_ulong_t.
51094
51095 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51096 <bits/wordsize.h>.
51097 (msgqnum_t): Use __syscall_ulong_t.
51098 (msglen_t): Likewise.
51099 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51100 __syscall_ulong_t.
51101
51102 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51104
51105 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51106
51107 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51108 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51109
51110 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51111 __syscall_slong_t.
51112
51113 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51114 include <bits/wordsize.h>. Check __x86_64__ instead of
51115 __WORDSIZE.
51116
51117 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51118 "unsigned long long int" if __x86_64__ is defined.
51119 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51120
51121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51122 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51123 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51124
51125 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51126 <stdint.h>.
51127 (GET_PC): Cast to uintptr_t first.
51128 (GET_FRAME): Likewise.
51129 (GET_STACK): Likewise.
51130
51131 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51132 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51137 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51138 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51139 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51160
51161 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51162
51163 * Makerules (+depfiles): Also collect depfiles from .oS in
51164 $(extra-objs).
51165 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51166 .oS, $(libnldbl-routines)).
51167
51168 * Makerules (native-compile-mkdep-flags): Define.
51169 * sunrpc/Makefile (extra-objs): Add $(addprefix
51170 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51171 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51172 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51173 calling $(make-target-directory).
51174
51175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51176
51177 * bits/types.h (__snseconds_t): Removed.
51178 * time/time.h (struct timespec): Replace __snseconds_t with
51179 __syscall_slong_t.
51180 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51181 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51182 Likewise.
51183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51184 (__SNSECONDS_T_TYPE): Likewise.
51185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51186 (__SNSECONDS_T_TYPE): Likewise.
51187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51188 (__SNSECONDS_T_TYPE): Likewise.
51189
51190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51191
51192 * sysdeps/mach/hurd/bits/typesizes.h
51193 (__SYSCALL_SLONG_TYPE): New macro.
51194 (__SYSCALL_ULONG_TYPE): Likewise.
51195
51196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51197
51198 * bits/types.h (__syscall_slong_t): New type.
51199 (__syscall_ulong_t): Likewise.
51200
51201 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51202 (__SYSCALL_ULONG_TYPE): Likewise.
51203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51204 (__SYSCALL_SLONG_TYPE): Likewise.
51205 (__SYSCALL_ULONG_TYPE): Likewise.
51206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51207 (__SYSCALL_SLONG_TYPE): Likewise.
51208 (__SYSCALL_ULONG_TYPE): Likewise.
51209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51210 (__SYSCALL_SLONG_TYPE): Likewise.
51211 (__SYSCALL_ULONG_TYPE): Likewise.
51212
51213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51214
51215 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51216 Add sigaltstack-offsets.sym.
51217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51218 <sigaltstack-offsets.h>.
51219 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51220 longjmp_msg pointer.
51221 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51222 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51223 signal stack.
51224 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51225
51226 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51227
51228 * elf/stackguard-macros.h: Remove file.
51229 * sysdeps/generic/stackguard-macros.h: New file.
51230 * sysdeps/i386/stackguard-macros.h: Likewise.
51231 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51232 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51233 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51234 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51235 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51236 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51237 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51238 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51239 <elf/stackguard-macros.h>.
51240
51241 [BZ #14109]
51242 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51243 __aligned__ in attribute.
51244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51245 (gregset_t): Likewise.
51246
51247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51248
51249 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51250 * sysdeps/x86_64/64/Implies-after: Here. New file.
51251 * sysdeps/x86_64/x32/Implies-after: New file.
51252
51253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51254
51255 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51256 and access return value for _dl_profile_fixup. Use R10_LP to
51257 load frame size.
51258
51259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51260
51261 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51262
51263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51264
51265 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51266 * sysdeps/x86_64/x32/sysdep.h: New file.
51267
51268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51269
51270 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51271 * sysdeps/x86_64/setjmp.S: Likewise.
51272
51273 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51274
51275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51277 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51279 remove unused global constant.
51280
51281 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51282
51283 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51284 include of <not-cancel.h>.
51285
51286 2012-05-15 Roland McGrath <roland@hack.frob.com>
51287
51288 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51289
51290 2012-05-15 Jeff Law <law@redhat.com>
51291 Andreas Jaeger <aj@suse.de>
51292
51293 [BZ #13594]
51294 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51295 out from...
51296 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51297 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51298 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51299 code changing __hst_map_handle.map.
51300
51301 2012-05-15 Roland McGrath <roland@hack.frob.com>
51302
51303 * configure.in (sysnames): Look for Implies-before and Implies-after
51304 files.
51305 * configure: Regenerated.
51306
51307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51308
51309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51310 8-byte data alignment with LP_SIZE alignment.
51311
51312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51313
51314 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51315 into R10_LP.
51316
51317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51318
51319 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51320
51321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51322
51323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51324 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51326 Likewise.
51327 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51328
51329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51330
51331 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51332 (stackinfo_sub_sp): Likewise.
51333
51334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51335
51336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51337 RAX_LP.
51338
51339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51340
51341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51342 into R*_LP.
51343
51344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51345
51346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51347 sizes into R*_LP.
51348
51349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51350
51351 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51352
51353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51354
51355 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51356 into R11_LP and load __x86_64_shared_cache_size_half into
51357 R8_LP.
51358
51359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51360
51361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51362 R8_LP.
51363
51364 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51365
51366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51367 logb for POWER7.
51368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51369 logbf for POWER7.
51370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51371 logbl for POWER7.
51372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51373 powerpc32/power7/fpu/s_logb.c via #include.
51374 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51375 powerpc32/power7/fpu/s_logbf.c via #include.
51376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51377 powerpc32/power7/fpu/s_logbl.c via #include.
51378
51379 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51380
51381 * README.libm: Remove file.
51382
51383 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51384
51385 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51386 count for x32. Use R*_LP and omit operand-size suffix.
51387
51388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51389
51390 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51391 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51392 * sysdeps/x86_64/x32/shlib-versions: New file.
51393
51394 2012-05-14 Roland McGrath <roland@hack.frob.com>
51395
51396 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51397 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51398 Use _dl_fatal_printf instead.
51399
51400 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51401
51402 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51403 set if not set by the user. Do not allow for being unset.
51404 * sysdeps/unix/sysv/linux/configure: Regenerated.
51405
51406 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51407
51408 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51409 the `q' suffix from lea and replace .quad with ASM_ADDR.
51410
51411 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51412
51413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51414 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51415 instead of $17.
51416 (PTR_DEMANGLE): Likewise.
51417
51418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51419
51420 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51421 (LP_OP): Likewise.
51422 (ASM_ADDR): Likewise.
51423 (RAX_LP): Likewise.
51424 (RBP_LP): Likewise.
51425 (RBX_LP): Likewise.
51426 (RCX_LP): Likewise.
51427 (RDI_LP): Likewise.
51428 (RSI_LP): Likewise.
51429 (RSP_LP): Likewise.
51430 (R8_LP): Likewise.
51431 (R9_LP): Likewise.
51432 (R10_LP): Likewise.
51433 (R10_LP): Likewise.
51434 (R11_LP): Likewise.
51435 (R12_LP): Likewise.
51436 (R13_LP): Likewise.
51437 (R14_LP): Likewise.
51438 (R15_LP): Likewise.
51439
51440 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51441
51442 * sysdeps/x86_64/x32/dl-machine.h: New file.
51443
51444 2012-05-14 Andreas Jaeger <aj@suse.de>
51445
51446 * manual/Makefile (subdir): Remove export of subdir.
51447 (all): Remove target.
51448 (.PHONY): Remove all from list.
51449 (mkinstalldirs): Remove.
51450 (.PHONY): Remove installdirs from list.
51451 ($(inst_infodir)/libc.info): Use make-target-directory.
51452 (installdirs): Remove.
51453 (subdir_%): Remove.
51454 (glibc-targets): Remove.
51455 (lib): Remove.
51456 (stubs): Remove.
51457 ($(objpfx)stubs ../po/manual.pot): Remove.
51458 ($(objpfx)stamp%): Remove.
51459 (make-target-directory): Remove.
51460 (subdir_install): Remove.
51461 (routines): Remove.
51462 (aux): Remove.
51463 (sources): Remove.
51464 (objects): Remove.
51465 (headers): Remove.
51466
51467 [BZ #13750]
51468 * manual/.gitignore: Remove, it's not needed anymore.
51469 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51470 all files in it.
51471 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51472 directory.
51473 (texis): Renamed to $(objpfx)texis.
51474 (texis-path): New, contains path to generated files.
51475 (chapters.%): Use texis-path for complete path, add extra argument
51476 libc-texinfo.sh.
51477 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51478 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51479 (summary,texi, stamp-summary): Use complete path of
51480 files. Generate files in build dir.
51481 (dir-add.texi): Build in build dir.
51482 (libm-err.texi,stamp-libm-err): Likewise.
51483 (version.texi, stamp-version): Likewise.
51484 (.%c.texi): Likewise.
51485 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51486 (mostlyclean): Remove target.
51487 (realclean): Remove target.
51488 (generated): Add new variable with contents from mostlyclean and
51489 realclean, remove entries duplicated in common-mostlyclean, add
51490 stamp-libm-err and stamp-version.
51491 (generated-dirs): Add libc directory.
51492 ($(inst_infodir)/libc.info): Install files from build dir.
51493
51494 * manual/install.texi (Configuring and compiling): Adjust since
51495 the info files are not part of the tar ball anymore.
51496
51497 2012-05-14 Andreas Jaeger <aj@suse.de>
51498
51499 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51500 variable.
51501
51502 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51503
51504 [BZ #13717]
51505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51506 to 2.2.0 where earlier.
51507 * sysdeps/unix/sysv/linux/configure: Regenerated.
51508 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51509 Remove conditional code.
51510 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51511 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51512 Remove conditional code.
51513 [!__NR_lchown]: Likewise.
51514 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51515 [__NR_lchown]: Likewise.
51516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51517 comment referencing __ASSUME_LCHOWN_SYSCALL.
51518 * sysdeps/unix/sysv/linux/i386/sigaction.c
51519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51521 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51522 Remove conditional code.
51523 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51524 (__protocol_available): Remove #if 0 code.
51525 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51526 conditional code.
51527 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51528 * sysdeps/unix/sysv/linux/kernel-features.h
51529 (__ASSUME_GETCWD_SYSCALL): Don't define.
51530 (__ASSUME_REALTIME_SIGNALS): Likewise.
51531 (__ASSUME_PREAD_SYSCALL): Likewise.
51532 (__ASSUME_PWRITE_SYSCALL): Likewise.
51533 (__ASSUME_POLL_SYSCALL): Likewise.
51534 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51535 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51536 non-SPARC.
51537 (__ASSUME_SIOCGIFNAME): Don't define.
51538 (__ASSUME_MSG_NOSIGNAL): Likewise.
51539 (__ASSUME_SENDFILE): Define unconditionally.
51540 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51541 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51542 conditional code.
51543 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51544 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51546 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51548 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51549 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51574 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51575 Remove conditional code.
51576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51577 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51578 Remove conditional code.
51579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51580 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51581 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51582 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51583 Remove conditional code.
51584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51585 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51586 Remove conditional code.
51587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51588 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51589 Remove conditional code.
51590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51591 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51592 Remove conditional code.
51593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51594 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51595 Remove conditional code.
51596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51597 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51598 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51600 * sysdeps/unix/sysv/linux/sigaction.c
51601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51603 * sysdeps/unix/sysv/linux/sigpending.c
51604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51606 * sysdeps/unix/sysv/linux/sigprocmask.c
51607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51609 * sysdeps/unix/sysv/linux/sigsuspend.c
51610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51613 (__libc_missing_rt_sigs): Remove.
51614 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51615 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51616 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51617 Remove conditional code.
51618 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51619 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51620 return 1.
51621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51622 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51624 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51625
51626 2012-05-14 Andreas Jaeger <aj@suse.de>
51627
51628 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51629 it's not used in glibc.
51630 (__coshm1): Likewise.
51631 (__acosh1p): Likewise.
51632 (__sgn): Likewise.
51633
51634 * manual/string.texi (Copying and Concatenation): Add missing
51635 variable in concat example.
51636 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51637
51638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51639
51640 [BZ #14103]
51641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51642 __builtin_clzl with __builtin_clzll.
51643
51644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51645
51646 [BZ #14104]
51647 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51648 libc_freeres_ptr.
51649
51650 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51651
51652 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51653 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51654 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51655 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51656
51657 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51658
51659 * NEWS: Update ia64 info.
51660
51661 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51662
51663 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51664 used as bcopy.
51665
51666 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51667
51668 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51669 * sysdeps/unix/syscalls.list (dup3): Likewise.
51670 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51671 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51672
51673 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51674
51675 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51676 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51677
51678 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51679
51680 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51681 thread pointer.
51682 (TLS_IE): Use mov/add instead of movq/addq to load thread
51683 pointer.
51684 (TLS_GD_PREFIX): New.
51685 (TLS_GD): Use it.
51686
51687 2012-05-11 David S. Miller <davem@davemloft.net>
51688
51689 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51690 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51691 (_FPU_SETCW): Likewise.
51692
51693 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51694
51695 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51696 is 32-byte aligned.
51697
51698 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51699
51700 [BZ #11837]
51701 * iconvdata/gb18030.c: Update tables.
51702 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51703 characters specially.
51704 (BODY for TO_LOOP): Add encoding of missing ranges.
51705
51706 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51707
51708 [BZ #13673]
51709 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51710 * sysdeps/mach/hurd/dup3.c: Likewise.
51711 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51712 * sysdeps/powerpc/memmove.c:: Likewise.
51713
51714 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51715
51716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51717 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51718
51719 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51720
51721 * elf/elf.h (R_X86_64_RELATIVE64): New.
51722 (R_X86_64_NUM): Updated.
51723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51724 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51725 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51726 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51727 tst-quad1pie tst-quad2pie
51728 (modules-names): Add tst-quadmod1 tst-quadmod2.
51729 ($(objpfx)tst-quad1): New dependency.
51730 ($(objpfx)tst-quad2): Likewise.
51731 ($(objpfx)tst-quad1pie): Likewise.
51732 ($(objpfx)tst-quad2pie): Likewise.
51733 * sysdeps/x86_64/tst-quad1.c: New file.
51734 * sysdeps/x86_64/tst-quad1pie.c: New file.
51735 * sysdeps/x86_64/tst-quad2.c: Likewise.
51736 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51737 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51738 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51739 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51740 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51741
51742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51743
51744 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51745 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51746 * streams/stropts.h (t_scalar_t): Define type.
51747
51748 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51749 (_PATH_PRESERVE): Set to "/var/lib".
51750 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51751
51752 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51753 instead of int.
51754
51755 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51756 if __dir_mkfile succeeded.
51757
51758 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51759 checking for _hurd_dtablesize. Unlock it right after having
51760 finished _hurd_dtable allocation.
51761
51762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51763
51764 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51765 * sysdeps/mach/hurd/configure: Regenerated.
51766 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51767 special-casing to...
51768 * sysdeps/gnu/configure.in: ... this new file.
51769 * sysdeps/unix/sysv/linux/configure: Regenerated.
51770 * sysdeps/gnu/configure: New generated file.
51771
51772 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51773 for Linux: use nsec instead of usec, as well as:
51774 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51775 members of type struct timespec.
51776 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51777 New macros.
51778 (struct stat64): Likewise.
51779 (_STATBUF_ST_NSEC): New macro.
51780 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51781
51782 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51783 __strtoul_internal rather than strtoul.
51784
51785 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51786
51787 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51788 and reject them.
51789
51790 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51791
51792 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51793 which preserves existing values.
51794 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51795
51796 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51797
51798 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51799 TIMEOUT values. Return EINVAL for NFDS values either negative or
51800 greater than FD_SETSIZE.
51801
51802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51803
51804 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51805 allocated, call __vm_protect to finish enabling the existing space, and
51806 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51807 allocate the remainder.
51808
51809 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51810
51811 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51812 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51813
51814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51815
51816 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51817 sysdeps/mach/hurd/readlink.c.
51818
51819 * posix/tst-sysconf.c (posix_options): Only use
51820 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51821 _POSIX_SYNCHRONIZED_IO when they are defined
51822 * sysdeps/mach/hurd/bits/posix_opt.h:
51823 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51824 (_XOPEN_REALTIME): Undefine macro.
51825 (_XOPEN_REALTIME_THREADS): Undefine macro.
51826 (_XOPEN_SHM): Undefine macro.
51827 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51828 macro to -1.
51829 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51830 macro to -1.
51831 (_POSIX_ASYNC_IO): Undefine macro.
51832 (_POSIX_PRIORITIZED_IO): Undefine macro.
51833 (_POSIX_SPIN_LOCKS): Define macro to -1.
51834
51835 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51836 SA_NODEFER, SA_RESETHAND.
51837 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51838 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51839 F_DUPFD_CLOEXEC.
51840
51841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51842
51843 * elf/Makefile (pldd-modules): Define unconditionally.
51844
51845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51846
51847 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51848
51849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51850
51851 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51852 Return ENOENT when name is empty.
51853 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51854
51855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51856
51857 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51858
51859 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51860
51861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51862
51863 Fix mlock in all cases except non-readable pages.
51864 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51865 instead of VM_PROT_ALL as parameter to __vm_wire function.
51866
51867 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51868 (__mkdir): When path is `/', just fail with EEXIST.
51869 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51870
51871 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51872
51873 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51874 <sys/uio.h> (for writev).
51875 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51876 and <sys/param.h> (for MIN).
51877
51878 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51879
51880 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51881 REQUESTED_TIME. Properly set the remaining time and return EINTR
51882 if interrupted.
51883
51884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51885
51886 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51887 Depend on against $(link-rpcuserlibs).
51888
51889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51890
51891 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51892 (__libc_stack_end): Do not use attribute_relro.
51893 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51894 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51895 to libthread-provided value.
51896 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51897 attribute_relro.
51898
51899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51900
51901 [BZ #3748]
51902 * bits/libc-lock.h (__libc_once_get): New macro.
51903 * sysdeps/mach/bits/libc-lock.h: Likewise.
51904 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51906 instead of using implementation details.
51907
51908 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51909 * libio/freopen.c: Likewise.
51910 * libio/freopen64.c: Likewise.
51911 * misc/syslog.c: Likewise.
51912 * nscd/connections.c: Likewise.
51913 * nscd/netgroupcache.c: Likewise.
51914 * sysdeps/posix/getcwd.c: Likewise.
51915
51916 2012-05-10 Roland McGrath <roland@hack.frob.com>
51917
51918 * math/w_ilogbf.c: Add #include <limits.h>.
51919
51920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51921
51922 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51923 path instead of returning without unlocking.
51924
51925 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51926 immediate-write ioctls.
51927 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51928
51929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51930
51931 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51932 __builtin_frame_address instead of making assumptions about the
51933 location of the return address relative to DATA. Force early load of
51934 the return address.
51935 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51936 __builtin_frame_address.
51937
51938 dup3 for GNU Hurd.
51939 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51940 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51941 implement dup3 and do some further code clean-ups.
51942 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51943 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51944
51945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51946
51947 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51948
51949 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51950 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51951 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51952 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51953 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51954 d->port.lock.
51955
51956 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51957 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51958 when handler == SIG_ERR, not when handler != SIG_ERR.
51959
51960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51961
51962 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51963 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51964 definitions.
51965
51966 accept4 for GNU Hurd.
51967 * include/sys/socket.h (__libc_accept4): New prototype.
51968 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51969 to implement __libc_accept4.
51970 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51971 __libc_accept4.
51972 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51973
51974 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51975 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51976 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51977 signal-defines.sym.
51978
51979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51980
51981 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51982
51983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51984
51985 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51986 assertion on O_CLOEXEC flag.
51987 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51988 * hurd/intern-fd.c: Likewise.
51989 * hurd/port2fd.c: Likewise.
51990
51991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51992
51993 [BZ #3906]
51994 * bits/in.h (IPV6_PKTINFO): Define new macro.
51995 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51996
51997 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51998
51999 [BZ #13954]
52000 [BZ #13955]
52001 [BZ #13956]
52002 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52004 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52005 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52007 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52008 * math/libm-test.inc (logb_test) : Additional logb tests.
52009
52010 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52011 Andreas Jaeger <aj@suse.de>
52012
52013 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52014 * configure: Regenerated.
52015 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52016 * config.make.in (link-obsolete-rpc): New substituted variable.
52017 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52018 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52019 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52020 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52021 so that libc.a contains the symbols.
52022 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52023 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52024 * sunrpc/auth_none.c: Likewise.
52025 * sunrpc/auth_unix.c: Likewise.
52026 * sunrpc/authdes_prot.c: Likewise.
52027 * sunrpc/authuxprot.c: Likewise.
52028 * sunrpc/clnt_gen.c: Likewise.
52029 * sunrpc/clnt_perr.c: Likewise.
52030 * sunrpc/clnt_raw.c: Likewise.
52031 * sunrpc/clnt_simp.c: Likewise.
52032 * sunrpc/clnt_tcp.c: Likewise.
52033 * sunrpc/clnt_udp.c: Likewise.
52034 * sunrpc/clnt_unix.c: Likewise.
52035 * sunrpc/des_crypt.c: Likewise.
52036 * sunrpc/des_soft.c: Likewise.
52037 * sunrpc/get_myaddr.c: Likewise.
52038 * sunrpc/key_call.c: Likewise.
52039 * sunrpc/key_prot.c: Likewise.
52040 * sunrpc/netname.c: Likewise.
52041 * sunrpc/pm_getmaps.c: Likewise.
52042 * sunrpc/pm_getport.c: Likewise.
52043 * sunrpc/pmap_clnt.c: Likewise.
52044 * sunrpc/pmap_prot.c: Likewise.
52045 * sunrpc/pmap_prot2.c: Likewise.
52046 * sunrpc/pmap_rmt.c: Likewise.
52047 * sunrpc/publickey.c: Likewise.
52048 * sunrpc/rpc_cmsg.c: Likewise.
52049 * sunrpc/rpc_common.c: Likewise.
52050 * sunrpc/rpc_dtable.c: Likewise.
52051 * sunrpc/rpc_prot.c: Likewise.
52052 * sunrpc/rpc_thread.c: Likewise.
52053 * sunrpc/rtime.c: Likewise.
52054 * sunrpc/svc.c: Likewise.
52055 * sunrpc/svc_auth.c: Likewise.
52056 * sunrpc/svc_raw.c: Likewise.
52057 * sunrpc/svc_run.c: Likewise.
52058 * sunrpc/svc_tcp.c: Likewise.
52059 * sunrpc/svc_udp.c: Likewise.
52060 * sunrpc/svc_unix.c: Likewise.
52061 * sunrpc/svcauth_des.c: Likewise.
52062 * sunrpc/xcrypt.c: Likewise.
52063 * sunrpc/xdr.c: Likewise.
52064 * sunrpc/xdr_array.c: Likewise.
52065 * sunrpc/xdr_float.c: Likewise.
52066 * sunrpc/xdr_intXX_t.c: Likewise.
52067 * sunrpc/xdr_mem.c: Likewise.
52068 * sunrpc/xdr_rec.c: Likewise.
52069 * sunrpc/xdr_ref.c: Likewise.
52070 * sunrpc/xdr_sizeof.c: Likewise.
52071 * sunrpc/xdr_stdio.c: Likewise.
52072
52073 2012-05-10 Roland McGrath <roland@hack.frob.com>
52074
52075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52076 change. Update copyright years.
52077
52078 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52079
52080 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52081
52082 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52083 Joseph Myers <joseph@codesourcery.com>
52084 Paul Pluzhnikov <ppluzhnikov@google.com>
52085
52086 [BZ #14012]
52087 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52088 requiring rpcgen.
52089 [cross-compiling] (extra-libs): Likewise.
52090 [cross-compiling] (extra-libs-others): Likewise.
52091 [cross-compiling] (librpcsvc-routines): Likewise.
52092 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52093 [cross-compiling] (omit-deps): Likewise.
52094 (sunrpc-CPPFLAGS): New variable.
52095 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52096 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52097 (cross-rpcgen-objs): New variable.
52098 (extra-objs): Append $(cross-rpcgen-objs).
52099 ($(cross-rpcgen-objs)): New rule.
52100 ($(objpfx)cross-rpcgen): Likewise.
52101 (rpcgen-cmd): Define to use $(built-program-file). Expand
52102 comment.
52103 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52104 ($(objpfx)x%.stmp): Likewise.
52105 * sunrpc/proto.h [IS_IN_build] (_): Define.
52106 [IS_IN_build] (_libc_intl_domainname): Likewise.
52107
52108 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52109
52110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52111 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52112 and R_X86_64_TPOFF64.
52113
52114 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52115
52116 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52117 sysdeps/unix/sysv/syscalls.list.
52118 (stime): Likewise.
52119 (utime): Likewise.
52120 * sysdeps/unix/sysv/syscalls.list: Remove file.
52121
52122 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52123
52124 [BZ #3440]
52125 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52126 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52127 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52128 (__LC_IDENTIFICATION): Make these macros useful in #if
52129 expressions, as required by C99.
52130
52131 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52132
52133 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52134 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52135 after this.
52136
52137 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52138
52139 * stdlib/longlong.h: Updated from GCC.
52140
52141 2012-05-09 Andreas Jaeger <aj@suse.de>
52142
52143 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52144 default is first entry.
52145 (run_mode): Set type.
52146 (main): Remove informal message about syslog.
52147 (options): Fix typo.
52148
52149 [BZ #14053]
52150 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52151 to asm.
52152 (lrint): Likewise.
52153 (llrintf): Likewise.
52154 (llrint): Likewise.
52155 (rint): Likewise.
52156 (rintf): Likewise.
52157 (nearbyint): Likewise.
52158 (nearbyintf): Likewise.
52159
52160 2012-05-09 Andreas Jaeger <aj@suse.de>
52161 Pedro Alves <palves@redhat.com>
52162
52163 * nscd/nscd.c (run_mode): Use enum.
52164 (main): Cleanup coding style issue.
52165
52166 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52167 Andreas Jaeger <aj@suse.de>
52168
52169 * nscd/nscd.c (go_background): Replaced with...
52170 (run_mode): ... this.
52171 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52172 (options): Add -F --foreground.
52173 (main): Implement it.
52174 (parse_opt): Parse it.
52175
52176 2012-05-09 Andreas Jaeger <aj@suse.de>
52177
52178 [BZ #14083]
52179 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52180 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52181 -Wconversion warning.
52182 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52183 Likewise.
52184
52185 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52186
52187 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52188 == 0.
52189 (LC_ALL): Use macro-int-constant.
52190 (LC_COLLATE): Likewise.
52191 (LC_CTYPE): Likewise.
52192 (LC_MESSAGES): Likewise.
52193 (LC_MONETARY): Likewise.
52194 (LC_NUMERIC): Likewise.
52195 (LC_TIME): Likewise.
52196 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52197 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52199 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52200 Specify type.
52201 [C99-based standards] (float_t): Expect type.
52202 [C99-based standards] (double_t): Expect type.
52203 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52204 type.
52205 [C99-based standards] (HUGE_VALL): Likewise.
52206 [C99-based standards] (INFINITY): Likewise.
52207 [C99-based standards] (NAN): Likewise.
52208 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52209 [C99-based standards] (FP_NAN): Likewise.
52210 [C99-based standards] (FP_NORMAL): Likewise.
52211 [C99-based standards] (FP_SUBNORMAL): Likewise.
52212 [C99-based standards] (FP_ZERO): Likewise.
52213 [C99-based standards] (FP_FAST_FMA): Use
52214 optional-macro-int-constant. Specify type. Require == 1.
52215 [C99-based standards] (FP_FAST_FMAF): Likewise.
52216 [C99-based standards] (FP_FAST_FMAL): Likewise.
52217 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52218 [C99-based standards] (FP_ILOGBNAN): Likewise.
52219 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52220 Specify type.
52221 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52222 [C99-based standards] (math_errhandling): Specify type.
52223 [ISO99 || ISO11] (signgam): Do not allow.
52224 [non-C99-based standards] (copysignf): Do not allow.
52225 [non-C99-based standards] (exp2f): Likewise.
52226 [non-C99-based standards] (log2f): Likewise.
52227 [non-C99-based standards] (modff): Allow.
52228 [non-C99-based standards] (erff): Do not allow.
52229 [non-C99-based standards] (erfcf): Likewise.
52230 [non-C99-based standards] (gammaf): Likewise.
52231 [non-C99-based standards] (hypotf): Likewise.
52232 [non-C99-based standards] (j0f): Likewise.
52233 [non-C99-based standards] (j1f): Likewise.
52234 [non-C99-based standards] (jnf): Likewise.
52235 [non-C99-based standards] (lgammaf): Likewise.
52236 [non-C99-based standards] (tgammaf): Likewise.
52237 [non-C99-based standards] (y0f): Likewise.
52238 [non-C99-based standards] (y1f): Likewise.
52239 [non-C99-based standards] (ynf): Likewise.
52240 [non-C99-based standards] (isnanf): Likewise.
52241 [non-C99-based standards] (acoshf): Likewise.
52242 [non-C99-based standards] (asinhf): Likewise.
52243 [non-C99-based standards] (atanhf): Likewise.
52244 [non-C99-based standards] (cbrtf): Likewise.
52245 [non-C99-based standards] (expm1f): Likewise.
52246 [non-C99-based standards] (ilogbf): Likewise.
52247 [non-C99-based standards] (log1pf): Likewise.
52248 [non-C99-based standards] (logbf): Likewise.
52249 [non-C99-based standards] (nextafterf): Likewise.
52250 [non-C99-based standards] (remainderf): Likewise.
52251 [non-C99-based standards] (rintf): Likewise.
52252 [non-C99-based standards] (scalbf): Likewise.
52253 [non-C99-based standards] (copysignl): Likewise.
52254 [non-C99-based standards] (exp2l): Likewise.
52255 [non-C99-based standards] (log2l): Likewise.
52256 [non-C99-based standards] (modfl): Allow.
52257 [non-C99-based standards] (erfl): Do not allow.
52258 [non-C99-based standards] (erfcl): Likewise.
52259 [non-C99-based standards] (gammal): Likewise.
52260 [non-C99-based standards] (hypotl): Likewise.
52261 [non-C99-based standards] (j0l): Likewise.
52262 [non-C99-based standards] (j1l): Likewise.
52263 [non-C99-based standards] (jnl): Likewise.
52264 [non-C99-based standards] (lgammal): Likewise.
52265 [non-C99-based standards] (tgammal): Likewise.
52266 [non-C99-based standards] (y0l): Likewise.
52267 [non-C99-based standards] (y1l): Likewise.
52268 [non-C99-based standards] (ynl): Likewise.
52269 [non-C99-based standards] (isnanl): Likewise.
52270 [non-C99-based standards] (acoshl): Likewise.
52271 [non-C99-based standards] (asinhl): Likewise.
52272 [non-C99-based standards] (atanhl): Likewise.
52273 [non-C99-based standards] (cbrtl): Likewise.
52274 [non-C99-based standards] (expm1l): Likewise.
52275 [non-C99-based standards] (ilogbl): Likewise.
52276 [non-C99-based standards] (log1pl): Likewise.
52277 [non-C99-based standards] (logbl): Likewise.
52278 [non-C99-based standards] (nextafterl): Likewise.
52279 [non-C99-based standards] (remainderl): Likewise.
52280 [non-C99-based standards] (rintl): Likewise.
52281 [non-C99-based standards] (scalbl): Likewise.
52282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52283 [non-C99-based standards] (FP_*): Do not allow.
52284 [C99-based standards] (FP_*): Change to
52285 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52286 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52287 allow.
52288 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52289 (SIG_ERR): Likewise.
52290 [X/Open-based standards] (SIG_HOLD): Likewise.
52291 (SIG_IGN): Likewise.
52292 (SIGABRT): Use macro-int-constant. Specify type. Require
52293 positive value.
52294 (SIGFPE): Likewise.
52295 (SIGILL): Likewise.
52296 (SIGINT): Likewise.
52297 (SIGSEGV): Likewise.
52298 (SIGTER): Likewise.
52299 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52300 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52301 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52302 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52303 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52304 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52305 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52306 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52307 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52308 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52309 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52310 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52311 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52312 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52313 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52314 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52315 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52316 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52317 [X/Open-based standards] (SIGTRAP): Likewise.
52318 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52319 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52320 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52321 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52322 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52323 allow.
52324
52325 2012-05-08 Ian Wienand <ianw@vmware.com>
52326
52327 [BZ #14080]
52328 * time/tzset.c (__tzset_parse_tz): Update default rules for
52329 daylight time changes in the Energy Policy Act of 2005.
52330
52331 2012-05-09 Andreas Jaeger <aj@suse.de>
52332
52333 [BZ #13983]
52334 * elf/ldconfig.c (parse_conf): Change string to make clear that
52335 ldconfig only issued a warning if ld.so.conf does not exist.
52336
52337 2012-05-08 David S. Miller <davem@davemloft.net>
52338
52339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52340 movxtod instead of popping the value on the stack.
52341
52342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52343
52344 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52345
52346 * config.h.in: Add HAVE_ARM_PCS_VFP.
52347
52348 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52349
52350 [BZ #13979]
52351 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52352 checking but the checks are disabled for any reason.
52353
52354 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52355
52356 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52357 and ELF64_R_TYPE with ELFW(R_TYPE).
52358
52359 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52360
52361 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52362 (ulimit): Likewise.
52363
52364 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52365 (settimeofday): Likewise.
52366
52367 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52368
52369 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52370 a struct th_u2 inside the union, and move tu_block/tu_code into
52371 a new th_u3 union of tu_block/tu_code inside of that. Move
52372 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52373 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52374 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52375 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52376 (th_stuff): Change to th_u1.tu_stuff.
52377 (th_data): Define.
52378 (th_msg): Change to th_u1.th_u2.tu_data.
52379
52380 2012-05-07 David S. Miller <davem@davemloft.net>
52381
52382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52383
52384 [BZ #14074]
52385 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52386 (SETUP_PIC_REG): Use it.
52387 (SETUP_PIC_REG_LEAF): Use it.
52388
52389 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52390
52391 [BZ #13885]
52392 [BZ #13923]
52393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52394 USE_AS_EXPM1L.
52395 (EXPL_FINITE): Likewise.
52396 (FLDLOG): Likewise.
52397 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52398 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52399 e_expl.S.
52400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52401 USE_AS_EXPM1L.
52402 (EXPL_FINITE): Likewise.
52403 (FLDLOG): Likewise.
52404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52405 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52406 e_expl.S.
52407 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52408 test of -max_value argument for long double.
52409 * sysdeps/i386/fpu/libm-test-ulps: Update.
52410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52411
52412 2012-05-06 David S. Miller <davem@davemloft.net>
52413
52414 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52415 quad soft-float symbols whose references which are compiler
52416 generated.
52417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52418
52419 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52420
52421 [BZ #13884]
52422 [BZ #13914]
52423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52424 USE_AS_EXP10L.
52425 (EXPL_FINITE): Likewise.
52426 (FLDLOG): Likewise.
52427 (c0): Likewise.
52428 (c1): Likewise.
52429 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52430 Adjust comments for base varying.
52431 (__expl_finite): Change alias to EXPL_FINITE.
52432 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52433 e_expl.S.
52434 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52435 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52437 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52438 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52439 USE_AS_EXP10L.
52440 (EXPL_FINITE): Likewise.
52441 (FLDLOG): Likewise.
52442 (c0): Likewise.
52443 (c1): Likewise.
52444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52445 Adjust comments for base varying.
52446 (__expl_finite): Change alias to EXPL_FINITE.
52447 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52448 tests for bugs.
52449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52450
52451 [BZ #14064]
52452 * math/libm-test.inc (check_float_internal): Correct ulp
52453 calculation for subnormal expected results.
52454
52455 2012-05-06 Andreas Jaeger <aj@suse.de>
52456
52457 * Makeconfig (+math-flags): New, set to -frounding-math.
52458 (+cflags): Add +math-flags so that all of glibc gets compiled with
52459 it.
52460
52461 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52462
52463 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52464
52465 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52466 Disable one test.
52467
52468 [BZ #13787]
52469 [BZ #13922]
52470 [BZ #14036]
52471 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52472 (__ieee754_expl): Allow for and saturate large arguments.
52473 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52474 (u_threshold): Likewise.
52475 (__exp): Call __ieee754_exp before checking for overflow and
52476 underflow.
52477 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52478 (u_threshold): Likewise.
52479 (__expf): Call __ieee754_expf before checking for overflow and
52480 underflow.
52481 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52482 (u_threshold): Likewise.
52483 (__expl): Call __ieee754_expl before checking for overflow and
52484 underflow.
52485 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52486 (__ieee754_expl): Allow for and saturate large arguments.
52487 * math/libm-test.inc (exp_test): Add another test. Do not allow
52488 missing overflow exception on overflow.
52489 (expm1_test): Do not allow missing overflow exception on overflow.
52490
52491 * sysdeps/i386/fpu/e_expl.c: Move to ...
52492 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52493 rather than using inline asm.
52494 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52495 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52496 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52497
52498 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52499 (nice): Likewise.
52500 (poll): Likewise.
52501 (signal): Likewise.
52502 (time): Likewise.
52503 (times): Likewise.
52504
52505 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52506
52507 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52508 sysdeps/unix/common/syscalls.list.
52509 (fchmod): Likewise.
52510 (fchown): Likewise.
52511 (ftruncate): Likewise.
52512 (getrusage): Likewise.
52513 (gettimeofday): Likewise.
52514 (setpgid): Likewise.
52515 (setregid): Likewise.
52516 (setreuid): Likewise.
52517 (sigaction): Likewise.
52518 (truncate): Likewise.
52519 (vhangup): Likewise.
52520 * sysdeps/unix/common/syscalls.list: Remove file.
52521 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52522 * sysdeps/unix/sysv/linux/Implies: Likewise.
52523
52524 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52525
52526 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52528 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52529 Moved to ...
52530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52531 Here.
52532 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52533 to ...
52534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52535 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52536 to ...
52537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52538 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52539 to ...
52540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52541 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52542 to ...
52543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52544 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52545 to ...
52546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52547 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52548 to ...
52549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52550 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52551 to ...
52552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52553 Here.
52554 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52555 to ...
52556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52557 Here.
52558 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52559 to ...
52560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52561 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52562 Moved to ...
52563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52564 Here.
52565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52566 to ...
52567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52568
52569 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52570
52571 * sysdeps/unix/common/bits/dirent.h: Remove file.
52572 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52573
52574 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52575 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52576 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52577 * sysdeps/unix/bsd/isatty.c: Likewise.
52578 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52579 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52580 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52581
52582 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52583
52584 [BZ #13563]
52585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52586 long double comparison inaccuracies.
52587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52589
52590 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52591
52592 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52594
52595 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52596
52597 [BZ #14049]
52598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52599 nonzero digits before rounding a hex value.
52600 * stdlib/tst-strtod.c (tests): Add another test.
52601
52602 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52603
52604 * sysdeps/s390/fpu/libm-test-ulps: Update.
52605
52606 2012-05-03 Andreas Jaeger <aj@suse.de>
52607
52608 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52609 does not get optimized out.
52610 (malloc_opt_barrier): New.
52611
52612 2012-05-03 Andreas Jaeger <aj@suse.de>
52613 Roland McGrath <roland@hack.frob.com>
52614
52615 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52616 intermediate file deletion.
52617 (generated): Add .symlist files.
52618
52619 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52620
52621 [BZ #13775]
52622 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52623 Redirect under this condition.
52624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52625 [__USE_GNU] (__dprintf_chk): Not under this condition.
52626 [__USE_GNU] (__vdprintf_chk): Likewise.
52627 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52628 under this condition.
52629 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52630 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52631 [__USE_XOPEN2K8] (vdprintf): Likewise.
52632 [__USE_GNU] (__dprintf_chk): Not under this condition.
52633 [__USE_GNU] (__vdprintf_chk): Likewise.
52634 [__USE_GNU] (dprintf): Likewise.
52635 [__USE_GNU] (vdprintf): Likewise.
52636
52637 2012-05-03 Roland McGrath <roland@hack.frob.com>
52638
52639 * elf/Makefile (common-generated): Set this instead of generated for
52640 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52641 $(all-built-dso)-derived lists.
52642
52643 2012-05-03 Andreas Jaeger <aj@suse.de>
52644
52645 * sysdeps/i386/fpu/libm-test-ulps: Update.
52646
52647 * FAQ: Removed.
52648 * FAQ.in: Likewise.
52649 * scripts/gen-FAQ.pl: Likewise.
52650 * manual/install.texi (Installation): Point to online location of
52651 FAQ.
52652 * Makefile (files-for-dist): Remove FAQ.
52653 (FAQ): Remove.
52654
52655 2012-05-02 Allan McRae <allan@archlinux.org>
52656
52657 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52658 (LDFLAGS-reldepmod5.so): Likewise.
52659 (LDFLAGS-reldep6mod1.so): Likewise.
52660 (LDFLAGS-reldep6mod4.so): Likewise.
52661 (LDFLAGS-reldep8mod3.so): Likewise.
52662 (LDFLAGS-unload4mod1.so): Likewise.
52663 (LDFLAGS-unload4mod2.so): Likewise.
52664 (LDFLAGS-tst-initorder): Likewise.
52665 (LDFLAGS-tst-initordera2.so): Likewise.
52666 (LDFLAGS-tst-initordera3.so): Likewise.
52667 (LDFLAGS-tst-initordera4.so): Likewise.
52668 (LDFLAGS-tst-initorderb2.so): Likewise.
52669 (LDFLAGS-noload): Likewise.
52670 (LDFLAGS-next): Likewise.
52671 (LDFLAGS-order2mod1.so): Likewise.
52672 (LDFLAGS-order2mod2.so): Likewise.
52673 (LDFLAGS-tst-initorder2): Likewise.
52674 (LDFLAGS-tst-initorder2a.so): Likewise.
52675 (LDFLAGS-tst-initorder2b.so): Likewise.
52676 (LDFLAGS-tst-initorder2c.so): Likewise.
52677 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52678
52679 2012-05-02 David S. Miller <davem@davemloft.net>
52680
52681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52682
52683 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52684
52685 [BZ #14055]
52686 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52687
52688 2012-05-02 Andreas Jaeger <aj@suse.de>
52689
52690 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52691 since we manipulate rounding mode.
52692 (CPPFLAGS-test-idouble.c): Likewise.
52693 (CPPFLAGS-test-ifloat.c): Likewise.
52694 (CFLAGS-test-ldouble.c): Likewise.
52695 (CFLAGS-test-double.c): Likewise.
52696 (CFLAGS-test-float.c): Likewise.
52697 (CFLAGS-test-misc.c): Likewise.
52698 (CFLAGS-test-test-fenv.c): Likewise.
52699
52700 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52701
52702 [BZ #2550]
52703 [BZ #2570]
52704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52705 comparisons to determine direction to adjust input.
52706
52707 2012-05-01 Roland McGrath <roland@hack.frob.com>
52708
52709 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52710 output to the target.
52711
52712 * scripts/localplt.awk: New file.
52713 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52714 (check-localplt-CFLAGS): Variable removed.
52715 ($(all-built-dso:=.jmprel)): New static pattern rule.
52716 (generated): Add those targets.
52717 (localplt-built-dso): New variable.
52718 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52719
52720 * elf/check-localplt.c: File removed.
52721
52722 * scripts/check-execstack.awk: New file.
52723 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52724 (check-execstack-CFLAGS): Variable removed.
52725 ($(objpfx)check-execstack.h): Target removed.
52726 ($(objpfx)execstack-default): New target.
52727 (generated): Add that instead of check-execstack.h.
52728 ($(all-built-dso:=.phdr)): New static pattern rule.
52729 (generated): Add those targets.
52730 * elf/check-execstack.c: File removed.
52731
52732 * scripts/check-textrel.awk: New file.
52733 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52734 (check-textrel-CFLAGS): Variable removed.
52735 (all-built-dso): Use := to define.o
52736 ($(all-built-dso:=.dyn)): New static pattern rule.
52737 (generated): Add those targets.
52738 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52739 * config.make.in (READELF): New substituted variable.
52740 * elf/check-textrel.c: File removed.
52741
52742 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52743
52744 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52745 allow.
52746 * conform/data/ctype.h-data [C99-based standards] (isblank):
52747 Expect function.
52748 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52749 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52751 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52752 Specify type. Require positive value.
52753 (EILSEQ): Likewise.
52754 (ERANGE): Likewise.
52755 [ISO || POSIX] (EILSEQ): Do not expect.
52756 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52757 Specify type. Require positive value.
52758 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52759 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52760 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52761 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52762 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52763 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52764 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52765 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52766 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52767 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52768 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52769 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52770 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52771 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52772 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52773 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52774 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52775 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52776 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52777 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52778 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52779 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52780 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52781 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52782 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52783 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52784 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52785 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52786 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52787 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52788 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52789 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52790 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52791 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52792 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52793 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52794 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52795 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52796 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52797 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52798 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52799 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52800 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52801 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52802 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52803 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52804 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52805 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52806 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52807 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52808 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52809 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52810 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52811 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52812 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52813 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52814 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52815 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52816 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52817 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52818 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52819 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52820 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52821 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52822 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52823 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52824 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52825 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52826 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52827 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52828 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52829 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52830 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52831 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52832 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52833 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52834 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52835 Require >= 2.
52836 (FLT_ROUNDS): Expect as macro, not constant.
52837 (FLT_MANT_DIG): Use macro-int-constant.
52838 (DBL_MANT_DIG): Likewise.
52839 (LDBL_MANT_DIG): Likewise.
52840 (FLT_DIG): Likewise.
52841 (DBL_DIG): Likewise.
52842 (LDBL_DIG): Likewise.
52843 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52844 (DBL_MIN_EXP): Likewise.
52845 (LDBL_MIN_EXP): Likewise.
52846 (FLT_MAX_EXP): Use macro-int-constant.
52847 (DBL_MAX_EXP): Likewise.
52848 (LDBL_MAX_EXP): Likewise.
52849 (FLT_MAX_10_EXP): Likewise.
52850 (DBL_MAX_10_EXP): Likewise.
52851 (LDBL_MAX_10_EXP): Likewise.
52852 (FLT_MAX): Use macro-constant.
52853 (DBL_MAX): Likewise.
52854 (LDBL_MAX): Likewise.
52855 (FLT_EPSILON): Use macro-constant. Give upper bound.
52856 (DBL_EPSILON): Likewise.
52857 (LDBL_EPSILON): Likewise.
52858 (FLT_MIN): Likewise.
52859 (DBL_MIN): Likewise.
52860 (LDBL_MIN): Likewise.
52861 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52862 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52863 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52864 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52865 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52866 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52867 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52868 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52869 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52870 [ISO11] (FLT_TRUE_MIN): Likewise.
52871 [ISO11] (LDBL_TRUE_MIN): Likewise.
52872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52873 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52874 (SCHAR_MIN): Use macro-int-constant. Specify type.
52875 (SCHAR_MAX): Likewise.
52876 (UCHAR_MAX): Likewise.
52877 (CHAR_MIN): Likewise.
52878 (CHAR_MAX): Likewise.
52879 (MB_LEN_MAX): Use macro-int-constant.
52880 (SHRT_MIN): Use macro-int-constant. Specify type.
52881 (SHRT_MAX): Likewise.
52882 (USHRT_MAX): Likewise.
52883 (INT_MAX): Likewise.
52884 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52885 bound negative.
52886 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52887 bound with "U".
52888 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52889 bound with "L".
52890 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52891 bound negative. Suffix upper bound with "L".
52892 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52893 bound with "UL".
52894 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52895 Specify type.
52896 [C99-based standards] (LLONG_MAX): Likewise.
52897 [C99-based standards] (ULLONG_MAX): Likewise.
52898 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52899 == 0.
52900 [ISO11] (max_align_t): Require type.
52901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52902
52903 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52904 from $CFLAGS, without defining away __attribute__ calls.
52905 (checknamespace): Use $CFLAGS_namespace.
52906
52907 * conform/conformtest.pl (@keywords): Only include C99 keywords
52908 for standards based on C99 or C11.
52909
52910 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52911 Disable tests.
52912 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52913 UNIX98]: Likewise.
52914
52915 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52916 usability of symbols in #if.
52917
52918 * conform/conformtest.pl: If macro or constant types start
52919 "promoted:", expect the symbol to be of the following type
52920 promoted by the integer promotions.
52921
52922 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52923 in one place. Also handle "macro-constant".
52924
52925 * conform/conformtest.pl: Only accept expected macro values with
52926 "==". Parse all "macro" lines in one place.
52927 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52928
52929 * conform/conformtest.pl: Handle braced types on "constant" lines
52930 instead of handling "typed-constant".
52931 * conform/data/signal.h-data: Use "constant" instead of
52932 "typed-constant".
52933
52934 * conform/conformtest.pl: Handle "optional-" at start of lines in
52935 one place rather than duplicating several cases. Handle each
52936 format of "macro" line with initial "optional-".
52937
52938 * conform/conformtest.pl: Only accept expected constant or
52939 optional-constant values with "==". Parse all "constant" lines in
52940 one place. Parse all "optional-constant" lines in one place.
52941 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52942 * conform/data/fmtmsg.h-data: Likewise.
52943 * conform/data/netinet/in.h-data: Likewise.
52944 * conform/data/tar.h-data: Likewise.
52945 * conform/data/limits.h-data: Use "==" form on "constant" and
52946 "optional-constant" lines.
52947
52948 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52949 Use -std=c99 for XOPEN2K.
52950 (@knownproblems): Remove.
52951 (newtoken): Don't check %isknown.
52952
52953 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52954 Do not expect macro.
52955 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52956 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52957 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52958 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52959 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52960 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52961 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52962 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52963 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52964 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52965 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52966 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52967 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52968 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52969 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52970 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52971 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52972 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52973 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52974 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52975 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52976 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52979 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52980 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52981 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52982 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52983 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52984 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52985 [XPG3] (acosh): Likewise.
52986 [XPG3] (asinh): Likewise.
52987 [XPG3] (atanh): Likewise.
52988 [XPG3] (cbrt): Likewise.
52989 [XPG3] (expm1): Likewise.
52990 [XPG3] (ilogb): Likewise.
52991 [XPG3] (log1p): Likewise.
52992 [XPG3] (logb): Likewise.
52993 [XPG3] (nextafter): Likewise.
52994 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52995 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52996 [XPG3] (remainder): Likewise.
52997 [XPG3] (rint): Likewise.
52998 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52999 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53000 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53001 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53002 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53003 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53004 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53005 [UNIX98 || XOPEN2K] (scalb): Expect.
53006 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53007 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53008 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53009 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53010 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53011 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53012 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53013 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53014 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53015 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53016 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53017 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53018 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53019 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53020 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53021 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53022 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53023 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53024 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53025 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53026 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53027 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53028 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53029 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53030 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53031 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53032 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53033 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53034 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53035 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53036 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53037 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53038 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53039 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53040 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53041 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53042 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53043 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53044 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53045 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53046 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53047 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53048 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53049 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53050 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53051 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53052 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53053 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53054 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53055 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53056 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53057 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53058 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53059 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53060 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53061 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53062 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53063 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53064 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53065 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53066 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53067 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53068 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53069 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53070 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53071 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53072 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53073 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53074 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53075 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53076 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53077 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53078 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53079 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53080 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53081 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53082 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53083 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53084 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53085 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53086 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53087 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53088 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53089 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53090 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53091 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53092 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53093 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53094 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53095 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53096 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53097 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53098 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53099 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53100 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53101 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53102 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53103 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53104 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53105 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53106 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53107 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53108 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53109 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53110 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53111 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53112 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53113 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53114 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53115 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53116 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53117 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53118 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53119 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53120 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53121 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53122 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53123 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53124 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53125 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53126 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53127 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53128 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53129 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53130 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53131 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53132 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53133 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53134 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53135 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53136 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53137 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53138 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53139 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53140 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53141 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53142 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53143
53144 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53145 _XOPEN_SOURCE_EXTENDED for XPG4.
53146
53147 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53148
53149 * Makeconfig (localtime): Remove variable.
53150 (inst_localtime-file): Likewise.
53151
53152 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53153
53154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53155 Update.
53156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53157 Update.
53158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53159 Update.
53160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53161 Update.
53162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53163 Update.
53164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53165 Update.
53166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53167 Update.
53168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53169 Update.
53170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53171 Update.
53172
53173 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53174
53175 [BZ #2550]
53176 [BZ #2570]
53177 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53178 comparisons to determine direction to adjust input.
53179 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53180 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53182 Likewise.
53183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53184 Likewise.
53185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53186 Likewise.
53187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53189 Likewise.
53190 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53191 Likewise.
53192 * math/libm-test.inc (nexttoward_test): Add more tests.
53193
53194 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53195
53196 [BZ #14040]
53197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53198 in version GLIBC_2.1, not GLIBC_2.0.
53199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53200 Likewise.
53201
53202 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53203
53204 [BZ #13942]
53205 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53206 (1 - x) * (1 + x).
53207 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53208 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53209 * math/libm-test.inc (acos_test): Add more tests.
53210 (asin_test): Likewise.
53211 * sysdeps/i386/fpu/libm-test-ulps: Update.
53212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53213
53214 [BZ #14034]
53215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53216 of square root.
53217 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53218 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53219 * math/libm-test.inc (acos_test_tonearest): New function.
53220 (acos_test_towardzero): Likewise.
53221 (acos_test_downward): Likewise.
53222 (acos_test_upward): Likewise.
53223 (asin_test_tonearest): Likewise.
53224 (asin_test_towardzero): Likewise.
53225 (asin_test_downward): Likewise.
53226 (asin_test_upward): Likewise.
53227 (main): Call the new functions.
53228 * sysdeps/i386/fpu/libm-test-ulps: Update.
53229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53230
53231 [BZ #13884]
53232 [BZ #13924]
53233 * math/e_exp10.c: Include <float.h>.
53234 (__ieee754_exp10): Handle underflow here rather than multiplying
53235 large negative argument by M_LN10.
53236 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53237 of __ieee754_expf.
53238 * math/e_exp10l.c: Include <float.h>.
53239 (__ieee754_exp10l): Handle underflow here rather than multiplying
53240 large negative argument by M_LN10l.
53241 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53242 spurious overflow exception on underflow.
53243
53244 2012-04-29 Marek Polacek <polacek@redhat.com>
53245
53246 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53247 (__fortify_function): New macro.
53248 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53249 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53250 __extern_always_inline.
53251 * libio/bits/stdio2.h: Likewise.
53252 * libio/bits/stdio.h: Likewise.
53253 * string/string.h: Likewise.
53254 * string/bits/string3.h: Likewise.
53255 * include/stdio.h: Likewise.
53256 * stdlib/bits/stdlib.h: Likewise.
53257 * stdlib/stdlib.h: Likewise.
53258 * rt/bits/mqueue2.h: Likewise.
53259 * rt/mqueue.h: Likewise.
53260 * posix/bits/unistd.h: Likewise.
53261 * posix/unistd.h: Likewise.
53262 * io/bits/poll2.h: Likewise.
53263 * io/bits/fcntl2.h: Likewise.
53264 * io/fcntl.h: Likewise.
53265 * io/sys/poll.h: Likewise.
53266 * misc/bits/syslog.h: Likewise.
53267 * misc/bits/syslog-ldbl.h: Likewise.
53268 * misc/sys/syslog.h: Likewise.
53269 * socket/bits/socket2.h: Likewise.
53270 * socket/sys/socket.h: Likewise.
53271 * debug/tst-chk1.c: Likewise.
53272 * wcsmbs/bits/wchar2.h: Likewise.
53273 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53274 * wcsmbs/wchar.h: Likewise.
53275
53276 2012-04-29 Andreas Jaeger <aj@suse.de>
53277
53278 * Makerules (tests): Remove enable-check-abi protection.
53279 (check-abi-warn): Remove.
53280 (check-abi-%): Remove check-abi-warn usage.
53281
53282 * configure.in: Remove check-abi configure option.
53283 * configure: Regenerated.
53284 * config.make.in (enable-check-abi): Remove.
53285
53286 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53287
53288 [BZ #14033]
53289 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53290 double functions to double *_finite functions.
53291
53292 [BZ #13941]
53293 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53294 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53295 LDBL_MIN_EXP.
53296 * stdio-common/Makefile (tests): Add tst-sprintf3.
53297 * stdio-common/tst-sprintf3.c: New file.
53298
53299 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53300 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53301
53302 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53303
53304 * conform/conformtest.pl: Remove duplicate typed-constant
53305 handling.
53306
53307 2012-04-28 David S. Miller <davem@davemloft.net>
53308
53309 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53310 (check-abi-%): Remove AWK script prerequisite and explicit
53311 abilist directory.
53312 (check-abi): Rewrite to just diff the symlist with the abilist.
53313 (config-tls, config-abi-config): Delete, no longer used.
53314 (update-abi-%): Remove AWK script and explicit abilist directory.
53315 (update-abi): Rewrite to simply compare and conditionally copy the
53316 symlist and the sysdep abilist file. Remove update-abi-config
53317 checks.
53318 * abilist/ld.abilist: Remove.
53319 * abilist/libBrokenLocale.abilist: Remove.
53320 * abilist/libanl.abilist: Remove.
53321 * abilist/libcrypt.abilist: Remove.
53322 * abilist/libdl.abilist: Remove.
53323 * abilist/librt.abilist: Remove.
53324 * abilist/libthread_db.abilist: Remove.
53325 * abilist/libutil.abilist: Remove.
53326 * scripts/extract-abilist.awk: Remove.
53327 * scripts/merge-abilist.awk: Remove.
53328 * sysdeps/generic/libcidn.abilist: New file.
53329 * sysdeps/generic/libnss_compat.abilist: New file.
53330 * sysdeps/generic/libnss_db.abilist: New file.
53331 * sysdeps/generic/libnss_dns.abilist: New file.
53332 * sysdeps/generic/libnss_files.abilist: New file.
53333 * sysdeps/generic/libnss_hesiod.abilist: New file.
53334 * sysdeps/generic/libnss_nis.abilist: New file.
53335 * sysdeps/generic/libnss_nisplus.abilist: New file.
53336 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53337 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53338 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53339 file.
53340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53341 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53342 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53343 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53344 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53345 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53346 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53347 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53348 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53349 file.
53350 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53351 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53352 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53353 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53354 file.
53355 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53356 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53358 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53359 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53360 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53361 file.
53362 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53363 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53365 file.
53366 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53368 New file.
53369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53370 New file.
53371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53372 New file.
53373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53374 New file.
53375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53376 New file.
53377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53378 New file.
53379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53380 New file.
53381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53382 New file.
53383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53384 New file.
53385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53386 New file.
53387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53388 New file.
53389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53390 New file.
53391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53392 New file.
53393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53394 file.
53395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53396 New file.
53397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53398 New file.
53399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53400 file.
53401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53402 New file.
53403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53404 New file.
53405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53406 file.
53407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53408 New file.
53409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53410 New file.
53411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53412 New file.
53413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53414 New file.
53415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53416 New file.
53417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53418 New file.
53419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53421 file.
53422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53423 New file.
53424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53425 file.
53426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53427 file.
53428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53429 file.
53430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53431 file.
53432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53433 file.
53434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53435 New file.
53436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53437 file.
53438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53439 file.
53440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53441 New file.
53442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53443 file.
53444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53446 file.
53447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53448 New file.
53449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53450 file.
53451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53452 file.
53453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53454 file.
53455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53456 file.
53457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53458 file.
53459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53460 New file.
53461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53462 file.
53463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53464 file.
53465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53466 New file.
53467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53468 file.
53469 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53470 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53471 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53472 file.
53473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53474 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53475 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53477 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53479 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53480 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53481 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53482 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53485 file.
53486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53487 New file.
53488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53489 file.
53490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53491 file.
53492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53493 file.
53494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53495 file.
53496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53497 file.
53498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53499 New file.
53500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53501 New file.
53502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53503 file.
53504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53505 New file.
53506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53507 file.
53508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53510 file.
53511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53512 New file.
53513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53514 file.
53515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53516 file.
53517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53518 file.
53519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53520 file.
53521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53522 file.
53523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53524 New file.
53525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53526 New file.
53527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53528 file.
53529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53530 New file.
53531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53532 file.
53533
53534 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53535
53536 * conform/conformtest.pl: Fix typo in handling typed-constant from
53537 allow-header.
53538
53539 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53540
53541 * README: Cut down references to pre-2.6 Linux kernels and
53542 Linuxthreads. Update lists of configurations in libc and ports
53543 and sort alphabetically. Say "or newer" with Linux kernel version
53544 requirements.
53545
53546 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53547
53548 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53549
53550 [BZ #887]
53551 * math/libm-test.inc (logb_test_downward): New test to expose
53552 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53553 rounding mode.
53554
53555 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53556
53557 [BZ #14027]
53558 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53559 to be done.
53560 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53561 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53562
53563 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53564
53565 * sysdeps/unix/i386/brk.S: Remove file.
53566 * sysdeps/unix/i386/dl-brk.S: Likewise.
53567 * sysdeps/unix/i386/pipe.S: Likewise.
53568 * sysdeps/unix/i386/sigreturn.S: Likewise.
53569 * sysdeps/unix/i386/syscall.S: Likewise.
53570 * sysdeps/unix/i386/vfork.S: Likewise.
53571 * sysdeps/unix/i386/wait.S: Likewise.
53572
53573 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53574 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53575
53576 * configure.in (arm*-none*): Do not allow without
53577 --enable-hacker-mode.
53578 (netbsd*): Remove case setting base_os.
53579 (386bsd*): Likewise.
53580 (freebsd*): Likewise.
53581 (bsdi*): Likewise.
53582 (osf*): Likewise.
53583 (sunos*): Likewise.
53584 (ultrix*): Likewise.
53585 (newsos*): Likewise.
53586 (dynix*): Likewise.
53587 (*bsd*): Likewise.
53588 (sysv*): Likewise.
53589 (isc*): Likewise.
53590 (esix*): Likewise.
53591 (sco*): Likewise.
53592 (minix*): Likewise.
53593 (irix4*): Likewise.
53594 (irix6*): Likewise.
53595 (solaris[2-9]*): Likewise.
53596 (none): Likewise.
53597 * configure: Regenerated.
53598
53599 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53600
53601 [BZ #11521]
53602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53603 overflow or cancellation in calculating denominator.
53604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53605 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53606 down expression to avoid unexpected rounding in newer GCCs.
53607 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53608
53609 2012-04-26 David S. Miller <davem@davemloft.net>
53610
53611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53612 long-double compat symbols.
53613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53626
53627 2012-04-25 David S. Miller <davem@davemloft.net>
53628
53629 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53630 HWCAP_* values only after the memory barriers have been defined.
53631 (atomic_full_barrier): Define.
53632 (atomic_read_barrier): Define.
53633 (atomic_write_barrier): Define.
53634
53635 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53636
53637 * shlib-versions: Add libgcc_s version information.
53638 * sysdeps/generic/libgcc_s.h: Remove.
53639 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53640 libgcc_s.h.
53641 * sysdeps/gnu/unwind-resume.c: Likewise.
53642 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53643
53644 2012-04-25 David S. Miller <davem@davemloft.net>
53645
53646 * sysdeps/unix/sparc/brk.S: Delete.
53647 * sysdeps/unix/sparc/dl-brk.S: Delete.
53648 * sysdeps/unix/sparc/pipe.S: Delete.
53649 * sysdeps/unix/sparc/sysdep.S: Delete.
53650 * sysdeps/unix/sparc/sysdep.h: Delete.
53651 * sysdeps/unix/sparc/vfork.S: Delete.
53652 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53653 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53655 (ret_ERRVAL, r0, r1, MOVE): Define.
53656 (JUMPTARGET): Remove.
53657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53658 sysdeps/unix/sparc/sysdep.h
53659 (ENTRY, END): Remove.
53660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53661
53662 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53663
53664 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53665 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53666 -DIS_IN_build.
53667
53668 * timezone/README: Update upstream location and email address for
53669 tzcode and tzdata.
53670 * timezone/zdump.c: Update from tzcode 2012b.
53671 * timezone/zic.c: Likewise.
53672
53673 * configure.in (libc_cv_as_needed): Remove test.
53674 * configure: Regenerated.
53675 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53676 conditional definition.
53677 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53678 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53679 * config.make.in (have-as-needed): Remove variable.
53680
53681 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53682 Paul Pluzhnikov <ppluzhnikov@google.com>
53683
53684 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53685 strings correctly.
53686
53687 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53688
53689 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53690 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53691 * sysdeps/sh/strlen.S: Likewise.
53692
53693 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53694
53695 * sysdeps/unix/fork.S: Remove file.
53696 * sysdeps/unix/i386/fork.S: Likewise.
53697 * sysdeps/unix/sparc/fork.S: Likewise.
53698
53699 * sysdeps/unix/system.c: Remove file.
53700 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53701
53702 * sysdeps/unix/getegid.S: Remove file.
53703 * sysdeps/unix/geteuid.S: Likewise.
53704
53705 2012-04-24 Roland McGrath <roland@hack.frob.com>
53706
53707 * scripts/check-localplt.awk: New file.
53708 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53709 of diff.
53710 * scripts/data/localplt-generic.data: Add a comment.
53711
53712 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53713 NODE when __dir_mkfile failed.
53714 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53715 Reported by Ludovic Courtès <ludo@gnu.org>.
53716
53717 2012-04-24 Andreas Jaeger <aj@suse.de>
53718
53719 * Makerules (common-clean): Also remove gen-as-const-headers
53720 files.
53721
53722 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53723
53724 * Makerules (native-compile): Do not change working directory for
53725 build. Use $(OUTPUT_OPTION) in command.
53726 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53727
53728 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53729
53730 [BZ #13886]
53731 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53732 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53733 * math/libm-test.inc (floor_test): Add more tests.
53734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53735
53736 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53737
53738 * sysdeps/unix/getdents.c: Remove file.
53739 * sysdeps/unix/sysv/getdents.c: Likewise.
53740 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53741
53742 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53743 sysdeps/unix/mman/syscalls.list.
53744 (mmap): Likewise.
53745 (mprotect): Likewise.
53746 (msync): Likewise.
53747 (munmap): Likewise.
53748 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53749 * sysdeps/unix/mman/syscalls.list: Remove.
53750 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53751
53752 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53753 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53754 * configure: Regenerated.
53755 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53756 $(libgcc_s_suffix).
53757 * config.make.in (libgcc_s_suffix): Remove variable.
53758
53759 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53760
53761 * sysdeps/unix/sysv/gethostname.c: Move to ...
53762 * sysdeps/posix/gethostname.c: ... here.
53763
53764 * sysdeps/unix/execve.S: Remove file.
53765
53766 * sysdeps/unix/_exit.S: Remove file.
53767
53768 2012-04-23 Andreas Jaeger <aj@suse.de>
53769
53770 [BZ #13739]
53771 * manual/Makefile: Remove make dist support, there's no
53772 need for a stand-alone documentation tar ball.
53773 (TEXI2DVI): Define always, it's not in Makeconfig.
53774 (dist): Removed.
53775 (tar-it): Removed.
53776 (edition): Removed.
53777 (glibc-doc-$(edition).tar): Removed
53778 (%.Z): Removed.
53779 (%.gz): Removed.
53780 (%.uu): Removed.
53781 (ETAGS): Remove, it's in Makeconfig.
53782 (move-if-change): Remove, it's in Makeconfig.
53783
53784 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53785
53786 [BZ #13970]
53787 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53788 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53789 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53790 (strtod_l, strtof_l, strtold_l): Remove __wur.
53791 It is not necessarily an error to ignore strtol's return value.
53792 One can reliably look at the stored endptr to decide whether
53793 the number had valid syntax.
53794
53795 2012-04-21 Andreas Jaeger <aj@suse.de>
53796
53797 [BZ #13739]
53798 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53799
53800 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53801
53802 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53803 * sysdeps/unix/sysv/Versions: Remove file.
53804
53805 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53806
53807 [BZ #13927]
53808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53809
53810 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53811
53812 [BZ #7064]
53813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53814 version from __vm86.
53815
53816 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53817
53818 * sysdeps/unix/common/lxstat.c: Remove file.
53819 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53820
53821 * sysdeps/unix/sysv/Makefile: Remove file.
53822
53823 * sysdeps/unix/sysv/direct.h: Remove file.
53824
53825 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53826 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53827 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53828 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53829 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53830 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53831 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53832
53833 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53834
53835 * sysdeps/unix/xmknod.c: Remove file.
53836 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53837
53838 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53839
53840 * sysdeps/unix/sysv/i386/time.S: Remove file.
53841
53842 * sysdeps/unix/fxstat.c: Remove file.
53843 * sysdeps/unix/xstat.c: Likewise.
53844 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53845
53846 * sysdeps/unix/sysv/sigaction.c: Remove file.
53847
53848 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53849 (sysdep_headers): Remove variable.
53850 [termio.h not in sysdep_headers] (generated): Likewise.
53851 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53852 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53853 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53854 * sysdeps/unix/sysv/tcflow.c: Likewise.
53855 * sysdeps/unix/sysv/tcflush.c: Likewise.
53856 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53857 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53858 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53859 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53860 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53861
53862 * sysdeps/unix/siglist.c: Remove file.
53863
53864 * sysdeps/unix/getppid.S: Remove file.
53865
53866 * sysdeps/unix/mkdir.c: Remove file.
53867 * sysdeps/unix/rmdir.c: Likewise.
53868
53869 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53870
53871 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53872 ERR_MAX value.
53873 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53874 errlist-compat value.
53875
53876 2012-04-18 David S. Miller <davem@davemloft.net>
53877
53878 * sysdeps/generic/memcopy.h (reg_char): Delete.
53879 * debug/strcat_chk.c: Use char, not reg_char.
53880 * debug/strcpy_chk.c: Likewise.
53881 * debug/strncat_chk.c: Likewise.
53882 * debug/strncpy_chk.c: Likewise.
53883 * string/memchr.c: Likewise.
53884 * string/memrchr.c: Likewise.
53885 * string/rawmemchr.c: Likewise.
53886 * string/strcat.c: Likewise.
53887 * string/strchr.c: Likewise.
53888 * string/strchrnul.c: Likewise.
53889 * string/strcmp.c: Likewise.
53890 * string/strcpy.c: Likewise.
53891 * string/strncat.c: Likewise.
53892 * string/strncmp.c: Likewise.
53893 * string/strncpy.c: Likewise.
53894
53895 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53896
53897 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53898 __builtin_memcopy is called when src and dest ranges are known to not
53899 overlap.
53900
53901 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53902
53903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53904 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53905 fwd_align_merge macro call.
53906 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53907 bwd_align_merge macro call.
53908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53909
53910 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53911
53912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53913 bwd_align_merge macros.
53914 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53915 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53916 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53917
53918 2012-04-18 David S. Miller <davem@davemloft.net>
53919
53920 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53921
53922 2012-04-18 Andreas Jaeger <aj@suse.de>
53923
53924 [BZ# 6794]
53925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53926 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53928
53929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53930 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53932
53933 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53934 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53935 Adjust for changed ldbl-128 files.
53936
53937 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53938 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53939 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53940
53941 2012-04-17 David S. Miller <davem@davemloft.net>
53942
53943 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53944
53945 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53946
53947 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53948 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53949 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53950 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53951 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53952 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53953
53954 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53955
53956 [BZ #6794]
53957 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53958 * math/libm-test.inc: Add ilogb errno and exception tests.
53959 * math/w_ilogb.c: New file: ilogb wrapper.
53960 * math/w_ilogbf.c: New file: ilogbf wrapper.
53961 * math/w_ilogbl.c: New file: ilogbl wrapper.
53962 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53963 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53964 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53965 exception being thrown with 0.0 as argument.
53966 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53967 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53968 exception being thrown with 0.0 as argument.
53969 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53970 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53971 exception being thrown with 0.0 as argument.
53972 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53973 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53974 exception being thrown with 0.0 as argument.
53975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53976 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53978 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53980 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53981 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53982 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53983 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53984
53985 2012-04-17 Petr Baudis <pasky@ucw.cz>
53986
53987 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53988 with altivec.
53989
53990 2012-04-16 Marek Polacek <polacek@redhat.com>
53991
53992 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53993
53994 2012-04-16 Marek Polacek <polacek@redhat.com>
53995
53996 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53997 operands of fdivp instruction.
53998
53999 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54000
54001 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54002 * elf/tst-auditmod3b.c: Likewise.
54003 * elf/tst-auditmod4b.c: Likewise.
54004 * elf/tst-auditmod5b.c: Likewise.
54005 * elf/tst-auditmod6b.c: Likewise.
54006 * elf/tst-auditmod6c.c: Likewise.
54007 * elf/tst-auditmod7b.c: Likewise.
54008 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54009 * sysdeps/x86_64/preconfigure.in: Likewise.
54010 * sysdeps/x86_64/preconfigure: Regenerated.
54011
54012 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54013
54014 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54015 __ILP32__.
54016
54017 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54018
54019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54020 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54021
54022 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54023
54024 [BZ #13973]
54025 * locale/iso-639.def: Fix gl language name. Spotted by
54026 Yaron Shahrabani.
54027
54028 2012-04-12 Roland McGrath <roland@hack.frob.com>
54029
54030 [BZ #2074]
54031 * libio/libio.h (__io_write_fn): Update comment.
54032
54033 2012-04-12 Petr Baudis <pasky@ucw.cz>
54034
54035 [BZ #2074]
54036 * stdio.texi (Hook Functions): The user provided writer function
54037 is not allowed to return -1.
54038
54039 2012-04-11 David S. Miller <davem@davemloft.net>
54040
54041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54042
54043 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54044
54045 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54046 Add a leading slash to rtkaio.
54047
54048 2012-04-11 Jim Meyering <meyering@redhat.com>
54049
54050 [BZ #11959]
54051 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54052 It is not necessarily an error to ignore fwrite's return
54053 value. One can reliably use ferror to test for errors after
54054 the fact.
54055
54056 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54057
54058 * bits/types.h (__snseconds_t): New type.
54059 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54060
54061 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54063 (__SNSECONDS_T_TYPE): Likewise.
54064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54065 (__SNSECONDS_T_TYPE): Likewise.
54066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54067 (__SNSECONDS_T_TYPE): Likewise.
54068
54069 2012-04-10 Andreas Jaeger <aj@suse.de>
54070
54071 [BZ #2636]
54072 * manual/time.texi (Processor Time): Return type of times is
54073 elapsed real time since an arbitrary point in the past.
54074 (CPU Time): Move CLK_TCK from here...
54075 (Processor Time): ...to here. Correct description.
54076 * manual/conf.texi (Constants for Sysconf): Correct description of
54077 _SC_CLK_TCK.
54078
54079 2012-04-10 David S. Miller <davem@davemloft.net>
54080
54081 [BZ #13967]
54082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54083 where the is a gap between DT_REL(A) and DT_JMPREL.
54084
54085 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54086
54087 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54088 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54089 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54090
54091 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54092
54093 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54094 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54095 (dl_main): Handle --inhibit-cache.
54096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54097 _dl_inhibit_cache.
54098 * elf/dl-load.c (_dl_map_object): Use it.
54099 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54100
54101 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54102
54103 [BZ #13872]
54104 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54105 (__ieee754_powl): Saturate large exponents rather than testing for
54106 overflow of y*log2(x).
54107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54108 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54109 exceptions.
54110
54111 [BZ #11521]
54112 * math/s_ctan.c: Include <float.h>.
54113 (__ctan): Avoid internal overflow or cancellation in calculating
54114 denominator.
54115 * math/s_ctanf.c: Likewise.
54116 * math/s_ctanl.c: Likewise.
54117 * math/s_ctanh.c: Likewise.
54118 * math/s_ctanhf.c: Likewise.
54119 * math/s_ctanhl.c: Likewise.
54120 * math/libm-test.inc (ctan_test): Add more tests.
54121 (ctanh_test): Likewise.
54122 * sysdeps/i386/fpu/libm-test-ulps: Update.
54123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54124
54125 2012-04-09 Andreas Jaeger <aj@suse.de>
54126
54127 [BZ #6894]
54128 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54129 is an optional BSD extension.
54130
54131 [BZ #10254]
54132 * manual/stdio.texi (Opening Streams): Document additional fopen
54133 parameters.
54134
54135 2012-04-09 Roland McGrath <roland@hack.frob.com>
54136
54137 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54138 %eax without telling the compiler.
54139
54140 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54141
54142 [BZ # 13963]
54143 * manual/install.texi: Use sourceware.org.
54144
54145 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54146
54147 [BZ #13873]
54148 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54149 (__ieee754_pow): Generate overflow and underflow using huge*huge
54150 and tiny*tiny rather than just returning constant infinity or zero
54151 for large exponents.
54152 * math/libm-test.inc (pow_test): Require overflow exceptions for
54153 applicable cases of large exponents.
54154
54155 [BZ #706]
54156 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54157 (__ieee754_pow): Use iterative multiplication algorithm only for
54158 integer exponents with absolute value below 1024. Check for odd
54159 integer exponents when using algorithm for real exponents.
54160 * math/libm-test.inc (pow_test): Add more tests.
54161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54162
54163 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54164
54165 [BZ #13705]
54166 * math/libm-test.inc (exp_test): Do not allow overflow exception
54167 on underflow test.
54168
54169 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54170
54171 [BZ #13705]
54172 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54173 instead of __kernel_standard_f.
54174
54175 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54176
54177 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54178 * sysdeps/x86_64/memset_chk.S: Likewise.
54179
54180 2012-04-08 Andreas Jaeger <aj@suse.de>
54181
54182 [BZ #10153]
54183 * manual/startup.texi (Environment Access): Describe return value
54184 for putenv and setenv.
54185
54186 [BZ #6895]
54187 * manual/filesys.texi (Directory Entries): Add description for
54188 DT_LNK.
54189
54190 [BZ #6890]
54191 * manual/filesys.texi (Directory Entries): Clarify that it's file
54192 system not operating system in the description of DT_UNKNOWN.
54193
54194 [BZ #6578]
54195 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54196
54197 2012-04-08 Stephen Compall <s11@member.fsf.org>
54198
54199 [BZ #6649]
54200 * manual/llio.texi (Opening and Closing Files): Add cross
54201 reference to explain mode argument.
54202
54203 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54204
54205 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54206 * sysdeps/x86_64/memset_chk.S: Likewise.
54207
54208 2012-04-07 David S. Miller <davem@davemloft.net>
54209
54210 * elf/elf.h (R_SPARC_WDISP10): Define.
54211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54212 R_SPARC_SIZE32.
54213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54214 R_SPARC_SIZE64 and R_SPARC_H34.
54215
54216 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54217
54218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54219 conditions and remove no longer applicable assertion.
54220
54221 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54222
54223 * bits/byteswap.h: Include <features.h>.
54224 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54225 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54226
54227 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54228
54229 * bits/byteswap.h (__bswap_16): Removed.
54230 Include <bits/byteswap-16.h> to get __bswap_16.
54231 * sysdeps/i386/bits/byteswap.h: Likewise.
54232 * sysdeps/s390/bits/byteswap.h: Likewise.
54233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54234 * bits/byteswap-16.h: New file.
54235 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54236 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54237 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54238 * string/Makefile (headers): Add bits/byteswap-16.h.
54239
54240 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54241
54242 [BZ #13895]
54243 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54244 extra indirection.
54245 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54246 * nss/tst-nss-static.c: New.
54247
54248 2012-04-06 Robert Millan <rmh@gnu.org>
54249
54250 [BZ #6486]
54251 * manual/llio.texi (File Position Primitive): lseek
54252 refers to WHENCE when it really means OFFSET.
54253
54254 2012-04-06 Andreas Jaeger <aj@suse.de>
54255
54256 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54257 strncmp declarations.
54258
54259 * abilist/libc.abilist: Add __poll and __ppoll.
54260
54261 2012-04-05 David S. Miller <davem@davemloft.net>
54262
54263 * scripts/check-local-headers.sh: Accept a host triplet in the
54264 path matched by the exclude regexp.
54265
54266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54267 definition.
54268 * sysdeps/powerpc/powerpc32/dl-machine.h
54269 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54270 * sysdeps/s390/s390-32/dl-machine.h
54271 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54272 * sysdeps/sparc/sparc32/dl-machine.h
54273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54274 * sysdeps/sparc/sparc64/dl-machine.h
54275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54276
54277 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54278 lazy binding.
54279 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54280 undefined symbol errors.
54281
54282 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54283 DT_NEEDED entries.
54284
54285 2012-04-05 Michael Matz <matz@suse.de>
54286
54287 [BZ #13592]
54288 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54289
54290 2012-04-05 Andreas Jaeger <aj@suse.de>
54291
54292 [BZ #13908]
54293 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54294 comment.
54295
54296 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54297
54298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54299 which ROUND is no valid rounding mode.
54300
54301 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54302
54303 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54304 read again.
54305 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54306
54307 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54308
54309 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54310 an exception using FPU order intentionally.
54311
54312 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54313
54314 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54315 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54316 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54317 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54318
54319 2012-04-05 Simon Josefsson <simon@josefsson.org>
54320
54321 [BZ #12340]
54322 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54323 EINVAL when BUFLEN is too smal.
54324
54325 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54326
54327 [BZ #13553]
54328 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54329 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54330
54331 2012-04-03 Andreas Jaeger <aj@suse.de>
54332
54333 [BZ #13938]
54334 * manual/setjmp.texi (System V contexts): Fix sentence.
54335
54336 [BZ #13926]
54337 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54338 New macro for this case.
54339 [!__GNUC__] (__bswap_64): New inline function for this case.
54340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54341 * bits/byteswap.h: Likewise.
54342 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54343 ull, guard with __GLIBC_HAVE_LONG_LONG.
54344
54345 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54346 __GLIBC_HAVE_LONG_LONG.
54347
54348 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54349 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54350
54351 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54352
54353 [BZ #13691]
54354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54355 inptr and inend, rather than using last_ch.
54356
54357 2012-04-02 David S. Miller <davem@davemloft.net>
54358
54359 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54360 * stdio-common/printf-parse.h (read_int): Change return type to
54361 'int', return -1 on INT_MAX overflow.
54362 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54363 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54364 overflows INT_MAX. Check for overflow of in-format-string precision
54365 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54366 SIZE_MAX not INT_MAX for integer overflow test.
54367 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54368 skip the construct in the format string but do not record anything.
54369 * stdio-common/bug22.c: Adjust to test both width/prevision
54370 INT_MAX overflow as well as total length INT_MAX overflow. Check
54371 explicitly for proper errno values.
54372
54373 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54374
54375 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54376 CHAR_MAX.
54377 * string/test-strcmp.c [! WIDE]: Likewise.
54378 * time/tst-mktime2.c: Likewise for INT_MAX.
54379 * string/test-string.h: #include <sys/param.h> for MIN.
54380
54381 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54382 * sysdeps/i386/init-first.c (init): Likewise.
54383 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54384 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54385 * sysdeps/sh/init-first.c (init): Likewise.
54386
54387 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54388
54389 * po/ru.po: Update from translation team.
54390 * po/vi.po: Likewise.
54391
54392 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54393
54394 * resolv/nss_dns/dns-host.c: Merge copyright years.
54395
54396 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54397
54398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54399 Optimize memcpy with prefetch if
54400 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54401 src, dst pointers have unequal 16 byte alignments.
54402
54403 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54404
54405 [BZ #13928]
54406 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54407 from a CNAME entry and return the minimum ttl for the query.
54408 (gaih_getanswer_slice): Likewise.
54409
54410 2012-03-30 Jeff Law <law@redhat.com>
54411
54412 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54413 due to long keys.
54414 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54415 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54416
54417 * resolv/nss_dns/dns-host.c: Update copyright year.
54418
54419 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54420
54421 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54422 requests to save a system call. Fix check that all bytes are sent.
54423
54424 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54425 comments for sendmmsg.
54426
54427 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54428
54429 [BZ #13691]
54430 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54431 with only 1 character between 0x0041 and 0x01b0.
54432 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54433 * wcsmbs/tst-mbsnrtowcs.c: New file.
54434
54435 2012-03-29 David S. Miller <davem@davemloft.net>
54436
54437 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54438 small copies by hand.
54439
54440 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54441
54442 [BZ #13761]
54443 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54444 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54445 group memberships.
54446
54447 2012-03-28 David S. Miller <davem@davemloft.net>
54448
54449 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54450 that branches into memcpy.
54451 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54454 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54456 bits.
54457 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54458 implementation too.
54459 * sysdeps/sparc/mempcpy.S: New file.
54460
54461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54462 the IFUNC routine in the libc case.
54463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54464
54465 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54466 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54467 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54468 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54469 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54470 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54471 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54472 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54473
54474 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54475 loop to 256 bytes instead of 64 bytes and fix test signedness.
54476
54477 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54478 * sysdeps/sparc/sparc32/Makefile: rather than here...
54479 * sysdeps/sparc/sparc64/Makefile: and here.
54480
54481 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54482
54483 * malloc/mallocbug.c: Avoid warnings about unused variables.
54484
54485 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54486
54487 [BZ #13760]
54488 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54489 in the right place. Discard and retry query if response is
54490 larger than input buffer size.
54491
54492 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54493
54494 [BZ #369]
54495 [BZ #2678]
54496 [BZ #3866]
54497 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54498 x for large integer exponent.
54499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54500 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54501 sign of result as needed afterwards.
54502 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54503 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54504 result for underflowing pow the same as for overflow.
54505 (__kernel_standard_l): Handle powl overflow and underflow here
54506 rather than calling __kernel_standard.
54507 * math/libm-test.inc (pow_test): Add more tests.
54508
54509 [BZ #3868]
54510 [BZ #13879]
54511 [BZ #13910]
54512 [BZ #13911]
54513 [BZ #13912]
54514 [BZ #13913]
54515 [BZ #13915]
54516 [BZ #13916]
54517 [BZ #13917]
54518 [BZ #13918]
54519 [BZ #13919]
54520 [BZ #13920]
54521 [BZ #13921]
54522 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54523 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54524 (__kernel_standard_l): New function.
54525 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54526 __kernel_standard.
54527 * math/w_acosl.c (__acosl): Likewise.
54528 * math/w_asinl.c (__asinl): Likewise.
54529 * math/w_atan2l.c (__atan2l): Likewise.
54530 * math/w_atanhl.c (__atanhl): Likewise.
54531 * math/w_coshl.c (__coshl): Likewise.
54532 * math/w_exp10l.c (__exp10l): Likewise.
54533 * math/w_exp2l.c (__exp2l): Likewise.
54534 * math/w_fmodl.c (__fmodl): Likewise.
54535 * math/w_hypotl.c (__hypotl): Likewise.
54536 * math/w_j0l.c (__j0l, __y0l): Likewise.
54537 * math/w_j1l.c (__j1l, __y1l): Likewise.
54538 * math/w_jnl.c (__jnl, __ynl): Likewise.
54539 * math/w_lgammal.c (__lgammal): Likewise.
54540 * math/w_log10l.c (__log10l): Likewise.
54541 * math/w_log2l.c (__log2l): Likewise.
54542 * math/w_logl.c (__logl): Likewise.
54543 * math/w_powl.c (__powl): Likewise.
54544 * math/w_remainderl.c (__remainderl): Likewise.
54545 * math/w_scalbl.c (sysv_scalbl): Likewise.
54546 * math/w_sinhl.c (__sinhl): Likewise.
54547 * math/w_sqrtl.c (__sqrtl): Likewise.
54548 * math/w_tgammal.c (__tgammal): Likewise.
54549 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54550 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54551 * math/libm-test.inc (acos_test): Add more tests.
54552 (acosh_test): Likewise.
54553 (asin_test): Likewise.
54554 (atanh_test): Likewise.
54555 (exp_test): Likewise.
54556 (exp10_test): Likewise.
54557 (exp2_test): Likewise.
54558 (expm1_test): Likewise.
54559 (lgamma_test): Likewise.
54560 (log_test): Likewise.
54561 (log10_test): Likewise.
54562 (log1p_test): Likewise.
54563 (log2_test): Likewise.
54564 (pow_test): Do not allow some spurious overflow exceptions.
54565 (sqrt_test): Add more tests.
54566 (tgamma_test): Likewise.
54567 (y0_test): Likewise.
54568 (y1_test): Likewise.
54569 (yn_test): Likewise.
54570
54571 2012-03-27 Anton Blanchard <anton@samba.org>
54572
54573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54574 MAP_HUGETLB.
54575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54576 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54578
54579 2012-03-27 David S. Miller <davem@davemloft.net>
54580
54581 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54582
54583 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54584 have-as-vis3 check.
54585
54586 2012-03-27 Andreas Jaeger <aj@suse.de>
54587
54588 * sysdeps/x86_64/elf/configure.in: Moved to ...
54589 * sysdeps/x86_64/configure.in: ... here.
54590 * sysdeps/x86_64/elf/start.S: Moved to ...
54591 * sysdeps/x86_64/start.S: ... here.
54592 * sysdeps/x86_64/elf/configure: Delete.
54593
54594 * sysdeps/x86_64/configure.in: Merge contents from
54595 sysdeps/i386/configure.in (without i686 check).
54596
54597 * sysdeps/i386/elf/Versions: Merge into ...
54598 * sysdeps/i386/Versions: ... this.
54599 * sysdeps/i386/elf/Versions: Delete file.
54600 * sysdeps/i386/elf/start.S: Moved to ...
54601 * sysdeps/i386/start.S: ...here.
54602 * sysdeps/i386/elf/configure.in: Merge into...
54603 * sysdeps/i386/configure.in: ...here.
54604 * sysdeps/i386/elf/configure.in: Delete file.
54605 * sysdeps/i386/elf/configure: Delete file.
54606
54607 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54608 * debug/backtracesyms.c: ... here.
54609 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54610 * debug/backtracesymsfd.c: ... here.
54611 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54612 * sysdeps/generic/ifunc-sel.h: ... here.
54613
54614 * sysdeps/unix/i386/start.c: Delete file.
54615 * sysdeps/unix/sparc/start.c: Delete file.
54616 * sysdeps/unix/start.c: Delete file.
54617
54618 * sysdeps/sh/elf/configure.in: Moved to ...
54619 * sysdeps/sh/configure.in: ... here.
54620 * sysdeps/sh/elf/start.S: Moved to ...
54621 * sysdeps/sh/start.S: ... here.
54622 * sysdeps/sh/elf/configure: Delete file.
54623
54624 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54625 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54626 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54627 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54628 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54629 * sysdeps/powerpc/powerpc64/start.S: here.
54630 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54631 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54632 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54633 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54634 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54635
54636 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54637 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54638 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54639 * sysdeps/powerpc/powerpc32/start.S: ... here.
54640 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54641 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54642 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54643
54644 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54645 * sysdeps/powerpc/ifunc-sel.h: ... here.
54646 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54647 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54648
54649 * sysdeps/sparc/elf/configure.in: Moved to ...
54650 * sysdeps/sparc/configure.in: ... here.
54651 * sysdeps/sparc/elf/configure: Delete file.
54652 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54653 * sysdeps/sparc/sparc32/start.S: ... here.
54654 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54655 * sysdeps/sparc/sparc64/start.S: ... here.
54656 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54657 * sysdeps/sparc/sparc32/Makefile: ... this.
54658 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54659 * sysdeps/sparc/sparc64/Makefile: ... this.
54660
54661 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54662 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54663 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54664 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54665 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54666 * sysdeps/s390/s390-32/setjmp.S: ... here.
54667 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54668 * sysdeps/s390/s390-32/configure.in: ... here.
54669 * sysdeps/s390/s390-32/elf/configure: Delete file.
54670 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54671 * sysdeps/s390/s390-32/start.S: ... here.
54672
54673 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54674 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54675 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54676 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54677 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54678 * sysdeps/s390/s390-64/setjmp.S: ... here.
54679 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54680 * sysdeps/s390/s390-64/configure.in: ... here
54681 * sysdeps/s390/s390-64/elf/configure: Delete file.
54682 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54683 * sysdeps/s390/s390-64/start.S: ... here.
54684 * sysdeps/s390/s390-64/elf/configure: Delete.
54685
54686 * configure.in: Remove support for elf directories in sysdeps.
54687
54688 * configure: Regenerated.
54689 * sysdeps/i386/configure: Regenerated.
54690 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54691 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54692 * sysdeps/s390/s390-32/configure: Regenerated.
54693 * sysdeps/s390/s390-64/configure: Regenerated.
54694 * sysdeps/sh/configure: Regenerated.
54695 * sysdeps/sparc/configure: Regenerated.
54696 * sysdeps/x86_64/configure: Regenerated.
54697
54698 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54699
54700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54701
54702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54703 denormal result into account.
54704
54705 2012-03-25 Roland McGrath <roland@hack.frob.com>
54706
54707 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54708 Reported by Allan McRae <allan@archlinux.org>.
54709
54710 2012-03-23 Jeff Law <law@redhat.com>
54711
54712 * nss/getnssent.c (__nss_getent): Fix typo.
54713
54714 2012-03-23 David S. Miller <davem@davemloft.net>
54715
54716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54717
54718 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54719
54720 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54721 to pad to uint64_t for each field.
54722 (dl_tls_index): Replace unsigned long with uint64_t.
54723
54724 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54725 Paul Pluzhnikov <ppluzhnikov@google.com>
54726
54727 [BZ #6528]
54728 * grp/Makefile (otherlibs): Don't set it.
54729 * inet/Makefile (otherlibs): Likewise.
54730 * login/Makefile (otherlibs): Likewise.
54731 * nscd/Makefile (otherlibs): Likewise.
54732 * posix/Makefile (otherlibs): Likewise.
54733 * pwd/Makefile (otherlibs): Likewise.
54734 * rt/Makefile (otherlibs): Likewise.
54735 * sunrpc/Makefile (otherlibs): Likewise.
54736 * nss/Makefile (otherlibs): Likewise.
54737 Add libnss_files to routines and static-only-routines.
54738 ($(objpfx)getent): Remove rule.
54739 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54740 static-only-routines.
54741
54742 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54743
54744 [BZ #13892]
54745 * math/s_cexp.c: Include <float.h>.
54746 (__cexp): Handle exp result overflowing not necessarily
54747 overflowing both real and imaginary parts of result.
54748 * math/s_cexpf.c: Likewise.
54749 * math/s_cexpl.c: Likewise.
54750 * math/libm-test.inc (cexp_test): Add more tests.
54751 * sysdeps/i386/fpu/libm-test-ulps: Update.
54752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54753
54754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54755
54756 * include/link.h (ELFW): New macro.
54757 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54758 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54759
54760 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54761
54762 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54763 with uint64_t.
54764
54765 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54766
54767 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54768 declaration.
54769 (struct La_x32_retval): Likewise.
54770
54771 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54772
54773 * sysdeps/x86_64/preconfigure.in: New file.
54774 * sysdeps/x86_64/preconfigure: New generated file.
54775
54776 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54777
54778 [BZ #13824]
54779 * math/e_exp2l.c: Include <float.h>.
54780 (__ieee754_exp2l): Handle overflow and underflow cases
54781 separately. Only pass fractional part of argument to
54782 __ieee754_expl.
54783 * math/libm-test.inc (exp2_test): Add more tests.
54784
54785 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54786 negating x to take absolute value.
54787 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54788 Likewise.
54789 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54790 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54791 Likewise.
54792 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54793 computing low part if x was negated.
54794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54795
54796 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54797
54798 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54799 la_x32_gnu_pltexit.
54800 (pltexit): Cast int_retval to ptrdiff_t.
54801 * elf/tst-auditmod3b.c: Likewise.
54802 * elf/tst-auditmod4b.c: Likewise.
54803 * elf/tst-auditmod5b.c: Likewise.
54804 * elf/tst-auditmod6b.c: Likewise.
54805 * elf/tst-auditmod6c.c: Likewise.
54806 * elf/tst-auditmod7b.c: Likewise.
54807
54808 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54809 and x32_gnu_pltexit.
54810
54811 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54812 __ELF_NATIVE_CLASS.
54813 (La_x32_regs): New macro.
54814 (La_x32_retval): Likewise.
54815 (la_x32_gnu_pltenter): New function prototype.
54816 (la_x32_gnu_pltexit): Likewise.
54817
54818 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54819
54820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54821 exponent.
54822
54823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54824
54825 * configure.in (libc_cv_cc_nofma): Check for option to disable
54826 generation of FMA instructions.
54827 * configure: Regenerate.
54828 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54829 * sysdeps/ieee754/dbl-64/Makefile: New file.
54830 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54831 Remove brandred-fma4.
54832 (CFLAGS-brandred-fma4.c): Remove.
54833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54835 define.
54836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54837 define.
54838
54839 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54840
54841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54842 LLONG_MAX != LONG_MAX.
54843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54844 (_fitoa_word): Likewise.
54845 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54846 LLONG_MAX != LONG_MAX.
54847 * stdio-common/_itowa.h: Include <_itoa.h>.
54848 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54849 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54850 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54851 only if not defined.
54852 (_ITOA_WORD_TYPE): Likewise.
54853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54854 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54855
54856 2012-03-21 David S. Miller <davem@davemloft.net>
54857
54858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54859
54860 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54861
54862 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54863 of x86_64 when setting libc_cv_slibdir, libdir and
54864 libc_cv_localedir.
54865 * sysdeps/unix/sysv/linux/configure: Regenerated.
54866
54867 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54868
54869 * manual/lang.texi (Old Varargs): Remove section.
54870 (How Variadic): Update menu.
54871 (va_start): Do not mention varargs.h.
54872
54873 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54874 Joseph Myers <joseph@codesourcery.com>
54875
54876 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54877 link test.
54878 * configure: Regenerated.
54879
54880 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54881
54882 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54883 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54884 conformtest.pl
54885
54886 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54887
54888 * NOTES: Remove.
54889 * Makefile (files-for-dist): Remove NOTES.
54890 (NOTES): Remove rule.
54891 * README: Don't refer to NOTES.
54892 * manual/creature.texi: Don't include macros.texi.
54893 * manual/intro.texi (creature.texi): Remove comment referring to
54894 NOTES.
54895
54896 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54897 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54898 * configure: Regenerated.
54899 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54900 LIBC_TRY_CC_OPTION.
54901 (libc_cv_as_i686): Likewise.
54902 (libc_cv_cc_avx): Likewise.
54903 (libc_cv_cc_sse2avx): Likewise.
54904 (libc_cv_cc_fma4): Likewise.
54905 (libc_cv_cc_novzeroupper): Likewise.
54906 * sysdeps/i386/configure: Regenerated.
54907
54908 [BZ #13883]
54909 * sysdeps/i386/fpu/s_cexp.S: Remove.
54910 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54911 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54912 * math/libm-test.inc (cexp_test): Add more tests.
54913 * sysdeps/i386/fpu/libm-test-ulps: Update.
54914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54915
54916 2012-03-21 Allan McRae <allan@archlinux.org>
54917
54918 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54919
54920 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54921
54922 [BZ #13871]
54923 * math/w_exp2.c: Do not include <float.h>.
54924 (o_threshold, u_threshold): Remove.
54925 (__exp2): Calculate result before checking finiteness and calling
54926 __kernel_standard.
54927 * math/w_exp2f.c: Likewise.
54928 * math/w_exp2l.c: Likewise.
54929 * math/libm-test.inc (exp2_test): Require overflow exception for
54930 1e6 input.
54931
54932 [BZ #3866]
54933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54934 range of signed 64-bit integers before using fistpll. Remove
54935 checks for whether integers fit in mantissa bits.
54936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54937 the range of signed 32-bit integers before using fistpl. Remove
54938 checks for whether integers fit in mantissa bits.
54939 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54940 (__ieee754_powl): Test for y outside the range of signed 64-bit
54941 integers before using fistpll. Reduce 64-bit values to 63-bit
54942 ones as needed.
54943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54944 divide-by-zero is raised for zero to large negative powers.
54945 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54946 (__ieee754_powl): Test for y outside the range of signed 64-bit
54947 integers before using fistpll. Reduce 64-bit values to 63-bit
54948 ones as needed.
54949 * math/libm-test.inc (pow_test): Add more tests.
54950
54951 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54952
54953 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54954 <stdio-common/_itoa.h>.
54955 * debug/segfault.c: Likewise.
54956 * elf/dl-cache.c: Likewise.
54957 * elf/dl-minimal.c: Likewise.
54958 * elf/dl-misc.c: Likewise.
54959 * elf/dl-sysdep.c: Likewise.
54960 * elf/dl-version.c: Likewise.
54961 * elf/rtld.c: Likewise.
54962 * hurd/hurdsock.c: Likewise.
54963 * hurd/lookup-retry.c: Likewise.
54964 * malloc/malloc.c: Likewise.
54965 * malloc/mtrace.c: Likewise.
54966 * nscd/nscd_getgr_r.c: Likewise.
54967 * nscd/nscd_getpw_r.c: Likewise.
54968 * nscd/nscd_getserv_r.c: Likewise.
54969 * posix/getopt_init.c: Likewise.
54970 * posix/wordexp.c: Likewise.
54971 * stdio-common/_itoa.c: Likewise.
54972 * stdio-common/printf_fphex.c: Likewise.
54973 * stdio-common/vfprintf.c: Likewise.
54974 * string/_strerror.c: Likewise.
54975 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54976 * sysdeps/i386/i686/hp-timing.h: Likewise.
54977 * sysdeps/mach/_strerror.c: Likewise.
54978 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54979 * sysdeps/mach/hurd/sethostid.c: Likewise.
54980 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54981 * sysdeps/mach/xpg-strerror.c: Likewise.
54982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54984 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54985 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54986 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54987 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54988 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54989 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54990 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54991 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54992 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54993 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54994 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54995 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54996 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54998 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54999 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55000 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55001 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55002 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55003
55004 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55005
55006 * stdio-common/_itoa.h: Moved to ...
55007 * sysdeps/generic/_itoa.h: Here.
55008
55009 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55010
55011 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55012 instead of "_itoa.h" and "_itowa.h".
55013 * stdio-common/vfprintf.: Likewise.
55014
55015 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55016
55017 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55018 <bits/wordsize.h>.
55019 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55020 (__signbit): Likwise.
55021 (llrintf): Likwise.
55022 (llrint): Likwise.
55023
55024 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55025
55026 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55027 __WORDSIZE != 64.
55028
55029 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55030
55031 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55032 OVERFLOW_EXCEPTION_OK.
55033 * math/libm-test.inc ("Philosophy"): Update comment about
55034 exception testing.
55035 (OVERFLOW_EXCEPTION): Define.
55036 (OVERFLOW_EXCEPTION_OK): Likewise.
55037 (INVALID_EXCEPTION_OK): Renumber.
55038 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55039 (IGNORE_ZERO_INF_SIGN): Likewise.
55040 (test_exceptions): Handle FE_OVERFLOW.
55041 (exp10_test): Expect overflow exceptions.
55042 (exp2_test): Likewise.
55043 (expm1_test): Likewise.
55044 (nextafter_test): Likewise.
55045 (pow_test): Likewise.
55046 (scalbn_test): Likewise.
55047 (scalbln_test): Likewise.
55048
55049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55050
55051 * sysdeps/x86_64/bits/atomic.h
55052 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55053 64bit integer.
55054 (atomic_exchange_acq): Likewise.
55055 (__arch_exchange_and_add_body): Likewise.
55056 (__arch_add_body): Likewise.
55057 (atomic_add_negative): Likewise.
55058 (atomic_add_zero): Likewise.
55059
55060 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55061
55062 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55063 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55064
55065 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55066
55067 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55068 Check __x86_64__ instead of __WORDSIZE.
55069
55070 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55071
55072 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55073
55074 2012-03-19 David S. Miller <davem@davemloft.net>
55075
55076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55077
55078 * sysdeps/sparc/fpu/fenv_private.h: New file.
55079 * sysdeps/sparc/fpu/math_private.h: Use it.
55080 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55081 Remove.
55082 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55083 (libc_feholdexcept_setroundl): Remove.
55084 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55085 Remove.
55086 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55087 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55088
55089 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55090
55091 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55092 int64_t instead of long int.
55093 (INSERT_WORDS64): Likwise.
55094
55095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55096
55097 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55098 _Unwind_GetCFA return to _Unwind_Ptr first.
55099
55100 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55101
55102 [BZ #13629]
55103 * math/s_clog.c: Include <float.h>.
55104 (__clog): Scale large or subnormal inputs.
55105 * math/s_clogf.c: Likewise.
55106 * math/s_clogl.c: Likewise.
55107 * math/s_clog10.c: Include <float.h>.
55108 (M_LOG10_2): Define.
55109 (__clog10): Scale large or subnormal inputs.
55110 * math/s_clog10f.c: Likewise.
55111 * math/s_clog10l.c: Likewise.
55112 * math/libm-test.inc (clog_test): Add more tests.
55113 (clog10_test): Likewise.
55114 * sysdeps/i386/fpu/libm-test-ulps: Update.
55115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55116
55117 [BZ #11451]
55118 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55119 x and y.
55120 * math/libm-test.inc (atan2_test): Add another test.
55121
55122 * Makerules (common-objdir-compile): Remove.
55123 * sysdeps/unix/Makefile (config-generated): Do not add
55124 $(unix-generated) to variable.
55125 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55126 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55127 Remove rule.
55128 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55129 Likewise.
55130 [generic bits/local_lim.h] (before-compile): Do not append to
55131 variable.
55132 [generic bits/local_lim.h] (common-generated): Likewise.
55133 [generic sys/param.h] (before-compile): Do not append to variable.
55134 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55135 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55136 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55137 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55138 include.
55139 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55140 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55141 [generic sys/param.h] ($(addprefix
55142 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55143 [generic sys/param.h] (common-generated): Do not append to
55144 variable.
55145 [generic sys/param.h] (sysdep_headers): Likewise.
55146 [generic bits/errno.h] (before-compile): Do not append to
55147 variable.
55148 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55149 rule.
55150 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55151 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55152 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55153 [generic bits/errno.h] (common-generated): Do not append to
55154 variable.
55155 [generic bits/ioctls.h] (before-compile): Do not append to
55156 variable.
55157 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55158 rule.
55159 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55160 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55161 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55162 rule.
55163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55164 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55165 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55166 [generic bits/ioctls.h] (common-generated): Do not append to
55167 variable.
55168 [generic sys/syscall.h] (syscall.h): Remove variable.
55169 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55170 rule.
55171 [generic sys/syscall.h] (before-compile): Do not append to
55172 variable.
55173 [generic sys/syscall.h] (common-generated): Likewise.
55174 * sysdeps/unix/errnos-tmpl.c: Remove file.
55175 * sysdeps/unix/errnos.awk: Likewise.
55176 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55177 * sysdeps/unix/ioctls.awk: Likewise.
55178 * sysdeps/unix/mk-local_lim.c: Likewise.
55179 * sysdeps/unix/snarf-ioctls: Likewise.
55180
55181 2012-03-19 Richard Henderson <rth@twiddle.net>
55182
55183 * sysdeps/i386/fpu/fenv_private.h: New file.
55184 * sysdeps/i386/fpu/math_private.h: Use it.
55185 (math_opt_barrier, math_force_eval): Remove.
55186 (libc_feholdexcept_setround_53bit): Remove.
55187 (libc_feupdateenv_53bit): Remove.
55188 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55189 (math_opt_barrier, math_force_eval): Remove.
55190 (libc_feholdexcept): Remove.
55191 (libc_feholdexcept_setround): Remove.
55192 (libc_fetestexcept, libc_fesetenv): Remove.
55193 (libc_feupdateenv_test): Remove.
55194 (libc_feupdateenv, libc_feholdsetround): Remove.
55195 (libc_feresetround): Remove.
55196
55197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55198 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55199
55200 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55201 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55202 (libc_feupdateenv_testl): New.
55203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55204 (libc_feupdateenv_testf): New.
55205 (libc_feupdateenv): Use libc_feupdateenv_test.
55206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55208
55209 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55210 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55211 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55212 (libc_feresetround_noex): New.
55213 (libc_feresetround_noexf): New.
55214 (libc_feresetround_noexl): New.
55215 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55216 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55217 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55218 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55219 SET_RESTORE_ROUND.
55220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55222 (__cos): Likewise.
55223 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55225 SET_RESTORE_ROUND_NOEX.
55226 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55227 SET_RESTORE_ROUND_NOEXF.
55228 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55229 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55230 (libc_feholdsetroundf): New.
55231 (libc_feresetround, libc_feresetroundf): New.
55232
55233 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55234 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55235 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55236
55237 * sysdeps/generic/math_private.h: Include <fenv.h>.
55238 (default_libc_feholdexcept): New.
55239 (default_libc_feholdexcept_setround): New.
55240 (default_libc_fesetenv, default_libc_feupdateenv): New.
55241 (libc_feholdexcept): Only define if undefined.
55242 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55243 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55244 (libc_feholdexcept_setroundl): Likewise.
55245 (libc_feholdexcept_setround_53bit): Likewise.
55246 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55247 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55248 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55249 (libc_feupdateenv_53bit): Likewise.
55250 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55251 (libc_feholdexcept): Convert from macro to inline function.
55252 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55253 (libc_fesetenv, libc_feupdateenv): Likewise.
55254
55255 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55256 not previously defined.
55257 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55258 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55259 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55260 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55261 * sysdeps/ieee754/flt-32/math_private.h: New file.
55262 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55263 math_private.h below SET_FLOAT_WORD.
55264 (__isnan, __isinf_ns, __finite): Remove.
55265 (__isnanf, __isinf_nsf, __finitef): Remove.
55266
55267 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55268
55269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55270
55271 2012-03-17 David S. Miller <davem@davemloft.net>
55272
55273 [BZ #6471]
55274 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55275 for 2.16.
55276
55277 2012-03-16 David S. Miller <davem@davemloft.net>
55278
55279 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55280 warnings.
55281
55282 [BZ #6471]
55283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55284 properly.
55285 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55286 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55287 sysdep_routines when subdir is sysvipc.
55288 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55289 __getshmlba helper.
55290
55291 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55292
55293 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55294
55295 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55296 [__LP64__].
55297
55298 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55299
55300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55301 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55302 (__lround): Renamed to ...
55303 (__llround): This. Replace long int with long long int.
55304 Define lround functions as aliases of llround functions.
55305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55306
55307 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55308
55309 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55310 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55311 adresses to uintptr_t. Replace "long int" and "unsigned long
55312 int" with "greg_t" on va_arg.
55313
55314 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55315
55316 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55317 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55318
55319 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55320 Move e_machine check before EI_CLASS check. Handle x32
55321 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55322 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55323 SKIP_EM_IA_64 and include
55324 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55325
55326 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55327 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55328 (add_system_dir): New macro.
55329
55330 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55331 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55332
55333 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55334
55335 [BZ #2551]
55336 [BZ #2552]
55337 [BZ #2553]
55338 [BZ #2554]
55339 [BZ #2562]
55340 [BZ #2563]
55341 [BZ #2565]
55342 [BZ #2566]
55343 [BZ #2576]
55344 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55345 (y0): Likewise.
55346 * math/w_j0f.c (j0f): Likewise.
55347 (y0f): Likewise.
55348 * math/w_j0l.c (__j0l): Likewise.
55349 (__y0l): Likewise.
55350 * math/w_j1.c (j1): Likewise.
55351 (y1): Likewise.
55352 * math/w_j1f.c (j1f): Likewise.
55353 (y1f): Likewise.
55354 * math/w_j1l.c (__j1l): Likewise.
55355 (__y1l): Likewise.
55356 * math/w_jn.c (jn): Likewise.
55357 (yn): Likewise.
55358 * math/w_jnf.c (jnf): Likewise.
55359 (ynf): Likewise.
55360 * math/w_jnl.c (__jnl): Likewise.
55361 (__ynl): Likewise.
55362 * math/libm-test.inc (j0_test): Add more tests.
55363 (j1_test): Likewise.
55364 (jn_test): Likewise. Add trailing semicolon to existing test.
55365 (y0_test): Likewise.
55366 (y1_test): Likewise.
55367 * sysdeps/i386/fpu/libm-test-ulps: Update.
55368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55369
55370 [BZ #13851]
55371 [BZ #13854]
55372 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55373 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55374 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55375 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55376 (__tanl): Set errno for infinite argument.
55377 * sysdeps/i386/fpu/mptan.c: Remove.
55378 * sysdeps/i386/fpu/s_tan.S: Likewise.
55379 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55380 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55381 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55382 * math/libm-test.inc (tan_test): Add more tests and enable more
55383 tests for double and long double.
55384 * sysdeps/i386/fpu/libm-test-ulps: Update.
55385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55386
55387 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55388
55389 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55390 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55391
55392 2012-03-16 Roland McGrath <roland@hack.frob.com>
55393
55394 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55395 * configure.in: Use it for both main tree and add-ons.
55396 * configure: Regenerated.
55397
55398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55399
55400 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55401
55402 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55403
55404 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55405 in comment.
55406
55407 [BZ #13851]
55408 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55409 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55410 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55411 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55412 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55413 infinite argument.
55414 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55416 != 0 for prec == 2.
55417 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55418 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55419 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55420 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55421 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55422 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55423 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55424 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55425 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55426 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55427 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55428 * math/libm-test.inc (cos_test): Add more tests and enable more
55429 tests for long double.
55430 (sin_test): Likewise.
55431 (sincos_test): Likewise.
55432 * sysdeps/i386/fpu/libm-test-ulps: Update.
55433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55434
55435 2012-03-16 David S. Miller <davem@davemloft.net>
55436
55437 * sysdeps/sparc/fpu/math_private.h: New file.
55438
55439 2012-03-15 David S. Miller <davem@davemloft.net>
55440
55441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55442 file.
55443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55445 file.
55446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55452 sysdep routines.
55453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55454
55455 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55456 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55457
55458 * sysdeps/sparc/sparc-ifunc.h: New file.
55459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55460 sparc-ifunc.h
55461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55463 Likewise.
55464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55465 Likewise.
55466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55470 Likewise.
55471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55476 Likewise.
55477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55478 Likewise.
55479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55503
55504 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55505
55506 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55507 scaling.
55508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55509
55510 2012-03-15 Andreas Jaeger <aj@suse.de>
55511
55512 [BZ #13852]
55513 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55514 ieee754/flt-32 implementation for sin, cos and sincos.
55515 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55516 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55517 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55518 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55519 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55520 ieee754/flt-32 implementation for tan.
55521
55522 * math/libm-test.inc (cos_test): Enable some large input tests for
55523 float as well
55524 (sin_test): Likewise.
55525 (sincos_test): Likewise.
55526 (tan_test): Add tests for large input.
55527
55528 * sysdeps/i386/fpu/libm-test-ulps: Update.
55529
55530 2012-03-15 Andreas Jaeger <aj@suse.de>
55531
55532 [BZ #13658]
55533 * math/libm-test.inc (cos_test): Add more test cases.
55534 (sin_test): Likewise.
55535 (sincos_test): Likewise.
55536
55537 2012-03-15 Andreas Jaeger <aj@suse.de>
55538
55539 [BZ #13837]
55540 * math/libm-test.inc (cos_test): Add a test case for large input
55541 value.
55542 (sin_test): Likewise.
55543 (sincos_test): Likewise.
55544
55545 2012-03-15 Andreas Jaeger <aj@suse.de>
55546 Joseph Myers <joseph@codesourcery.com>
55547
55548 [BZ #13658]
55549 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55550 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55551 * sysdeps/i386/fpu/branred.c: Likewise.
55552 * sysdeps/i386/fpu/dosincos.c: Likewise.
55553 * sysdeps/i386/fpu/mpa.c: Likewise.
55554 * sysdeps/i386/fpu/s_cos.S: Likewise.
55555 * sysdeps/i386/fpu/s_sin.S: Likewise.
55556 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55557 * sysdeps/i386/fpu/sincos32.c: Likewise.
55558
55559 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55560 Define.
55561 (libc_feupdateenv_53bit): Define.
55562 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55563 Define.
55564 (libc_feupdateenv_53bit): Define.
55565
55566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55567 53 bit (without extend i386 double precision).
55568
55569 * math/libm-test.inc (sincos_test): Add tests for large input.
55570 (sin): Likewise.
55571 (cos): Likewise.
55572
55573 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55574
55575 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55576
55577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55578
55579 2012-03-15 David S. Miller <davem@davemloft.net>
55580
55581 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55582 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55583 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55584 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55597 file.
55598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55600 file.
55601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55603 file.
55604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55606 file.
55607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55609 fmin/fmax sysdep routines.
55610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55611
55612 2012-03-14 David S. Miller <davem@davemloft.net>
55613
55614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55643 routines.
55644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55645 file.
55646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55648 file.
55649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55651 file.
55652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55654 file.
55655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55657 file.
55658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55660 file.
55661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55662 file.
55663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55664 file.
55665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55666 file.
55667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55668 New file.
55669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55670 file.
55671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55672 file.
55673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55675 file.
55676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55678 file.
55679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55681 file.
55682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55684 VIS3 routines.
55685
55686 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55687 New file.
55688
55689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55690
55691 * sysdeps/sparc/configure.in: New file.
55692 * sysdeps/sparc/configure: Generate.
55693 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55694 * configure: Regenerate.
55695 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55696 * config.make.in (have-as-vis3): New.
55697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55698 available use -Av9d instead of -Av9a.
55699 * sysdeps/sparc/sparc64/Makefile: Likewise.
55700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55702 New file.
55703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55704 file.
55705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55706 New file.
55707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55708 file.
55709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55714
55715 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55716 fzeros/fnegs to load 0x80000000 into a float register instead of
55717 using the stack.
55718 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55719
55720 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55721
55722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55723 bits/syscall.h.
55724 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55725 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55726 ($(inst_includedir)/bits/syscall.h): Remove rule.
55727 ($(objpfx)bits/syscall.d): Include instead of
55728 $(objpfx)syscall-list.d.
55729 (generated): Change syscall-list.h and syscall-list.d to
55730 bits/syscall.h and bits/syscall.d.
55731
55732 2012-03-14 Roland McGrath <roland@hack.frob.com>
55733
55734 [BZ #13846]
55735 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55736
55737 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55738
55739 [BZ #13841]
55740 * math/s_csqrt.c: Include <float.h>.
55741 (__csqrt): Scale large or subnormal inputs.
55742 * math/s_csqrtf.c: Likewise.
55743 * math/s_csqrtl.c: Likewise.
55744 * math/libm-test.inc (csqrt_test): Add more tests.
55745 * sysdeps/i386/fpu/libm-test-ulps: Update.
55746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55747
55748 [BZ #13840]
55749 * math/libm-test.inc (hypot_test): Add more tests.
55750
55751 2012-03-13 David S. Miller <davem@davemloft.net>
55752
55753 [BZ #13840]
55754 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55755 double-precision for the calculation instead of scaling.
55756
55757 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55758
55759 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55760 manipulate bits before adding and subtracting TWO52[sx].
55761 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55763 Likewise.
55764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55765
55766 2012-03-13 David S. Miller <davem@davemloft.net>
55767
55768 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55769 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55771 rtld-global-offsets.h
55772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55773
55774 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55775 large parameters.
55776
55777 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55778
55779 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55780 'err' in the ifdef scope in which it is actually used.
55781
55782 * nss/nss_db/db-init.c: Include string.h
55783
55784 2012-03-12 David S. Miller <davem@davemloft.net>
55785
55786 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55787 masking out of the most significant byte of random value used.
55788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55789 Fix coding style in previous change.
55790
55791 * sysdeps/unix/sysv/linux/kernel-features.h
55792 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55793 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55794 expression.
55795 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55796 later.
55797
55798 2012-03-11 David S. Miller <davem@davemloft.net>
55799
55800 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55801 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55803 for 'resultvar' otherwise things get truncated on 64-bit.
55804
55805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55806 Fix masking out of the most significant byte of random value used.
55807
55808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55809
55810 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55811
55812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55813
55814 2012-03-09 David S. Miller <davem@davemloft.net>
55815
55816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55817 variables with appropriate CPP guards.
55818 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55819 from the frame pointer, not the stack pointer. Correct layout
55820 comments. Fix test on resulting framesize and the management of
55821 the outregs buffer for pltexit. Preserve floating point return
55822 values across _dl_call_pltexit call.
55823 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55824 framesize and the management of the outregs buffer for pltexit.
55825 Preserve floating point return values across _dl_call_pltexit
55826 call.
55827 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55828 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55829 (la_sparc64_gnu_pltexit): New functions.
55830 (print_exit): Fix format string for return register value.
55831
55832 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55833
55834 * sunrpc/Makefile (others): Add rpcgen.
55835 ($(objpfx)rpcgen): Remove special build rule and dependency on
55836 libc.
55837 * sunrpc/rpcgen.c: New file.
55838
55839 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55840
55841 [BZ #13673]
55842 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55843 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55844 * sysdeps/i386/crti.S: Likewise.
55845 * sysdeps/i386/crtn.S: Likewise.
55846 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55847 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55848 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55849 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55850 * sysdeps/sh/crti.S: Likewise.
55851 * sysdeps/sh/crtn.S: Likewise.
55852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55853
55854 [BZ #13673]
55855 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55856 with URL.
55857 * locale/programs/locfile-kw.gperf: Likewise.
55858 * locale/programs/charmap-kw.h: Regenerated.
55859 * locale/programs/locfile-kw.h: Likewise.
55860
55861 [BZ #13673]
55862 * intl/plural.y: Replace FSF snail mail address with URL.
55863 * intl/plural.c: Regenerated.
55864
55865 2012-03-09 Richard Henderson <rth@twiddle.net>
55866
55867 * include/math_private.h: Remove file.
55868 * math/math_private.h: Move file ...
55869 * sysdeps/generic/math_private.h: ... here.
55870
55871 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55872 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55874
55875 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55876 and <math_private.h>.
55877 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55878 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55879 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55880 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55881 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55882 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55889 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55891 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55896 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55899 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55903 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55911 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55912 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55913 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55914 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55915 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55917 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55920 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55922 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55928 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55929 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55930 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55931 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55936 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55941 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55942 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55943 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55944 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55948 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55991 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55994 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56000 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56004 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56007 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56009 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56010 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56011 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56013 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56015 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56016 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56020 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56021 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56025 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56026 * sysdeps/ieee754/k_standard.c: Likewise.
56027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56043 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56046 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56047 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56048 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56052 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56055 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56061 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56062 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56065 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56067 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56068 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56069 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56070 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56080 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56083 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56084 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56114 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56134 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56135 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56160 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56169 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56170 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56176 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56181 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56182 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56186 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56187 * sysdeps/ieee754/s_lib_version.c: Likewise.
56188 * sysdeps/ieee754/s_matherr.c: Likewise.
56189 * sysdeps/ieee754/s_signgam.c: Likewise.
56190 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56191 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56196 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56197 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56198 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56199 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56200 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56201 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56202 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56206 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56211
56212 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56213
56214 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56215 * sunrpc/rpc_main.c: Likewise.
56216 * sunrpc/rpc_svcout.c: Likewise.
56217
56218 2012-03-09 David S. Miller <davem@davemloft.net>
56219
56220 * include/math_private.h: New file.
56221
56222 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56223
56224 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56225 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56226 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56227 from <bits/socket_type.h>.
56228 (enum __socket_type): Don't define here.
56229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56231 bits/socket_type.h.
56232
56233 [BZ #13566]
56234 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56235 checking __USE_GNU.
56236
56237 * Makerules ($(inst_includedir)/%.h): New rule.
56238 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56239 (install-others): Remove variable setting.
56240 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56241
56242 2012-03-08 Richard Henderson <rth@twiddle.net>
56243
56244 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56245 from macro to inline function; merge with the
56246 !__LIBC_INTERNAL_MATH_INLINES version.
56247 (__ieee754_sqrtf): Likewise.
56248
56249 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56250 to inline function.
56251 (__rintf, __floor, __floorf): Likewise.
56252
56253 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56254 macro to inline function.
56255 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56256
56257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56258 not <math/math_private.h>.
56259
56260 2012-03-08 David S. Miller <davem@davemloft.net>
56261
56262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56263 copyright year.
56264 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56265
56266 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56267
56268 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56269 normalization.
56270 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56271 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56272
56273 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56274
56275 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56276 be defined individually, they must be defined as a block. Define
56277 S for printing a string instead of hidint the different by using a
56278 macro for adding the 'l'.
56279 * stdio-common/tst-fphex-wide.c: Adjust.
56280
56281 2012-03-07 Marek Polacek <polacek@redhat.com>
56282
56283 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56284
56285 2012-03-08 Marek Polacek <polacek@redhat.com>
56286
56287 [BZ #13806]
56288 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56289 * stdio-common/tst-fphex.c: Define a few macros to make the
56290 test reusable. Use them.
56291 * stdio-common/tst-fphex-wide.c: New file.
56292
56293 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56294
56295 [BZ #6911]
56296 * manual/macros.texi (gnusystems): New macro.
56297 (nongnusystems): Likewise.
56298 (gnulinuxhurdsystems): Likewise.
56299 (gnuhurdsystems): Likewise..
56300 (gnulinuxsystems): Likewise.
56301 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56302 variants of the GNU system, not "GNU system".
56303 * manual/conf.texi: Likewise.
56304 * manual/errno.texi: Likewise. Update example of errno macro
56305 expansion.
56306 * manual/filesys.texi: Likewise.
56307 (getumask): Document as specific to GNU/Hurd.
56308 * manual/install.texi: Likewise. Reword some references to
56309 GNU/Linux.
56310 * manual/intro.texi: Likewise.
56311 * manual/io.texi: Likewise.
56312 (File Name Portability): Detail which constraints are inapplicable
56313 to all GNU systems and which are only inapplicable to GNU/Hurd.
56314 * manual/job.texi: Likewise.
56315 * manual/llio.texi: Likewise.
56316 (O_NOCTTY): Document as present on GNU/Linux.
56317 * manual/maint.texi: Likewise.
56318 * manual/memory.texi: Likewise.
56319 * manual/pattern.texi: Likewise.
56320 * manual/pipe.texi: Likewise.
56321 * manual/process.texi: Likewise.
56322 * manual/resource.texi: Likewise.
56323 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56324 child on GNU/Hurd.
56325 * manual/setjmp.texi: Likewise.
56326 * manual/signal.texi: Likewise.
56327 * manual/startup.texi: Likewise.
56328 * manual/stdio.texi: Likewise.
56329 * manual/terminal.texi: Likewise.
56330 (ONLCR): Document as POSIX.
56331 (OXTABS): Document availability on GNU/Linux as XTABS.
56332 (ONOEOT): Document availability separately from other bits.
56333 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56334 * manual/time.texi: Likewise.
56335 * manual/users.texi: Likewise.
56336 * INSTALL: Regenerated.
56337 * sysdeps/gnu/errlist.c: Regenerated.
56338
56339 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56340 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56341 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56342 puts.
56343 * configure: Regenerated.
56344
56345 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56346
56347 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56348 default includes instead of AC_HEADER_CHECK.
56349 * sysdeps/i386/configure: Regenerated.
56350
56351 [BZ #10716]
56352 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56353 * math/s_cacoshf.c (__cacoshf): Likewise.
56354 * math/s_cacoshl.c (__cacoshl): Likewise.
56355 * math/s_casinh.c (__casinh): Set signs of result from argument.
56356 * math/s_casinhf.c (__casinhf): Likewise.
56357 * math/s_casinhl.c (__casinhl): Likewise.
56358 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56359 (casinh_test): Add more tests.
56360 * sysdeps/i386/fpu/libm-test-ulps: Update.
56361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56362
56363 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56364
56365 * po/zh_TW.po: Update from translation team.
56366
56367 * login/Makefile (distribute): Remove variable.
56368 * catgets/Makefile: Likewise.
56369 * mach/Makefile: Likewise.
56370 * malloc/Makefile: Likewise.
56371 * misc/Makefile: Likewise.
56372 * iconv/Makefile: Likewise.
56373 * nscd/Makefile: Likewise.
56374 * hurd/Makefile: Likewise.
56375 * manual/Makefile: Likewise.
56376 * locale/Makefile: Likewise.
56377 * intl/Makefile: Likewise.
56378 * conform/Makefile: Likewise.
56379 * nss/Makefile: Likewise.
56380 * time/Makefile: Likewise.
56381 * soft-fp/Makefile: Likewise.
56382 * dirent/Makefile: Likewise.
56383 * gmon/Makefile: Likewise.
56384 * po/Makefile: Likewise.
56385 * rt/Makefile: Likewise.
56386 * socket/Makefile: Likewise.
56387 * math/Makefile: Likewise.
56388 * signal/Makefile: Likewise.
56389 * debug/Makefile: Likewise.
56390 * elf/Makefile: Likewise.
56391 * timezone/Makefile: Likewise.
56392 * stdlib/Makefile: Likewise.
56393 * iconvdata/Makefile: Likewise.
56394 * sunrpc/Makefile: Likewise.
56395 * io/Makefile: Likewise.
56396 * argp/Makefile: Likewise.
56397 * inet/Makefile: Likewise.
56398 * hesiod/Makefile: Likewise.
56399 * grp/Makefile: Likewise.
56400 * csu/Makefile: Likewise.
56401 * wctype/Makefile: Likewise.
56402 * crypt/Makefile: Likewise.
56403 * libio/Makefile: Likewise.
56404 * string/Makefile: Likewise.
56405 * nis/Makefile: Likewise.
56406 * resolv/Makefile: Likewise.
56407 * stdio-common/Makefile: Likewise.
56408 * wcsmbs/Makefile: Likewise.
56409 * dlfcn/Makefile: Likewise.
56410 * posix/Makefile: Likewise.
56411
56412 [BZ #6959]
56413 * timezone/Makefile: Don't install timezone files, just the programs
56414 and scripts.
56415
56416 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56417
56418 * nss/databases.def: Add missing gshadow entry.
56419
56420 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56421
56422 2012-03-06 Marek Polacek <polacek@redhat.com>
56423
56424 [BZ #13726]
56425 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56426 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56427 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56428 * stdio-common/tst-long-dbl-fphex.c: New file.
56429
56430 2012-03-06 David S. Miller <davem@davemloft.net>
56431
56432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56433 (set_obp_int): New function.
56434 (get_obp_int): New function.
56435 (__get_clockfreq_via_dev_openprom): Likewise.
56436 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56437 Avoid unused variable warnings on 'val' and use builtin_expect.
56438 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56439 __builtin_expect.
56440 (INLINE_CLONE_SYSCALL): Likewise.
56441
56442 2012-03-05 David S. Miller <davem@davemloft.net>
56443
56444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56445
56446 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56447
56448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56449
56450 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56451 only for |x| >= 40.
56452 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56453
56454 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56455
56456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56457 Replace gettimeofday with __vdso_gettimeofday.
56458
56459 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56460 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56461 __vdso_clock_gettime and __vdso_getcpu.
56462
56463 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56464 time with __vdso_time.
56465
56466 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56467
56468 * manual/lang.texi (size_t): Note types to which size_t may be
56469 equivalent with the GNU C Library, but do not describe when
56470 differences between them are significant.
56471
56472 2012-03-05 Andreas Jaeger <aj@suse.de>
56473
56474 * sysdeps/i386/fpu/libm-test-ulps: Update.
56475
56476 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56477
56478 [BZ #3976]
56479 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56480 (__ieee754_pow): Save and restore rounding mode and use
56481 round-to-nearest for main computations.
56482 * math/libm-test.inc (pow_test_tonearest): New function.
56483 (pow_test_towardzero): Likewise.
56484 (pow_test_downward): Likewise.
56485 (pow_test_upward): Likewise.
56486 (main): Call the new functions.
56487 * sysdeps/i386/fpu/libm-test-ulps: Update.
56488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56489
56490 [BZ #3976]
56491 * math/libm-test.inc (cosh_test_tonearest): New function.
56492 (cosh_test_towardzero): Likewise.
56493 (cosh_test_downward): Likewise.
56494 (cosh_test_upward): Likewise.
56495 (sinh_test_tonearest): Likewise.
56496 (sinh_test_towardzero): Likewise.
56497 (sinh_test_downward): Likewise.
56498 (sinh_test_upward): Likewise.
56499 (main): Call the new functions.
56500 * sysdeps/i386/fpu/libm-test-ulps: Update.
56501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56502
56503 2012-03-05 Tom de Vries <tom@codesourcery.com>
56504
56505 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56506 default stack guard is set in last bytes.
56507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56508
56509 2012-03-05 Kees Cook <keescook@chromium.org>
56510
56511 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56512
56513 [BZ #13656]
56514 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56515 possibly allocate from heap instead of stack.
56516 * stdio-common/bug-vfprintf-nargs.c: New file.
56517 * stdio-common/Makefile (tests): Add nargs overflow test.
56518
56519 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56520
56521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56522
56523 2012-03-03 Marek Polacek <polacek@redhat.com>
56524
56525 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56526 * math/math_private.h: Likewise.
56527 * stdlib/tst-strtod.c: Likewise.
56528 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56529 * sysdeps/x86_64/bits/atomic.h: Likewise.
56530
56531 2012-03-02 David S. Miller <davem@davemloft.net>
56532
56533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56537 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56538 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56539 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56540 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56541
56542 2012-03-02 Roland McGrath <roland@hack.frob.com>
56543
56544 [BZ #13792]
56545 * manual/examples/README: New file, says the example source files
56546 can be used under GPL>=2.
56547 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56548 line containing just "*/".
56549 * manual/examples/add.c: Add copyright header (GPL>=2).
56550 * manual/examples/argp-ex1.c: Likewise.
56551 * manual/examples/argp-ex2.c: Likewise.
56552 * manual/examples/argp-ex3.c: Likewise.
56553 * manual/examples/argp-ex4.c: Likewise.
56554 * manual/examples/atexit.c: Likewise.
56555 * manual/examples/db.c: Likewise.
56556 * manual/examples/dir.c: Likewise.
56557 * manual/examples/dir2.c: Likewise.
56558 * manual/examples/execinfo.c: Likewise.
56559 * manual/examples/filecli.c: Likewise.
56560 * manual/examples/filesrv.c: Likewise.
56561 * manual/examples/fmtmsgexpl.c: Likewise.
56562 * manual/examples/genpass.c: Likewise.
56563 * manual/examples/inetcli.c: Likewise.
56564 * manual/examples/inetsrv.c: Likewise.
56565 * manual/examples/isockad.c: Likewise.
56566 * manual/examples/longopt.c: Likewise.
56567 * manual/examples/memopen.c: Likewise.
56568 * manual/examples/memstrm.c: Likewise.
56569 * manual/examples/mkfsock.c: Likewise.
56570 * manual/examples/mkisock.c: Likewise.
56571 * manual/examples/mygetpass.c: Likewise.
56572 * manual/examples/pipe.c: Likewise.
56573 * manual/examples/popen.c: Likewise.
56574 * manual/examples/rprintf.c: Likewise.
56575 * manual/examples/search.c: Likewise.
56576 * manual/examples/select.c: Likewise.
56577 * manual/examples/setjmp.c: Likewise.
56578 * manual/examples/sigh1.c: Likewise.
56579 * manual/examples/sigusr.c: Likewise.
56580 * manual/examples/stpcpy.c: Likewise.
56581 * manual/examples/strdupa.c: Likewise.
56582 * manual/examples/strftim.c: Likewise.
56583 * manual/examples/strncat.c: Likewise.
56584 * manual/examples/subopt.c: Likewise.
56585 * manual/examples/swapcontext.c: Likewise.
56586 * manual/examples/termios.c: Likewise.
56587 * manual/examples/testopt.c: Likewise.
56588 * manual/examples/testpass.c: Likewise.
56589 * manual/examples/timeval_subtract.c: Likewise.
56590
56591 [BZ #13792]
56592 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56593 function to ...
56594 * manual/timeval_subtract.c.texi: ... here, new file.
56595
56596 2012-03-02 David S. Miller <davem@davemloft.net>
56597
56598 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56599
56600 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56601
56602 [BZ #3976]
56603 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56604 (__sin): Save and restore rounding mode and use round-to-nearest
56605 for all computations.
56606 (__cos): Save and restore rounding mode and use round-to-nearest
56607 for all computations.
56608 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56609 <fenv.h>.
56610 (tan): Save and restore rounding mode and use round-to-nearest for
56611 all computations.
56612 * math/libm-test.inc (cos_test_tonearest): New function.
56613 (cos_test_towardzero): Likewise.
56614 (cos_test_downward): Likewise.
56615 (cos_test_upward): Likewise.
56616 (sin_test_tonearest): Likewise.
56617 (sin_test_towardzero): Likewise.
56618 (sin_test_downward): Likewise.
56619 (sin_test_upward): Likewise.
56620 (tan_test_tonearest): Likewise.
56621 (tan_test_towardzero): Likewise.
56622 (tan_test_downward): Likewise.
56623 (tan_test_upward): Likewise.
56624 (main): Call the new functions.
56625 * sysdeps/i386/fpu/libm-test-ulps: Update.
56626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56627
56628 [BZ #10135]
56629 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56630 small n, then large n, before computing and testing k+n.
56631 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56633 Likewise.
56634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56635 Likewise.
56636 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56637 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56642 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56643 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56644 * math/libm-test.inc (scalbn_test): Add more tests.
56645 (scalbln_test): Likewise.
56646
56647 * manual/filesys.texi (mode_t): Describe constraints on size and
56648 signedness, not exact equivalence to a particular type.
56649 (ino_t): Likewise.
56650 (ino64_t): Likewise.
56651 (dev_t): Likewise.
56652 (nlink_t): Likewise.
56653 (blkcnt_t): Likewise.
56654 (blkcnt64_t): Likewise.
56655 * manual/llio.texi (off_t): Likewise.
56656
56657 [BZ #3976]
56658 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56659 (__ieee754_exp): Save and restore rounding mode and use
56660 round-to-nearest for all computations.
56661 * math/libm-test.inc (exp_test_tonearest): New function.
56662 (exp_test_towardzero): Likewise.
56663 (exp_test_downward): Likewise.
56664 (exp_test_upward): Likewise.
56665 (main): Call the new functions.
56666 * sysdeps/i386/fpu/libm-test-ulps: Update.
56667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56668
56669 2012-03-01 Chris Demetriou <cgd@google.com>
56670
56671 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56672 have predictable order.
56673
56674 2012-03-01 David S. Miller <davem@davemloft.net>
56675
56676 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56677
56678 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56679 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56680 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56681 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56682
56683 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56684 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56685 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56687 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56688 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56689 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56690 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56691 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56692
56693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56694
56695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56696 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56697 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56698
56699 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56700 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56701 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56702 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56703 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56707 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56708 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56709 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56710 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56715 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56716 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56717 * sysdeps/sparc/elf/configure: Regenerated.
56718
56719 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56720
56721 * configure.in (AS, LD): Require binutils 2.20 or later.
56722 * configure: Regenerated.
56723 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56724 as required minimum version.
56725 * INSTALL: Regenerated.
56726
56727 [BZ #2541]
56728 [BZ #4108]
56729 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56730 before squaring exponent.
56731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56732 bottom long double and 27 bits of top long double before squaring
56733 exponent.
56734 * math/libm-test.inc (erfc_test): Add more tests.
56735 * sysdeps/i386/fpu/libm-test-ulps: Update.
56736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56738
56739 2012-03-01 Kai Tietz <ktietz@redhat.com>
56740
56741 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56742 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56743 containing bit-fields.
56744 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56745 * soft-fp/single.h (_FP_UNION_S): Likewise.
56746 * soft-fp/double.h (_FP_UNION_D): Likewise.
56747
56748 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56749
56750 [BZ #13786]
56751 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56752 not include ../strcmp.S.
56753 [USE_AS_STRNCASECMP_L]: Likewise.
56754 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56755 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56756 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56757 (__strncasecmp_l_ia32): Define as alias to
56758 __strncasecmp_l_nonascii.
56759
56760 [BZ #5794]
56761 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56762 * sysdeps/i386/fpu/libm-test-ulps: Update.
56763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56764
56765 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56767
56768 2012-02-29 Jeff Law <law@redhat.com>
56769
56770 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56771 out of bounds read.
56772
56773 2012-02-29 Marek Polacek <polacek@redhat.com>
56774
56775 [BZ #13706]
56776 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56777 * elf/Makefile: Add rules to run tst-unused-dep.out.
56778
56779 2012-02-28 David S. Miller <davem@davemloft.net>
56780
56781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56785 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56786 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56787
56788 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56789
56790 * math/libm-test.inc (llround_test): Move one test from
56791 lround_test. Use TEST_f_L in moved test.
56792 (lround_test): Move misplaced test to llround_test. Add testcase
56793 from bug 2561.
56794
56795 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56796
56797 * sysdeps/x86_64/fpu/e_expf.S: New file.
56798 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56799
56800 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56801
56802 [BZ #13637]
56803 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56804 of remain_len that may cause incomplete multi-byte character and
56805 false match.
56806 * posix/bug-regex33.c: New file.
56807 * posix/Makefile (tests): Add bug-regex33.
56808
56809 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56810
56811 * manual/macros.texi: New file.
56812 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56813 * manual/libc.texinfo: Include macros.texi.
56814 * manual/creatute.texi: Likewise.
56815 * manual/install.texi: Likewise.
56816 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56817 @glibcadj{} in references to the GNU C Library.
56818 * manual/charset.texi: Likewise.
56819 * manual/conf.texi: Likewise.
56820 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56821 when not using those macros.
56822 * manual/creature.texi: Likewise.
56823 * manual/crypt.texi: Likewise.
56824 * manual/errno.texi: Likewise.
56825 * manual/filesys.texi: Likewise.
56826 * manual/header.texi: Likewise.
56827 * manual/install.texi: Likewise.
56828 * manual/intro.texi: Likewise.
56829 * manual/io.texi: Likewise.
56830 * manual/job.texi: Likewise.
56831 * manual/lang.texi: Likewise.
56832 * manual/libc.texiinfo: Likewise.
56833 * manual/llio.texi: Likewise.
56834 * manual/locale.texi: Likewise.
56835 * manual/maint.texi: Likewise.
56836 * manual/math.texi: Likewise.
56837 * manual/memory.texi: Likewise.
56838 * manual/message.texi: Likewise.
56839 * manual/nss.texi: Likewise.
56840 * manual/pattern.texi: Likewise.
56841 * manual/process.texi: Likewise.
56842 * manual/resource.texi: Likewise.
56843 * manual/search.texi: Likewise.
56844 * manual/setjmp.texi: Likewise.
56845 * manual/signal.texi: Likewise.
56846 * manual/socket.texi: Likewise.
56847 * manual/startup.texi: Likewise.
56848 * manual/stdio.texi: Likewise.
56849 * manual/string.texi: Likewise.
56850 * manual/sysinfo.texi: Likewise.
56851 * manual/syslog.texi: Likewise.
56852 * manual/terminal.texi: Likewise.
56853 * manual/time.texi: Likewise.
56854 * manual/users.texi: Likewise.
56855 * INSTALL: Regenerated.
56856 * NOTES: Regenerated.
56857 * sysdeps/gnu/errlist.c: Regenerated.
56858
56859 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56860
56861 * include/dirent.h: Include <dirstream.h> before
56862 <dirent/dirent.h>.
56863
56864 2012-02-28 David S. Miller <davem@davemloft.net>
56865
56866 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56867 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56868 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56869 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56870
56871 2012-02-27 David S. Miller <davem@davemloft.net>
56872
56873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56875 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56876 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56877
56878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56879 frame pointer instead of stack pointer relative arg slot.
56880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56881 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56882 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56883
56884 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56885
56886 [BZ #3992]
56887 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56888
56889 2012-02-27 David S. Miller <davem@davemloft.net>
56890
56891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56897 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56898 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56899
56900 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56901
56902 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56903 later. Allow versions 5-9.
56904 * configure: Regenerated.
56905 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56906 required minimum version and 4.6 as recommended version. Do not
56907 mention bugs in GCC 2.7 and 2.8.
56908 * INSTALL: Regenerated.
56909
56910 2012-02-27 David S. Miller <davem@davemloft.net>
56911
56912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56916 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56917 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56918 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56919 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56920
56921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56922 manipulate bits before adding and subtracting TWO112[sx].
56923 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56924
56925 2012-02-27 Roland McGrath <roland@hack.frob.com>
56926
56927 [BZ #13775]
56928 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56929 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56930 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56931 being in POSIX, because they are in 1003.1-2008.
56932
56933 * rt/tst-aio.c: Include <fcntl.h>.
56934 * rt/tst-aio7.c: Likewise.
56935 * rt/tst-aio64.c: Likewise.
56936
56937 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56938
56939 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56940
56941 * manual/install.texi (--with-headers): Describe headers as
56942 interface headers, not private headers.
56943 (Specific advice for GNU/Linux systems): Describe use of headers
56944 from "make headers_install", not private headers from older
56945 kernels.
56946 * INSTALL: Regenerated.
56947 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56948 Change to 2.6.19.
56949 * sysdeps/unix/sysv/linux/configure: Regenerated.
56950
56951 * manual/llio.texi (fclean): Remove documentation.
56952
56953 * manual/Makefile (libc-texi-generated): New variable. Include
56954 version.texi.
56955 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56956 $(libc-texi-generated), not duplicated list of files.
56957 (version.texi, stamp-version): New rules.
56958 (realclean): Remove $(libc-texi-generated), not individual files
56959 from that list. Do not remove dir-add.texinfo.
56960 * manual/libc.texinfo: Comment out uses of edition numbers and
56961 references to printed manual. Remove last-updated dates.
56962 (EDITION): Comment out.
56963 (ISBN): Likewise.
56964 (VERSION, UPDATED): Remove.
56965 (version.texi): Include.
56966
56967 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56968
56969 * sysdeps/posix/spawni.c: Include <signal.h>.
56970 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56971 * sysdeps/pthread/aio_fsync.c: Likewise.
56972
56973 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56974
56975 * conform/Makefile (tests): Run only when not cross-compiling and
56976 when fast-check is not defined.
56977
56978 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56979 * conform/data/limits.h-data: Fixes for POSIX2008.
56980 * conform/run-conformtest.sh: Run all tests.
56981 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56982 headers.
56983 * include/bits/dlfcn.h: Likewise.
56984 * include/langinfo.h: Likewise.
56985 * include/monetary.h: Likewise.
56986 * include/sys/poll.h: Likewise.
56987
56988 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56989 for __USE_GNU.
56990 * posix/spawn.h: Define __need_sigset_t.
56991 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56992 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56993 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56994 to get sigevent_t only.
56995 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56996 only for __USE_GNU.
56997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56998 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56999 process_vm_writev only for __USE_GNU.
57000 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57001
57002 * conform/Makefile: For now ignore errors from run-conformtest.
57003 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57004 POSIX to avoid namespace pollution. Don't prepend headers.
57005 * conform/data/aio.h-data: Fixes for POSIX testing.
57006 * conform/data/fcntl.h-data: Likewise.
57007 * conform/data/glob.h-data: Likewise.
57008 * conform/data/grp.h-data: Likewise.
57009 * conform/data/pthread.h-data: Likewise.
57010 * conform/data/pwd.h-data: Likewise.
57011 * conform/data/signal.h-data: Likewise.
57012 * conform/data/spawn.h-data: Likewise.
57013 * conform/data/stdio.h-data: Likewise.
57014 * conform/data/stdlib.h-data: Likewise.
57015 * conform/data/stropts.h-data: Likewise.
57016 * conform/data/sys/mman.h-data: Likewise.
57017 * conform/data/sys/stat.h-data: Likewise.
57018 * conform/data/sys/types.h-data: Likewise.
57019 * conform/data/sys/wait.h-data: Likewise.
57020 * conform/data/time.h-data: Likewise.
57021 * conform/data/unistd.h-data: Likewise.
57022 * conform/data/utime.h-data: Likewise.
57023
57024 * io/sys/stat.h: fchmod was always in POSIX.
57025 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57026 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57027 * rt/aio.h: Define __need_timespec before including <time.h>.
57028 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57029 struct. Add forward declaration of pthread_attr_t and use it in
57030 sigevent.
57031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57033 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57034 always remove CLK_TCK definition.
57035
57036 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57037
57038 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57039
57040 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57041
57042 * conform/run-conformtest.sh: New file.
57043 * conform/Makefile: Run run-conformtest for tests.
57044 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57045 support.
57046
57047 * conform/data/uchar.h-data: New file.
57048 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57049 * conform/data/arpa/inet.h-data: Likewise.
57050 * conform/data/assert.h-data: Likewise.
57051 * conform/data/complex.h-data: Likewise.
57052 * conform/data/cpio.h-data: Likewise.
57053 * conform/data/ctype.h-data: Likewise.
57054 * conform/data/dirent.h-data: Likewise.
57055 * conform/data/dlfcn.h-data: Likewise.
57056 * conform/data/errno.h-data: Likewise.
57057 * conform/data/fcntl.h-data: Likewise.
57058 * conform/data/float.h-data: Likewise.
57059 * conform/data/fmtmsg.h-data: Likewise.
57060 * conform/data/fnmatch.h-data: Likewise.
57061 * conform/data/ftw.h-data: Likewise.
57062 * conform/data/glob.h-data: Likewise.
57063 * conform/data/grp.h-data: Likewise.
57064 * conform/data/iconv.h-data: Likewise.
57065 * conform/data/inttypes.h-data: Likewise.
57066 * conform/data/langinfo.h-data: Likewise.
57067 * conform/data/libgen.h-data: Likewise.
57068 * conform/data/limits.h-data: Likewise.
57069 * conform/data/locale.h-data: Likewise.
57070 * conform/data/math.h-data: Likewise.
57071 * conform/data/monetary.h-data: Likewise.
57072 * conform/data/mqueue.h-data: Likewise.
57073 * conform/data/ndbm.h-data: Likewise.
57074 * conform/data/net/if.h-data: Likewise.
57075 * conform/data/netdb.h-data: Likewise.
57076 * conform/data/netinet/in.h-data: Likewise.
57077 * conform/data/nl_types.h-data: Likewise.
57078 * conform/data/poll.h-data: Likewise.
57079 * conform/data/pthread.h-data: Likewise.
57080 * conform/data/pwd.h-data: Likewise.
57081 * conform/data/regex.h-data: Likewise.
57082 * conform/data/sched.h-data: Likewise.
57083 * conform/data/search.h-data: Likewise.
57084 * conform/data/semaphore.h-data: Likewise.
57085 * conform/data/setjmp.h-data: Likewise.
57086 * conform/data/signal.h-data: Likewise.
57087 * conform/data/spawn.h-data: Likewise.
57088 * conform/data/stdarg.h-data: Likewise.
57089 * conform/data/stdio.h-data: Likewise.
57090 * conform/data/stdlib.h-data: Likewise.
57091 * conform/data/string.h-data: Likewise.
57092 * conform/data/strings.h-data: Likewise.
57093 * conform/data/stropts.h-data: Likewise.
57094 * conform/data/sys/ipc.h-data: Likewise.
57095 * conform/data/sys/mman.h-data: Likewise.
57096 * conform/data/sys/msg.h-data: Likewise.
57097 * conform/data/sys/resource.h-data: Likewise.
57098 * conform/data/sys/select.h-data: Likewise.
57099 * conform/data/sys/sem.h-data: Likewise.
57100 * conform/data/sys/shm.h-data: Likewise.
57101 * conform/data/sys/socket.h-data: Likewise.
57102 * conform/data/sys/stat.h-data: Likewise.
57103 * conform/data/sys/statvfs.h-data: Likewise.
57104 * conform/data/sys/time.h-data: Likewise.
57105 * conform/data/sys/timeb.h-data: Likewise.
57106 * conform/data/sys/times.h-data: Likewise.
57107 * conform/data/sys/types.h-data: Likewise.
57108 * conform/data/sys/uio.h-data: Likewise.
57109 * conform/data/sys/un.h-data: Likewise.
57110 * conform/data/sys/utsname.h-data: Likewise.
57111 * conform/data/sys/wait.h-data: Likewise.
57112 * conform/data/syslog.h-data: Likewise.
57113 * conform/data/tar.h-data: Likewise.
57114 * conform/data/termios.h-data: Likewise.
57115 * conform/data/utime.h-data: Likewise.
57116 * conform/data/utmpx.h-data: Likewise.
57117 * conform/data/varargs.h-data: Likewise.
57118 * conform/data/wchar.h-data: Likewise.
57119 * conform/data/wctype.h-data: Likewise.
57120 * conform/data/wordexp.h-data: Likewise.
57121
57122 * include/stropts.h: New file.
57123 * include/uchar.h: New file.
57124 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57125 * include/assert.h: Likewise.
57126 * include/ctype.h: Likewise.
57127 * include/dirent.h: Likewise.
57128 * include/dlfcn.h: Likewise.
57129 * include/fcntl.h: Likewise.
57130 * include/fnmatch.h: Likewise.
57131 * include/glob.h: Likewise.
57132 * include/grp.h: Likewise.
57133 * include/libio.h: Likewise.
57134 * include/locale.h: Likewise.
57135 * include/math.h: Likewise.
57136 * include/net/if.h: Likewise.
57137 * include/netdb.h: Likewise.
57138 * include/netinet/in.h: Likewise.
57139 * include/pthread.h: Likewise.
57140 * include/pwd.h: Likewise.
57141 * include/regex.h: Likewise.
57142 * include/sched.h: Likewise.
57143 * include/search.h: Likewise.
57144 * include/setjmp.h: Likewise.
57145 * include/signal.h: Likewise.
57146 * include/stdio.h: Likewise.
57147 * include/stdlib.h: Likewise.
57148 * include/string.h: Likewise.
57149 * include/sys/cdefs.h: Likewise.
57150 * include/sys/mman.h: Likewise.
57151 * include/sys/msg.h: Likewise.
57152 * include/sys/resource.h: Likewise.
57153 * include/sys/select.h: Likewise.
57154 * include/sys/socket.h: Likewise.
57155 * include/sys/stat.h: Likewise.
57156 * include/sys/statvfs.h: Likewise.
57157 * include/sys/time.h: Likewise.
57158 * include/sys/times.h: Likewise.
57159 * include/sys/uio.h: Likewise.
57160 * include/sys/utsname.h: Likewise.
57161 * include/sys/wait.h: Likewise.
57162 * include/termios.h: Likewise.
57163 * include/time.h: Likewise.
57164 * include/ulimit.h: Likewise.
57165 * include/unistd.h: Likewise.
57166 * include/utime.h: Likewise.
57167 * include/wchar.h: Likewise.
57168 * include/wctype.h: Likewise.
57169 * include/wordexp.h: Likewise.
57170
57171 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57172
57173 * time/time.h: TIME_UTC must be a macro.
57174 Make timespec_get available for ISO C11 only as well.
57175
57176 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57177
57178 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57179 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57180
57181 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57182
57183 * configure.in: Use -o not -a in test for unsupported multi-arch.
57184
57185 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57186
57187 * manual/texinfo.tex: Update to version 2012-01-19.16.
57188
57189 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57190
57191 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57192
57193 2012-02-24 Roland McGrath <roland@hack.frob.com>
57194
57195 [BZ #13738]
57196 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57197 * manual/fdl-1.3.texi: New file.
57198 * manual/fdl-1.1.texi: File removed.
57199
57200 [BZ #13738]
57201 * manual/libc.texinfo (FDL_VERSION): New @set.
57202 Use it for mention of FDL in cover text.
57203 (Documentation License): Use it in @include file name.
57204
57205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57206 Roland McGrath <roland@hack.frob.com>
57207
57208 [BZ #5461]
57209 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57210 (not LONG_LONG_MAX and LONG_LONG_MIN.
57211 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57212 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57213 name.
57214 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57215
57216 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57217
57218 [BZ #2547]
57219 [BZ #11365]
57220 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57221 manipulate bits before adding and subtracting TWO23[sx].
57222 * math/libm-test.inc (nearbyint_test): Add more tests.
57223
57224 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57225
57226 [BZ #2548]
57227 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57228 bits before adding and subtracting TWO23[sx].
57229 * math/libm-test.inc (rint_test): Add more tests.
57230 (rint_test_tonearest): Likewise.
57231 (rint_test_towardzero): Likewise.
57232 (rint_test_downward): Likewise.
57233 (rint_test_upward: Likewise.
57234
57235 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57236
57237 [BZ #10110]
57238 * include/stdc-predef.h: New file. Extracted from features.h.
57239 * include/features.h: Include stdc-predef.h.
57240 * Makefile (headers): Add stdc-predef.h.
57241 * CONFORMANCE (Compiler limitations): Update.
57242
57243 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57244
57245 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57246
57247 2012-02-21 David S. Miller <davem@davemloft.net>
57248
57249 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57250 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57251
57252 2012-02-20 David S. Miller <davem@davemloft.net>
57253
57254 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57255 using a normal save/restore sequence, rather than allocating a
57256 dummy stack frame just to store a frame pointer and restore.
57257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57258
57259 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57260
57261 * manual/install.texi: Fix stray word in line-wrapped comment.
57262
57263 2012-02-20 David S. Miller <davem@davemloft.net>
57264
57265 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57266 both binutils and gcc support GOTDATA.
57267
57268 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57269 "rd %pc" in the PIC register setup sequences.
57270
57271 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57272 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57273 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57274 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57275 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57277 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57280 (SYSCALL_ERROR_HANDLER): Likewise.
57281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57282 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57284 (SYSCALL_ERROR_HANDLER): Likewise.
57285
57286 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57287 (HAVE_GCC_GOTDATA): New.
57288 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57289 relocation support in both binutils and gcc.
57290 * sysdeps/sparc/elf/configure: Regenerate.
57291
57292 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57293 * sysdeps/sparc/sparc32/elf/configure: Delete.
57294 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57295 * sysdeps/sparc/sparc64/elf/configure: Delete.
57296 * sysdeps/sparc/elf/configure.in: New file.
57297 * sysdeps/sparc/elf/configure: Generate.
57298
57299 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57300 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57301 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57302 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57303 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57304
57305 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57306
57307 * manual/install.texi: Do not mention specific glibc version
57308 numbers.
57309 * manual/libc.texinfo (VERSION, UPDATED): Update.
57310 (@copying): Use @copyright{} and range of years.
57311
57312 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57313
57314 [BZ #13695]
57315 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57316 [crti.S not in sysdirs] (generated): Do not append.
57317 [crti.S not in sysdirs] (omit-deps): Likewise.
57318 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57319 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57320 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57321 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57322 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57323 Likewise.
57324 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57325 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57326 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57327 * csu/defs.awk: Remove file.
57328 * sysdeps/generic/initfini.c: Likewise.
57329 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57330 variable.
57331 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57332 Likewise.
57333
57334 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57335
57336 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57337 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57338 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57340 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57341 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57342 <bits/epoll.h>.
57343 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57344 (__EPOLL_PACKED): Define to empty if not defined by
57345 <bits/epoll.h>.
57346 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57348 bits/epoll.h.
57349
57350 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57351
57352 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57353 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57356 <bits/timerfd.h>.
57357 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57359 bits/timerfd.h.
57360
57361 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57362
57363 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57364 in C locale.
57365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57366 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57369
57370 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57371
57372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57374
57375 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57376
57377 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57378 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57379 defined.
57380 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57381 Likewise.
57382 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57383 entry for 2.16.
57384
57385 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57386
57387 * math/w_acos.c: Use non-signaling floating-point comparisons.
57388 * math/w_acosf.c: Likewise.
57389 * math/w_acosh.c: Likewise.
57390 * math/w_acoshf.c: Likewise.
57391 * math/w_acoshl.c: Likewise.
57392 * math/w_acosl.c: Likewise.
57393 * math/w_asin.c: Likewise.
57394 * math/w_asinf.c: Likewise.
57395 * math/w_asinl.c: Likewise.
57396 * math/w_atanh.c: Likewise.
57397 * math/w_atanhf.c: Likewise.
57398 * math/w_atanhl.c: Likewise.
57399 * math/w_exp2.c: Likewise.
57400 * math/w_exp2f.c: Likewise.
57401 * math/w_exp2l.c: Likewise.
57402 * math/w_j0.c: Likewise.
57403 * math/w_j0f.c: Likewise.
57404 * math/w_j0l.c: Likewise.
57405 * math/w_j1.c: Likewise.
57406 * math/w_j1f.c: Likewise.
57407 * math/w_j1l.c: Likewise.
57408 * math/w_jn.c: Likewise.
57409 * math/w_jnf.c: Likewise.
57410 * math/w_log.c: Likewise.
57411 * math/w_log10.c: Likewise.
57412 * math/w_log10f.c: Likewise.
57413 * math/w_log10l.c: Likewise.
57414 * math/w_log2.c: Likewise.
57415 * math/w_log2f.c: Likewise.
57416 * math/w_log2l.c: Likewise.
57417 * math/w_logf.c: Likewise.
57418 * math/w_logl.c: Likewise.
57419 * math/w_sqrt.c: Likewise.
57420 * math/w_sqrtf.c: Likewise.
57421 * math/w_sqrtl.c: Likewise.
57422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57423 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57425 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57426 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57427
57428 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57429
57430 [BZ #9739]
57431 * manual/string.texi (strnlen): Use correct parameter name in
57432 equivalent expression.
57433
57434 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57435
57436 [BZ #11174]
57437 * manual/users.texi (seteuid): Consistently use neweuid for
57438 argument name.
57439
57440 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57441
57442 [BZ #13704]
57443 * manual/nss.texi (Services in the NSS configuration): Correct
57444 list of services in example configuration file.
57445
57446 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57447
57448 [BZ #11322]
57449 * manual/arith.texi: Remove statements about negative zero
57450 behaving identically to zero.
57451
57452 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57453
57454 [BZ #5993]
57455 * manual/install.texi: Do not document upgrading from libc5.
57456
57457 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57458
57459 [BZ #4596]
57460 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57461
57462 2012-02-18 David S. Miller <davem@davemloft.net>
57463
57464 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57465 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57466 %o7 across the call.
57467 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57468 instead.
57469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57470 SETUP_PIC_REG_LEAF.
57471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57472 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57473 * sysdeps/sparc/crtn.S: Likewise.
57474
57475 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57476
57477 * aout/Makefile: Remove.
57478
57479 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57480
57481 [BZ #13058]
57482 * manual/examples/argp-ex1.c (main): Format definition in GNU
57483 style.
57484 * manual/examples/argp-ex2.c (main): Likewise.
57485 * manual/examples/argp-ex3.c (main): Likewise.
57486 * manual/examples/argp-ex4.c (main): Likewise.
57487 * manual/examples/longopt.c (main): Use new-style prototype
57488 definition.
57489 * manual/examples/strncat.c (main): Specify return type and use
57490 (void) for arguments.
57491 * manual/examples/subopt.c (main): Use char **argv argument.
57492
57493 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57494
57495 [BZ #5077]
57496 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57497 rounding modes.
57498
57499 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57500
57501 [BZ #6907]
57502 * manual/string.texi (strchr): Change when strchrnul is
57503 recommended.
57504
57505 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57506
57507 [BZ #174]
57508 * manual/locale.texi (setlocale): Document LOCPATH.
57509
57510 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57511
57512 [BZ #10210]
57513 * manual/process.texi (execle): Move @dots{} before last argument.
57514
57515 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57516
57517 [BZ #12047]
57518 * manual/charset.texi (Generic Charset Conversion): Fix typo
57519 (LC_TYPE -> LC_CTYPE).
57520
57521 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57522
57523 [BZ #5805]
57524 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57525 (scalbnf): Likewise.
57526 (scalbnl): Likewise.
57527 (scalbln): Likewise.
57528 (scalblnf): Likewise.
57529 (scalblnl): Likewise.
57530 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57531 (vwarnx): Likewise.
57532 (verr): Likewise.
57533 (verrx): Likewise.
57534 * manual/filesys.texi (telldir): Use braces around return type.
57535 * manual/llio.texi (mmap): Add space after comma.
57536 (mmap64): Likewise.
57537 * manual/math.texi (jn): Use @var{} on parameter names.
57538 (jnf): Likewise.
57539 (jnl): Likewise.
57540 (yn): Likewise.
57541 (ynf): Likewise.
57542 (ynl): Likewise.
57543 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57544 line.
57545 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57546 "...".
57547 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57548 (sched_get_priority_max): Likewise.
57549 * manual/signal.texi (sigvec): Add space after comma.
57550 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57551 names.
57552 (if_indextoname): Likewise.
57553 (if_freenameindex): Likewise.
57554 (sendto): Use ',' instead of '.' in prototype.
57555 * manual/startup.texi (syscall): Use @dots{} instead of literal
57556 "...".
57557 * manual/stdio.texi (__fpending): Separate initial words of
57558 paragraph from @deftypefun line.
57559 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57560 "...".
57561 (vsyslog): Use @var{} on parameter names.
57562 * manual/terminal.texi (stty): Use @var{} on parameter names.
57563 * manual/users.texi (getutmp): Use @var{} on parameter names.
57564 (getutmpx): Likewise.
57565
57566 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57567
57568 [BZ #6884]
57569 * manual/stdio.texi (fopen): Fix typos in description of
57570 ",ccs=STRING".
57571
57572 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57573
57574 [BZ #4026]
57575 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57576 get clock_id definition.
57577
57578 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57579
57580 [BZ #4822]
57581 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57582 (madvise): Cast every argument to void on its own.
57583
57584 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57585
57586 [BZ #9902]
57587 * manual/startup.texi (Exit Status): Fix typo.
57588
57589 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57590
57591 [BZ #10140]
57592 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57593 * manual/examples/argp-ex2.c: Likewise.
57594 * manual/examples/argp-ex3.c: Likewise.
57595
57596 2012-02-16 Richard Henderson <rth@redhat.com>
57597
57598 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57599 * sysdeps/s390/s390-32/initfini.c: Remove.
57600 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57601 * sysdeps/s390/s390-64/initfini.c: Remove.
57602
57603 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57604
57605 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57606 compiler output for sysdeps/generic/initfini.c.
57607 * sysdeps/sh/elf/initfini.c: Remove file.
57608
57609 2012-02-16 David S. Miller <davem@davemloft.net>
57610
57611 [BZ #11494]
57612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57613
57614 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57615 * sysdeps/sparc/crti.S: New file.
57616 * sysdeps/sparc/crtn.S: New file.
57617 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57618 * sysdeps/sparc/sparc64/Makefile: Likewise.
57619
57620 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57621
57622 [BZ #3335]
57623 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57624
57625 2012-02-15 Roland McGrath <roland@hack.frob.com>
57626
57627 [BZ #4822]
57628 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57629
57630 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57631 (write, read, close): Likewise.
57632 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57633
57634 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57635
57636 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57637 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57638 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57639 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57640 <bits/signalfd.h>.
57641 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57643 bits/signalfd.h.
57644
57645 2012-02-14 Marek Polacek <polacek@redhat.com>
57646
57647 * sysdeps/x86_64/crti.S: New file.
57648 * sysdeps/x86_64/crtn.S: New file.
57649 * sysdeps/x86_64/elf/initfini.c: Remove file.
57650
57651 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57652
57653 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57654 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57655 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57656 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57657 <bits/inotify.h>.
57658 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57660 bits/inotify.h.
57661
57662 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57663
57664 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57665 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57666 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57667 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57668 <bits/eventfd.h>.
57669 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57671 bits/eventfd.h.
57672
57673 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57674
57675 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57676 __feraiseexcept instead of feraiseexcept.
57677
57678 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57679 nanosleep invocations.
57680 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57681 strings, and add error checking for a nanosleep invocations.
57682
57683 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57684
57685 Replace FSF snail mail address with URLs, as per GNU coding standards.
57686 Most of the snail mail addresses were wrong anyway, and omitting
57687 them makes the source code easier to maintain. Almost all of the
57688 changes are to license notices and to locale LC_IDENTIFICATION
57689 addresses, except for this one:
57690 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57691 not its snail mail address.
57692
57693 2012-02-09 Richard Henderson <rth@twiddle.net>
57694
57695 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57696 of kernel-features.h.
57697
57698 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57699
57700 2012-02-08 Marek Polacek <polacek@redhat.com>
57701
57702 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57703 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57704 * sysdeps/gnu/_G_config.h: Likewise.
57705 * sysdeps/generic/_G_config.h: Likewise.
57706
57707 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57708
57709 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57710 tests.
57711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57712
57713 * sysdeps/powerpc/powerpc32/crti.S: New file.
57714 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57715 * sysdeps/powerpc/powerpc64/crti.S: New file.
57716 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57717
57718 * Makeconfig (have-initfini): Don't set.
57719 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57720 * configure.in (nopic_initfini): Don't substitute.
57721 * config.h.in (HAVE_INITFINI): Don't #undef.
57722 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57723 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57724
57725 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57726
57727 Support crti.S and crtn.S provided directly by architectures.
57728 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57729 [crti.S in sysdirs] (omit-deps): Likewise.
57730 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57731 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57732 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57733 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57734 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57735 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57736 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57737 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57738 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57739 compiler output for sysdeps/generic/initfini.c.
57740 * sysdeps/i386/elf/Makefile: Remove file.
57741 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57742
57743 2012-02-07 Marek Polacek <polacek@redhat.com>
57744
57745 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57746 * sysdeps/gnu/_G_config.h: Likewise.
57747 * sysdeps/mach/hurd/_G_config.h: Likewise.
57748
57749 2012-02-07 Marek Polacek <polacek@redhat.com>
57750
57751 * math/Makefile (tests): Add tst-CMPLX2.
57752 * math/tst-CMPLX2.c: New file.
57753
57754 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57755
57756 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57757
57758 * math/libm-test.inc (jn_test): Add missing L suffix.
57759
57760 2012-02-06 Marek Polacek <polacek@redhat.com>
57761
57762 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57763 * sysdeps/i386/fpu/e_powf.S: Likewise.
57764 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57765 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57766 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57767 * sysdeps/i386/fpu/e_pow.S: Likewise.
57768 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57769 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57770 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57771 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57772 * sysdeps/i386/fpu/e_log2.S: Likewise.
57773 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57774 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57775 * sysdeps/i386/fpu/e_powl.S: Likewise.
57776 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57777 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57778 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57779 * sysdeps/i386/fpu/e_logl.S: Likewise.
57780 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57781 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57782 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57783 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57784 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57785 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57786 * sysdeps/i386/fpu/e_log.S: Likewise.
57787 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57788 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57789 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57790 * sysdeps/i386/fpu/e_logf.S: Likewise.
57791 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57792 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57793 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57794 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57795 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57796 * sysdeps/i386/fpu/e_log10.S: Likewise.
57797 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57799 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57800 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57801 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57802 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57803 * sysdeps/i386/asm-syntax.h: Likewise.
57804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57806 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57807 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57808 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57809 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57810 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57811 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57813 * sysdeps/powerpc/sysdep.h: Likewise.
57814 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57815 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57816
57817 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57818
57819 [BZ #411]
57820 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57821
57822 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57823
57824 * sysdeps/i386/sysdep.h: Include <features.h>.
57825 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57826 version.
57827
57828 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57829
57830 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57831 Define.
57832 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57833 LOAD_PIC_REG_STR.
57834
57835 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57836
57837 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57838 (SETUP_PIC_REG): Use GET_PC_THUNK.
57839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57840 macro.
57841
57842 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57843
57844 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57845 for non-PIC compilation.
57846 (SETUP_PIC_REG): Add .p2align directive.
57847 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57848 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57849 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57850 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57851 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57852 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57853 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57855 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57856 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57857 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57858 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57859 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57860 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57861 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57862 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57863 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57864 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57865 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57866 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57868 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57869 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57870 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57873 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57875 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57876 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57877 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57878 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57879 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57880 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57881 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57882 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57883 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57884 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57885 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57886 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57887 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57888
57889 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57890
57891 * math/tst-CMPLX.c: Include <stdio.h>.
57892
57893 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57894
57895 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57896 float.
57897 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57898 * sysdeps/sparc/bits/mathdef.h: Likewise.
57899
57900 2012-01-31 Marek Polacek <polacek@redhat.com>
57901
57902 * libio/libio.h: Don't define _PARAMS.
57903 * locale/programs/config.h: Don't define PARAMS.
57904 * stdlib/strtol_l.c: Likewise.
57905 (__strtol_l): Remove PARAMS from the prototype.
57906
57907 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57908
57909 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57910 names. Just use the correct names. Remove unnecessary wrapper
57911 functions.
57912 * malloc/arena.c: Likewise.
57913 * malloc/hooks.c: Likewise.
57914
57915 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57916 ARENA_TEST says not to. Simplify test for creation of a new arena.
57917 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57918
57919 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57920
57921 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57922 into tail calls.
57923 (update_get_addr): New function.
57924 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57925 GET_ADDR_MODULE parameter.
57926
57927 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57928
57929 * crypt/cert.c: Remove __STDC__ conditionals.
57930 * crypt/crypt-entry.c: Likewise.
57931 * crypt/crypt_util.c: Likewise.
57932 * libio/filedoalloc.c: Likewise.
57933 * libio/fileops.c: Likewise.
57934 * libio/genops.c: Likewise.
57935 * libio/iofclose.c: Likewise.
57936 * libio/iofdopen.c: Likewise.
57937 * libio/iofopen.c: Likewise.
57938 * libio/iofopen64.c: Likewise.
57939 * libio/iogetdelim.c: Likewise.
57940 * libio/iopopen.c: Likewise.
57941 * libio/obprintf.c: Likewise.
57942 * libio/oldfileops.c: Likewise.
57943 * libio/oldiofclose.c: Likewise.
57944 * libio/oldiofdopen.c: Likewise.
57945 * libio/oldiofopen.c: Likewise.
57946 * libio/oldiopopen.c: Likewise.
57947 * libio/wfiledoalloc.c: Likewise.
57948 * libio/wgenops.c: Likewise.
57949 * locale/programs/xmalloc.c: Likewise.
57950 * misc/syslog.c: Likewise.
57951 * stdio-common/xbug.c: Likewise.
57952 * string/memchr.c: Likewise.
57953 * string/memcmp.c: Likewise.
57954 * string/memrchr.c: Likewise.
57955 * string/rawmemchr.c: Likewise.
57956 * sysdeps/posix/getcwd.c: Likewise.
57957 * time/strftime_l.c: Likewise.
57958
57959 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57960
57961 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57962 * config.make.in (config-cflags-sse2avx): Define.
57963 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57964 Fix typo.
57965
57966 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57967
57968 * scripts/config.guess: Update from upstream config git repository.
57969 * scripts/config.sub: Likewise.
57970
57971 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57972
57973 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57974 (EM_NUM): Update.
57975 (R_TILEPRO_*, R_TILEGX_*): New macros.
57976
57977 * scripts/firstversions.awk: Fix bug in version range handling.
57978
57979 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57980
57981 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57982
57983 * include/sys/epoll.h: New file.
57984 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57985 libc_hidden_def.
57986
57987 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57988
57989 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57990 Avoid unnecessary __WORDSIZE == 64 test.
57991 (fmaxf): Use VEX format if possible.
57992 (fmax): Likewise.
57993 (fminf): Likewise.
57994 (fmin): Likewise.
57995
57996 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57997 * math/math_private.h: Remove libc_fegetround* and
57998 libc_fesetround*.
57999 * sysdeps/i386/configure.in: Check for -msse2avx.
58000 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58001 also if SSE2AVX is defined.
58002 Remove libc_fegetround* and libc_fesetround*.
58003 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58004 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58006 of HAS_YMM_USABLE.
58007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58012
58013 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58014
58015 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58016
58017 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58018 size is not set.
58019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58020
58021 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58022
58023 [BZ #13618]
58024 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58025 relocation.
58026 * Makeconfig (libm): Define.
58027 * elf/Makefile: Add rules to build and run tst-relsort1.
58028 * elf/tst-relsort1.c: New file.
58029 * elf/tst-relsort1mod1.c: New file.
58030 * elf/tst-relsort1mod2.c: New file.
58031
58032 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58033
58034 * math/s_ldexp.c: Remove __STDC__ conditionals.
58035 * math/s_ldexpf.c: Likewise.
58036 * math/s_ldexpl.c: Likewise.
58037 * math/s_nextafter.c: Likewise.
58038 * math/s_nexttowardf.c: Likewise.
58039 * math/s_significand.c: Likewise.
58040 * math/s_significandf.c: Likewise.
58041 * math/s_significandl.c: Likewise.
58042 * math/w_jnl.c: Likewise.
58043 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58044 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58045 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58046 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58047 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58049 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58050 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58051 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58055 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58056 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58057 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58059 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58060 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58062 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58063 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58068 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58070 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58071 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58073 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58074 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58075 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58077 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58078 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58079 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58081 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58082 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58083 * sysdeps/ieee754/k_standard.c: Likewise.
58084 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58086 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58087 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58088 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58089 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58090 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58091 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58092 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58093 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58094 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58095 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58096 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58097 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58098 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58100 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58101 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58103 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58104 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58105 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58106 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58107 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58108 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58109 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58113 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58115 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58116 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58117 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58120 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58123 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58124 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58130 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58134 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58137 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58138 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58139 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58140 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58141 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58142 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58143 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58144 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58145 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58146 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58148 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58149 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58150 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58151 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58152 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58153 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58154 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58156 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58159 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58160 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58161 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58163 * sysdeps/ieee754/s_matherr.c: Likewise.
58164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58168
58169 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58170
58171 * crypt/md5.h: Remove __STDC__ conditionals.
58172 * libio/libioP.h: Likewise.
58173 * locale/programs/config.h: Likewise.
58174 * sysdeps/generic/sysdep.h: Likewise.
58175 * sysdeps/i386/asm-syntax.h: Likewise.
58176 * sysdeps/s390/asm-syntax.h: Likewise.
58177 * sysdeps/unix/sysdep.h: Likewise.
58178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58180
58181 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58182
58183 * libio/libio.h: Remove __STDC__ conditionals.
58184 * malloc/obstack.h: Likewise.
58185 * math/complex.h: Likewise.
58186 * math/math.h: Likewise.
58187 * sysdeps/generic/_G_config.h: Likewise.
58188 * sysdeps/gnu/_G_config.h: Likewise.
58189 * sysdeps/mach/hurd/_G_config.h: Likewise.
58190 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58191 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58192 * sysdeps/sparc/bits/mathdef.h: Likewise.
58193
58194 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58195
58196 [BZ #13583]
58197 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58198 Clean up HAS_* macros.
58199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58200 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58201 possible.
58202 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58203 HAS_AVX.
58204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58205 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58206 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58209
58210 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58211
58212 * elf/tst-unique3.cc (gets): Remove declaration.
58213 * elf/tst-unique3lib.cc (gets): Likewise.
58214 * elf/tst-unique3lib2.cc (gets): Likewise.
58215 * elf/tst-unique4.cc (gets): Likewise.
58216
58217 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58218
58219 * include/stdio.h: Add C++ protection. Add gets declarations and
58220 definitions.
58221 * debug/tst-chk1.c: Don't declare gets here.
58222 * stdio-common/tst-gets.c: Likewise.
58223
58224 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58225
58226 * posix/glob: Remove directory.
58227
58228 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58229
58230 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58231
58232 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58233
58234 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58235 of the non-standard EPFNOSUPPORT.
58236
58237 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58238
58239 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58240 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58241 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58242
58243 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58244
58245 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58246
58247 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58248
58249 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58250 transient errors.
58251 * nscd/grpcache.c (cache_addgr): Likewise.
58252 * nscd/hstcache.c (cache_addhst): Likewise.
58253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58254 * nscd/pwdcache.c (cache_addpw): Likewise.
58255 * nscd/servicescache.c (cache_addserv): Likewise.
58256
58257 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58258
58259 * malloc/malloc.c: Various cleanups.
58260 * malloc/hooks.c: Likewise.
58261
58262 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58263 * stdlib/bug-fmtmsg1.c: New file.
58264
58265 * stdlib/fmtmsg.c (init): Add missing unlock.
58266 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58267
58268 2012-01-12 Marek Polacek <polacek@redhat.com>
58269
58270 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58271 and _GNU_SOURCE.
58272
58273 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58274
58275 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58276 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58277 macro to ensure uniqueness of label name.
58278 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58279 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58280
58281 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58282
58283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58284
58285 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58286 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58289
58290 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58291
58292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58293
58294 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58295 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58296 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58297
58298 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58299
58300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58301 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58304
58305 * math/bits/math-finite.h: Add ldexp support.
58306
58307 2012-01-10 Marek Polacek <polacek@redhat.com>
58308
58309 * locale/programs/localedef.h (show_archive_content): Add noreturn
58310 attribute.
58311
58312 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58313
58314 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58315
58316 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58317
58318 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58319
58320 * io/Makefile (headers): Add bits/poll2.h.
58321
58322 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58323
58324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58325 typo #include statement.
58326
58327 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58328
58329 * include/sys/cdefs.h: Define __attribute_alloc_size.
58330 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58331 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58332 * elf/pldd.c: Likewise.
58333 * iconv/iconv_charmap.c: Likewise.
58334 * iconv/iconvconfig.c: Likewise.
58335 * iconv/strtab.c: Likewise.
58336 * locale/programs/locale.c: Likewise.
58337 * locale/programs/localedef.h: Likewise.
58338 * locale/programs/simple-hash.c: Likewise.
58339 * nscd/nscd.h: Likewise.
58340 * nss/makedb.c: Likewise.
58341 * sysdeps/generic/ldconfig.h: Likewise.
58342 * locale/programs/localedef.c: Remove xmalloc prototype.
58343 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58344
58345 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58346
58347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58348 appropriate.
58349
58350 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58351
58352 * math/Makefile (tests): Add tst-CMPLX.
58353 * math/tst-CMPLX.c: New file.
58354
58355 * math/complex.h (CMPLXL): Fix typo.
58356
58357 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58358 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58359 GLIBC_2.16.
58360 * debug/tst-chk1.c: Add poll and ppoll tests.
58361 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58362 * include/sys/poll.h: Add hidden proto for ppoll.
58363 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58364 * sysdeps/mach/hurd/ppoll.c: Likewise.
58365 * io/ppoll.c: Likewise.
58366 * debug/poll_chk.c: New file.
58367 * debug/ppoll_chk.c: New file.
58368 * include/bits/poll2.h: New file.
58369 * io/bits/poll2.h: New file.
58370
58371 [BZ #1350]
58372 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58373
58374 * configure.in: static is always set to yes. Remove.
58375 * config.make.in: Don't set build-static.
58376 * Makeconfig: Remove use of build-static.
58377 * dlfcn/Makefile: Likewise.
58378 * elf/Makefile: Likewise.
58379 * math/Makefile: Likewise.
58380 * misc/Makefile: Likewise.
58381 * nptl/Makefile: Likewise.
58382 * sysdeps/mach/hurd/Makefile: Likewise.
58383
58384 * configure.in: PWD_P is not used anymore.
58385 * config.make.in: Remove PWD_P entry.
58386
58387 * configure.in: Remove last remnants of RANLIB.
58388 No need to check for signed size_t anymore.
58389 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58390 and IA-64.
58391 Remove __builtin_expect test because we require at least gcc 3.4.
58392 * aclocal.m4: Likewise.
58393
58394 * wcsmbs/mbrtoc16.c: Implement using towc function.
58395 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58396 * wcsmbs/wcsmbsload.c: Likewise.
58397 * iconv/gconv_simple.c: Likewise.
58398 * iconv/gconv_int.h: Likewise.
58399 * iconv/gconv_builtin.h: Likewise.
58400 * iconv/iconv_prog.c: Remove CHAR16 handling.
58401
58402 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58403
58404 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58405
58406 * configure.in: Remove --with-elf and --enable-bounded options.
58407 Dont set base_machine for ia64. More non-ELF conditions removed.
58408 Remove testing and setting of leading underscore information.
58409 * config.make.in (build-bounded): Set to no.
58410 * config.h.in: Remove NO_UNDERSCORES entry.
58411 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58412 them.
58413 * csu/start.c: Remove !NO_UNDERSCORE code.
58414 * locale/localeinfo.h: Likewise.
58415 * sysdeps/generic/machine-gmon.h: Likewise.
58416 * sysdeps/generic/sysdep.h: Likewise.
58417 * sysdeps/i386/sysdep.h: Likewise.
58418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58419 * sysdeps/mach/sysdep.h: Likewise.
58420 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58422 * sysdeps/sh/sysdep.h: Likewise.
58423 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58424 * sysdeps/unix/i386/sysdep.S: Likewise.
58425 * sysdeps/unix/sparc/start.c: Likewise.
58426 * sysdeps/unix/sparc/sysdep.S: Likewise.
58427 * sysdeps/unix/sparc/sysdep.h: Likewise.
58428 * sysdeps/unix/start.c: Likewise.
58429 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58430 * sysdeps/x86_64/sysdep.h: Likewise.
58431
58432 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58433
58434 [BZ #13553]
58435 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58436 for non-gcc.
58437 * argp/argp-fmtstream.h: Use const instead __const.
58438 * argp/argp.h: Likewise.
58439 * assert/assert.h: Likewise.
58440 * bits/fenv.h: Likewise.
58441 * bits/sched.h: Likewise.
58442 * bits/sigset.h: Likewise.
58443 * bits/sigthread.h: Likewise.
58444 * catgets/nl_types.h: Likewise.
58445 * conform/data/pthread.h-data: Likewise.
58446 * crypt/crypt-private.h: Likewise.
58447 * crypt/crypt.h: Likewise.
58448 * crypt/crypt_util.c: Likewise.
58449 * ctype/ctype.h: Likewise.
58450 * debug/execinfo.h: Likewise.
58451 * debug/mbsnrtowcs_chk.c: Likewise.
58452 * debug/mbsrtowcs_chk.c: Likewise.
58453 * debug/wcsnrtombs_chk.c: Likewise.
58454 * debug/wcsrtombs_chk.c: Likewise.
58455 * debug/wcstombs_chk.c: Likewise.
58456 * dirent/dirent.h: Likewise.
58457 * dlfcn/dlfcn.h: Likewise.
58458 * elf/neededtest4.c: Likewise.
58459 * grp/grp.h: Likewise.
58460 * gshadow/gshadow.h: Likewise.
58461 * iconv/gconv.h: Likewise.
58462 * iconv/gconv_int.h: Likewise.
58463 * iconv/gconv_simple.c: Likewise.
58464 * iconv/iconv.h: Likewise.
58465 * iconv/loop.c: Likewise.
58466 * iconv/skeleton.c: Likewise.
58467 * include/aio.h: Likewise.
58468 * include/aliases.h: Likewise.
58469 * include/argz.h: Likewise.
58470 * include/arpa/inet.h: Likewise.
58471 * include/assert.h: Likewise.
58472 * include/dirent.h: Likewise.
58473 * include/dlfcn.h: Likewise.
58474 * include/execinfo.h: Likewise.
58475 * include/fcntl.h: Likewise.
58476 * include/fenv.h: Likewise.
58477 * include/glob.h: Likewise.
58478 * include/grp.h: Likewise.
58479 * include/libintl.h: Likewise.
58480 * include/mntent.h: Likewise.
58481 * include/netdb.h: Likewise.
58482 * include/pwd.h: Likewise.
58483 * include/rpc/netdb.h: Likewise.
58484 * include/sched.h: Likewise.
58485 * include/search.h: Likewise.
58486 * include/shadow.h: Likewise.
58487 * include/signal.h: Likewise.
58488 * include/stdio.h: Likewise.
58489 * include/stdlib.h: Likewise.
58490 * include/string.h: Likewise.
58491 * include/sys/socket.h: Likewise.
58492 * include/sys/stat.h: Likewise.
58493 * include/sys/statfs.h: Likewise.
58494 * include/sys/statvfs.h: Likewise.
58495 * include/sys/syslog.h: Likewise.
58496 * include/sys/time.h: Likewise.
58497 * include/sys/uio.h: Likewise.
58498 * include/time.h: Likewise.
58499 * include/unistd.h: Likewise.
58500 * include/utmp.h: Likewise.
58501 * include/wchar.h: Likewise.
58502 * include/wctype.h: Likewise.
58503 * inet/aliases.h: Likewise.
58504 * inet/arpa/inet.h: Likewise.
58505 * inet/netinet/ether.h: Likewise.
58506 * inet/netinet/in.h: Likewise.
58507 * intl/libintl.h: Likewise.
58508 * io/bits/fcntl2.h: Likewise.
58509 * io/fcntl.h: Likewise.
58510 * io/ftw.h: Likewise.
58511 * io/sys/poll.h: Likewise.
58512 * io/sys/stat.h: Likewise.
58513 * io/sys/statfs.h: Likewise.
58514 * io/sys/statvfs.h: Likewise.
58515 * io/utime.h: Likewise.
58516 * libio/bits/stdio.h: Likewise.
58517 * libio/bits/stdio2.h: Likewise.
58518 * libio/libio.h: Likewise.
58519 * libio/libioP.h: Likewise.
58520 * libio/stdio.h: Likewise.
58521 * locale/lc-ctype.c: Likewise.
58522 * locale/locale.h: Likewise.
58523 * login/utmp.h: Likewise.
58524 * malloc/arena.c: Likewise.
58525 * malloc/malloc.c: Likewise.
58526 * malloc/malloc.h: Likewise.
58527 * malloc/mcheck.c: Likewise.
58528 * malloc/mtrace.c: Likewise.
58529 * math/bits/mathcalls.h: Likewise.
58530 * math/fenv.h: Likewise.
58531 * math/math_private.h: Likewise.
58532 * misc/bits/error.h: Likewise.
58533 * misc/bits/syslog.h: Likewise.
58534 * misc/err.h: Likewise.
58535 * misc/error.h: Likewise.
58536 * misc/fstab.h: Likewise.
58537 * misc/mntent.h: Likewise.
58538 * misc/regexp.h: Likewise.
58539 * misc/search.h: Likewise.
58540 * misc/sgtty.h: Likewise.
58541 * misc/sys/mman.h: Likewise.
58542 * misc/sys/syslog.h: Likewise.
58543 * misc/sys/uio.h: Likewise.
58544 * misc/sys/xattr.h: Likewise.
58545 * misc/ttyent.h: Likewise.
58546 * nis/rpcsvc/ypclnt.h: Likewise.
58547 * nss/nss.h: Likewise.
58548 * posix/bits/unistd.h: Likewise.
58549 * posix/fnmatch.h: Likewise.
58550 * posix/glob.h: Likewise.
58551 * posix/sched.h: Likewise.
58552 * posix/spawn.h: Likewise.
58553 * posix/sys/wait.h: Likewise.
58554 * posix/unistd.h: Likewise.
58555 * posix/wordexp.h: Likewise.
58556 * pwd/pwd.h: Likewise.
58557 * resolv/netdb.h: Likewise.
58558 * resource/sys/resource.h: Likewise.
58559 * rt/aio.h: Likewise.
58560 * rt/bits/mqueue2.h: Likewise.
58561 * rt/mqueue.h: Likewise.
58562 * shadow/shadow.h: Likewise.
58563 * signal/signal.h: Likewise.
58564 * socket/send.c: Likewise.
58565 * socket/sendto.c: Likewise.
58566 * socket/sys/socket.h: Likewise.
58567 * stdio-common/printf.h: Likewise.
58568 * stdlib/bits/stdlib.h: Likewise.
58569 * stdlib/fmtmsg.h: Likewise.
58570 * stdlib/monetary.h: Likewise.
58571 * stdlib/stdlib.h: Likewise.
58572 * stdlib/ucontext.h: Likewise.
58573 * streams/stropts.h: Likewise.
58574 * string/argz.h: Likewise.
58575 * string/bits/string2.h: Likewise.
58576 * string/string.h: Likewise.
58577 * string/strings.h: Likewise.
58578 * sunrpc/rpc/auth.h: Likewise.
58579 * sunrpc/rpc/auth_des.h: Likewise.
58580 * sunrpc/rpc/clnt.h: Likewise.
58581 * sunrpc/rpc/netdb.h: Likewise.
58582 * sunrpc/rpc/pmap_clnt.h: Likewise.
58583 * sunrpc/rpc/xdr.h: Likewise.
58584 * sysdeps/generic/inttypes.h: Likewise.
58585 * sysdeps/generic/net/if.h: Likewise.
58586 * sysdeps/generic/sys/swap.h: Likewise.
58587 * sysdeps/gnu/net/if.h: Likewise.
58588 * sysdeps/gnu/utmpx.h: Likewise.
58589 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58590 * sysdeps/i386/i486/bits/string.h: Likewise.
58591 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58592 * sysdeps/s390/bits/string.h: Likewise.
58593 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58594 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58595 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58596 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58597 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58598 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58599 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58600 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58601 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58602 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58603 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58604 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58605 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58606 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58607 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58608 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58609 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58611 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58614 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58615 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58616 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58617 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58618 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58619 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58621 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58622 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58623 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58624 * sysvipc/sys/ipc.h: Likewise.
58625 * sysvipc/sys/msg.h: Likewise.
58626 * sysvipc/sys/sem.h: Likewise.
58627 * sysvipc/sys/shm.h: Likewise.
58628 * termios/termios.h: Likewise.
58629 * time/sys/time.h: Likewise.
58630 * time/time.h: Likewise.
58631 * wcsmbs/bits/wchar2.h: Likewise.
58632 * wcsmbs/uchar.h: Likewise.
58633 * wcsmbs/wchar.h: Likewise.
58634 * wctype/wctype.h: Likewise.
58635
58636 [BZ #13551]
58637 * Makeconfig: Remove all but ELF support including AIX support.
58638 * Makerules: Likewise.
58639 * config.h.in: Likewise.
58640 * config.make.in: Likewise.
58641 * configure: Likewise.
58642 * configure.in: Likewise.
58643 * csu/Makefile: Likewise.
58644 * csu/version.c: Likewise.
58645 * debug/Makefile: Likewise.
58646 * dlfcn/Makefile: Likewise.
58647 * elf/Makefile: Likewise.
58648 * extra-lib.mk: Likewise.
58649 * iconv/Makefile: Likewise.
58650 * include/libc-symbols.h: Likewise.
58651 * include/shlib-compat.h: Likewise.
58652 * resolv/Makefile: Likewise.
58653 * resolv/res_libc.c: Likewise.
58654 * rt/Makefile: Likewise.
58655 * sysdeps/i386/asm-syntax.h: Likewise.
58656 * sysdeps/i386/sysdep.h: Likewise.
58657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58658 * sysdeps/mach/sysdep.h: Likewise.
58659 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58660 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58661 * sysdeps/s390/asm-syntax.h: Likewise.
58662 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58663 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58664 * sysdeps/sh/sysdep.h: Likewise.
58665 * sysdeps/unix/sparc/sysdep.h: Likewise.
58666 * sysdeps/wordsize-32/divdi3.c: Likewise.
58667 * sysdeps/x86_64/sysdep.h: Likewise.
58668
58669 * argp/Versions: Remove _argp_unlock_xxx.
58670
58671 [BZ #13559]
58672 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58673 * abilist/libBrokenLocale.abilist: Likewise.
58674 * abilist/libanl.abilist: Likewise.
58675 * abilist/libc.abilist: Likewise.
58676 * abilist/libcrypt.abilist: Likewise.
58677 * abilist/libdl.abilist: Likewise.
58678 * abilist/libm.abilist: Likewise.
58679 * abilist/libnsl.abilist: Likewise.
58680 * abilist/libpthread.abilist: Likewise.
58681 * abilist/libresolv.abilist: Likewise.
58682 * abilist/librt.abilist: Likewise.
58683 * abilist/libthread_db.abilist: Likewise.
58684 * abilist/libutil.abilist: Likewise.
58685 * abilist/libnss_db.abilist: New file.
58686
58687 * scripts/abilist.awk: Add support for indirect functions.
58688
58689 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58690
58691 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58692
58693 * shlib-versions: Remove entries for ports architectures.
58694
58695 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58696 files in ports.
58697 * elf/stackguard-macros.h: Remove support for IA-64.
58698 * elf/tst-auditmod1.c: Likewise.
58699 * sysdeps/generic/ldsodefs.h: Likewise.
58700
58701 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58702 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58703 configure files.
58704
58705 [BZ #13552]
58706 * configure.in: Remove --enable-omitfp support.
58707 * FAQ.in: Adjust.
58708 * config.make.in: Likewise.
58709 * Makeconfig: Likewise.
58710 * manual/install.texi: Likewise.
58711
58712 In case anyone cares, the IA-64 architecture could move to ports.
58713 * sysdeps/ia64/*: Removed.
58714 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58715 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58716
58717 [BZ #13555]
58718 * configure.in: Remove entries for unsupported architectures.
58719
58720 [BZ #13533]
58721 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58722 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58723 routines.
58724 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58725 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58726 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58727 fall back to using wcrtomb.
58728 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58729 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58730 renaming.
58731 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58732 * wcsmbs/tst-c16c32-1.c: New file.
58733
58734 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58735 local variable.
58736
58737 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58738
58739 * elf/tst-unique3.cc: Add explicit declaration of gets.
58740 * elf/tst-unique3lib.cc: Likewise.
58741 * elf/tst-unique3lib2.cc: Likewise.
58742 * elf/tst-unique4.cc: Likewise.
58743
58744 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58745
58746 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58747
58748 [BZ #13566]
58749 * assert/assert.h (static_assert): Don't define for C++.
58750 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58751 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58752
58753 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58754
58755 * iconv/loop.c (single loop): Fix assertion in storing of
58756 remaining bytes.
58757
58758 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58759
58760 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58761
58762 * posix/getconf.c: Update copyright year.
58763 * nss/getent.c: Likewise.
58764 * nss/makedb.c: Likewise.
58765 * iconv/iconvconfig.c: Likewise.
58766 * iconv/iconv_prog.c: Likewise.
58767 * elf/ldconfig.c: Likewise.
58768 * elf/pldd.c: Likewise.
58769 * elf/sotruss.ksh: Likewise.
58770 * catgets/gencat.c: Likewise.
58771 * csu/version.c: Likewise.
58772 * elf/ldd.bash.in: Likewise.
58773 * elf/sprof.c (print_version): Likewise.
58774 * locale/programs/locale.c: Likewise.
58775 * locale/programs/localedef.c: Likewise.
58776 * login/programs/pt_chown.c: Likewise.
58777 * nscd/nscd.c (print_version): Likewise.
58778 * debug/xtrace.sh: Likewise.
58779 * malloc/memusage.sh: Likewise.
58780 * malloc/mtrace.pl: Likewise.
58781 * debug/catchsegv.sh: Likewise.
58782
58783 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58784
58785 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58786 pure attribute.
58787
58788 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58789
58790 [BZ #13533]
58791 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58792 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58793 transformations.
58794 * iconv/gconv_int.h: Likewise.
58795 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58796 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58797 from libc for GLIBC_2.16.
58798 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58799 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58800 * wcsmbs/uchar.h: Really define mbstate_t.
58801 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58802 * wcsmbs/c16rtomb.c: New file.
58803 * wcsmbs/mbrtoc16.c: New file.
58804 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58805 for C/POSIX locale.
58806 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58807 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58808
58809 * wcsmbs/wchar.h: Add missing __restrict.
58810
58811 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58812
58813 [BZ #13532]
58814 * time/Makefile (routines): Add timespec_get.
58815 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58816 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58817 timespec for ISO C11.
58818 * time/timespec_get.c: New file.
58819 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58820 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58821
58822 [BZ #13531]
58823 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58824 * stdlib/stdlib.h: Declare aligned_alloc.
58825 * Versions.def: Add GLIBC_2.16 for libc.
58826 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58827
58828 [BZ 13527]
58829 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58830 ISO C11.
58831
58832 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58833 code.
58834
58835 [BZ #13528]
58836 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58837
58838 [BZ #13529]
58839 * assert/assert.h (static_assert): Define.
58840
58841 * version.h: Update for 2.16 development version.
58842
58843 [BZ #13526]
58844 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58845 _ISOC11_SOURCE.
58846
58847 * version.h (RELEASE): Bump for 2.15 release.
58848 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58849
58850 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58851 Patch by Marek Polacek <mpolacek@redhat.com>.
58852
58853 * bits/byteswap.h: Protect long long constants with __extension__.
58854 * sysdeps/i386/bits/byteswap.h: Likewise.
58855 * sysdeps/ia64/bits/byteswap.h: Likewise.
58856 * sysdeps/s390/bits/byteswap.h: Likewise.
58857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58858
58859 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58860
58861 [BZ #13540]
58862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58863 destination buffer.
58864 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58865
58866 2011-12-23 Marek Polacek <polacek@redhat.com>
58867
58868 * elf/dl-addr.c (determine_info): Add inline keyword.
58869 * elf/tst-auditmod4b.c (check_avx): Likewise.
58870 * elf/tst-auditmod6b.c (check_avx): Likewise.
58871 * elf/tst-auditmod6c.c (check_avx): Likewise.
58872 * elf/tst-auditmod7b.c (check_avx): Likewise.
58873
58874 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58875
58876 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58877 !__SSE_MATH__.
58878
58879 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58880
58881 [BZ #13540]
58882 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58883 processing for last bytes.
58884
58885 2011-08-06 Bruno Haible <bruno@clisp.org>
58886
58887 [BZ #13061]
58888 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58889 U+0385, not to U+1FEE.
58890
58891 [BZ #13062]
58892 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58893 entry for U+00A5 U+0301.
58894
58895 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58896
58897 [BZ #13166]
58898 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58899 buffer for the output is too small.
58900
58901 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58902 optimization.
58903
58904 [BZ #13185]
58905 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58906 SSE flags if possible.
58907
58908 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58909
58910 [BZ #13540]
58911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58912 processing for last bytes.
58913
58914 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58915
58916 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58917 (syscall-list-default-options, syscall-list-default-condition)
58918 (syscall-list-includes): Define.
58919 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58920 list of ABIs and options and #if conditions for each ABI. Do not
58921 handle common syscalls between ABIs specially.
58922 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58923 Remove.
58924 (syscall-list-variants, syscall-list-32bit-options)
58925 (syscall-list-32bit-condition, syscall-list-64bit-options)
58926 (syscall-list-64bit-condition): Define.
58927 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58928 (syscall-list-variants, syscall-list-32bit-options)
58929 (syscall-list-32bit-condition, syscall-list-64bit-options)
58930 (syscall-list-64bit-condition): Define.
58931 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58932 Remove.
58933 (syscall-list-variants, syscall-list-32bit-options)
58934 (syscall-list-32bit-condition, syscall-list-64bit-options)
58935 (syscall-list-64bit-condition): Define.
58936 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58937 Remove.
58938 (syscall-list-variants, syscall-list-32bit-options)
58939 (syscall-list-32bit-condition, syscall-list-64bit-options)
58940 (syscall-list-64bit-condition): Define.
58941
58942 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58943
58944 * locale/iso-639.def: Add brx entry.
58945
58946 [BZ #13328]
58947 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58948 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58949
58950 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58951 __feraiseexcept_renamed.
58952
58953 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58954
58955 [BZ #13538]
58956 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58957 EPOLLET with unsigned values.
58958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58960
58961 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58962 to large cancellation.
58963 * math/s_cacoshf.c: Likewise.
58964 * math/s_cacoshl.c: Likewise.
58965
58966 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58967
58968 [BZ #13305]
58969 [BZ #12786]
58970 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58971 * math/s_cacoshf.c: Likewise.
58972 * math/s_cacoshl.c: Likewise.
58973
58974 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58975
58976 [BZ #13439]
58977 * iconv/gconv.h: Define __GCONV_SWAP.
58978 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58979 * iconvdata/utf-16.c: Likewise.
58980 * iconvdata/utf-32.c: Likewise.
58981
58982 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58983
58984 [BZ #13524]
58985 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58986 numerator after shifting it by one limb.
58987
58988 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58989
58990 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58991 under [__USE_EXTERN_INLINES].
58992
58993 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58994
58995 [BZ #13446]
58996 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58997
58998 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58999
59000 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59001 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59002 optimized code.
59003 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59004 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59005 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59006 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59007 for strncasecmp/strncasecmp_l compilation.
59008 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59009 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59010
59011 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59012
59013 [BZ #13484]
59014 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59015 of __asm__.
59016
59017 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59018
59019 [BZ #13506]
59020 * time/tzfile.c (__tzfile_read): Check values from file header.
59021
59022 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59023
59024 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59025 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59026 * powerpc/powerpc32/dl-start.S: Likewise.
59027 * powerpc/powerpc32/elf/start.S: Likewise.
59028 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59029 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59030 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59031 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59032 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59033 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59034 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59035 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59036 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59037 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59038 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59039 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59040 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59041 * powerpc/powerpc32/memset.S: Likewise.
59042 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59043 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59044 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59045 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59046 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59047 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59048 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59049 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59050 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59051 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59052 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59053 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59054 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59055
59056 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59057
59058 * math/libm-test.inc: Added more nearbyint tests.
59059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59063
59064 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59065
59066 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59067 FD_CLOEXEC.
59068
59069 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59070
59071 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59072 Add wcscpy-ssse3 wcscpy-c.
59073 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59074 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59075 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59076 * sysdeps/x86_64/wcschr.S: New file.
59077 * sysdeps/x86_64/wcsrchr.S: New file.
59078 * string/test-strcmp.c: Remove checking of wcscmp function for
59079 wrong alignments.
59080 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59081 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59082 wcsrchr-sse2 wcsrchr-c.
59083 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59084 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59085 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59086 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59087 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59088 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59089 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59090 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59091 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59092 * wcsmbc/wcschr.c (WCSCHR): New macro.
59093
59094 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59095
59096 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59097 * wcsmbs/test-wcsrchr.c: New file.
59098 * string/test-strrchr.c: Add wcsrchr support.
59099 (WIDE): New macro.
59100 * wcsmbs/test-wcscpy.c: New file.
59101 * string/test-strcpy.c: Add wcscpy support.
59102 (WIDE): New macro.
59103
59104 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59105
59106 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59107 the inner loop.
59108
59109 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59110
59111 [BZ #13472]
59112 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59113
59114 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59115
59116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59117 Minor optimizations.
59118
59119 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59120 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59121 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59122
59123 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59124
59125 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59126 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59127 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59128 for gcc to avoid warnings.
59129 * inet/Makefile (tests): Add tst-checks.
59130 * inet/tst-checks.c: New file.
59131
59132 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59133 warning.
59134
59135 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59136 __wmemcmp_sse2.
59137
59138 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59139 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59140
59141 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59142
59143 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59144
59145 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59146 problem.
59147
59148 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59149
59150 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59151
59152 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59153 conditional on GCC version.
59154 (__arch_compare_and_exchange_val_8_acq)
59155 (__arch_compare_and_exchange_val_16_acq)
59156 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59157 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59158 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59159
59160 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59161
59162 * sysdeps/sh/backtrace.c: New file.
59163
59164 2011-12-02 Andreas Schwab <schwab@redhat.com>
59165
59166 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59167 parenthesis.
59168
59169 2011-12-01 Andreas Schwab <schwab@redhat.com>
59170
59171 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59172 falling back to utime.
59173
59174 2011-11-30 Andreas Schwab <schwab@redhat.com>
59175
59176 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59177 expectations for float.
59178
59179 2011-11-29 Andreas Schwab <schwab@redhat.com>
59180
59181 * locale/weight.h (findidx): Add parameter len.
59182 * locale/weightwc.h (findidx): Likewise.
59183 * posix/fnmatch_loop.c (FCT): Adjust caller.
59184 * posix/regcomp.c (build_equiv_class): Likewise.
59185 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59186 * posix/regexec.c (check_node_accept_bytes): Likewise.
59187 * string/strcoll_l.c (STRCOLL): Likewise.
59188 * string/strxfrm_l.c (STRXFRM): Likewise.
59189
59190 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59191
59192 * Makefile.in: Remove CVSOPT handling.
59193 * configure.in: Remove use of AC_REVISION.
59194 * iconvdata/Makefile (distribute): No need to filter out CVS.
59195 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59196 handling.
59197
59198 2011-11-16 Andreas Schwab <schwab@redhat.com>
59199
59200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59201 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59202 [USE_AS_STRNCASECMP_L]: Likewise.
59203 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59204 NO_TLS_DIRECT_SEG_REFS.
59205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59206 Fix argument offsets for non-PIC.
59207 [USE_AS_STRNCASECMP_L]: Likewise.
59208 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59209 NO_TLS_DIRECT_SEG_REFS.
59210
59211 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59212
59213 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59214 O_CLOEXEC.
59215 * locale/loadlocale.c (_nl_load_locale): Likewise.
59216
59217 2011-11-15 Andreas Schwab <schwab@redhat.com>
59218
59219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59220 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59221 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59222 (SYSCALL_GETTIME): Set errno on error.
59223
59224 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59225 count references to noai6ai_cached.
59226
59227 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59228
59229 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59230
59231 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59232 FD_CLOEXEC for /proc/self/maps.
59233
59234 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59235 FD_CLOEXEC for /proc/meminfo.
59236
59237 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59238 gai.conf.
59239
59240 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59241 FD_CLOEXEC for given file.
59242
59243 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59244
59245 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59246 FD_CLOEXEC for /etc/hosts.
59247 (_gethtent): Likewise.
59248
59249 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59250
59251 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59252 cancellation and set FD_CLOEXEC for /etc/netgroup.
59253
59254 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59255 reading /etc/publickey.
59256
59257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59258 allow cancellation when reading /etc/group.
59259
59260 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59261 cancellation.
59262 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59263
59264 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59265 when using data file.
59266
59267 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59268
59269 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59270 (write_nis_obj): Use "c" and "e" in fopen.
59271
59272 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59273
59274 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59275
59276 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59277
59278 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59279
59280 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59281 locale.alias.
59282
59283 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59284
59285 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59286
59287 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59288
59289 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59290 file parsing and set FD_CLOEXEC.
59291
59292 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59293
59294 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59295
59296 2011-11-14 Andreas Schwab <schwab@redhat.com>
59297
59298 * malloc/arena.c (arena_get2): Don't call reused_arena when
59299 _int_new_arena failed.
59300
59301 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59302
59303 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59304 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59309 to compile strcasecmp and strncasecmp.
59310 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59311 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59312
59313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59314
59315 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59316
59317 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59318 locale-defines.sym to gen-as-const-headers.
59319 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59320 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59322 to compile strcasecmp and strncasecmp.
59323 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59324 strcasecmp_l and strncasecmp_l.
59325 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59326 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59327 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59328 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59329 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59330 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59331 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59332 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59333 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59334 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59335 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59336
59337 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59338
59339 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59340 result of SYSDEP_GETTIME_CPU to retval.
59341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59342 parameter list to macro. Remove trailing semicolon. Adjust users.
59343
59344 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59345 variable.
59346
59347 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59348 mantissa words.
59349 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59350
59351 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59352 from unused variable.
59353
59354 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59355 DWARF definitions.
59356 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59357 for assembling.
59358
59359 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59360 over namespaces.
59361
59362 * sunrpc/rpc_prot.c (rejected): Fix case value.
59363
59364 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59365 unsigned long long int to avoid warnings in shift.
59366
59367 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59368 of use of trans.
59369 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59370 variable tmp.
59371
59372 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59373 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59374 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59375
59376 * nis/nis_table.c (nis_list): Use variable of correct type for
59377 result of __follow_path call.
59378
59379 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59380
59381 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59382 of math functions ceil, trunc, floor, round, and sqrt, when
59383 avaliable on the platform.
59384 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59385 name clash.
59386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59387 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59388 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59389
59390 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59391
59392 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59394
59395 2011-11-11 Roland McGrath <roland@hack.frob.com>
59396
59397 * include/unistd.h: Fix __readlink return type.
59398 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59399
59400 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59401
59402 * stdlib/ucontext.h: Undo last change for makecontext.
59403
59404 2011-11-11 Andreas Schwab <schwab@redhat.com>
59405
59406 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59407
59408 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59409 * setjmp/setjmp.h: Mark functions as non-leaf.
59410 * setjmp/bits/setjmp2.h: Likewise.
59411 * stdlib/ucontext.h: Likewise.
59412
59413 2011-11-10 Andreas Schwab <schwab@redhat.com>
59414
59415 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59416 (reused_arena): Don't check arena limit.
59417 (arena_get2): Atomically check arena limit.
59418
59419 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59420
59421 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59422 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59423
59424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59425 instructions.
59426
59427 2011-11-07 Andreas Schwab <schwab@redhat.com>
59428
59429 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59430 handler when locking.
59431
59432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59433 Fix size of allocated buffer.
59434
59435 2011-11-04 Andreas Schwab <schwab@redhat.com>
59436
59437 [BZ #10103]
59438 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59439 declarations for long double functions.
59440 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59441
59442 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59443
59444 2011-11-03 Andreas Schwab <schwab@redhat.com>
59445
59446 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59447 installed.
59448
59449 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59450 is disabled.
59451
59452 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59453
59454 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59455
59456 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59457
59458 * include/alloca.h (stackinfo_alloca_round): Define.
59459 (extend_alloca): Use it.
59460 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59461 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59462 here.
59463
59464 * scripts/check-local-headers.sh: Ignore libaudit.h.
59465
59466 * nscd/Makefile (extra-objs): Make recursively expanded.
59467
59468 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59469
59470 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59472
59473 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59474 * posix/tst-rfc3484-2.c: Likewise.
59475 * posix/tst-rfc3484-3.c: Likewise.
59476
59477 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59478 process_vm_writev.
59479 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59480 process_vm_writev.
59481 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59482 process_vm_writev from libc using GLIBC_2.15 version.
59483
59484 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59485
59486 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59487
59488 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59489 stack usage.
59490
59491 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59492
59493 [BZ #13367]
59494 * nss/getent.c (initgroups_keys): Show error message in case no group
59495 names are given.
59496
59497 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59498 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59499 __bump_nl_timestamp.
59500 * nscd/connections (nscd_init): When host database is served open
59501 netlink socket and request notification about configuration changes.
59502 (main_loop_poll): Track netlink file descriptor and bump timestamp
59503 in case data becomes available.
59504 (main_loop_epoll): Likewise.
59505 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59506 (database_pers_head): Add extra_data fileds.
59507 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59508 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59509 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59510 Adjust caller.
59511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59512 in6ai data, call __free_in6ai.
59513 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59514 Add -DHAVE_NETLINK.
59515 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59516 interface information. Reuse previous data if netlink timestamp
59517 is not changed.
59518 (__bump_nl_timestamp): New function.
59519 (__free_in6ai): New function.
59520
59521 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59522
59523 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59524 close_not_cancel_no_status here.
59525 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59526
59527 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59528
59529 [BZ #13276]
59530 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59531 return value.
59532
59533 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59534 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59535 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59536
59537 2011-07-03 Andreas Jaeger <aj@suse.de>
59538
59539 [BZ #10709]
59540 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59541 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59542 * math/libm-test.inc (sin_test): Add test case.
59543
59544 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59545
59546 [BZ #13337]
59547 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59548 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59549
59550 * elf/chroot_canon.c (chroot_canon): Cleanups.
59551
59552 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59553
59554 [BZ #13335]
59555 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59556 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59557
59558 * string/test-strchr.c: Make usable for strchrnul testing.
59559 * string/test-strchrnul.c: New file.
59560 * string/Makefile (strop-tests): Add strchrnul.
59561
59562 * po/it.po: Update from translation team.
59563 * po/es.po: Likewise.
59564
59565 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59566
59567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59568 the three constants needed as parameters. Drop the others.
59569 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59570 __m128i_strloadu_tolower.
59571 Create and initialize variable zero and use it in all the places
59572 where _mm_setzero_si128 was used.
59573
59574 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59575 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59576 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59577 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59578 anymore.
59579 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59580 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59581 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59582 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59583 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59584 __mpranred, __mptan.
59585 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59586 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59587 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59588 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59589 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59590 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59591 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59592 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59593 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59594
59595 2011-10-28 Andreas Schwab <schwab@redhat.com>
59596
59597 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59598 redefine if SHARED.
59599 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59600
59601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59602 wide char related routines to wcsmbs subdir.
59603
59604 2011-10-27 Andreas Schwab <schwab@redhat.com>
59605
59606 [BZ #13344]
59607 * misc/sys/cdefs.h (__THROWNL): Define.
59608 * posix/unistd.h: Use __THREADNL instead of __THREAD
59609 for memory synchronization functions.
59610
59611 2011-10-26 Roland McGrath <roland@hack.frob.com>
59612
59613 [BZ #13349]
59614 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59615 doesn't exist.
59616 * manual/stdio.texi (Obstack Streams): Node removed.
59617
59618 2011-10-26 Andreas Schwab <schwab@redhat.com>
59619
59620 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59622 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59623
59624 * math/math_private.h (math_force_eval): Allow non-addressable
59625 arguments.
59626 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59627
59628 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59629
59630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59631 file is not needed.
59632
59633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59640 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59641 Add AVX variants.
59642 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59643 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59644 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59645 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59647 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59648 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59649 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59650 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59651 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59652 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59653 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59656 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59657 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59659 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59660 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59661
59662 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59663 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59664
59665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59666 place. Use VEX encoding when compiling for AVX.
59667
59668 2011-10-25 Andreas Schwab <schwab@redhat.com>
59669
59670 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59671 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59672
59673 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59674
59675 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59676
59677 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59678 useless if() expression.
59679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59680 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59683 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59685 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59691 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59695 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59697 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59698
59699 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59700
59701 2011-10-25 Andreas Schwab <schwab@redhat.com>
59702
59703 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59704 condition.
59705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59706
59707 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59708
59709 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59710 .text section. Avoid duplicate constants.
59711 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59719 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59720 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59721 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59723 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59724 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59725 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59727 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59728 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59731 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59732 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59733 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59734 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59735 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59736 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59737 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59738 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59740 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59741 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59742 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59744 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59745 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59746 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59747 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59749 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59750 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59752 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59753 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59754 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59755 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59756
59757 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59758
59759 * sysdeps/x86_64/dla.h: Move to ...
59760 * sysdeps/x86_64/fpu/dla.h: ...here.
59761 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59762 situations. Use __builtin_fma only for gcc 4.6 and up.
59763
59764 * config.make.in: Add have-mfma4 entry.
59765 * configure.in: Substitute libc_cv_cc_fma4.
59766 * math/Makefile (dbl-only-routines): Add sincostab.
59767 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59768 Use __sincostab not sincos.
59769 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59770 name is a macro.
59771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59775 using __copysign.
59776 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59777 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59778 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59779 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59780 and __inv.
59781 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59782 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59783 __copysign.
59784 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59785 define aliases when function name is a macro.
59786 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59787 sysdeps/ieee754/dbl-64/sincos.tbl.
59788 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59789 fma4-enabled routines.
59790 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59791 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59792 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59793 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59795 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59797 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59799 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59800 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59801 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59802 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59803 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59804 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59805 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59806 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59807 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59808 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59809 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59810 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59811 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59813 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59817 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59818 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59819 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59820
59821 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59822 rename.
59823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59831
59832 2011-10-24 Andreas Schwab <schwab@redhat.com>
59833
59834 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59835
59836 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59837
59838 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59839
59840 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59841 prediction.
59842 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59843
59844 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59845 Remove unused variable magic_bits.
59846 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59847
59848 * string/strnlen.c: Define and use STRNLEN macro.
59849 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59850 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59852 * wcsmbs/wcslen.c: Define and use WCSLEN.
59853 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59854 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59855 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59856 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59857 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59858 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59860
59861 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59862
59863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59864 strnlen-sse2-no-bsf.
59865 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59867 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59868 Add strnlen support.
59869 (USE_AS_STRNLEN): New macro.
59870 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59872 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59873 * sysdeps/x86_64/wcslen.S: New file.
59874
59875 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59876
59877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59878 XMM-moves are used for copying on small sizes.
59879
59880 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59881
59882 * wcsmbs/Makefile (strop-tests): Add wcschr.
59883 * wcsmbs/test-wcschr.c: New file.
59884 * string/test-strchr.c: Update.
59885 Add wcschr support.
59886 (WIDE): New macro.
59887
59888 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59889
59890 * wcsmbs/Makefile (strop-tests): Add wcslen.
59891 * wcsmbs/test-wcslen.c: New file.
59892 * string/test-strlen.c: Update.
59893 Add wcslen support.
59894 (WIDE): New macro.
59895
59896 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59897
59898 * po/it.po: Update from translation team.
59899
59900 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59901
59902 * sysdeps/x86_64/wcscmp.S: Update.
59903 Fix wrong comparison semantics.
59904 wcscmp shall use signed comparison not unsigned.
59905 Don't use substraction to avoid overflow bug.
59906 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59907 * wcsmbc/wcscmp.c: Likewise.
59908 * string/test-strcmp.c: Likewise.
59909 Add new tests to check cases with negative values.
59910
59911 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59912
59913 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59914 * sysdeps/x86_64/dla.h: ...here. New file.
59915 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59920 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59924
59925 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59926
59927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59928 __ynl_finite aliases.
59929
59930 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59931
59932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59933
59934 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59935 define DLA_FMA.
59936 [DLA_FMA] (EMULV): Use DLA_FMA.
59937 [DLA_FMA] (MUL12): Use EMULV.
59938 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59939 that are not needed.
59940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59945 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59947
59948 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59949
59950 * math/s_nan.c: Undef __nan.
59951 * math/s_nanf.c: Undef __nanf.
59952 * math/s_nanl.c: Undef __nanl.
59953 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59954 "math_private.h".
59955
59956 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59957
59958 * math/s_catan.c: Add branch predictions.
59959 * math/s_catanf.c: Likewise.
59960 * math/s_catanh.c: Likewise.
59961 * math/s_catanhf.c: Likewise.
59962 * math/s_catanhl.c: Likewise.
59963 * math/s_catanl.c: Likewise.
59964 * math/s_cexp.c: Likewise.
59965 * math/s_cexpf.c: Likewise.
59966 * math/s_cexpl.c: Likewise.
59967 * math/s_clog.c: Likewise.
59968 * math/s_clog10.c: Likewise.
59969 * math/s_clog10f.c: Likewise.
59970 * math/s_clog10l.c: Likewise.
59971 * math/s_clogf.c: Likewise.
59972 * math/s_clogl.c: Likewise.
59973 * math/s_csqrt.c: Likewise.
59974 * math/s_csqrtf.c: Likewise.
59975 * math/s_csqrtl.c: Likewise.
59976 * math/s_ctanf.c: Likewise.
59977 * math/s_ctanh.c: Likewise.
59978 * math/s_ctanhf.c: Likewise.
59979 * math/s_ctanhl.c: Likewise.
59980 * math/s_ctanl.c: Likewise.
59981
59982 * math/math_private.h: Define __nan, __nanf, __nanl.
59983 * math/s_cacosh.c: Include <math_private.h>.
59984 * math/s_cacoshl.c: Likewise.
59985 * math/s_casinh.c: Likewise.
59986 * math/s_casinhf.c: Likewise.
59987 * math/s_casinhl.c: Likewise.
59988 * math/s_ccos.c: Rely entire on ccosh.
59989 * math/s_ccosf.c: Rely entire on ccoshf.
59990 * math/s_ccosl.c: Rely entirely on ccoshl.
59991 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59992 Remove tests for FE_INVALID.
59993 * math/s_ccoshf.c: Likewise.
59994 * math/s_ccoshl.c: Likewise.
59995 * math/s_csin.c: Likewise.
59996 * math/s_csinf.c: Likewise.
59997 * math/s_csinh.c Likewise.
59998 * math/s_csinhf.c: Likewise.
59999 * math/s_csinhl.c: Likewise.
60000 * math/s_csinl.c: Likewise.
60001 * math/s_ctan.c: Likewise.
60002 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60003 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60004 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60005
60006 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60007
60008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60009 compilation problems.
60010
60011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60012 __builtin_expect.
60013
60014 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60015
60016 * sysdeps/i386/configure.in: Test for -mfma4 option.
60017 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60018 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60019 COMMON_CPUID_INDEX_80000001.
60020 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60021 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60022 use it if FMA3 is not supported.
60023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60024
60025 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60026 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60027
60028 2011-10-20 Andreas Schwab <schwab@redhat.com>
60029
60030 [BZ #12892]
60031 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60032 it would create a cycle with a link time dependency.
60033
60034 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60035
60036 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60037 instruction.
60038 * string/Makefile (strop-tests): Add rawmemchr.
60039 * string/test-rawmemchr.c: New file.
60040
60041 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60043 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60044 when compiling str{,n}casecmp and when AVX is available. Hook up
60045 new optimized code in initializers.
60046
60047 2011-10-19 Andreas Schwab <schwab@redhat.com>
60048
60049 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60050 __feraiseexcept instead of feraiseexcept.
60051
60052 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60053
60054 * math/math_private.h: Define defaults for libc_fetestexcept and
60055 libc_feupdateenv.
60056 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60057 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60058 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60059 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60060 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60061 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60062 libc_fetestexcept and libc_feupdateenv.
60063
60064 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60065 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60066 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60067 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60068 libc_feholdexcept_setround.
60069
60070 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60071 Add s_nearbyint-c and s_nearbyintf-c.
60072 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60073 nearbyintf inlines.
60074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60077 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60078
60079 * math/math_private.h: Define defaults for libc_fegetround,
60080 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60081 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60082 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60083 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60084 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60085 standard functions.
60086 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60087 Remove comments and hacks for old compiler versions.
60088 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60089 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60090 libc_feholdexceptl.
60091
60092 2011-10-18 Andreas Schwab <schwab@redhat.com>
60093
60094 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60095 (__feraiseexcept_renamed): Add __NTH.
60096 (feraiseexcept): Add __NTH. Rename local variables to fix
60097 namespace violations.
60098
60099 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60100
60101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60102
60103 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60104
60105 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60106 recently added interfaces.
60107 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60108
60109 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60110 about macro parameter expansion.
60111
60112 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60113 __NO_MATH_INLINES is defined. Cleanups.
60114
60115 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60116 and __floorf is target has SSE4.1.
60117 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60118 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60120 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60121
60122 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60123 name.
60124 (floorf): Likewise.
60125
60126 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60127
60128 2011-10-17 Andreas Schwab <schwab@redhat.com>
60129
60130 * misc/sys/cdefs.h: Fix last change.
60131
60132 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60133 database lookup.
60134
60135 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60136
60137 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60138
60139 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60141 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60143 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60147 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60148 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60149 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60150 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60151 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60152 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60153 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60154 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60155 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60156 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60157 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60158 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60159 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60160 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60161
60162 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60163 ceil, ceilf, floor, floorf.
60164
60165 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60166 Perform IRELATIVE relocations last.
60167
60168 * elf/do-rel.h: Add another parameter nrelative, replacing the
60169 local variable with the same name. Change name of the function
60170 to end in Rel or Rela (uppercase).
60171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60172 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60173 elf_dynamic_do_##reloc function.
60174
60175 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60176
60177 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60178 is sufficient, at least on modern CPUs.
60179
60180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60181
60182 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60184
60185 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60186 __expl_finite.
60187 * math/bits/math-finite.h: Add entries for exp.
60188 * math/e_expl.c: Add __*_finite alias.
60189 * sysdeps/i386/fpu/e_exp.S: Likewise.
60190 * sysdeps/i386/fpu/e_expf.S: Likewise.
60191 * sysdeps/i386/fpu/e_expl.c: Likewise.
60192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60193 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60194 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60196 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60197 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60198 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60199
60200 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60201 is sufficient, at least on modern CPUs.
60202
60203 * ctype/ctype-info.c (__ctype_init): Define.
60204 * include/ctype.h (__ctype_init): Declare.
60205 (__ctype_b_loc): The variable is always initialized.
60206 (__ctype_toupper_loc): Likewise.
60207 (__ctype_tolower_loc): Likewise.
60208 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60209 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60210
60211 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60212
60213 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60214
60215 * configure.in: Also look in $cxxmachine/include for C++ system
60216 headers.
60217
60218 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60219
60220 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60221 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60222 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60223 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60224 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60225 (USE_AS_WMEMCMP): New macro.
60226 Fixing indents.
60227 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60228 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60229 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60230 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60232 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60233 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60234 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60235 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60236 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60237 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60238 (USE_AS_WMEMCMP): New macro.
60239 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60240 * sysdeps/string/test-memcmp.c: Update.
60241 Fix simple_wmemcmp.
60242 Add new tests.
60243 * wcsmbs/wmemcmp.c: Update.
60244 (WMEMCMP): New macro.
60245 Fix overflow bug.
60246
60247 2011-10-12 Andreas Jaeger <aj@suse.de>
60248
60249 [BZ #13268]
60250 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60251
60252 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60253
60254 * libio/iofwide.c (do_length): Avoid warning.
60255
60256 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60257
60258 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60259
60260 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60261
60262 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60263 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60264 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60265 * sysdeps/i386/i686/fpu/e_log.S: New file.
60266 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60267 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60268
60269 * ctype/ctype.h: Add support for inlined isXXX functions when
60270 compiling C++ code.
60271
60272 2011-10-14 Andreas Schwab <schwab@redhat.com>
60273
60274 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60275
60276 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60277
60278 2011-10-13 Roland McGrath <roland@hack.frob.com>
60279
60280 [BZ #13291]
60281 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60282
60283 2011-10-13 Andreas Schwab <schwab@redhat.com>
60284
60285 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60286 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60287 feraiseexcept.
60288
60289 * sysdeps/x86_64/memrchr.S: Check for zero size.
60290
60291 * string/stratcliff.c: Add memrchr tests.
60292
60293 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60294
60295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60296 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60297 rawmemchr-sse2 rawmemchr-sse2-bsf.
60298 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60299 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60300 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60301 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60302 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60303 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60304 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60305 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60307 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60308 * string/memrchr.c (MEMRCHR): New macro.
60309
60310 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60311
60312 Add integration with gcc's -ffinite-math-only and optimize wrapper
60313 functions in libm.
60314 * Versions.def: Define GLIBC_2.15 version for libm.
60315 * math/Makefile (headers): Add bits/math-finite.h.
60316 * math/bits/math-finite.h: New file.
60317 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60318 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60319 * math/e_acoshl.c: Add __*_finite alias.
60320 * math/e_acosl.c: Likewise.
60321 * math/e_asinl.c: Likewise.
60322 * math/e_atan2l.c: Likewise.
60323 * math/e_atanhl.c: Likewise.
60324 * math/e_coshl.c: Likewise.
60325 * math/e_exp10.c: Likewise.
60326 * math/e_exp10f.c: Likewise.
60327 * math/e_exp10l.c: Likewise.
60328 * math/e_exp2l.c: Likewise.
60329 * math/e_fmodl.c: Likewise.
60330 * math/e_gammal_r.c: Likewise.
60331 * math/e_hypotl.c: Likewise.
60332 * math/e_j0l.c: Likewise.
60333 * math/e_j1l.c: Likewise.
60334 * math/e_jnl.c: Likewise.
60335 * math/e_lgammal_r.c: Likewise.
60336 * math/e_log10l.c: Likewise.
60337 * math/e_log2l.c: Likewise.
60338 * math/e_logl.c: Likewise.
60339 * math/e_powl.c: Likewise.
60340 * math/e_sinhl.c: Likewise.
60341 * math/e_sqrtl.c: Likewise.
60342 * math/e_scalb.c: Completely rewritten and optimized.
60343 * math/e_scalbf.c: Likewise.
60344 * math/e_scalbl.c: Likewise.
60345 * math/w_acos.c: Likewise.
60346 * math/w_acosf.c: Likewise.
60347 * math/w_acosl.c: Likewise.
60348 * math/w_acosh.c: Likewise.
60349 * math/w_acoshf.c: Likewise.
60350 * math/w_acoshl.c: Likewise.
60351 * math/w_asin.c: Likewise.
60352 * math/w_asinf.c: Likewise.
60353 * math/w_asinl.c: Likewise.
60354 * math/w_atan2.c: Likewise.
60355 * math/w_atan2f.c: Likewise.
60356 * math/w_atan2l.c: Likewise.
60357 * math/w_atanh.c: Likewise.
60358 * math/w_atanhf.c: Likewise.
60359 * math/w_atanhl.c: Likewise.
60360 * math/w_exp10.c: Likewise.
60361 * math/w_exp10f.c: Likewise.
60362 * math/w_exp10l.c: Likewise.
60363 * math/w_fmod.c: Likewise.
60364 * math/w_fmodf.c: Likewise.
60365 * math/w_fmodl.c: Likewise.
60366 * math/w_j0.c: Likewise.
60367 * math/w_j0f.c: Likewise.
60368 * math/w_j0l.c: Likewise.
60369 * math/w_j1.c: Likewise.
60370 * math/w_j1f.c: Likewise.
60371 * math/w_j1l.c: Likewise.
60372 * math/w_jn.c: Likewise.
60373 * math/w_jnf.c: Likewise.
60374 * math/w_log.c: Likewise.
60375 * math/w_logf.c: Likewise.
60376 * math/w_logl.c: Likewise.
60377 * math/w_log10.c: Likewise.
60378 * math/w_log10f.c: Likewise.
60379 * math/w_log10l.c: Likewise.
60380 * math/w_log2.c: Likewise.
60381 * math/w_log2f.c: Likewise.
60382 * math/w_log2l.c: Likewise.
60383 * math/w_pow.c: Likewise.
60384 * math/w_powf.c: Likewise.
60385 * math/w_powl.c: Likewise.
60386 * math/w_remainder.c: Likewise.
60387 * math/w_remainderf.c: Likewise.
60388 * math/w_remainderl.c: Likewise.
60389 * math/w_scalb.c: Likewise.
60390 * math/w_scalbf.c: Likewise.
60391 * math/w_scalbl.c: Likewise.
60392 * math/w_sqrt.c: Likewise.
60393 * math/w_sqrtf.c: Likewise.
60394 * math/w_sqrtl.c: Likewise.
60395 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60396 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60397 used.
60398 * math/math_private.h: Declare __kernel_standard_f.
60399 * math/w_cosh.c: Remove cruft and optimize a bit.
60400 * math/w_coshf.c: Likewise.
60401 * math/w_coshl.c: Likewise.
60402 * math/w_exp2.c: Likewise.
60403 * math/w_exp2f.c: Likewise.
60404 * math/w_exp2l.c: Likewise.
60405 * math/w_hypot.c: Likewise.
60406 * math/w_hypotf.c: Likewise.
60407 * math/w_hypotl.c: Likewise.
60408 * math/w_lgamma.c: Likewise.
60409 * math/w_lgamma_r.c: Likewise.
60410 * math/w_lgammaf.c: Likewise.
60411 * math/w_lgammaf_r.c: Likewise.
60412 * math/w_lgammal.c: Likewise.
60413 * math/w_lgammal_r.c: Likewise.
60414 * math/w_sinh.c: Likewise.
60415 * math/w_sinhf.c: Likewise.
60416 * math/w_sinhl.c: Likewise.
60417 * math/w_tgamma.c: Likewise.
60418 * math/w_tgammaf.c: Likewise.
60419 * math/w_tgammal.c: Likewise.
60420 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60422 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60423 Minor optimizations. Pretty printing. Remove cruft.
60424 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60425 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60427 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60428 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60429 * sysdeps/i386/fpu/e_asin.S: Likewise.
60430 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60431 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60432 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60433 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60434 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60436 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60437 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60438 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60439 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60440 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60441 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60442 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60443 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60444 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60445 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60446 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60447 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60448 * sysdeps/i386/fpu/e_log.S: Likewise.
60449 * sysdeps/i386/fpu/e_log10.S: Likewise.
60450 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60452 * sysdeps/i386/fpu/e_log2.S: Likewise.
60453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60455 * sysdeps/i386/fpu/e_logf.S: Likewise.
60456 * sysdeps/i386/fpu/e_logl.S: Likewise.
60457 * sysdeps/i386/fpu/e_pow.S: Likewise.
60458 * sysdeps/i386/fpu/e_powf.S: Likewise.
60459 * sysdeps/i386/fpu/e_powl.S: Likewise.
60460 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60461 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60462 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60463 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60464 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60466 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60467 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60468 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60469 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60470 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60472 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60473 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60474 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60475 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60476 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60477 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60478 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60479 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60480 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60482 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60483 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60485 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60486 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60487 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60490 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60491 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60492 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60493 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60494 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60495 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60496 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60497 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60498 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60499 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60500 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60502 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60503 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60504 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60505 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60506 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60507 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60508 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60509 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60510 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60511 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60512 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60513 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60514 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60515 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60516 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60517 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60518 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60519 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60520 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60522 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60524 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60525 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60526 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60527 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60528 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60529 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60537 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60543 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60546 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60547 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60548 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60549 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60550 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60552 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60554 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60555 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60556 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60557 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60558 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60559 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60560 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60561 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60562 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60563 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60565 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60566 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60567 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60568 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60569 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60570 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60571 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60572 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60574 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60575 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60577 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60578 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60579 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60580 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60581 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60582 (__isnanf): Likewise.
60583 (__isinf_ns): Likewise.
60584 (__isinf_nsf): Likewise.
60585 (__finite): Likewise.
60586 (__finitef): Likewise.
60587 (__ieee754_sqrt): Define as macro.
60588 (__ieee754_sqrtf): Define as macro.
60589 (__ieee754_sqrtl): Define as macro.
60590 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60591 inlined copy.
60592 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60593 __FINITE_MATH_ONLY__ consistent.
60594 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60595
60596 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60597
60598 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60599 of rawmemchr.
60600
60601 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60602
60603 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60604
60605 * po/ja.po: Update from translation team.
60606
60607 2011-10-08 Roland McGrath <roland@hack.frob.com>
60608
60609 * locale/programs/locarchive.c (prepare_address_space): New function.
60610 (create_archive, enlarge_archive, open_archive): Use it.
60611
60612 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60613 inside [SHARED], where it is used.
60614
60615 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60616
60617 * nss/getent.c (netgroup_keys): Remove unused variable.
60618 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60619
60620 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60621
60622 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60623 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60626 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60627 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60628 * math/Makefile (libm-calls): Add s_isinf_ns.
60629 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60630 * math/multc3.c: Likewise.
60631 * math/s_casin.c: Likewise.
60632 * math/s_casinf.c: Likewise.
60633 * math/s_casinl.c: Likewise.
60634 * math/s_ccos.c: Likewise.
60635 * math/s_ccosf.c: Likewise.
60636 * math/s_ccosl.c: Likewise.
60637 * math/s_ctan.c: Likewise.
60638 * math/s_ctanf.c: Likewise.
60639 * math/s_ctanh.c: Likewise.
60640 * math/s_ctanhf.c: Likewise.
60641 * math/s_ctanhl.c: Likewise.
60642 * math/s_ctanl.c: Likewise.
60643 * math/w_fmod.c: Likewise.
60644 * math/w_fmodf.c: Likewise.
60645 * math/w_fmodl.c: Likewise.
60646 * math/w_remainder.c: Likewise.
60647 * math/w_remainderf.c: Likewise.
60648 * math/w_remainderl.c: Likewise.
60649 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60650 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60653 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60654 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60655 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60656 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60657
60658 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60659 of the number.
60660 * stdio-common/printf_fphex.c: Likewise.
60661 * stdio-common/printf_size.c: Likewise.
60662
60663 * math/e_exp10.c: Include math_private.h using <...> not "...".
60664 * math/e_exp10f.c: Likewise.
60665 * math/e_exp10l.c: Likewise.
60666 * math/e_exp2l.c: Likewise.
60667 * math/e_j0l.c: Likewise.
60668 * math/e_j1l.c: Likewise.
60669 * math/e_jnl.c: Likewise.
60670 * math/e_lgammal_r.c: Likewise.
60671 * math/e_rem_pio2l.c: Likewise.
60672 * math/e_scalb.c: Likewise.
60673 * math/e_scalbf.c: Likewise.
60674 * math/e_scalbl.c: Likewise.
60675 * math/k_cosl.c: Likewise.
60676 * math/k_sinl.c: Likewise.
60677 * math/k_tanl.c: Likewise.
60678 * math/s_cacoshf.c: Likewise.
60679 * math/s_catan.c: Likewise.
60680 * math/s_catanf.c: Likewise.
60681 * math/s_catanh.c: Likewise.
60682 * math/s_catanhf.c: Likewise.
60683 * math/s_catanhl.c: Likewise.
60684 * math/s_catanl.c: Likewise.
60685 * math/s_ccosh.c: Likewise.
60686 * math/s_ccoshf.c: Likewise.
60687 * math/s_ccoshl.c: Likewise.
60688 * math/s_cexp.c: Likewise.
60689 * math/s_cexpf.c: Likewise.
60690 * math/s_cexpl.c: Likewise.
60691 * math/s_clog.c: Likewise.
60692 * math/s_clog10.c: Likewise.
60693 * math/s_clog10f.c: Likewise.
60694 * math/s_clog10l.c: Likewise.
60695 * math/s_clogf.c: Likewise.
60696 * math/s_clogl.c: Likewise.
60697 * math/s_csin.c: Likewise.
60698 * math/s_csinf.c: Likewise.
60699 * math/s_csinh.c: Likewise.
60700 * math/s_csinhf.c: Likewise.
60701 * math/s_csinhl.c: Likewise.
60702 * math/s_csinl.c: Likewise.
60703 * math/s_csqrt.c: Likewise.
60704 * math/s_csqrtf.c: Likewise.
60705 * math/s_csqrtl.c: Likewise.
60706 * math/s_ctan.c: Likewise.
60707 * math/s_ctanf.c: Likewise.
60708 * math/s_ctanh.c: Likewise.
60709 * math/s_ctanhf.c: Likewise.
60710 * math/s_ctanhl.c: Likewise.
60711 * math/s_ctanl.c: Likewise.
60712 * math/s_ldexp.c: Likewise.
60713 * math/s_ldexpf.c: Likewise.
60714 * math/s_ldexpl.c: Likewise.
60715 * math/s_significand.c: Likewise.
60716 * math/s_significandf.c: Likewise.
60717 * math/s_significandl.c: Likewise.
60718 * math/w_acos.c: Likewise.
60719 * math/w_acosf.c: Likewise.
60720 * math/w_acosh.c: Likewise.
60721 * math/w_acoshf.c: Likewise.
60722 * math/w_acoshl.c: Likewise.
60723 * math/w_acosl.c: Likewise.
60724 * math/w_asin.c: Likewise.
60725 * math/w_asinf.c: Likewise.
60726 * math/w_asinl.c: Likewise.
60727 * math/w_atan2.c: Likewise.
60728 * math/w_atan2f.c: Likewise.
60729 * math/w_atan2l.c: Likewise.
60730 * math/w_atanh.c: Likewise.
60731 * math/w_atanhf.c: Likewise.
60732 * math/w_atanhl.c: Likewise.
60733 * math/w_cosh.c: Likewise.
60734 * math/w_coshf.c: Likewise.
60735 * math/w_coshl.c: Likewise.
60736 * math/w_dremf.c: Likewise.
60737 * math/w_exp10.c: Likewise.
60738 * math/w_exp10f.c: Likewise.
60739 * math/w_exp10l.c: Likewise.
60740 * math/w_exp2.c: Likewise.
60741 * math/w_exp2f.c: Likewise.
60742 * math/w_fmod.c: Likewise.
60743 * math/w_fmodf.c: Likewise.
60744 * math/w_fmodl.c: Likewise.
60745 * math/w_hypot.c: Likewise.
60746 * math/w_hypotf.c: Likewise.
60747 * math/w_hypotl.c: Likewise.
60748 * math/w_j0.c: Likewise.
60749 * math/w_j0f.c: Likewise.
60750 * math/w_j0l.c: Likewise.
60751 * math/w_j1.c: Likewise.
60752 * math/w_j1f.c: Likewise.
60753 * math/w_j1l.c: Likewise.
60754 * math/w_jn.c: Likewise.
60755 * math/w_jnf.c: Likewise.
60756 * math/w_jnl.c: Likewise.
60757 * math/w_lgamma.c: Likewise.
60758 * math/w_lgamma_r.c: Likewise.
60759 * math/w_lgammaf.c: Likewise.
60760 * math/w_lgammaf_r.c: Likewise.
60761 * math/w_lgammal.c: Likewise.
60762 * math/w_lgammal_r.c: Likewise.
60763 * math/w_log.c: Likewise.
60764 * math/w_log10.c: Likewise.
60765 * math/w_log10f.c: Likewise.
60766 * math/w_log10l.c: Likewise.
60767 * math/w_log2.c: Likewise.
60768 * math/w_log2f.c: Likewise.
60769 * math/w_log2l.c: Likewise.
60770 * math/w_logf.c: Likewise.
60771 * math/w_logl.c: Likewise.
60772 * math/w_pow.c: Likewise.
60773 * math/w_powf.c: Likewise.
60774 * math/w_powl.c: Likewise.
60775 * math/w_remainder.c: Likewise.
60776 * math/w_remainderf.c: Likewise.
60777 * math/w_remainderl.c: Likewise.
60778 * math/w_scalb.c: Likewise.
60779 * math/w_scalbf.c: Likewise.
60780 * math/w_scalbl.c: Likewise.
60781 * math/w_sinh.c: Likewise.
60782 * math/w_sinhf.c: Likewise.
60783 * math/w_sinhl.c: Likewise.
60784 * math/w_sqrt.c: Likewise.
60785 * math/w_sqrtf.c: Likewise.
60786 * math/w_sqrtl.c: Likewise.
60787 * math/w_tgamma.c: Likewise.
60788 * math/w_tgammaf.c: Likewise.
60789 * math/w_tgammal.c: Likewise.
60790
60791 * po/ja.po: Update from translation team.
60792
60793 2011-09-29 Andreas Jaeger <aj@suse.de>
60794
60795 [BZ #13179]
60796 * sunrpc/netname.c (netname2host): Fix logic.
60797
60798 [BZ #6779]
60799 [BZ #6783]
60800 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60801 correctly.
60802 * math/w_remainder.c (__remainder): Likewise.
60803 * math/w_remainderf.c (__remainderf): Likewise.
60804 * math/libm-test.inc (remainder_test): Add test cases.
60805
60806 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60807
60808 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60809 sdiv_qrnnd.
60810
60811 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60812
60813 * string/test-memcmp.c: Avoid unncessary #defines.
60814 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60815
60816 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60817
60818 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60819 Use new sse2 version for core i3 - i7 as it's faster
60820 than sse42 version.
60821 (bit_Prefer_PMINUB_for_stringop): New.
60822 * sysdeps/x86_64/rawmemchr.S: Update.
60823 Replace with faster SSE2 version.
60824 * sysdeps/x86_64/memrchr.S: New file.
60825 * sysdeps/x86_64/memchr.S: Update.
60826 Replace with faster SSE2 version.
60827
60828 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60829
60830 * elf/dl-load.c (lose): Add cast to avoid warning.
60831
60832 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60833
60834 * po/ca.po: Update from translation team.
60835
60836 * inet/getnetgrent_r.c: Hook up nscd.
60837 * nscd/Makefile (routines): Add nscd_netgroup.
60838 (nscd-modules): Add netgroupcache.
60839 (CFLAGS-netgroupcache.c): Define.
60840 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60841 (cache_search): Add const to second parameter.
60842 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60843 INNETGR.
60844 (dbs): Add netgrdb entry.
60845 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60846 (verify_persistent_db): Handle netgrdb.
60847 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60848 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60849 GETFDNETGR.
60850 (netgroup_response_header): Define.
60851 (innetgroup_response_header): Define.
60852 (datahead): Add netgroup_response_header and innetgroup_response_header
60853 elements.
60854 * nscd/nscd.conf: Add entries for netgroup cache.
60855 * nscd/nscd.h (dbtype): Add netgrdb.
60856 (_PATH_NSCD_NETGROUP_DB): Define.
60857 (netgroup_iov_disabled): Declare.
60858 (xmalloc, xcalloc, xrealloc): Move declarations here.
60859 (cache_search): Adjust prototype.
60860 Add netgroup-related prototypes.
60861 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60862 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60863 (__nscd_innetgr): Declare.
60864 * nscd/selinux.c (perms): Use access_vector_t as element type and
60865 add netgroup-related initializers.
60866 * nscd/netgroupcache.c: New file.
60867 * nscd/nscd_netgroup.c: New file.
60868 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60869 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60870 For four parameters use innetgr.
60871 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60872 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60873 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60874 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60875
60876 * nscd/connections.c (register_traced_file): Don't register file
60877 for disabled databases.
60878
60879 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60880
60881 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60882
60883 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60884 from tree and freeing node.
60885
60886 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60887
60888 * nss/nsswitch.c (__nss_database_lookup): Handle
60889 nss_parse_service_list out of memory case.
60890
60891 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60892
60893 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60894 out of memory case.
60895
60896 2011-10-04 Andreas Schwab <schwab@redhat.com>
60897
60898 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60899 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60900 pass it down.
60901 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60902 elf_machine_rela, elf_machine_lazy_rel.
60903 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60904 (ELF_DYNAMIC_DO_REL): Likewise.
60905 (ELF_DYNAMIC_DO_RELA): Likewise.
60906 (ELF_DYNAMIC_RELOCATE): Likewise.
60907 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60908 to ELF_DYNAMIC_DO_REL.
60909 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60910 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60911 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60912 elf_machine_rela.
60913 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60914 skip_ifunc, don't call ifunc function if non-zero.
60915 (elf_machine_rela): Likewise.
60916 (elf_machine_lazy_rel): Likewise.
60917 (elf_machine_lazy_rela): Likewise.
60918 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60919 (elf_machine_lazy_rel): Likewise.
60920 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60921 Likewise.
60922 (elf_machine_lazy_rel): Likewise.
60923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60924 Likewise.
60925 (elf_machine_lazy_rel): Likewise.
60926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60927 (elf_machine_lazy_rel): Likewise.
60928 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60929 (elf_machine_lazy_rel): Likewise.
60930 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60931 (elf_machine_lazy_rel): Likewise.
60932 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60933 (elf_machine_lazy_rel): Likewise.
60934 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60935 (elf_machine_lazy_rel): Likewise.
60936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60937 (elf_machine_lazy_rel): Likewise.
60938
60939 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60940
60941 * nss/nss_files/files-init.c (_nss_files_init): Use static
60942 initialization for all the *_traced_file variables.
60943
60944 2011-09-28 Andreas Schwab <schwab@redhat.com>
60945
60946 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60947
60948 2011-09-27 Roland McGrath <roland@hack.frob.com>
60949
60950 [BZ #13226]
60951 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60952
60953 2011-09-27 Andreas Schwab <schwab@redhat.com>
60954
60955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60956 Reread the line before reparsing it.
60957
60958 2011-09-26 Andreas Schwab <schwab@redhat.com>
60959
60960 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60961
60962 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60963 Maxim Kuvyrkov <maxim@codesourcery.com>
60964 Joseph Myers <joseph@codesourcery.com>
60965
60966 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60967 if needed for __stack_chk_guard.
60968
60969 2011-09-19 Roland McGrath <roland@hack.frob.com>
60970
60971 * sysdeps/posix/spawni.c (script_execute): Always define it.
60972 It will be optimized away if unused.
60973 (maybe_script_execute): New function.
60974 (__spawni): Call it.
60975
60976 * Makerules: Don't include tls.make.
60977 (config-tls): Always set to thread.
60978 * tls.make.c: File removed.
60979
60980 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60981
60982 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60983 * config.make.in (CPPFLAGS-config): New substituted variable.
60984
60985 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60986
60987 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60988
60989 [BZ #13192]
60990 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60991 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60992
60993 2011-09-15 Roland McGrath <roland@hack.frob.com>
60994
60995 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60996 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60998 (CALL_FAIL): Likewise.
60999 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61000 (CALL_FAIL): Macro removed.
61001 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61002
61003 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61004
61005 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61006 for __FINITE_MATH_ONLY__ == 1.
61007
61008 2011-09-15 Andreas Schwab <schwab@redhat.com>
61009
61010 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61011 __ieee754_sqrt instead of sqrt.
61012 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61013 __ieee754_sqrtf instead of sqrtf.
61014 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61015 __floorf instead of floorf.
61016 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61017 __floorf, __truncf instead of floorf, truncf.
61018
61019 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61020
61021 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61022
61023 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61024 __extern_always_inline.
61025 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61026 32-bit.
61027
61028 2011-09-14 Andreas Schwab <schwab@redhat.com>
61029
61030 * elf/rtld.c (dl_main): Also relocate in dependency order when
61031 doing symbol dependency testing.
61032
61033 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61034
61035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61036 Always define `refsym'.
61037
61038 2011-09-13 Andreas Schwab <schwab@redhat.com>
61039
61040 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61041 (__FD_ELT): Renamed from __FDELT.
61042 * misc/bits/select2.h (__FD_ELT): Likewise.
61043 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61044 __FD_MASK instead of __FDELT, __FDMASK.
61045 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61046 Likewise.
61047 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61048 Likewise.
61049
61050 * elf/Makefile (gen-ldd): Fix pattern.
61051
61052 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61053 (init_tls): Likewise.
61054
61055 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61056
61057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61058
61059 2011-09-12 Andreas Schwab <schwab@redhat.com>
61060
61061 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61062 `struct cmsghdr *' instead of `void *'.
61063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61064 Likewise.
61065
61066 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61067
61068 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61069 if non-absolute.
61070 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61071 ldd_rewrite_script.
61072
61073 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61074
61075 * configure.in: Remove --with-tls option.
61076 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61077 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61078 out in case it is missing.
61079 * sysdeps/ia64/elf/configure.in: Likewise.
61080 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61081 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61082 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61083 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61084 * sysdeps/sh/elf/configure.in: Likewise.
61085 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61086 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61087 * sysdeps/x86_64/elf/configure.in: Likewise.
61088 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61089 * sysdeps/mach/hurd/tls.h: Likewise.
61090
61091 [BZ #13067]
61092 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61093
61094 [BZ #13090]
61095 * configure.in: Fix use of AC_INIT.
61096
61097 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61098
61099 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61100
61101 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61102 __set_errno.
61103 * malloc/hooks.c: Likewise.
61104
61105 [BZ #11929]
61106 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61107 variables statically.
61108 (narenas): Initialize.
61109 (list_lock): Initialize.
61110 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61111 initializtion of main_arena and list_lock. Small cleanups.
61112 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61113 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61114 Add initializers to main_arena and mp_.
61115 (malloc_state): Remove pagesize member. Change all users to use
61116 GLRO(dl_pagesize).
61117
61118 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61119 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61120 is always initialized.
61121
61122 * malloc/malloc.c: Removed unused configurations and dead code.
61123 * malloc/arena.c: Likewise.
61124 * malloc/hooks.c: Likewise.
61125 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61126
61127 * include/tls.h: Removed. USE___THREAD must always be defined.
61128 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61129 * elf/dl-libc.c: Likewise.
61130 * elf/dl-tsd.c: Likewise.
61131 * include/errno.h: Likewise.
61132 * include/netdb.h: Likewise.
61133 * include/resolv.h: Likewise.
61134 * inet/herrno-loc.c: Likewise.
61135 * inet/herrno.c: Likewise.
61136 * malloc/arena.c: Likewise.
61137 * malloc/hooks.c: Likewise.
61138 * malloc/malloc.c: Likewise.
61139 * resolv/res-state.c: Likewise.
61140 * resolv/res_libc.c: Likewise.
61141 * sysdeps/i386/dl-machine.h: Likewise.
61142 * sysdeps/ia64/dl-machine.h: Likewise.
61143 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61144 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61145 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61146 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61147 * sysdeps/sh/dl-machine.h: Likewise.
61148 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61149 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61150 * sysdeps/unix/i386/sysdep.S: Likewise.
61151 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61152 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61157 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61161 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61162 * sysdeps/x86_64/dl-machine.h: Likewise.
61163 * tls.make.c: Likewise.
61164
61165 * configure.in: Remove --with-__thread option. Make tests for
61166 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61167 tls_model attribute fail if no support is available. Remove
61168 USE_IN_LIBIO.
61169 * Makeconfig: Adjust for dropped configure option. All features are
61170 now mandatory.
61171 * Makerules: Likewise.
61172 * Versions.def: Likewise.
61173 * argp/argp-fmtstream.c: Likewise.
61174 * argp/argp-fmtstream.h: Likewise.
61175 * argp/argp-help.c: Likewise.
61176 * assert/assert.c: Likewise.
61177 * config.h.in: Likewise.
61178 * config.make.in: Likewise.
61179 * configure: Likewise.
61180 * configure.in: Likewise.
61181 * csu/Versions: Likewise.
61182 * csu/init.c: Likewise.
61183 * elf/tst-audit2.c: Likewise.
61184 * elf/tst-tls10.c: Likewise.
61185 * elf/tst-tls10.h: Likewise.
61186 * elf/tst-tls11.c: Likewise.
61187 * elf/tst-tls12.c: Likewise.
61188 * elf/tst-tls14.c: Likewise.
61189 * elf/tst-tlsmod11.c: Likewise.
61190 * elf/tst-tlsmod12.c: Likewise.
61191 * elf/tst-tlsmod13.c: Likewise.
61192 * elf/tst-tlsmod13a.c: Likewise.
61193 * elf/tst-tlsmod14a.c: Likewise.
61194 * elf/tst-tlsmod15b.c: Likewise.
61195 * elf/tst-tlsmod16a.c: Likewise.
61196 * elf/tst-tlsmod16b.c: Likewise.
61197 * elf/tst-tlsmod7.c: Likewise.
61198 * elf/tst-tlsmod8.c: Likewise.
61199 * elf/tst-tlsmod9.c: Likewise.
61200 * gmon/gmon.c: Likewise.
61201 * grp/fgetgrent_r.c: Likewise.
61202 * grp/putgrent.c: Likewise.
61203 * hurd/fopenport.c: Likewise.
61204 * include/libc-symbols.h: Likewise.
61205 * include/tls.h: Likewise.
61206 * intl/gettextP.h: Likewise.
61207 * intl/loadinfo.h: Likewise.
61208 * locale/global-locale.c: Likewise.
61209 * locale/localeinfo.h: Likewise.
61210 * mach/devstream.c: Likewise.
61211 * malloc/arena.c: Likewise.
61212 * malloc/set-freeres.c: Likewise.
61213 * misc/err.c: Likewise.
61214 * misc/getttyent.c: Likewise.
61215 * misc/mntent_r.c: Likewise.
61216 * posix/getopt.c: Likewise.
61217 * posix/wordexp.c: Likewise.
61218 * pwd/fgetpwent_r.c: Likewise.
61219 * resolv/Versions: Likewise.
61220 * resolv/res_hconf.c: Likewise.
61221 * shadow/fgetspent_r.c: Likewise.
61222 * shadow/putspent.c: Likewise.
61223 * stdio-common/printf_fphex.c: Likewise.
61224 * stdio-common/tmpfile.c: Likewise.
61225 * stdlib/abort.c: Likewise.
61226 * stdlib/fmtmsg.c: Likewise.
61227 * sunrpc/auth_unix.c: Likewise.
61228 * sunrpc/clnt_perr.c: Likewise.
61229 * sunrpc/clnt_tcp.c: Likewise.
61230 * sunrpc/clnt_udp.c: Likewise.
61231 * sunrpc/clnt_unix.c: Likewise.
61232 * sunrpc/openchild.c: Likewise.
61233 * sunrpc/svc_simple.c: Likewise.
61234 * sunrpc/svc_tcp.c: Likewise.
61235 * sunrpc/svc_udp.c: Likewise.
61236 * sunrpc/svc_unix.c: Likewise.
61237 * sunrpc/xdr.c: Likewise.
61238 * sunrpc/xdr_array.c: Likewise.
61239 * sunrpc/xdr_rec.c: Likewise.
61240 * sunrpc/xdr_ref.c: Likewise.
61241 * sunrpc/xdr_stdio.c: Likewise.
61242
61243 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61244
61245 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61246
61247 2011-07-03 Andreas Jaeger <aj@suse.de>
61248
61249 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61250 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61251 regenerate with gen-libm-tests.pl.
61252
61253 2010-05-12 Petr Baudis <pasky@suse.cz>
61254
61255 [BZ #11589]
61256 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61257 around j0() zero points by switching to j1().
61258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61262
61263 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61264
61265 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61266 instead of 0.
61267 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61268 instead of 0.
61269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61270 Patch in part by Pavel Roskin <proski@gnu.org>.
61271
61272 [BZ #13138]
61273 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61274 realloc.
61275 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61276 Free memory block if necessary.
61277
61278 [BZ #12847]
61279 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61280 be NULL. Don't lock in this case.
61281
61282 2011-09-09 Roland McGrath <roland@hack.frob.com>
61283
61284 * elf/elf.h (ELFOSABI_GNU): New macro.
61285 (ELFOSABI_LINUX): Define to that.
61286
61287 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61288
61289 * string/strncat.c (strncat): Undef the symbol in case it has been
61290 defined in bits/string.h.
61291
61292 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61293
61294 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61295
61296 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61297 link map.
61298
61299 2011-08-17 Andreas Jaeger <aj@suse.de>
61300
61301 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61302
61303 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61304 Ian Lance Taylor <iant@google.com>
61305
61306 * math/libm-test.inc (lround_test): New testcase.
61307 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61308
61309 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61310
61311 * Makefile: Remove support for automatic cvs check-ins.
61312 * Makerules: Likewise.
61313 * config.make.in: Likewise.
61314 * configure.in: Likewise.
61315 * intl/Makefile: Likewise.
61316 * locale/Makefile: Likewise.
61317 * po/Makefile: Likewise.
61318 * posix/Makefile: Likewise.
61319 * sysdeps/gnu/Makefile: Likewise.
61320 * sysdeps/mach/hurd/Makefile: Likewise.
61321 * sysdeps/sparc/sparc32/Makefile: Likewise.
61322
61323 [BZ #13118]
61324 * posix/Makefile (bug-regex32-ENV): Define.
61325 Patch by John Stanley <jpsinthemix@verizon.net>.
61326
61327 * misc/Makefile (headers): Add bits/select2.h.
61328 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61329 * misc/bits/select2.h: New file.
61330 * include/bits/select2.h: New file.
61331 * debug/Makefile (routines): Add fdelt_chk.
61332 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61333 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61334 FD_ISSET.
61335 * debug/fdelt_chk.c: New file.
61336
61337 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61338 * wcsmbs/test-wmemcmp.c: Likewise.
61339 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61340 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61341
61342 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61343
61344 * string/Makefile (strop-tests): Add memcmp.
61345 * string/test-wmemcmp.c: New file.
61346 * string/test-memcmp.c: Add wmemcmp support.
61347
61348 2011-09-08 Roland McGrath <roland@hack.frob.com>
61349
61350 [BZ #13153]
61351 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61352 2011-07-19 change.
61353
61354 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61355 garbage value in a __mach_port_mod_refs call in the cases of the
61356 task-self and thread-self ports.
61357
61358 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61359
61360 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61361
61362 2011-09-08 Andreas Schwab <schwab@redhat.com>
61363
61364 * elf/dl-load.c (lose): Check for non-null L.
61365
61366 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61367
61368 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61369
61370 * elf/dl-libc.c (dlerror_run): Pass back error code from
61371 dl_catch_error.
61372
61373 [BZ #13123]
61374 * elf/dl-load.c (lose): Free l_origin if it is valid.
61375
61376 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61377 names.
61378 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61379 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61381 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61382 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61383 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61384
61385 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61386
61387 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61388 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61389 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61390 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61391 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61392 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61393 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61394 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61395 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61396 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61397
61398 2011-08-15 Alan Modra <amodra@gmail.com>
61399
61400 [BZ #13092]
61401 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61402 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61403 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61404 ppc_mcount to static-only-routines.
61405 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61406 __mcount_internal.
61407 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61408 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61409
61410 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61411
61412 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61413 for finite and infinity parameters.
61414
61415 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61416
61417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61418 and add nop instructions for throughput optimization.
61419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61420
61421 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61422
61423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61424 aligned copy for power7 with vector-scalar instructions.
61425 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61426
61427 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61428
61429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61430 AVX check.
61431
61432 2011-09-07 Andreas Schwab <schwab@redhat.com>
61433
61434 [BZ #13144]
61435 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61436 last change.
61437
61438 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61439
61440 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61441 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61442 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61443 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61444 clock_gettime.
61445
61446 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61447
61448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61449 Forgot to demangle the pointer.
61450
61451 * sysdeps/i386/sysdep.h: Define atom_text_section.
61452 * sysdeps/x86_64/sysdep.h: Likewise.
61453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61454 section with atom_text_section.
61455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61457 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61459 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61460
61461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61463 already be defined. Change to take two parameters and don't assign
61464 result to variable. Adjust all users.
61465 Define INTERNAL_GETTIME if not already defined.
61466 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61467 call.
61468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61469 HAVE_CLOCK_GETTIME_VSYSCALL.
61470 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61471
61472 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61473 gettimeofday vsyscall, just use time.
61474
61475 2011-09-06 Andreas Schwab <schwab@redhat.com>
61476
61477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61478 <errno.h>.
61479
61480 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61481
61482 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61483 syscall on x86-64.
61484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61485 syscall.
61486 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61487 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61488 syscall if possible.
61489
61490 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61491
61492 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61493 e_ident. Don't pass to find_mapsXX.
61494 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61495
61496 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61497
61498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61499 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61500 * sysdeps/x86_64/multiarch/strchr.S: Update.
61501 Check bit_slow_BSF bit.
61502 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61503 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61505
61506 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61507
61508 [BZ #13134]
61509 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61510 before glibc 2.15.
61511 (tryshell): Define.
61512 (__spawni): Change last parameter to be flag. Test
61513 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61514 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61515 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61516 * posix/spawni.c: Likewise.
61517 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61518 * posix/spawnp.c: Likewise. Change normal version to use
61519 SPAWN_XFLAGS_USE_PATH.
61520 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61521 SPAWN_XFLAGS_TRY_SHELL.
61522
61523 [BZ #13150]
61524 * posix/glob.h: Remove gcc 1.x support.
61525
61526 [BZ #13068]
61527 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61528
61529 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61530
61531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61532 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61533 strrchr-sse2-bsf
61534 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61535 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61537 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61538 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61540
61541 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61542
61543 * sysdeps/x86_64/wcscmp.S: New file.
61544
61545 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61546 wcscmp-c wcscmp-sse2
61547 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61548 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61549 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61550 * wcsmbs/wcscmp.c: Allow renaming.
61551
61552 2011-09-05 David S. Miller <davem@davemloft.net>
61553
61554 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61555 stack slot, rather than the struct return pointer slot.
61556 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61557 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61559 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61560
61561 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61562
61563 * po/ja.po: Update from translation team.
61564
61565 [BZ #13144]
61566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61567 kernel in 64-bit binaries.
61568
61569 2011-09-01 David S. Miller <davem@davemloft.net>
61570
61571 * elf/elf.h (HWCAP_SPARC_*): Move to..
61572 * sysdeps/sparc/sysdep.h: this new file and add new values.
61573 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61574 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61575 _DL_HWCAP_COUNT to 24.
61576 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61577 entries.
61578 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61579 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61580 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61582 instead of magic constants.
61583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61584
61585 2011-08-31 David S. Miller <davem@davemloft.net>
61586
61587 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61589 Reimplement to do errno handling inline.
61590 (SYSCALL_ERROR_HANDLER): New macro.
61591 (__SYSCALL_STRING): Do not do errno handling in asm.
61592 (__CLONE_SYSCALL_STRING): Delete.
61593 (__INTERNAL_SYSCALL_STRING): Delete.
61594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61595 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61596 (PSEUDO): Reimplement to do errno handling inline.
61597 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61598 (SYSCALL_ERROR_HANDLER): New macro.
61599 (__SYSCALL_STRING): Do not do errno handling in asm.
61600 (__CLONE_SYSCALL_STRING): Delete.
61601 (__INTERNAL_SYSCALL_STRING): Delete.
61602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61603 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61604 i386.
61605 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61606 (inline_syscall*): Add 'err' argument.
61607 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61608 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61609 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61610 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61611
61612 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61613 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61614
61615 2011-08-30 Andreas Schwab <schwab@redhat.com>
61616
61617 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61618
61619 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61620
61621 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61622 directive.
61623
61624 2011-08-24 David S. Miller <davem@davemloft.net>
61625
61626 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61627
61628 2011-08-24 Andreas Schwab <schwab@redhat.com>
61629
61630 * elf/Makefile: Add rules to build and run unload8 test.
61631 * elf/unload8.c: New file.
61632 * elf/unload8mod1.c: New file.
61633 * elf/unload8mod1x.c: New file.
61634 * elf/unload8mod2.c: New file.
61635 * elf/unload8mod3.c: New file.
61636
61637 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61638 it wasn't used.
61639
61640 2011-08-23 David S. Miller <davem@davemloft.net>
61641
61642 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61643 subtract stack bias.
61644 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61645 %sp not %fp in calculations.
61646 (_JMPBUF_UNWINDS_ADJ): Likewise.
61647
61648 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61649 (aio_suspend): Call it to force an exception region around the
61650 AIO_MISC_WAIT() invocation.
61651
61652 2011-08-23 Andreas Schwab <schwab@redhat.com>
61653
61654 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61655 backslash.
61656
61657 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61658
61659 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61660 protection macro.
61661 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61662 and <dl-machine.h>.
61663 (Elf64_FuncDesc): Remove.
61664
61665 2011-08-22 David S. Miller <davem@davemloft.net>
61666
61667 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61668 sigaltstack check, add missing cfi directives.
61669 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61670 missing cfi directives, and sigaltstack handling.
61671
61672 2011-08-16 Andreas Schwab <schwab@redhat.com>
61673
61674 [BZ #11724]
61675 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61676 object is seen twice.
61677 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61678
61679 * elf/Makefile (distribute): Add tst-initorder2.c.
61680 (tests): Add tst-initorder2.
61681 (modules-names): Add tst-initorder2a tst-initorder2b
61682 tst-initorder2c tst-initorder2d. Add rules to build them.
61683 ($(objpfx)tst-initorder2.out): New rule.
61684 * elf/tst-initorder2.c: New file.
61685 * elf/tst-initorder2.exp: New file.
61686
61687 2011-08-22 Andreas Schwab <schwab@redhat.com>
61688
61689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61690
61691 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61692 dependencies back to end of function.
61693
61694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61695 $(elfobjdir)/ld.so.
61696
61697 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61698
61699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61700 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61702 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61703 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61704 of __vdso_gettimeofday.
61705 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61706 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61707 attribute_hidden.
61708 (_libc_vdso_platform_setup): Remove initialization of
61709 __vdso_gettimeofday and __vdso_time.
61710
61711 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61712
61713 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61714 and fgetc_unlocked.
61715 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61716 getc_unlocked.
61717
61718 * elf/dl-open.c (add_to_global): Report additions to the global scope
61719 for LD_DEBUG=scopes.
61720 (dl_open_worker): Also print scope of newly loaded dependencies.
61721 (_dl_show_scope): Indicate if there is no scope.
61722
61723 [BZ #13114]
61724 * stdio-common/Makefile (tests): Add bug24.
61725 * stdio-common/bug24.c: New file.
61726
61727 2011-08-19 Andreas Jaeger <aj@suse.de>
61728
61729 [BZ #13114]
61730 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61731 non-existant file when using close-on-exec mode.
61732
61733 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61734
61735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61736 the very first instruction.
61737
61738 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61739 the CFI state in the end.
61740 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61741 inclusion of dl-trampoline.h.
61742 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61743
61744 2011-08-19 Andreas Schwab <schwab@redhat.com>
61745
61746 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61747 expectations for long double.
61748
61749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61750 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61751
61752 2011-08-14 David S. Miller <davem@davemloft.net>
61753
61754 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61755 artificual limit depends upon the system page size.
61756
61757 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61758
61759 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61760 * resolv/Makefile: Define CFLAGS-libresolv.
61761
61762 2011-08-17 Andreas Schwab <schwab@redhat.com>
61763
61764 * nss/makedb.c (compute_tables): Make variables used in nested
61765 function static.
61766
61767 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61768
61769 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61770 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61771 if buffer was too small.
61772
61773 * elf/pldd.c (main): Attach to all threads in the process.
61774 Rewrite /proc handling to use *at functions.
61775
61776 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61777
61778 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61779 specifies first scope to show.
61780 (dl_open_worker): Update callers. Move printing scope of new
61781 object to before the relocation.
61782 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61783 * sysdeps/generic/ldsodefs.h: Update declaration.
61784
61785 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61786 string for the scope number.
61787
61788 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61789
61790 * nscd/servicescache.c (cache_addserv): Make sure written is always
61791 initialized.
61792
61793 2011-08-14 Roland McGrath <roland@hack.frob.com>
61794
61795 * sysdeps/i386/i486/bits/atomic.h
61796 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61797 statement expression, so as to suppress "set but not used" warning.
61798 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61799
61800 * string/strncat.c (STRNCAT): Use prototype definition.
61801
61802 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61803 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61804 -Iprograms here.
61805 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61806 (localedef-modules): Add localedef.
61807 (locale-modules): Add locale.
61808
61809 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61810 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61811 to avoid a warning.
61812
61813 2011-08-14 David S. Miller <davem@davemloft.net>
61814
61815 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61816 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61817
61818 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61819
61820 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61821 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61822 * elf/rtld.c (dl_main): Set l_name of vDSO.
61823 Call _dl_show_scope when DL_DEBUG_SCOPES.
61824 (process_dl_debug): Recognize scopes flag and also set it for all.
61825 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61826 Declare _dl_show_scope.
61827
61828 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61829 (do_dlopen): Pass caller_dlopen to dl_open.
61830 (__libc_dlopen_mode): Initialize caller_dlopen.
61831
61832 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61833 of libc. Make tolower call locale-independent. Optimize a bit by
61834 using isdigit instead of isalnum.
61835 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61836
61837 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61838
61839 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61840 was a dependency or dynamically loaded.
61841
61842 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61843
61844 * intl/l10nflist.c: Allow architecture-specific pop function.
61845 * sysdeps/x86_64/l10nflist.c: New file.
61846
61847 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61848 classification.
61849
61850 2011-08-10 Andreas Schwab <schwab@redhat.com>
61851
61852 * include/dirent.h: Add libc_hidden_proto for scandirat and
61853 scandirat64. Don't declare __scandirat64.
61854 * dirent/scandirat.c: Add libc_hidden_def.
61855 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61856 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61857
61858 2011-08-10 David S. Miller <davem@davemloft.net>
61859
61860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61861 enum.
61862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61863 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61864 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61865
61866 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61867
61868 * Versions.def [libc]: Add GLIBC_2.15.
61869 * dirent/Makefile (routines): Add scandirat and scandirat64.
61870 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61871 GLIBC_2.15.
61872 * dirent/dirent.h: Declare scandirat and scandirat64.
61873 * dirent/scandirat.c: New file.
61874 * dirent/scandirat64.c: New file.
61875 * sysdeps/wordsize-64/scandirat.c: New file.
61876 * sysdeps/wordsize-64/scandirat64.c: New file.
61877 * dirent/opendir.c: Define opendirat.
61878 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61879 using scandirat.
61880 * dirent/scandir64.c: Adjust for scandir.c change.
61881 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61882 __scandirat64, and __scandir_cancel_handler.
61883 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61884 additional parameter and use openat instead of open (outside of ld.so).
61885 Add new __opendir as wrapper around __opendirat.
61886 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61887 here without requiring old scandirat implementation.
61888
61889 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61890
61891 * dirent/scandir.c (cancel_handler): Renamed to
61892 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61893 defined. Adjust users.
61894 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61895 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61896
61897 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61898
61899 * string/test-string.h (IMPL): Use __STRING to expand name and then
61900 stringify it.
61901
61902 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61903 of cleanups.
61904
61905 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61906
61907 * string/Makefile: Update.
61908 (strop-tests): Append strncat.
61909 * string/test-wcscmp.c: New file.
61910 New comprehensive test for wcscmp.
61911 * string/test-strcmp.c: Update.
61912 (WIDE): New define.
61913
61914 2011-07-22 Andreas Schwab <schwab@redhat.com>
61915
61916 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61917 line.
61918
61919 2011-07-26 Andreas Schwab <schwab@redhat.com>
61920
61921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61922 encoding to ACE if AI_IDN.
61923
61924 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61925
61926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61927 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61928
61929 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61930
61931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61932 Fix overflow bug in strncat.
61933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61934
61935 * string/test-strncat.c: Update.
61936 Add new tests for checking overflow bugs.
61937
61938 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61939
61940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61941 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61942 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61943 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61945 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61946 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61947 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61948 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61949
61950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61951 (USE_AS_STRCAT): Define.
61952 Add strcat and strncat support.
61953 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61954
61955 2011-07-25 Andreas Schwab <schwab@redhat.com>
61956
61957 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61958 __n bigger than INT_MAX+1.
61959 (__strncmp_g): Likewise.
61960
61961 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61962
61963 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61964 * libio/stido.h: Likewise.
61965
61966 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61967 (AF_NFC): Define.
61968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61969 (AF_NFC): Define.
61970
61971 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61976
61977 [BZ #13021]
61978 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61979 installed.
61980
61981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61982 typo.
61983 (_dl_x86_64_save_sse): Likewise.
61984
61985 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61986
61987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61988 OSXSAVE.
61989 (_dl_x86_64_save_sse): Likewise.
61990
61991 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61992
61993 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61994
61995 2011-07-21 Andreas Schwab <schwab@redhat.com>
61996
61997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61998 change.
61999 (_dl_x86_64_save_sse): Use correct AVX check.
62000
62001 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62002
62003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62004 bug in strncpy/strncat.
62005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62006
62007 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62008
62009 * string/tester.c (test_strcat): Add tests for different alignments
62010 of source and destination.
62011 (test_strncat): Likewise.
62012
62013 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62014
62015 [BZ #12852]
62016 * posix/glob.c (glob): Check passed in values before using them in
62017 expressions to avoid some overflows.
62018 (glob_in_dir): Likewise.
62019
62020 [BZ #13007]
62021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62022 check for AVX enablement so that we don't crash with old kernels and
62023 new hardware.
62024 * elf/tst-audit4.c: Add same checks here.
62025 * elf/tst-audit6.c: Likewise.
62026
62027 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62028
62029 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62030
62031 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62032
62033 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62034
62035 * po/cs.po: Update from translation team.
62036 * po/bg.po: Likewise.
62037
62038 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62039
62040 * misc/sys/cdefs.h: Add support for const attribute.
62041 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62042 to gnu_dev_{major,minor,makedev} functions.
62043
62044 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62045
62046 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62047
62048 2011-07-20 Andreas Schwab <schwab@redhat.com>
62049
62050 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62051 strlen results.
62052
62053 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62054
62055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62056 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62057 register in order to avoid conflicts with the soft frame pointer
62058 being held in r11 when necessary.
62059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62060 (INTERNAL_VSYSCALL_NCS): Likewise.
62061
62062 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62063
62064 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62065 * elf/dl-fini.c (_dl_fini): Adjust caller.
62066 * elf/dl-close.c (_dl_close_worker): Likewise.
62067 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62068
62069 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62070
62071 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62072 "aux_cache->nlibs < 0".
62073
62074 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62075 in the reload-count case.
62076
62077 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62078
62079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62080 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62081 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62082 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62083 * sysdeps/x86_64/multiarch/strcat.S: New file.
62084 * sysdeps/x86_64/multiarch/strncat.S: New file.
62085 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62087 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62088 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62090 (USE_AS_STRCAT): Define.
62091 Add strcat and strncat support.
62092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62093 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62094 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62095 * string/strncat.c: Update.
62096 (USE_AS_STRNCAT): Define.
62097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62098 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62099 and i7.
62100 * sysdeps/x86_64/multiarch/init-arch.h
62101 (bit_Prefer_PMINUB_for_stringop): New.
62102 (index_Prefer_PMINUB_for_stringop): Likewise.
62103 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62104 bit_Prefer_PMINUB_for_stringop.
62105
62106 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62107
62108 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62109 buffer64.
62110 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62111 of casting of buffer.
62112 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62113 buffer32 and buffer64.
62114 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62115 writes instead of casting of buffer.
62116 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62117 buffer32.
62118 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62119 casting of buffer.
62120
62121 2011-07-19 Andreas Schwab <schwab@redhat.com>
62122
62123 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62124
62125 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62126
62127 * nscd/nscd.c (termination_handler): Don't do anything for a database
62128 if it has not yet been initialized.
62129
62130 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62131
62132 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62133
62134 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62135
62136 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62137
62138 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62139
62140 * po/nl.po: Update from translation team.
62141 * po/sv.po: Likewise.
62142
62143 2011-07-16 Roland McGrath <roland@hack.frob.com>
62144
62145 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62146 now disallowed by GCC.
62147
62148 * configure.in (use-default-link): Default to yes if a test -shared
62149 link meets our qualifications.
62150 * configure: Regenerated.
62151
62152 * config.make.in (output-format): New variable.
62153 * configure.in: Check for ld --print-output-format support.
62154 * configure: Regenerated.
62155 * Makerules ($(common-objpfx)format.lds)
62156 [$(output-format) != unknown]: Just use $(output-format),
62157 instead of the linker-script munging.
62158
62159 2011-07-14 Roland McGrath <roland@hack.frob.com>
62160
62161 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62162 of $(common-objpfx)shlib.lds.
62163 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62164
62165 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62166 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62167
62168 * configure.in (-z relro check): Adjust test code to add a large
62169 writable data section after it.
62170 * configure: Regenerated.
62171
62172 2011-07-11 Roland McGrath <roland@hack.frob.com>
62173
62174 * configure.in (-z relro check): Fix test code to make the variable
62175 truly const.
62176 * configure: Regenerated.
62177
62178 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62179
62180 * nscd/nscd.h (struct traced_file): Define.
62181 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62182 elements. Add traced_files.
62183 (inotify_fd): Declare.
62184 (register_traced_file): Declare.
62185 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62186 (inotify_fd): Export.
62187 (resolv_conf_descr): Remove.
62188 (nscd_init): Move inotify descriptor creation to main.
62189 Don't register files for notification here.
62190 (register_traced_file): New function.
62191 (invalidate_cache): Don't use reset_res to determine whether to call
62192 res_init, go through the list of registered files.
62193 (main_loop_poll): The inotify descriptors are now stored in the
62194 structures for the traced files.
62195 (main_loop_epoll): Likewise
62196 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62197 to __nss_disable_nscd.
62198 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62199 for a database anymore. Check the records for all the registered
62200 files instead.
62201 * nss/Makefile (libnss_files-routines): Add files-init.
62202 (libnss_db-routines): Add db-init.
62203 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62204 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62205 * nss/nss_db/db-init.c: New file.
62206 * nss/nss_files/files-init.c: New file.
62207 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62208 __nss_lookup_function.
62209 (__nss_lookup_function): Call nss_load_library.
62210 (nss_load_all_libraries): New function.
62211 (__nss_disable_nscd): Take parameter with callback function for files
62212 to register. Set is_nscd. Load all the DSOs for the NSS modules
62213 used for the cached services.
62214 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62215 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62216 options for features to all the files in nscd.
62217
62218 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62219
62220 2011-07-10 Roland McGrath <roland@hack.frob.com>
62221
62222 * csu/elf-init.c (__libc_csu_init): Comment typo.
62223
62224 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62225
62226 * po/pl.po: Update from translation team.
62227 * po/ja.po: Likewise.
62228 * po/ru.po: Likewise.
62229 * po/ko.po: Likewise.
62230 * po/fr.po: Likewise.
62231
62232 2011-07-09 Roland McGrath <roland@hack.frob.com>
62233
62234 * configure.in (.ctors/.dtors header and trailer check):
62235 Use an empirical test on a built program.
62236 * configure: Regenerated.
62237
62238 * configure.in (-z relro check): Use an empirical test on a built DSO.
62239 Detect, but do not require, on ia64.
62240 * configure: Regenerated.
62241
62242 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62243 Update tests that use readelf to use $READELF instead.
62244 * configure: Regenerated.
62245
62246 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62247
62248 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62249 if the result is not used.
62250
62251 2011-07-05 Andreas Jaeger <aj@suse.de>
62252
62253 [BZ#9696]
62254 * stdlib/tst-strtod.c: Add testcase.
62255
62256 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62257
62258 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62259 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62260 The latter has a higher limit. Take additional parameter to pass to
62261 the new function.
62262 (__pathconf): Pass file to __statfs_link_max.
62263 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62264 __statfs_link_max.
62265 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62266 __statfs_link_max.
62267
62268 [BZ #12868]
62269 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62271 Handle Lustre.
62272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62273 (__statfs_filesize_max): Likewise.
62274 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62275
62276 2011-07-05 Andreas Jaeger <aj@suse.de>
62277
62278 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62279
62280 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62281
62282 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62283 `status' variable.
62284 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62285 Likewise.
62286
62287 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62288
62289 * Makefile (strop-tests): Add strncat.
62290 * string/test-strncat.c: New file.
62291
62292 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62293
62294 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62295
62296 2011-06-21 Andreas Jaeger <aj@suse.de>
62297
62298 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62299 Copy rule from iconvdata/Makefile.
62300
62301 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62302
62303 [BZ #12922]
62304 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62305 but no long options are defined, just return 'W'.
62306
62307 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62308
62309 [BZ #9696]
62310 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62311
62312 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62313
62314 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62315 netgroups to read.
62316 (innetgr): Likewise.
62317
62318 2011-07-05 Roland McGrath <roland@hack.frob.com>
62319
62320 * config.make.in (install_root): Default to $(DESTDIR).
62321
62322 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62323
62324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62325
62326 2011-07-02 Roland McGrath <roland@hack.frob.com>
62327
62328 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62329
62330 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62331 containing directory rather than embedding absolute directory names.
62332
62333 * scripts/check-local-headers.sh: Rewritten using awk.
62334 Match by word, not by line. Print error messages for matches.
62335 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62336
62337 * Makerules [shlib-lds-flags empty]:
62338 ($(common-objpfx)libc_pic.opts): New target.
62339 ($(common-objpfx)libc_pic.os.clean): New target.
62340 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62341
62342 * config.make.in (OBJCOPY): New variable.
62343 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62344 * configure: Regenerated.
62345
62346 * config.make.in (use-default-link): New variable.
62347 * configure.in (use_default_link): Grok --with-default-link to set it.
62348 * configure: Regenerated.
62349 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62350 (shlib-lds, shlib-lds-flags): Define to empty.
62351
62352 * Makerules (shlib-lds): New variable.
62353 (shlib-lds-flags): New variable.
62354 (build-shlib, build-moduile, build-module-asneeded): Use it.
62355 ($(common-objpfx)libc.so): Use $(shlib-lds).
62356 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62357 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62358
62359 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62360 DT_FLAGS/DT_FLAGS_1 with zero flags.
62361
62362 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62363 linker script munging.
62364
62365 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62366
62367 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62368 as 128-bit value.
62369 * crypt/sha512.c (sha512_process_block): Perform total addition using
62370 128-bit if possible.
62371 (__sha512_finish_ctx): Likewise.
62372 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62373 as 64-bit value.
62374 * crypt/sha256.c (SWAP64): Define.
62375 (sha256_process_block): Perform total addition using 64-bit if
62376 possible.
62377 (__sha256_finish_ctx): Likewise.
62378
62379 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62380
62381 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62383 * nscd/hstcache.c (cache_addhst): Likewise.
62384 * nscd/grpcache.c (cache_addgr): Likewise.
62385 * nscd/aicache.c (addhstaiX): Likewise
62386 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62387
62388 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62389
62390 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62392 * nscd/hstcache.c (cache_addhst): Likewise.
62393 * nscd/grpcache.c (cache_addgr): Likewise.
62394 * nscd/aicache.c (addhstaiX): Likewise
62395
62396 2011-07-01 Andreas Schwab <schwab@redhat.com>
62397
62398 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62399 domain only when needed.
62400
62401 2011-06-30 Andreas Schwab <schwab@redhat.com>
62402
62403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62404 is always restored.
62405
62406 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62407
62408 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62409 are re-adding the entry.
62410 * nscd/servicescache.c (cache_addserv): Likewise.
62411
62412 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62413
62414 * sysdeps/generic/dl-irel.h: fix protection against multiple
62415 inclusions.
62416 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62417
62418 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62419
62420 [BZ #12935]
62421 * malloc/memusage.sh: Fix quoting in message.
62422 * debug/xtrace.sh: Likewise.
62423
62424 * configure.in: Remove support for --experimental-malloc option, make
62425 it the default.
62426 * config.make.in: Likewise.
62427 * malloc/Makefile: Likewise.
62428
62429 2011-06-27 Andreas Schwab <schwab@redhat.com>
62430
62431 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62432 two-byte characters.
62433
62434 2011-06-27 Roland McGrath <roland@hack.frob.com>
62435
62436 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62437 AC_CACHE_CHECK invocation.
62438 * configure: Regenerated.
62439
62440 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62441
62442 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62443
62444 [BZ #12350]
62445 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62446 bit from old_res_options.
62447
62448 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62449
62450 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62451 value type for setfct.
62452
62453 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62454
62455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62456 __gettimeofday instead of gettimeofday.
62457
62458 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62459
62460 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62461
62462 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62463
62464 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62465
62466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62467 info.
62468
62469 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62470
62471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62472 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62473 strcpy-sse2-unaligned strncpy-sse2-unaligned
62474 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62475 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62476 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62477 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62478 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62481 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62482 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62483 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62484 (STRCPY): Support SSE2 and SSSE3 versions.
62485
62486 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62487
62488 [BZ #12874]
62489 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62490 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62491 kernels which artificially limit size of requests.
62492
62493 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62494
62495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62496 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62497 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62498 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62499 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62500 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62501 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62502 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62505 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62506 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62507 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62508 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62509 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62511 Enable unaligned load optimization for Intel Core i3, i5 and i7
62512 processors.
62513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62514 Define.
62515 (index_Fast_Unaligned_Load): Define.
62516 (HAS_FAST_UNALIGNED_LOAD): Define.
62517
62518 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62519
62520 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62521
62522 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62523
62524 [BZ #12907]
62525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62526 until it is clear that the information is realy needed.
62527 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62528
62529 2011-06-22 Andreas Schwab <schwab@redhat.com>
62530
62531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62532
62533 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62534
62535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62536 /sys/devices/system/cpu/online if it is usable.
62537
62538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62539 reading the information from the /proc filesystem to once a second.
62540
62541 2011-06-21 Andreas Jaeger <aj@suse.de>
62542
62543 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62544 NULL after inclusion of kernel headers.
62545
62546 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62547
62548 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62549 calls to internal_setent.
62550
62551 [BZ #12885]
62552 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62553 addresses using gethostbyname4_r ignore IPv4 addresses.
62554
62555 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62556 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62557
62558 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62559
62560 2011-06-20 David S. Miller <davem@davemloft.net>
62561
62562 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62563 inclusions.
62564 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62565
62566 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62567 (elf_irel): Use it.
62568 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62569 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62570 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62571 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62572 * sysdeps/x86_64/dl-irel.h: Likewise.
62573
62574 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62575 * elf/dl-sym.c: Likewise.
62576
62577 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62578
62579 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62580 need to dereference resplen2.
62581
62582 2011-06-14 Andreas Schwab <schwab@redhat.com>
62583
62584 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62585
62586 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62587
62588 * Makeconfig: Define vardbdir and inst_vardbdir.
62589 * nss/Makefile: Add rules to install db-Makefile.
62590
62591 * nss/nss_db/db-XXX.c: Cleanup.
62592
62593 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62594 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62595 GLIBC_PRIVATE.
62596 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62597 * nss/makedb.c: Implement -g option to specify that value strings
62598 are generated and should not be added to table iterated over for
62599 get*ent calls.
62600 * nss/nss_db/db-initgroups.c: New file.
62601
62602 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62603 interface.
62604
62605 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62606 (internal_getgrouplist): Adjust to name change.
62607 Update use_initgroups_entry if this is not the first call.
62608 * nss/databases.def: Add initgroups entry.
62609
62610 * nss/makedb.c (compute_tables): Check result of multiple hash table
62611 sizes to minimize maximum chain length.
62612
62613 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62614
62615 * Versions.def: Add entry for libnss_db.
62616 * shlib-versions: Likewise.
62617 * nss/Makefile: Add rules to build libnss_db.
62618 * nss/Versions: Add libnss_db information. Organize libnss_files
62619 entries better.
62620 * nss/db-Makefile: Add gshadow support. Change rules for the new
62621 makedb progra. Some minor improvements to generate smaller files.
62622 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62623 here from...
62624 * nss/makedb.c: ...here.
62625 Improve database format to be smaller and require less memory at
62626 runtime.
62627 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62628 db anymore.
62629 * nss/nss_db/db-netgrp.c: Likewise.
62630 * nss/nss_db/db-open.c: Likewise.
62631 * nss/nss_files/flies-XXX.x: Adjust comments.
62632 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62633 * nss/nss_files/files-grp.c: Likewise.
62634 * nss/nss_files/files-hosts.c: Likewise.
62635 * nss/nss_files/files-network.c: Likewise.
62636 * nss/nss_files/files-proto.c: Likewise.
62637 * nss/nss_files/files-pwd.c: Likewise.
62638 * nss/nss_files/files-rpc.c: Likewise.
62639 * nss/nss_files/files-service.c: Likewise.
62640 * nss/nss_files/files-sgrp.c: Likewise.
62641 * nss/nss_files/files-spwd.c: Likewise.
62642 * nss/nss_db/db-alias.c: Removed.
62643 * nss/nss_db/dummy-db.h: Removed.
62644
62645 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62646
62647 * nss/makedb.c: Rewritten to not use database library.
62648 * nss/Makefile: Update to build new makedb program.
62649
62650 2011-06-14 Andreas Jaeger <aj@suse.de>
62651
62652 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62653 memset declaration.
62654
62655 2011-06-10 Andreas Schwab <schwab@redhat.com>
62656
62657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62658 tmpbuf.
62659
62660 2011-06-10 Roland McGrath <roland@hack.frob.com>
62661
62662 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62663 * elf/Makefile ($(objpfx)ld.so): Likewise.
62664
62665 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62666 Don't list ld.so twice in dependencies.
62667
62668 * posix/bug-regex31.c: Include <stdlib.h>.
62669
62670 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62671
62672 * nis/nss_compat/compat-spwd.c
62673 (getspent_next_nss_netgr): Remove unused variable.
62674 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62675
62676 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62677 nonmembers" output to use the right array.
62678
62679 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62680
62681 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62682
62683 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62684 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62685 * catgets/gencat.c (read_input_file): Likewise.
62686 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62687
62688 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62689 variable definition inside #if's controlling its use.
62690
62691 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62692
62693 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62694
62695 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62696
62697 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62698 unreachable code.
62699
62700 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62701
62702 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62703 * configure: Regenerated.
62704
62705 * Makerules: Revert last change.
62706 * elf/Makefile: Likewise.
62707
62708 2011-06-09 Roland McGrath <roland@hack.frob.com>
62709
62710 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62711 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62712 (reloc-link): Likewise.
62713
62714 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62715
62716 * elf/Makefile: Add rules to build pldd.
62717 * elf/pldd.c: New file.
62718 * elf/pldd-xx.c: New file.
62719
62720 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62721
62722 * version.h: Update for 2.15 development version.
62723
62724 2011-06-07 David S. Miller <davem@davemloft.net>
62725
62726 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62727 ifuncs.
62728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62729 elf_machine_lazy_rel): Likewise.
62730 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62732 elf_machine_lazy_rel): Likewise.
62733 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62734 dl_hwcap via passed in argument.
62735 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62736 Likewise.
62737
62738 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62739
62740 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62741
62742 2011-06-06 Roland McGrath <roland@hack.frob.com>
62743
62744 [BZ #12849]
62745 * manual/fdl-1.1.texi: New file, verbatim from:
62746 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62747 * manual/lgpl-2.1.texi: New file, verbatim from:
62748 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62749 * manual/Makefile (licenses): New variable, list those new file names.
62750 (texis): Use it.
62751 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62752
62753 * manual/fdl.texi: File removed.
62754 * manual/lesser.texi: File removed.
62755 * manual/libc.texinfo (Copying, Documentation License):
62756 Use new @include file names, put @appendix directive before @include.
62757
62758 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62759
62760 [BZ #12841]
62761 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62762 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62763 (mq_open): Add __NTH.
62764
62765 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62766
62767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62768 Assume Intel Core i3/i5/i7 processor if AVX is available.
62769
62770 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62771
62772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62773 typo.
62774
62775 2011-05-31 Andreas Schwab <schwab@redhat.com>
62776
62777 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62778 memory. Use alloca_account. Fix memory leak when retrying.
62779
62780 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62781
62782 * version.h (RELEASE): Bump for 2.14 release.
62783 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62784
62785 * config.make.in (RANLIB): Remove entry.
62786
62787 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62788
62789 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62790 (libc.pot): Work around missing support for .ksh extension in xgettext.
62791
62792 [BZ #12684]
62793 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62794 if both request failed.
62795 (send_dg): In case of server errors clear resplen or *resplen2.
62796
62797 [BZ #12454]
62798 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62799 when there are multiple maps.
62800 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62801 (_dl_fini): Remove test here.
62802
62803 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62804
62805 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62806
62807 [BZ #12350]
62808 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62809 bit from old_res_options.
62810 (gaih_inet): Likewise.
62811
62812 [BZ #11099]
62813 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62814 as signed.
62815
62816 * resolv/res_init.c (res_setoptions): Make the code more compact.
62817
62818 [BZ #11558]
62819 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62820 set RES_USEVC.
62821
62822 [BZ #11634]
62823 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62824
62825 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62826
62827 [BZ #11781]
62828 * malloc/malloc.h: Declare malloc hook variables as volatile.
62829
62830 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62831 in last patch.
62832
62833 [BZ #11799]
62834 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62835 raise in the comment.
62836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62838 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62839
62840 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62841
62842 [BZ #12811]
62843 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62844 grow the buffers more if it already has to be sufficient.
62845 (build_wcs_upper_buffer): Likewise.
62846 * posix/regexec.c (check_matching): Likewise.
62847 (clean_state_log_if_needed): Likewise.
62848 (extend_buffers): Don't enlarge buffers beyond size of the input
62849 buffer.
62850 Patches mostly by Emil Wojak <emil@wojak.eu>.
62851 * posix/bug-regex32.c: New file.
62852 * posix/Makefile (tests): Add bug-regex32.
62853
62854 * locale/findlocale.c (_nl_find_locale): Return right away if
62855 _nl_explode_name failed.
62856 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62857
62858 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62859
62860 * debug/xtrace.sh: Unify messages.
62861 * malloc/memusage.sh: Likewise.
62862
62863 [BZ #12813]
62864 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62865 time symbol from vDSO. Substitute with vsyscall if not available.
62866 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62867 __vdso_time.
62868
62869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62870 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62871 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62872 Add sendmmsg and internal_sendmmsg.
62873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62874 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62876
62877 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62878 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62880
62881 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62882
62883 [BZ #12813]
62884 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62885 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62886 available.
62887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62888 __vdso_getcpu.
62889
62890 [BZ #12814]
62891 * iconvdata/Makefile (tests): Add bug-iconv9.
62892 * iconvdata/bug-iconv9.c: New file.
62893
62894 2011-05-27 Andreas Schwab <schwab@redhat.com>
62895
62896 [BZ #12814]
62897 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62898
62899 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62900
62901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62902 (struct user_regs_struct): Change intcs field back to cs.
62903
62904 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62905
62906 * po/ja.po: Update from translation team.
62907
62908 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62909
62910 [BZ #12795]
62911 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62913
62914 2011-05-20 Andreas Schwab <schwab@redhat.com>
62915
62916 * stdlib/longlong.h: Update from GCC.
62917
62918 2011-05-23 Andreas Schwab <schwab@redhat.com>
62919
62920 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62921 parameter name.
62922 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62923 Add parameter name.
62924 (__sysconf): Pass it down.
62925
62926 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62927
62928 [BZ #12671]
62929 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62930 some situations.
62931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62932 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62933 add in in __libc_use_alloca calls. Adjust callers.
62934 (glob): Use malloc in some situations.
62935
62936 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62937 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62938 pltexit.
62939
62940 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62941
62942 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62943 and CLOCK_BOOTTIME_ALARM.
62944
62945 [BZ #12782]
62946 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62947 is returned.
62948
62949 * string/_strerror.c (__strerror_r): Print negative errors as signed
62950 numbers.
62951
62952 [BZ #12777]
62953 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62954 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62955 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62956
62957 * configure.in: Fix typo in redirection and correct removal of test
62958 files in two cases.
62959
62960 [BZ #12788]
62961 * locale/setlocale.c (new_composite_name): Fix test to check for
62962 identical name of all categories.
62963
62964 [BZ #12792]
62965 * libio/filedoalloc.c (local_isatty): New function.
62966 (_IO_file_doallocate): Use local_isatty.
62967 * stdio-common/perror.c (perror): In case a new stream is used
62968 forward the stream error.
62969 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62970 error flag.
62971
62972 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62973
62974 [BZ #11869]
62975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62976 alloca.
62977 * include/alloca.h (extend_alloca_account): Define.
62978
62979 [BZ #11857]
62980 * posix/regex.h: Fix comments with documentation of user-accessible
62981 fields after compilation and describe correct free'ing of pattern
62982 after re_compile_pattern.
62983 Patch by Reuben Thomas <rrt@sc3d.org>.
62984
62985 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62986
62987 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62988 and -mno-altivec to prevent the compiler from using Altivec and/or
62989 VSX instructions when the corresponding registers are not available.
62990
62991 2011-05-19 Andreas Schwab <schwab@redhat.com>
62992
62993 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62994
62995 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62996
62997 * libio/freopen.c (freopen): Use __dup2, not dup2.
62998 * libio/freopen64.c (freopen64): Likewise.
62999
63000 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63001
63002 [BZ #12775]
63003 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63004 * math/Makefile (tests): Add test-powl.
63005 (CFLAGS-test-powl.c): Define.
63006 * math/test-powl.c: New file.
63007
63008 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63009
63010 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63011
63012 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63013
63014 [BZ #11837]
63015 * iconvdata/gb18030.c: Update to GB18020-2005.
63016
63017 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63018
63019 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63020 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63021 Patch by Aharon Robbins <arnold@skeeve.com>.
63022
63023 [BZ #11892]
63024 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63025 on the stack.
63026
63027 [BZ #11895]
63028 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63029 through underflows.
63030
63031 [BZ #12766]
63032 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63033 point to strings before performing equality test for error_one_per_line
63034 mode.
63035
63036 [BZ #11697]
63037 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63038
63039 [BZ #11820]
63040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63041 (struct user_fpregs_struct): Avoid __uint*_t types.
63042
63043 [BZ #6420]
63044 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63045 symbol info. Use it instead of calling _dl_addr locally.
63046 (lock_and_info): New function.
63047 (tr_freehook): Call lock_and_info and pass symbol info as additional
63048 parameter to tr_where.
63049 (tr_mallochook): Likewise.
63050 (tr_reallochook): Likewise.
63051 (tr_memalignhook): Likewise.
63052
63053 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63054 used and couldn't be at all thread-safe.
63055
63056 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63057
63058 * libio/freopen.c (freopen): Don't close old file descriptor
63059 before the new one is opened. Instead dup the new file descriptor
63060 to the old one after the new stream is created.
63061 * libio/freopen64.c (freopen64): Likewise.
63062 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63063 * libio/fileops.c (_IO_new_file_close_it): Handle new
63064 _IO_FLAGS2_NOCLOSE flag.
63065 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63066 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63067 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63068 _IO_FLAGS2_NOCLOSE flag.
63069 * include/unistd.h: Add hidden_proto for dup3.
63070 Define __have_dup3.
63071 * io/dup3.c: Define hidden symbol.
63072 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63073
63074 [BZ #7101]
63075 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63076 when an incomplete long option is used.
63077 * posix/tst-getopt_long1.c: New file.
63078 * posix/Makefile (tests): Add tst-getopt_long1.
63079
63080 [BZ #10138]
63081 * scripts/config.guess: Update from autoconf-2.68.
63082 * scripts/config.sub: Likewise.
63083
63084 [BZ #10157]
63085 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63086 tests into ...
63087 (has_cpuclock): ...this. New function.
63088 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63089 macro here based on has_cpuclock code.
63090
63091 [BZ #10149]
63092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63093 First byte (not low byte) is now always NUL.
63094 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63095
63096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63097 Use non-cancelable interfaces.
63098
63099 [BZ #9809]
63100 * locale/iso-639.def: Add entry for Sorani.
63101
63102 [BZ #11901]
63103 * include/stdlib.h: Move include protection to the right place.
63104 Define abort_msg_s. Declare __abort_msg with it.
63105 * stdlib/abort.c (__abort_msg): Adjust type.
63106 * assert/assert.c (__assert_fail_base): New function. Majority
63107 of code from __assert_fail. Allocate memory for __abort_msg with
63108 mmap.
63109 (__assert_fail): Now call __assert_fail_base.
63110 * assert/assert-perr.c: Remove bulk of implementation. Use
63111 __assert_fail_base.
63112 * include/assert.hL Declare __assert_fail_base.
63113 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63114 mmap.
63115 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63116
63117 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63118
63119 [BZ #11952]
63120 [BZ #12453]
63121 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63122 until all modules are registered in the DTV.
63123 * elf/Makefile: Add rules to build and run tst-tls19.
63124 * elf/tst-tls19.c: New file.
63125 * elf/tst-tls19mod1.c: New file.
63126 * elf/tst-tls19mod2.c: New file.
63127 * elf/tst-tls19mod3.c: New file.
63128 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63129
63130 [BZ #12083]
63131 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63132 correctly.
63133
63134 [BZ #12601]
63135 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63136 two-byte sequence errors.
63137 * iconvdata/Makefile (tests): Add bug-iconv8.
63138 * iconvdata/bug-iconv8.c: New file.
63139
63140 [BZ #12626]
63141 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63142 buf2 definition.
63143
63144 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63145
63146 [BZ #12432]
63147 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63148 (dummy_getcfa): New function.
63149 (init): Get _Unwind_GetCFA address, use dummy if not found.
63150 (backtrace_helper): In recursion check, also check whether CFA changes.
63151 (__backtrace): Completely initialize arg.
63152
63153 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63154 storing incomplete byte sequence in state object. Avoid testing for
63155 guaranteed too small input if we know there is enough data available.
63156
63157 2011-05-11 Andreas Schwab <schwab@redhat.com>
63158
63159 * Makeconfig (+link-pie): Indent.
63160 * Rules (binaries-pie): Define if $(have-fpie) and
63161 $(build-shared).
63162 (binaries-shared): Also filter out $(binaries-pie).
63163 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63164 * nscd/Makefile (others-pie): Add nscd.
63165 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63166 ($(objpfx)nscd): Remove command override.
63167 * login/Makefile (others-pie): Add pt_chown.
63168 ($(objpfx)pt_chown): Remove command override.
63169 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63170 remove command overrides.
63171
63172 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63173
63174 * libio/tst_putwc.c: Fix error messages.
63175
63176 [BZ #12724]
63177 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63178 currently writing and seek to current position when not.
63179 * libio/Makefile (tests): Add bug-fclose1.
63180 * libio/bug-fclose1.c: New file.
63181
63182 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63183
63184 [BZ #12511]
63185 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63186 don't set DF_1_NODELETE here.
63187 (do_lookup_x): When entering new entry test for copy relocation
63188 and if necessary set DF_1_NODELETE flag.
63189 * elf/tst-unique4.cc: New file.
63190 * elf/tst-unique4.h: New file.
63191 * elf/tst-unique4lib.cc: New file.
63192 * elf/Makefile: Add rules to build and run tst-unique4.
63193 Patch by Piotr Bury <pbury@goahead.com>.
63194
63195 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63196
63197 [BZ #12052]
63198 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63199
63200 [BZ #12625]
63201 * misc/mntent_r.c (addmntent): Flush the stream after the output
63202
63203 [BZ #12393]
63204 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63205 (is_trusted_path_normalize): Skip initial colon. Append slash
63206 to empty buffer. Duplicate is_trusted_path code but allow
63207 constructed patch to be prefix.
63208 (is_dst): Allow $ORIGIN followed by /.
63209 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63210 Correct testing of result of is_trusted_path_normalize
63211 (decompose_rpath): Fix warning.
63212
63213 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63214
63215 [BZ #11257]
63216 * grp/initgroups.c (internal_getgrouplist): When we found the service
63217 list through the initgroups entry in nsswitch.conf do not always
63218 continue on a successful lookup. Don't always use the
63219 __nss_group_database value if it is set.
63220 * nss/nsswitch.conf (initgroups): Change action for successful db
63221 lookup to continue for compatibility.
63222
63223 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63224
63225 [BZ #11532]
63226 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63227 and CP774 modules.
63228 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63229 and CP774 modules.
63230 * iconvdata/tst-tables.sh: Likewise.
63231 * iconvdata/cp770.c: New file.
63232 * iconvdata/cp771.c: New file.
63233 * iconvdata/cp772.c: New file.
63234 * iconvdata/cp773.c: New file.
63235 * iconvdata/cp774.c: New file.
63236 * iconvdata/testdata/CP770: New file.
63237 * iconvdata/testdata/CP770..UTF8: New file.
63238 * iconvdata/testdata/CP771: New file.
63239 * iconvdata/testdata/CP771..UTF8: New file.
63240 * iconvdata/testdata/CP772: New file.
63241 * iconvdata/testdata/CP772..UTF8: New file.
63242 * iconvdata/testdata/CP773: New file.
63243 * iconvdata/testdata/CP773..UTF8: New file.
63244 * iconvdata/testdata/CP774: New file.
63245 * iconvdata/testdata/CP774..UTF8: New file.
63246
63247 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63248 END CHARMAP line.
63249 * iconvdata/gen-8bit-gap.sh: Likewise.
63250 * iconvdata/gen-8bit.sh: Likewise.
63251
63252 * locale/iso-639.def: Add ary entry.
63253
63254 [BZ #11258]
63255 * locale/C-translit.h.in: Add U20A1 transliteration.
63256
63257 [BZ #12178]
63258 * locale/iso-639.def: Add wae entry.
63259 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63260
63261 [BZ #12545]
63262 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63263 for n.
63264
63265 [BZ #12711]
63266 * locale/C-translit.h.in: Add entry for U20B9.
63267 Patch by pravin.d.s@gmail.com.
63268
63269 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63270
63271 [BZ #12713]
63272 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63273 ENAMETOOLONG use generic getcwd.
63274 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63275 in rtld. Use *stat64.
63276 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63277 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63278 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63279 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63280 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63281 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63282 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63283 __fstatat64 macros.
63284 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63285 * dirent/rewinddir.c: Add libc_hidden_def.
63286 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63287 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63288
63289 * include/dirent.h (__alloc_dir): Add flags parameter.
63290 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63291 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63292 __alloc_dir.
63293 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63294 from fdopendir if O_CLOEXEC is already set.
63295
63296 2011-03-15 Alan Modra <amodra@gmail.com>
63297
63298 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63299 l_tls_firstbyte_offset non-zero. Save padding offset in
63300 l_tls_firstbyte_offset for later use.
63301 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63302 freeing static tls block.
63303
63304 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63305
63306 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63307 where #ifdef was intended. The intent is to prevent ARG_MAX from
63308 being defined by the kernel headers.
63309
63310 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63311
63312 [BZ #12734]
63313 * resolv/resolv.h: Define RES_NOTLDQUERY.
63314 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63315 no-tld-query and set RES_NOTLDQUERY.
63316 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63317 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63318 modern BIND to search name as TLD unless forbidden.
63319
63320 2011-05-07 Petr Baudis <pasky@suse.cz>
63321 Ulrich Drepper <drepper@gmail.com>
63322
63323 [BZ #12393]
63324 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63325 (is_trusted_path): ...to here.
63326 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63327 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63328 using is_trusted_path_normalize() in setuid scripts.
63329
63330 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63331
63332 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63333 __BEGIN/__END_DECLS.
63334
63335 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63336
63337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63338 NSS_STATUS_NOTFOUND if no record was found.
63339
63340 2011-05-05 Andreas Schwab <schwab@redhat.com>
63341
63342 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63343 (headers-not-in-tirpc): Remove rpc/netdb.h
63344 * resolv/netdb.h: Revert last change.
63345
63346 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63347
63348 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63349 circular dependency between libgcc.a and libc.a.
63350
63351 2011-05-05 Andreas Schwab <schwab@redhat.com>
63352
63353 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63354 * nis/Makefile: Don't install rpcsvc/*.
63355 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63356 instead of <rpc/types.h>.
63357 (MAXHOSTNAMELEN): Define.
63358
63359 2011-05-03 Andreas Schwab <schwab@redhat.com>
63360
63361 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63362
63363 2011-04-28 Maciej Babinski <mbabinski@google.com>
63364
63365 [BZ #12714]
63366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63367 gethostbyname4_r when IPv6 results are possible.
63368
63369 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63370
63371 [BZ #12723]
63372 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63373 _PC_PIPE_BUF handling.
63374
63375 2011-04-30 Bruno Haible <bruno@clisp.org>
63376
63377 [BZ #12717]
63378 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63379 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63380 to 'int'.
63381 * inet/getnameinfo.c (getnameinfo): Likewise.
63382
63383 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63384
63385 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63386 to groups setting in database lookup.
63387 * nss/nsswitch.conf: Add initgroups entry.
63388
63389 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63390
63391 [BZ #12685]
63392 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63393 mode string.
63394 Patch by Eric Blake <eblake@redhat.com>.
63395
63396 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63397
63398 * sunrpc/Makefile (need-export-routines): Add svc_run.
63399 (routines): Remove svc_run.
63400 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63401 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63402 * sunrpc/svc_run.c (svc_run): Likewise.
63403 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63404
63405 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63406
63407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63408 problem in reallocation in last patch.
63409
63410 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63411
63412 * sunrpc/Makefile: Move inclusion of Rules.
63413
63414 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63415
63416 * nss/nss_files/files-initgroups.c: New file.
63417 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63418 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63419 _nss_files_initgroups_dyn.
63420
63421 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63422
63423 * elf/elf.h (R_ARM_IRELATIVE): Define.
63424
63425 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63426
63427 * po/ru.po: Update from translation team.
63428
63429 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63430
63431 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63432 dependencies.
63433
63434 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63435
63436 [BZ #12653]
63437 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63438 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63442
63443 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63444
63445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63446 differing bytes.
63447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63450
63451 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63452
63453 [BZ #12420]
63454 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63455 storing it.
63456 * stdlib/bug-getcontext.c: New file.
63457 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63458
63459 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63460
63461 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63462 instructions into .machine "z9-109".
63463 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63464 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63465
63466 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63467
63468 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63469 between environment variables and auxiliary vector.
63470
63471 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63472
63473 * Makefile: Add rules to build linkobj/libc.so.
63474 * include/libc-symbols.h: Define libc_hidden_nolink.
63475 * include/rpc/auth.h: Mark functions which are to be hidden.
63476 * include/rpc/auth_des.h: Likewise.
63477 * include/rpc/auth_unix.h: Likewise.
63478 * include/rpc/clnt.h: Likewise.
63479 * include/rpc/des_crypt.h: Likewise.
63480 * include/rpc/key_prot.h: Likewise.
63481 * include/rpc/pmap_clnt.h: Likewise.
63482 * include/rpc/pmap_prot.h: Likewise.
63483 * include/rpc/pmap_rmt.h: Likewise.
63484 * include/rpc/rpc_msg.h: Likewise.
63485 * include/rpc/svc.h: Likewise.
63486 * include/rpc/svc_auth.h: Likewise.
63487 * include/rpc/xdr.h: Likewise.
63488 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63489 * nss/Makefile: Likewise.
63490 * sunrpc/Makefile: Don't install headers. Build library with normal
63491 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63492 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63493 for the compat linking library. Remove use of INTDEF/INTUSE.
63494 * sunrpc/auth_none.c: Likewise.
63495 * sunrpc/auth_unix.c: Likewise.
63496 * sunrpc/authdes_prot.c: Likewise.
63497 * sunrpc/authuxprot.c: Likewise.
63498 * sunrpc/clnt_gen.c: Likewise.
63499 * sunrpc/clnt_perr.c: Likewise.
63500 * sunrpc/clnt_raw.c: Likewise.
63501 * sunrpc/clnt_simp.c: Likewise.
63502 * sunrpc/clnt_tcp.c: Likewise.
63503 * sunrpc/clnt_udp.c: Likewise.
63504 * sunrpc/clnt_unix.c: Likewise.
63505 * sunrpc/des_crypt.c: Likewise.
63506 * sunrpc/des_soft.c: Likewise.
63507 * sunrpc/get_myaddr.c: Likewise.
63508 * sunrpc/key_call.c: Likewise.
63509 * sunrpc/key_prot.c: Likewise.
63510 * sunrpc/netname.c: Likewise.
63511 * sunrpc/pm_getmaps.c: Likewise.
63512 * sunrpc/pm_getport.c: Likewise.
63513 * sunrpc/pmap_clnt.c: Likewise.
63514 * sunrpc/pmap_prot.c: Likewise.
63515 * sunrpc/pmap_prot2.c: Likewise.
63516 * sunrpc/pmap_rmt.c: Likewise.
63517 * sunrpc/publickey.c: Likewise.
63518 * sunrpc/rpc_cmsg.c: Likewise.
63519 * sunrpc/rpc_common.c: Likewise.
63520 * sunrpc/rpc_dtable.c: Likewise.
63521 * sunrpc/rpc_prot.c: Likewise.
63522 * sunrpc/rpc_thread.c: Likewise.
63523 * sunrpc/rtime.c: Likewise.
63524 * sunrpc/svc.c: Likewise.
63525 * sunrpc/svc_auth.c: Likewise.
63526 * sunrpc/svc_authux.c: Likewise.
63527 * sunrpc/svc_raw.c: Likewise.
63528 * sunrpc/svc_run.c: Likewise.
63529 * sunrpc/svc_simple.c: Likewise.
63530 * sunrpc/svc_tcp.c: Likewise.
63531 * sunrpc/svc_udp.c: Likewise.
63532 * sunrpc/svc_unix.c: Likewise.
63533 * sunrpc/svcauth_des.c: Likewise.
63534 * sunrpc/xcrypt.c: Likewise.
63535 * sunrpc/xdr.c: Likewise.
63536 * sunrpc/xdr_array.c: Likewise.
63537 * sunrpc/xdr_float.c: Likewise.
63538 * sunrpc/xdr_intXX_t.c: Likewise.
63539 * sunrpc/xdr_mem.c: Likewise.
63540 * sunrpc/xdr_rec.c: Likewise.
63541 * sunrpc/xdr_ref.c: Likewise.
63542 * sunrpc/xdr_sizeof.c: Likewise.
63543 * sunrpc/xdr_stdio.c: Likewise.
63544
63545 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63546
63547 [BZ #12650]
63548 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63549 * sysdeps/ia64/dl-tls.h: Likewise.
63550 * sysdeps/powerpc/dl-tls.h: Likewise.
63551 * sysdeps/s390/dl-tls.h: Likewise.
63552 * sysdeps/sh/dl-tls.h: Likewise.
63553 * sysdeps/sparc/dl-tls.h: Likewise.
63554 * sysdeps/x86_64/dl-tls.h: Likewise.
63555 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63556
63557 2011-03-14 Andreas Schwab <schwab@redhat.com>
63558
63559 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63560 rpath element also skip the following colon.
63561 (expand_dynamic_string_token): Add is_path parameter and pass
63562 down to DL_DST_REQUIRED and _dl_dst_substitute.
63563 (decompose_rpath): Call expand_dynamic_string_token with
63564 non-zero is_path. Ignore empty rpaths.
63565 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63566 with zero is_path.
63567
63568 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63569
63570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63571 Make cancelable.
63572
63573 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63574
63575 [BZ #12655]
63576 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63577 Patch by Filipe David Manana <fdmanana@apache.org>.
63578
63579 2011-04-07 Andreas Schwab <schwab@redhat.com>
63580
63581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63582 Maintain aligned stack.
63583 (CHECK_RSP): Remove unused macro.
63584
63585 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63586
63587 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63588 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63589
63590 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63591
63592 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63593
63594 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63595
63596 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63597
63598 [BZ #12518]
63599 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63600 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63601 * sysdeps/x86_64/memmove.c: New file.
63602 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63603 (memcpy): Renamed to ...
63604 (__new_memcpy): This.
63605 (memcpy): Provide GLIBC_2_14 memcpy.
63606 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63607 (memcpy): Provide GLIBC_2_2_5 memcpy.
63608
63609 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63610
63611 [BZ #12631]
63612 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63613
63614 2011-03-30 Andreas Schwab <schwab@redhat.com>
63615
63616 * misc/syncfs.c: New file.
63617 * misc/Makefile (routines): Add syncfs.
63618 * posix/unistd.h: Declare syncfs.
63619 * sysdeps/unix/syscalls.list: Add syncfs.
63620
63621 2011-04-01 Andreas Schwab <schwab@redhat.com>
63622
63623 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63624 open_by_handle_at.
63625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63630 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63632
63633 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63634
63635 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63637 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63642
63643 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63644 sync_file_range.c with -fexceptions.
63645 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63646 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63647 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63648 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63649 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63650 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63652 sync_file_range as cancellation point
63653 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63654 now a wrapper around __call_sync_file_range with cancellation handling.
63655 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63656 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63657 function name to __call_sync_file_range.
63658 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63659 Add call_sync_file_range.
63660
63661 2011-04-01 Andreas Schwab <schwab@redhat.com>
63662
63663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63664 bits/timex.h.
63665
63666 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63667
63668 * iconv/iconv.h: Fix typo in comment.
63669 * io/fcntl.h: Likewise.
63670 * libio/stdio.h: Likewise.
63671 * posix/spawn.h: Likewise.
63672 * posix/unistd.h: Likewise.
63673 * stdlib/stdlib.h: Likewise.
63674 * time/time.h: Likewise.
63675 * wcsmbs/wchar.h: Likewise.
63676
63677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63678 open_by_handle): Add.
63679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63680 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63681 Augment a few comments.
63682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63687 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63688 open_by_handle.
63689
63690 * io/fcntl.h (AT_EMPTY_PATH): Define.
63691
63692 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63693
63694 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63695 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63696 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63697 to...
63698 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63699 * Versions.def: Add GLIBC_2.14.
63700 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63701 Export.
63702
63703 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63704
63705 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63706 round counter.
63707 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63708
63709 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63710
63711 [BZ #12597]
63712 * string/test-strncmp.c (do_page_test): New function.
63713 (check2): Likewise.
63714 (test_main): Call check2.
63715 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63716
63717 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63718
63719 [BZ #12587]
63720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63721 Handle cache information in CPU leaf 4.
63722 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63723
63724 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63725
63726 [BZ #12583]
63727 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63728 character representation.
63729 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63730
63731 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63732
63733 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63734 END(__isnan) to END(__isnanf) to match function entry point/label
63735 EALIGN(__isnanf,...).
63736
63737 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63738
63739 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63740
63741 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63742
63743 [BZ #12510]
63744 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63745 copy from the symbol referenced in the relocation to initialize the
63746 used variable.
63747 Patch by Piotr Bury <pbury@goahead.com>.
63748 * elf/Makefile: Add rules to build and tst-unique3.
63749 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63750 * elf/tst-unique3.cc: New file.
63751 * elf/tst-unique3.h: New file.
63752 * elf/tst-unique3lib.cc: New file.
63753 * elf/tst-unique3lib2.cc: New file.
63754
63755 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63756
63757 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63758
63759 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63760 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63761 to _start.
63762
63763 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63764
63765 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63766 to-be-loaded object along a path to loader is ld.so.
63767
63768 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63769 Ulrich Drepper <drepper@gmail.com>
63770
63771 * sysdeps/x86_64/memset.S: After aligning destination, code
63772 branches to different locations depending on the value of
63773 misalignment, when multiarch is enabled. Fix this.
63774
63775 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63776
63777 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63778 Set _x86_64_preferred_memory_instruction for AMD processsors.
63779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63780 Set bit_Prefer_SSE_for_memop for AMD processors.
63781
63782 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63783
63784 * libio/fmemopen.c (fmemopen): Optimize a bit.
63785
63786 2011-03-03 Andreas Schwab <schwab@redhat.com>
63787
63788 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63789
63790 2011-03-03 Roland McGrath <roland@redhat.com>
63791
63792 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63793
63794 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63795
63796 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63797 __bzero_ultra1 instead of __memset_ultra1.
63798
63799 2011-02-23 Andreas Schwab <schwab@redhat.com>
63800 Ulrich Drepper <drepper@gmail.com>
63801
63802 [BZ #12509]
63803 * include/link.h (struct link_map): Add l_orig_initfini.
63804 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63805 returning unsuccessfully.
63806 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63807 close of a file loaded at startup, restore the original l_initfini
63808 list.
63809 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63810 list, store the pointer.
63811 * elf/Makefile ($(objpfx)noload-mem): New rule.
63812 (noload-ENV): Define.
63813 (tests): Add $(objpfx)noload-mem.
63814 * elf/noload.c: Include <memcheck.h>.
63815 (main): Call mtrace. Close all opened handles.
63816
63817 2011-02-17 Andreas Schwab <schwab@redhat.com>
63818
63819 [BZ #12454]
63820 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63821 dependencies are missing.
63822
63823 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63824
63825 Fix __if_freereq crash: Unlike the generic version which uses free,
63826 Hurd needs munmap.
63827 * sysdeps/mach/hurd/ifreq.h: New file.
63828
63829 2011-01-27 Petr Baudis <pasky@suse.cz>
63830 Ulrich Drepper <drepper@gmail.com>
63831
63832 [BZ 12445]#
63833 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63834 to extend_alloca().
63835 * stdio-common/bug23.c: New file.
63836 * stdio-common/Makefile (tests): Add bug23.
63837
63838 2010-09-28 Andreas Schwab <schwab@redhat.com>
63839 Ulrich Drepper <drepper@gmail.com>
63840
63841 [BZ #12489]
63842 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63843 before performing relro protection. At old place add assertion
63844 to make sure nothing changed.
63845
63846 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63847 Glauber de Oliveira Costa <glommer@gmail.com>
63848
63849 * elf/elf.h: Add new ARM TLS relocs.
63850
63851 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63852
63853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63854 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63855 cast from r3.
63856 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63857 'tests' variable.
63858 * sysdeps/wordsize-64/tst-writev.c: New file.
63859
63860 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63861
63862 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63863 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63864 insns in _dl_start to prevent a TOC reference before relocs are
63865 resolved.
63866
63867 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63868
63869 [BZ #12469]
63870 * Makeconfig: Remove RANLIB definition.
63871 * Makerules: Don't use RANLIB.
63872 * aclocal.m4: Remove ranlib test.
63873 * configure.in: No need to check for ranlib.
63874 * elf/rtld-Rules: Don't use RANLIB.
63875
63876 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63877
63878 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63879 protection macro.
63880 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63881 inclusion protection macro.
63882
63883 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63884 SIGRTMIN and SIGRTMAX and print information in that case only when
63885 SIGRTMIN is defined.
63886
63887 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63888
63889 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63890 arginfo fn returning -1.
63891
63892 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63893 and thousands string is zero terminated.
63894
63895 2011-02-03 Andreas Schwab <schwab@redhat.com>
63896
63897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63898 sysdeps/unix/sysv/linux/bits/socket.h.
63899
63900 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63901
63902 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63903 (__CPU_COUNT): Remove old macros.
63904 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63905 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63906 (__CPU_ALLOC, __CPU_FREE): Add macros.
63907 (__sched_cpualloc, __sched_cpufree): Add declarations.
63908
63909 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63910
63911 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63912 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63913 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63914 (readdhstai): Return value of addhstaiX call.
63915 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63916 (addgrbyX): Return value returned by cache_addgr.
63917 (readdgrbyname): Return value returned by addgrbyX.
63918 (readdgrbygid): Likewise.
63919 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63920 (addpwbyX): Return value returned by cache_addpw.
63921 (readdpwbyname): Return value returned by addhstbyX.
63922 (readdpwbyuid): Likewise.
63923 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63924 (addservbyX): Return value returned by cache_addserv.
63925 (readdservbyname): Return value returned by addservbyX:
63926 (readdservbyport): Likewise.
63927 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63928 (addhstbyX): Return value returned by cache_addhst.
63929 (readdhstbyname): Return value returned by addhstbyX.
63930 (readdhstbyaddr): Likewise.
63931 (readdhstbynamev6): Likewise.
63932 (readdhstbyaddrv6): Likewise.
63933 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63934 (readdinitgroups): Return value returned by addinitgroupsX.
63935 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63936 (prune_cache): Keep track of timeout value of re-added entries.
63937 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63938 * nscd/nscd.h: Adjust prototypes of readd* functions.
63939
63940 2011-02-04 Roland McGrath <roland@redhat.com>
63941
63942 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63943 (nis_stats): Likewise.
63944 * nis/nis_modify.c (nis_modify): Likewise.
63945 * nis/nis_remove.c (nis_remove): Likewise.
63946 * nis/nis_add.c (nis_add): Likewise.
63947
63948 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63949
63950 * posix/fnmatch_loop.c: Add some consts.
63951
63952 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63953
63954 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63955
63956 [BZ #12460]
63957 * config.make.in (config-cflags-novzeroupper): Define.
63958 * configure.in: Substitute libc_cv_cc_novzeroupper.
63959 * elf/Makefile (AVX-CFLAGS): Define.
63960 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63961 (CFLAGS-tst-auditmod4a.c): Likewise.
63962 (CFLAGS-tst-auditmod4b.c): Likewise.
63963 (CFLAGS-tst-auditmod6b.c): Likewise.
63964 (CFLAGS-tst-auditmod6c.c): Likewise.
63965 (CFLAGS-tst-auditmod7b.c): Likewise.
63966 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63967
63968 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63969
63970 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63971 function to the callback.
63972 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63973
63974 2011-02-02 Andreas Schwab <schwab@redhat.com>
63975
63976 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63977 of errno.
63978
63979 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63980
63981 [BZ #11724]
63982 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63983 of constructors.
63984 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63985 of destructors.
63986 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63987
63988 [BZ #11724]
63989 * elf/Makefile: Add rules to build and run new test.
63990 * elf/tst-initorder.c: New file.
63991 * elf/tst-initorder.exp: New file.
63992 * elf/tst-initordera1.c: New file.
63993 * elf/tst-initordera2.c: New file.
63994 * elf/tst-initordera3.c: New file.
63995 * elf/tst-initordera4.c: New file.
63996 * elf/tst-initorderb1.c: New file.
63997 * elf/tst-initorderb2.c: New file.
63998 * elf/tst-order-a1.c: New file.
63999 * elf/tst-order-a2.c: New file.
64000 * elf/tst-order-a3.c: New file.
64001 * elf/tst-order-a4.c: New file.
64002 * elf/tst-order-b1.c: New file.
64003 * elf/tst-order-b2.c: New file.
64004 * elf/tst-order-main.c: New file.
64005 New test case by George Gensure <werkt0@gmail.com>.
64006
64007 2010-10-01 Andreas Schwab <schwab@redhat.com>
64008
64009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64010 decoding ACE if AI_CANONIDN.
64011
64012 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64013
64014 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64015
64016 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64017
64018 * version.h (RELEASE): Bump for 2.13 release.
64019 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64020
64021 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64022
64023 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64024 MADV_NOHUGEPAGE.
64025 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64031
64032 * posix/getconf.c: Update copyright year.
64033 * catgets/gencat.c: Likewise.
64034 * csu/version.c: Likewise.
64035 * debug/catchsegv.sh: Likewise.
64036 * debug/xtrace.sh: Likewise.
64037 * elf/ldconfig.c: Likewise.
64038 * elf/ldd.bash.in: Likewise.
64039 * elf/sprof.c (print_version): Likewise.
64040 * iconv/iconv_prog.c: Likewise.
64041 * iconv/iconvconfig.c: Likewise.
64042 * locale/programs/locale.c: Likewise.
64043 * locale/programs/localedef.c: Likewise.
64044 * malloc/memusage.sh: Likewise.
64045 * malloc/mtrace.pl: Likewise.
64046 * nscd/nscd.c (print_version): Likewise.
64047 * nss/getent.c: Likewise.
64048
64049 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64050 PF_CAIF, and PF_ALG.
64051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64052
64053 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64054
64055 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64056 (modules-names): Use them.
64057 (ifunc-test-modules, ifunc-pie-tests): Define.
64058 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64059 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64060 (test-extras): Likewise.
64061 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64062 $(compile-command.c).
64063 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64064 (all-built-dso): Define.
64065 (check-textrel.out, check-execstack.out): Depend on it.
64066
64067 * configure.in: Don't override --enable-multi-arch.
64068
64069 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64070
64071 [BZ #6812]
64072 * nscd/hstcache.c (tryagain): Define.
64073 (cache_addhst): Return tryagain not notfound for temporary errors.
64074 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64075 failed.
64076
64077 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64078
64079 [BZ #10563]
64080 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64081 to make the syscall.
64082 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64083
64084 [BZ #12378]
64085 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64086 and fall back to matching as normal character if the string ends before
64087 the matching ']' is found. This is what POSIX requires.
64088 * posix/testfnm.c: Adjust test result.
64089 * posix/globtest.sh: Adjust test result. Add new test.
64090 * posix/tst-fnmatch.input: Likewise.
64091 * posix/tst-fnmatch2.c: Add new test.
64092
64093 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64094
64095 * elf/Makefile (check-execstack): Revert last change. Depend on
64096 check-execstack.h.
64097 (check-execstack.h): New target.
64098 (generated): Add check-execstack.h.
64099 * elf/check-execstack.c: Include "check-execstack.h".
64100 (main): Revert last change.
64101 (handle_file): Return zero if GNU_STACK is absent and
64102 DEFAULT_STACK_PERMS doesn't include PF_X.
64103
64104 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64105
64106 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64107 in child fails because the descriptor is already closed.
64108 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64109 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64110 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64111
64112 [BZ #12397]
64113 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64114 syscall.
64115
64116 [BZ #10484]
64117 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64118 temporary buffer used to handle multi lookups locally.
64119 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64120
64121 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64122
64123 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64124 loader is ld.so.
64125
64126 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64127
64128 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64129 alignment for SSE2.
64130
64131 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64132
64133 [BZ #12394]
64134 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64135 characters. When rounding increased number of integer digits recompute
64136 number of groups.
64137 * stdio-common/tst-grouping.c: New file.
64138 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64139
64140 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64141
64142 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64143 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64144
64145 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64146 void.
64147 * bits/select.h: Likewise.
64148
64149 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64150
64151 * po/ja.po: Update from translation team.
64152
64153 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64154
64155 [BZ #11155]
64156 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64157 implementation just like for lxstat, fxstatat, et al.
64158
64159 2010-12-27 Jim Meyering <meyering@redhat.com>
64160
64161 [BZ #12348]
64162 * posix/regexec.c (build_trtable): Return failure indication upon
64163 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64164
64165 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64166
64167 [BZ #12201]
64168 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64169 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64170 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64172
64173 [BZ #12207]
64174 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64175
64176 [BZ #12204]
64177 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64178 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64179
64180 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64181
64182 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64183 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64184 script has SORT_BY_INIT_PRIORITY.
64185 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64186 NO_CTORS_DTORS_SECTIONS is defined.
64187 * elf/soinit.c: Likewise.
64188 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64189 NO_CTORS_DTORS_SECTIONS is defined.
64190 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64191 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64192 * sysdeps/sh/init-first.c: Likewise.
64193 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64194
64195 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64196
64197 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64198 always use the slow path.
64199
64200 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64201
64202 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64203 similar rule which adds the sysdep directories to the header search in
64204 order to pick up the correct platform stackinfo.h.
64205 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64206 perform test if it is, otherwise return successfully without testing.
64207 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64208 DEFAULT_STACK_PERMS define in stackinfo.h.
64209 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64210 defined in stackinfo.h.
64211 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64212 DEFAULT_STACK_PERMS defined in stackinfo.h.
64213 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64214 * sysdeps/ia64/stackinfo.h: Likewise.
64215 * sysdeps/s390/stackinfo.h: Likewise.
64216 * sysdeps/sh/stackinfo.h: Likewise.
64217 * sysdeps/sparc/stackinfo.h: Likewise.
64218 * sysdeps/x86_64/stackinfo.h: Likewise.
64219 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64220 PF_X for powerpc64. Retain PF_X for powerpc32.
64221
64222 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64223
64224 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64225 accurately.
64226 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64227 GETDENTS_64BIT_ALIGNED.
64228
64229 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64230
64231 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64232
64233 2010-12-10 Andreas Schwab <schwab@redhat.com>
64234
64235 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64236 _GNU_SOURCE.
64237
64238 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64239 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64240 Remove __restrict.
64241 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64242 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64243
64244 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64245
64246 [BZ #11655]
64247 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64248 are initialized.
64249
64250 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64251
64252 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64253
64254 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64255
64256 * po/it.po: Update from translation team.
64257
64258 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64259
64260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64261 unused codes.
64262
64263 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64264
64265 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64266
64267 2010-11-24 Andreas Schwab <schwab@redhat.com>
64268
64269 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64270 specially.
64271 (gaih_getanswer_slice): Likewise.
64272
64273 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64274
64275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64276
64277 2010-05-31 Petr Baudis <pasky@suse.cz>
64278
64279 [BZ #11149]
64280 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64281 silently even in the chroot mode.
64282
64283 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64284
64285 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64286 last patch a bit. Pretty printing
64287
64288 2010-05-31 Petr Baudis <pasky@suse.cz>
64289
64290 [BZ #10085]
64291 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64292 initialization of skip_initgroups_dyn.
64293
64294 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64295
64296 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64297 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64298
64299 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64300
64301 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64302
64303 2010-11-11 Andreas Schwab <schwab@redhat.com>
64304
64305 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64306 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64307 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64308 ($(objpfx)tst-fnmatch-mem): New rule.
64309 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64310 * posix/tst-fnmatch.c (main): Call mtrace.
64311
64312 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64313
64314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64315 Support Intel processor model 6 and model 0x2c.
64316
64317 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64318
64319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64320 signed comparison.
64321
64322 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64323
64324 [BZ #12205]
64325 * string/test-strncasecmp.c (check_result): New function.
64326 (do_one_test): Use it.
64327 (check1): New function.
64328 (test_main): Use it.
64329 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64330 Support strcasecmp and strncasecmp.
64331
64332 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64333
64334 [BZ #12194]
64335 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64337
64338 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64339
64340 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64341 IFUNC support.
64342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64343 memset-x86-64.
64344 * sysdeps/x86_64/multiarch/bzero.S: New file.
64345 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64346 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64347 * sysdeps/x86_64/multiarch/memset.S: New file.
64348 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64350 Set bit_Prefer_SSE_for_memop for Intel processors.
64351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64352 Define.
64353 (index_Prefer_SSE_for_memop): Define.
64354 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64355
64356 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64357
64358 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64360
64361 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64362
64363 [BZ #12191]
64364 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64365 (__x86_64_raw_data_cache_size_half): Likewise.
64366 (__x86_64_raw_shared_cache_size): Likewise.
64367 (__x86_64_raw_shared_cache_size_half): Likewise.
64368
64369 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64370 (__x86_64_raw_data_cache_size_half): Likewise.
64371 (__x86_64_raw_shared_cache_size): Likewise.
64372 (__x86_64_raw_shared_cache_size_half): Likewise.
64373 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64374 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64375 and __x86_64_raw_shared_cache_size_half. Round
64376 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64377 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64378 to multiple of 256 bytes.
64379
64380 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64381
64382 [BZ #12167]
64383 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64384 of inacessible symlinks. Verify result of symlink before returning it.
64385 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64386 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64387
64388 2010-10-28 Erich Ritz <erichritz@gmail.com>
64389
64390 * math/math.h (isinf): Fix typo in comment.
64391
64392 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64393
64394 * po/da.po: Update from translation team.
64395
64396 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64397
64398 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64399 is added to the list.
64400
64401 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64402 Ulrich Drepper <drepper@gmail.com>
64403
64404 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64405 the global list here. Move code to...
64406 (_dl_add_to_namespace_list): ...here. New function.
64407 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64408 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64409 * elf/dl-load.c (lose): Don't remove the element from the list.
64410 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64411 (_dl_map_object): Likewise.
64412
64413 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64414
64415 [BZ #12159]
64416 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64417 into all bytes of SSE register.
64418 Patch by Richard Li <richardpku@gmail.com>.
64419
64420 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64421
64422 [BZ #12140]
64423 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64424 perturbing.
64425
64426 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64427
64428 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64429 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64430 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64431 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64433 submachine.
64434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64435
64436 2010-10-22 Andreas Schwab <schwab@redhat.com>
64437
64438 * include/dlfcn.h (__RTLD_SECURE): Define.
64439 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64440 mode & __RTLD_SECURE instead.
64441 (open_path): Rename preloaded parameter to secure.
64442 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64443 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64444 * elf/dl-deps.c (openaux): Likewise.
64445 * elf/rtld.c (struct map_args): Remove is_preloaded.
64446 (map_doit): Don't use it.
64447 (dl_main): Likewise.
64448 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64449 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64450
64451 2010-09-09 Andreas Schwab <schwab@redhat.com>
64452
64453 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64454 (sysd-rules-targets): Remove duplicates.
64455 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64456 rtld-%.$o dependency.
64457
64458 2010-10-18 Andreas Schwab <schwab@redhat.com>
64459
64460 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64461 _dl_map_object do it.
64462
64463 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64464
64465 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64466 fast fma builtins, define the macros in the C99 standard.
64467 (FP_FAST_FMAF): Likewise.
64468 (FP_FAST_FMAL): Likewise.
64469 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64470
64471 * bits/mathdef.h: Update copyright year.
64472 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64473
64474 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64475
64476 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64477 builtins, define the macros in the C99 standard.
64478 (FP_FAST_FMAF): Likewise.
64479 (FP_FAST_FMAL): Likewise.
64480 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64481 multiply/add.
64482 (FP_FAST_FMAF): Likewise.
64483
64484 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64485
64486 [BZ #3268]
64487 * math/libm-test.inc (fma_test): Some new testcases.
64488 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64490 y and infinite z. Do multiplication by C already in long double.
64491 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64493 y and infinite z. Do bitwise or of inexact bit into u.d.
64494 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64495 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64496 * sysdeps/i386/fpu/s_fma.S: Removed.
64497 * sysdeps/i386/fpu/s_fmal.S: Removed.
64498
64499 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64500
64501 [BZ #3268]
64502 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64504 computation is not scheduled after fetestexcept. Fix value
64505 of minimum denormal long double.
64506
64507 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64508
64509 [BZ #3268]
64510 * math/libm-test.inc (fma_test): Add some more tests.
64511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64512 correctly.
64513
64514 2010-10-15 Andreas Schwab <schwab@redhat.com>
64515
64516 * scripts/data/localplt-s390-linux-gnu.data: New file.
64517 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64518
64519 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64520
64521 [BZ #3268]
64522 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64523 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64524 instead of dbl-64.
64525 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64526 inlines.
64527 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64529 if one of x and y is very large and the other is subnormal.
64530 * sysdeps/s390/fpu/s_fmaf.c: New file.
64531 * sysdeps/s390/fpu/s_fma.c: New file.
64532 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64533 * sysdeps/powerpc/fpu/s_fma.S: New file.
64534 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64535 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64536 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64537
64538 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64539
64540 [BZ #3268]
64541 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64542 fma tests.
64543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64544 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64545 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64546 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64547 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64548 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64549 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64550
64551 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64552
64553 [BZ #12078]
64554 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64555 * posix/bug-regex31.input: Add test case.
64556
64557 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64558
64559 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64560 * posix/bug-regex31.input: New file.
64561
64562 [BZ #12078]
64563 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64564 (parse_sub_exp): Fix last change, use postorder.
64565
64566 * posix/bug-regex31.c: New file.
64567 * posix/Makefile: Add rules to build and run bug-regex31.
64568
64569 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64570
64571 [BZ #12078]
64572 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64573
64574 [BZ #12108]
64575 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64576 to have entries in sys_siglist.
64577
64578 [BZ #12093]
64579 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64580 be NULL.
64581
64582 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64583
64584 [BZ #3268]
64585 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64586 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64587 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64588 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64589 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64590 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64591 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64592 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64593 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64594 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64595 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64596 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64597 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64598 * math/ftestexcept.c (fetestexcept): Likewise.
64599 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64600 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64601 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64602 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64603 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64604 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64606
64607 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64608
64609 [BZ #12107]
64610 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64611 newline.
64612
64613 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64614
64615 * string/bug-strstr1.c: New file.
64616 * string/Makefile: Add rules to build and run bug-strstr1.
64617
64618 2010-10-05 Eric Blake <eblake@redhat.com>
64619
64620 [BZ #12092]
64621 * string/str-two-way.h (two_way_long_needle): Always clear memory
64622 when skipping input due to the shift table.
64623
64624 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64625
64626 [BZ #12005]
64627 * malloc/mcheck.c: Handle large requests.
64628
64629 [BZ #12077]
64630 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64631 for strncmp and strncasecmp.
64632 * string/stratcliff.c: Add tests for strcmp and strncmp.
64633 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64634
64635 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64636
64637 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64638 __set_fpscr.
64639
64640 2010-09-30 Andreas Jaeger <aj@suse.de>
64641
64642 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64643 (CGROUP_SUPER_MAGIC): Define.
64644 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64645 Handle btrfs and cgroup file systems.
64646 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64647 Likewise.
64648
64649 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64650
64651 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64652 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64653
64654 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64655
64656 [BZ #12067]
64657 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64658 trying to locate the ELF header.
64659
64660 2010-09-27 Andreas Schwab <schwab@redhat.com>
64661
64662 [BZ #11611]
64663 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64664 Mask out sign-bit copies when constructing f_fsid.
64665
64666 2010-09-24 Petr Baudis <pasky@suse.cz>
64667
64668 * debug/stack_chk_fail_local.c: Add missing licence exception.
64669 * debug/warning-nop.c: Likewise.
64670
64671 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64672
64673 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64674 implementing getdents64 using getdents syscall, set d_type if
64675 __ASSUME_GETDENTS32_D_TYPE.
64676
64677 2010-09-16 Andreas Schwab <schwab@redhat.com>
64678
64679 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64680 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64681
64682 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64683
64684 [BZ #12037]
64685 * posix/unistd.h: Undo change of feature selection for ftruncate from
64686 2010-01-11.
64687
64688 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64689
64690 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64691 detection.
64692
64693 2010-09-20 Andreas Schwab <schwab@redhat.com>
64694
64695 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64696 fanotify_mark.
64697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64698
64699 2010-09-14 Andreas Schwab <schwab@redhat.com>
64700
64701 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64702 variables after CHECK_SP call.
64703 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64704
64705 2010-09-13 Andreas Schwab <schwab@redhat.com>
64706 Ulrich Drepper <drepper@redhat.com>
64707
64708 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64709 re-relocationg ld.so.
64710 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64711 _dl_init_paths call.
64712 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64713 here anymore.
64714
64715 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64716
64717 * resolv/res_init.c (__res_vinit): Count the default server we added.
64718
64719 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64720 Ulrich Drepper <drepper@redhat.com>
64721
64722 [BZ #11968]
64723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64724 (____longjmp_chk): Use %ebx for saving value across system call.
64725 Add unwind info.
64726
64727 2010-09-06 Andreas Schwab <schwab@redhat.com>
64728
64729 * manual/Makefile: Don't mix pattern rules with normal rules.
64730
64731 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64732
64733 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64734 operation.
64735 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64736 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64737 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64738 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64740 Likewise.
64741
64742 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64743
64744 [BZ #11979]
64745 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64746 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64747
64748 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64749
64750 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64751 * sysdeps/x86_64/addmul_1.S: Likewise.
64752 * sysdeps/x86_64/lshift.S: Likewise.
64753 * sysdeps/x86_64/mul_1.S: Likewise.
64754 * sysdeps/x86_64/rshift.S: Likewise.
64755 * sysdeps/x86_64/sub_n.S: Likewise.
64756 * sysdeps/x86_64/submul_1.S: Likewise.
64757
64758 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64759
64760 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64761 Define __sched_param instead of SCHED_* and sched_param when
64762 <bits/sched.h> is included with __need_schedparam defined.
64763 * bits/sched.h [__need_schedparam]
64764 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64765 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64766 (__defined_schedparam): Define to 1.
64767 (__sched_param): New structure, identical to sched_param.
64768 (__need_schedparam): Undefine.
64769
64770 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64771
64772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64773 (epoll_create1): Declare.
64774
64775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64776
64777 2010-08-31 Andreas Schwab <schwab@redhat.com>
64778
64779 [BZ #7066]
64780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64781 shifting retval into place.
64782
64783 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64784
64785 * nis/rpcsvc/nis.h: Update copyright notice.
64786 * nis/rpcsvc/nis.x: Likewise.
64787 * nis/rpcsvc/nis_callback.h: Likewise.
64788 * nis/rpcsvc/nis_callback.x: Likewise.
64789 * nis/rpcsvc/nis_object.x: Likewise.
64790 * nis/rpcsvc/nis_tags.h: Likewise.
64791 * nis/rpcsvc/yp.h: Likewise.
64792 * nis/rpcsvc/yp.x: Likewise.
64793 * nis/rpcsvc/ypupd.h: Likewise.
64794 * nis/yp_xdr.c: Likewise.
64795 * nis/ypupdate_xdr.c: Likewise.
64796
64797 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64798 mainly the body of pmap_getport. Add parameters to specify timeouts.
64799 (pmap_getport): Use __libc_rpc_getport.
64800 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64801 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64802 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64803
64804 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64805
64806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64807 fanotify_mark.
64808
64809 2010-08-27 Roland McGrath <roland@redhat.com>
64810
64811 * sysdeps/i386/i686/multiarch/Makefile
64812 (CFLAGS-varshift.c): New variable.
64813
64814 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64815
64816 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64817 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64818
64819 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64820
64821 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64822
64823 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64824
64825 * sysdeps/x86_64/strlen.S: Unroll the loop.
64826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64827 strlen-sse2 strlen-sse2-bsf.
64828 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64829 __strlen_no_bsf if bit_Slow_BSF is set.
64830 (__strlen_sse42): Removed.
64831 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64832 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64833
64834 2010-08-25 Roland McGrath <roland@redhat.com>
64835
64836 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64837 * sysdeps/x86_64/multiarch/varshift.c: New file.
64838 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64839 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64840 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64841 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64842
64843 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64844
64845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64846 strlen-sse2 strlen-sse2-bsf.
64847 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64848 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64849 (__strlen_sse2): Removed.
64850 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64853 bit_Slow_BSF for Atom.
64854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64855 (index_Slow_BSF): Define.
64856 (HAS_SLOW_BSF): Define.
64857
64858 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64859
64860 [BZ #10851]
64861 * resolv/res_init.c (__res_vinit): When no server address at all
64862 is given default to loopback.
64863
64864 2010-08-24 Roland McGrath <roland@redhat.com>
64865
64866 * configure.in: Remove config-name.h generation.
64867 * configure: Regenerated.
64868 * config-name.in: File removed.
64869 * scripts/config-uname.sh: New file.
64870 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64871 ($(objdir)config-name.h): New target.
64872
64873 * sunrpc/rpc_parse.h: Avoid nested comment.
64874
64875 2010-08-24 Richard Henderson <rth@redhat.com>
64876 Ulrich Drepper <drepper@redhat.com>
64877 H.J. Lu <hongjiu.lu@intel.com>
64878
64879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64881 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64882 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64883 _mm_alignr_epi8 with _mm_loadu_si128.
64884 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64885 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64886 (__m128i_shift_right): Removed.
64887 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64888 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64889 * sysdeps/x86_64/multiarch/varshift.h: New file.
64890 * sysdeps/x86_64/multiarch/varshift.S: New file.
64891
64892 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64893
64894 * configure.in: Move assembler checks to before sysdep dir checking.
64895
64896 2010-08-20 Petr Baudis <pasky@suse.cz>
64897
64898 * LICENSES: Sync the sunrpc license.
64899
64900 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64901
64902 * sunrpc/auth_des.c: Update copyright notice once again.
64903 * sunrpc/auth_none.c: Likewise.
64904 * sunrpc/auth_unix.c: Likewise.
64905 * sunrpc/authdes_prot.c: Likewise.
64906 * sunrpc/authuxprot.c: Likewise.
64907 * sunrpc/bindrsvprt.c: Likewise.
64908 * sunrpc/clnt_gen.c: Likewise.
64909 * sunrpc/clnt_perr.c: Likewise.
64910 * sunrpc/clnt_raw.c: Likewise.
64911 * sunrpc/clnt_simp.c: Likewise.
64912 * sunrpc/clnt_tcp.c: Likewise.
64913 * sunrpc/clnt_udp.c: Likewise.
64914 * sunrpc/clnt_unix.c: Likewise.
64915 * sunrpc/des_crypt.c: Likewise.
64916 * sunrpc/des_soft.c: Likewise.
64917 * sunrpc/get_myaddr.c: Likewise.
64918 * sunrpc/getrpcport.c: Likewise.
64919 * sunrpc/key_call.c: Likewise.
64920 * sunrpc/key_prot.c: Likewise.
64921 * sunrpc/openchild.c: Likewise.
64922 * sunrpc/pm_getmaps.c: Likewise.
64923 * sunrpc/pm_getport.c: Likewise.
64924 * sunrpc/pmap_clnt.c: Likewise.
64925 * sunrpc/pmap_prot.c: Likewise.
64926 * sunrpc/pmap_prot2.c: Likewise.
64927 * sunrpc/pmap_rmt.c: Likewise.
64928 * sunrpc/rpc/auth.h: Likewise.
64929 * sunrpc/rpc/auth_unix.h: Likewise.
64930 * sunrpc/rpc/clnt.h: Likewise.
64931 * sunrpc/rpc/des_crypt.h: Likewise.
64932 * sunrpc/rpc/key_prot.h: Likewise.
64933 * sunrpc/rpc/netdb.h: Likewise.
64934 * sunrpc/rpc/pmap_clnt.h: Likewise.
64935 * sunrpc/rpc/pmap_prot.h: Likewise.
64936 * sunrpc/rpc/pmap_rmt.h: Likewise.
64937 * sunrpc/rpc/rpc.h: Likewise.
64938 * sunrpc/rpc/rpc_des.h: Likewise.
64939 * sunrpc/rpc/rpc_msg.h: Likewise.
64940 * sunrpc/rpc/svc.h: Likewise.
64941 * sunrpc/rpc/svc_auth.h: Likewise.
64942 * sunrpc/rpc/types.h: Likewise.
64943 * sunrpc/rpc/xdr.h: Likewise.
64944 * sunrpc/rpc_clntout.c: Likewise.
64945 * sunrpc/rpc_cmsg.c: Likewise.
64946 * sunrpc/rpc_common.c: Likewise.
64947 * sunrpc/rpc_cout.c: Likewise.
64948 * sunrpc/rpc_dtable.c: Likewise.
64949 * sunrpc/rpc_hout.c: Likewise.
64950 * sunrpc/rpc_main.c: Likewise.
64951 * sunrpc/rpc_parse.c: Likewise.
64952 * sunrpc/rpc_parse.h: Likewise.
64953 * sunrpc/rpc_prot.c: Likewise.
64954 * sunrpc/rpc_sample.c: Likewise.
64955 * sunrpc/rpc_scan.c: Likewise.
64956 * sunrpc/rpc_scan.h: Likewise.
64957 * sunrpc/rpc_svcout.c: Likewise.
64958 * sunrpc/rpc_tblout.c: Likewise.
64959 * sunrpc/rpc_util.c: Likewise.
64960 * sunrpc/rpc_util.h: Likewise.
64961 * sunrpc/rpcinfo.c: Likewise.
64962 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64963 * sunrpc/rpcsvc/key_prot.x: Likewise.
64964 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64965 * sunrpc/rpcsvc/mount.x: Likewise.
64966 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64967 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64968 * sunrpc/rpcsvc/rex.x: Likewise.
64969 * sunrpc/rpcsvc/rstat.x: Likewise.
64970 * sunrpc/rpcsvc/rusers.x: Likewise.
64971 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64972 * sunrpc/rpcsvc/spray.x: Likewise.
64973 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64974 * sunrpc/rtime.c: Likewise.
64975 * sunrpc/svc.c: Likewise.
64976 * sunrpc/svc_auth.c: Likewise.
64977 * sunrpc/svc_authux.c: Likewise.
64978 * sunrpc/svc_raw.c: Likewise.
64979 * sunrpc/svc_run.c: Likewise.
64980 * sunrpc/svc_simple.c: Likewise.
64981 * sunrpc/svc_tcp.c: Likewise.
64982 * sunrpc/svc_udp.c: Likewise.
64983 * sunrpc/svc_unix.c: Likewise.
64984 * sunrpc/svcauth_des.c: Likewise.
64985 * sunrpc/xcrypt.c: Likewise.
64986 * sunrpc/xdr.c: Likewise.
64987 * sunrpc/xdr_array.c: Likewise.
64988 * sunrpc/xdr_float.c: Likewise.
64989 * sunrpc/xdr_mem.c: Likewise.
64990 * sunrpc/xdr_rec.c: Likewise.
64991 * sunrpc/xdr_ref.c: Likewise.
64992 * sunrpc/xdr_sizeof.c: Likewise.
64993 * sunrpc/xdr_stdio.c: Likewise.
64994
64995 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64996 handling.
64997
64998 2010-08-19 Andreas Schwab <schwab@redhat.com>
64999
65000 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65001
65002 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65003
65004 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65005 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65006 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65007 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65008 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65009 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65010 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65011 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65012 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65013 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65014 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65015 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65016 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65017 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65018
65019 2010-07-26 Anton Blanchard <anton@samba.org>
65020
65021 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65022 * malloc/arena.c (heap_trim): Likewise.
65023
65024 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65025
65026 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65027 here. Not...
65028 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65029 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65030
65031 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65032
65033 * sysdeps/i386/elf/Makefile: New file.
65034
65035 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65036
65037 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65038 from fanotify_init.
65039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65041
65042 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65043
65044 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65045 of strncasecmp_l.
65046 * sysdeps/multiarch/strcmp.S: Likewise.
65047
65048 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65049
65050 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65051 strncase_l-nonascii.
65052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65053 Add strncase_l-ssse3.
65054 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65055 * sysdeps/x86_64/strcmp.S: Likewise.
65056 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65057 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65058 * sysdeps/x86_64/strncase.S: New file.
65059 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65060 * sysdeps/x86_64/strncase_l.S: New file.
65061 * string/Makefile (strop-tests): Add strncasecmp.
65062 * string/test-strncasecmp.c: New file.
65063
65064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65065 warning.
65066
65067 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65068 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65069
65070 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65071
65072 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65073
65074 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65075
65076 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65077 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65078 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65079
65080 2010-05-01 Alan Modra <amodra@gmail.com>
65081
65082 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65083 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65084 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65085 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65086 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65087 tidying. Don't tail-call __sigjmp_save for static lib.
65088 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65089 save location.
65090 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65091 (CALL_MCOUNT): Add eh info, and nop after bl.
65092 (TAIL_CALL_SYSCALL_ERROR): New macro.
65093 (PSEUDO_RET): Use it.
65094 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65095 Correct save location of integer regs and cr.
65096 (_dl_profile_resolve): Correct cr save location. Delete nops
65097 after bl when SHARED. Reduce cfi size a little by better
65098 placement of cfi directives.
65099 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65100 make a stack frame. Instead use parm save area as a temp.
65101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65102 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65104 Don't make a stack frame for parent, use parm save area.
65105 Increase child stack frame to 112 bytes. Don't save unused reg,
65106 and adjust reg usage. Set up cfi on error recovery and
65107 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65109 (__makecontext): Add dummy nop after jump to exit.
65110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65111 Use correct parm save area and cr save, reduce stack frame.
65112 Correct cfi for possible PSEUDO_RET frame setup.
65113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65114 Branch to local label emitted by PSEUDO_RET rather than
65115 __syscall_error.
65116
65117 2010-08-12 Andreas Schwab <schwab@redhat.com>
65118
65119 [BZ #11904]
65120 * locale/programs/locale.c (print_assignment): New function.
65121 (show_locale_vars): Use it.
65122
65123 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65124
65125 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65126 field.
65127 (struct statfs64): Likewise.
65128 (_STATFS_F_FLAGS): Define.
65129 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65131 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65132 (ST_VALID): Define locally.
65133 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65134 __statvfs_getflags, use the provided value.
65135 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65136 __ASSUME_STATFS_F_FLAGS.
65137
65138 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65139
65140 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65141 Add sys/fanotify.h.
65142 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65143 fanotify_mask for GLIBC_2.13.
65144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65145 fanotify_init and fanotify_mark.
65146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65147 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65148
65149 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65150 Add prlimit.
65151 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65152 prlimit64 for GLIBC_2.13.
65153 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65154 prlimit64.
65155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65156 syscall.
65157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65159 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65162 add prlimit alias.
65163 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65164
65165 [BZ #11903]
65166 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65167 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65168
65169 * nss/Makefile: Add rules to build and run tst-nss-test1.
65170 * shlib-versions: Add entry for libnss_test1.
65171 * nss/nss_test1.c: New file.
65172 * nss/tst-nss-test1.c: New file.
65173
65174 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65175 (__nss_configure_lookup): Set appropriate entry in
65176 __nss_configure_lookup to true.
65177 * nss/nsswitch.h: Define enum with indeces of databases in
65178 databases and __nss_database_custom arrays. Declare
65179 __nss_database_custom.
65180 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65181 to avoid using nscd when custom rules are installed.
65182 * nss/getXXbyYY_r.c: Likewise.
65183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65184
65185 * nss/nss_files/files-parse.c: Whitespace fixes.
65186
65187 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65188
65189 [BZ #11883]
65190 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65191 * posix/fnmatch_loop.c: Likewise.
65192
65193 2010-07-17 Andi Kleen <ak@linux.intel.com>
65194
65195 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65196 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65197 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65198 * Versions.def [GLIBC_2.13]: Add.
65199
65200 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65201
65202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65203 Also fail if tpwd after pwuid call is NULL.
65204
65205 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65206
65207 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65208 when converting to ms.
65209
65210 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65211
65212 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65213 EOPNOTSUPP errors with ENOTTY.
65214 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65215 EOPNOTSUPP errors with ENOTTY.
65216
65217 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65218
65219 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65220 Add strcasecmp_l-ssse3.
65221 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65222 strcasecmp.
65223 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65224 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65225 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65226
65227 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65228
65229 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65230
65231 * string/Makefile (strop-tests): Add strcasecmp.
65232 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65233 strcasecmp_l-nonascii.
65234 (gen-as-const-headers): Add locale-defines.sym.
65235 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65236 * sysdeps/x86_64/strcasecmp.S: New file.
65237 * sysdeps/x86_64/strcasecmp_l.S: New file.
65238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65239 * sysdeps/x86_64/locale-defines.sym: New file.
65240 * string/test-strcasecmp.c: New file.
65241
65242 * string/test-strcasestr.c: Test both ends of the range of characters.
65243 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65244
65245 2010-07-29 Roland McGrath <roland@redhat.com>
65246
65247 [BZ #11856]
65248 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65249
65250 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65251
65252 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65253 for ld.so.
65254
65255 2010-07-27 Andreas Schwab <schwab@redhat.com>
65256
65257 * manual/memory.texi (Malloc Tunable Parameters): Document
65258 M_PERTURB.
65259
65260 2010-07-26 Roland McGrath <roland@redhat.com>
65261
65262 [BZ #11840]
65263 * configure.in (-fgnu89-inline check): Set and substitute
65264 gnu89_inline, not libc_cv_gnu89_inline.
65265 * configure: Regenerated.
65266 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65267
65268 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65269
65270 * string/test-strnlen.c: New file.
65271 * string/Makefile (strop-tests): Add strnlen.
65272 * string/tester.c (test_strnlen): Add a few more test cases.
65273 * string/tst-strlen.c: Better error reporting.
65274
65275 * sysdeps/x86_64/strnlen.S: New file.
65276
65277 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65278
65279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65280 lower-latency instructions.
65281
65282 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65283
65284 * string/test-strcasestr.c: New file.
65285 * string/test-strstr.c: New file.
65286 * string/Makefile (strop-tests): Add strstr and strcasestr.
65287 * string/str-two-way.h: Don't undefine MAX.
65288 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65289
65290 2010-07-21 Andreas Schwab <schwab@redhat.com>
65291
65292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65293 strcasestr-nonascii.
65294 (CFLAGS-strcasestr-nonascii.c): Define.
65295 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65296 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65297 Remove unused attribute.
65298
65299 2010-07-20 Roland McGrath <roland@redhat.com>
65300
65301 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65302 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65303 ld.so.cache was broken. With it, there is no way to disable dsocaps
65304 like LD_HWCAP_MASK can disable hwcaps.
65305
65306 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65307
65308 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65309
65310 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65311
65312 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65313 call in strcasestr.
65314 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65315 __strcasestr_sse42_nonascii.
65316 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65317 strcasestr-nonascii.c.
65318 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65319
65320 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65321
65322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65323 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65325 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65326
65327 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65328
65329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65330 fcntl.
65331
65332 2010-07-06 Andreas Schwab <schwab@redhat.com>
65333
65334 [BZ #11577]
65335 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65336 dl_signal_cerror.
65337
65338 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65339
65340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65341 _PC_PIPE_BUF using F_GETPIPE_SZ.
65342
65343 2010-07-05 Roland McGrath <roland@redhat.com>
65344
65345 * manual/arith.texi (Rounding Functions): Fix rint description
65346 implicit in round description.
65347
65348 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65349
65350 * elf/Makefile: Fix linking for a few tests to make recent linker
65351 happy.
65352
65353 2010-06-30 Andreas Schwab <schwab@redhat.com>
65354
65355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65356 $(common-objpfx)libc_nonshared.a.
65357
65358 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65359
65360 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65361 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65362 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65363 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65364 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65365 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65366 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65367 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65382 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65383 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65384 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65385 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65386 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65387 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65388 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65389 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65390 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65391 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65392 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65393 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65408
65409 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65410
65411 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65412 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65413 * string/memmove.c (memmove): Renamed to ...
65414 (MEMMOVE): ...this. Default to memmove.
65415 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65416 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65417 (END_CHK): Define.
65418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65419 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65420 mempcpy-ssse3-back memmove-ssse3-back.
65421 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65424 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65425 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65426 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65427 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65428 * sysdeps/x86_64/multiarch/memmove.c: New file.
65429 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65430 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65431 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65432 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65433 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65435 Define.
65436 (index_Fast_Copy_Backward): Define.
65437 (HAS_ARCH_FEATURE): Define.
65438 (HAS_FAST_REP_STRING): Define.
65439 (HAS_FAST_COPY_BACKWARD): Define.
65440
65441 2010-06-21 Andreas Schwab <schwab@redhat.com>
65442
65443 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65444 Restore proper fallback handling.
65445
65446 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65447
65448 [BZ #11701]
65449 * posix/group_member.c (__group_member): Correct checking loop.
65450
65451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65452 OOM in getpwuid_r correctly. Return error number when the caller
65453 should return, otherwise -1.
65454 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65455 call returning > 0 value.
65456 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65457
65458 2010-06-07 Andreas Schwab <schwab@redhat.com>
65459
65460 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65461 libc_nonshared.a from targets in modules-names.
65462
65463 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65464
65465 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65466 requires it.
65467
65468 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65469
65470 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65472 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65474
65475 2010-06-02 Andreas Schwab <schwab@redhat.com>
65476
65477 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65478
65479 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65480
65481 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65482 and F_GETPIPE_SZ.
65483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65484 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65488 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65489
65490 2010-06-14 Roland McGrath <roland@redhat.com>
65491
65492 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65493
65494 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65495
65496 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65497 __REDIRECT followed by __THROW.
65498 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65499 * posix/getopt.h (getopt): Likewise.
65500
65501 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65502
65503 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65504 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65505 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65506 in AT_FLAGS.
65507 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65508 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65509
65510 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65511
65512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65513
65514 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65515
65516 [BZ #11640]
65517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65518 Properly check family and model.
65519
65520 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65521
65522 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65523
65524 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65525
65526 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65527
65528 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65529
65530 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65531 symbol reference.
65532
65533 2010-05-19 Andreas Schwab <schwab@redhat.com>
65534
65535 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65536 symbol reference.
65537
65538 2010-05-21 Andreas Schwab <schwab@redhat.com>
65539
65540 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65541 and internal_recvmmsg.
65542 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65543 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65544 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65545 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65546
65547 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65548 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65549 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65550
65551 2010-05-20 Andreas Schwab <schwab@redhat.com>
65552
65553 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65554
65555 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65556
65557 POWER7 optimizations.
65558 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65559 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65560
65561 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65562
65563 * version.h: Update for 2.13 development version.
65564
65565 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65566
65567 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65568 exceptions. Return 0.
65569
65570 2010-05-07 Roland McGrath <roland@redhat.com>
65571
65572 * elf/ldconfig.c (main): Add a const.
65573
65574 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65575
65576 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65577 (args_options): Add no-idn option.
65578 (ahosts_keys_int): Add idn_flags to ai_flags.
65579 (parse_option): Handle 'i' option to clear idn_flags.
65580
65581 * malloc/malloc.c (_int_free): Possible race in the most recently
65582 added check. Only act on the data if no current modification
65583 happened.
65584
65585 See ChangeLog.17 for earlier changes.