]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
timezone: add a configure flag to disable program install
[thirdparty/glibc.git] / ChangeLog
1 2015-09-18 Mike Frysinger <vapier@gentoo.org>
2
3 * config.make.in (enable-timezone-tools): New variable.
4 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5 (enable_timezone_tools): Export to generated files.
6 * configure: Regenerate.
7 * INSTALL: Regenerate.
8 * manual/install.texi (--disable-timezone-tools): Document new flag.
9 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10 ifeq ($(enable-timezone-tools),yes) check.
11
12 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13
14 * timezone/Makefile: Revert previous change.
15
16 [BZ #18980]
17 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18 (DEFINE_DBL_MIN): Likewise.
19 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24 (dbl_min): Replace with use of DEFINE_DBL_MIN.
25 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31 (flt_min): Replace with use of DEFINE_FLT_MIN.
32 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
33 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
34 (dbl_min): Replace with use of DEFINE_DBL_MIN.
35 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
36 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
37 (flt_min): Replace with use of DEFINE_FLT_MIN.
38 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
39 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
40 (flt_min): Replace with use of DEFINE_FLT_MIN.
41 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
42 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
43 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
44 (__ieee754_hypot): Use DBL_NARROW_EVAL.
45 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
46 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
47 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
48 (__ieee754_pow): Use DBL_NARROW_EVAL.
49 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
50 (__ieee754_powf): Use FLT_NARROW_EVAL.
51 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
52 (__ieee754_expf_sse2): Convert double-precision result to single
53 precision.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55
56 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
57
58 * timezone/Makefile: Ignore unused variable errors due to private.h
59 (time_t_min) and (time_t_max).
60 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
61 Likewise.
62
63 2015-09-18 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #18981]
66 * sysdeps/i386/fpu/i386-math-asm.h: New file.
67 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
68 (__ieee754_scalb): Use DBL_NARROW_EVAL.
69 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
70 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
71 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
72 (__scalbn): Use DBL_NARROW_EVAL.
73 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
74 (__scalbnf): Use FLT_NARROW_EVAL.
75
76 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
77
78 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
79 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
80 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
81 * stdio-common/printf_fp.c (___printf_fp):
82 Use signbit to get the sign. Use isinf macro to allow inlining.
83 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
84 * stdio-common/printf_size.c (__printf_size): Likewise.
85
86 2015-09-18 Mike Frysinger <vapier@gentoo.org>
87
88 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
89
90 2015-09-18 Joseph Myers <joseph@codesourcery.com>
91
92 [BZ #18980]
93 * sysdeps/generic/math_private.h: Include <float.h>.
94 (math_narrow_eval): New macro.
95 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
96 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
97 math_narrow_eval on overflowing return value.
98 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
99 Likewise.
100 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
101 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
103 Likewise.
104 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
105
106 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
107
108 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
109 * math/Makefile: Remove isinf_ns.c.
110 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
111 * math/multc3.c (__multc3): Likewise.
112 * math/s_casin.c (__casin): Likewise.
113 * math/s_casinf.c (__casinf): Likewise.
114 * math/s_casinl.c (__casinl): Likewise.
115 * math/s_cproj.c (__cproj): Likewise.
116 * math/s_cprojf.c (__cprojf): Likewise.
117 * math/s_cprojl.c (__cprofl): Likewise.
118 * math/s_ctan.c (__ctan): Likewise.
119 * math/s_ctanf.c (__ctanf): Likewise.
120 * math/s_ctanh.c (__ctanh): Likewise.
121 * math/s_ctanhf.c (__ctanhf): Likewise.
122 * math/s_ctanhl.c (__ctanhl): Likewise.
123 * math/s_ctanl.c (__ctanl): Likewise.
124 * math/w_fmod.c (__fmod): Likewise.
125 * math/w_fmodf.c (__fmodf): Likewise.
126 * math/w_fmodl.c (_fmodl): Likewise.
127 * math/w_remainder.c (__remainder): Likewise.
128 * math/w_remainderf.c (__remainderf): Likewise.
129 * math/w_remainderl.c (__remainderl): Likewise.
130 * math/w_scalb.c (__scalb): Likewise.
131 * math/w_scalbf.c (__scalbf): Likewise.
132 * math/w_scalbl.c (__scalbl): Likewise.
133 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
134 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
135 with isinf.
136 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
138 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
139 __isinf_nsf with isinf.
140 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
142 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
143 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
144 with isinf.
145 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
146 __isinf_nsl with isinf.
147 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
148 with isinf.
149 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
150 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
151 __isinf_nsl with isinf.
152 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
153 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
154 with isinf.
155
156 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
157
158 * resolv/base64.c (rcsid): Remove unused static.
159 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
160 static. (tqpi1): Likewise.
161 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
162 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
163 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
164 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
165 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
166 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
167 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
168 * timezone/private.h (time_t_min): Likewise. (time_t_max):
169 Likewise.
170
171 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
172
173 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
174 <nptl/pthreadP.h>.
175 (_longjmp_unwind): Use __libc_ptf_call.
176 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
177
178 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
179
180 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
181 * sysdeps/arm/__longjmp.S: Likewise
182
183 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
184
185 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
186 Use __builtin_signbit.
187 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
188 Use __builtin_signbitf.
189 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
190 Use __builtin_signbitl.
191 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
192 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
193
194 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
195
196 [BZ #15367]
197 [BZ #17441]
198
199 * math/Makefile: Build test-snan.c with -fsignaling-nans.
200 * math/math.h (fpclassify): Use __builtin_fpclassify when
201 available. (signbit): Use __builtin_signbit(f/l).
202 (isfinite): Use__builtin_isfinite. (isnormal): Use
203 __builtin_isnormal. (isnan): Use __builtin_isnan.
204 (isinf): Use __builtin_isinf_sign.
205
206 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
207
208 * benchtests/Makefile: Add bench-math-inlines, link with libm.
209 * benchtests/bench-math-inlines.c: New benchmark.
210 * benchtests/bench-util.h: New file.
211 * benchtests/bench-util.c: New file.
212 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
213
214 2015-09-18 Carlos O'Donell <carlos@redhat.com>
215
216 * elf/tst-dlmopen1.c: Define TEST_SO.
217 (do_test): Use TEST_SO.
218
219 * elf/dl-load.c: Include libc-internal.h.
220 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
221
222 2015-09-18 Vincent Bernat <vincent@bernat.im>
223
224 [BZ #17887]
225 * time/strptime_l.c (__strptime_internal): Make %z accept
226 [+-]HH:MM time zones.
227
228 2015-09-18 Vincent Bernat <vincent@bernat.im>
229
230 [BZ #17886]
231 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
232 valid time zone.
233
234 2015-09-17 Mike Frysinger <vapier@gentoo.org>
235
236 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
237 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
238 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
239 (__ASSUME_FDATASYNC): Delete.
240
241 2015-09-17 Joseph Myers <joseph@codesourcery.com>
242
243 * conform/linknamespace.pl: Require weak undefined symbols to be
244 in the standard namespace.
245 (%strong_syms): Rename to %seen_syms.
246 (%strong_seen): Rename to %seen_where.
247
248 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
249
250 [BZ #18970]
251 * misc/error.c (error): Replace pthread_setcancelstate with
252 __pthread_setcancelstate.
253 (error_at_line): Likewise.
254 * posix/wordexp.c (parse_comm): Likewise.
255 * stdlib/fmtmsg.c (fmtmsg): Likewise.
256 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
257 (__pthread_setcancelstate): This.
258 (pthread_setcancelstate): Add an alias.
259 * nptl/nptl-init.c (pthread_functions): Replace
260 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
261 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
262 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
263 hidden_proto.
264 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
265 it with hidden_def.
266 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
267 (pthread_setcancelstate): Renamed to ...
268 (__pthread_setcancelstate): This.
269 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
270 __libc_ptf_call with __pthread_setcancelstate.
271
272 2015-09-17 Joseph Myers <joseph@codesourcery.com>
273 Andreas Schwab <schwab@suse.de>
274
275 [BZ #17118]
276 * math/s_ctan.c (__ctan): Determine sign of zero real part of
277 result when imaginary part of argument is infinite using sine and
278 cosine.
279 * math/s_ctanf.c (__ctanf): Likewise.
280 * math/s_ctanl.c (__ctanl): Likewise.
281 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
282 of result when real part of argument is infinite using sine and
283 cosine.
284 * math/s_ctanhf.c (__ctanhf): Likewise.
285 * math/s_ctanhl.c (__ctanhl): Likewise.
286 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
287 (ctanh_test_data): Add more tests of ctanh.
288
289 2015-09-17 Joseph Myers <joseph@codesourcery.com>
290
291 [BZ #15384]
292 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
293 bit-mask as in subtraction.
294 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
295 Likewise.
296 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
297 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
299
300 [BZ #18951]
301 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
302 underflow exception for small results.
303 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
304 Likewise.
305 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
306 Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
308 Likewise.
309 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
310 Likewise.
311 * math/auto-libm-test-in: Add more tests of tgamma.
312 * math/auto-libm-test-out: Regenerated.
313
314 2015-09-17 Andreas Schwab <schwab@suse.de>
315
316 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
317
318 2015-09-16 Joseph Myers <joseph@codesourcery.com>
319
320 [BZ #18977]
321 * math/bits/mathcalls.h
322 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
323 not declare.
324 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
325 Likewise.
326 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
327 Likewise.
328 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
329 Likewise.
330 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
331 Likewise.
332 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
333 Likewise.
334 * conform/data/math.h-data
335 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
336 function.
337 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
338 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
339 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
340 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
341 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
342 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
343 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
344 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
345 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
346 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
347 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
348
349 [BZ #6803]
350 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
351 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
352 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
353 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
354 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
355 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
356 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
357 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
358 [NO_LONG_DOUBLE] (scalbnl): Likewise.
359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
360 Likewise.
361 [NO_LONG_DOUBLE] (scalbnl): Likewise.
362 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
363 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
364 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
365 long_double_symbol calls.
366 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
367 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
368 strong alias of __ldexpl.
369 (scalbnl): Define using long_double_symbol.
370 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
371 Remove alias.
372 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
373 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
374 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
375 (scalbln_test_data): Add more errno expectations.
376
377 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
378
379 Cache the host port like we cache the task port. This way we do not
380 need to call the kernel just to get the port. Furthermore, we no
381 longer increase the reference count on every invocation of
382 `mach_host_self'.
383
384 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
385 Protect declarations against the macro expansion.
386 * mach/mach_init.c (__mach_host_self_): New variable.
387 (mach_init): Initialize `__mach_host_self_'.
388 * mach/mach_init.h (__mach_host_self_): New declaration.
389 (__mach_host_self, mach_host_self): New macros.
390 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
391 Release reference.
392
393 2015-09-16 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #4404]
396 * po/de.po: Update from Translation Project.
397
398 [BZ #16415]
399 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
400 (__expm1l): Remove code to handle positive infinity and overflow.
401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
402 variable.
403 (__expm1l): Remove code to handle positive infinity and overflow.
404
405 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
406 Paul Pluzhnikov <ppluzhnikov@google.com>
407
408 [BZ #18872]
409 * stdio-common/Makefile (tst-printf-bz18872): New test.
410 (tst-printf-bz18872-mem.out): Likewise.
411 * stdio-common/tst-printf-bz18872.sh: Generate new test.
412 * stdio-common/vfprintf.c: Fix memory leaks.
413
414 2015-09-16 Andreas Schwab <schwab@suse.de>
415
416 [BZ #17244]
417 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
418 Remove extra va_start/va_end calls.
419
420 [BZ #17243]
421 * posix/execl.c (execl): Add missing va_end.
422 * posix/execle.c (execle): Likewise.
423 * posix/execlp.c (execlp): Likewise.
424
425 2015-09-15 Roland McGrath <roland@hack.frob.com>
426
427 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
428 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
429
430 2015-09-15 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #18967]
433 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
434 undefine around includes of <bits/mathcalls.h>.
435 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
436 not declare function.
437 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
438 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
439 (scalb): Likewise.
440 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
441 not define macro.
442 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
443 variable.
444 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
445 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
446 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
447
448 [BZ #18857]
449 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
450 return non-finite argument without doing ordered comparisons on
451 it.
452
453 [BZ #16296]
454 * math/fenv.h (fegetround): Use __attribute_pure__.
455 * include/fenv.h (__fegetround): Likewise.
456
457 [BZ #18595]
458 * math/s_ctan.c (__ctan): Force underflow exception for results
459 whose real or imaginary part has small absolute value.
460 * math/s_ctanf.c (__ctanf): Likewise.
461 * math/s_ctanh.c (__ctanh): Likewise.
462 * math/s_ctanhf.c (__ctanhf): Likewise.
463 * math/s_ctanhl.c (__ctanhl): Likewise.
464 * math/s_ctanl.c (__ctanl): Likewise.
465 * math/auto-libm-test-in: Do not allow missing underflow for ctan
466 and ctanh. Add more tests of ctan and ctanh.
467
468 [BZ #15918]
469 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
470 handling of cases where one argument is an infinity.
471
472 [BZ #18875]
473 [BZ #18966]
474 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
475 (MO): New macro.
476 (__ieee754_exp10): For small results, force underflow exception
477 and remove excess range and precision from return value.
478 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
479 (MO): New macro.
480 (__ieee754_exp10f): For small results, force underflow exception
481 and remove excess range and precision from return value.
482 * math/auto-libm-test-in: Add more tests of exp10.
483 * math/auto-libm-test-out: Regenerated.
484
485 2015-09-14 Joseph Myers <joseph@codesourcery.com>
486
487 [BZ #18875]
488 [BZ #18961]
489 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
490 (MO): New macro.
491 (__ieee754_exp): For small results, force underflow exception and
492 remove excess range and precision from return value.
493 (__exp_finite): Likewise.
494 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
495 (MO): New macro.
496 (__ieee754_expf): For small results, force underflow exception and
497 remove excess range and precision from return value.
498 (__expf_finite): Likewise.
499 * math/auto-libm-test-in: Add more tests of exp.
500 * math/auto-libm-test-out: Regenerated.
501
502 [BZ #16521]
503 [BZ #18875]
504 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
505 small results.
506 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
507 (MO): New macro.
508 (__ieee754_exp2): For small results, force underflow exception and
509 remove excess range and precision from return value.
510 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
511 (MO): New macro.
512 (__ieee754_exp2f): For small results, force underflow exception
513 and remove excess range and precision from return value.
514 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
515 (MO): New macro.
516 (__ieee754_exp2l): Force underflow exception for small results.
517 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
518 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
519 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
520 (MO): New macro.
521 (__ieee754_exp2l): Force underflow exception for small results.
522 * math/auto-libm-test-in: Add more tests or exp2.
523 * math/auto-libm-test-out: Regenerated.
524
525 2015-09-14 Carlos O'Donell <carlos@redhat.com>
526
527 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
528
529 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
530 /dev/null.
531
532 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
533
534 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
535 io fs process)): Drop spurious backslash.
536
537 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
538
539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
540 Use sysinfo system call instead of parsing /proc/meminfo.
541 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
542 Likewise.
543
544 2015-09-11 Mike Frysinger <vapier@gentoo.org>
545
546 [BZ #16985]
547 * programs/localedef.c (main): Display argv[remaining] when
548 output_path is NULL.
549
550 2015-09-11 Joseph Myers <joseph@codesourcery.com>
551
552 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
553 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
554 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
555 tanh.
556 * math/auto-libm-test-out: Regenerated.
557 * sysdeps/i386/fpu/libm-test-ulps: Update.
558 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
559 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561
562 2015-09-11 Roland McGrath <roland@hack.frob.com>
563
564 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
565 Use 'override' keyword to freeze the value here, preventing
566 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
567
568 2015-09-11 Joseph Myers <joseph@codesourcery.com>
569
570 [BZ #14912]
571 * sysdeps/aarch64/bits/atomic.h: Move to ...
572 * sysdeps/aarch64/atomic-machine.h: ...here.
573 (_AARCH64_BITS_ATOMIC_H): Rename macro to
574 _AARCH64_ATOMIC_MACHINE_H.
575 * sysdeps/alpha/bits/atomic.h: Move to ...
576 * sysdeps/alpha/atomic-machine.h: ...here.
577 * sysdeps/arm/bits/atomic.h: Move to ...
578 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
579 * bits/atomic.h: Move to ...
580 * sysdeps/generic/atomic-machine.h: ...here.
581 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
582 * sysdeps/i386/bits/atomic.h: Move to ...
583 * sysdeps/i386/atomic-machine.h: ...here.
584 * sysdeps/ia64/bits/atomic.h: Move to ...
585 * sysdeps/ia64/atomic-machine.h: ...here.
586 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
587 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
588 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
589 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
590 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
591 * sysdeps/microblaze/bits/atomic.h: Move to ...
592 * sysdeps/microblaze/atomic-machine.h: ...here.
593 * sysdeps/mips/bits/atomic.h: Move to ...
594 * sysdeps/mips/atomic-machine.h: ...here.
595 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
596 * sysdeps/powerpc/bits/atomic.h: Move to ...
597 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
598 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
599 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
600 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
601 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
602 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
603 <atomic-machine.h> instead of <bits/atomic.h>.
604 * sysdeps/s390/bits/atomic.h: Move to ...
605 * sysdeps/s390/atomic-machine.h: ...here.
606 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
607 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
608 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
609 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
610 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
611 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
612 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
613 * sysdeps/tile/bits/atomic.h: Move to ...
614 * sysdeps/tile/atomic-machine.h: ...here.
615 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
616 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
617 <sysdeps/tile/atomic-machine.h> instead of
618 <sysdeps/tile/bits/atomic.h>.
619 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
620 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
621 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
622 <sysdeps/tile/atomic-machine.h> instead of
623 <sysdeps/tile/bits/atomic.h>.
624 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
625 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
626 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
627 <sysdeps/arm/atomic-machine.h> instead of
628 <sysdeps/arm/bits/atomic.h>.
629 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
630 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
631 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
632 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
633 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
634 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
635 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
636 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
637 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
638 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
639 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
640 * sysdeps/x86_64/bits/atomic.h: Move to ...
641 * sysdeps/x86_64/atomic-machine.h: ...here.
642 * include/atomic.h: Include <atomic-machine.h> instead of
643 <bits/atomic.h>.
644
645 * sysdeps/mips/mips32/libm-test-ulps: Update.
646 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
647
648 [BZ #18952]
649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
650 not convert non-integer negative arguments to int to determine the
651 value of signgam.
652 * math/auto-libm-test-in: Add more tests of lgamma.
653 * math/auto-libm-test-out: Regenerated.
654
655 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
656 cosh, csqrt, erfc, expm1 and lgamma.
657 * math/auto-libm-test-out: Regenerated.
658 * sysdeps/i386/fpu/libm-test-ulps: Update.
659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
660
661 2015-09-10 Joseph Myers <joseph@codesourcery.com>
662
663 [BZ #2542]
664 [BZ #2543]
665 [BZ #2558]
666 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
667 __lgamma_neg for arguments from -28.0 to -2.0.
668 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
669 __lgamma_negf for arguments from -15.0 to -2.0.
670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
671 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
672 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
673 Call __lgamma_negl for arguments from -33.0 to -2.0.
674 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
675 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
676 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
677 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
678 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
679 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
680 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
681 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
682 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
683 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
684 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
685 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
686 (__lgamma_neg): Likewise.
687 (__lgamma_negl): Likewise.
688 (__lgamma_product): Likewise.
689 (__lgamma_productl): Likewise.
690 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
691 * math/auto-libm-test-in: Add more tests of lgamma.
692 * math/auto-libm-test-out: Regenerated.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695
696 2015-09-09 Justin Maggard <jmaggard@netgear.com>
697
698 [BZ #18675]
699 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
700
701 2015-09-08 Joseph Myers <joseph@codesourcery.com>
702
703 [BZ #14912]
704 * bits/libc-lock.h: Move to ...
705 * sysdeps/generic/libc-lock.h: ...here.
706 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
707 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
708 * sysdeps/mach/hurd/libc-lock.h: ...here.
709 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
710 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
711 * sysdeps/mach/bits/libc-lock.h: Move to ...
712 * sysdeps/mach/libc-lock.h: ...here.
713 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
714 * sysdeps/nptl/bits/libc-lock.h: Move to ...
715 * sysdeps/nptl/libc-lock.h: ...here.
716 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
717 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
718 * sysdeps/nptl/libc-lockP.h: ...here.
719 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
720 * crypt/crypt_util.c: Include <libc-lock.h> instead of
721 <bits/libc-lock.h>.
722 * dirent/scandir-tail.c: Likewise.
723 * dlfcn/dlerror.c: Likewise.
724 * elf/dl-close.c: Likewise.
725 * elf/dl-iteratephdr.c: Likewise.
726 * elf/dl-lookup.c: Likewise.
727 * elf/dl-open.c: Likewise.
728 * elf/dl-support.c: Likewise.
729 * elf/dl-writev.h: Likewise.
730 * elf/rtld.c: Likewise.
731 * grp/fgetgrent.c: Likewise.
732 * gshadow/fgetsgent.c: Likewise.
733 * gshadow/sgetsgent.c: Likewise.
734 * iconv/gconv_conf.c: Likewise.
735 * iconv/gconv_db.c: Likewise.
736 * iconv/gconv_dl.c: Likewise.
737 * iconv/gconv_int.h: Likewise.
738 * iconv/gconv_trans.c: Likewise.
739 * include/link.h: Likewise.
740 * inet/getnameinfo.c: Likewise.
741 * inet/getnetgrent.c: Likewise.
742 * inet/getnetgrent_r.c: Likewise.
743 * intl/bindtextdom.c: Likewise.
744 * intl/dcigettext.c: Likewise.
745 * intl/finddomain.c: Likewise.
746 * intl/gettextP.h: Likewise.
747 * intl/loadmsgcat.c: Likewise.
748 * intl/localealias.c: Likewise.
749 * intl/textdomain.c: Likewise.
750 * libidn/idn-stub.c: Likewise.
751 * libio/libioP.h: Likewise.
752 * locale/duplocale.c: Likewise.
753 * locale/freelocale.c: Likewise.
754 * locale/newlocale.c: Likewise.
755 * locale/setlocale.c: Likewise.
756 * login/getutent_r.c: Likewise.
757 * login/getutid_r.c: Likewise.
758 * login/getutline_r.c: Likewise.
759 * login/utmp-private.h: Likewise.
760 * login/utmpname.c: Likewise.
761 * malloc/mtrace.c: Likewise.
762 * misc/efgcvt.c: Likewise.
763 * misc/error.c: Likewise.
764 * misc/fstab.c: Likewise.
765 * misc/getpass.c: Likewise.
766 * misc/mntent.c: Likewise.
767 * misc/syslog.c: Likewise.
768 * nis/nis_call.c: Likewise.
769 * nis/nis_callback.c: Likewise.
770 * nis/nss-default.c: Likewise.
771 * nis/nss_compat/compat-grp.c: Likewise.
772 * nis/nss_compat/compat-initgroups.c: Likewise.
773 * nis/nss_compat/compat-pwd.c: Likewise.
774 * nis/nss_compat/compat-spwd.c: Likewise.
775 * nis/nss_nis/nis-alias.c: Likewise.
776 * nis/nss_nis/nis-ethers.c: Likewise.
777 * nis/nss_nis/nis-grp.c: Likewise.
778 * nis/nss_nis/nis-hosts.c: Likewise.
779 * nis/nss_nis/nis-network.c: Likewise.
780 * nis/nss_nis/nis-proto.c: Likewise.
781 * nis/nss_nis/nis-pwd.c: Likewise.
782 * nis/nss_nis/nis-rpc.c: Likewise.
783 * nis/nss_nis/nis-service.c: Likewise.
784 * nis/nss_nis/nis-spwd.c: Likewise.
785 * nis/nss_nisplus/nisplus-alias.c: Likewise.
786 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
787 * nis/nss_nisplus/nisplus-grp.c: Likewise.
788 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
789 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
790 * nis/nss_nisplus/nisplus-network.c: Likewise.
791 * nis/nss_nisplus/nisplus-proto.c: Likewise.
792 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
793 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
794 * nis/nss_nisplus/nisplus-service.c: Likewise.
795 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
796 * nis/ypclnt.c: Likewise.
797 * nptl/libc_pthread_init.c: Likewise.
798 * nss/getXXbyYY.c: Likewise.
799 * nss/getXXent.c: Likewise.
800 * nss/getXXent_r.c: Likewise.
801 * nss/nss_db/db-XXX.c: Likewise.
802 * nss/nss_db/db-netgrp.c: Likewise.
803 * nss/nss_db/nss_db.h: Likewise.
804 * nss/nss_files/files-XXX.c: Likewise.
805 * nss/nss_files/files-alias.c: Likewise.
806 * nss/nsswitch.c: Likewise.
807 * posix/regex_internal.h: Likewise.
808 * posix/wordexp.c: Likewise.
809 * pwd/fgetpwent.c: Likewise.
810 * resolv/res_hconf.c: Likewise.
811 * resolv/res_libc.c: Likewise.
812 * shadow/fgetspent.c: Likewise.
813 * shadow/lckpwdf.c: Likewise.
814 * shadow/sgetspent.c: Likewise.
815 * socket/opensock.c: Likewise.
816 * stdio-common/reg-modifier.c: Likewise.
817 * stdio-common/reg-printf.c: Likewise.
818 * stdio-common/reg-type.c: Likewise.
819 * stdio-common/vfprintf.c: Likewise.
820 * stdio-common/vfscanf.c: Likewise.
821 * stdlib/abort.c: Likewise.
822 * stdlib/cxa_atexit.c: Likewise.
823 * stdlib/fmtmsg.c: Likewise.
824 * stdlib/random.c: Likewise.
825 * stdlib/setenv.c: Likewise.
826 * string/strsignal.c: Likewise.
827 * sunrpc/auth_none.c: Likewise.
828 * sunrpc/bindrsvprt.c: Likewise.
829 * sunrpc/create_xid.c: Likewise.
830 * sunrpc/key_call.c: Likewise.
831 * sunrpc/rpc_thread.c: Likewise.
832 * sysdeps/arm/backtrace.c: Likewise.
833 * sysdeps/generic/ldsodefs.h: Likewise.
834 * sysdeps/generic/stdio-lock.h: Likewise.
835 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
836 * sysdeps/i386/backtrace.c: Likewise.
837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
838 * sysdeps/m68k/backtrace.c: Likewise.
839 * sysdeps/mach/hurd/cthreads.c: Likewise.
840 * sysdeps/mach/hurd/dirstream.h: Likewise.
841 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
842 * sysdeps/nptl/malloc-machine.h: Likewise.
843 * sysdeps/nptl/stdio-lock.h: Likewise.
844 * sysdeps/posix/dirstream.h: Likewise.
845 * sysdeps/posix/getaddrinfo.c: Likewise.
846 * sysdeps/posix/system.c: Likewise.
847 * sysdeps/pthread/aio_suspend.c: Likewise.
848 * sysdeps/s390/s390-32/backtrace.c: Likewise.
849 * sysdeps/s390/s390-64/backtrace.c: Likewise.
850 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
851 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
852 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
853 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
854 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
855 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
856 * sysdeps/unix/sysv/linux/system.c: Likewise.
857 * sysdeps/x86_64/backtrace.c: Likewise.
858 * time/alt_digit.c: Likewise.
859 * time/era.c: Likewise.
860 * time/tzset.c: Likewise.
861 * wcsmbs/wcsmbsload.c: Likewise.
862 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
863 instead of <bits/libc-lock.h> in comment.
864
865 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
866
867 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
868 Only use .set mips2 if the current ISA is below mips2.
869 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
870 Likewise.
871 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
872 mips32r2 if the current ISA is below mips32r2.
873 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
874 (TLS_IE): Updated to use the TLD_RDHWR macro.
875 (TLS_LE): Likewise.
876 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
877 __ASSEMBLER__ condition.
878
879 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
880
881 Fix parallel build of before-compile targets.
882
883 * sysdeps/mach/Makefile ($(patsubst
884 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
885 mach-before-compile target.
886 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
887 io fs process)): Move rule to dedicated hurd-before-compile target.
888
889 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
890
891 Fix rules generating headers in hurd/ and mach/ when initial make call
892 has subdir= explicitly set.
893
894 * sysdeps/mach/Makefile ($(patsubst
895 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
896 calling $(MAKE).
897 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
898 io fs process)): Force subdir to hurd when calling $(MAKE).
899 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
900 subdir to mach when calling $(MAKE).
901
902 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
903
904 Check sysheaders when looking for Mach and Hurd headers
905
906 * sysdeps/mach/configure.ac: Add sysheaders check.
907 * sysdeps/mach/configure: Regenerate.
908 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
909 * sysdeps/mach/hurd/configure: Regenerate.
910
911 2015-09-04 Roland McGrath <roland@hack.frob.com>
912
913 [BZ #18921]
914 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
915 Fix inverted sense of test of 'o_directory_works' value.
916 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
917 Bernhard Voelker <mail@bernhard-voelker.de>.
918
919 2015-09-04 Joseph Myers <joseph@codesourcery.com>
920
921 [BZ #14912]
922 * bits/linkmap.h: Move to ...
923 * sysdeps/generic/linkmap.h: ...here.
924 * sysdeps/aarch64/bits/linkmap.h: Move to ...
925 * sysdeps/aarch64/linkmap.h: ...here.
926 * sysdeps/arm/bits/linkmap.h: Move to ...
927 * sysdeps/arm/linkmap.h: ...here.
928 * sysdeps/hppa/bits/linkmap.h: Move to ...
929 * sysdeps/hppa/linkmap.h: ...here.
930 * sysdeps/ia64/bits/linkmap.h: Move to ...
931 * sysdeps/ia64/linkmap.h: ...here.
932 * sysdeps/mips/bits/linkmap.h: Move to ...
933 * sysdeps/mips/linkmap.h: ...here.
934 * sysdeps/s390/bits/linkmap.h: Move to ...
935 * sysdeps/s390/linkmap.h: ...here.
936 * sysdeps/sh/bits/linkmap.h: Move to ...
937 * sysdeps/sh/linkmap.h: ...here.
938 * sysdeps/x86/bits/linkmap.h: Move to ...
939 * sysdeps/x86/linkmap.h: ...here.
940 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
941
942 2015-09-04 Andreas Schwab <schwab@suse.de>
943
944 [BZ #18635]
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
946 (__makecontext): Terminate FDE before return label.
947 (__novec_makecontext): Likewise.
948
949 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
950
951 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
952 first member of struct sv in syscall macro.
953
954 2015-09-04 Joseph Myers <joseph@codesourcery.com>
955
956 [BZ #14912]
957 * bits/stdio-lock.h: Move to ...
958 * sysdeps/generic/stdio-lock.h: ...here.
959 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
960 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
961 * sysdeps/nptl/stdio-lock.h: ...here.
962 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
963 * include/libio.h: Include <stdio-lock.h> instead of
964 <bits/stdio-lock.h>.
965 * sysdeps/nptl/fork.c: Likewise.
966 * sysdeps/pthread/flockfile.c: Likewise.
967 * sysdeps/pthread/ftrylockfile.c: Likewise.
968 * sysdeps/pthread/funlockfile.c: Likewise.
969
970 [BZ #14912]
971 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
972 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
973 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
974 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
975 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
976 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
977 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
978
979 2015-09-03 Roland McGrath <roland@hack.frob.com>
980
981 * elf/Makefile (test-xfail-tst-protected1a): New variable.
982 (test-xfail-tst-protected1b): New variable.
983
984 2015-09-03 Joseph Myers <joseph@codesourcery.com>
985
986 [BZ #14912]
987 * bits/libc-tsd.h: Move to ...
988 * sysdeps/generic/libc-tsd.h: ...here.
989 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
990 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
991 * sysdeps/mach/hurd/libc-tsd.h: ...here.
992 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
993 * include/ctype.h: Include <libc-tsd.h> instead of
994 <bits/libc-tsd.h>.
995 * include/rpc/rpc.h: Likewise.
996 * locale/localeinfo.h: Likewise.
997 * sunrpc/rpc_thread.c: Likewise.
998 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
999 * sysdeps/nptl/malloc-machine.h: Likewise.
1000
1001 * Makefile (headers): Remove bits/libc-lock.h.
1002 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1003
1004 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1005 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1006 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1007 <bits/stdio-lock.h>.
1008 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1009 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1010
1011 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1012
1013 [BZ #18757]
1014 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1015 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1016 BZ #18757.
1017
1018 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1019
1020 * malloc/mtrace.pl: Filter out NULL entries.
1021
1022 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1023
1024 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1025 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1026 macro.
1027
1028 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1029 (TCP_CC_INFO): Likewise.
1030 (TCP_SAVE_SYN): Likewise.
1031 (TCP_SAVED_SYN): Likewise.
1032
1033 2015-08-31 Brett Neumeier <brett@neumeier.us>
1034
1035 [BZ #18870]
1036 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1037
1038 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1039
1040 [BZ #18873]
1041 Fix broken overflow check in posix_fallocate
1042 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1043 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1044 Fix parenthesization typo.
1045
1046 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1047
1048 [BZ #18887]
1049 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1050 tst-mntent-blank-passno.
1051 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1052 * misc/tst-mntent-blank-corrupt.c: New test.
1053 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1054 * misc/tst-mntent.c (do_test): ... here.
1055
1056 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1057
1058 [BZ #4404]
1059 * po/de.po: Fix SIGALRM typo.
1060
1061 2015-08-28 James Perkins <james@loowit.net>
1062
1063 * time/tst-strptime2.c (tests): Replace short list of test
1064 strings for strptime %z specifier with code which exhaustively
1065 tests every combination of sign and 0 to 5 digits. Tests for
1066 rejection of invalid strings.
1067
1068 2015-08-28 James Perkins <james@loowit.net>
1069
1070 [BZ #16141]
1071 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1072 calculation, removing incorrect decimal time rounding, so that
1073 all minute values result in a valid seconds value.
1074 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1075 offset range limits to UTC-99:59 through UTC+99:59 to parse
1076 current and historical use cases.
1077 * time/tst-strptime2.c (tests): Modify and add tests for the
1078 strptime %z input field descriptor, specifically conversion of
1079 minutes to seconds and validating an offset range of -9959 to
1080 +9959.
1081
1082 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1083 Dmitry V. Levin <ldv@altlinux.org>
1084
1085 [BZ #18877]
1086 * posix/Makefile (tests): Add tst-mmap-offset.
1087 * posix/tst-mmap.c: New file.
1088 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1089 offset calculation for negative values.
1090
1091 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/i386/init-arch.h: New file.
1094 * sysdeps/i386/i586/init-arch.h: Likewise.
1095 * sysdeps/i386/i686/init-arch.h: Likewise.
1096 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1097 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1098 * sysdeps/x86/cpu-features.h (bit_I586): New.
1099 (bit_I686): Likewise.
1100 (bit_CX8): Likewise.
1101 (bit_CMOV): Likewise.
1102 (index_CX8): Likewise.
1103 (index_CMOV): Likewise.
1104 (index_I586): Likewise.
1105 (index_I686): Likewise.
1106 (reg_CX8): Likewise.
1107 (reg_CMOV): Likewise.
1108 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1109 available at compile-time.
1110 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1111 available at compile-time.
1112 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1113 (USE_I686): Likewise.
1114
1115 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * sysdeps/i386/bcopy.S: New file.
1118 * sysdeps/i386/bzero.S: Likewise.
1119 * sysdeps/i386/memcpy.S: Likewise.
1120 * sysdeps/i386/memmove.S: Likewise.
1121 * sysdeps/i386/mempcpy.S: Likewise.
1122 * sysdeps/i386/memset.S: Likewise.
1123 * sysdeps/i386/bzero.c: Removed.
1124 * sysdeps/i386/memset.c: Likewise.
1125 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1126 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1127 * sysdeps/i386/i586/memset_chk.S: Likewise.
1128 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1129 * sysdeps/i386/memcpy_chk.S: Here.
1130 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1131 * sysdeps/i386/memmove_chk.S: Here.
1132 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1133 * sysdeps/i386/mempcpy_chk.S: Likewise.
1134 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1135 * sysdeps/i386/memset_chk.S: Likewise.
1136
1137 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1138
1139 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1140 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1141 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1142 * soft-fp/fmadf4.c: Ditto.
1143 * soft-fp/fmatf4.c: Ditto.
1144
1145 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * sysdeps/i386/i586/Implies: Removed.
1148 * sysdeps/i386/i686/Implies: Likewise.
1149
1150 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 * sysdeps/i386/i486/strlen.S: Moved to ...
1153 * sysdeps/i386/strlen.S: Here.
1154
1155 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 * sysdeps/i386/i486/strcat.S: Moved to ...
1158 * sysdeps/i386/strcat.S: Here.
1159
1160 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1161
1162 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1163 * sysdeps/i386/pthread_spin_trylock.S: Here.
1164 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1165 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1166
1167 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1170 * sysdeps/i386/string-inlines.c: Here.
1171
1172 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 * sysdeps/i386/i486/htonl.S: Moved ...
1175 * sysdeps/i386/htonl.S: here.
1176
1177 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1180 * sysdeps/i386/bits/atomic.h: Here.
1181
1182 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * sysdeps/i386/i486/Versions: Removed.
1185
1186 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1187
1188 [BZ #2898]
1189 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1190 Based on patch by Aurelien Jarno.
1191
1192 2015-08-26 Stan Shebs <stanshebs@google.com>
1193
1194 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1195 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1196
1197 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1198
1199 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1200 * sysdeps/powerpc/dl-procinfo.c:
1201 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1202 feature so it shows when LD_SHOW_AUXV=1.
1203
1204 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1205
1206 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1207 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1208 definition. ISA 2.07B no longer requires full sync.
1209
1210 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1211
1212 [BZ #18863]
1213 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1214 (si_call_addr): Define.
1215 (si_syscall): Define.
1216 (si_arch): Define.
1217
1218 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1219
1220 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1221 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1222 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1223 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1224 (__memset_zero_constant_len_parameter): New.
1225 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1226 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1227 (__memset_zero_constant_len_parameter): Don't define if
1228 __memset_chk or USE_AS_BZERO are defined.
1229
1230 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1231 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1232 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1233
1234 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1235 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1236 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1237 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1238 comments.
1239 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1240 -mno-mmx for $(all-rtld-routines).
1241 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1242 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1243 i386.
1244
1245 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1246
1247 * sysdeps/generic/unwind.h
1248 (_Unwind_Word): Use __mode__(__unwind_word__)
1249 instead of __mode__(__word__).
1250 (_Unwind_Sword): Likewise.
1251
1252 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1253 (MAX_NEEDED_INPUT): New define.
1254 (MAX_NEEDED_OUTPUT): New define.
1255
1256 * NEWS: New item for IBM z13 string optimizations.
1257
1258 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1259 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1260 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1261 * sysdeps/s390/multiarch/Makefile
1262 (sysdep_routines): Add memrchr functions.
1263 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1264 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1265
1266 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1267 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1268 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1269 * sysdeps/s390/multiarch/Makefile
1270 (sysdep_routines): Add wmemcmp functions.
1271 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1272 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1273 * benchtests/bench-wmemcmp.c: New File.
1274 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1275
1276 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1277 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1278 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1279 * sysdeps/s390/multiarch/Makefile
1280 (sysdep_routines): Add wmemset functions.
1281 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1282 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1283 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1284 * string/test-memset.c: Add wmemset support.
1285 * wcsmbs/test-wmemset.c: New File.
1286 * wcsmbs/Makefile (strop-tests): Add wmemset.
1287 * benchtests/bench-memset.c: Add wmemset support.
1288 * benchtests/bench-wmemset.c: New File.
1289 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1290
1291 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1292 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1293 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1294 * sysdeps/s390/multiarch/Makefile
1295 (sysdep_routines): Add memccpy functions.
1296 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1297 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1298 * string/memccpy.c: Use MEMCCPY if defined.
1299
1300 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1301 * sysdeps/s390/multiarch/memchr.c: Likewise.
1302 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1303 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1304 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1305 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1306 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1307 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1308 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1309 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1310 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1311 and rawmemchr functions.
1312 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1313 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1314 and wmemchr.
1315 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1316 * string/test-memchr.c: Add wmemchr support.
1317 * wcsmbs/test-wmemchr.c: New File.
1318 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1319 * benchtests/bench-memchr.c: Add wmemchr support.
1320 * benchtests/bench-wmemchr.c: New File.
1321 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1322
1323 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1324 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1325 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1326 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1327 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1328 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1329 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1330 wcscspn functions.
1331 * sysdeps/s390/multiarch/ifunc-impl-list.c
1332 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1333 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1334 * string/test-strcspn.c: Add wcscspn support.
1335 * wcsmbs/test-wcscspn.c: New File.
1336 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1337 * benchtests/bench-strcspn.c: Add wcscspn support.
1338 * benchtests/bench-wcscspn.c: New File.
1339 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1340
1341 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1342 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1343 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1344 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1345 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1346 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1347 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1348 wcspbrk functions.
1349 * sysdeps/s390/multiarch/ifunc-impl-list.c
1350 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1351 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1352 * string/test-strpbrk.c: Add wcspbrk support.
1353 * wcsmbs/test-wcspbrk.c: New File.
1354 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1355 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1356 * benchtests/bench-wcspbrk.c: New File.
1357 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1358
1359 * sysdeps/s390/multiarch/strspn-c.c: New File.
1360 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1361 * sysdeps/s390/multiarch/strspn.c: Likewise.
1362 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1363 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1364 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1365 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1366 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1367 wcsspn functions.
1368 * sysdeps/s390/multiarch/ifunc-impl-list.c
1369 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1370 * string/test-strspn.c: Add wcsspn support.
1371 * wcsmbs/test-wcsspn.c: New File.
1372 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1373 * benchtests/bench-strspn.c: Add wcsspn support.
1374 * benchtests/bench-wcsspn.c: New File.
1375 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1376
1377 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1378 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1379 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1380 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1381 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1382 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1383 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1384 wcsrchr functions.
1385 * sysdeps/s390/multiarch/ifunc-impl-list.c
1386 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1387 * benchtests/bench-wcsrchr.c: New File.
1388 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1389
1390 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1391 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1392 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1393 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1394 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1395 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1396 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1397 wcschrnul functions.
1398 * sysdeps/s390/multiarch/ifunc-impl-list.c
1399 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1400 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1401 * string/test-strchr.c: Add wcschrnul support.
1402 * wcsmbs/test-wcschrnul.c: New File.
1403 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1404 * benchtests/bench-strchr.c: Add wcschrnul support.
1405 * benchtests/bench-wcschrnul.c: New File.
1406 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1407
1408 * sysdeps/s390/multiarch/strchr-c.c: New File.
1409 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1410 * sysdeps/s390/multiarch/strchr.c: Likewise.
1411 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1412 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1413 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1414 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1415 wcschr functions.
1416 * sysdeps/s390/multiarch/ifunc-impl-list.c
1417 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1418 * string/strchr.c (STRCHR): Define and use macro.
1419 * benchtests/bench-wcschr.c: New File.
1420 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1421
1422 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1423 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1424 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1425 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1426 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1427 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1428 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1429 wcsncmp functions.
1430 * sysdeps/s390/multiarch/ifunc-impl-list.c
1431 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1432 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1433 * benchtests/bench-strncmp.c: Add wcsncmp support.
1434 * benchtests/bench-wcsncmp.c: New File.
1435 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1436
1437 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1438 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1439 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1440 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1441 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1442 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1443 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1444 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1445 wcscmp functions.
1446 * sysdeps/s390/multiarch/ifunc-impl-list.c
1447 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1448 * string/strcmp.c (STRCMP): Define and use macro.
1449 * benchtests/bench-wcscmp.c: New File.
1450 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1451 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1452 instead of _HAVE_STRING_ARCH_memchr.
1453
1454 * sysdeps/s390/multiarch/strncat-c.c: New File.
1455 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1456 * sysdeps/s390/multiarch/strncat.c: Likewise.
1457 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1458 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1459 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1460 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1461 wcsncat functions.
1462 * sysdeps/s390/multiarch/ifunc-impl-list.c
1463 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1464 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1465 * string/test-strncat.c: Add wcsncat support.
1466 * wcsmbs/test-wcsncat.c: New File.
1467 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1468 * benchtests/bench-strncat.c: Add wcsncat support.
1469 * benchtests/bench-wcsncat.c: New File.
1470 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1471
1472 * sysdeps/s390/multiarch/strcat-c.c: New File.
1473 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1474 * sysdeps/s390/multiarch/strcat.c: Likewise.
1475 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1476 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1477 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1478 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1479 wcscat functions.
1480 * sysdeps/s390/multiarch/ifunc-impl-list.c
1481 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1482 * string/strcat.c (STRCAT): Define and use macro.
1483 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1484 * string/test-strcat.c: Add wcscat support.
1485 * wcsmbs/test-wcscat.c: New File.
1486 * wcsmbs/Makefile (strop-tests): Add wcscat.
1487 * benchtests/bench-strcat.c: Add wcscat support.
1488 * benchtests/bench-wcscat.c: New File.
1489 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1490
1491 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1492 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1493 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1494 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1495 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1496 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1497 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1498 wcpncpy functions.
1499 * sysdeps/s390/multiarch/ifunc-impl-list.c
1500 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1501 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1502 * string/test-stpncpy.c: Add wcpncpy support.
1503 * wcsmbs/test-wcpncpy.c: New File.
1504 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1505 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1506 * benchtests/bench-wcpncpy.c: New File.
1507 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1508
1509 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1510 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1511 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1512 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1513 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1514 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1515 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1516 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1517 wcsncpy functions.
1518 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1519 * sysdeps/s390/multiarch/ifunc-impl-list.c
1520 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1521 * string/test-strncpy.c: Add wcsncpy support.
1522 * wcsmbs/test-wcsncpy.c: New File.
1523 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1524 * benchtests/bench-strncpy.c: Add wcsncpy support.
1525 * benchtests/bench-wcsncpy.c: New File.
1526 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1527
1528 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1529 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1530 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1531 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1532 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1533 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1534 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1535 wcpcpy functions.
1536 * string/stpcpy.c: Use STPCPY if defined.
1537 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1538 * sysdeps/s390/multiarch/ifunc-impl-list.c
1539 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1540 * string/test-stpcpy.c: Add wcpcpy support.
1541 * wcsmbs/test-wcpcpy.c: New File.
1542 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1543 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1544 * benchtests/bench-wcpcpy.c: New File.
1545 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1546
1547 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1548 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1549 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1550 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1551 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1552 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1553 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1554 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1555 wcscpy functions.
1556 * sysdeps/s390/multiarch/ifunc-impl-list.c
1557 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1558 * benchtests/bench-wcscpy.c: New File.
1559 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1560
1561 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1562 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1563 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1564 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1565 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1566 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1567 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1568 wcsnlen functions.
1569 * sysdeps/s390/multiarch/ifunc-impl-list.c
1570 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1571 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1572 * string/test-strnlen.c: Add wcsnlen support.
1573 * wcsmbs/test-wcsnlen.c: New File.
1574 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1575 * benchtests/bench-strnlen.c: Add wcsnlen support.
1576 * benchtests/bench-wcsnlen.c: New File.
1577 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1578
1579 * sysdeps/s390/multiarch/Makefile: New File.
1580 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1581 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1582 * sysdeps/s390/multiarch/strlen.c: Likewise.
1583 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1584 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1585 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1586 * string/strlen.c (STRLEN): Define and use macro.
1587 * sysdeps/s390/multiarch/ifunc-impl-list.c
1588 (IFUNC_VX_IMPL): New macro function.
1589 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1590 * benchtests/Makefile (wcsmbs-bench): New variable.
1591 (string-bench-all): Added wcsmbs-bench.
1592 * benchtests/bench-wcslen.c: New File.
1593
1594 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1595 s390_vx_libc_ifunc2): New macro function.
1596
1597 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1598 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1599 assembler support.
1600 * sysdeps/s390/configure: Regenerated.
1601
1602 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1603 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1604
1605 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1606 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1607 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1608
1609 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1610 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1612 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1613 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1614 (memcmp, bcmp): Use __memcmp_default as alias source.
1615 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1616 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1617 Rename to __memcmp_default.
1618 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1619 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1620 (memcpy): Use __memcpy_default as alias source.
1621 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1622 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1623 Rename to __memcpy_default.
1624 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1625 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1626 (memset): Use __memset_default as alias source.
1627 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1628 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1629 Rename to __memset_default.
1630 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1631 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1632 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1633 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1634 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1635 (memcmp, bcmp): Use __memcmp_default as alias source.
1636 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1637 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1638 Rename to __memcmp_default.
1639 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1640 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1641 (memcpy): Use __memcpy_default as alias source.
1642 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1643 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1644 Rename to __memcpy_default.
1645 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1646 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1647 (memset): Use __memset_default as alias source.
1648 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1649 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1650 Rename to __memset_default.
1651 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1652 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1653
1654 [BZ #18610]
1655 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1656 __ieee_instruction_pointer to __unused.
1657 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1658 __ieee_instruction_pointer.
1659 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1660 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1661 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1662 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1663 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1664 Mark dxc-field as reserved.
1665
1666 2015-08-25 Roland McGrath <roland@hack.frob.com>
1667
1668 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1669 if the weak reference is not null.
1670
1671 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1674
1675 [BZ #11214]
1676 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1677
1678 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1679
1680 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1681 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1682 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1683 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1684 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1685 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1686 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1687 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1688 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1689 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1690 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1691 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1692 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1693 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1694 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1695 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1696 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1697 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1698
1699 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1700
1701 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1702 register other than r0 for tabort, it has special meaning.
1703 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1704 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1705 transaction before starting syscall.
1706
1707 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1708
1709 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1710
1711 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1714
1715 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1716 * sysdeps/x86_64/rtld-memset.S: Likewise.
1717 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1718 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1719 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1720 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1721
1722 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1723
1724 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1725
1726 * debug/strcpy_chk.c: Improve performance.
1727 * debug/stpcpy_chk.c: Likewise.
1728 * sysdeps/x86_64/strcpy_chk.S: Remove.
1729 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1730
1731 [BZ #18240]
1732 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1733
1734 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 [BZ #15128]
1737 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1738 ifuncmain8.
1739 (modules-names): Add ifuncmod8.
1740 ($(objpfx)ifuncmain8): New rule.
1741 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1742 <cpuid.h>.
1743 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1744 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1745 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1746 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1747 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1748 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1749 * sysdeps/x86_64/ifuncmain8.c: New file.
1750 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1751 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1752 Removed.
1753 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1754 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1755 Change rtld_savespace_sse to __glibc_unused2.
1756 (RTLD_CHECK_FOREIGN_CALL): Removed.
1757 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1758 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1759 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1760
1761 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1762
1763 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1764
1765 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1766
1767 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1768 Unconditionally set __fpcr to avoid uninialized warning.
1769 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1770
1771 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1774 is corrupt.
1775
1776 * malloc/arena.c (arena_get2): Drop unused argument.
1777 (arena_lock): Adjust.
1778 (arena_get_retry): Likewise.
1779
1780 2015-08-24 Andreas Schwab <schwab@suse.de>
1781
1782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1783 Don't define.
1784 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1785 (__ASSUME_IPC64): Don't undef.
1786 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1787 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1788 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1789 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1790 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1791 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1792 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1793 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1794 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1795 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1797 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1798 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1799 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1800 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1801 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1803 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1807
1808 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1809
1810 * manual/Makefile (install): Only build manual when perl is available.
1811
1812 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1813
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1815 '#undef memcpy' by '#undef memchr'.
1816
1817 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1818
1819 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1820 memchr not point to the internal __GI_memchr implementation.
1821
1822 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1823
1824 * timezone/Makefile (CFLAGS-zdump.c): Remove
1825 -Wno-strict-prototypes.
1826 (CFLAGS-zic.c): Likewise.
1827 (CFLAGS-ialloc.c): Likewise.
1828 (CFLAGS-scheck.c): Likewise.
1829
1830 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1831 -Wno-error=undef.
1832
1833 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 * i386/i686/multiarch/strcasestr-c.c: Removed.
1836 * x86_64/multiarch/strcasestr.c: Likewise.
1837 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1838 Remove strcasestr.
1839
1840 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1841
1842 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1843
1844 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1845 variables for high and low parts before possibly modifying them.
1846
1847 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1850 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1851 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1852 of "multiarch/init-arch.h".
1853 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1854 * sysdeps/x86/init-arch.h: This.
1855
1856 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1859 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1860
1861 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1862
1863 [BZ #17787]
1864 * manual/macros.texi: Add twoexp macro.
1865 * manual/filesys.texi: Fix exponents.
1866 * manual/llio.texi: Likewise.
1867 * manual/stdio.texi: Likewise.
1868
1869 2015-08-20 Florian Weimer <fweimer@redhat.com>
1870
1871 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1872 incorrect use.
1873
1874 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #18370]
1877 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1878 whose real or imaginary part has small absolute value.
1879 * math/s_csqrtf.c (__csqrtf): Likewise.
1880 * math/s_csqrtl.c (__csqrtl): Likewise.
1881 * math/auto-libm-test-in: Add more tests of csqrt.
1882 * math/auto-libm-test-out: Regenerated.
1883 * sysdeps/i386/fpu/libm-test-ulps: Update.
1884
1885 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1886
1887 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1888 __ppc_set_ppr_very_low): New functions.
1889 * manual/platform.texi: Add documentation about
1890 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1891
1892 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1893
1894 * string/stpncpy.c (stpncpy): Improve performance using
1895 __strnlen/memcpy/memset.
1896
1897 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1898
1899 [BZ #18796]
1900 * scripts/test-installation.pl: Don't add -lmvec to build options if
1901 libmvec wasn't built.
1902
1903 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1904
1905 [BZ #14341]
1906 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1907 case when there is a gap between DT_REL and DT_JMPREL sections.
1908 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1909 (LDFLAGS-tst-split-dynreloc): New.
1910 (tst-split-dynreloc-ENV): Likewise.
1911 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1912 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1913
1914 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1915
1916 [BZ #18822]
1917 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1918 attribute_hidden.
1919 (__xstat64_conv): Likewise.
1920 (__xstat32_conv): Likewise.
1921
1922 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1923
1924 [BZ #18822]
1925 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1926 Don't load %ebx when calling __setcontext. Call __setcontext
1927 with HIDDEN_JUMPTARGET.
1928 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1929 libc_hidden_def.
1930
1931 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 * sysdeps/i386/i686/Makefile
1934 [$(subdir) == string] (sysdep_routines): Moved to ...
1935 * sysdeps/i386/Makefile: Here.
1936 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1937 * sysdeps/i386/cacheinfo.c: Here.
1938 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1939 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1941 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1942
1943 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1946 __i586__ is defined.
1947 (HAS_I686): Defined to 1 if __i686__ is defined.
1948
1949 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1950
1951 * elf/Makefile [$(have-z-execstack) = yes]
1952 (CPPFLAGS-tst-execstack.c): New variable.
1953
1954 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1955 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1956 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1957 UTMPX || _HAVE_UT_TV].
1958 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1959 UTMPX || _HAVE_UT_TV - 0].
1960
1961 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1964 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1965 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1966
1967 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1968
1969 * sysdeps/powerpc/dl-procinfo.c:
1970 (_dl_powerpc_cap_flags): Added missing strings for some
1971 hwcap features.
1972 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1973
1974 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1975
1976 Port the 0x7efe...feff pattern to GCC 6.
1977 See Steve Ellcey's bug report in:
1978 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1979 * string/memrchr.c (MEMRCHR):
1980 * string/rawmemchr.c (RAWMEMCHR):
1981 * string/strchr.c (strchr):
1982 * string/strchrnul.c (STRCHRNUL):
1983 Rewrite code to avoid issues with signed shift overflow.
1984
1985 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1988 whether cpuid is available only if HAS_CPUID is 0.
1989 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1990 (HAS_I586): Likewise.
1991 (HAS_I686): Likewise.
1992
1993 2015-08-18 Zack Weinberg <zackw@panix.com>
1994
1995 * misc/Versions (libc): Add GLIBC_2.23.
1996
1997 2015-08-18 Alan Modra <amodra@gmail.com>
1998
1999 [BZ #18421]
2000 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2001 .Lp__global.
2002 (_start): Load %dp via .Lp__global.
2003 [!SHARED]: Use .section .rodata.
2004
2005 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2006
2007 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2008 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2009
2010 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2011
2012 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2013 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2014
2015 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2016
2017 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2018 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2019
2020 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2021
2022 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2023 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2024
2025 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2026
2027 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2028 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2029
2030 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2031
2032 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2033 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2034
2035 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2036
2037 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2038
2039 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2040
2041 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2042 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2043 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2044 (__ASSUME_LWS_CAS): Delete.
2045
2046 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2047
2048 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2049 * sysdeps/hppa/configure: Regenerated.
2050 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2051 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2052 * sysdeps/hppa/nptl/tls.h: Likewise.
2053
2054 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2055
2056 [BZ #18823]
2057 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2058 for scaling up small arguments.
2059 * math/s_csqrtf.c (__csqrtf): Likewise.
2060 * math/s_csqrtl.c (__csqrtl): Likewise.
2061 * math/auto-libm-test-in: Add more tests of csqrt.
2062 * math/auto-libm-test-out: Regenerated.
2063
2064 2015-08-17 Andreas Schwab <schwab@suse.de>
2065
2066 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2067 version set GLIBC_2.19.
2068
2069 2015-08-16 Zack Weinberg <zackw@panix.com>
2070
2071 [BZ #18681]
2072 * misc/regexp.h: This interface is no longer supported.
2073 Remove all contents, leaving only an #error directive.
2074 * misc/regexp.c (loc1, loc2, locs, step, advance):
2075 Demote to compatibility symbols.
2076
2077 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2078
2079 [BZ #18084]
2080 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2081 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2082 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2083 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2084 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2085 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2086 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2087 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2088 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2089
2090 2015-08-15 Zack Weinberg <zackw@panix.com>
2091
2092 [BZ #18795]
2093 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2094 buffer length is known to be too large, not if it's known to be
2095 small enough.
2096 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2097 overflow at runtime, involving a length parameter, twice: once
2098 with a compile-time constant length parameter, once without.
2099
2100 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2101
2102 [BZ #18824]
2103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2104 scaling x * y up instead of down.
2105 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2107 * math/auto-libm-test-in: Add more tests of fma.
2108 * math/auto-libm-test-out: Regenerated.
2109
2110 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2111
2112 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2113
2114 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2115
2116 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2117 unnecessary movq.
2118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2119 Likewise.
2120
2121 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2122
2123 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2124 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2125 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2126 and tgamma.
2127 * math/auto-libm-test-out: Regenerated.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2130
2131 [BZ #16520]
2132 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2133 (__tanh): Force underflow exception for arguments with small
2134 absolute value.
2135 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2136 (__tanhf): Force underflow exception for arguments with small
2137 absolute value.
2138 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2139 (__tanhl): Force underflow exception for arguments with small
2140 absolute value.
2141 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2142 (__tanhl): Force underflow exception for arguments with small
2143 absolute value.
2144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2145 (__tanhl): Force underflow exception for arguments with small
2146 absolute value.
2147 * math/auto-libm-test-in: Add more tests of tanh.
2148 * math/auto-libm-test-out: Regenerated.
2149 * sysdeps/i386/fpu/libm-test-ulps: Update.
2150
2151 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2154 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2155
2156 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2157
2158 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2159 <cpuid.h>.
2160
2161 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2164 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2165
2166 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2169 Remove $(objpfx)init-arch.o.
2170 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2171 init-arch.
2172 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2173 (INIT_ARCH_EXT): Defined as empty.
2174 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2175 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2176 __init_cpu_features call. Replace HAS_XXX with
2177 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2178 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2179 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2180 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2181 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2182 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2183 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2184 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2185 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2186 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2187 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2188 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2196 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2197 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2198 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2199 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2200 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2201 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2202 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2203 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2204 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2205 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2206 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2207 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2208 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2209 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2210 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2211 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2212 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2213
2214 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2217 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2218 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2219 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2220 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2221 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2222 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2223 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2224 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2225 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2226 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2227 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2228 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2229 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2230 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2231 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2232 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2233 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2234 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2235 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2236 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2237 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2259
2260 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2263 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2264 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2265 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2266 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2267 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2268 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2269 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2270 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2273 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2274 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2275 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2277 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2278 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2279 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2280 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2281 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2283 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2284 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2285 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2286 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2287 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2288 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2289 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2290 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2291 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2292 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2293 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2294 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2295 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2296 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2297 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2298 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2299 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2300 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2301 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2302 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2303 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2304 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2305
2306 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2307
2308 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2309 (dl_platform_init): Call init_cpu_features.
2310 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2311 * sysdeps/i386/i686/cacheinfo.c
2312 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2313 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2314 * sysdeps/i386/i686/multiarch/Versions: Removed.
2315 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2316 Removed.
2317 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2318 * sysdeps/unix/sysv/linux/x86/Makefile
2319 (libpthread-sysdep_routines): Remove init-arch.
2320 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2321 <sysdeps/x86_64/dl-procinfo.c> instead of
2322 sysdeps/generic/dl-procinfo.c>.
2323 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2324 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2325 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2326 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2327 [$(subdir) == elf] (tests-static): Add
2328 tst-get-cpu-features-static.
2329 * sysdeps/x86/Versions: New file.
2330 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2331 * sysdeps/x86/cpu-features.c: Likewise.
2332 * sysdeps/x86/cpu-features.h: Likewise.
2333 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2334 * sysdeps/x86/libc-start.c: Likewise.
2335 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2336 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2337 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2338 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2339 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2340 Assume USE_MULTIARCH is defined and don't check it.
2341 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2342 (is_amd): Likewise.
2343 (max_cpuid): Likewise.
2344 (intel_check_word): Likewise.
2345 (__cache_sysconf): Don't call __init_cpu_features.
2346 (__x86_preferred_memory_instruction): Removed.
2347 (init_cacheinfo): Don't call __init_cpu_features. Replace
2348 __cpu_features with GLRO(dl_x86_cpu_features).
2349 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2350 (dl_platform_init): Call init_cpu_features.
2351 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2352 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2353 * sysdeps/x86_64/multiarch/Versions: Removed.
2354 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2355 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2356 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2357 Removed.
2358 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2359
2360 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2361
2362 [BZ #18820]
2363 * libio/Makefile (test-fmemopen-mem): New test.
2364 * libio/test-fmemopen.c (do_bz18820): New test.
2365 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2366 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2367
2368 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2369
2370 [BZ #16734]
2371 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2372 (FREE_BUF): Delete.
2373 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2374 * libio/genops.c (_IO_setb): Use malloc and free directly.
2375 (_IO_default_doallocate, _IO_default_finish): Likewise.
2376 ( _IO_unbuffer_all): Likewise.
2377 ( libc_freeres_fn): Likewise.
2378 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2379 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2380 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2381 (_IO_wdefault_doallocate): Likewise.
2382
2383 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2384
2385 [BZ #18086]
2386 * sysdeps/posix/nice.c (nice): Restore old errno.
2387 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2388
2389 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2390
2391 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2392
2393 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2394
2395 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2396 __bcopy and add a weak_alias to bcopy.
2397 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2398 for static build.
2399
2400 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2401 cleanup macro usage.
2402 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2403 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2404 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2410 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2413 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2414 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2415 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2416 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2418 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2419 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2420 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2421
2422 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2423 libc_hidden_def.
2424 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2425
2426 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2427 (sysdep_routines): Add strstr-ppc64.
2428 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2429
2430 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2431
2432 [BZ #18778]
2433 * elf/Makefile (tests): Add Add tst-nodelete2.
2434 (modules-names): Add tst-nodelete2mod.
2435 (tst-nodelete2mod.so-no-z-defs): New.
2436 ($(objpfx)tst-nodelete2): Likewise.
2437 ($(objpfx)tst-nodelete2.out): Likewise.
2438 (LDFLAGS-tst-nodelete2): Likewise.
2439 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2440 out of loop through all loaded libraries.
2441 * elf/tst-nodelete2.c: New file.
2442 * elf/tst-nodelete2mod.c: Likewise.
2443 * elf/tst-znodelete-zlib.cc: Delete.
2444
2445 2015-08-11 Andreas Schwab <schwab@suse.de>
2446
2447 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2448 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2449 (__openat64_nocancel): Likewise.
2450
2451 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2452
2453 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2454 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2455 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2456 * math/auto-libm-test-out: Regenerated.
2457 * sysdeps/i386/fpu/libm-test-ulps: Update.
2458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2459
2460 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2461
2462 [BZ #18790]
2463 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2464 threshold for returning +/- 1.
2465 * math/auto-libm-test-in: Add more tests of tanh.
2466 * math/auto-libm-test-out: Regenerated.
2467 * sysdeps/i386/fpu/libm-test-ulps: Update.
2468
2469 2015-08-10 Andreas Schwab <schwab@suse.de>
2470
2471 [BZ #18781]
2472 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2473 MORE_OFLAGS to oflag.
2474 * io/test-lfs.c (do_test): Test openat64.
2475
2476 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2477
2478 [BZ #18789]
2479 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2480 smaller threshold for returning the argument.
2481 * math/auto-libm-test-in: Add more tests of sinh.
2482 * math/auto-libm-test-out: Regenerated.
2483 * sysdeps/i386/fpu/libm-test-ulps: Update.
2484
2485 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 [BZ #18674]
2488 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2489 break.
2490
2491 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2492
2493 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2494 (generated): Don't add $(addprefix z.,$(tzfiles)).
2495
2496 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2497
2498 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2499 * scripts/sysd-rules.awk: Likewise.
2500
2501 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2502
2503 * iconvdata/tst-tables.sh: Change echo -n to printf.
2504 * nss/db-Makefile: Likewise.
2505 * posix/tst-getconf.sh: Likewise.
2506 * stdio-common/tst-unbputc.sh: Likewise.
2507
2508 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2509
2510 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2511 MADV_*_PAGES defines behind this feature check.
2512
2513 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2514
2515 [BZ #18480]
2516 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2517 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2518 Define.
2519 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2520 LOAD_REGS_5, LOAD_REGS_6): Update.
2521 (INTERNAL_SYSCALL): Update using new LOAD defines.
2522 (INTERNAL_SYSCALL_NCS): Likewise.
2523 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2524
2525 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2526
2527 [BZ #16734]
2528 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2529
2530 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2531
2532 [BZ #17905]
2533 * catgets/Makefile (tst-catgets-mem): New test.
2534 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2535 * catgets/open_catalog.c (__open_catalog): Likewise.
2536 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2537
2538 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2539
2540 [BZ #18787]
2541 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2542 clobber registers.
2543 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2544 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2545 Cast return to __typeof (oldval).
2546
2547 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2548
2549 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2550 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2551 and delete sys/syscall.h include.
2552
2553 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2554
2555 [BZ #16517]
2556 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2557 (tan): Force underflow exception for arguments with small absolute
2558 value.
2559 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2560 (__kernel_tanf): Force underflow exception for arguments with
2561 small absolute value.
2562 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2563 (__kernel_tanl): Force underflow exception for arguments with
2564 small absolute value.
2565 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2566 (__kernel_tanl): Force underflow exception for arguments with
2567 small absolute value.
2568 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2569 (__kernel_tanl): Force underflow exception for arguments with
2570 small absolute value.
2571 * math/auto-libm-test-in: Add more tests of tan.
2572 * math/auto-libm-test-out: Regenerated.
2573
2574 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2575
2576 Fix sysdeps/i386/fpu/s_scalbn.S build
2577
2578 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2579
2580 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2581
2582 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2583
2584 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2585
2586 Fix gcrt0.o compilation
2587
2588 When static-start-installed-name is different from
2589 start-installed-name, we must not use the shared objects.
2590
2591 * csu/Makefile
2592 (extra-objs): Add gmon-start.o when building shared library and
2593 $(static-start-installed-name) is different from
2594 $(start-installed-name).
2595 $(objpfx)g$(static-start-installed-name): When building shared
2596 library and $(static-start-installed-name) is different from
2597 $(static-start-installed-name), revert to non-shared rule,
2598 i.e. using $(objpfx)% and gmon-start.o.
2599
2600 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2601
2602 [BZ #16519]
2603 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2604 (__ieee754_sinh): Force underflow exception for arguments with
2605 small absolute value.
2606 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2607 (__ieee754_sinhf): Force underflow exception for arguments with
2608 small absolute value.
2609 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2610 (__ieee754_sinhl): Force underflow exception for arguments with
2611 small absolute value.
2612 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2613 (__ieee754_sinhl): Force underflow exception for arguments with
2614 small absolute value.
2615 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2616 (__ieee754_sinhl): Force underflow exception for arguments with
2617 small absolute value.
2618 * math/auto-libm-test-in: Add more tests of sinh.
2619 * math/auto-libm-test-out: Regenerated.
2620 * sysdeps/i386/fpu/libm-test-ulps: Update.
2621
2622 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2623
2624 * libio/oldfileops.c: Include unistd.h.
2625
2626 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2627
2628 * stdlib/isomac.c: Include ctype.h.
2629
2630 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2631
2632 * dirent/tst-seekdir.c (main): Converted to ...
2633 (do_test): ... this.
2634 (TEST_FUNCTION): New macro.
2635 Include test-skeleton.c.
2636 * elf/tst-dlmodcount.c (main): Converted to ...
2637 (do_test): ... this.
2638 (TEST_FUNCTION): New macro.
2639 Include test-skeleton.c.
2640 * elf/tst-order-main.c (main): Converted to ...
2641 (do_test): ... this.
2642 (TEST_FUNCTION): New macro.
2643 Include test-skeleton.c.
2644 * elf/tst-pie2.c (main): Converted to ...
2645 (do_test): ... this.
2646 (TEST_FUNCTION): New macro.
2647 Include test-skeleton.c.
2648 * inet/tst-ether_aton.c (main): Converted to ...
2649 (do_test): ... this.
2650 (TEST_FUNCTION): New macro.
2651 Include test-skeleton.c.
2652 * misc/tst-mntent.c (main): Converted to ...
2653 (do_test): ... this.
2654 (TEST_FUNCTION): New macro.
2655 Include test-skeleton.c.
2656 * misc/tst-tsearch.c (main): Converted to ...
2657 (do_test): ... this.
2658 (TEST_FUNCTION): New macro.
2659 Include test-skeleton.c.
2660 * posix/tst-regexloc.c (main): Converted to ...
2661 (do_test): ... this.
2662 (TEST_FUNCTION): New macro.
2663 Include test-skeleton.c.
2664 * resolv/tst-aton.c (main): Converted to ...
2665 (do_test): ... this.
2666 (TEST_FUNCTION): New macro.
2667 Include test-skeleton.c.
2668 * stdio-common/test-fwrite.c (main): Converted to ...
2669 (do_test): ... this.
2670 (TEST_FUNCTION): New macro.
2671 Include test-skeleton.c.
2672 * stdio-common/tst-ferror.c (main): Converted to ...
2673 (do_test): ... this.
2674 (TEST_FUNCTION): New macro.
2675 Include test-skeleton.c.
2676 * stdio-common/tst-printf.c (main): Converted to ...
2677 (do_test): ... this.
2678 (TEST_FUNCTION): New macro.
2679 Include test-skeleton.c.
2680 * stdio-common/tst-printfsz.c (main): Converted to ...
2681 (do_test): ... this.
2682 (TEST_FUNCTION): New macro.
2683 Include test-skeleton.c.
2684 * stdlib/tst-strtod.c (main): Converted to ...
2685 (do_test): ... this.
2686 (TEST_FUNCTION): New macro.
2687 Include test-skeleton.c.
2688 * string/tst-strlen.c (main): Converted to ...
2689 (do_test): ... this.
2690 (TEST_FUNCTION): New macro.
2691 Include test-skeleton.c.
2692 * string/tst-svc.c (main): Converted to ...
2693 (do_test): ... this.
2694 (TEST_FUNCTION): New macro.
2695 Include test-skeleton.c.
2696 * time/tst-strptime.c (main): Converted to ...
2697 (do_test): ... this.
2698 (TEST_FUNCTION): New macro.
2699 Include test-skeleton.c.
2700 * timezone/tst-timezone.c (main): Converted to ...
2701 (do_test): ... this.
2702 (TEST_FUNCTION): New macro.
2703 Include test-skeleton.c.
2704
2705 2015-08-05 Zack Weinberg <zackw@panix.com>
2706
2707 * misc/regexp.h: Update comments.
2708
2709 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2710
2711 [BZ #18635]
2712 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2713 before return label.
2714
2715 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2716
2717 [BZ #18661]
2718 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2719 when calling __errno_location.
2720 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2721 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2722
2723 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2724
2725 [BZ #18661]
2726 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2727 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2728 __gettimeofday.
2729
2730 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2731
2732 [BZ #18661]
2733 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2734 (__start_context): Don't use pop to restore %rdi so that stack
2735 is aligned to 16 bytes when calling __setcontext.
2736
2737 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2738
2739 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2740 only for libc.
2741 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2742
2743 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2744
2745 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2746 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2747 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2748
2749 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2750
2751 * string/memccpy.c (memccpy):
2752 Improve performance by using memchr/memcpy/__mempcpy.
2753
2754 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2755
2756 * string/strncpy.c (strncpy):
2757 Improve performance by using __strnlen/memcpy.
2758
2759 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2760
2761 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2762 Optimize to avoid an unnecessary FPCR read.
2763
2764 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2765
2766 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2767 Optimize to reduce FPCR/FPSR accesses.
2768
2769 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2770
2771 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2772 dead->data[category] != NULL.
2773
2774 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2775
2776 [BZ #18647]
2777 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2778 and |x| close to 1, use absolute value of x when computing log.
2779 * math/auto-libm-test-in: Add more tests of pow.
2780 * math/auto-libm-test-out: Regenerated.
2781
2782 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2783
2784 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2785 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2786 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2787
2788 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2789
2790 [BZ #18525]
2791 * locales/km_KH: Remove timezone definition.
2792 * locales/lo_LA: Likewise.
2793 * locales/my_MM: Likewise.
2794 * locales/nan_TW@latin: Likewise.
2795 * locales/th_TH: Likewise.
2796 * locales/uk_UA: Likewise.
2797
2798 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2799
2800 [BZ #18265]
2801 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2802 (wcsncat): Likewise.
2803 (wcscmp): Likewise.
2804 (wcsncmp): Likewise.
2805
2806 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2807
2808 * test-skeleton.c (usage): New function.
2809 (main): Call usage when opt is '?'.
2810
2811 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2812
2813 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2814 before first use.
2815
2816 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2817
2818 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2819 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2820 in there too.
2821
2822 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2823
2824 * version.h (RELEASE): Set to "development".
2825 (VERSION): Set to "2.22.90"
2826
2827 * version.h (RELEASE): Set to "stable".
2828 (VERSION): Set to "2.22"
2829 * include/features.h (__GLIBC_MINOR__): Set to 22.
2830
2831 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2832
2833 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2834 Restructure macro to avoid "value computed is not used" warning.
2835 (atomic_compare_and_exchange_val_acq): Likewise.
2836
2837 2015-08-04 Andreas Schwab <schwab@suse.de>
2838
2839 [BZ #18635]
2840 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2841 ret.
2842 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2843
2844 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2845
2846 * po/pl.po: Updated translation.
2847 * po/uk.po: Likewise.
2848 * po/fi.po: Likewise.
2849 * po/ko.po: Likewise.
2850 * po/ru.po: Likewise.
2851 * po/vi.po: Likewise.
2852
2853 2015-07-31 Zack Weinberg <zackw@panix.com>
2854
2855 [BZ #18681]
2856 * regexp.h: Add unconditional #warning stating that this header
2857 will be removed soon. Revise banner comment to match.
2858 (compile): Consistently use ERROR instead of RETURN to report
2859 errors (partial fix for bz#18681).
2860 * regexp.c: Don't include regexp.h. Remove some unnecessary
2861 declarations.
2862
2863 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2864
2865 * po/libc.pot: Regenerated.
2866
2867 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2868
2869 [BZ #18740]
2870 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2871 float-vlen4-arch-ext-cflags): Removed.
2872 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2873 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2874
2875 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2876
2877 [BZ #14113]
2878 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2879 aligned to __aligned__.
2880 (pthread_cond_t, pthread_rwlock_t): Likewise.
2881
2882 2015-07-30 Torvald Riegel <triegel@redhat.com>
2883
2884 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2885
2886 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2887
2888 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2889 (struct sigaction): Change sa_flags from a long to an int, and add
2890 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2891
2892 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2893
2894 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2895 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2896 sysdeps/generic/sysdep.h include.
2897 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2898 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2899 sysdeps/hppa/sysdep.h.
2900 (ENTRY, PSEUDO): Undefine before defining.
2901
2902 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2903
2904 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2905 from scratch to use INTERNAL_SYSCALL.
2906
2907 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 [BZ #18078]
2910 * scripts/check-localplt.awk: Support alternate relocations.
2911 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2912 sections.
2913 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2914 malloc entries with + REL R_386_GLOB_DAT.
2915 * sysdeps/x86_64/localplt.data: New file.
2916
2917 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2918
2919 [BZ #18731]
2920 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2921 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2922 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2923
2924 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2925
2926 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2927
2928 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2929
2930 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2931 directly in terms of __sync_fetch_and_add and delete (int) cast.
2932
2933 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2934
2935 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2936 the -D_ASM_IA64_CURRENT_H flag.
2937
2938 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2939
2940 [BZ #18641]
2941 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2942
2943 2015-07-27 Andreas Schwab <schwab@suse.de>
2944
2945 * conform/conformtest.pl (checknamespace): Filter out string
2946 literals while tokenizing.
2947
2948 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2949
2950 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2951 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2952 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2953
2954 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2955
2956 * nptl/tst-join7mod.c: Add #include <string.h>.
2957
2958 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2959
2960 * sysdeps/nios2/libm-test-ulps: Update.
2961
2962 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2963
2964 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2965 Fix order of arguments to the rt_sigprocmask syscall.
2966 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2967 Likewise.
2968
2969 2015-07-24 Roland McGrath <roland@hack.frob.com>
2970
2971 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2972
2973 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2974
2975 [BZ #18457]
2976 * nptl/Makefile (tests): New test case tst-join7.
2977 (modules-names): New test case module tst-join7mod.
2978 * nptl/tst-join7.c: New file.
2979 * nptl/tst-join7mod.c: New file.
2980 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2981 all translation units in libc.so, libpthread.so and rtld.
2982
2983 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2984
2985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2986
2987 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2988
2989 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2990 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2991 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2992 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2993 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2995 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2996 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2997 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2998 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2999 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3000 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3001 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3002 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3003 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3004 implementation.
3005
3006 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3007
3008 [BZ #17711]
3009 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3010 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3011 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3012 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3013 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3014 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3015
3016 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3019 instead of just saying load lock in the comments.
3020
3021 2015-07-23 Roland McGrath <roland@hack.frob.com>
3022
3023 * sysdeps/unix/Subdirs: Moved ...
3024 * sysdeps/posix/Subdirs: ... here.
3025 * login/pty.h (struct termios, struct winsize): Add forward decls.
3026 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3027 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3028 * sysdeps/arm/nacl/libc.abilist: Updated.
3029 * sysdeps/nacl/libutil.abilist: New file.
3030
3031 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3032 (SIGWINCH): New macro.
3033
3034 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3035 * sysdeps/arm/nacl/libc.abilist: Add it.
3036
3037 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3038
3039 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3040
3041 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3042
3043 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3044 Swap __glibc_reserved0 and sa_flags order.
3045
3046 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3047
3048 [BZ #18657]
3049 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3050 are pending TLS destructor calls.
3051 * include/link.h (struct link_map): Add concurrency note for
3052 L_TLS_DTOR_COUNT.
3053 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3054 Don't touch the link map flag. Atomically increment
3055 l_tls_dtor_count.
3056 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3057 Avoid taking the load lock and don't touch the link map flag.
3058 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3059 * stdlib/Makefile (tests): Use it.
3060 * stdlib/tst-tls-atexit.c (do_test): dlopen
3061 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3062 to allow tst-tls-atexit-nodelete test case to use it.
3063
3064 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3065
3066 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3067 to bits/types.h.
3068 (msgqnum_t): New typedef.
3069 (msglen_t): Likewise.
3070 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3071 and msg_qbytes type to msglen_t.
3072
3073 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3074
3075 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3076 pad0 to __glibc_reserved0.
3077 (struct stat64): Likewise.
3078
3079 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3080
3081 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3082 Change sa_flags from a long to an int and add __glibc_reserved0 before
3083 it for padding.
3084
3085 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3086
3087 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3088 anonymous by deleting "siginfo" name.
3089
3090 2015-07-21 Roland McGrath <roland@hack.frob.com>
3091
3092 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3093 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3094 rather than __nacl_irt_filename.
3095 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3096
3097 * NEWS: New item for arm-nacl port.
3098 * sysdeps/arm/nacl/libc.abilist: New file.
3099 * sysdeps/nacl/ld.abilist: New file.
3100 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3101 * sysdeps/nacl/libanl.abilist: New file.
3102 * sysdeps/nacl/libcrypt.abilist: New file.
3103 * sysdeps/nacl/libdl.abilist: New file.
3104 * sysdeps/nacl/libm.abilist: New file.
3105 * sysdeps/nacl/libpthread.abilist: New file.
3106 * sysdeps/nacl/libresolv.abilist: New file.
3107 * sysdeps/nacl/librt.abilist: New file.
3108
3109 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3110
3111 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3112 __startcontext to initialize the new context.
3113 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3114 up CFI directive to forbid further backtracing.
3115
3116 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3117
3118 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3119 reference.
3120 * charmaps/ANSI_X3.4-1968: Likewise.
3121 * charmaps/BS_4730: Likewise.
3122 * charmaps/BS_VIEWDATA: Likewise.
3123 * charmaps/CP1250: Likewise.
3124 * charmaps/CP1251: Likewise.
3125 * charmaps/CP1252: Likewise.
3126 * charmaps/CP1253: Likewise.
3127 * charmaps/CP1254: Likewise.
3128 * charmaps/CP1255: Likewise.
3129 * charmaps/CP1256: Likewise.
3130 * charmaps/CSN_369103: Likewise.
3131 * charmaps/EBCDIC-DK-NO: Likewise.
3132 * charmaps/GB_1988-80: Likewise.
3133 * charmaps/GREEK-CCITT: Likewise.
3134 * charmaps/GREEK7: Likewise.
3135 * charmaps/INIS-8: Likewise.
3136 * charmaps/ISIRI-3342: Likewise.
3137 * charmaps/ISO_2033-1983: Likewise.
3138 * charmaps/ISO_5427-EXT: Likewise.
3139 * locales/POSIX: Likewise.
3140 * locales/ar_SA: Likewise.
3141 * locales/be_BY: Likewise.
3142 * locales/be_BY@latin: Likewise.
3143 * locales/ca_ES: Likewise.
3144 * locales/cs_CZ: Likewise.
3145 * locales/da_DK: Likewise.
3146 * locales/de_BE: Likewise.
3147 * locales/de_CH: Likewise.
3148 * locales/de_LU: Likewise.
3149 * locales/en_AU: Likewise.
3150 * locales/en_BW: Likewise.
3151 * locales/en_CA: Likewise.
3152 * locales/en_DK: Likewise.
3153 * locales/en_GB: Likewise.
3154 * locales/en_IE: Likewise.
3155 * locales/en_NZ: Likewise.
3156 * locales/en_ZA: Likewise.
3157 * locales/en_ZW: Likewise.
3158 * locales/es_AR: Likewise.
3159 * locales/es_BO: Likewise.
3160 * locales/es_CL: Likewise.
3161 * locales/es_CO: Likewise.
3162 * locales/es_DO: Likewise.
3163 * locales/es_EC: Likewise.
3164 * locales/es_ES: Likewise.
3165 * locales/es_HN: Likewise.
3166 * locales/es_MX: Likewise.
3167 * locales/es_PA: Likewise.
3168 * locales/es_PE: Likewise.
3169 * locales/es_PY: Likewise.
3170 * locales/es_SV: Likewise.
3171 * locales/es_US: Likewise.
3172 * locales/es_UY: Likewise.
3173 * locales/es_VE: Likewise.
3174 * locales/et_EE: Likewise.
3175 * locales/fa_IR: Likewise.
3176 * locales/fo_FO: Likewise.
3177 * locales/fr_CA: Likewise.
3178 * locales/fr_CH: Likewise.
3179 * locales/gv_GB: Likewise.
3180 * locales/he_IL: Likewise.
3181 * locales/hr_HR: Likewise.
3182 * locales/id_ID: Likewise.
3183 * locales/is_IS: Likewise.
3184 * locales/it_CH: Likewise.
3185 * locales/iw_IL: Likewise.
3186 * locales/kl_GL: Likewise.
3187 * locales/ko_KR: Likewise.
3188 * locales/kw_GB: Likewise.
3189 * locales/lg_UG: Likewise.
3190 * locales/lt_LT: Likewise.
3191 * locales/lv_LV: Likewise.
3192 * locales/mi_NZ: Likewise.
3193 * locales/nhn_MX: Likewise.
3194 * locales/nl_BE: Likewise.
3195 * locales/pl_PL: Likewise.
3196 * locales/sk_SK: Likewise.
3197 * locales/sl_SI: Likewise.
3198 * locales/sv_FI: Likewise.
3199 * locales/tl_PH: Likewise.
3200 * locales/tr_TR: Likewise.
3201 * locales/vi_VN: Likewise.
3202
3203 2015-07-21 Khem Raj <raj.khem@gmail.com>
3204
3205 [BZ #17475]
3206 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3207 of tu_IN and bh_IN.
3208
3209 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3210
3211 [BZ #18694]
3212 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3213 bits/wordsize.h.
3214 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3215
3216 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3217
3218 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3219 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3220 (spawn_thread): New function.
3221 (load): Rename to reg_dtor_and_close. Move dlopen to...
3222 (do_test): ... here. Use IS_LOADED to test for its
3223 availability.
3224
3225 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3226
3227 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3228
3229 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3230
3231 [BZ #18696]
3232 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3233 si_addr_bnd.
3234 (si_lower): New.
3235 (si_upper): Likewise.
3236
3237 2015-07-16 David S. Miller <davem@davemloft.net>
3238
3239 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3240
3241 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3242
3243 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3244 buffer.
3245 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3246 fail output information.
3247
3248 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3249
3250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3251 and strstr-ppc64..
3252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3253 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3254 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3255 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3256 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3257
3258 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3259
3260 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3261 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3262 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3263 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3264
3265 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3266
3267 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3268 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3269 rtld_hidden_proto.
3270 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3271
3272 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
3274 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3275 the test can fail.
3276
3277 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3278
3279 [BZ #18676]
3280 * elf/tst-nodelete-opened.c: New test case.
3281 * elf/tst-nodelete-opened-lib.c: New test case module.
3282 * elf/Makefile (tests, modules-names): Use them.
3283 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3284 early.
3285
3286 2015-07-15 David S. Miller <davem@davemloft.net>
3287
3288 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3289 futex-intenal.h
3290 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3291 * sysdeps/sparc/sparc64/Makefile: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3293 Remove space from macro define.
3294 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3295
3296 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3297
3298 [BZ #17475]
3299 * locale/iso-639.def: Update Bhili and Tulu language codes as
3300 per iso639-3.
3301
3302 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3303
3304 * elf/tst-leaks1.c (main): Converted to ...
3305 (do_test): ... this.
3306 (TEST_FUNCTION): New macro.
3307 Include test-skeleton.c.
3308 * localedata/tst-langinfo.c (main): Converted to ...
3309 (do_test): ... this.
3310 (TEST_FUNCTION): New macro.
3311 Include test-skeleton.c.
3312 * math/test-fpucw.c (main): Converted to ...
3313 (do_test): ... this.
3314 (TEST_FUNCTION): New macro.
3315 Include test-skeleton.c.
3316 * math/test-tgmath.c (main): Converted to ...
3317 (do_test): ... this.
3318 (TEST_FUNCTION): New macro.
3319 Include test-skeleton.c.
3320 * math/test-tgmath2.c (main): Converted to ...
3321 (do_test): ... this.
3322 (TEST_FUNCTION): New macro.
3323 Include test-skeleton.c.
3324 * setjmp/tst-setjmp.c (main): Converted to ...
3325 (do_test): ... this.
3326 (TEST_FUNCTION): New macro.
3327 Include test-skeleton.c.
3328 * stdio-common/tst-sscanf.c (main): Converted to ...
3329 (do_test): ... this.
3330 (TEST_FUNCTION): New macro.
3331 Include test-skeleton.c.
3332 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3333 (do_test): ... this.
3334 (TEST_FUNCTION): New macro.
3335 Include test-skeleton.c.
3336
3337 * elf/tst-audit9.c (main): Converted to ...
3338 (do_test): ... this.
3339 (TEST_FUNCTION): New macro.
3340 Include test-skeleton.c.
3341
3342 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3343
3344 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3345
3346 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3347
3348 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3349 New variable.
3350
3351 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3352
3353 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3354
3355 2015-07-14 Roland McGrath <roland@hack.frob.com>
3356
3357 * sysdeps/generic/dl-fileid.h: New file.
3358 * sysdeps/posix/dl-fileid.h: New file.
3359 * sysdeps/nacl/dl-fileid.h: New file.
3360 * include/link.h: Include <dl-fileid.h>.
3361 (struct link_map): Replace l_dev and l_ino with l_file_id.
3362 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3363 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3364 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3365
3366 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3367
3368 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3369
3370 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3371
3372 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3373 Add iff $CXX is set.
3374 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3375 Likewise.
3376 (tst-nodelete-zmodiff): Likewise.
3377 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3378
3379 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3380
3381 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3382
3383 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3384
3385 * sysdeps/aarch64/fpu/math_private.h
3386 (define math_opt_barrier): Add AArch64 version.
3387 (math_force_eval): Likewise.
3388
3389 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3390
3391 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3392
3393 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3396 %ld with %jd and cast to intmax_t.
3397 (do_test_length_zero): Likewise.
3398
3399 2015-07-10 Roland McGrath <roland@hack.frob.com>
3400
3401 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3402
3403 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3404
3405 * sysdeps/tile/libm-test-ulps: Regenerated.
3406
3407 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3408 Comment out the whole function, not just its body.
3409
3410 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3411
3412 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3413 locks.
3414
3415 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3416
3417 2015-07-10 Torvald Riegel <triegel@redhat.com>
3418
3419 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3420 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3421
3422 2015-07-10 Torvald Riegel <triegel@redhat.com>
3423
3424 * sysdeps/nptl/futex-internal.h: New file.
3425 * sysdeps/nacl/futex-internal.h: New file.
3426 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3427 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3428 error checking.
3429 (setxid_unmark_thread): Likewise.
3430 (__nptl_setxid): Likewise.
3431 (__wait_lookup_done): Likewise.
3432 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3433 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3434 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3435 * nptl/pthread_once.c (clear_once_control): Likewise.
3436 (__pthread_once_slow): Likewise.
3437 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3438 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3439 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3440 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3441 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3442 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3443 Likewise.
3444 (__pthread_rwlock_rdlock): Likewise.
3445 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3446 Likewise.
3447 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3448 Likewise.
3449 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3450 Likewise.
3451 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3452 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3453 Likewise.
3454 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3455 __ASSUME_PRIVATE_FUTEX check.
3456 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3457 Check that shared futexes are supported.
3458 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3459 wrappers with error checking.
3460 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3461 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3462 * nptl/pthread_barrierattr_setpshared.c
3463 (pthread_barrierattr_setpshared): Check that shared futexes are
3464 supported.
3465 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3466 Likewise.
3467 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3468 Likewise.
3469 * nptl/sem_init.c (futex_private_if_supported): Remove.
3470 (__new_sem_init): Adapt and check that shared futexes are supported.
3471 * nptl/sem_open.c (sem_open): Likewise.
3472 * nptl/sem_post.c (futex_wake): Remove.
3473 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3474 (do_futex_wait): Use futex wrappers with error checking.
3475 * nptl/sem_wait.c: Include lowlevellock.h.
3476 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3477 Use futex_supports_pshared.
3478 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3479 Use futex wrappers with error checking.
3480 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3481 Likewise.
3482 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3483 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3484 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3485 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3486 (futex_wake): Likewise.
3487 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3488 (do_futex_wait): Use futex wrappers with error checking.
3489 (__new_sem_wait_slow): Update EINTR handling.
3490 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3491
3492 2015-07-09 Martin Sebor <msebor@redhat.com>
3493
3494 [BZ #18435]
3495 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3496 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3497 * nptl/Makefile (test-xfail-tst-once5): Define.
3498
3499 2015-07-09 Roland McGrath <roland@hack.frob.com>
3500
3501 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3502 * elf/dl-minimal.c: For readability, reorder some definitions and
3503 introduce more page breaks. Include <stdio.h>.
3504 (__libc_fatal): New function.
3505
3506 * include/unistd.h: Add rtld_hidden_proto for _exit.
3507 * posix/_exit.c: Add rtld_hidden_def.
3508 * sysdeps/mach/hurd/_exit.c: Likewise.
3509 * sysdeps/nacl/_exit.c: Likewise.
3510 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3511 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3512
3513 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3516 bndmov encoding with zero displacement.
3517
3518 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3519 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 [BZ #18134]
3522 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3523 * sysdeps/i386/configure: Regenerated.
3524 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3525 (_dl_runtime_profile): Save and restore Intel MPX return bound
3526 registers when calling _dl_call_pltexit. Add
3527 PRESERVE_BND_REGS_PREFIX before return.
3528 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3529 (LRV_BND1_OFFSET): Likewise.
3530 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3531 lrv_bnd1.
3532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3533 typo in bndmov encoding.
3534 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3535 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3536 branch instructions to preserve bounds.
3537
3538 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3539
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3541 [GLIBC_2.22]: Add fmemopen.
3542
3543 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3544
3545 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3546 returns an error, also try to use host port from __mach_host_self for
3547 the __vm_wire call.
3548 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3549
3550 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3551
3552 [BZ #18400]
3553 [BZ #18648]
3554 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3555 Fix pr_uid and pr_gid members.
3556 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3557 definition to elf_greg_t.
3558
3559 2015-07-08 Roland McGrath <roland@hack.frob.com>
3560
3561 [BZ #18383]
3562 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3563 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3564 * sysdeps/arm/configure: Regenerated.
3565 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3566 (test-xfail-tst-tlsalign-static): Variable removed.
3567
3568 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3569 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3570 rather than explicit 'ln -s'.
3571
3572 * resolv/rpc/netdb.h: New file.
3573 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3574
3575 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3576
3577 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3578 length buffers.
3579 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3580 test-skeleton.c.
3581
3582 [BZ #6544]
3583 [BZ #11216]
3584 [BZ #12836]
3585 [BZ #13151]
3586 [BZ #13152]
3587 [BZ #14292]
3588 * include/stdio.h (fmemopen): Remove hidden prototype.
3589 (__fmemopen): Add new hidden prototype.
3590 * libio/Makefile: Add oldfmemopen object.
3591 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3592 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3593 compliance.
3594 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3595 symbol compatibility.
3596 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3597 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3598 fmemopen.
3599 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3600 on append and read mode.
3601 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3602 fmemopen.
3603 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3604 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3605 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3606 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3609 [GLIBC_2.22]: Likewise.
3610 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3611 Likewise.
3612 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3613 Likewise.
3614 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3615 [GLIBC_2.22]: Likewise.
3616 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3617 [GLIBC_2.22]: Likewise.
3618 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3619 [GLIBC_2.22]: Likewise.
3620 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3621 [GLIBC_2.22]: Likewise.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3623 [GLIBC_2.22]: Likewise.
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3625 [GLIBC_2.22]: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3627 [GLIBC_2.22]: Likewise.
3628 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3633 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3634 [GLIBC_2.22]: Likewise.
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3636 [GLIBC_2.22]: Likewise.
3637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3638 [GLIBC_2.22]: Likewise.
3639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3640 [GLIBC_2.22]: Likewise.
3641 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3642 Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3644 Likewise.
3645 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3646 Likewise.
3647 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3648 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3649
3650 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3651
3652 [BZ #18643]
3653 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3654 IPV6_PATHMTU, and IPV6_DONTFRAG.
3655
3656 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3657
3658 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3659 and _IO_UNBUFFERED.
3660 * libio/oldfileops.c: Likewise.
3661 * libio/wfileops.c: Likewise.
3662
3663 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3664
3665 * nscd/selinux.c: Delete selinux/flask.h include.
3666
3667 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3668
3669 [BZ #18641]
3670 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3671 (putpwent): Likewise.
3672 (getpwnam): Likewise.
3673 (getpwent_r): Likewise.
3674 (getpwuid_r): Likewise.
3675 (getpwnam_r): Likewise.
3676 (fgetpwent_r): Likewise.
3677
3678 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3679
3680 [BZ #18557]
3681 * inet/rcmd.c (__validuser2_sa): Check user first to
3682 short-circuit host check.
3683
3684 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3685 Mikhail Ilin <m.ilin@samsung.com>
3686
3687 [BZ #17833]
3688 * elf/Makefile (tests): Add tst-nodelete.
3689 (modules-names): Add tst-nodelete-uniquemod.
3690 (tst-nodelete-uniquemod.so-no-z-defs): New.
3691 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3692 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3693 ($(objpfx)tst-nodelete): Likewise.
3694 ($(objpfx)tst-nodelete.out): Likewise.
3695 (LDFLAGS-tst-nodelete): Likewise.
3696 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3697 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3698 implement forced object deletion.
3699 (_dl_close): Pass false to _dl_close_worker.
3700 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3701 * elf/tst-nodelete.cc: New file.
3702 * elf/tst-nodeletelib.cc: Likewise.
3703 * elf/tst-znodeletelib.cc: Likewise.
3704 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3705
3706 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3707
3708 [BZ #18508]
3709 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3710 Depend on $(libdl).
3711 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3712 is not called infinitely times.
3713 (backtrace_helper): New function.
3714 (trace_arg): New struct.
3715 (st1): Enlarge stack size.
3716 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3717 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3718 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3719 Likewise.
3720
3721 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3722
3723 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3724
3725 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3726
3727 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3728 Include sys/types.h instead of bits/types.h.
3729 Remove inclusion of bits/wordsize.h.
3730
3731 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3732
3733 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3734 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3735 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3736 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3737 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3738 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3739
3740 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3741
3742 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3743 link-defines.sym.
3744 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3745 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3746 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3747 and LR_SIZE.
3748 * sysdeps/i386/link-defines.sym: New file.
3749
3750 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3753 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3754 ($(objpfx)tst-audit3): New rule.
3755 ($(objpfx)tst-audit3.out): Likewise.
3756 * sysdeps/i386/tst-audit3.c: New file.
3757 * sysdeps/i386/tst-audit3.h: Likewise.
3758 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3759 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3760
3761 2015-07-07 Torvald Riegel <triegel@redhat.com>
3762
3763 [BZ #18633]
3764 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3765 pointer in C code.
3766 (__strcat_c): Likewise.
3767 (__strcat_g): Likewise.
3768
3769 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3770
3771 [BZ #18592]
3772 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3773
3774 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3775
3776 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3777 New function. (__ieee754_sqrtf): New function.
3778 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3779 New function.
3780 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3781 New function.
3782
3783 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3784
3785 * sysdeps/ieee754/support.c: Remove unused file.
3786
3787 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3788
3789 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3790 registers instead of d ones so the layout is kernel abi compatible.
3791 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3792 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3793 Likewise.
3794
3795 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3796
3797 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3798
3799 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #18619]
3802 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3803 and return argument in case of subnormal argument.
3804
3805 2015-07-01 Martin Sebor <msebor@redhat.com>
3806
3807 [BZ #18435]
3808 * nptl/Makefile: Add tst-once5.cc.
3809 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3810 Remove macro redefinitions.
3811 * nptl/tst-once5.cc: New test.
3812
3813 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3814
3815 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3816
3817 * sysdeps/arm/libm-test-ulps: Regenerated.
3818
3819 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3820 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3821
3822 2015-06-30 Torvald Riegel <triegel@redhat.com>
3823
3824 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3825 lll_lock_wait_private and lll_futex_wake probes.
3826
3827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3829 Likewise.
3830 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3831 atomic_spin_nop.
3832 * sysdeps/x86_64/bits/atomic.h: Likewise.
3833 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3834 to atomic_spin_nop and move ...
3835 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3836 ... here and ...
3837 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3838 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3839 atomic_spin_nop instead of BUSY_WAIT_NOP.
3840 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3841 Likewise.
3842 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3843 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3844 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3845 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3846 instead of atomic_delay.
3847
3848 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3849
3850 [BZ #18613]
3851 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3852 X_ADJ not X when adjusting exponent.
3853 (__ieee754_gamma_r): Do intermediate computations in
3854 round-to-nearest then adjust overflowing and underflowing results
3855 as needed.
3856 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3857 of X_ADJ not X when adjusting exponent.
3858 (__ieee754_gammaf_r): Do intermediate computations in
3859 round-to-nearest then adjust overflowing and underflowing results
3860 as needed.
3861 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3862 log of X_ADJ not X when adjusting exponent.
3863 (__ieee754_gammal_r): Do intermediate computations in
3864 round-to-nearest then adjust overflowing and underflowing results
3865 as needed. Use 1.0L not 1.0f as numerator of division.
3866 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3867 log of X_ADJ not X when adjusting exponent.
3868 (__ieee754_gammal_r): Do intermediate computations in
3869 round-to-nearest then adjust overflowing and underflowing results
3870 as needed. Use 1.0L not 1.0f as numerator of division.
3871 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3872 of X_ADJ not X when adjusting exponent.
3873 (__ieee754_gammal_r): Do intermediate computations in
3874 round-to-nearest then adjust overflowing and underflowing results
3875 as needed. Use 1.0L not 1.0f as numerator of division.
3876 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3877 to auto-libm-test-in.
3878 (tgamma_test): Use ALL_RM_TEST.
3879 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3880 tests of tgamma with spurious-overflow.
3881 * math/auto-libm-test-out: Regenerated.
3882 * math/gen-libm-have-vector-test.sh: Do not check for START.
3883 * sysdeps/i386/fpu/libm-test-ulps: Update.
3884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3885
3886 [BZ #18612]
3887 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3888 arguments, just return 0.5 times the argument, with underflow
3889 forced as needed.
3890 * math/auto-libm-test-in: Add more tests of j1.
3891 * math/auto-libm-test-out: Regenerated.
3892
3893 [BZ #16559]
3894 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3895 (__ieee754_j1): Force underflow exception for small results.
3896 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3897 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3898 (__ieee754_j1f): Force underflow exception for small results.
3899 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3900 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3902 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3903 (__ieee754_j1l): Force underflow exception for small results.
3904 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3905 * math/auto-libm-test-in: Add more tests of j1 and jn.
3906 * math/auto-libm-test-out: Regenerated.
3907
3908 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3909 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3910 (PF_MPLS): Likewise.
3911 (AF_IB): Likewise.
3912 (AF_MPLS): Likewise.
3913 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3914 value and macro.
3915 (MS_RMT_MASK): Include MS_LAZYTIME.
3916
3917 2015-06-26 Mel Gorman <mgorman@suse.de>
3918
3919 [BZ #18502]
3920 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3921 already minimal.
3922
3923 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3924
3925 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3926 (DT_MIPS_NUM): Update.
3927 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3928 DT_MIPS_RLD_MAP_REL.
3929
3930 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3931
3932 [BZ #16559]
3933 [BZ #18602]
3934 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3935 round-to-nearest internally then recompute results that
3936 underflowed to zero in the original rounding mode.
3937 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3938 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3940 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3941 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3942 * sysdeps/i386/fpu/libm-test-ulps: Update.
3943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944
3945 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3946
3947 * NEWS: Fixed description of link with vector math library.
3948
3949 2015-06-25 Andreas Schwab <schwab@suse.de>
3950
3951 [BZ #18549]
3952 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3953 * libio/test-fmemopen.c (do_test): Add test for it.
3954
3955 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3956
3957 [BZ #17841]
3958 * Makeconfig (no-pie-ldflag): New.
3959 (+link): Set to $(+link-pie) if default to PIE.
3960 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3961 * config.make.in (build-pie-default): New.
3962 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3963 is default. AC_SUBST.
3964 * configure: Regenerated.
3965 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3966
3967 2015-06-24 Roland McGrath <roland@hack.frob.com>
3968
3969 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3970 to 'unsigned int'.
3971
3972 * resolv/gai_misc.h (struct waitlist): Change type of field
3973 counterp to 'volatile unsigned int *'.
3974 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3975 FUTEXADDR and OLDVAL.
3976 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3977 Give local variable TOTAL type 'volatile unsigned int'.
3978 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3979 * resolv/gai_suspend.c (gai_suspend):
3980 Give local variable CNTR type 'unsigned int'.
3981
3982 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3983 counterp to 'volatile unsigned int *'.
3984 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3985 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3986 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3987 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3988 Give local variable TOTAL type 'volatile unsigned int'.
3989 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3990
3991 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 [BZ #18383]
3994 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3995 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3996 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3997 comment for i386/x86-64.
3998 (test-xfail-tst-tlsalign-extern-static): Removed.
3999
4000 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4001
4002 * math/test-double.h: New file.
4003 * math/test-float.h: Likewise.
4004 * math/test-ldouble.h: Likewise.
4005 * math/test-math-inline.h: Likewise.
4006 * math/test-math-no-inline.h: Likewise.
4007 * math/test-math-scalar.h: Likewise.
4008 * math/test-math-vector.h: Likewise.
4009 * math/test-vec-loop.h: Remove file. Contents moved into
4010 test-math-vector.h.
4011 * math/libm-test.inc (MATHCONST): Do not document macro.
4012 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4013 and test-math-scalar.h.
4014 (FUNC): Remove macro.
4015 (FUNC_TEST): Likewise.
4016 (FLOAT): Likewise.
4017 (MATHCONST): Likewise.
4018 (PRINTF_EXPR): Likewise.
4019 (PRINTF_XEXPR): Likewise.
4020 (PRINTF_NEXPR): Likewise.
4021 (TEST_DOUBLE): Likewise.
4022 (TEST_MATHVEC): Likewise.
4023 (__NO_MATH_INLINES): Likewise.
4024 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4025 and test-math-scalar.h.
4026 (FUNC): Remove macro.
4027 (FUNC_TEST): Likewise.
4028 (FLOAT): Likewise.
4029 (MATHCONST): Likewise.
4030 (PRINTF_EXPR): Likewise.
4031 (PRINTF_XEXPR): Likewise.
4032 (PRINTF_NEXPR): Likewise.
4033 (TEST_FLOAT): Likewise.
4034 (TEST_MATHVEC): Likewise.
4035 (__NO_MATH_INLINES): Likewise.
4036 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4037 and 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_DOUBLE): Likewise.
4046 (TEST_MATHVEC): Likewise.
4047 (TEST_INLINE): Likewise.
4048 (__NO_MATH_INLINES): Likewise.
4049 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4050 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_FLOAT): Likewise.
4059 (TEST_MATHVEC): Likewise.
4060 (TEST_INLINE): Likewise.
4061 (__NO_MATH_INLINES): Likewise.
4062 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4063 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 (TEST_INLINE): Likewise.
4074 (__NO_MATH_INLINES): Likewise.
4075 * math/test-ldouble.c: Include test-ldouble.h,
4076 test-math-no-inline.h and test-math-scalar.h.
4077 (FUNC): Remove macro.
4078 (FUNC_TEST): Likewise.
4079 (FLOAT): Likewise.
4080 (MATHCONST): Likewise.
4081 (PRINTF_EXPR): Likewise.
4082 (PRINTF_XEXPR): Likewise.
4083 (PRINTF_NEXPR): Likewise.
4084 (TEST_LDOUBLE): Likewise.
4085 (TEST_MATHVEC): Likewise.
4086 (__NO_MATH_INLINES): Likewise.
4087 * math/test-double-vlen2.h: Include test-double.h,
4088 test-math-no-inline.h and test-math-vector.h.
4089 (FLOAT): Remove macro.
4090 (FUNC): Likewise.
4091 (MATHCONST): Likewise.
4092 (PRINTF_EXPR): Likewise.
4093 (PRINTF_XEXPR): Likewise.
4094 (PRINTF_NEXPR): Likewise.
4095 (TEST_DOUBLE): Likewise.
4096 (TEST_MATHVEC): Likewise.
4097 (__NO_MATH_INLINES): Likewise.
4098 (CNCT): Likewise.
4099 (CONCAT): Likewise.
4100 (WRAPPER_NAME): Likewise.
4101 (WRAPPER_DECL): Likewise.
4102 (WRAPPER_DECL_ff): Likewise.
4103 (WRAPPER_DECL_fFF): Likewise.
4104 (VECTOR_WRAPPER): Likewise.
4105 (VECTOR_WRAPPER_ff): Likewise.
4106 (VECTOR_WRAPPER_fFF): Likewise.
4107 (VEC_LEN): New macro.
4108 * math/test-double-vlen4.h: Include test-double.h,
4109 test-math-no-inline.h and test-math-vector.h.
4110 (FLOAT): Remove macro.
4111 (FUNC): Likewise.
4112 (MATHCONST): Likewise.
4113 (PRINTF_EXPR): Likewise.
4114 (PRINTF_XEXPR): Likewise.
4115 (PRINTF_NEXPR): Likewise.
4116 (TEST_DOUBLE): Likewise.
4117 (TEST_MATHVEC): Likewise.
4118 (__NO_MATH_INLINES): Likewise.
4119 (CNCT): Likewise.
4120 (CONCAT): Likewise.
4121 (WRAPPER_NAME): Likewise.
4122 (WRAPPER_DECL): Likewise.
4123 (WRAPPER_DECL_ff): Likewise.
4124 (WRAPPER_DECL_fFF): Likewise.
4125 (VECTOR_WRAPPER): Likewise.
4126 (VECTOR_WRAPPER_ff): Likewise.
4127 (VECTOR_WRAPPER_fFF): Likewise.
4128 (VEC_LEN): New macro.
4129 * math/test-double-vlen8.h: Include test-double.h,
4130 test-math-no-inline.h and test-math-vector.h.
4131 (FLOAT): Remove macro.
4132 (FUNC): Likewise.
4133 (MATHCONST): Likewise.
4134 (PRINTF_EXPR): Likewise.
4135 (PRINTF_XEXPR): Likewise.
4136 (PRINTF_NEXPR): Likewise.
4137 (TEST_DOUBLE): Likewise.
4138 (TEST_MATHVEC): Likewise.
4139 (__NO_MATH_INLINES): Likewise.
4140 (CNCT): Likewise.
4141 (CONCAT): Likewise.
4142 (WRAPPER_NAME): Likewise.
4143 (WRAPPER_DECL): Likewise.
4144 (WRAPPER_DECL_ff): Likewise.
4145 (WRAPPER_DECL_fFF): Likewise.
4146 (VECTOR_WRAPPER): Likewise.
4147 (VECTOR_WRAPPER_ff): Likewise.
4148 (VECTOR_WRAPPER_fFF): Likewise.
4149 (VEC_LEN): New macro.
4150 * math/test-float-vlen4.h: Include test-float.h,
4151 test-math-no-inline.h and test-math-vector.h.
4152 (FLOAT): Remove macro.
4153 (FUNC): Likewise.
4154 (MATHCONST): Likewise.
4155 (PRINTF_EXPR): Likewise.
4156 (PRINTF_XEXPR): Likewise.
4157 (PRINTF_NEXPR): Likewise.
4158 (TEST_FLOAT): Likewise.
4159 (TEST_MATHVEC): Likewise.
4160 (__NO_MATH_INLINES): Likewise.
4161 (CNCT): Likewise.
4162 (CONCAT): Likewise.
4163 (WRAPPER_NAME): Likewise.
4164 (WRAPPER_DECL): Likewise.
4165 (WRAPPER_DECL_ff): Likewise.
4166 (WRAPPER_DECL_fFF): Likewise.
4167 (VECTOR_WRAPPER): Likewise.
4168 (VECTOR_WRAPPER_ff): Likewise.
4169 (VECTOR_WRAPPER_fFF): Likewise.
4170 (VEC_LEN): New macro.
4171 * math/test-float-vlen8.h: Include test-float.h,
4172 test-math-no-inline.h and test-math-vector.h.
4173 (FLOAT): Remove macro.
4174 (FUNC): Likewise.
4175 (MATHCONST): Likewise.
4176 (PRINTF_EXPR): Likewise.
4177 (PRINTF_XEXPR): Likewise.
4178 (PRINTF_NEXPR): Likewise.
4179 (TEST_FLOAT): Likewise.
4180 (TEST_MATHVEC): Likewise.
4181 (__NO_MATH_INLINES): Likewise.
4182 (CNCT): Likewise.
4183 (CONCAT): Likewise.
4184 (WRAPPER_NAME): Likewise.
4185 (WRAPPER_DECL): Likewise.
4186 (WRAPPER_DECL_ff): Likewise.
4187 (WRAPPER_DECL_fFF): Likewise.
4188 (VECTOR_WRAPPER): Likewise.
4189 (VECTOR_WRAPPER_ff): Likewise.
4190 (VECTOR_WRAPPER_fFF): Likewise.
4191 (VEC_LEN): New macro.
4192 * math/test-float-vlen16.h: Include test-float.h,
4193 test-math-no-inline.h and test-math-vector.h.
4194 (FLOAT): Remove macro.
4195 (FUNC): Likewise.
4196 (MATHCONST): Likewise.
4197 (PRINTF_EXPR): Likewise.
4198 (PRINTF_XEXPR): Likewise.
4199 (PRINTF_NEXPR): Likewise.
4200 (TEST_FLOAT): Likewise.
4201 (TEST_MATHVEC): Likewise.
4202 (__NO_MATH_INLINES): Likewise.
4203 (CNCT): Likewise.
4204 (CONCAT): Likewise.
4205 (WRAPPER_NAME): Likewise.
4206 (WRAPPER_DECL): Likewise.
4207 (WRAPPER_DECL_ff): Likewise.
4208 (WRAPPER_DECL_fFF): Likewise.
4209 (VECTOR_WRAPPER): Likewise.
4210 (VECTOR_WRAPPER_ff): Likewise.
4211 (VECTOR_WRAPPER_fFF): Likewise.
4212 (VEC_LEN): New macro.
4213 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4214 test-vec-loop.h.
4215 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4216 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4217 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4218 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4219 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4220 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4221 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4222
4223 2015-06-24 Roland McGrath <roland@hack.frob.com>
4224
4225 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4226 (__getlogin_r): ... this.
4227
4228 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4229
4230 [BZ #18594]
4231 * math/s_ccosh.c (__ccosh): Compare with least normal value
4232 instead of comparing class with FP_SUBNORMAL.
4233 * math/s_ccoshf.c (__ccoshf): Likewise.
4234 * math/s_ccoshl.c (__ccoshl): Likewise.
4235 * math/s_cexp.c (__cexp): Likewise.
4236 * math/s_cexpf.c (__cexpf): Likewise.
4237 * math/s_cexpl.c (__cexpl): Likewise.
4238 * math/s_csin.c (__csin): Likewise.
4239 * math/s_csinf.c (__csinf): Likewise.
4240 * math/s_csinh.c (__csinh): Likewise.
4241 * math/s_csinhf.c (__csinhf): Likewise.
4242 * math/s_csinhl.c (__csinhl): Likewise.
4243 * math/s_csinl.c (__csinl): Likewise.
4244 * math/s_ctan.c (__ctan): Likewise.
4245 * math/s_ctanf.c (__ctanf): Likewise.
4246 * math/s_ctanh.c (__ctanh): Likewise.
4247 * math/s_ctanhf.c (__ctanhf): Likewise.
4248 * math/s_ctanhl.c (__ctanhl): Likewise.
4249 * math/s_ctanl.c (__ctanl): Likewise.
4250 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4251 csin, csinh, ctan and ctanh.
4252 * math/auto-libm-test-out: Regenerated.
4253 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4254 * sysdeps/i386/fpu/libm-test-ulps: Update.
4255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4256
4257 2015-06-24 Roland McGrath <roland@hack.frob.com>
4258
4259 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4260 return value is wrong, print the expected value too.
4261
4262 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4263
4264 [BZ #18585]
4265 * elf/readlib.c (is_gdb_python_file): New.
4266 (process_file): Don't issue errors on filenames with -gdb.py
4267 suffix.
4268
4269 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4270
4271 * math/auto-libm-test-in: Add more tests of csin and csinh.
4272 * math/auto-libm-test-out: Regenerated.
4273 * math/libm-test.inc (csin_test_data): Remove tests moved to
4274 auto-libm-test-in.
4275 (csinh_test_data): Likewise.
4276
4277 [BZ #18593]
4278 * math/s_csin.c (__csin): Negate before rather than after possibly
4279 overflowing multiplication.
4280 * math/s_csinf.c (__csinf): Likewise.
4281 * math/s_csinh.c (__csinh): Likewise.
4282 * math/s_csinhf.c (__csinhf): Likewise.
4283 * math/s_csinhl.c (__csinhl): Likewise.
4284 * math/s_csinl.c (__csinl): Likewise.
4285 * math/auto-libm-test-in: Add some tests of csin and csinh.
4286 * math/auto-libm-test-out: Regenerated.
4287 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4288 (csinh_test_data): Likewise.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4290
4291 [BZ #18586]
4292 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4293 underflow exception for small results.
4294
4295 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4296
4297 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4298 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4299 variable and included header.
4300 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4301 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4302 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4303 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4304 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4305 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4306 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4307 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4308 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4309 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4310 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4311 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4312 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4313 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4314 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4315 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4316
4317 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4318
4319 [BZ #16526]
4320 [BZ #16538]
4321 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4322 (__sin): Force underflow exception for arguments with small
4323 absolute value.
4324 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4325 (__kernel_sinf): Force underflow exception for arguments with
4326 small absolute value.
4327 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4328 (__kernel_sincosl): Force underflow exception for arguments with
4329 small absolute value.
4330 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4331 (__kernel_sinl): Force underflow exception for arguments with
4332 small absolute value.
4333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4334 (__kernel_sincosl): Force underflow exception for arguments with
4335 small absolute value.
4336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4337 (__kernel_sinl): Force underflow exception for arguments with
4338 small absolute value.
4339 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4340 (__kernel_sinl): Force underflow exception for arguments with
4341 small absolute value.
4342 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4343 (__kernel_sinf): Force underflow exception for arguments with
4344 small absolute value.
4345 * math/auto-libm-test-in: Add more tests of sin and sincos.
4346 * math/auto-libm-test-out: Regenerated.
4347
4348 [BZ #18245]
4349 [BZ #18583]
4350 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4351 (__kernel_standard_l): Use feholdexcept and fesetenv around
4352 conversion to double instead of special-casing overflow and
4353 underflow.
4354 * math/libm-test.inc (fmod_test_data): Add more tests.
4355 (remainder_test_data): Likewise.
4356 (sqrt_test_data): Likewise.
4357
4358 2015-06-23 Torvald Riegel <triegel@redhat.com>
4359
4360 [BZ #17403]
4361 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4362 atomic_read_barrier, atomic_write_barrier): Define.
4363 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4364 atomic_read_barrier, atomic_write_barrier): Define.
4365
4366 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4367
4368 * math/Makefile [$(PERL) != no]
4369 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4370 dependency on libm-test.stmp below the inclusion of Rules.
4371
4372 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4373
4374 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4375 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4376 and included header.
4377 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4378 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4379 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4380 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4381 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4385 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4386 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4387 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4388 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4389 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4390 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4391 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4392 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4393 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4394 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4395 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4396
4397 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4398
4399 [BZ #18371]
4400 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4401 intermediate but not final result might underflow.
4402 * math/s_csqrtf.c (__csqrtf): Likewise.
4403 * math/s_csqrtl.c (__csqrtl): Likewise.
4404 * math/auto-libm-test-in: Add more tests of csqrt.
4405 * math/auto-libm-test-out: Regenerated.
4406 * sysdeps/i386/fpu/libm-test-ulps: Update.
4407
4408 [BZ #18219]
4409 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4410 threshold on absolute value of exponent for which scaling is used.
4411 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4412 * math/auto-libm-test-in: Add more tests of exp2.
4413 * math/auto-libm-test-out: Regenerated.
4414
4415 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4416
4417 [BZ #17977]
4418 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4419 when initializing interface list, based on the bug analysis
4420 and the patch proposed by Eric Newton.
4421 * resolv/tst-res_hconf_reorder.c: New test.
4422 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4423 tst-res_hconf_reorder.
4424 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4425 and $(shared-thread-library).
4426 (tst-res_hconf_reorder-ENV): New variable.
4427
4428 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4429 in comment.
4430
4431 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4432
4433 [BZ #16353]
4434 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4435 (__expm1): Force underflow exception for arguments with small
4436 absolute value.
4437 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4438 (__expm1f): Force underflow exception for arguments with small
4439 absolute value.
4440 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4441 (__expm1): Force underflow exception for arguments with small
4442 absolute value.
4443 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4444 (__expm1f): Force underflow exception for arguments with small
4445 absolute value.
4446 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4447 Check for small arguments before calling __expm1.
4448 * math/auto-libm-test-in: Do not mark underflow exceptions as
4449 possibly missing for bug 16353.
4450 * math/auto-libm-test-out: Regenerated.
4451
4452 2015-06-22 Andreas Schwab <schwab@suse.de>
4453
4454 [BZ #18513]
4455 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4456 PTR queries.
4457
4458 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4459
4460 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4461
4462 * string/strcoll_l.c: Remove unused struct element idxnow.
4463
4464 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4465
4466 [BZ #18569]
4467 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4468 underflow and return argument in case of subnormal argument.
4469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4470 Likewise.
4471 * math/auto-libm-test-in: Add more tests of expm1.
4472 * math/auto-libm-test-out: Regenerated.
4473
4474 [BZ #16361]
4475 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4476 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4477 tiny results.
4478 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4479 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4480 tiny results.
4481 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4482 mark underflow exceptions as possibly missing for bug 16361.
4483 * math/auto-libm-test-out: Regenerated.
4484
4485 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4486
4487 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4488 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4489 Remove variable.
4490 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4491 (test-xfail-XOPEN2K8/utmpx.h/conform).
4492
4493 * conform/conformtest.pl ($xerrors): New variable.
4494 (note_error): New function.
4495 (compiletest): New argument $xfail. Use not_error.
4496 (runtest): Likewise.
4497 (top level): Handle xfail- lines. Update calls to compiletest and
4498 runtest. Handle xfail- and optional- in headers listed with
4499 allow-header.
4500 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4501 (O_EXEC): Likewise.
4502 (O_SEARCH): Likewise.
4503 * conform/data/stropts.h-data (ioctl): Likewise.
4504 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4505 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4506 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4507 (msghdr.msg_controllen): Likewise.
4508 (cmsghdr.cmsg_len): Likewise.
4509 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4510 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4511 variable.
4512 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4513 (test-xfail-XPG4/stropts.h/conform): Likewise.
4514 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4515 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4516 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4517 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4518 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4519 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4520 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4521 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4522 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4523 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4524 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4525 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4526 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4527 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4528 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4529 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4530 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4531 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4532 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4533
4534 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4535
4536 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4537 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4538 definitions for proper unfolding of __MATHDECL_VEC.
4539
4540 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4541
4542 * benchtests/bench-strcoll.c:
4543 Include string.h.
4544 (main): Remove unused variable res.
4545
4546 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4547
4548 * timezone/Makefile (%/UTC %/Universal):
4549 Generate test-result files for UTC and Universal.
4550
4551 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4552
4553 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4554
4555 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4556
4557 [BZ #16350]
4558 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4559 for arguments with small absolute value.
4560 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4561 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4562 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4563 (__asinh): Force underflow exception for arguments with small
4564 absolute value.
4565 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4566 (__asinhf): Force underflow exception for arguments with small
4567 absolute value.
4568 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4569 (__asinhl): Force underflow exception for arguments with small
4570 absolute value.
4571 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4572 (__asinhl): Force underflow exception for arguments with small
4573 absolute value.
4574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4575 (__asinhl): Force underflow exception for arguments with small
4576 absolute value.
4577 * math/auto-libm-test-in: Do not mark underflow exceptions as
4578 possibly missing for bug 16350.
4579 * math/auto-libm-test-out: Regenerated.
4580
4581 * include/bits/ipc.h: Remove file.
4582 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4583 variable.
4584 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4585 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4586 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4587 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4588 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4589 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4590 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4591 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4592 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4593
4594 * math/auto-libm-test-in: Remove spurious underflow allowance for
4595 tests of cexp.
4596 * math/auto-libm-test-out: Regenerated.
4597
4598 [BZ #18558]
4599 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4600 unconditional definition.
4601 (MCAST_BLOCK_SOURCE): Likewise.
4602 (MCAST_UNBLOCK_SOURCE): Likewise.
4603 (MCAST_LEAVE_GROUP): Likewise.
4604 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4605 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4606 (MCAST_MSFILTER): Likewise.
4607 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4608 Remove variable.
4609 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4610 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4611 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4612 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4613 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4614
4615 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4616
4617 * NEWS: Mention addition of x86_64 vector sincosf.
4618 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4619 * math/test-float-vlen4.h: Likewise.
4620 * math/test-float-vlen8.h: Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4622 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4623 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4624 * sysdeps/x86_64/fpu/Versions: New versions added.
4625 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4626 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4627 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4628 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4629 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4630 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4631 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4632 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4633 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4634 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4635 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4636 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4637 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4638 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4639 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4640 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4641 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4642 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4643 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4644 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4645 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4646 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4647 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4648 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4649
4650 * NEWS: Mention addition of x86_64 vector sincos.
4651 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4652 * math/math.h (__MATHDECL_VEC): New macro.
4653 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4654 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4655 declaration under condition.
4656 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4657 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4658 TEST_VEC_LOOP change.
4659 * math/test-double-vlen4.h: Likewise.
4660 * math/test-double-vlen8.h: Likewise.
4661 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4662 * math/test-float-vlen4.h: Likewise.
4663 * math/test-float-vlen8.h: Likewise.
4664 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4665 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4666 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4667 * sysdeps/x86_64/fpu/Versions: New versions added.
4668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4669 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4670 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4671 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4672 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4673 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4674 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4675 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4676 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4677 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4678 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4679 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4680 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4681 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4682 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4683 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4684 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4685 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4686 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4687 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4688 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4689 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4690 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4691 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4692
4693 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4694 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4695 redirections for powf.
4696 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4697 * sysdeps/x86_64/fpu/Versions: New versions added.
4698 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4699 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4700 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4701 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4702 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4703 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4704 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4705 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4706 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4707 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4708 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4709 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4710 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4711 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4712 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4713 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4714 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4715 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4716 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4717 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4718 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4719 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4720 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4721 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4722 * math/test-float-vlen16.h: Fixed 2 argument macro.
4723 * math/test-float-vlen4.h: Likewise.
4724 * math/test-float-vlen8.h: Likewise.
4725 * NEWS: Mention addition of x86_64 vector powf.
4726
4727 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4728
4729 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4730 and redefine.
4731 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4732 and redefine.
4733 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4736
4737 [BZ #18553]
4738 * resource/getpriority.c (getpriority): Rename to __getpriority
4739 and define as weak alias of __getpriority.
4740 * resource/setpriority.c (setpriority): Rename to __setpriority
4741 and define as weak alias of __setpriority.
4742 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4743 __getpriority and define as weak alias of __getpriority.
4744 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4745 __setpriority and define as weak alias of __setpriority.
4746 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4747 strong name.
4748 (setpriority): Use __setpriority as strong name.
4749 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4750 __getpriority and define as weak alias of __getpriority.
4751 * include/sys/resource.h (__getpriority): Declare. Use
4752 libc_hidden_proto.
4753 (__setpriority): Likewise.
4754 (getpriority): Don't use libc_hidden_proto.
4755 (setpriority): Likewise.
4756 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4757 getpriority. Call __setpriority instead of setpriority.
4758 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4759 Remove variable.
4760
4761 [BZ #18547]
4762 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4763 as weak alias of __getttynam. Use prototype function definition.
4764 Call __setttyent, __getttyent and __endttyent instead of
4765 setttyent, getttyent and endttyent.
4766 (getttyent): Rename to __getttyent and define as weak alias of
4767 __getttyent. Call __setttyent instead of setttyent. Call
4768 __fgets_unlocked instead of fgets_unlocked.
4769 (setttyent): Rename to __setttyent and define as weak alias of
4770 __setttyent.
4771 (endttyent): Rename to __endttyent and define as weak alias of
4772 __endttyent.
4773 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4774 (__setttyent): Likewise.
4775 (__endttyent): Likewise.
4776 (getttyent): Don't use libc_hidden_proto.
4777 (setttyent): Likewise.
4778 (endttyent): Likewise.
4779 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4780 __endttyent instead of setttyent, getttyent and endttyent.
4781 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4782 Remove variable.
4783
4784 [BZ #18546]
4785 * socket/recv.c (__recv): Use libc_hidden_def.
4786 * socket/socket.c (__socket): Likewise.
4787 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4788 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4789 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4790 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4791 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4792 libc_hidden_def.
4793 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4794 libc_hidden_weak.
4795 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4796 Use libc_hidden_proto.
4797 (__recv): Likewise.
4798 * socket/Versions (libc): Export __recv and __socket at version
4799 GLIBC_PRIVATE.
4800 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4801 instead of recv.
4802 (init_mq_netlink): Call __socket instead of socket.
4803 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4804 Remove variable.
4805
4806 [BZ #18545]
4807 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4808 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4809 hidden_weak.
4810 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4811 define as alias of __mq_timedsend. Use hidden_weak.
4812 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4813 __mq_timedsend as strong name.
4814 (mq_timedreceive): Use __mq_timedreceive as strong name.
4815 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4816 (__mq_timedreceive): Likewise.
4817 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4818 __mq_timedreceive instead of mq_timedreceive.
4819 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4820 instead of mq_timedsend.
4821 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4822 Remove variable.
4823
4824 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4825 hidden_def and hidden_weak instead of libc_hidden_def and
4826 libc_hidden_weak.
4827 (top level): Refer to hidden_def in comment.
4828 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4829 macro. Use it instead of libc_hidden_def.
4830 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4831 specify __GI_* name explicitly.
4832 (mq_timedreceive): Likewise.
4833 (mq_setattr): Likewise.
4834
4835 [BZ #18544]
4836 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4837 __pthread_barrier_init and define as weak alias of
4838 __pthread_barrier_init.
4839 * sysdeps/sparc/nptl/pthread_barrier_init.c
4840 (pthread_barrier_init): Likewise.
4841 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4842 __pthread_barrier_wait and define as weak alias of
4843 __pthread_barrier_wait.
4844 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4845 (pthread_barrier_wait): Likewise.
4846 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4847 (pthread_barrier_wait): Likewise.
4848 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4849 (pthread_barrier_wait): Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4851 (pthread_barrier_wait): Likewise.
4852 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4853 __pthread_barrier_wait at version GLIBC_PRIVATE.
4854 * include/pthread.h (__pthread_barrier_init): Declare.
4855 (__pthread_barrier_wait): Likewise.
4856 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4857 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4858 (helper_thread): Likewise.
4859 (init_mq_netlink): Call __pthread_barrier_init instead of
4860 pthread_barrier_init.
4861
4862 [BZ #18542]
4863 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4864 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4865 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4866 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4867 vswscanf.
4868 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4869 Remove variable.
4870
4871 [BZ #18540]
4872 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4873 strong alias of _IO_fflush. Use libc_hidden_def.
4874 * libio/iofflush_u.c (fflush_unlocked): Rename to
4875 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4876 Use libc_hidden_weak.
4877 * include/stdio.h (__fflush_unlocked): Declare. Use
4878 libc_hidden_proto.
4879 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4880 fflush_unlocked.
4881 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4882 Remove variable.
4883
4884 [BZ #18539]
4885 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4886 define as weak alias of __addseverity.
4887 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4888 Remove variable.
4889 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4890 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4891 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4892
4893 [BZ #18536]
4894 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4895 (__tfind): Likewise.
4896 (__tdelete): Likewise.
4897 (__twalk): Likewise.
4898 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4899 __twalk to GLIBC_PRIVATE.
4900 * include/search.h (__tsearch): Use libc_hidden_proto.
4901 (__tfind): Likewise.
4902 (__tdelete): Likewise.
4903 (__twalk): Likewise.
4904 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4905 Call __tdelete instead of tdelete.
4906 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4907 tfind. Call __tsearch instead of tsearch.
4908 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4909 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4910 Remove variable.
4911 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4912
4913 [BZ #18534]
4914 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4915 (dprintf): Define as a weak alias of __dprintf, not a strong
4916 alias.
4917 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4918 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4919 dprintf.
4920 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4921 Remove variable.
4922 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4923 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4924
4925 [BZ #18533]
4926 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4927 not a strong alias.
4928 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4929 Remove variable.
4930
4931 [BZ #18532]
4932 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4933 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4934 (in6addr_loopback): Rename to __in6addr_loopback and define as
4935 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4936 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4937 libc_hidden_proto.
4938 (__in6addr_any): Likewise.
4939 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4940 in6addr_any.
4941 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4942 variable.
4943 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4944
4945 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4946
4947 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4948 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4949 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4950 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4951 redirections for pow.
4952 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4953 * sysdeps/x86_64/fpu/Versions: New versions added.
4954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4956 build of SSE, AVX2 and AVX512 IFUNC versions.
4957 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4958 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4959 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4960 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4961 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4964 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4965 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4966 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4967 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4968 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4969 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4970 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4971 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4972 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4973 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4974 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4975 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4976 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4977 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4978 * NEWS: Mention addition of x86_64 vector pow.
4979
4980 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4981 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4982 redirections for expf.
4983 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4984 * sysdeps/x86_64/fpu/Versions: New versions added.
4985 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4986 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4987 build of SSE, AVX2 and AVX512 IFUNC versions.
4988 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4989 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4990 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4991 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4992 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4993 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4994 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4995 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4996 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4997 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4998 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4999 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5000 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5001 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5002 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5003 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5004 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5005 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5006 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5007 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5008 * NEWS: Mention addition of x86_64 vector expf.
5009
5010 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5011 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5012 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5013 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5014 redirections for exp.
5015 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5016 * sysdeps/x86_64/fpu/Versions: New versions added.
5017 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5018 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5019 build of SSE, AVX2 and AVX512 IFUNC versions.
5020 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5021 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5023 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5025 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5026 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5027 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5028 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5029 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5030 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5031 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5032 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5033 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5034 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5035 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5036 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5037 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5038 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5039 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5040 * NEWS: Mention addition of x86_64 vector exp.
5041
5042 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5043 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5044 redirections for logf.
5045 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5046 * sysdeps/x86_64/fpu/Versions: New versions added.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5048 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5049 build of SSE, AVX2 and AVX512 IFUNC versions.
5050 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5051 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5052 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5053 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5054 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5055 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5056 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5057 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5058 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5059 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5060 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5061 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5062 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5063 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5064 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5065 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5066 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5067 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5068 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5069 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5070 * NEWS: Mention addition of x86_64 vector logf.
5071
5072 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5073 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5074 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5075 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5076 redirections for log.
5077 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5078 * sysdeps/x86_64/fpu/Versions: New versions added.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5080 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5081 build of SSE, AVX2 and AVX512 IFUNC versions.
5082 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5083 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5084 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5085 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5086 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5087 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5088 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5089 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5090 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5091 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5092 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5093 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5094 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5095 test.
5096 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5097 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5098 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5099 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5100 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5101 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5102 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5103 * NEWS: Mention addition of x86_64 vector log.
5104
5105 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5106
5107 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5108 cfi_adjust_cfa_offset argument.
5109 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5110 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5111
5112 [BZ #18034]
5113 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5114 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5115 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5116 ordering using ldar.
5117 (_dl_tlsdesc_dynamic): Likewise.
5118 (_dl_tlsdesc_return_lazy): Likewise.
5119 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5120 relaxed atomics instead of volatile and synchronize with release store.
5121 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5122 volatile.
5123 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5124
5125 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5126
5127 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5128 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5129 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5130 * sysdeps/x86_64/fpu/Versions: New versions added.
5131 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5132 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5133 build of SSE, AVX2 and AVX512 IFUNC versions.
5134 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5135 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5136 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5137 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5138 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5139 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5140 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5141 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5142 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5143 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5144 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5145 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5146 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5147 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5148 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5149 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5150 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5151 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5152 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5153 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5154 * NEWS: Mention addition of x86_64 vector sinf.
5155
5156 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5157
5158 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5159 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5160 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5161 Remove variable.
5162 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5163 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5164
5165 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5166
5167 [BZ #18530]
5168 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5169 strong alias of _IO_fputs. Use libc_hidden_def.
5170 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5171 and define as weak alias of __fputs_unlocked. Use
5172 libc_hidden_weak.
5173 * include/stdio.h (__fputs_unlocked): Declare. Use
5174 libc_hidden_proto.
5175 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5176 fputs_unlocked.
5177
5178 [BZ #18529]
5179 * resolv/netdb.h [__USE_POSIX]: Change condition to
5180 [__USE_XOPEN2K].
5181 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5182 not expect.
5183 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5184 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5185 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5186 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5187 [XPG4 || UNIX98] (AI_ALL): Likewise.
5188 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5189 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5190 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5191 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5192 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5193 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5194 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5195 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5196 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5197 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5198 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5199 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5200 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5201 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5202 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5203 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5204 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5205 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5206 [XPG4 || UNIX98] (gai_strerror): Likewise.
5207 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5208 [XPG4 || UNIX98] (getnameinfo): Likewise.
5209
5210 [BZ #18528]
5211 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5212 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5213 __USE_XOPEN2K8].
5214 (getgrent): Likewise.
5215 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5216 expect.
5217 [XPG3 || POSIX2008] (endgrent): Likewise.
5218 [XPG3] (setgrent): Likewise.
5219 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5220 variable.
5221 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5222
5223 [BZ #18527]
5224 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5225 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5226 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5227 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5228 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5229 * include/unistd.h (__getlogin_r): Declare. Use
5230 libc_hidden_proto.
5231 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5232 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5233 variable.
5234 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5235 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5236 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5237
5238 2015-06-12 Martin Sebor <msebor@redhat.com>
5239
5240 [BZ #18512]
5241 * Makerules (check-install-supported): New target.
5242 (install): Add check-install-supported as a dependency.
5243 * manual/install.texi (Installing the C Library): Document
5244 that overriding prefix and exec_prefix is not supported.
5245 Mention DESTDIR.
5246 * INSTALL: Regenerate from the above.
5247
5248 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5249
5250 [BZ #18519]
5251 * posix/Versions (libc): Export __libc_pread at version
5252 GLIBC_PRIVATE.
5253 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5254 instead of pread.
5255 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5256 variable.
5257
5258 [BZ #18522]
5259 * misc/efgcvt_r.c
5260 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5261 (cvt_symbol): Use weak_alias instead of strong_alias.
5262 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5263 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5264 Remove variable.
5265 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5266 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5267
5268 [BZ #18520]
5269 * inet/herrno.c (h_errno): Rename to __h_errno.
5270 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5271 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5272 to __h_errno instead of h_errno.
5273 * nptl/herrno.c (h_errno): Rename to __h_errno.
5274 (__h_errno_location): Refer to __h_errno not h_errno.
5275 * resolv/Versions (h_errno): Rename to __h_errno.
5276 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5277 Remove variable.
5278 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5279
5280 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5281
5282 * configure.ac: More strict check for AVX512 assembler support.
5283 * configure: Regenerated.
5284
5285 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5286 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5287 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5288 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5289 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5290 * sysdeps/x86_64/fpu/Versions: New versions added.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5292 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5293 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5294 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5295 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5296 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5297 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5300 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5301 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5302 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5303 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5304 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5305 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5306 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5307 test.
5308 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5309 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5310 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5311 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5312 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5313 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5314 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5315 * NEWS: Mention addition of x86_64 vector sin.
5316
5317 2015-06-11 Florian Weimer <fweimer@redhat.com>
5318
5319 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5320 comment.
5321
5322 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5323
5324 [BZ #18479]
5325 * nptl/pt-interp.c: New file.
5326 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5327 Add pt-interp.
5328 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5329 $(common-objpfx)runtime-linker.h.
5330
5331 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5332
5333 * Makeconfig (+interp): Remove unused variable.
5334 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5335 only. Depend on $(common-objpfx)runtime-linker.h instead of
5336 $(elf-objpfx)runtime-linker.h.
5337 ($(elf-objpfx)runtime-linker.h): Rename to
5338 $(common-objpfx)runtime-linker.h and move ...
5339 * Makerules [$(build-shared) = yes]: ... here.
5340 * elf/interp.c: Include <runtime-linker.h> instead of
5341 <elf/runtime-linker.h>.
5342
5343 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5344
5345 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5346 (__gettimeofday_syscall): Remove vsyscall fallback.
5347 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5348 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5349 Add syscall fallback function.
5350 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5351 if vDSO is not present.
5352 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5353 fallback function.
5354 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5355 present.
5356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5357 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5358
5359 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5360
5361 [BZ #18497]
5362 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5363 of wcscmp.
5364 (wcscmp): Define as weak alias of WCSCMP.
5365 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5366 wcscoll.
5367 (USE_HIDDEN_DEF): Define.
5368 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5369 __wcscoll. Don't use libc_hidden_weak.
5370 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5371 wcscmp.
5372 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5373 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5374 __GI_wcscmp.
5375 (weak_alias): Undefine and redefine.
5376 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5377 __wcscmp and define as weak alias of __wcscmp.
5378 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5379 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5380 (__wcscoll): Likewise.
5381 (wcscmp): Don't use libc_hidden_proto.
5382 (wcscoll): Likewise.
5383 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5384 wcscoll.
5385 * posix/regexec.c (check_node_accept_bytes): Likewise.
5386 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5387 variable.
5388 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5389 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5390
5391 [BZ #18507]
5392 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5393 __fstatvfs and define as weak alias of __fstatvfs. Use
5394 libc_hidden_weak.
5395 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5396 and define as weak alias of __statvfs. Use libc_hidden_weak.
5397 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5398 Define as alias of __fstatvfs, not fstatvfs.
5399 (fstatvfs64): Likewise.
5400 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5401 Define as alias of __statvfs, not statvfs.
5402 (statvfs64): Likewise.
5403 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5404 Remove variable.
5405
5406 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5407
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5409 (HAVE_GETCPU_VSYSCALL): Define.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5411 (HAVE_GETCPU_VSYSCALL): Likewise.
5412 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5413 * sysdeps/unix/sysv/linux/sched_getcpu.c
5414 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5415 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5416 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5417 prototype.
5418 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5419 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5420 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5422 Define.
5423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5424 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5427
5428 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5429
5430 * sysdeps/x86_64/fpu/Makefile: New file.
5431 * sysdeps/x86_64/fpu/Versions: New file.
5432 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5433 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5434 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5435 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5436 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5437 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5438 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5439 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5440 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5441 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5442 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5443 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5445 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5446 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5447 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5448 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5449 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5450 * sysdeps/x86_64/configure: Regenerated.
5451 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5452 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5453 * manual/install.texi (Configuring and compiling): Document
5454 --disable-mathvec.
5455 * INSTALL: Regenerated.
5456 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5457
5458 * math/Makefile: Added rules for vector tests.
5459 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5460 declaration under condition.
5461 * math/test-double-vlen2.h: New file.
5462 * math/test-double-vlen4.h: New file.
5463 * math/test-double-vlen8.h: New file.
5464 * math/test-vec-loop.h: Added initialization macro.
5465 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5466 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5467 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5468 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5469 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5470 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5471 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5472 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5473 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5474 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5475 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5476
5477 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5478 * sysdeps/x86_64/fpu/Versions: New versions added.
5479 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5480 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5481 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5482 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5483 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5484 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5485 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5486 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5487 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5488 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5489 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5490 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5491 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5492 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5493 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5494 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5495 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5496 * NEWS: Mention addition of x86_64 vector cosf.
5497
5498 * math/Makefile: Added CFLAGS for new tests.
5499 * math/test-float-vlen16.h: New file.
5500 * math/test-float-vlen4.h: New file.
5501 * math/test-float-vlen8.h: New file.
5502 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5503 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5504 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5505 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5506 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5507 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5508 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5509 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5510 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5511 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5512 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5513
5514 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5515
5516 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5517 * locale/programs/ld-ctype.c: Likewise.
5518
5519 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5520
5521 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5522 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5523 bit_ZMM16_31_state): New macro.
5524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5525 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5526
5527 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5528
5529 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5530
5531 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5532
5533 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5534
5535 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5536
5537 [BZ #18498]
5538 * libio/memstream.c (open_memstream): Rename to __open_memstream
5539 and define as weak alias of __open_memstream.
5540 * include/stdio.h (__open_memstream): Declare. Use
5541 libc_hidden_proto.
5542 (open_memstream): Don't use libc_hidden_proto.
5543 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5544 open_memstream.
5545 * posix/getopt.c (_getopt_internal_r): Likewise.
5546 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5547 variable.
5548 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5549 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5550 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5551
5552 [BZ #18496]
5553 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5554 instead of wcrtomb.
5555
5556 [BZ #18483]
5557 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5558 [__USE_XOPEN2K8]. Remove redundant #endif.
5559 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5560 Remove redundant #if.
5561 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5562 Remove variable.
5563 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5564 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5565
5566 [BZ #18495]
5567 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5568 (__iswlower): Likewise.
5569 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5570 (__iswlower): Likewise.
5571 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5572 instead of towlower.
5573 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5574 instead of iswlower. Call __towupper instead of towupper.
5575 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5576 instead of iswalnum.
5577
5578 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5579
5580 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5581 errors to stderr.
5582
5583 2015-06-05 Florian Weimer <fweimer@redhat.com>
5584
5585 [BZ #15661]
5586 [BZ #17322]
5587 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5588 Check for overflow properly. Check for O_APPEND. Ignore large
5589 file system block sizes. Add comments about problems.
5590 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5591 * manual/filesys.texi (Storage Allocation): New node.
5592
5593 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5594
5595 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5596 cancellable syscalls.
5597 (SYS_ify): Add guard to no redefine it.
5598 (INLINE_SYSCALL): Likewise.
5599 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5600 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5601 SYSCALL_CANCEL instead.
5602 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5603 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5604 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5605 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5606 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5607 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5608 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5609 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5610 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5611 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5612 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5613 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5614 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5615 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5616 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5617 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5618 Likewise.
5619 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5620 (__libc_pread64): Likewise.
5621 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5622 (__libc_preadv): Likewise.
5623 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5624 (__libc_readv64): Likewise.
5625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5626 (__libc_pwrite): Likewise.
5627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5628 (__libc_pwrite64): Likewise.
5629 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5630 (__libc_pwritev): Likewise.
5631 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5632 (__libc_pwritev64): Likewise.
5633 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5634 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5635 (sync_file_range): Likewise.
5636 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5637 Likewise.
5638 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5639 Likewise.
5640 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5641 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5642 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5643 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5644 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5645 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5646 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5647 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5649 Likewise.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5651 (__libc_read64): Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5653 Likewise.
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5655 Likewise.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5657 Likewise.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5659 Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5661 (__libc_pread64): Likewise.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5663 Likewise.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5665 (__libc_pwrite64): Likewise.
5666 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5667 (sync_file_range): Likewise.
5668 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5669 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5670 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5671 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5672 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5673 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5674 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5675 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5676 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5677 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5678 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5679 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5680 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5681 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5682 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5683 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5684 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5685 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5686 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5687 Likewise.
5688 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5689 Likewise.
5690 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5691 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5694 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5695 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5696 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5699 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5700 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5703
5704 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5705
5706 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5707 Include dl-vdso.
5708 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5709 Use VDSO routines for gettimeofday, clock_gettime if
5710 available.
5711 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5712 Declare VDSO symbols.
5713 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5714 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5715 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5716 * sysdeps/unix/sysv/linux/arm/Versions: Add
5717 __vdso_clock_gettime.
5718
5719 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5720
5721 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5722 be an inline implementation regardless of library is built within.
5723 (open_not_cancel_2): Likewise.
5724 (__read_nocancel): Likewise.
5725 (__write_nocancel): Likewise.
5726 (openat_not_cancel): Likewise.
5727 (openat_not_cancel_3): Likewise.
5728 (openat64_not_cancel): Likewise.
5729 (openat64_not_cancel_3): Likewise.
5730 (__close_nocancel): Likewise.
5731 (pause_not_cancel): Likewise.
5732 (nanosleep_not_cancel): Likewise.
5733 (sigsuspend_not_cancel): Likewise.
5734
5735 2015-06-04 Torvald Riegel <triegel@redhat.com>
5736
5737 [BZ #14958]
5738 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5739 wake-up.
5740 (__pthread_rwlock_rdlock_slow): Likewise.
5741 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5742 Likewise.
5743 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5744 Likewise.
5745 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5746 * nptl/tst-rwlock16.c: New file.
5747 * nptl/Makefile (tests): Add new test.
5748
5749 2015-06-04 Torvald Riegel <triegel@redhat.com>
5750
5751 [BZ #18324]
5752 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5753 missing wake-up of readers.
5754 * nptl/tst-rwlock15.c: New file.
5755 * nptl/Makefile (tests): Add new test.
5756
5757 2015-06-03 Roland McGrath <roland@hack.frob.com>
5758
5759 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5760 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5761 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5762 and __nacl_supply_interface_rtld.
5763 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5764 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5765 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5766 Add __nacl_supply_interface_rtld.
5767 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5768
5769 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5770
5771 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5772 isfinite.
5773 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5774 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5775
5776 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5777
5778 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5779 __signbit* with standard C99 macros.
5780 * math/e_exp10l.c: Likewise.
5781 * math/e_exp2l.c: Likewise.
5782 * math/e_scalb.c: Likewise.
5783 * math/e_scalbf.c: Likewise.
5784 * math/e_scalbl.c: Likewise.
5785 * math/s_ldexp.c: Likewise.
5786 * math/s_ldexpf.c: Likewise.
5787 * math/s_ldexpl.c: Likewise.
5788 * math/w_atan2.c: Likewise.
5789 * math/w_atan2f.c: Likewise.
5790 * math/w_atan2l.c: Likewise.
5791 * math/w_cosh.c: Likewise.
5792 * math/w_coshf.c: Likewise.
5793 * math/w_coshl.c: Likewise.
5794 * math/w_exp10.c: Likewise.
5795 * math/w_exp10f.c: Likewise.
5796 * math/w_exp10l.c: Likewise.
5797 * math/w_exp2.c: Likewise.
5798 * math/w_exp2f.c: Likewise.
5799 * math/w_exp2l.c: Likewise.
5800 * math/w_fmod.c: Likewise.
5801 * math/w_fmodf.c: Likewise.
5802 * math/w_fmodl.c: Likewise.
5803 * math/w_hypot.c: Likewise.
5804 * math/w_hypotf.c: Likewise.
5805 * math/w_hypotl.c: Likewise.
5806 * math/w_jnl.c: Likewise.
5807 * math/w_lgamma.c: Likewise.
5808 * math/w_lgamma_r.c: Likewise.
5809 * math/w_lgammaf.c: Likewise.
5810 * math/w_lgammaf_r.c: Likewise.
5811 * math/w_lgammal.c: Likewise.
5812 * math/w_lgammal_r.c: Likewise.
5813 * math/w_pow.c: Likewise.
5814 * math/w_powf.c: Likewise.
5815 * math/w_powl.c: Likewise.
5816 * math/w_remainder.c: Likewise.
5817 * math/w_remainderf.c: Likewise.
5818 * math/w_remainderl.c: Likewise.
5819 * math/w_scalb.c: Likewise.
5820 * math/w_scalbf.c: Likewise.
5821 * math/w_scalbl.c: Likewise.
5822 * math/w_scalbln.c: Likewise.
5823 * math/w_scalblnf.c: Likewise.
5824 * math/w_scalblnl.c: Likewise.
5825 * math/w_sinh.c: Likewise.
5826 * math/w_sinhf.c: Likewise.
5827 * math/w_sinhl.c: Likewise.
5828 * math/w_tgamma.c: Likewise.
5829 * math/w_tgammaf.c: Likewise.
5830 * math/w_tgammal.c: Likewise.
5831 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5832 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5833 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5834 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5835 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5839 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5841 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5843 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5845 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5848 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5855 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5858 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5862 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5863 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5864 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5865 * stdio-common/printf_fp.c: Likewise.
5866 * stdio-common/printf_fphex.c: Likewise.
5867 * stdio-common/printf_size.c: Likewise.
5868
5869 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5870
5871 [BZ #18470]
5872 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5873 strnlen.
5874 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5875 Remove variable.
5876 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5877 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5878 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5879 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5880 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5881 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5882 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5883 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5884 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5885 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5886
5887 [BZ #18468]
5888 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5889 weak alias of __wmemchr. Use libc_hidden_weak.
5890 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5891 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5892 instead of wmemchr.
5893
5894 2015-06-02 Roland McGrath <roland@hack.frob.com>
5895
5896 [BZ #18383]
5897 * elf/tst-tlsalign-extern.c: New file.
5898 * elf/tst-tlsalign-extern-static.c: New file.
5899 * elf/tst-tlsalign-vars.c: New file.
5900 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5901 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5902 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5903 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5904 (test-xfail-tst-tlsalign-extern-static): New variable.
5905
5906 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5907
5908 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5909 Use variable name _sc_err instead of err.
5910 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5911 instead of ret.
5912 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5913 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5914 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5915 (INLINE_SYSCALL): Likewise.
5916
5917 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5918 * include/string.h (__strnlen): Use libc_hidden_proto.
5919 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5920 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5921 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5922 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5923 (libc_hidden_def): Undefine and redefine.
5924 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5925 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5926 __GI_strnlen.
5927 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5928 libc_hidden_def.
5929 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5930
5931 [BZ #18469]
5932 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5933 weak alias of __towlower. Use libc_hidden_weak.
5934 (towupper): Rename to __towupper and define as weak alias of
5935 __towupper. Use libc_hidden_weak.
5936 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5937 (__towupper): Likewise.
5938 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5939 __towlower instead of towlower.
5940
5941 2015-06-02 Roland McGrath <roland@hack.frob.com>
5942
5943 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5944 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5945
5946 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5947
5948 * sysdeps/aarch64/libm-test-ulps: Update.
5949
5950 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5951
5952 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5953 Define.
5954 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5956 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5957 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5958 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5959 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5960 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5961
5962 2015-06-01 Martin Sebor <msebor@redhat.com>
5963
5964 [BZ #18116]
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5966 (__setcontext): Use extended four-operand version of mtsf whenever
5967 possible.
5968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5969 (__novec_swapcontext): Likewise.
5970
5971 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5972
5973 * benchtests/scripts/compare_bench.py: New file.
5974 * benchtests/scripts/import_bench.py (mean): New function.
5975 (split_list): Likewise.
5976 (do_for_all_timings): Likewise.
5977 (compress_timings): Likewise.
5978
5979 * benchtests/scripts/import_bench.py: New file.
5980 * benchtests/scripts/validate_benchout.py: Import import_bench
5981 instead of jsonschema.
5982 (validate_bench): Remove function.
5983 (main): Use import_bench.
5984
5985 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5986
5987 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5988 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5989
5990 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5991
5992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5993
5994 2015-05-28 Roland McGrath <roland@hack.frob.com>
5995
5996 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5997 set THREAD_SELF->tid to a magic value and futex-wake it.
5998 Pass its address to the thread_exit system call.
5999 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6000 bit is clear.
6001 * sysdeps/nacl/lowlevellock.h: New file.
6002 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6003
6004 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6005 Add TIMEOUT to current time, don't subtract it.
6006
6007 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 [BZ #2981]
6010 [BZ #18422]
6011 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6012 ($(objpfx)tst-audit2.out): Also depend on
6013 $(objpfx)tst-auditmod9b.so.
6014 * elf/tst-audit2.c: Include <dlfcn.h>.
6015 (calloc_called): New.
6016 (calloc): Allow to be called more than once.
6017 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6018
6019 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6020
6021 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6022 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6023
6024 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6025
6026 * stdlib/monetary.h: Fix comment.
6027
6028 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6029
6030 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6031 Avoid using variables in #defines that might cause shadowing.
6032 (INTERNAL_VSYSCALL_CALL): Likewise.
6033
6034 2015-05-26 Roland McGrath <roland@hack.frob.com>
6035
6036 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6037
6038 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6039 * nptl/lll_timedlock_wait.c: ... to this new file.
6040 * nptl/Makefile (libpthread-routines): Add it.
6041 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6042 * nptl/lll_timedwait_tid.c: ... to this new file.
6043 * nptl/Makefile (libpthread-routines): Add it.
6044 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6045 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6046 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6047 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6048 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6049 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6050 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6051 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6052 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6053 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6054
6055 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6056
6057 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6058 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6059 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6061 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6063 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6065 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6066 * sysdeps/unix/sysv/linux/tile/sysdep.h
6067 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6068 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6069 using vDSO syscall macro.
6070
6071 2015-05-26 Andriy Rysin <arysin@gmail.com>
6072
6073 [BZ #17293]
6074 * uk_UA: Fix sorting order for Ukrainian locale
6075
6076 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6077
6078 * stdlib/monetary.h: Fix comment.
6079
6080 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6081
6082 [BZ #18234]
6083 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6084 st_mtim and st_ctim members.
6085 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6086 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6087 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6088 (struct stat64): Likewise.
6089 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6090 (struct stat64): Likewise.
6091 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6092 (struct stat64): Likewise.
6093
6094 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6095
6096 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6097 Define and include sysdep-vdso.h.
6098 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6099 Likewise.
6100 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6101 Likewise.
6102 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6103 Define with VDSO_SYMBOL and use PTR_MANGLE.
6104 (__vdso_clock_gettime): Likewise.
6105 (__vdso_clock_getres): Likewise.
6106 (_libc_vdso_platform_setup): Likewise.
6107 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6108 Likewise.
6109 (_libc_vdso_platform_setup): Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6111 Likewise.
6112 (__vdso_clock_gettime): Likewise.
6113 (__vdso_clock_getres): Likewise.
6114 (__vdso_get_tbfreq): Likewise.
6115 (__vdso_getcpu): Likewise.
6116 (__vdso_time): Likewise.
6117 (__vdso_sigtramp_rt64): Likewise.
6118 (__vdso_signtramp32): Likewise.
6119 (__vdso_sigtramp_rt32): Likewise.
6120 (_libc_vdso_platform_setup): Likewise.
6121 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6122 Likewise.
6123 (__vdso_clock_gettime): Likewise.
6124 (__vdso_clock_getres): Likewise.
6125 (_libc_vdso_platform_setup): Likewise.
6126 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6127 Likewise.
6128 (__vdso_clock_gettime): Likewise.
6129 (_libc_vdso_platform_setup): Likewise.
6130 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6131 Likewise.
6132 (__vdso_getcpu): Likewise.
6133 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6134 Use VDSO_SYMBOL macro to define.
6135 (__vdso_clock_gettime): Likewise.
6136 (__vdso_clock_getres): Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6138 Likewise.
6139 (__vdso_clock_gettime): Likewise.
6140 (__vdso_clock_getres): Likewise.
6141 (__vdso_get_tbfreq): Likewise.
6142 (__vdso_getcpu): Likewise.
6143 (__vdso_time): Likewise.
6144 (__vdso_sigtramp_rt64): Likewise.
6145 (__vdso_signtramp32): Likewise.
6146 (__vdso_sigtramp_rt32): Likewise.
6147 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6148 Likewise.
6149 (__vdso_clock_gettime): Likewise.
6150 (__vdso_clock_getres): Likewise.
6151 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6152 Likewise.
6153 (__vdso_clock_gettime): Likewise.
6154 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6155 Likewise.
6156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6157 macro.
6158 (INTERNAL_VSYSCALL): Likewise.
6159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6160 Remove macro.
6161 (INTERNAL_VSYSCALL): Likewise.
6162 (INTERNAL_VSYSCALL_NCS): Likewise.
6163 (INTERNAL_VSYSCALL_CALL): New macro.
6164 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6166 Likewise.
6167 (INTERNAL_VSYSCALL): Likewise.
6168 (INTERNAL_VSYSCALL_NCS): Likewise.
6169 (INTERNAL_VSYSCALL_CALL): New macro.
6170 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6172 (INLINE_VSYSCALL): Remove macro.
6173 (INTERNAL_VSYSCALL): Remove macro.
6174 (INTERNAL_VSYSCALL_NCS): Remove macro.
6175 (INTERNAL_VSYSCALL_CALL): New macro.
6176 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6177 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6178 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6179 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6180 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6182 (INLINE_VSYSCALL): Remove macro.
6183 (INTERNAL_VSYSCALL): Likewise.
6184 (INTERNAL_VSYSCALL_NCS): Likewise.
6185 (INTERNAL_VSYSCALL_CALL): New macro.
6186 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6187 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6188 PTR_DEMANGLE on vDSO pointer.
6189 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6190 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6191 macro.
6192 (INTERNAL_SYSCALL): Likewise.
6193 (INTERNAL_VSYSCALL_NCS): Remove macro.
6194 (INTERNAL_VSYSCALL_CALL): New macro.
6195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6196 Remove macro.
6197 (INTERNAL_VSYSCALL): Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6199 sysdep-vdso.h instead of libc-vdso.h.
6200 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6201 definition.
6202 (INLINE_VSYSCALL): Likewise.
6203 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6204 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6205 definition.
6206 (INLINE_VSYSCALL): Likewise.
6207 (INTERNAL_VSYSCALL): Likewise.
6208 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6209 * sysdeps/unix/sysv/linux/timespec_get.c
6210 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6211 (timespec_get): Use ANSI prototype.
6212 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6213 and definition for Linux.
6214
6215 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6216
6217 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6218 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6219
6220 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6221
6222 [BZ #2981]
6223 [BZ #18410]
6224 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6225 for missing DT_PLTRELSZ.
6226
6227 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6228
6229 Remove obsolete aliases that broke 'locale -a'
6230 [BZ #18412]
6231 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6232 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6233 breaking some applications that use 'locale -a' output.
6234 Change the encoding of this file from Latin-1 to ASCII to avoid
6235 other potential problems with people grepping this file.
6236
6237 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6238
6239 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6240 -fasynchronous-unwind-tables.
6241 (CFLAGS-sendto.c): Likewise.
6242 (CFLAGS-sendmsg.c): Likewise.
6243 (CFLAGS-connect.c): Likewise.
6244 (CFLAGS-recvmsg.c): Likewise.
6245 (CFLAGS-recvfrom.c): Likewise.
6246 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6247 (SOCKETCALL): New macro: non-cancellable socketcall.
6248 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6249 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6250 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6251 * sysdeps/unix/sysv/linux/accept.c: New file.
6252 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6253 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6254 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6255 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6256 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6257 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6258 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6259 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6260 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6261 * sysdeps/unix/sysv/linux/send.c: Likewise.
6262 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6263 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6264 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6265 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6266 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6267 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6268 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6269 prototype.
6270 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6271 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6272 instead of __internal_xxx function.
6273 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6274 prototype.
6275 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6276 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6277 instead of __internal_xxx function.
6278 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6279 prototype.
6280 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6281 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6282 instead of __internal_xxx function.
6283 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6284 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6285 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6286 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6287 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6288 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6289 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6290 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6291 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6292 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6293 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6294 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6295 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6296 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6298 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6299 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6300 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6301 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6302 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6305 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6306 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6307 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6308 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6309 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6310 * sysdeps/unix/sysv/linux/send.S: Likewise.
6311 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6312 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6313 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6314 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6315 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6316 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6317 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6318 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6319 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6320 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6321 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6322 socketcall is implemented in GLIBC.
6323
6324 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6325
6326 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6327 (__fma): Ignore uninitialized warnings around packing.
6328 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6329 (__fmaf): Ignore uninitialized warnings around packing.
6330 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6331 (__fmal): Ignore uninitialized warnings around packing.
6332
6333 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6334 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6336 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6337
6338 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6339 switch statement into default case.
6340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6341
6342 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6343 a conditional in forcing "inexact".
6344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6345 Likewise.
6346
6347 2015-05-22 Roland McGrath <roland@hack.frob.com>
6348
6349 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6350 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6351 for each INTERNAL_SYSCALL use.
6352
6353 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6354
6355 [BZ #438]
6356 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6357 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6358 variable.
6359
6360 [BZ #18444]
6361 * string/basename.c (basename): Rename to __basename and define as
6362 weak alias of __basename. Use libc_hidden_weak.
6363 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6364 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6365 __basename instead of basename.
6366 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6367 Remove variable.
6368 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6369
6370 2015-05-18 Florian Weimer <fweimer@redhat.com>
6371
6372 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6373 (_IO_JUMPS_FILE_plus): New.
6374 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6375 _IO_CAST_FIELD_ACCESS.
6376 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6377 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6378 * libio/freopen.c (freopen): Likewise.
6379 * libio/freopen64.c (freopen64): Likewise.
6380 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6381 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6382 * libio/iofwide.c (_IO_fwide): Likewise.
6383 * libio/memstream.c (open_memstream): Likewise.
6384 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6385 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6386 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6387
6388 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6391 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6392 NADJ.
6393 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6394 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6395 NADJ.
6396 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6397 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6398 NADJ.
6399
6400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6401 (p == 4) case.
6402
6403 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6404 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6405 Remove variable.
6406 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6407 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6408 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6409
6410 2015-05-21 Florian Weimer <fweimer@redhat.com>
6411
6412 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6413 Adjust jump table label generation macros.
6414
6415 2015-05-21 Florian Weimer <fweimer@redhat.com>
6416
6417 * stdio-common/vfprintf.c (vfprintf): Move local variables
6418 args_malloced, specs, specs_malloced, and the code after
6419 do_positional to the printf_positional function.
6420 (printf_positional): New function.
6421
6422 2015-05-21 Florian Weimer <fweimer@redhat.com>
6423
6424 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6425 function.
6426 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6427 STEP4_TABLE, process_arg): Move macro definitions
6428 out of the vfprintf function. (Cosmetic change only.)
6429
6430 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6431
6432 * benchtests/Makefile (stdio-common-bench): Define.
6433 (benchset): Add stdio-common-bench.
6434 * sprintf-inputs: New file.
6435 * sprintf-source.c: New file.
6436
6437 2015-05-21 Andreas Schwab <schwab@suse.de>
6438
6439 [BZ #13028]
6440 [BZ #17053]
6441 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6442 of struct __res_state.
6443 * resolv/res_send.c (__libc_res_nsend): Likewise.
6444 (get_nsaddr): New function.
6445 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6446 statp directly.
6447
6448 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6449
6450 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6451 -D_POSIX_C_SOURCE=199506L.
6452
6453 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6454
6455 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6456 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6457 Do not mention otherwise.
6458 [POSIX] (_XOPEN_VERSION): Do not expect.
6459 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6460 [POSIX] (_POSIX2_C_BIND): Likewise.
6461 [POSIX] (_POSIX2_VERSION): Likewise.
6462 [POSIX] (_XOPEN_XPG2): Likewise.
6463 [POSIX] (_XOPEN_XPG3): Likewise.
6464 [POSIX] (_XOPEN_XPG4): Likewise.
6465 [POSIX] (_XOPEN_UNIX): Likewise.
6466 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6467 [POSIX] (_POSIX_BARRIERS): Likewise.
6468 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6469 [POSIX] (_POSIX_CPUTIME): Likewise.
6470 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6471 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6472 [POSIX] (_POSIX_SHELL): Likewise.
6473 [POSIX] (_POSIX_SPAWN): Likewise.
6474 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6475 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6476 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6477 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6478 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6479 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6480 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6481 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6482 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6483 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6484 [POSIX] (_POSIX2_PBS): Likewise.
6485 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6486 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6487 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6488 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6489 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6490 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6491 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6492 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6493 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6494 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6495 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6496 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6497 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6498 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6499 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6500 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6501 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6502 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6503 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6504 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6505 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6506 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6507 [POSIX] (_SC_2_C_BIND): Likewise.
6508 [POSIX] (_SC_2_C_VERSION): Likewise.
6509 [POSIX] (_SC_2_PBS): Likewise.
6510 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6511 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6512 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6513 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6514 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6515 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6516 [POSIX] (_SC_BARRIERS): Likewise.
6517 [POSIX] (_SC_BASE): Likewise.
6518 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6519 [POSIX] (_SC_DEVICE_IO): Likewise.
6520 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6521 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6522 [POSIX] (_SC_FD_MGMT): Likewise.
6523 [POSIX] (_SC_FIFO): Likewise.
6524 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6525 [POSIX] (_SC_FILE_LOCKING): Likewise.
6526 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6527 [POSIX] (_SC_IOV_MAX): Likewise.
6528 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6529 [POSIX] (_SC_NETWORKING): Likewise.
6530 [POSIX] (_SC_PAGE_SIZE): Likewise.
6531 [POSIX] (_SC_PASS_MAX): Likewise.
6532 [POSIX] (_SC_PIPE): Likewise.
6533 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6534 [POSIX] (_SC_REGEXP): Likewise.
6535 [POSIX] (_SC_SHELL): Likewise.
6536 [POSIX] (_SC_SIGNALS): Likewise.
6537 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6538 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6539 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6540 [POSIX] (_SC_USER_GROUPS): Likewise.
6541 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6542 [POSIX] (_SC_STREAMS): Likewise.
6543 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6544 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6545 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6546 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6547 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6548 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6549 [POSIX] (_PC_FILESIZEBITS): Likewise.
6550 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6551 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6552 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6553 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6554 [POSIX] (uid_t): Likewise.
6555 [POSIX] (gid_t): Likewise.
6556 [POSIX] (off_t): Likewise.
6557 [POSIX] (pid_t): Likewise.
6558 [POSIX] (cuserid): Allow.
6559 (_SC_2_CHAR_TERM): Require constant.
6560 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6561 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6562 variable.
6563
6564 2015-05-20 Roland McGrath <roland@hack.frob.com>
6565
6566 * sysdeps/nacl/pthread-pids.h: New file.
6567 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6568 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6569
6570 * nptl/pthread-pids.h: New file.
6571 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6572 * nptl/nptl-init.c: Include <pthread-pids.h>.
6573 (__pthread_initialize_minimal_internal):
6574 Call __pthread_initialize_pids instead of set_tid_address syscall.
6575
6576 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6577 * sysdeps/posix/usleep.c: ... here.
6578
6579 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6580
6581 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6582 call_pselect6 object.
6583 [$(subdir) = io]: Remove call_sync_file_range object.
6584 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6585 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6586 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6587 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6588
6589 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6590
6591 * math/s_cproj.c: Add include "math_private.h".
6592 * math/s_cprojf.c: Likewise.
6593 * math/s_cprojl.c: Likewise.
6594
6595 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6596
6597 [BZ #18244]
6598 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6599 high mantissa bit when testing whether P is a NaN.
6600 * math/libm-test.inc (remainder_test_data): Add more tests.
6601 (remquo_test_data): Likewise.
6602
6603 [BZ #18049]
6604 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6605 below -32, return the argument, with underflow if subnormal.
6606 * math/auto-libm-test-in: Add more tests of atanh.
6607 * math/auto-libm-test-out: Regenerated.
6608
6609 2015-05-19 Roland McGrath <roland@hack.frob.com>
6610
6611 [BZ #18434]
6612 * nptl/tst-sem15.c: New file.
6613 * nptl/Makefile (tests): Add it.
6614 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6615 s/<</>>/ to fix typo in EOVERFLOW check.
6616 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6617
6618 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
6620 * manual/strings.texi (envz_remove): Fix typo in safety
6621 annotations.
6622
6623 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6624 Steve Ellcey <sellcey@imgtec.com>
6625
6626 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6627 in order to avoid strict alias warnings.
6628 (iruserok_af): Ditto for ra.
6629
6630 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6631
6632 [BZ #17581]
6633 * malloc/hooks.c
6634 (magicbyte): Convert to a function and avoid returning 0x01.
6635 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6636 (mem2chunk_check): Fix unsigned comparisons to zero.
6637 Hoist defs of sz and magic.
6638
6639 2015-05-19 Richard Henderson <rth@redhat.com>
6640
6641 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6642
6643 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6644
6645 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6646
6647 [BZ #16159]
6648 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6649 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6650 (reused_arena): Find a non-corrupt arena.
6651 (heap_trim): Pass arena to unlink.
6652 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6653 malloc_printerr.
6654 (top_check): Likewise.
6655 (free_check): Likewise.
6656 (realloc_check): Likewise.
6657 * malloc/malloc.c (malloc_printerr): Add arena argument.
6658 (unlink): Likewise.
6659 (munmap_chunk): Adjust.
6660 (ARENA_CORRUPTION_BIT): New macro.
6661 (arena_is_corrupt): Likewise.
6662 (set_arena_corrupt): Likewise.
6663 (sysmalloc): Use mmap if there are no usable arenas.
6664 (_int_malloc): Likewise.
6665 (__libc_malloc): Don't fail if arena_get returns NULL.
6666 (_mid_memalign): Likewise.
6667 (__libc_calloc): Likewise.
6668 (__libc_realloc): Adjust for additional argument to
6669 malloc_printerr.
6670 (_int_free): Likewise.
6671 (malloc_consolidate): Likewise.
6672 (_int_realloc): Likewise.
6673 (_int_memalign): Don't touch corrupt arenas.
6674 * malloc/tst-malloc-backtrace.c: New test case.
6675
6676 * Makefile (summarize-tests): Fix return value on success.
6677
6678 * manual/string.texi (Envz Functions): Add envz_remove.
6679
6680 2015-05-18 Roland McGrath <roland@hack.frob.com>
6681
6682 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6683 (invalid_name): New function, broken out of ...
6684 (__opendirat): ... here. Call it.
6685 (need_isdir_precheck): New function, broken out of ...
6686 (__opendirat): ... here. Call it.
6687 Use __fxstatat64, not __xstatat64.
6688 (opendir_oflags): New function, broken out of ...
6689 (__opendirat): ... here. Call it.
6690 (opendir_tail): New function, broken out of ...
6691 (__opendirat): ... here. Call it.
6692 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6693 opendir_tail, rather than punting to __opendirat.
6694 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6695
6696 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6697
6698 * .gitignore: Ignore generated *.pyc.
6699
6700 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6701
6702 * include/stdio.h: Define __need_wint_t.
6703 * test-skeleton.c: Avoid `for' loop initial declaration.
6704 * nptl/tst-initializers1.c: Use test-skeleton.c.
6705
6706 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6707
6708 [BZ #18418]
6709 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6710
6711 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6712
6713 [BZ #16352]
6714 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6715 (__ieee754_atanh): Force underflow exception for results with
6716 small absolute value.
6717 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6718 (__ieee754_atanhf): Force underflow exception for results with
6719 small absolute value.
6720 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6721 (__ieee754_atanh): Force underflow exception for results with
6722 small absolute value.
6723 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6724 (__ieee754_atanhf): Force underflow exception for results with
6725 small absolute value.
6726 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6727 (__ieee754_atanhl): Force underflow exception for results with
6728 small absolute value.
6729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6730 (__ieee754_atanhl): Force underflow exception for results with
6731 small absolute value.
6732 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6733 (__ieee754_atanhl): Force underflow exception for results with
6734 small absolute value.
6735 * math/auto-libm-test-in: Do not allow missing underflow
6736 exceptions from atanh.
6737 * math/auto-libm-test-out: Regenerated.
6738
6739 [BZ #18221]
6740 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6741 2**-28 as threshold for returning x or +/- 1/x.
6742 * math/auto-libm-test-in: Add more tests of tan.
6743 * math/auto-libm-test-out: Regenerated.
6744
6745 [BZ #18220]
6746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6747 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6748 * math/auto-libm-test-in: Add another test of lgamma.
6749 * math/auto-libm-test-out: Regenerated.
6750
6751 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6752
6753 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6754 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6755 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6756 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6757 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6758 (ADD2A): Use fabs. (SUB2A): Use fabs.
6759 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6762 (log1): Use fabs. (my_log2): Use fabs.
6763 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6764 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6765 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6766 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6768 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6769 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6770 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6771 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6772 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6773 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6774
6775 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6776
6777 [BZ #18217]
6778 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6779 as threshold for returning 1 - x.
6780 * math/auto-libm-test-in: Add more tests of erfc.
6781 * math/auto-libm-test-out: Regenerated.
6782
6783 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6784
6785 [BZ #18196]
6786 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6787 threshold for large arguments.
6788 * math/auto-libm-test-in: Add another test of atan.
6789 * math/auto-libm-test-out: Regenerated.
6790
6791 [BZ #16339]
6792 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6793 (__log1p): Force underflow exception for results with small
6794 absolute value.
6795 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6796 (__log1pf): Force underflow exception for results with small
6797 absolute value.
6798 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6799 (__log1p): Force underflow exception for results with small
6800 absolute value.
6801 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6802 (__log1pf): Force underflow exception for results with small
6803 absolute value.
6804 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6805 (__log1pl): Force underflow exception for results with small
6806 absolute value.
6807 * math/auto-libm-test-in: Do not allow missing underflow
6808 exceptions from log1p.
6809 * math/auto-libm-test-out: Regenerated.
6810
6811 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6812 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6813
6814 [BZ #16704]
6815 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6816
6817 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6818
6819 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6820 (libmvec): New variable.
6821 * configure.ac: Added option for mathvec build.
6822 * configure: Regenerated.
6823 * mathvec/Depend: New file.
6824 * mathvec/Makefile: New file.
6825 * shlib-versions: Added libmvec.
6826 * math/Makefile: Added rule for libm.so installation.
6827
6828 * bits/math-vector.h: New file.
6829 * bits/libm-simd-decl-stubs.h: New header.
6830 * math/Makefile (headers): Added new header
6831 libm-simd-decl-stubs.h.
6832 * math/math.h (__MATHCALL_VEC): New macro.
6833
6834 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6835 for conditions in testing functions.
6836 * math/Makefile: Added call of libm-have-vector-test.sh.
6837 * math/libm-test.inc (HAVE_VECTOR): New macros.
6838
6839 * math/libm-test.inc: START refactored.
6840 * math/test-double.c (TEST_MATHVEC): Add define.
6841 * math/test-float.c: Likewise.
6842 * math/test-idouble.c: Likewise.
6843 * math/test-ifloat.c: Likewise.
6844 * math/test-ildoubl.c: Likewise.
6845 * math/test-ldouble.c: Likewise.
6846 * sysdeps/generic/math-tests-arch.h
6847 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6848 architecture check.
6849
6850 * math/test-double.c (FUNC_TEST): New macro.
6851 * math/test-float.c: Likewise.
6852 * math/test-idouble.c: Likewise.
6853 * math/test-ifloat.c: Likewise.
6854 * math/test-ildoubl.c: Likewise.
6855 * math/test-ldouble.c: Likewise.
6856 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6857
6858 2015-05-13 Roland McGrath <roland@hack.frob.com>
6859
6860 * sysdeps/nacl/fdopendir.c: New file.
6861
6862 * dirent/scandir-tail.c: New file.
6863 * dirent/scandir64-tail.c: New file.
6864 * dirent/Makefile (routines): Add them.
6865 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6866 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6867 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6868 [!SCANDIR] (SCANDIR_TAIL): New macro.
6869 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6870 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6871 (SCANDIRAT): Macro removed.
6872 (SCANDIR_TAIL): New macro.
6873 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6874 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6875 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6876 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6877 (READDIR): Macro removed.
6878 (SCANDIR_TAIL): New macro.
6879 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6880 (SCANDIR_TAIL): New macro.
6881
6882 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6883 * dirent/scandir-cancel.c: ... to this new file.
6884 * dirent/Makefile (routines): Add it.
6885 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6886 * sysdeps/unix/sysv/linux/i386/scandir64.c
6887 (SKIP_SCANDIR_CANCEL): Macro removed.
6888 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6889
6890 * dirent/tst-scandir.c: New file.
6891 * dirent/tst-scandir64.c: New file.
6892 * dirent/Makefile (tests): Add them.
6893
6894 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6895
6896 [BZ #18409]
6897 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6898
6899 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6900
6901 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6902 list.
6903
6904 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6905
6906 * benchtests/bench-strcoll.c: New benchmark.
6907 * benchtests/Makefile: Generate locales and run benchmark.
6908 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6909 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6910 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6911 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6912 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6913 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6914 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6915 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6916 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6917 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6918 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6919 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6920 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6921 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6922 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6923 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6924 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6925 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6926 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6927 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6928 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6929 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6930 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6931 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6932
6933 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6934
6935 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6936 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6937
6938 2015-05-12 Roland McGrath <roland@hack.frob.com>
6939
6940 * posix/uname-values.h: New file.
6941 * posix/uname.c: Include that instead of <config-name.h>.
6942 * sysdeps/nacl/uname-values.h: New file.
6943 * sysdeps/arm/nacl/uname-values.h: New file.
6944
6945 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6946
6947 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6948 splitting into fields.
6949
6950 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6951
6952 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6953 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6954 * locale/localeinfo.h: Add enum collation_encoding_type.
6955 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6956 * programs/ld-collate.c (collate_output): Add encoding type info.
6957 * string/strcoll_l.c (STRDIFF): New function.
6958 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6959 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6960
6961 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6962
6963 [BZ #18397]
6964 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6965 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6966 <fpu_control.h> instead of <math/fpu_control.c>.
6967 * sysdeps/mips/mips32/fpu/Makefile: New file.
6968
6969 2015-05-11 Andreas Schwab <schwab@suse.de>
6970
6971 [BZ #18007]
6972 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6973 nss_endgrent.
6974 (_nss_compat_endgrent): Call nss_endgrent.
6975 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6976 nss_endpwent.
6977 (_nss_compat_endpwent): Call nss_endpwent.
6978 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6979 needent, call nss_setspent only if non-zero.
6980 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6981 (internal_endspent): Don't call nss_endspent.
6982 (_nss_compat_endspent): Call nss_endspent.
6983 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6984 Remove. All uses removed.
6985 (internal_setent): Remove parameter stayopen, add parameter
6986 stream. Use it instead of global variable.
6987 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6988 (internal_endent, internal_getent): Add parameter stream. Use it
6989 instead of global variable.
6990 (CONCAT(_nss_files_end,ENTNAME))
6991 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6992 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6993 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6994 uses removed.
6995 (internal_setent, internal_endent): Add parameter stream. Use it
6996 instead of global variable.
6997 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6998 stream.
6999 (get_next_alias): Add parameter stream.
7000 (_nss_files_getaliasent_r): Pass global stream.
7001 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7002 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7003 (_nss_files_gethostbyname4_r): Pass local stream to
7004 internal_setent, internal_getent and internal_endent. Remove
7005 locking.
7006
7007 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7008
7009 * tst-strfmon1.c (tests): Update expected currency symbol.
7010
7011 2015-05-08 Roland McGrath <roland@hack.frob.com>
7012
7013 * sysdeps/nacl/gethostname.c: New file.
7014
7015 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7016
7017 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7018 and sinh.
7019 * math/auto-libm-test-out: Regenerated.
7020 * sysdeps/i386/fpu/libm-test-ulps: Update.
7021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7022
7023 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7024
7025 [BZ #18125]
7026 * stdlib/tst-setcontext3.c: New file.
7027 * stdlib/tst-setcontext3.sh: New file.
7028 * stdlib/Makefile (tests): Add tst-setcontext3.
7029 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7030 to verify test program created output file.
7031 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7032 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7033 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7034 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7035
7036 2015-05-06 Roland McGrath <roland@hack.frob.com>
7037
7038 [BZ #18383]
7039 * elf/tst-tlsalign.c: New file.
7040 * elf/tst-tlsalign-static.c: New file.
7041 * elf/tst-tlsalign-lib.c: New file.
7042 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7043 (tests-static): Add tst-tlsalign-static.
7044 (modules-names): Add tst-tlsalign-lib.
7045 (test-xfail-tst-tlsalign): New variable.
7046 (test-xfail-tst-tlsalign-static): New variable.
7047
7048 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7049 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7050
7051 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7052
7053 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7054 csqrt, erfc, sin and sincos.
7055 * math/auto-libm-test-out: Regenerated.
7056 * sysdeps/i386/fpu/libm-test-ulps: Update.
7057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058
7059 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7060
7061 * sysdeps/aarch64/libm-test-ulps: Update.
7062
7063 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7064
7065 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7066 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7067 * math/auto-libm-test-out: Regenerated.
7068 * sysdeps/i386/fpu/libm-test-ulps: Update.
7069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070
7071 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7072
7073 [BZ #18265]
7074 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7075 (wcsncpy): Likewise.
7076
7077 2015-05-05 Florian Weimer <fweimer@redhat.com>
7078
7079 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7080 Assume __ASSUME_FALLOCATE is always true.
7081 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7082 (__posix_fallocate64_l64): Likweise.
7083 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7084 (posix_fallocate): Likewise.
7085 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7086 (__posix_fallocate64_l64): Likewise.
7087 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7088 [!__ASSUME_FALLOCATE]: Add comment.
7089
7090 2015-05-05 Florian Weimer <fweimer@redhat.com>
7091
7092 * sysdeps/unix/sysv/linux/i386/Makefile
7093 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7094 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7095 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7096 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7097 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7098 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7099 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7100
7101 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7102
7103 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7104 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7105 tgamma.
7106 * math/auto-libm-test-out: Regenerated.
7107 * sysdeps/i386/fpu/libm-test-ulps: Update.
7108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7109
7110 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7111
7112 * math/auto-libm-test-in: Add more tests of tgamma.
7113 * math/auto-libm-test-out: Regenerated.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116
7117 * math/auto-libm-test-in: Add more tests of tanh.
7118 * math/auto-libm-test-out: Regenerated.
7119 * sysdeps/i386/fpu/libm-test-ulps: Update.
7120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7121
7122 * math/auto-libm-test-in: Add more tests of tan.
7123 * math/auto-libm-test-out: Regenerated.
7124 * sysdeps/i386/fpu/libm-test-ulps: Update.
7125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7126
7127 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7128 * math/auto-libm-test-out: Regenerated.
7129 * sysdeps/i386/fpu/libm-test-ulps: Update.
7130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7131
7132 * math/auto-libm-test-in: Add another test of pow.
7133 * math/auto-libm-test-out: Regenerated.
7134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7135
7136 * math/auto-libm-test-in: Add more tests of lgamma.
7137 * math/auto-libm-test-out: Regenerated.
7138 * sysdeps/i386/fpu/libm-test-ulps: Update.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7140
7141 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7142 log1p.
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 2015-05-01 Mark Wielaard <mjw@redhat.com>
7148
7149 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7150 Elf64_Chdr structs and ELFCOMPRESS constants.
7151
7152 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7153
7154 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7155 expm1.
7156 * math/auto-libm-test-out: Regenerated.
7157 * sysdeps/i386/fpu/libm-test-ulps: Update.
7158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7159
7160 * math/auto-libm-test-in: Add more tests of erf and erfc.
7161 * math/auto-libm-test-out: Regenerated.
7162 * sysdeps/i386/fpu/libm-test-ulps: Update.
7163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7164
7165 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7166
7167 * config.h.in (HAVE_AARCH64_BE): Add.
7168
7169 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7170
7171 * math/auto-libm-test-in: Add more tests of csqrt.
7172 * math/auto-libm-test-out: Regenerated.
7173 * sysdeps/i386/fpu/libm-test-ulps: Update.
7174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7175
7176 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7177 * math/auto-libm-test-out: Regenerated.
7178 * sysdeps/i386/fpu/libm-test-ulps: Update.
7179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7180
7181 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7182
7183 2015-04-29 Roland McGrath <roland@hack.frob.com>
7184
7185 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7186 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7187
7188 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7189 (euidaccess, eaccess): Define as weak aliases.
7190
7191 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7192 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7193 but __suseconds_t is often 'long int' so some sources assume that
7194 type is being used (e.g. they use %ld to print tv_usec).
7195
7196 2015-04-29 Florian Weimer <fweimer@redhat.com>
7197
7198 [BZ #18007]
7199 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7200 (CVE-2014-8121)
7201 * nss/tst-nss-getpwent.c: New file.
7202 * nss/Makefile (tests): Add new test.
7203
7204 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7205
7206 [BZ #18346]
7207 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7208 exponents less than 48 as cases where high part of mantissa needs
7209 examining to determine whether argument is integral.
7210 * math/libm-test.inc (round_test_data): Add more tests.
7211
7212 2015-04-28 Mark Wielaard <mjw@redhat.com>
7213
7214 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7215
7216 2015-04-27 David S. Miller <davem@davemloft.net>
7217
7218 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7219 __tls_get_addr.
7220 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7221
7222 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 [BZ#18333]
7225 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7226
7227 2015-04-27 Florian Weimer <fweimer@redhat.com>
7228
7229 [BZ#18333]
7230 * time/tzset.c (parse_tzname): Return error on memory allocation
7231 failure.
7232 * test-skeleton.c (struct temp_name_list): Change type of name
7233 member to non-const.
7234 (add_temp_file): Create a copy of the file name.
7235 (delete_temp_files): Deallocate memory.
7236 (create_temp_file): Add comment.
7237
7238 2015-04-24 Florian Weimer <fweimer@redhat.com>
7239
7240 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7241 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7242
7243 2015-04-24 Roland McGrath <roland@hack.frob.com>
7244
7245 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7246 * sysdeps/arm/configure: Regenerated.
7247
7248 2015-04-24 Florian Weimer <fweimer@redhat.com>
7249
7250 [BZ #17715]
7251 * time/tzfile.c (__tzfile_read): Check for large values of
7252 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7253 * time/tzset.c (__tzstring_len): New function, based on the old
7254 __tzstring function.
7255 (__tzstring): Call __tzstring_len.
7256 (parse_tzname): New helper function extracted from
7257 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7258 the input string.
7259 (parse_offset): New helper function extracted from
7260 __tzset_parse_tz. Replace switch with fallthrough with
7261 initialization before sscanf.
7262 (parse_rule): Likewise.
7263 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7264 new-style function definition.
7265 * timezone/Makefile (tests): Add tst-tzset.
7266 (tst-tzset.out): Dependencies on time zone files.
7267 (tst-tzset-ENV): Set TZDIR.
7268 (testdata/XT%): Copy crafted time zone files.
7269 * timezone/README: Mention crafted time zone files.
7270 * timezone/testdata/XT1, timezone/testdata/XT2,
7271 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7272 files.
7273 * timezone/tst-tzset.c: New test.
7274
7275 2015-04-24 Florian Weimer <fweimer@redhat.com>
7276
7277 * Makeconfig (+gccwarn): Remove -Winline.
7278
7279 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7280
7281 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7282
7283 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7284
7285 * NEWS: Mention sysconf() cache information support for s390.
7286 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7287
7288 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7289
7290 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7292 (__nearbyint): Likewise.
7293 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7294 (copysignl): Likewise.
7295
7296 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7297
7298 [BZ #18287]
7299 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7300 based on padding. (CVE-2015-1781)
7301
7302 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7303
7304 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7305 libc-vdso.h.
7306 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7307 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7308 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7309 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7310 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7311 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7317 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7318 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7319 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7320 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7321 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7322 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7324 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7325 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7326 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7327 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7328 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7329
7330 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7331
7332 * stdlib/setenv.c (__add_to_environ):
7333 Dump core quickly if setenv (..., NULL, ...) is called.
7334 This time, do it the right way, and pacify GCC with a pragma.
7335
7336 2015-04-17 Roland McGrath <roland@hack.frob.com>
7337
7338 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7339 IMAP->l_prev cannot be null, and #if out the code for the contrary
7340 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7341 believe that NS (&_dl_ns[NSID]) could point outside the array.
7342
7343 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7344 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7345 before using NSID as an index.
7346
7347 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7348
7349 [BZ #17825]
7350 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7351 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7352 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7353
7354 2015-04-17 Roland McGrath <roland@hack.frob.com>
7355
7356 Add preliminary port to Google Native Client on ARM.
7357 * abi-tags (.*-.*-nacl.*): New entry.
7358 * sysdeps/arm/nacl: New directory.
7359 * sysdeps/nacl: New directory.
7360
7361 2015-04-16 David S. Miller <davem@davemloft.net>
7362
7363 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7364 lowlevellock-futex.h
7365
7366 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7367
7368 * sysdeps/tile/configure.ac: New file.
7369 * sysdeps/tile/configure: Regenerated.
7370
7371 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7372
7373 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7374 conditionals for weak_alias and libc_hidden_weak.
7375 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7376 libc_hidden_weak and weak_alias.
7377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7378 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7379 and weak_alias for static one.
7380
7381 2015-04-15 David S. Miller <davem@davemloft.net>
7382
7383 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7384
7385 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7386
7387 [BZ #18206]
7388 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7389 Use signed comparision instead of substraction to avoid
7390 overflow bug.
7391 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7392 Take the sign of ret.
7393 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7394 Do not expect precise return values. Only the sign matters.
7395 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7396 * wcsmbs/test-wcsncmp.c: New File.
7397 * string/test-strncmp.c: Add wcsncmp support.
7398
7399 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7400
7401 [BZ #6792]
7402 * math/w_log1p.c: New file.
7403 * math/w_log1pf.c: Likewise.
7404 * math/w_log1pl.c: Likewise.
7405 * math/Makefile (libm-calls): Add w_log1p.
7406 * math/s_log1pl.c (log1pl): Remove weak_alias.
7407 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7408 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7409 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7410 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7411 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7412 [NO_LONG_DOUBLE] (log1pl): Likewise.
7413 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7415 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7416 (log1p): Remove long_double_symbol.
7417 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7418 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7419 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7420 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7421 remove weak_alias for corresponding log1p function.
7422 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7423 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7424 * sysdeps/ia64/fpu/w_log1p.c: New file.
7425 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7426 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7427 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7428
7429 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7430
7431 [BZ #18247]
7432 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7433 decimal exponent by 1.
7434 * stdlib/tst-strtod-round-data: Add more tests.
7435 * stdlib/tst-strtod-round.c (tests): Regenerated.
7436
7437 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7438
7439 * math/auto-libm-test-in: Add more tests of clog and clog10.
7440 * math/auto-libm-test-out: Regenerated.
7441 * sysdeps/i386/fpu/libm-test-ulps: Update.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7443
7444 2015-04-09 Roland McGrath <roland@hack.frob.com>
7445
7446 * Makeconfig (module-cppflags): Exclude all .v.i files.
7447 (skip-module-cppflags): Variable removed.
7448
7449 * configure.ac (libc_config_ok): Initialize before reading
7450 preconfigure scripts, not after.
7451 * configure: Regenerated.
7452
7453 * test-skeleton.c (TIMEOUT): Move #define to top level.
7454 (main): Grok environment variable TEST_DIRECT. If set, print
7455 test expectation details into that file and then behave as if
7456 given --direct.
7457
7458 2015-04-09 Florian Weimer <fweimer@redhat.com>
7459
7460 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7461 warning on 32-bit.
7462
7463 2015-04-08 David S. Miller <davem@davemloft.net>
7464
7465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7466
7467 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7468
7469 * math/auto-libm-test-in: Add more tests of atanh.
7470 * math/auto-libm-test-out: Regenerated.
7471 * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7473
7474 * math/auto-libm-test-in: Add more tests of atan.
7475 * math/auto-libm-test-out: Regenerated.
7476 * sysdeps/i386/fpu/libm-test-ulps: Update.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478
7479 2015-04-08 Florian Weimer <fweimer@redhat.com>
7480
7481 * elf/pldd.c (main): Rewrite to use struct
7482 scratch_buffer instead of extend_alloca.
7483 * elf/pldd-xx.c (find_maps): Likewise.
7484 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7485 <alloca.h>.
7486 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7487 scratch_buffer instead of extend_alloca.
7488 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7489 grp/compat-initgroups.c.
7490 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7491 Rewrite to use struct scratch_buffer instead of extend_alloca.
7492 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7493 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7494
7495 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7496
7497 * math/auto-libm-test-in: Add more tests of cbrt.
7498 * math/auto-libm-test-out: Regenerated.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7500
7501 * math/auto-libm-test-in: Add more tests of cabs.
7502 * math/auto-libm-test-out: Regenerated.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7505
7506 [BZ #18210]
7507 [BZ #18211]
7508 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7509 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7510 computations.
7511 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7512 clog10.
7513 * math/auto-libm-test-out: Regenerated.
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7516
7517 [BZ #18197]
7518 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7519 (atan): Set FE_TONEAREST mode for internal computations.
7520 * math/auto-libm-test-in: Add more tests of atan.
7521 * math/auto-libm-test-out: Regenerated.
7522
7523 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7524
7525 [BZ #17930]
7526 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7527
7528 2015-04-07 Florian Weimer <fweimer@redhat.com>
7529
7530 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7531
7532 2015-04-07 Florian Weimer <fweimer@redhat.com>
7533
7534 * include/scratch_buffer.h: New file.
7535 * malloc/scratch_buffer_grow.c: Likewise.
7536 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7537 * malloc/scratch_buffer_set_array_size.c: Likewise.
7538 * malloc/tst-scratch_buffer.c: Likewise.
7539 * malloc/Makefile (routines): Add scratch_buffer_grow.
7540 (tests): Add test case.
7541 * malloc/Versions (GLIBC_PRIVATE): Export
7542 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7543 __libc_scratch_buffer_set_array_size.
7544
7545 2015-04-06 Richard Henderson <rth@redhat.com>
7546
7547 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7548 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7549
7550 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7551 unsigned int before printing.
7552
7553 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7554
7555 [BZ #17596]
7556 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7557 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7558
7559 2015-04-02 Florian Weimer <fweimer@redhat.com>
7560
7561 * include/libc-internal.h (libc_max_align_t): Define.
7562
7563 2015-04-02 Andreas Schwab <schwab@suse.de>
7564
7565 [BZ #16850]
7566 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7567
7568 2015-04-02 Mel Gorman <mgorman@suse.de>
7569
7570 [BZ #17195]
7571 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7572 as well as the main arena.
7573
7574 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7575
7576 [BZ #18185]
7577 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7578 sharing L2 cache to 2 for Silvermont/Knights Landing.
7579
7580 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7581
7582 [BZ #17711]
7583 * config.make.in (have-protected-data): New.
7584 * configure.ac: Check linker support for protected data symbol.
7585 * configure: Regenerated.
7586 * elf/Makefile (modules-names): Add tst-protected1moda and
7587 tst-protected1modb if $(have-protected-data) is yes.
7588 (tests): Add tst-protected1a and tst-protected1b if
7589 $(have-protected-data) is yes.
7590 ($(objpfx)tst-protected1a): New.
7591 ($(objpfx)tst-protected1b): Likewise.
7592 (tst-protected1modb.so-no-z-defs): Likewise.
7593 * elf/tst-protected1a.c: New file.
7594 * elf/tst-protected1b.c: Likewise.
7595 * elf/tst-protected1mod.h: Likewise.
7596 * elf/tst-protected1moda.c: Likewise.
7597 * elf/tst-protected1modb.c: Likewise.
7598
7599 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 [BZ #17711]
7602 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7603 indicates it is called from do_lookup_x on relocation against
7604 protected data, skip the data definion in the executable from
7605 copy reloc.
7606 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7607 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7608 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7609 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7610 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7611 otherwise to 0.
7612 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7613 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7614 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7615 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7616 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7617 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7618
7619 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7620
7621 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7622 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7623
7624 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7625
7626 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7627 THREAD_SETMEM_NC.
7628 * sysdeps/x86_64/nptl/tls.h: Ditto.
7629
7630 2015-03-27 Roland McGrath <roland@hack.frob.com>
7631
7632 * dlfcn/tststatic.c (main): Converted to ...
7633 (do_test): ... this.
7634 (TEST_FUNCTION): New macro.
7635 Include test-skeleton.c.
7636
7637 2015-03-26 Alan Modra <amodra@gmail.com>
7638
7639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7640 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7641 zero for undefined weak.
7642 (elf_machine_plt_conflict): Similarly.
7643
7644 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7645
7646 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7647 atanh.
7648 * math/auto-libm-test-out: Regenerated.
7649 * sysdeps/i386/fpu/libm-test-ulps: Update.
7650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7651
7652 * math/auto-libm-test-in: Add another test of asin.
7653 * math/auto-libm-test-out: Regenerated.
7654 * sysdeps/i386/fpu/libm-test-ulps: Update.
7655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656
7657 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7658 Remove macro.
7659 (LLL_EBX_REG): Likewise.
7660 (LLL_ENTER_KERNEL): Likewise.
7661
7662 * math/auto-libm-test-in: Add more tests of asin.
7663 * math/auto-libm-test-out: Regenerated.
7664 * sysdeps/i386/fpu/libm-test-ulps: Update.
7665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7666
7667 [BZ #18138]
7668 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7669 libc_do_syscall_args): New structure.
7670 (INTERNAL_SYSCALL_MAIN_0): New macro.
7671 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7672 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7673 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7674 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7675 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7676 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7677 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7678 Replace conditional definitions by conditional definitions of ....
7679 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7680 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7681 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7682 (libpthread-sysdep_routines): Add libc-do-syscall.
7683 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7684 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7685 to __NR_futex not 240.
7686
7687 2015-03-25 Alan Modra <amodra@gmail.com>
7688
7689 * NEWS: Advertise TLS optimization.
7690 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7691 (DT_PPC_NUM): Increment.
7692 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7693 (CHECK_STATIC_TLS): Use here.
7694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7695 TLS descriptors.
7696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7697 * sysdeps/powerpc/dl-tls.c: New file.
7698 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7699 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7700 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7701 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7705
7706 2015-03-25 Alan Modra <amodra@gmail.com>
7707
7708 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7709 for overlapping .opd entries" to "support...".
7710 * sysdeps/powerpc/powerpc64/configure: Regenerate
7711
7712 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7713
7714 * math/auto-libm-test-in: Add more tests of acos.
7715 * math/auto-libm-test-out: Regenerated.
7716 * sysdeps/i386/fpu/libm-test-ulps: Update.
7717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7718
7719 * math/auto-libm-test-in: Add more tests of expm1.
7720 * math/auto-libm-test-out: Regenerated.
7721 * sysdeps/i386/fpu/libm-test-ulps: Update.
7722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7723
7724 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7725
7726 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7727 * math/auto-libm-test-out: Regenerated.
7728 * sysdeps/i386/fpu/libm-test-ulps: Update.
7729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7730
7731 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7733
7734 * math/auto-libm-test-in: Add more tests of log2.
7735 * math/auto-libm-test-out: Regenerated.
7736 * sysdeps/i386/fpu/libm-test-ulps: Update.
7737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738
7739 2015-03-23 Roland McGrath <roland@hack.frob.com>
7740
7741 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7742 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7743 _IO_IS_APPENDING bit in READ_WRITE instead.
7744
7745 2015-03-23 Florian Weimer <fweimer@redhat.com>
7746
7747 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7748 (__determine_cpumask_size): Replace extend_alloca with a
7749 variable-length array. Do not treat res == 0 as an error.
7750
7751 2015-03-23 Florian Weimer <fweimer@redhat.com>
7752
7753 [BZ #18100]
7754 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7755 and integer overflow.
7756 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7757 (main): Add integer overflow tests.
7758 * manual/pattern.texi (Calling Wordexp): Document additional use
7759 for WRDE_SYNTAX.
7760
7761 2015-03-23 Alan Modra <amodra@gmail.com>
7762
7763 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7764 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7765 and false branch of conditional.
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7767 Likewise.
7768
7769 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7770
7771 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7772 libc-modules.h
7773 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7774 unused declaration of _hurd_intr_rpc_msg_in_trap.
7775 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7776 defined instead of whether it is non-zero.
7777 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7778 input constraint instead of both input and output constraint. Use ecx
7779 clobber instead of %ecx.
7780 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7781 mutex_unlock): Use a statement expression instead of an expression list.
7782 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7783 type to vm_size_t instead of vm_address_t.
7784 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7785 defined instead of whether it is non-zero.
7786 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7787 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7788 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7789 comparisons with mapaddr.
7790 * nscd/nscd-client.h: Include <time.h>.
7791 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7792 9th parameter to __vm_region instead of int.
7793 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7794 * scripts/check-local-headers.sh (exclude): Add device/,
7795 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7796 cthreads.h.
7797
7798 2015-03-19 Roland McGrath <roland@hack.frob.com>
7799
7800 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7801 to account for alignment padding.
7802 * sysdeps/arm/memmove.S: Likewise.
7803
7804 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7805
7806 * sysdeps/unix/sysv/linux/generic/README: New file.
7807
7808 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7809
7810 [BZ #18138]
7811 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7812 (futex_abstimed_wait)
7813 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7814 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7815 of lll_futex_timed_wait.
7816
7817 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7818
7819 [BZ #17542]
7820 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7821
7822 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7823
7824 [BZ #17090]
7825 [BZ #17620]
7826 [BZ #17621]
7827 [BZ #17628]
7828 * NEWS: Update.
7829 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7830 entries with Static TLS too. Skip entries past the end of the
7831 allocated DTV, from Alan Modra.
7832 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7833 Static TLS DTV entry set up from...
7834 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7835 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7836 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7837 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7838 for Static TLS.
7839 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7840 that the slot we find is associated with the given map before
7841 using its generation count.
7842 * nptl_db/db_info.c: Include ldsodefs.h.
7843 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7844 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7845 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7846 (link_map::l_tls_offset): New struct field.
7847 (dtv_t::counter): Likewise.
7848 (rtld_global): New struct.
7849 (_rtld_global): New rtld variable.
7850 (dl_tls_dtv_slotinfo_list): New rtld global field.
7851 (dtv_slotinfo_list): New struct.
7852 (dtv_slotinfo): Likewise.
7853 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7854 (td_lookup): Rename to...
7855 (td_mod_lookup): ... this. Use new mod parameter instead of
7856 LIBPTHREAD_SO.
7857 * nptl_db/td_thr_tlsbase.c: Include link.h.
7858 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7859 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7860 addresses even if the DTV is out of date or missing them.
7861 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7862 index zero-length arrays.
7863 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7864 (td_lookup): Make it a macro implemented in terms of...
7865 (td_mod_lookup): ... this declaration.
7866 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7867 (DB_MAIN_VARIABLE): Likewise.
7868
7869 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 [BZ #18134]
7872 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7873
7874 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7875
7876 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7877
7878 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7879
7880 [BZ #18128]
7881 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7882 (atomic_add, atomic_increment_and_test)
7883 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7884
7885 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7886
7887 * stdlib/setenv.c (__add_to_environ):
7888 Dump core quickly if setenv (..., NULL, ...) is called.
7889
7890 2015-03-13 Roland McGrath <roland@hack.frob.com>
7891
7892 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7893 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7894 all the necessary asm magic in one place.
7895 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7896 using those.
7897
7898 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7899
7900 [BZ #14906]
7901 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7902 traced file mtime. Use consistent log message.
7903 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7904 (register_traced_file): Call install_watches. Always set mtime.
7905 (invalidate_cache): Iterate over all trace files. Call install_watches.
7906 (inotify_check_files): Don't inline. Handle watching parent
7907 directories and configuration file movement in and out.
7908 (handle_inotify_events): New function.
7909 (main_loop_poll): Call handle_inotify_events.
7910 (main_loop_epoll): Likewise.
7911 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7912 (struct traced_file): Use array of inotify fds. Add parent directory,
7913 and basename.
7914 (struct database_dyn): Remove unused file_mtime.
7915 (init_traced_file): New inline function.
7916 (define_traced_file): New macro.
7917 * nss/nss_db/db-init.c: Use define_traced_file.
7918 (_nss_db_init): Use init_traced_file.
7919 * nss/nss_files/files-init.c: Use define_traced_file.
7920 (_nss_files_init): Use init_traced_file.
7921
7922 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7923
7924 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7925 [_LIBC]: Do not include <stdlib.h>.
7926 [!_LIBC] (abort): Remove declaration.
7927 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7928 _FP_STATIC_ASSERT instead of conditionally calling abort.
7929 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7930 (_FP_EXTEND_CNAN): Likewise.
7931 (FP_TRUNC): Likewise.
7932 (__FP_CLZ): Likewise.
7933 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7934
7935 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7936
7937 * manual/string.texi (XPG basename): Fix prototype.
7938
7939 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7940
7941 [BZ #18080]
7942 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7943 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7944 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7945 (__setcontext): Likewise.
7946 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7947 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7948 Call rt_sigprocmask syscall one time to set new signal mask
7949 and retrieve the current signal mask instead of two calls.
7950 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7951 (__swapcontext): Likewise.
7952 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7953 * stdlib/tst-setcontext2.c: New file.
7954
7955 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7956
7957 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7958
7959 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7960
7961 [BZ #18093]
7962 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7963 the wrong size.
7964
7965 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7966
7967 [BZ #18043]
7968 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7969
7970 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7971
7972 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7973 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7974 Remove define.
7975 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7976 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7977 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7978 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7979 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7980 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7981 define.
7982 * nptl_db/td_symbol_list.c (td_lookup): Remove
7983 HAVE_ASM_GLOBAL_DOT_NAME code.
7984 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7985 HAVE_ASM_GLOBAL_DOT_NAME check.
7986 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7987 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7988 (DOT_LABEL): Remove define.
7989 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7990 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7991 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7992 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7993 (__TLS_GET_ADDR): Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7995 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7996
7997 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7998
7999 [BZ #18111]
8000 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8001 (_FPU_SETCW): Initialize cw from fpsr before storing.
8002 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8003 (fesetexceptflag): Rewrite using fpu_control.h.
8004 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8005
8006 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8007
8008 [BZ #18110]
8009 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8010 asms.
8011 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8012
8013 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8014
8015 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8016 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8017 abort.
8018 (_FP_FMA): Likewise.
8019 (_FP_DIV): Likewise.
8020
8021 2015-03-10 Roland McGrath <roland@hack.frob.com>
8022
8023 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8024 with 0 in that case.
8025 * Makefile (summarize-tests): New canned sequence, factored out of
8026 commands for targets tests and xtests. Display summary lines that
8027 don't start with PASS: or XFAIL: rather than ones that do start with
8028 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8029 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8030 do start with ERROR: or FAIL:.
8031 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8032 (except for [$(build-shared) = yes]).
8033 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8034 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8035 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8036 * nptl/Makefile: Revert 2015-03-04 changes.
8037 [$(CXX) empty] (tests-unsupported): New variable.
8038 * debug/Makefile: Likewise.
8039
8040 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8041 gnulib file. Replace __attribute with __attribute__ throughout.
8042
8043 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8044
8045 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8046
8047 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8048
8049 [BZ #18104]
8050 * math/auto-libm-test-in: Add another test of pow.
8051 * math/auto-libm-test-out: Regenerated.
8052
8053 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8054
8055 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8056 $(config-cflags-nofma).
8057
8058 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8059
8060 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8061 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8062 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8063 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8064 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8065 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8066 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8067 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8068 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8069 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8070 Add comment on closing #endif.
8071
8072 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8073
8074 * posix/wordexp.c (CHAR_IN_SET): New macro.
8075 (parse_param): Use it.
8076
8077 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8078
8079 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8080
8081 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8082
8083 [BZ #18043]
8084 * posix/wordexp.c (parse_param): Fix buffer overflow.
8085 * posix/wordexp-test.c (test_case): Add test case.
8086
8087 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8088
8089 [BZ #18042]
8090 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8091 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8092
8093 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8094
8095 [BZ #18043]
8096 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8097 (do_bz18043): Delete.
8098 (at_page_end): New.
8099 (testit): Refactor to have words at the edge of unreadable page.
8100
8101 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8102
8103 [BZ #16734]
8104 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8105 Cleanup read-only streams as well.
8106 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8107
8108 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8109
8110 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8111 <bits/libc-lockP.h>
8112
8113 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8114
8115 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8116 on [__KERNEL__].
8117 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8118 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8119 * soft-fp/op-common.h (_FP_DECL): Likewise.
8120
8121 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8122
8123 * elf/ifuncdep2.c (global): Replace
8124 __attribute__((visibility("protected"))) with
8125 asm (".protected global").
8126 * elf/ifuncmod1.c (global): Likewise.
8127 * elf/ifuncmod5.c (global): Likewise.
8128
8129 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8130
8131 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8132 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8133
8134 2015-03-06 Roland McGrath <roland@hack.frob.com>
8135
8136 * manual/install.texi (Configuring and compiling):
8137 Document test-wrapper-env-only.
8138 * INSTALL: Regenerated.
8139
8140 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8141
8142 [BZ #18043]
8143 * posix/wordexp.c (parse_param): Fix buffer overflow.
8144 * posix/wordexp-test.c (do_bz18043): Add test case.
8145
8146 2015-03-06 Vincent Bernat <vincent@bernat.im>
8147
8148 * time/tst-strptime2.c (do_test): Ensure failing tests are
8149 reported correctly.
8150 * time/tst-strptime3.c (do_test): Likewise.
8151
8152 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8153
8154 Fix aio_error thread-safety.
8155 * sysdeps/pthread/aio_error.c: New file
8156 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8157 synchronization.
8158
8159 2015-03-06 Florian Weimer <fweimer@redhat.com>
8160
8161 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8162 (group_number, vfprintf): Use it.
8163 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8164 (JUMP, REF): Use it.
8165 (WORK_BUFFER_SIZE): New enum constant.
8166 (process_arg, vfprintf): Use it.
8167
8168 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8169
8170 * manual/errno.texi (Error Messages): Complete example function
8171 by adding missing #define.
8172 (program_invocation_name): Add statement indicating GNU
8173 extension and reference which header file declares the variable.
8174 (program_invocation_short_name): Likewise.
8175
8176 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8177
8178 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8179 compatibility note.
8180
8181 2015-03-05 Roland McGrath <roland@hack.frob.com>
8182
8183 * Makeconfig (test-wrapper-env-only): New variable.
8184 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8185 then use that with $(test-wrapper-env-only) rather than using
8186 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8187
8188 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8189
8190 [BZ #18082]
8191 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8192 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8193 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8194 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8195 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8196 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8197 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8198 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8199 Likewise.
8200 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8201 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8202 Likewise.
8203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8204 Likewise.
8205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8206 Likewise.
8207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8208 Likewise.
8209 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8211 Likewise.
8212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8213 Likewise.
8214 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8215 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8216
8217 2015-03-04 Roland McGrath <roland@hack.frob.com>
8218
8219 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8220 (ETH_ALEN): New macro.
8221 (struct ether_addr): Use it for length of ether_addr_octet.
8222
8223 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8224 (setdb): Don't call __nss_configure_lookup for "rpc".
8225 (do_test): Don't call test_rpc.
8226 (output_rpcent, test_rpc): Functions moved ...
8227 * sunrpc/test-rpcent.c: ... to this new file.
8228 * sunrpc/Makefile (tests): Add it.
8229
8230 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8231 __xpg_sigpause.
8232 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8233 * nptl/tst-signal6.c: Likewise.
8234 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8235 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8236
8237 * configure.ac (libc_cv_cxx_link_ok): New check.
8238 Reset CXX to empty if it fails to link.
8239 * configure: Regenerated.
8240 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8241 bug-atexit3-lib only if $(CXX) is nonempty.
8242 * nptl/Makefile (tests): Likewise for tst-cancel24.
8243 (tests, tests-static): Likewise for tst-cancel24-static.
8244 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8245 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8246 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8247 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8248
8249 2015-03-04 Andreas Schwab <schwab@suse.de>
8250
8251 [BZ #17631]
8252 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8253 for non-GCC compilers.
8254 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8255 Likewise.
8256
8257 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8258
8259 [BZ #17776]
8260 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8261 integer before bitwise and assembly operations.
8262 (feclearexcept): Likewise.
8263 * math/test-fenvinline.c: New file.
8264 * math/Makefile: Add test-fenvinline test.
8265
8266 2015-03-03 Alan Modra <amodra@gmail.com>
8267
8268 [BZ #16512]
8269 * scripts/localplt.awk: Strip off symbol version.
8270 * NEWS: Mention bug fix.
8271
8272 2015-03-02 Roland McGrath <roland@hack.frob.com>
8273
8274 * sysdeps/pthread/timer_routines.c
8275 (timer_free_list, thread_free_list, thread_active_list): Make static.
8276
8277 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8278
8279 [BZ #17779]
8280 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8281 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8282 Undefine.
8283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8284 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8285 Likewise.
8286 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8287 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8288 Likewise.
8289
8290 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8291
8292 [BZ #18036]
8293 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8294 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8295
8296 2015-03-02 Andreas Schwab <schwab@suse.de>
8297
8298 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8299 variable name.
8300
8301 2015-03-02 Florian Weimer <fweimer@redhat.com>
8302
8303 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8304 Return error status.
8305
8306 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8307
8308 [BZ #15969]
8309 * locale/findlocale.c (_nl_find_locale): Introduce const
8310 version of loc_name and drop unsafe type casts.
8311
8312 2015-02-27 Roland McGrath <roland@hack.frob.com>
8313
8314 * dlfcn/tststatic2.c (main): Converted to ...
8315 (do_test): ... this.
8316 (TEST_FUNCTION): New macro.
8317 Include test-skeleton.c.
8318
8319 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8320
8321 [BZ #17711]
8322 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8323 (tests-pie): Add vismain.
8324 (CFLAGS-vismain.c): New.
8325 * elf/vismain.c: Add comments for PIE requirement.
8326
8327 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8328
8329 [BZ #18046]
8330 [BZ #18047]
8331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8332 0x1p-56L as threshold for just returning the argument.
8333 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8334 0x1p-32L as threshold for just returning the argument.
8335 * math/auto-libm-test-in: Add more tests of atanh.
8336 * math/auto-libm-test-out: Regenerated.
8337 * sysdeps/i386/fpu/libm-test-ulps: Update.
8338 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8339
8340 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8341
8342 * string/bcopy.c (bcopy): Call memmove for performance.
8343
8344 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8345
8346 * string/bzero.c (__bzero): Call memset for performance.
8347
8348 2015-02-27 John David Anglin <dave.anglin@bell.net>
8349
8350 [BZ #18068]
8351 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8352 to 00100000.
8353
8354 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8355
8356 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8357
8358 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8359
8360 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8361 (__kernel_standard): Use CSTR macro when setting exc.name.
8362 * sysdeps/ieee754/Makefile [$(subdir) = math]
8363 (CFLAGS-k_standard.c): Remove variable.
8364
8365 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8366 setting p and q from "else if" to "else".
8367 (qzero): Likewise.
8368 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8369 (qone): Likewise.
8370 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8371 (qzerof): Likewise.
8372 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8373 (qonef): Likewise.
8374 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8375 (qzero): Likewise.
8376 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8377 (qone): Likewise.
8378
8379 [BZ #18038]
8380 [BZ #18039]
8381 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8382 return pi/2 for arguments below 0x1p-113L.
8383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8384 return pi/2 for arguments below 0x1p-106L.
8385 * math/auto-libm-test-in: Add more tests of acos.
8386 * math/auto-libm-test-out: Regenerated.
8387
8388 [BZ #16351]
8389 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8390 (MO): New macro.
8391 (__ieee754_asin): Force underflow exception for results with small
8392 absolute value.
8393 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8394 (MO): New macro.
8395 (__ieee754_asinf): Force underflow exception for results with
8396 small absolute value.
8397 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8398 (__ieee754_asin): Force underflow exception for results with small
8399 absolute value.
8400 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8401 (__ieee754_asinf): Force underflow exception for results with
8402 small absolute value.
8403 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8404 (__ieee754_asinl): Force underflow exception for results with
8405 small absolute value.
8406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8407 (__ieee754_asinl): Force underflow exception for results with
8408 small absolute value.
8409 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8410 (__ieee754_asinl): Force underflow exception for results with
8411 small absolute value.
8412 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8413 Include <math.h>.
8414 * math/auto-libm-test-in: Do not mark underflow exceptions as
8415 possibly missing for bug 16351.
8416 * math/auto-libm-test-out: Regenerated.
8417
8418 [BZ #18030]
8419 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8420 of power of 2 down when low part has opposite sign.
8421 * math/libm-test.inc (logb_test_data): Add more tests.
8422
8423 2015-02-26 Andreas Schwab <schwab@suse.de>
8424
8425 [BZ #18032]
8426 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8427 over collating symbol inside a bracket expression. Minor cleanup.
8428 * posix/tst-fnmatch3.c (do_test): Add test case.
8429
8430 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8431
8432 [BZ #18029]
8433 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8434 Adjust exponent of power of 2 down when low part has opposite
8435 sign.
8436 * math/libm-test.inc (ilogb_test_data): Add more tests.
8437
8438 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8439
8440 [BZ #15969]
8441 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8442 the previous change.
8443
8444 [BZ #15969]
8445 * locale/findlocale.c (_nl_find_locale): Retry archive search
8446 after alias expansion.
8447
8448 2015-02-25 Roland McGrath <roland@hack.frob.com>
8449
8450 * iconv/tst-iconv3.c (main): Converted to ...
8451 (do_test): ... this.
8452 (TEST_FUNCTION): New macro.
8453 Include test-skeleton.c.
8454
8455 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8456 (convert): Make function static.
8457 (test_unalign): Likewise. Add const to argument pointee types.
8458 (main): Replace with static function do_test.
8459 Print "Succeeded." only if RET is zero.
8460 (TEST_FUNCTION): New macro.
8461 Include test-skeleton.c.
8462
8463 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8464 returns a null pointer.
8465
8466 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8467
8468 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8469 to __memcpy_ppc only for static builds.
8470
8471 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8472
8473 [BZ #18020]
8474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8475 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8476 * math/auto-libm-test-in: Add more tests of asinh.
8477 * math/auto-libm-test-out: Regenerated.
8478 * sysdeps/i386/fpu/libm-test-ulps: Update.
8479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8480
8481 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8482
8483 [BZ #15850]
8484 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8485 and ip6_mtuinfo definitions here.
8486 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8487 in this define too. Update comment.
8488
8489 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8490
8491 * elf/sprof.c (load_shobj): Tweak error message to match others.
8492
8493 2015-02-24 Kevin Easton <kevin@guarana.org>
8494
8495 [BZ #16145] (partial fix)
8496 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8497 to reduce lock contention.
8498
8499 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8500
8501 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8502 (struct timex): Update time comment.
8503 (ADJ_SETOFFSET): Define.
8504
8505 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8506
8507 [BZ #18019]
8508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8509 2**56 not 2**28 as threshold for log (2x) formula.
8510 * math/auto-libm-test-in: Add more tests of acosh.
8511 * math/auto-libm-test-out: Regenerated.
8512 * sysdeps/i386/fpu/libm-test-ulps: Update.
8513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8514
8515 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8516
8517 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8518 parenthesis around the buf assignment.
8519 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8520
8521 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #16783]
8524 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8525 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8526 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8527 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8528 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8529 * math/libm-test.inc (scalb_test_data): Add more tests.
8530
8531 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8532
8533 [BZ #17916]
8534 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8535 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8536
8537 2015-02-24 Eric Rannaud <e@nanocritical.com>
8538
8539 [BZ #17523]
8540 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8541 * io/bits/fcntl2.h (open): Use it.
8542 (openat): Likewise.
8543 * io/open.c (__libc_open): Likewise.
8544 * io/open64.c (__libc_open64): Likewise.
8545 * io/open64_2.c (__open64_2): Likewise.
8546 * io/open_2.c (__open_2): Likewise.
8547 * io/openat.c (__openat): Likewise.
8548 * io/openat64.c (__openat64): Likewise.
8549 * io/openat64_2.c (__openat64_2): Likewise.
8550 * io/openat_2.c (__openat_2): Likewise.
8551 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8552 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8553 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8554 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8555 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8556 (__open_nocancel): Likewise.
8557 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8558 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8559 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8560
8561 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8562
8563 [BZ #14841]
8564 * resolv/gethnamaddr.c (getanswer): Skip logging if
8565 RES_USE_DNSSEC is set.
8566 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8567
8568 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8569
8570 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8571
8572 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8573
8574 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8575 201304L, for Unicode 7.
8576
8577 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 [BZ #17836]
8580 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8581 shared library. Add gmon-start.os otherwise.
8582 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8583 $(objpfx)gmon-start.os if builing shared library.
8584 ($(objpfx)g$(static-start-installed-name)): Likewise.
8585
8586 2015-02-23 Andreas Schwab <schwab@suse.de>
8587
8588 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8589
8590 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8591
8592 [BZ #17269]
8593 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8594 (enlarge_userbuf): Likewise.
8595
8596 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8597
8598 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8599 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8600 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8601 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8602
8603 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8604
8605 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8606 expression inside statement expression.
8607
8608 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8609
8610 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8611 <sysdeps/nptl/lowlevellock.h> and remove macros and
8612 functions that are now defined there.
8613 (SYS_futex): Remove.
8614 (lll_compare_and_swap): Remove.
8615 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8616
8617 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8618
8619 [BZ #17999]
8620 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8621 instead of scandirat.
8622 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8623 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8624 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8625 __scandirat.
8626 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8627 (__scandirat): Declare. Use libc_hidden_proto.
8628 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8629 Remove variable.
8630 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8631
8632 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8633
8634 [BZ #15319]
8635 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8636 (MO): New macro.
8637 (__ieee754_atan2): For results with small absolute value, force
8638 underflow exception and remove excess range and precision from
8639 return value.
8640 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8641 (MO): New macro.
8642 (__ieee754_atan2f): For results with small absolute value, force
8643 underflow exception and remove excess range and precision from
8644 return value.
8645 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8646 (MO): New macro.
8647 (__atan): For results with small absolute value, force underflow
8648 exception and remove excess range and precision from return value.
8649 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8650 (MO): New macro.
8651 (__atanf): For results with small absolute value, force underflow
8652 exception and remove excess range and precision from return value.
8653 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8654 <math.h>.
8655 (__ieee754_atan2): Force underflow exception for results with
8656 small absolute value.
8657 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8658 <math_private.h>.
8659 (atan): Force underflow exception for results with small absolute
8660 value.
8661 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8662 (__atanf): Force underflow exception for results with small
8663 absolute value.
8664 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8665 <math.h>.
8666 (__atanl): Force underflow exception for results with small
8667 absolute value.
8668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8669 (__atanl): Force underflow exception for results with small
8670 absolute value.
8671 * sysdeps/x86/fpu/bits/mathinline.h
8672 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8673 (__ieee754_atan2): Only define inline for long double.
8674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8675 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8676 * math/auto-libm-test-in: Do not mark underflow exceptions as
8677 possibly missing for bug 15319. Add more tests of atan2.
8678 * math/auto-libm-test-out: Regenerated.
8679 * math/libm-test.inc (casin_test_data): Do not mark underflow
8680 exceptions as possibly missing for bug 15319.
8681 (casinh_test_data): Likewise.
8682 * sysdeps/i386/fpu/libm-test-ulps: Update.
8683
8684 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8685
8686 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8687 * sysdeps/mips/bits/endian.h: Fix comments.
8688
8689 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8690
8691 [BZ #17996]
8692 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8693 (hdestroy_r): Likewise.
8694 (hsearch_r): Likewise.
8695 (__hcreate_r): Declare and use libc_hidden_proto.
8696 (__hdestroy_r): Likewise.
8697 (__hsearch_r): Likewise.
8698 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8699 (hcreate): Call __hcreate_r instead of hcreate_r.
8700 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8701 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8702 as weak alias of __hcreate_r.
8703 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8704 __hdestroy_r.
8705 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8706 __hsearch_r.
8707 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8708 Remove variable.
8709 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8710 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8711 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8712 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8713
8714 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8715
8716 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8717 arena_lock into a single arena_get.
8718
8719 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8720
8721 * dl-reloc.c: Inlucde libc-internal.h.
8722 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8723 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8724 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8725 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8726 (grow_heap): Likewise.
8727 * malloc/malloc.c: Include libc-internal.h.
8728 (do_check_malloc): Call powerof2.
8729 (sysmalloc): Use pagesize. Call ALIGN_UP.
8730 (systrim): Use pagesize.
8731 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8732 (__libc_valloc): Use pagesize.
8733 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8734
8735 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8736
8737 [BZ #17991]
8738 * include/sys/resource.h (__getrlimit64): Declare. Use
8739 libc_hidden_proto.
8740 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8741 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8742 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8743 getrlimit64.
8744 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8745 __getrlimit64.
8746 [!getrlimit64] (getrlimit64): Define as weak alias of
8747 __getrlimit64. Use libc_hidden_weak.
8748 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8749 using __getrlimit64 not __new_getrlimit64.
8750 (__GI_getrlimit64): Likewise.
8751 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8752 Likewise.
8753 (__GI_getrlimit64): Likewise.
8754 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8756 (getrlimit): Add __getrlimit64 alias.
8757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8758 Likewise.
8759 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8760 Remove variable.
8761 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8762 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8763
8764 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8765
8766 * libio/fileops.c: Add missing sys/mman.h
8767 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8768
8769 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8770
8771 * manual/math.texi (Errors in Math Functions): Clarify goals
8772 regarding inexact and underflow exceptions.
8773
8774 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8775
8776 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8777 * sysdeps/mips/memset.S: Ditto.
8778
8779 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8780
8781 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8782
8783 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8784
8785 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8786 (__v1longjmp): Remove versioned symbol.
8787 (__v1siglongjmp): Remove alias and versioned symbol.
8788 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8789 (__v2siglongjmp): Likewise.
8790
8791 2015-02-16 Torvald Riegel <triegel@redhat.com>
8792
8793 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8794
8795 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8796
8797 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8798
8799 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8800
8801 [BZ #17987]
8802 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8803 zero result does not depend on the sign resulting from
8804 subtraction.
8805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8806 Likewise.
8807 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8808 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8810 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8811 * math/libm-test.inc (remquo_test_data): Add more tests.
8812
8813 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8814
8815 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8816 Problem reported by J William Piggott.
8817
8818 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8819
8820 [BZ #17978]
8821 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8822 products 4 * y and 2 * y where those would overflow.
8823 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8824 Likewise.
8825 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8826 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8829 * math/libm-test.inc (remquo_test_data): Add more tests.
8830
8831 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8832
8833 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8834 [defined _COMPILING_NEWLIB].
8835 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8836 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8837
8838 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8839 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8840
8841 2015-02-16 Torvald Riegel <triegel@redhat.com>
8842
8843 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8844 acquired.
8845
8846 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8847
8848 [BZ #17792]
8849 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8850 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8851 HOST_STACK_END_ADDR): Likewise.
8852
8853 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8854
8855 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8856 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8857 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8858
8859 2015-02-13 Roland McGrath <roland@hack.frob.com>
8860
8861 * sysdeps/generic/c++-types.data: New file.
8862 * sysdeps/generic/ld.abilist: New file.
8863 * sysdeps/generic/libBrokenLocale.abilist: New file.
8864 * sysdeps/generic/libanl.abilist: New file.
8865 * sysdeps/generic/libc.abilist: New file.
8866 * sysdeps/generic/libcrypt.abilist: New file.
8867 * sysdeps/generic/libdl.abilist: New file.
8868 * sysdeps/generic/libm.abilist: New file.
8869 * sysdeps/generic/libpthread.abilist: New file.
8870 * sysdeps/generic/libresolv.abilist: New file.
8871 * sysdeps/generic/librt.abilist: New file.
8872
8873 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8874
8875 [BZ #17569]
8876 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8877 Compute absolute value of x as modified by fmod, not original
8878 value of x.
8879 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8880 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8881 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8882 RUN_TEST_ffI_f1_mod8.
8883 (remquo_test_data): Add more tests.
8884
8885 2015-02-13 Roland McGrath <roland@hack.frob.com>
8886
8887 * sysdeps/init_array/pt-crti.S: New file.
8888
8889 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8890
8891 [BZ #17967]
8892 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8893 __builtin_fmaf instead of relying on contraction of a * b + c.
8894
8895 2015-02-12 J William Piggott <elseifthen@gmx.com>
8896
8897 [BZ #17969]
8898 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8899 node.
8900
8901 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8902
8903 [BZ #17964]
8904 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8905 __builtin_fma instead of relying on contraction of a * b + c.
8906
8907 2015-02-12 Roland McGrath <roland@hack.frob.com>
8908
8909 * Makeconfig (ASFLAGS): Add -Werror=undef.
8910 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8911 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8912 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8913
8914 * Makeconfig (after-link): New variable.
8915 (+link-pie, +link-pie-tests): Use it.
8916 (+link-static, +link-static-tests): Likewise.
8917 (+link, +link-tests): Likewise.
8918 * Makerules (build-module, build-module-asneeded): Likewise.
8919 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8920 Likewise.
8921 * elf/Makefile ($(objpfx)ld.so): Likewise.
8922
8923 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8924
8925 [BZ #17965]
8926 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8927 both struct timeval and struct timespec.
8928
8929 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8930
8931 [BZ #16560]
8932 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8933 and redefine.
8934 (__ieee754_exp2l): Do not multiply small fractional parts by
8935 M_LN2l.
8936 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8937 small argument.
8938 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8939 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8940 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8941 * math/auto-libm-test-in: Add more tests of exp2.
8942 * math/auto-libm-test-out: Regenerated.
8943
8944 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8945
8946 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8947 unaligned path.
8948
8949 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8950
8951 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8952 little endian.
8953
8954 2015-02-12 Andreas Schwab <schwab@suse.de>
8955
8956 [BZ #15790]
8957 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8958 Filter out elision flags from value returned in kind.
8959 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8960 * nptl/tst-pthread-mutexattr.c: New file.
8961
8962 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8963
8964 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8965 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8966 into gnu-gnu, and update comment to refer to abi-tags.
8967
8968 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8969
8970 [BZ #15467]
8971 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8972 (__sincos): Set errno to EDOM for infinite argument.
8973 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8974 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8975 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8976 (__sincosl): Set errno to EDOM for infinite argument.
8977 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8978 (__sincosl): Set errno to EDOM for infinite argument.
8979 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8980 (__sincosl): Set errno to EDOM for infinite argument.
8981 * math/libm-test.inc (sincos_test_data): Test errno setting.
8982
8983 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8984
8985 * string/strxfrm_l.c: Remove #define STRCMP.
8986 * string/strcoll_l.c: Remove #define STRLEN.
8987 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8988 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8989
8990 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8991
8992 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8993 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8994 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8995 * sysdeps/mips/mips64/Makefile: ... here.
8996 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8997 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8998 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8999 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9000 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9001 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9002 * sysdeps/mips/mips64/n64/Implies: Likewise.
9003
9004 2015-02-10 Roland McGrath <roland@hack.frob.com>
9005
9006 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9007 <sys/time.h>, <string.h>, and <errno.h>.
9008 (dest_offset, dest_address, value, zero): Remove unused variables.
9009 (ldouble): Remove typedef.
9010 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9011 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9012 1). Fix code style.
9013 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9014 (check): Function removed.
9015 (CHECK): New macro.
9016 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9017 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9018 Don't call set_sigaction_FP and remove_sigaction_FP here.
9019 (ldouble_test): Just use 'long double' as macro argument, no need for
9020 the 'ldouble' typedef.
9021 (do_test): Set up SIGFPE handler at start, using plain signal rather
9022 than sigaction. Fix code style.
9023
9024 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9025
9026 [BZ #17949]
9027 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9028 jump label.
9029
9030 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9031
9032 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9033 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9034
9035 * sysdeps/powerpc/configure.ac: Remove file.
9036 * sysdeps/powerpc/configure: Likewise.
9037
9038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9039 [sysdep_routines]: Remove wordcopy-power6 object.
9040 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9041 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9043 (__memmove_ppc32): Likewise.
9044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9045 file.
9046 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9047 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9048 Remove preprocessor.
9049
9050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9051 [sysdep_routines]: Remove wide chars objects.
9052 [wcsmbs]: New rule for wide char objects.
9053
9054 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9055 Remove wordcopy-power6 obejct.
9056 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9057 Use local call for wordcopy and memcpy symbols.
9058 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9060 implementation for loader.
9061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9062
9063 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9064 Remove wordcopy-power7 object.
9065 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9066 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9067 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9068 (_wordcopy_fwd_dest_aligned): Likewise.
9069 (_wordcopy_bwd_aligned): Likewise.
9070 (_wordcopy_bwd_dest_aligned): Likewise.
9071
9072 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9073 Rewrite to call __memmove_ppc instead of include default
9074 implementation.
9075
9076 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9077 Remove wide chars objects.
9078 [wcsmbs]: New rule for wide char objects.
9079
9080 2015-02-09 Andreas Schwab <schwab@suse.de>
9081
9082 [BZ #17912]
9083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9084 in terms of __O_DIRECTORY.
9085
9086 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9087
9088 * time/getdate.c: Include <stdbool.h>.
9089 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9090 call PTR_MANGLE.
9091 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9092 PTR_DEMANGLE.
9093
9094 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9095
9096 Add ersatz _Static_assert on older C hosts
9097 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9098 pre-C11 C platform that is not known to support _Static_assert.
9099
9100 2015-02-07 Richard Braun <rbraun@sceen.net>
9101
9102 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9103 sigstate.
9104 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9105
9106 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9107
9108 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9109 priority against unexistent AIO_PRIO_DELTA_MAX.
9110 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9111 instead of int.
9112 * misc/fchflags.c (fchflags): Likewise.
9113 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9114 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9115 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9116 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9117 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9118 Declare macros.
9119 [__USE_MISC] (chflags, fchflags): Declare functions.
9120 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9121 EINVAL when nfds is greater than FD_SETSIZE.
9122 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9123 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9124 45.
9125 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9126 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9127 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9128 MACH_RCV_TIMED_OUT.
9129 * hurd/hurd/signal.h (_hurd_self_sigstate,
9130 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9131 Explicit casts from void *.
9132 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9133 * abi-tags: Rename gnu-gnu os into gnu.
9134
9135 [BZ #4719]
9136 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9137 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9138 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9139 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9140 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9141 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9142
9143 [BZ #17944]
9144 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9145 duplicates ADDR->sun_path with sockaddr LEN limitation.
9146 * sysdeps/mach/hurd/connect.c: Include <string.h>
9147 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9148 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9149 * sysdeps/mach/hurd/sendto.c: Likewise.
9150 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9151 implementing it by hand.
9152
9153 2015-02-06 Roland McGrath <roland@hack.frob.com>
9154
9155 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9156 Use sfi_breg on ldr.
9157 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9158 Likewise.
9159
9160 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9161 it's defined.
9162 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9163 Test SIGSETXID only if it's defined.
9164
9165 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9166
9167 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9168 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9169
9170 * nptl/tst-align2.c: Moved ...
9171 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9172 * nptl/Makefile (tests): Remove tst-align2.
9173 * sysdeps/unix/sysv/linux/Makefile
9174 [$(subdir) = nptl] (tests): Add tst-align-clone.
9175 * nptl/tst-getpid1.c: Moved ...
9176 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9177 * nptl/tst-getpid2.c: Moved ...
9178 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9179 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9180 * sysdeps/unix/sysv/linux/Makefile
9181 [$(subdir) = nptl] (tests): ... here.
9182 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9183 * sysdeps/unix/sysv/linux/Makefile
9184 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9185
9186 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9187 Drop trailing \n from perror argument. Use return rather than exit.
9188
9189 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9190 on [SA_SIGINFO].
9191 * nptl/tst-cancel21.c (do_test): Likewise.
9192 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9193 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9194 [!SA_SIGINFO]: Make it a stub test.
9195
9196 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9197 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9198
9199 * posix/tst-getlogin.c: Move to ...
9200 * login/tst-getlogin.c: ... here.
9201 * posix/Makefile (tests): Move tst-getlogin to ...
9202 * login/Makefile (tests): ... here.
9203
9204 * libio/tst-atime.c (do_test): Move local variables SV and E
9205 inside [ST_NOATIME] conditional.
9206
9207 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9208
9209 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9210
9211 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9212 (wait_code): New function replaces macro.
9213 Call nanosleep rather than syscall.
9214
9215 * nptl/pt-system.c: Rewritten. Put everything under
9216 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9217 Use IFUNC to redirect when possible.
9218
9219 * nptl/pt-longjmp.c: Rewritten. Put everything under
9220 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9221 Use IFUNC to redirect when possible.
9222
9223 * nptl/pt-fork.c: Rewritten. Put everything under
9224 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9225 Use IFUNC to redirect when possible.
9226 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9227
9228 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9229 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9230 unconditionally nowadays. This included the only reference to
9231 __vdso_clock_gettime that appears outside libc proper.
9232 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9233 Remove version set (containing only __vdso_clock_gettime).
9234 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9235 Add attribute_hidden.
9236 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9237 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9238 libc_hidden_data_def.
9239 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9241
9242 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9243 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9244 setrpcent, and getrpcport to ...
9245 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9246 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9247 getrpcbynumber_r, and getrpcent_r to ...
9248 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9249 * inet/getrpcbyname.c: Moved ...
9250 * sunrpc/getrpcbyname.c: ... here.
9251 * inet/getrpcbyname_r.c: Moved ...
9252 * sunrpc/getrpcbyname_r.c: ... here.
9253 * inet/getrpcbynumber.c: Moved ...
9254 * sunrpc/getrpcbynumber.c: ... here.
9255 * inet/getrpcbynumber_r.c: Moved ...
9256 * sunrpc/getrpcbynumber_r.c: ... here.
9257 * inet/getrpcent.c: Moved ...
9258 * sunrpc/getrpcent.c: ... here.
9259 * inet/getrpcent_r.c: Moved ...
9260 * sunrpc/getrpcent_r.c: ... here.
9261 * inet/Makefile (routines): Move those to ...
9262 * sunrpc/Makefile (routines): ... here.
9263 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9264 the $(subdirs) list.
9265 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9266 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9267 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9268 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9269
9270 * elf/Makefile (routines): Include $(all-dl-routines), not just
9271 $(dl-routines).
9272 (rtld-routines): Likewise. Use = rather than :=.
9273 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9274 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9275 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9276 * sysdeps/arm/Makefile: Likewise.
9277 * sysdeps/i386/Makefile: Likewise.
9278 * sysdeps/x86_64/Makefile: Likewise.
9279 * sysdeps/hppa/Makefile [$(subdir) = elf]
9280 (sysdep_routines, sysdep-rtld-routines): Don't add
9281 $(sysdep-dl-routines) to these.
9282 * sysdeps/ia64/Makefile: Likewise.
9283 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9284 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9285 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9286 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9287 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9288 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9289 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9290 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9291 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9292 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9293 these; sysdep-dl-routines alone is enough.
9294
9295 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9296
9297 [BZ #17932]
9298 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9299 where multiplication results in zero and third argument is finite
9300 and nonzero.
9301 * math/auto-libm-test-in: Add more tests of fma.
9302 * math/auto-libm-test-out: Regenerated.
9303
9304 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9305 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9306 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9307 (_FP_CMP_EQ): Likewise.
9308 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9309
9310 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9311 extra argument CHECK_NAN. Redefine as wrapper around
9312 _FP_EXTEND_CNAN.
9313
9314 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9315
9316 * version.h (RELEASE): Set to "stable".
9317 (VERSION): Set to "2.21"
9318 * include/features.h (__GLIBC_MINOR__): Set to 21.
9319
9320 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9321
9322 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9323 Paul Eggert <eggert@cs.ucla.edu>
9324
9325 [BZ #16618]
9326 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9327 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9328 size in bytes. Store needed elements in wpmax. Use needed size
9329 in bytes for extend_alloca.
9330
9331 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9332
9333 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9334 binutls 2.25, and texinfo 5.2.
9335 * INSTALL: Regenerate.
9336 * sysdeps/nios2/configure: Regenerate.
9337 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9338 * manual/contrib.texi: Update.
9339 * po/be.po: Update.
9340 * po/bg.po: Update.
9341 * po/ca.po: Update.
9342 * po/cs.po: Update.
9343 * po/da.po: Update.
9344 * po/de.po: Update.
9345 * po/el.po: Update.
9346 * po/eo.po: Update.
9347 * po/es.po: Update.
9348 * po/fi.po: Update.
9349 * po/fr.po: Update.
9350 * po/gl.po: Update.
9351 * po/hr.po: Update.
9352 * po/hu.po: Update.
9353 * po/ia.po: Update.
9354 * po/id.po: Update.
9355 * po/it.po: Update.
9356 * po/ja.po: Update.
9357 * po/ko.po: Update.
9358 * po/lt.po: Update.
9359 * po/nb.po: Update.
9360 * po/nl.po: Update.
9361 * po/pl.po: Update.
9362 * po/pt_BR.po: Update.
9363 * po/ru.po: Update.
9364 * po/rw.po: Update.
9365 * po/sk.po: Update.
9366 * po/sl.po: Update.
9367 * po/sv.po: Update.
9368 * po/tr.po: Update.
9369 * po/uk.po: Update.
9370 * po/vi.po: Update.
9371 * po/zh_CN.po: Update.
9372 * po/zh_TW.po: Update.
9373
9374 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9375 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9376 * sysdeps/hppa/dl-irel.h: Remove #warning.
9377 * sysdeps/hppa/entry.h: Provide prototype for
9378 __canonicalize_funcptr_for_compare and cast argument.
9379 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9380 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9381 * sysdeps/hppa/sotruss-lib.c: New file.
9382 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9383 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9384 (atomic_compare_and_exchange_bool_acq): Likewise.
9385 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9386 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9387
9388 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9389 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9390 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9391
9392 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9393
9394 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9395 called function in non-PIC case.
9396
9397 2015-01-31 David S. Miller <davem@davemloft.net>
9398
9399 * sysdeps/sparc/sparc32/bits/atomic.h
9400 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9401 unlock not after it.
9402 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9403 volatile register usage warnings from the compiler.
9404
9405 * sysdeps/sparc/nptl/sem_init.c: Delete.
9406 * sysdeps/sparc/nptl/sem_post.c: Delete.
9407 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9408 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9409 * sysdeps/sparc/sparc32/sem_init.c: New file.
9410 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9411 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9412 padding explicitly initialized.
9413 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9414 padding for in-semaphore spinlock.
9415 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9416 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9417 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9418 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9419 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9420 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9421 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9422 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9423 version.
9424 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9425 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9426
9427 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 [BZ #17801]
9430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9431 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9432 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9433 New.
9434 (index_AVX_Fast_Unaligned_Load): Likewise.
9435 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9436 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9437 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9438 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9439 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9440 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9441 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9442 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9443 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9444
9445 2015-01-29 Andreas Schwab <schwab@suse.de>
9446
9447 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9448
9449 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9450
9451 [BZ #17892]
9452 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9453
9454 2015-01-28 Martin Sebor <msebor@redhat.com>
9455
9456 * math/README.libm-test: Clarify. Add "How to read the test output."
9457
9458 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9459
9460 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9461 Define to 0.
9462
9463 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9464
9465 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9466 (__HAVE_64B_ATOMICS): Define to 0.
9467
9468 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9469
9470 [BZ #17885]
9471 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9472 value to set as new flag.
9473
9474 [BZ #16576]
9475 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9476 and use _ARCH_PPCSQ instead.
9477 (__ieee754_sqrt): Likewise.
9478 (__ieee754_sqrtf): Likewise.
9479 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9480 _ARCH_PPCSQ is defined.
9481 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9482 fsqrt instruction.
9483 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9484 _ARCH_PPCSQ is defined.
9485 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9486 fsqrts instruction.
9487 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9488
9489 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9490
9491 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9492 bug (GCC BZ #64739).
9493
9494 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9495
9496 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9497 Mark _retval as used.
9498 (lll_futex_wake_unlock): Likewise.
9499 (lll_futex_timed_wait_requeue_pi): Likewise.
9500
9501 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9502 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9503 register variables.
9504
9505 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9506 libm_hidden_def.
9507
9508 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9509 (__bswap_64): Mark as __always_inline.
9510
9511 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9512
9513 [BZ #15378]
9514 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9515 when none of the search directories exist.
9516
9517 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9518
9519 [BZ #17869]
9520 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9521 power8 in .machine directive.
9522
9523 [BZ #17868]
9524 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9525 set dependency from opd value.
9526
9527 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9528
9529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9530 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9531 architecture.
9532
9533 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9534
9535 [BZ #17870]
9536 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9537 with uint64_t.
9538 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9539 (uint64_t) 1.
9540 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9541 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9542 Replace 1UL with (uint64_t) 1.
9543 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9544 int with uint64_t.
9545
9546 2015-01-23 Roland McGrath <roland@hack.frob.com>
9547
9548 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9549 (if_freenameindex): Likewise.
9550
9551 * resource/getrlimit64.c: Add missing libc_hidden_def.
9552
9553 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9554
9555 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9556 __label__.
9557 (_FP_FMA): Likewise.
9558 (_FP_TO_INT_ROUND): Likewise.
9559 (_FP_FROM_INT): Likewise.
9560
9561 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9562
9563 [BZ #16418]
9564 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9565 Make code racy and cancel safe.
9566
9567 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9568
9569 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9570 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9571 attribution.
9572
9573 * pwd/tst-getpw.c: Rewrite.
9574
9575 [BZ #17702]
9576 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9577 (modules-names): Add moddummy1 and moddummy2.
9578 ($(objpfx)tst-rec-dlopen): Define.
9579 * dlfcn/moddummy1.c: New file.
9580 * dlfcn/moddummy2.c: New file.
9581 * dlfcn/tst-rec-dlopen.c: New file.
9582 * elf/dl-cache.c (_dl_load_cache_lookup):
9583 Return char*. Copy result with alloca/strcpy/strdup.
9584 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9585 returns char*. Free cached. If not saving realname
9586 free cached.
9587 * elf/dl-open.c (dl_open_worker): Do not assert that
9588 _r_debug->r_state is RT_CONSISTENT.
9589 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9590 returns char*.
9591
9592 2015-01-21 Torvald Riegel <triegel@redhat.com>
9593 Carlos O'Donell <carlos@redhat.com>
9594
9595 [BZ #12674]
9596 * nptl/sem_waitcommon.c: New file.
9597 * nptl/sem_wait.c: Include sem_waitcommon.c.
9598 (__sem_wait_cleanup, do_futex_wait): Remove.
9599 (__new_sem_wait): Adapt.
9600 (__new_sem_trywait): New function.
9601 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9602 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9603 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9604 (sem_timedwait): Adapt.
9605 * nptl/sem_post.c (__new_sem_post): Adapt.
9606 (futex_wake): New function.
9607 (__old_sem_post): Add release MO fence.
9608 * nptl/sem_open.c (sem_open): Adapt.
9609 * nptl/sem_init.c (__new_sem_init): Adapt.
9610 (futex_private_if_supported): New function.
9611 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9612 (__old_sem_getvalue): Add using previous code.
9613 * sysdeps/nptl/internaltypes.h: Adapt.
9614 * nptl/tst-sem13.c (do_test): Adapt.
9615 * nptl/tst-sem11.c (main): Adapt.
9616 * nptl/sem_trywait.c: Remove.
9617 * nptl/DESIGN-sem.txt: Remove.
9618 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9619 (gen-as-const-headers): Remove structsem.sym.
9620 * nptl/structsem.sym: Remove.
9621 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9622 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9623 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9624 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9625 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9626 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9627 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9628 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9629 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9630 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9631 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9632 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9633 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9634 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9635 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9636 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9637 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9638 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9639 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9640 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9641 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9642 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9643
9644 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9645
9646 * INSTALL: Regenerated.
9647
9648 * po/libc.pot: Regenerated.
9649
9650 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9651 Sandra Loosemore <sandra@codesourcery.com>
9652 Andrew Jenner <andrew@codesourcery.com>
9653 Joseph Myers <joseph@codesourcery.com>
9654 Nathan Sidwell <nathan@codesourcery.com>
9655
9656 * NEWS: Mention new Nios II port.
9657 * sysdeps/nios2/Implies: New file.
9658 * sysdeps/nios2/Makefile: New file.
9659 * sysdeps/nios2/Subdirs: New file.
9660 * sysdeps/nios2/Versions: New file.
9661 * sysdeps/nios2/__longjmp.S: New file.
9662 * sysdeps/nios2/abort-instr.h: New file.
9663 * sysdeps/nios2/backtrace.c: New file.
9664 * sysdeps/nios2/bits/endian.h: New file.
9665 * sysdeps/nios2/bits/fenv.h: New file.
9666 * sysdeps/nios2/bits/link.h: New file.
9667 * sysdeps/nios2/bits/setjmp.h: New file.
9668 * sysdeps/nios2/bsd-_setjmp.S: New file.
9669 * sysdeps/nios2/bsd-setjmp.S: New file.
9670 * sysdeps/nios2/configure: New generated file.
9671 * sysdeps/nios2/configure.ac: New file.
9672 * sysdeps/nios2/crti.S: New file.
9673 * sysdeps/nios2/crtn.S: New file.
9674 * sysdeps/nios2/dl-init.c: New file.
9675 * sysdeps/nios2/dl-machine.h: New file.
9676 * sysdeps/nios2/dl-sysdep.h: New file.
9677 * sysdeps/nios2/dl-tls.h: New file.
9678 * sysdeps/nios2/dl-trampoline.S: New file.
9679 * sysdeps/nios2/gccframe.h: New file.
9680 * sysdeps/nios2/gmp-mparam.h: New file.
9681 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9682 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9683 * sysdeps/nios2/ldsodefs.h: New file.
9684 * sysdeps/nios2/libc-tls.c: New file.
9685 * sysdeps/nios2/libm-test-ulps: New file.
9686 * sysdeps/nios2/machine-gmon.h: New file.
9687 * sysdeps/nios2/math-tests.h: New file.
9688 * sysdeps/nios2/math_private.h: New file.
9689 * sysdeps/nios2/memusage.h: New file.
9690 * sysdeps/nios2/nptl/Makefile: New file.
9691 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9692 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9693 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9694 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9695 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9696 * sysdeps/nios2/nptl/tls.h: New file.
9697 * sysdeps/nios2/preconfigure: New file.
9698 * sysdeps/nios2/s_fma.c: New file.
9699 * sysdeps/nios2/s_fmaf.c: New file.
9700 * sysdeps/nios2/setjmp.S: New file.
9701 * sysdeps/nios2/sfp-machine.h: New file.
9702 * sysdeps/nios2/sotruss-lib.c: New file.
9703 * sysdeps/nios2/stackguard-macros.h: New file.
9704 * sysdeps/nios2/stackinfo.h: New file.
9705 * sysdeps/nios2/start.S: New file.
9706 * sysdeps/nios2/sysdep.h: New file.
9707 * sysdeps/nios2/tls-macros.h: New file.
9708 * sysdeps/nios2/tst-audit.h: New file.
9709 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9710 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9711 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9712 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9713 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9714 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9715 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9716 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9717 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9718 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9719 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9720 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9721 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9722 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9723 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9724 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9725 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9726 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9727 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9728 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9729 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9730 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9731 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9732 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9733 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9734 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9735 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9736 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9737 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9738 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9739 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9740 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9741 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9742 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9743 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9744 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9745 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9746 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9747 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9748 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9749 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9750 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9751 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9752 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9753
9754 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9755
9756 [BZ #17844]
9757 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9758 (getutent): Use weak_alias in non SHARED case
9759 and default_symbol_version in SHARED case.
9760 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9761 (getutent_r, pututline): Likewise.
9762 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9763 (getutid): Likewise.
9764 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9765 (getutid_r): Likewise.
9766 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9767 (getutline): Likewise.
9768 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9769 (getutline_r): Likewise.
9770 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9771 (updwtmp): Likewise.
9772
9773 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9774
9775 [BZ #17848]
9776 * sysdeps/s390/s390-32/memcmp.S
9777 (memcmp_g5): Rename to __memcmp_g5.
9778 * sysdeps/s390/s390-32/memcpy.S
9779 (memcpy_g5): Rename to __memcpy_g5.
9780 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9781 (memcpy_mvcle) Rename to __memcpy_mvcle.
9782 * sysdeps/s390/s390-32/memset.S
9783 (memset_g5): Rename to __memset_g5.
9784 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9785 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9786 and use prefixed functions.
9787 * sysdeps/s390/s390-32/multiarch/memcmp.S
9788 (memcmp_z196): Rename to __memcmp_z196.
9789 (memcmp_z10): Rename to __memcmp_z10.
9790 (memcmp): Set alias to __memcmp_g5.
9791 (bcmp): Set alias to __memcmp_g5.
9792 * sysdeps/s390/s390-32/multiarch/memcpy.S
9793 (memcpy_z196): Rename to __memcpy_z196.
9794 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9795 (memcpy_z10): Rename to __memcpy_z10.
9796 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9797 (memcpy): Set alias to __memcpy_g5.
9798 * sysdeps/s390/s390-32/multiarch/memset.S
9799 (memset_z196): Rename to __memset_z196.
9800 Jump to __memset_mvcle instead of memset_mvcle.
9801 (memset_z10): Rename to __memset_z10.
9802 Jump to __memset_mvcle instead of memset_mvcle.
9803 (memset_mvcle) Rename to __memset_mvcle.
9804 (memset): Set alias to __memset_g5.
9805 * sysdeps/s390/s390-64/memcmp.S
9806 (memcmp_z900): Rename to __memcmp_z900.
9807 * sysdeps/s390/s390-64/memcpy.S
9808 (memcpy_z900): Rename to __memcpy_z900.
9809 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9810 (memcpy_mvcle) Rename to __memcpy_mvcle.
9811 * sysdeps/s390/s390-64/memset.S
9812 (memset_z900): Rename to __memset_z900.
9813 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9814 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9815 and use prefixed functions.
9816 * sysdeps/s390/s390-64/multiarch/memcmp.S
9817 (memcmp_z196): Rename to __memcmp_z196.
9818 (memcmp_z10): Rename to __memcmp_z10.
9819 (memcmp): Set alias to __memcmp_z900.
9820 (bcmp): Set alias to __memcmp_z900.
9821 * sysdeps/s390/s390-64/multiarch/memcpy.S
9822 (memcpy_z196): Rename to __memcpy_z196.
9823 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9824 (memcpy_z10): Rename to __memcpy_z10.
9825 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9826 (memcpy): Set alias to __memcpy_z900.
9827 * sysdeps/s390/s390-64/multiarch/memset.S
9828 (memset_z196): Rename to __memset_z196.
9829 Jump to __memset_mvcle instead of memset_mvcle.
9830 (memset_z10): Rename to __memset_z10.
9831 Jump to __memset_mvcle instead of memset_mvcle.
9832 (memset_mvcle) Rename to __memset_mvcle.
9833 (memset): Set alias to __memset_z900.
9834
9835 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9836
9837 [BZ #17748]
9838 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9839 __fesetenv instead of fesetenv.
9840
9841 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9842
9843 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9844 macro.
9845
9846 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9847
9848 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9849 regression on LE.
9850
9851 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9852 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9853 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9854 strncmp-power8 object.
9855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9856 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9857 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9858 * NEWS: Update.
9859
9860 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9861 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9862
9863 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9864 trailing byte check.
9865
9866 2015-01-13 David S. Miller <davem@davemloft.net>
9867
9868 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9869
9870 2015-01-13 Roland McGrath <roland@hack.frob.com>
9871
9872 * login/logout.c (logout): Use memset rather than bzero.
9873 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9874 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9875 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9876 (_gethtbyaddr): Likewise.
9877 * locale/programs/simple-hash.c (bcopy): Macro removed.
9878
9879 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880
9881 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9882 Add strcmp-power8 object.
9883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9884 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9885 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9886 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9887 __strcmp_power8 implementation.
9888 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9889 * NEWS: Update.
9890
9891 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9892 Add strncpy-power8 and stpncpy-power8 objects.
9893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9894 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9895 implementations.
9896 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9897 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9898 __stpncpy_power8 implementation.
9899 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9900 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9901 __strncpy_power8 implementation.
9902 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9903 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9904 * NEWS: Update.
9905
9906 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9907 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9908 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9909
9910 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9911 strncat-power8 object.
9912 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9913 __strcat_power8 implementation.
9914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9915 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9916 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9917 optimized strcat for power8.
9918
9919 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9920 strcpy-power8 and stpcpy-power8 objects.
9921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9922 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9923 implementations.
9924 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9925 multiarch stpcpy implementation for POWER8.
9926 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9927 multiarch strcpy implementation for POWER8.
9928 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9929 __strcpy_power8 function.
9930 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9931 stpcpy for POWER8.
9932 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9933 strcpy for POWER8.
9934 * NEWS: Update.
9935
9936 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9937
9938 [BZ #16009]
9939 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9940 weights and rules. Use do_xfrm_cached if data fits in cache,
9941 do_xfrm otherwise. Moved former main loop to...
9942 * (do_xfrm_cached): New function.
9943 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9944 find_idx, find_position and stack_push.
9945 * (find_idx): New function.
9946 * (find_position): Likewise.
9947 * localedata/sort-test.sh: Added test run for do_xfrm.
9948 * localedata/xfrm-test.c (main): Added command line option
9949 -nocache to run the test with strings that are too large for
9950 the STRXFRM cache.
9951
9952 2015-01-13 Torvald Riegel <triegel@redhat.com>
9953
9954 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9955 variable to lll_futex_wake call, not the value itself.
9956
9957 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9958
9959 [BZ #17803]
9960 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9961 twom64. Adjust value to 0x1p-64L.
9962 (__scalblnl): Only return standard underflowing result for K <=
9963 -64 not K <= -63; adjust exponent for underflowing result by 64
9964 not 63.
9965 * math/libm-test.inc (scalbn_test_data): Add more tests.
9966 (scalbln_test_data): Likewise.
9967
9968 [BZ #17834]
9969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9970 0x1p63L.
9971 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9972 not HX.
9973 * math/libm-test.inc (scalbn_test_data): Add more tests.
9974 (scalbln_test_data): Likewise.
9975
9976 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9977 Stefani Seibold <stefani@seibold.net>
9978
9979 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9980 (sysdep_routines): Add dl-vdso here, ...
9981 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9982 (sysdep_routines): ... not here.
9983 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9984 fallback when vDSO is not presented.
9985 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9986 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9987 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9988 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9989 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9990 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9991 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9993 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9995 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9996 fallback configurable symbol when vDSO is not available.
9997 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9998 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9999 be able to redefine fallback symbol when vDSO is not available.
10000 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10001 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10002
10003 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004
10005 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10006 (TLS_INIT_TP): Add tm_capable initialization.
10007 (TLS_DEFINE_INIT_TP): Likewise.
10008 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10009 TCB.
10010 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10011 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10012 calculation.
10013 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10014 transactoion is lock elision is built and TCB tm_capable is set.
10015 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10017 (INTERNAL_SYSCALL_NCS): Likewise.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10019 (INTERNAL_SYSCALL_NCS): Likewise.
10020 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10021
10022 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10023 for powerpc.
10024 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10025 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10026 and remove it for 32 bits case.
10027 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10028 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10029 initialization.
10030 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10031 Disable lock elision with rdlocks if elision is not available.
10032
10033 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10034 (sysdep_routines): Add lock elision objects.
10035 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10036 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10037 [pthread_mutex_t] (__elision): Add field.
10038 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10039 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10040 elision definitions for powerpc.
10041 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10042 implementation of lock elision for powerpc.
10043 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10044 implementation of timed lock elision for powerpc.
10045 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10046 implementation of trylock with lock elision for powerpc.
10047 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10048 implementaion of unlock for lock elision for powerpc.
10049 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10050 automatic enable lock elision for mutexes.
10051 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10052 transaction execution definitions for powerpc.
10053 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10054 definitions.
10055 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10056 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10057 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10058 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10059 * NEWS: Update.
10060
10061 2015-01-09 Roland McGrath <roland@hack.frob.com>
10062
10063 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10064 for #include of <shm-directory.h>.
10065
10066 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10067
10068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10069 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10070
10071 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10072
10073 [BZ #17791]
10074 * NEWS: Mention bug fix.
10075 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10076 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10077 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10078
10079 2015-01-09 Torvald Riegel <triegel@redhat.com>
10080
10081 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10082
10083 2015-01-09 Torvald Riegel <triegel@redhat.com>
10084
10085 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10086
10087 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10088
10089 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10090 pointer and cast to uintptr_t.
10091
10092 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10093
10094 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10095 removed.
10096 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10097
10098 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10099
10100 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10101 of 0.
10102
10103 2015-01-08 Roland McGrath <roland@hack.frob.com>
10104
10105 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10106 <nptl/pthreadP.h> instead.
10107 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10108
10109 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10110 already defined.
10111 [__SIGRTMIN] (init): Function removed.
10112 [__SIGRTMIN] (initialized): Variable removed.
10113 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10114 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10115 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10116 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10117 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10118 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10119 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10120 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10121 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10122 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10123 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10124 * sysdeps/nptl/allocrtsig.c: New file.
10125 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10126 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10127 * sysdeps/generic/testrtsig.h: File removed.
10128
10129 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10130 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10131
10132 * nptl/nptl-init.c (pthread_functions): Conditionalize
10133 .ptr__nptl_setxid initialization on [SIGSETXID].
10134
10135 * sysdeps/nptl/sys/procfs.h: New file.
10136 * nptl_db/Makefile (headers): Add it.
10137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10138
10139 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10140 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10141 * nptl/pthread_attr_setaffinity.c: Include it.
10142 * nptl/pthread_setattr_default_np.c: Likewise.
10143 * nptl/check-cpuset.h: New file.
10144
10145 2015-01-08 Richard Henderson <rth@redhat.com>
10146
10147 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10148 (CFLAGS-tst-execstack-prog.c): Likewise.
10149 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10150
10151 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10152 Sandra Loosemore <sandra@codesourcery.com>
10153 Andrew Jenner <andrew@codesourcery.com>
10154 Joseph Myers <joseph@codesourcery.com>
10155 Nathan Sidwell <nathan@codesourcery.com>
10156
10157 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10158 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10159 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10160 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10161 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10162 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10163 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10164 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10165 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10166 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10167 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10168 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10169 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10170 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10171 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10172 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10173 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10174
10175 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10176
10177 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10178 timespec struct member in syscall macro.
10179 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10180 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10181 first timeval struct member in syscall macro.
10182 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10183
10184 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10185
10186 [BZ #17748]
10187 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10188 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10189 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10190 __feupdateenv and define as weak alias of __feupdateenv. Use
10191 libm_hidden_weak.
10192 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10193 libm_hidden_def.
10194 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10195 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10196 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10197 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10198 libm_hidden_def.
10199 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10200 __feupdateenv and define as weak alias of __feupdateenv. Use
10201 libm_hidden_weak.
10202 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10203 libm_hidden_def.
10204 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10205 __feupdateenv and define as weak alias of __feupdateenv. Use
10206 libm_hidden_weak.
10207 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10208 libm_hidden_def.
10209 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10210 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10211 (__feupdateenv): Likewise.
10212 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10213 __feupdateenv and define as weak alias of __feupdateenv. Use
10214 libm_hidden_weak.
10215 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10216 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10217 libm_hidden_def.
10218 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10219 function.
10220 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10221 libm_hidden_def.
10222 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10223 __feupdateenv instead of feupdateenv.
10224 (default_libc_feupdateenv_test): Likewise.
10225 (libc_feresetround_ctx): Likewise.
10226
10227 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10228
10229 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10230 prototype.
10231
10232 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10233
10234 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10235 COLL_SYM in a couple of places to avoid uninitialized variable
10236 wanings on tilegx gcc 4.8.2.
10237
10238 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10239
10240 * sysdeps/aarch64/strcpy.S: New file.
10241 * sysdeps/aarch64/stpcpy.S: New file.
10242 * NEWS: Updated.
10243
10244 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10245
10246 * sysdeps/aarch64/strrchr.S: New file.
10247 * NEWS: Updated.
10248
10249 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10250
10251 [BZ #17658]
10252 * stdlib/setenv.c: Fix memory leak when setting large,
10253 duplicate string.
10254
10255 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10256
10257 [BZ #17273]
10258 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10259 and tabs from buffer before parsing fstab entry.
10260 * misc/tst-mntent.c (main): Add test for mount entry with
10261 trailing spaces and tabs.
10262
10263 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10264
10265 [BZ #17748]
10266 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10267 * math/fesetround.c (fesetround): Rename to __fesetround and
10268 define as weak alias of __fesetround. Use libm_hidden_weak.
10269 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10270 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10271 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10272 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10273 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10274 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10275 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10276 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10277 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10278 __fesetround_inline.
10279 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10280 __fesetround_inline instead of __fesetround.
10281 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10282 __fesetround and define as weak alias of __fesetround. Use
10283 libm_hidden_weak. Call __fesetround_inline instead of
10284 __fesetround.
10285 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10286 __fesetround and define as weak alias of __fesetround. Use
10287 libm_hidden_weak.
10288 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10289 Likewise.
10290 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10291 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10292 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10293 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10294 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10295 __fesetround and define as weak alias of __fesetround. Use
10296 libm_hidden_weak.
10297 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10298 __fesetround instead of fesetround.
10299 (default_libc_feholdexcept_setround): Likewise.
10300 (libc_feholdsetround_ctx): Likewise.
10301 (libc_feholdsetround_noex_ctx): Likewise.
10302
10303 [BZ #17748]
10304 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10305 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10306 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10307 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10308 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10309 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10310 define as weak alias of __fesetenv. Use libm_hidden_weak.
10311 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10312 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10313 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10314 define as weak alias of __fesetenv. Use libm_hidden_weak.
10315 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10316 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10317 define as weak alias of __fesetenv. Use libm_hidden_weak.
10318 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10319 libm_hidden_def.
10320 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10321 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10322 Likewise.
10323 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10324 define as weak alias of __fesetenv. Use libm_hidden_weak.
10325 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10326 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10327 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10328 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10329 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10330 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10331 __fesetenv instead of fesetenv.
10332 (libc_feresetround_noex_ctx): Likewise.
10333 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10334 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10335 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10337 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10338 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10339 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10340 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10341 (__feupdateenv): Likewise.
10342 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10343 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10344 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10345 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10346
10347 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10348
10349 [BZ #17806]
10350 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10351 addresses have been freed.
10352
10353 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10354
10355 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10356 and nservall.
10357
10358 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10359
10360 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10361 Clean up check_pf allocation pattern. addresses
10362
10363 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10364
10365 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10366 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10367 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10368 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10369 * nptl/pthread_join.c (pthread_join): Likewise.
10370 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10371 * sysdeps/posix/waitid.c (__waitid): Likewise.
10372 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10373 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10374 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10375 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10376 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10377 Likewise.
10378 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10379 (__libc_pread64): Likewise.
10380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10381 (__libc_pwrite): Likewise.
10382 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10383 (__libc_pwrite64): Likewsie.
10384 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10385 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10386 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10387 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10388 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10389 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10390 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10392 Likewise.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10394 (__libc_pread64): Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10396 Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10398 (__libc_pwrite64): Likewise.
10399 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10400 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10401 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10402 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10403 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10404 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10405 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10406 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10407 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10408 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10409 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10410 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10411 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10412 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10413 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10414 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10415 Likewise.
10416
10417 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10418
10419 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10420 (CFLAGS-test-double.c): Likewise.
10421 (CFLAGS-test-ldouble.c): Likewise.
10422 (CPPFLAGS-test-ifloat.c): Likewise.
10423 (CPPFLAGS-test-idouble.c): Likewise.
10424 (CPPFLAGS-test-ildoubl.c): Likewise.
10425 (CFLAGS-test-test-fenv.c): Remove variable.
10426 (CFLAGS-test-misc.c): Likewise.
10427
10428 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10429
10430 [BZ #17797]
10431 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10432 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10433 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10434 CLOCKS_PER_SEC == 1000000.
10435 * time/clocktest.c (main): Replace %ld with %jd and cast to
10436 intmax_t.
10437
10438 2015-01-05 Roland McGrath <roland@hack.frob.com>
10439
10440 * sysdeps/generic/unwind-resume.h: New file.
10441 * sysdeps/gnu/unwind-resume.c: Include it.
10442 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10443 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10444 argument list.
10445 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10446 global rather than static.
10447 (_Unwind_Resume): Update user.
10448 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10449 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10450 rather than static. Add __attribute__ ((cold)).
10451 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10452 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10453 * sysdeps/arm/arm-unwind-resume.S: New file.
10454 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10455 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10456 * sysdeps/arm/Makefile [$(subdir) = csu]
10457 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10458 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10459 Add rt-arm-unwind-resume.
10460 [$(subdir) = nptl]
10461 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10462 Add pt-arm-unwind-resume.
10463 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10464 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10465
10466 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10467
10468 [BZ #17748]
10469 * include/fenv.h (__feholdexcept): Declare. Use
10470 libm_hidden_proto.
10471 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10472 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10473 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10474 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10475 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10476 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10477 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10478 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10479 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10480 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10481 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10482 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10483 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10484 (feholdexcept): Likewise.
10485 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10486 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10487 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10488 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10489 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10490 __feholdexcept instead of feholdexcept.
10491 (default_libc_feholdexcept_setround): Likewise.
10492
10493 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10494
10495 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10496 to avoid using stl/str to align destination.
10497
10498 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10499
10500 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10501
10502 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10503
10504 [BZ #17796]
10505 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10506 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10507 Define as weak alias not strong alias.
10508
10509 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10510
10511 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10512 bltzal with addiupc.
10513 (RTLD_START): Ditto.
10514
10515 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10516
10517 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10518 for __vdso_* functions in declarations.
10519 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10520 definitions.
10521 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10522 INTERNAL_VSYSCALL): Use struct return types to check for error.
10523
10524 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10525 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10526 function with cast from llround().
10527 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10528 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10529 Define.
10530
10531 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10532
10533 [BZ #17793]
10534 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10535 Define as weak alias not strong alias.
10536
10537 [BZ #17635]
10538 * ctype/ctype-c99.c: New file. isblank implementation moved from
10539 ...
10540 * ctype/ctype-extn.c: ... here.
10541 (__isblank_l): Move to ...
10542 * ctype/ctype-c99_l.c: ... here. New file.
10543 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10544 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10545 Remove variable.
10546 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10547 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10548 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10549 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10550 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10551
10552 [BZ #17777]
10553 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10554 (posix_fadvise64): Define as weak alias not strong alias.
10555 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10556 (posix_fallocate64): Likewise.
10557 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10558 Remove variable.
10559 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10560 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10561 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10562 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10563 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10564
10565 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10566
10567 [BZ #16191]
10568 * NEWS: Mention bug fix.
10569 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10570 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10571 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10572 (HOST_STACK_END_ADDR): Likewise.
10573
10574 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10575
10576 [BZ #17748]
10577 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10578 * math/fegetround.c (fegetround): Rename to __fegetround and
10579 define as weak alias of __fegetround. Use libm_hidden_weak.
10580 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10581 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10582 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10583 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10584 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10585 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10586 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10587 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10588 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10589 Undefine after rather than before function definition; use
10590 parentheses around function name in definition.
10591 (__fegetround): Also undefine macro after function definition.
10592 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10593 __fegetround and define as weak alias of __fegetround. Use
10594 libm_hidden_weak. Do not undefine as macro.
10595 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10596 Likewise.
10597 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10598 __fegetround and define as weak alias of __fegetround. Use
10599 libm_hidden_weak.
10600 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10601 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10602 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10603 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10604 __fegetround and define as weak alias of __fegetround. Use
10605 libm_hidden_weak.
10606 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10607 __fegetround instead of fegetround.
10608
10609 [BZ #17782]
10610 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10611 Condition macro definition on [__USE_MISC].
10612
10613 [BZ #17781]
10614 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10615 (struct sigaction): Change type of sa_flags field to int.
10616
10617 [BZ #17780]
10618 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10619 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10620 __glibc_reserved0.
10621
10622 * nptl/version.c (banner): Use single year in copyright notice.
10623
10624 * NEWS: Update copyright dates.
10625 * catgets/gencat.c (print_version): Likewise.
10626 * csu/version.c (banner): Likewise.
10627 * debug/catchsegv.sh: Likewise.
10628 * debug/pcprofiledump.c (print_version): Likewise.
10629 * debug/xtrace.sh (do_version): Likewise.
10630 * elf/ldconfig.c (print_version): Likewise.
10631 * elf/ldd.bash.in: Likewise.
10632 * elf/pldd.c (print_version): Likewise.
10633 * elf/sotruss.sh: Likewise.
10634 * elf/sprof.c (print_version): Likewise.
10635 * iconv/iconv_prog.c (print_version): Likewise.
10636 * iconv/iconvconfig.c (print_version): Likewise.
10637 * locale/programs/locale.c (print_version): Likewise.
10638 * locale/programs/localedef.c (print_version): Likewise.
10639 * login/programs/pt_chown.c (print_version): Likewise.
10640 * malloc/memusage.sh (do_version): Likewise.
10641 * malloc/memusagestat.c (print_version): Likewise.
10642 * malloc/mtrace.pl: Likewise.
10643 * manual/libc.texinfo: Likewise.
10644 * nptl/version.c (banner): Likewise.
10645 * nscd/nscd.c (print_version): Likewise.
10646 * nss/getent.c (print_version): Likewise.
10647 * nss/makedb.c (print_version): Likewise.
10648 * posix/getconf.c (main): Likewise.
10649 * scripts/test-installation.pl: Likewise.
10650 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10651
10652 2015-01-02 Will Newton <will.newton@linaro.org>
10653
10654 * sysdeps/arm/armv7/configure: Removed.
10655 * sysdeps/arm/armv7/configure.ac: Likewise.
10656
10657 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10658
10659 * All files with FSF copyright notices: Update copyright dates
10660 using scripts/update-copyrights.
10661 * intl/plural.c: Regenerated.
10662 * locale/programs/charmap-kw.h: Likewise.
10663 * locale/programs/locfile-kw.h: Likewise.
10664
10665 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
10667 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10668
10669 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10670
10671 [BZ #17748]
10672 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10673 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10674 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10675 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10676 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10677 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10678 define as weak alias of __fegetenv. Use libm_hidden_weak.
10679 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10680 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10681 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10682 define as weak alias of __fegetenv. Use libm_hidden_weak.
10683 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10684 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10685 define as weak alias of __fegetenv. Use libm_hidden_weak.
10686 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10687 libm_hidden_def.
10688 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10689 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10690 Likewise.
10691 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10692 define as weak alias of __fegetenv. Use libm_hidden_weak.
10693 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10694 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10695 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10696 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10697 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10698 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10699 __fegetenv instead of fegetenv.
10700 (libc_feholdsetround_noex_ctx): Likewise.
10701
10702 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10703
10704 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10705 (Elf_MIPS_ABIFlags_v0): New structure.
10706 (EF_MIPS_FP64): Define.
10707 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10708 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10709 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10710 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10711 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10712 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10713 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10714 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10715 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10716 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10717 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10718 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10719 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10720 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10721 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10722 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10723 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10724 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10725 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10726 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10727 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10728 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10729 field.
10730 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10731 EF_MIPS_FP64.
10732 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10733 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10734 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10735 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10736 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10737 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10738 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10739 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10740 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10741 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10742 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10743 record the current FP ABI extension.
10744 (mips-mode-switch): Define to show if kernel headers support mode
10745 switching.
10746 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10747 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10748 supported SYSV ABI version to 3.
10749 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10750 feature.
10751
10752 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10753 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10754
10755 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10756 path.
10757 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10758
10759 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10760
10761 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10762 __fegetround and redefine to call __fegetround. Remove condition
10763 on [!__NO_MATH_INLINES].
10764 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10765 function.
10766 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10767 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10768 Remove macro.
10769 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10770 instead of <fenv_libc.h>.
10771 (__llrintl): Call fegetround instead of __fegetround.
10772 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10773 instead of <fenv_libc.h>.
10774 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10775 (__lrintl): Call fegetround instead of __fegetround.
10776 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10777 instead of <fenv_libc.h>.
10778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10779 (__rintl): Call fegetround instead of __fegetround.
10780
10781 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10782
10783 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10784 arrays.
10785
10786 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10787
10788 [BZ #17775]
10789 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10790 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10791 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10792
10793 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10794
10795 * sysdeps/i386/tls-macros.h: Include <features.h>.
10796 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10797 (TLS_IE): Likewise.
10798 (TLS_LD): Likewise.
10799 (TLS_GD): Likewise.
10800 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10801 define for GCC >= 5.0.
10802
10803 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10804
10805 * math/test-fenv.c (test_single_exception, set_single_exc,
10806 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10807 feexcp_mask_test, feenable_test, fe_single_test): Add
10808 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10809 case where they are not used.
10810 * math/libm-test.inc: Likewise.
10811 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10812 unused in the absence of FP rounding/exception support.
10813 * stdio-common/tst-printf-round.c: Likewise.
10814 * stdlib/tst-strtod-round.c: Likewise.
10815 * stdlib/tst-strtod-underflow.c: Likewise.
10816
10817 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #17723]
10820 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10821 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10822 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10823 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10824 libm_hidden_weak.
10825 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10826 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10827 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10828 libm_hidden_def.
10829 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10830 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10831 libm_hidden_weak.
10832 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10833 Likewise.
10834 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10835 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10836 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10837 libm_hidden_weak.
10838 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10839 libm_hidden_def.
10840 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10841 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10842 (__feraiseexcept): Likewise.
10843 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10844 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10845 libm_hidden_weak.
10846 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10847 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10848 libm_hidden_def.
10849 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10850 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10851 Use libm_hidden_def.
10852 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10853 libm_hidden_def.
10854 (feraiseexcept): Define as weak not strong alias. Use
10855 libm_hidden_weak.
10856 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10857 New inline function. Factored out of ...
10858 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10859 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10860 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10861 feraiseexcept.
10862 * math/w_acos.c (__acos): Likewise.
10863 * math/w_asin.c (__asin): Likewise.
10864 * math/w_ilogb.c (__ilogb): Likewise.
10865 * math/w_j0.c (y0): Likewise.
10866 * math/w_j1.c (y1): Likewise.
10867 * math/w_jn.c (yn): Likewise.
10868 * math/w_log.c (__log): Likewise.
10869 * math/w_log10.c (__log10): Likewise.
10870 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10871 * sysdeps/aarch64/fpu/math_private.h
10872 (libc_feupdateenv_test_aarch64): Likewise.
10873 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10874 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10875 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10876 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10877 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10878 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10879 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10880 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10881 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10882 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10883
10884 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10885
10886 [BZ #17732]
10887 * io/test-utime.c (main): Replace %ld with %jd and cast to
10888 intmax_t.
10889 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10890 * nptl/tst-mutex5.c: Include <stdint.h>.
10891 (do_test): Replace %ld with %jd and cast to intmax_t.
10892 * posix/tst-regex.c (run_test): Likewise.
10893 (run_test_backwards): Likewise.
10894 * rt/tst-clock.c: Include <stdint.h>.
10895 (clock_test): Replace %ld with %jd and cast to intmax_t.
10896 * rt/tst-cpuclock1.c: Include <stdint.h>.
10897 (do_test): Replace %lu with %ju and cast to uintmax_t.
10898 * rt/tst-cpuclock2.c: Include <stdint.h>.
10899 (do_test): Replace %lu with %ju and cast to uintmax_t.
10900 * rt/tst-mqueue1.c: Include <stdint.h>.
10901 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10902 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10903 intmax_t.
10904 * rt/tst-mqueue4.c (do_test): Likewise.
10905 * rt/tst-timer4.c: Include <stdint.h>.
10906 (check_ts): Replace %ld with %jd and cast to intmax_t.
10907 (do_test): Likewise.
10908 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10909 and cast to intmax_t.
10910 * sysdeps/pthread/tst-timer.c (main): Likewise.
10911 * time/clocktest.c (main): Likewise.
10912 * time/tst-posixtz.c (do_test): Likewise.
10913 * timezone/tst-timezone.c (main): Likewise.
10914
10915 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10916 H.J. Lu <hongjiu.lu@intel.com>
10917
10918 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10919 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10920 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10921 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10922 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10923 version if bit_Fast_Unaligned_Load is set.
10924 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10925 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10926 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10927 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10928 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10929 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10931 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10932 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10933 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10934 to 4.
10935 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10936 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10937 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10938 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10939
10940 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10941
10942 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10943 instead of #if to avoid a Wundef warning.
10944 * stdlib/tst-limits.c (do_test): Likewise.
10945
10946 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10947 parallel other exception macros.
10948 (fegetenv): Convert from macro to extern inline so that it applies
10949 retroactively to inline functions already seen by the compiler.
10950 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10951
10952 * posix/Makefile (before-compile): Use $(objpfx) for
10953 posix-conf-vars-def.h.
10954
10955 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10956
10957 * posix/getconf.c (main): Use size_t for type of I.
10958 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10959 NSPEC.
10960
10961 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10962 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10963 * posix/posix-envs.def: Likewise.
10964 * sysdeps/posix/sysconf.c: Likewise.
10965 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10966 (specs): Remove array.
10967 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10968 array.
10969
10970 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10971 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10972 (__sysconf): Use CONF_IS_* macros.
10973
10974 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10975 ($(objpfx)posix-conf-vars-def.h): New target.
10976 * posix/posix-conf-vars.list: New file.
10977 * posix/posix-conf-vars.h: New file.
10978 * posix/confstr.c: Include posix-conf-vars.h.
10979 (confstr): Use CONF_IS_* macros.
10980 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10981 CONF_IS_* macros.
10982 * scripts/gen-posix-conf-vars.awk: New file.
10983
10984 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10985
10986 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10987 fegetround): Add no-op macros to avoid linknamespace issues.
10988
10989 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10990 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10991
10992 * sysdeps/unix/sysv/linux/tile/sysdep.h
10993 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10994 assembly-specific section to avoid a redefinition warning.
10995
10996 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10997 long before casting to pointer to avoid a cast warning.
10998
10999 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11000
11001 * sysdeps/tile/tilegx/Implies: New file.
11002
11003 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11004
11005 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11006
11007 2014-12-23 Florian Weimer <fweimer@redhat.com>
11008
11009 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11010
11011 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11012
11013 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11014 not define.
11015 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11016 <kernel-features.h>.
11017 (__utimes) [__NR_utimes]: Make code unconditional.
11018 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11019 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11020 (__ASSUME_UTIMES): Do not undefine.
11021 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11022 (__ASSUME_UTIMES): Likewise.
11023 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11024 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11025 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11026 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11027
11028 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11029
11030 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11031
11032 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11033
11034 [BZ #17747]
11035 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11036 alias to weak alias for j0l, y0l.
11037 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11038 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11039
11040 [BZ #17746]
11041 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11042 conversion.
11043
11044 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11045
11046 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11047 to zero if not already defined.
11048
11049 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11050
11051 [BZ #17724]
11052 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11053 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11054 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11055 (char *) casts added.
11056 * sysdeps/ieee754/k_standardf.c: New file.
11057 * sysdeps/ieee754/k_standardl.c: Likewise.
11058 * math/Makefile (libm-support): Remove k_standard.
11059 (libm-calls): Add k_standard.
11060
11061 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11062
11063 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11064 Optimize to avoid an unnecessary FPCR read.
11065
11066 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11067
11068 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11069 Optimize to reduce FPCR/FPSR accesses.
11070
11071 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11072
11073 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11074 Call libc_fetestexcept_aarch64.
11075
11076 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11077
11078 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11079 Call libc_fesetround_aarch64.
11080
11081 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11082
11083 [BZ #17733]
11084 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11085 (__bind): Do not define as weak alias.
11086 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11087 define.
11088 (__getsockname): Do not define as weak alias.
11089
11090 2014-12-22 Will Newton <will.newton@linaro.org>
11091
11092 * manual/install.texi: Document that we require bison 2.7
11093 or above.
11094 * INSTALL: Regenerate.
11095 * configure.ac: Use AC_CHECK_PROG_VER instead of
11096 AC_PATH_PROG when checking for bison and check for
11097 version 2.7 or above.
11098 * configure: Regenerate.
11099
11100 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11101
11102 [BZ #17745]
11103 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11104 * sysdeps/tile/ffsll.c (ffsll): To here.
11105
11106 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11107
11108 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11111 if not defined.
11112 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11113 definition.
11114 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11115 hidden ___tls_get_addr.
11116 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11117 hidden __tls_get_addr.
11118 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11119 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11120 Likewise.
11121
11122 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11123
11124 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11125 _dl_init call.
11126
11127 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11128
11129 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11130 from "call _dl_init@PLT".
11131 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11132
11133 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11134
11135 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11136 guarantees.
11137
11138 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11139
11140 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11141
11142 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11143
11144 [BZ #17744]
11145 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11146 strnlen.
11147
11148 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11149
11150 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11151 of multu on MIPSr6.
11152 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11153 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11154 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11155 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11156 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11157
11158 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11159
11160 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11161 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11162 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11163 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11164 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11165 mips32r6/mips64r6.
11166 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11167
11168 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11169
11170 * string/strncat.c (STRNCAT): Simplify implementation.
11171
11172 2014-12-19 David S. Miller <davem@davemloft.net>
11173
11174 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11175 access the quad as both a long double and as a series of 4 words.
11176
11177 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11178 link_map->l_info array access.
11179
11180 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11181
11182 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11183
11184 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11185 * math/atest-exp2.c (TIMEOUT): Likewise.
11186 * math/atest-sincos.c (TIMEOUT): Likewise.
11187
11188 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11189
11190 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11191 -Wno-error with -fno-builtin-lround.
11192
11193 2014-12-19 Torvald Riegel <triegel@redhat.com>
11194
11195 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11196 Contains futex constants and functions moved over from ...
11197 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11198 <lowlevellock-futex.h>.
11199 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11200 (lll_timedwait_tid): Add comments and parentheses around macro
11201 arguments.
11202
11203 2014-12-19 Torvald Riegel <triegel@redhat.com>
11204
11205 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11206 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11207 (__lll_private_flag): Remove.
11208 (lll_futex_wait): Likewise.
11209 (lll_futex_timed_wait): Likewise.
11210 (lll_futex_wake): Likewise.
11211 (lll_futex_requeue): Likewise.
11212 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11213 (__lll_timedwait_tid): Spell out argument names.
11214 (lll_timedwait_tid): Add comments and parentheses around macro
11215 arguments.
11216 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11217 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11218
11219 2014-12-19 Torvald Riegel <triegel@redhat.com>
11220
11221 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11222 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11223 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11224 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11225 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11226 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11227 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11228 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11229 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11231 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11232 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11233 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11235 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11236 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11237 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11238 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11239 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11240
11241 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 * sysdeps/x86_64/x32/Makefile: New file.
11244
11245 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11248 1L with (mp_limb_t) 1.
11249
11250 2014-12-17 Roland McGrath <roland@hack.frob.com>
11251
11252 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11253 * nptl/libc_pthread_init.c: ... here.
11254 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11255 * nptl/register-atfork.c: ... here.
11256
11257 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11258 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11259 Use assert_perror to check its return value.
11260 (__gai_create_helper_thread): Likewise.
11261
11262 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11263
11264 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11265
11266 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11267
11268 [BZ #17725]
11269 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11270 __profil_counter.
11271 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11272 Likewise.
11273 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11274 Likewise.
11275 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11276 Likewise.
11277 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11278 (profil_counter): Likewise.
11279 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11280 (profil_counter): Likewise.
11281 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11282 Likewise.
11283 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11284 Likewise.
11285 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11286 (profil_counter): Likewise.
11287 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11288 Likewise.
11289 [!__profil_counter] (profil_counter): Define as weak alias of
11290 __profil_counter.
11291 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11292 (profil_counter): Rename to __profil_counter.
11293 [!__profil_counter] (profil_counter): Define as weak alias of
11294 __profil_counter.
11295 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11296 (profil_counter): Rename to __profil_counter.
11297 [!__profil_counter] (profil_counter): Define as weak alias of
11298 __profil_counter.
11299 * sysdeps/posix/profil.c: Update comment referring to
11300 profil_counter.
11301 (__profil): Use __profil_counter instead of profil_counter.
11302 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11303 __profil_counter. Use __profil_counter_ushort and
11304 __profil_counter_uint in definitions.
11305 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11306 instead of profil_counter_uint and profil_counter_ushort.
11307
11308 [BZ #17722]
11309 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11310 define as weak alias of __inet_makeaddr.
11311 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11312 as weak alias of __inet_addr.
11313 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11314 as weak alias of __inet_pton. Use libc_hidden_weak.
11315 * include/arpa/inet.h (__inet_pton): Declare. Use
11316 libc_hidden_proto.
11317 (inet_makeaddr): Don't use libc_hidden_proto.
11318 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11319 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11320 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11321 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11322 Remove variable.
11323 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11324 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11325
11326 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11327
11328 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11329
11330 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11331
11332 * stdio-common/bug-vfprintf-nargs.c (do_test):
11333 Cast value to intptr_t to avoid format warning
11334 for usage with PRIdPTR printing macro.
11335
11336 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11337
11338 * libio/tst-widetext.c (do_test):
11339 Use format type %td instead of %Zd for ptrdiff_t
11340 in order to avoid format warning.
11341
11342 2014-12-17 Andreas Schwab <schwab@suse.de>
11343
11344 * nscd/mem.c (gc): Add size_t cast to match printf format.
11345
11346 2014-12-16 Roland McGrath <roland@hack.frob.com>
11347
11348 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11349 (init): Apply PTR_MANGLE to pointers before storing them.
11350 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11351 before using them.
11352
11353 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11354
11355 [BZ #17719]
11356 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11357 define as weak alias of __memrchr.
11358 (__memrchr): Do not define as strong alias of memrchr.
11359 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11360 Remove variable.
11361 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11362 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11363 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11364
11365 [BZ #17717]
11366 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11367 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11368 (if_indextoname): Rename to __if_indextoname and define as weak
11369 alias of __if_indextoname. Use libc_hidden_weak.
11370 (if_freenameindex): Rename to __if_freenameindex and define as
11371 weak alias of __if_freenameindex.
11372 (if_nameindex): Rename to __if_nameindex and define as weak alias
11373 of __if_nameindex.
11374 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11375 __if_nametoindex and define as weak alias of __if_nametoindex.
11376 Use libc_hidden_weak.
11377 (if_freenameindex): Rename to __if_freenameindex and define as
11378 weak alias of __if_freenameindex.
11379 (if_nameindex): Rename to __if_nameindex and define as weak alias
11380 of __if_nameindex.
11381 (if_indextoname): Rename to __if_indextoname and define as weak
11382 alias of __if_indextoname. Use libc_hidden_weak.
11383 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11384 __if_nametoindex and define as weak alias of __if_nametoindex.
11385 Use libc_hidden_weak.
11386 (if_freenameindex): Rename to __if_freenameindex and define as
11387 weak alias of __if_freenameindex. Use libc_hidden_weak.
11388 (if_nameindex_netlink): Use __if_freenameindex instead of
11389 if_freenameindex.
11390 (if_nameindex): Rename to __if_nameindex and define as weak alias
11391 of __if_nameindex. Use libc_hidden_weak.
11392 (if_indextoname): Rename to __if_indextoname and define as weak
11393 alias of __if_indextoname. Use libc_hidden_weak.
11394 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11395 libc_hidden_proto.
11396 [!_ISOMAC] (__if_freenameindex): Likewise.
11397 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11398 if_nametoindex.
11399 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11400 variable.
11401 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11402 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11403 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11404 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11405 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11406 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11407 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11408
11409 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11410 Remove variable.
11411 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11412 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11413
11414 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11415
11416 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11417 subscript above bounds'
11418
11419 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11420 bounds.
11421
11422 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11423
11424 * libio/tst-fopenloc.c: Use test-skeleton.c.
11425
11426 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11427 (entry): Rename to ITEM.
11428 (do_test, comp): Adjust.
11429
11430 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11431
11432 2014-12-16 Torvald Riegel <triegel@redhat.com>
11433
11434 * string/tester.c: Include <libc-internal.h>.
11435 (test_memset): Ignore -Wmemset-transposed-args.
11436
11437 2014-12-16 Torvald Riegel <triegel@redhat.com>
11438
11439 * misc/tst-mntent2.c (do_test): Fix warning.
11440
11441 2014-12-16 Torvald Riegel <triegel@redhat.com>
11442
11443 * elf/tst-unique4lib.cc(a): Mark as used.
11444
11445 2014-12-16 Florian Weimer <fweimer@redhat.com>
11446
11447 [BZ #17630]
11448 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11449 names.
11450
11451 2014-12-16 Allan McRae <allan@archlinux.org>
11452
11453 * stdio-common/Makefile (tests): Re-add bug26.
11454
11455 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11456
11457 [BZ #17657]
11458 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11459 static array.
11460
11461 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11462
11463 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11464 (__lll_lock_wait): Likewise.
11465 (__lll_timedlock_wait): Likewise.
11466 (__lll_timedwait_tid): Likewise.
11467 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11468 (__lll_robust_timedlock_wait): Likewise.
11469 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11470 (lll_cond_trylock): Likewise.
11471 (__lll_lock): Likewise.
11472 (__lll_robust_lock): Likewise.
11473 (__lll_cond_lock): Likewise.
11474 (lll_robust_cond_lock): Likewise.
11475 (__lll_timedlock): Likewise.
11476 (__lll_robust_timedlock): Likewise.
11477 (__lll_unlock): Likewise.
11478 (__lll_robust_unlock): Likewise.
11479 (lll_wait_tid): Likewise.
11480 (lll_timedwait_tid): Likewise.
11481
11482 2014-12-15 Torvald Riegel <triegel@redhat.com>
11483
11484 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11485
11486 2014-12-15 Torvald Riegel <triegel@redhat.com>
11487
11488 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11489
11490 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11491
11492 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11493 * stdio-common/tst-sprintf.c: Likewise.
11494
11495 2014-12-15 Torvald Riegel <triegel@redhat.com>
11496
11497 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11498
11499 2014-12-15 Jeff Law <law@redhat.com>
11500
11501 [BZ #16617]
11502 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11503 on the heap. (CVE-2012-3406)
11504 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11505 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11506 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11507
11508 2014-12-15 Will Newton <will.newton@linaro.org>
11509
11510 * manual/install.texi: Bump required version of texinfo
11511 to 4.7 from 4.5.
11512 * INSTALL: Regenerated.
11513 * configure.ac: Check for makeinfo version 4.7 and above.
11514 * configure: Regenerated.
11515
11516 2014-12-12 Roland McGrath <roland@hack.frob.com>
11517
11518 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11519 PREFIX, string constant to insert between directory and name.
11520 * sysdeps/posix/shm_open.c: Update caller.
11521 * sysdeps/posix/shm_unlink.c: Likewise.
11522 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11523 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11524 (SEM_SHM_PREFIX): New macro.
11525 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11526 [$(have-thread-library) = no].
11527 * nptl/Makefile (libpthread-routines): Add shm-directory.
11528 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11529 * sysdeps/nptl/shm-directory.h: New file.
11530 * sysdeps/posix/shm-directory.c
11531 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11532 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11533 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11534 INTERNAL_SYSCALL.
11535 (__where_is_shmfs): Function removed.
11536 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11537 Variables removed.
11538 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11539 Use SHM_GET_NAME.
11540 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11541
11542 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11543 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11544 unconditional for use inside libpthread.
11545 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11546
11547 2014-12-12 Roland McGrath <roland@hack.frob.com>
11548
11549 * nptl/pthread_getaffinity.c: New file.
11550 * nptl/pthread_setaffinity.c: New file.
11551 * nptl/pthread_getname.c: New file.
11552 * nptl/pthread_setname.c: New file.
11553
11554 * nptl/pthread_create.c (START_THREAD_DEFN)
11555 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11556
11557 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11558 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559
11560 * resolv/res_send.c (send_vc): Disable warning resplen may
11561 be used uninitialized.
11562
11563 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11564
11565 * nptl/tst-mutex6.c
11566 (ATTR_NULL): New define checks ATTR against NULL.
11567 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11568 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11569
11570 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11571
11572 [BZ #17581]
11573 * malloc/hooks.c
11574 (mem2mem_check): Revert my previous change.
11575 (malloc_check_get_size): Revert my previous change.
11576 (mem2chunk_check): Revert my previous change.
11577
11578 2014-12-11 Roland McGrath <roland@hack.frob.com>
11579
11580 * sysdeps/posix/shm-directory.c: New file.
11581 * sysdeps/posix/shm-directory.h: New file.
11582 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11583 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11584 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11585 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11586 Transmute EPERM to EACCES.
11587 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11588 from ...
11589 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11590 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11591
11592 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11593
11594 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11595 pointer and cast to uintptr_t.
11596 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11597 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11598 Add cast to avoid warning.
11599 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11600
11601 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11602
11603 * nptl/semaphore.h: Move to ...
11604 * sysdeps/pthread/semaphore.h: ... here.
11605 * Makefile (installed-headers): Change nptl/semaphore.h to
11606 sysdeps/pthread/semaphore.h.
11607
11608 2014-12-11 Roland McGrath <roland@hack.frob.com>
11609
11610 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11611 generated error format strings.
11612
11613 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11614 -Wformat-extra-args warnings for scanf formats.
11615 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11616 test of zero-length format (duh).
11617 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11618 corner-case scanf format test.
11619 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11620 generated fprintf format string.
11621 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11622 corner-case sprintf format tests.
11623 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11624 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11625 -Wformat-extra-args warnings throughout.
11626 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11627 (CFLAGS-scanf4.c): Likewise.
11628 (CFLAGS-scanf7.c): Likewise.
11629 (CFLAGS-tst-sprintf.c): Likewise.
11630 (CFLAGS-tst-printf.c): Likewise.
11631 (CFLAGS-tst-printfsz.c): Likewise.
11632
11633 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11634
11635 * include/cpio.h: New file.
11636 * include/fmtmsg.h: Likewise.
11637
11638 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11639 corresponding format argument to size_t.
11640 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11641 arguments.
11642 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11643 corresponding format argument to size_t.
11644 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11645 arguments.
11646 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11647 corresponding format argument to size_t.
11648 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11649 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11650 (CFLAGS-tst-mbswcs2.c): Likewise.
11651 (CFLAGS-tst-mbswcs3.c): Likewise.
11652 (CFLAGS-tst-mbswcs4.c): Likewise.
11653 (CFLAGS-tst-mbswcs5.c): Likewise.
11654 (CFLAGS-tst-trans.c): Likewise
11655
11656 2014-12-11 Roland McGrath <roland@hack.frob.com>
11657
11658 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11659 rather than assuming they won't contain any '%'s.
11660
11661 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11662
11663 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11664 inhibit_loop_to_libcall to avoid recursive calls.
11665 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11666 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11667
11668 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11669
11670 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11671 prototype.
11672
11673 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11674
11675 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11676 integer value instead of boolean.
11677
11678 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11679
11680 * malloc/malloc.c: Fix powerof2 check.
11681
11682 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11683
11684 * locale/programs/locfile.h (maybe_swap_uint32):
11685 Remove inline and add unused attribute.
11686
11687 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11688
11689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11690 Truncating assembler expression to a .long expression.
11691
11692 2014-12-11 Andreas Schwab <schwab@suse.de>
11693
11694 * elf/rtld.c (struct map_args): Constify str member.
11695 (do_preload): Constify fname argument.
11696
11697 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11698
11699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11700 constants definition.
11701
11702 2014-12-11 Andreas Schwab <schwab@suse.de>
11703
11704 [BZ #16657]
11705 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11706 FORCE_ELISION instead of DO_ELISION.
11707 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11708 Remove.
11709 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11710 Likewise.
11711
11712 * iconvdata/gconv-modules: Remove duplicate entry.
11713
11714 2014-12-11 Will Newton <will.newton@linaro.org>
11715
11716 Merge gettext 0.19.3 into intl/.
11717
11718 This involves a number of cosmetic changes to comments
11719 and ANSI function definitions and prototypes throughout
11720 all the files. The gettext copyright header is used but
11721 with the date ranges taken from the glibc copy.
11722
11723 * NEWS: Add gettext merge to 2.21.
11724 * intl/bindtextdom.c: Switch to gettext copyright.
11725 Use ANSI definitions and prototypes.
11726 Use gl_* locking primitives rather than __libc_* ones.
11727 Use __builtin_expect rather than __glibc_likely/unlikely.
11728 * intl/dcgettext.c: Switch to gettext copyright.
11729 Use ANSI definitions and prototypes.
11730 * intl/dcigettext.c: Switch to gettext copyright.
11731 Use ANSI definitions and prototypes.
11732 (INTDIV0_RAISES_SIGFPE): New define.
11733 Use gl_* locking primitives rather than __libc_* ones.
11734 Include eval-plural.h instead of plural-eval.c.
11735 Use __builtin_expect rather than __glibc_likely/unlikely.
11736 * intl/dcngettext.c: Switch to gettext copyright.
11737 Use ANSI definitions and prototypes.
11738 * intl/dgettext.c: Likewise.
11739 * intl/dngettext.c: Likewise.
11740 * intl/plural-eval.c: Renamed to...
11741 * intl/eval-plural.h: ...this.
11742 * intl/explodename.c: Switch to gettext copyright.
11743 Use ANSI definitions and prototypes.
11744 (_nl_explode_name): Use strchr instead of __rawmemchr.
11745 * intl/finddomain.c: Switch to gettext copyright.
11746 Use ANSI definitions and prototypes.
11747 Use gl_* locking primitives rather than __libc_* ones.
11748 (_nl_find_domain): Use malloc rather than alloca for
11749 allocation of temporary locale name.
11750 * intl/gettext.c: Switch to gettext copyright.
11751 Use ANSI definitions and prototypes.
11752 * intl/gettextP.h: Switch to gettext copyright.
11753 Use ANSI definitions and prototypes.
11754 Use gl_* locking primitives rather than __libc_* ones.
11755 * intl/gmo.h: Switch to gettext copyright.
11756 (struct sysdep_string): Move struct segment_pair outside of
11757 struct definition.
11758 * intl/hash-string.c: Use ANSI definitions and prototypes.
11759 * intl/hash-string.h: Switch to gettext copyright.
11760 Use ANSI definitions and prototypes.
11761 * intl/l10nflist.c: Switch to gettext copyright.
11762 Use ANSI definitions and prototypes.
11763 (_nl_normalize_codeset): Avoid integer overflow.
11764 * intl/loadinfo.h: Switch to gettext copyright.
11765 Use ANSI definitions and prototypes.
11766 (LIBINTL_DLL_EXPORTED): New define.
11767 (PATH_SEPARATOR): New define.
11768 * intl/loadmsgcat.c: Switch to gettext copyright.
11769 * intl/localealias.c: Switch to gettext copyright.
11770 Use ANSI definitions and prototypes.
11771 (_nl_expand_alias): Use PATH_SEPARATOR.
11772 * intl/ngettext.c: Switch to gettext copyright.
11773 Use ANSI definitions and prototypes.
11774 * intl/plural-exp.c: Likewise.
11775 * intl/plural-exp.h: Switch to gettext copyright.
11776 Use ANSI definitions and prototypes.
11777 (struct expression): Move definition of enum operator outside
11778 of struct definition.
11779 * intl/plural.c: Regenerate.
11780 * intl/plural.y: Switch to gettext copyright.
11781 Use ANSI definitions and prototypes.
11782 Port to bison 3.0.
11783 * intl/textdomain.c: Switch to gettext copyright.
11784 Use ANSI definitions and prototypes.
11785 Use gl_* locking primitives rather than __libc_* ones.
11786
11787 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11788
11789 * debug/warning-nop.c: Add used atrribute.
11790
11791 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11792
11793 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11794
11795 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11796 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11797 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11798
11799 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11800 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11801
11802 [BZ #17634]
11803 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11804 Undefine after defining function. Define as weak alias of
11805 __wcschr. Use libc_hidden_weak.
11806 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11807 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11808 (libc_hidden_def): Also define __GI___wcschr alias.
11809 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11810 __wcschr and define as weak alias of __wcschr.
11811 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11812 __wcschr.
11813 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11814 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11815 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11816 libc_hidden_weak. Do not use libc_hidden_def.
11817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11818 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11819 __GI___wcschr alias.
11820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11821 [IS_IN (libc)] (wcschr): Define as macro expanding to
11822 __redirect_wcschr.
11823 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11824 [IS_IN (libc)] (__wcschr_power6): Likewise.
11825 [IS_IN (libc)] (__wcschr_power7): Likewise.
11826 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11827 instead of wcschr.
11828 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11829 __libc_wcschr.
11830 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11831 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11832 __wcschr and define as weak alias of __wcschr. Use
11833 libc_hidden_builtin_def.
11834 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11835 as weak alias of __wcschr. Use libc_hidden_weak.
11836 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11837 wcschr.
11838 * time/era.c (_nl_init_era_entries): Likewise.
11839 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11840 variable.
11841 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11842 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11843
11844 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11845
11846 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11847 format for long int variable.
11848
11849 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11850
11851 [BZ #10672]
11852 * manual/search.texi: (Array Sort Function): Remove claim how to make
11853 qsort stable.
11854
11855 2014-12-10 Andreas Schwab <schwab@suse.de>
11856
11857 [BZ #12847]
11858 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11859 user-controlled locks.
11860
11861 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11862
11863 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11864 register.
11865
11866 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11867
11868 * configure.ac (--disable-werror): New configure option.
11869 (enable_werror): New AC_SUBST.
11870 * configure: Regenerated.
11871 * config.make.in (enable-werror): New variable.
11872 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11873 -Wno-error=undef.
11874 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11875 * manual/install.texi (Configuring and compiling): Document
11876 --disable-werror.
11877 * INSTALL: Regenerated.
11878 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11879 (CFLAGS-tst-chk2.c): Likewise.
11880 (CFLAGS-tst-chk3.c): Likewise.
11881 (CFLAGS-tst-chk4.cc): Likewise.
11882 (CFLAGS-tst-chk5.cc): Likewise.
11883 (CFLAGS-tst-chk6.cc): Likewise.
11884 (CFLAGS-tst-lfschk1.c): Likewise.
11885 (CFLAGS-tst-lfschk2.c): Likewise.
11886 (CFLAGS-tst-lfschk3.c): Likewise.
11887 (CFLAGS-tst-lfschk4.cc): Likewise.
11888 (CFLAGS-tst-lfschk5.cc): Likewise.
11889 (CFLAGS-tst-lfschk6.cc): Likewise.
11890
11891 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11892 (main): Disable -Wdeprecated-declarations around calls to
11893 register_printf_function.
11894
11895 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11896 (do_test): Disable -Wdiv-by-zero around some calls to
11897 fwrite_unlocked and fread_unlocked.
11898
11899 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11900 (DIAG_POP_NEEDS_COMMENT): Likewise.
11901 (_DIAG_STR1): Likewise.
11902 (_DIAG_STR): Likewise.
11903 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11904 * stdio-common/bug21.c: Include <libc-internal.h>.
11905 (do_test): Disable -Wformat around call to sscanf.
11906 * stdio-common/scanf14.c: Include <libc-internal.h>.
11907 (main): Disable -Wformat around some calls to scanf functions.
11908
11909 2014-12-09 Torvald Riegel <triegel@redhat.com>
11910
11911 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11912
11913 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11914
11915 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11916 stack variable alignment.
11917
11918 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11919
11920 [BZ #17682]
11921 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11922 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11923 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11924 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11925 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11926 __getrlimit instead of getrlimit.
11927 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11928 __gettimeofday instead of gettimeofday.
11929 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11930 Likewise.
11931 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11932 Likewise.
11933 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11934 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11935 Remove variable.
11936 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11937 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11938
11939 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11940
11941 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11942 for wide-character tests.
11943
11944 2014-12-04 Roland McGrath <roland@hack.frob.com>
11945
11946 * io/openat64.c: #include <libc-internal.h>
11947 (__openat64): Prototypify. Use ignore_value on MODE.
11948 * io/openat.c: Likewise.
11949 * misc/reboot.c: #include <libc-internal.h>
11950 (reboot): Prototypify. Use ignore_value on HOWTO.
11951 * misc/ptrace.c: #include <libc-internal.h>
11952 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11953
11954 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11955
11956 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11957 XPG4, UNIX98 and XOPEN2K.
11958 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11959 Remove variable.
11960 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11961
11962 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11963
11964 * libio/fileops.c: Use ISO C style for function definitions.
11965 * libio/iofopen.c: Likewise.
11966 * libio/wfileops.c: Likewise.
11967
11968 [BZ #17653]
11969 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11970 offset on EOF.
11971 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11972 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11973 (fgets_func): Function pointer to fgets and fgetws.
11974 (do_ftell_test): Add test to verify ftell value after read
11975 EOF.
11976 (do_test): Set fgets_func.
11977
11978 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11979 O_TRUNC flag for w and w+ modes.
11980 (do_rewind_test): Likewise.
11981 (do_ftell_test): Likewise.
11982 (do_write_test): Likewise.
11983
11984 [BZ #17647]
11985 * libio/fileops.c (do_ftell): Seek only when there are
11986 unflushed writes.
11987 * libio/wfileops.c (do_ftell_wide): Likewise.
11988 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11989 test case.
11990 (do_one_test): Call it.
11991
11992 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11993
11994 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11995 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11996 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11997 Remove variable.
11998 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11999 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12000 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12001
12002 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12003
12004 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12005 Remove variable.
12006 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12007
12008 [BZ #17668]
12009 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12010 as weak alias of __getifaddrs. Use libc_hidden_weak.
12011 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12012 __freeifaddrs. Use libc_hidden_weak.
12013 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12014 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12015 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12016 __freeifaddrs. Use libc_hidden_weak.
12017 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12018 __getifaddrs and define as weak alias of __getifaddrs. Use
12019 libc_hidden_weak.
12020 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12021 __freeifaddrs. Use libc_hidden_weak.
12022 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12023 Remove variable.
12024 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12025 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12026
12027 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12028
12029 [BZ #17601]
12030 * sysdeps/mips/start.S (__start): Use indirect jump to call
12031 __libc_start_main.
12032
12033 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12034
12035 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12036
12037 * nptl/tst-mutex1.c: Include <stdbool.h>.
12038 [!ATTR] (ATTR_NULL): New macro.
12039 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12040 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12041 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12042
12043 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12044 to char *.
12045
12046 [BZ #17665]
12047 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12048 Change conditional to [__USE_MISC].
12049
12050 [BZ #17664]
12051 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12052 fgets_unlocked.
12053 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12054 __fgets_unlocked.
12055 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12056 fgets_unlocked.
12057 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12058 Remove variable.
12059 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12060 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12061 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12062 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12063 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12064 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12065 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12066 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12067 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12068
12069 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12070
12071 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12072
12073 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12074 Remove strpbrk objects.
12075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12076 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12077 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12078 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12079 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12080 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12081
12082 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12083 Remove strcspn objects.
12084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12085 (__libc_ifunc_impl_list): Remove strcspn implementation.
12086 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12087 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12088 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12089 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12090
12091 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12092 Remove strspn objetcs.
12093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12094 (__libc_ifunc_impl_list): Remove strspn implementation.
12095 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12096 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12097 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12098 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12099
12100 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12101
12102 [BZ #17581]
12103 * malloc/hooks.c
12104 (mem2mem_check): Add a terminator to the chain of checking blocks.
12105 (malloc_check_get_size): Use it here.
12106 (mem2chunk_check): Ditto.
12107
12108 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12109
12110 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12111 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12112
12113 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12114
12115 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12116
12117 * nptl/nptl-init.c: Include libc-internal.h.
12118 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12119
12120 * elf/ldconfig.c (search_dir): Expand comment.
12121
12122 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12123
12124 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12125 variable.
12126 (linknamespace-symlist-stdlibs-tests): Likewise.
12127 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12128 instead of $(objpfx)symlist-stdlibs.
12129 (linknamespace-libs-isoc): New variable.
12130 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12131 (linknamespace-libs-ISO): New variable.
12132 (linknamespace-libs-ISO99): Likewise.
12133 (linknamespace-libs-ISO11): Likewise.
12134 (linknamespace-libs-XPG3): Likewise.
12135 (linknamespace-libs-XPG4): Likewise.
12136 (linknamespace-libs-POSIX): Likewise.
12137 (linknamespace-libs-UNIX98): Likewise.
12138 (linknamespace-libs-XOPEN2K): Likewise.
12139 (linknamespace-libs-POSIX2008): Likewise.
12140 (linknamespace-libs-XOPEN2K8): Likewise.
12141 ($(objpfx)symlist-stdlibs): Replace by
12142 $(linknamespace-symlist-stdlibs-tests). Use
12143 $(linknamespace-libs-$*) as set of libraries.
12144 ($(linknamespace-header-tests)): Update dependencies. Use
12145 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12146 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12147 * conform/linknamespace.pl: Remove comment about considering
12148 definitions of symbols from irrelevant libraries.
12149
12150 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 [BZ #13862]
12153 * elf/dl-tls.c: Include <atomic.h>.
12154 (oom): Remove #ifdef SHARED/#endif.
12155 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12156 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12157 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12158 big enough.
12159 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12160 * nptl/Makefile (tests): Add tst-stack4.
12161 (modules-names): Add tst-stack4mod.
12162 ($(objpfx)tst-stack4): New.
12163 (tst-stack4mod.sos): Likewise.
12164 ($(objpfx)tst-stack4.out): Likewise.
12165 ($(tst-stack4mod.sos)): Likewise.
12166 (clean): Likewise.
12167 * nptl/tst-stack4.c: New file.
12168 * nptl/tst-stack4mod.c: Likewise.
12169
12170 2014-11-27 J. Brown <jb999@gmx.de>
12171
12172 * sysdeps/x86/bits/string.h: Add recent CPUs.
12173
12174 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12175
12176 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12177 sigblock.
12178
12179 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12180 feof.
12181
12182 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12183 variable.
12184
12185 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12186
12187 * nscd/connections.c: Include libc-internal.h because of macro
12188 usage ignore_value.
12189
12190 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12191
12192 * string/bits/string3.h (__warn_memset_zero_len): Don't
12193 declare for gcc newer than 5.0.
12194 (memset): Don't test for zero-length __LEN for gcc newer than
12195 5.0.
12196
12197 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12198
12199 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12200 size_t for %zu format.
12201
12202 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12203 difference, not %ju.
12204
12205 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12206
12207 * include/libc-internal.h (ignore_value): New macro.
12208 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12209 with ignore_value.
12210
12211 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12212 definition.
12213
12214 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12215 pthread_cleanup_push to void *.
12216
12217 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12218 Undefine.
12219
12220 [BZ #16619]
12221 [BZ #16740]
12222 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12223 instead of 1L << 52.
12224
12225 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12226 * libio/bug-rewind2.c (do_test): Likewise.
12227
12228 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12229 * debug/test-strcpy_chk-ifunc.c: Likewise.
12230 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12231 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12232 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12233 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12234 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12235 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12236 * Rules [$(multi-arch) = no] (tests): Do not filter out
12237 $(tests-ifunc).
12238 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12239 * debug/Makefile (tests-ifunc): Remove variable.
12240 (tests): Do not add $(tests-ifunc).
12241 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12242 (tests): Do not add $(tests-ifunc).
12243 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12244 [TEST_IFUNC]: Remove conditionals.
12245 * string/test-string.h (TEST_IFUNC): Remove macro.
12246 [TEST_IFUNC]: Remove conditionals.
12247
12248 * string/test-strchr.c [!WIDE] (L): New macro.
12249 [WIDE] (L): Likewise.
12250 (check1): Use CHAR instead of char. Use L on string and character
12251 constants.
12252
12253 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12254
12255 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12256 tests.
12257 * sysdeps/powerpc/bits/atomic.h
12258 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12259 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12260 (atomic_exchange_and_add_acq): Likewise.
12261 (atomic_exchange_and_add_rel): Likewise.
12262 * sysdeps/powerpc/powerpc32/bits/atomic.h
12263 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12264 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12265 * sysdeps/powerpc/powerpc64/bits/atomic.h
12266 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12267 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12268
12269 2014-11-26 Torvald Riegel <triegel@redhat.com>
12270
12271 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12272 Change synchronization of __sched_fifo_min_prio and
12273 __sched_fifo_max_prio.
12274 * nptl/pthread_mutexattr_getprioceiling.c
12275 (pthread_mutexattr_getprioceiling): Likewise.
12276 * nptl/pthread_mutexattr_setprioceiling.c
12277 (pthread_mutexattr_setprioceiling): Likewise.
12278 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12279 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12280 Likewise.
12281
12282 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12283
12284 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12285 void.
12286
12287 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12288
12289 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12290 third argument const.
12291
12292 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12293
12294 fnmatch: work around GCC compiler warning bug with uninit var
12295 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12296 This works around a bug with x86-64 GCC 4.9.2 and earlier
12297 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12298 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12299 used uninitialized in this function [-Wmaybe-uninitialized]".
12300
12301 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12302
12303 * posix/bug-regex31.c (main): Return RES not 0.
12304
12305 2014-11-25 Anton Blanchard <anton@samba.org>
12306
12307 * sysdeps/powerpc/bits/atomic.h
12308 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12309
12310 2014-11-24 Sterling Augustine <saugustine@google.com>
12311
12312 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12313
12314 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12315
12316 [BZ #17608]
12317 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12318
12319 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12320
12321 [BZ #17633]
12322 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12323 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12324 variable.
12325 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12326 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12327
12328 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12329
12330 * string/strncpy.c (strncpy): Improve performance by using memset.
12331
12332 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12333
12334 * string/strcpy.c (strcpy):
12335 Improve performance by using strlen and memcpy.
12336
12337 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12338
12339 * string/strcoll_l.c (get_next_seq): __always_inline.
12340 * string/strcoll_l.c (do_compare): __always_inline.
12341
12342 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12343
12344 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12345 defined.
12346 * include/mqueue.h: Likewise.
12347 * include/stdlib.h: Likewise.
12348
12349 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12350 (get_null_defines): Adjust.
12351 * sunrpc/Makefile: Adjust comment.
12352 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12353 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12354 (CFLAGS-interp.c): Likewise.
12355 (CFLAGS-ldconfig.c): Likewise.
12356 (CPPFLAGS-.os): Likewise.
12357 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12358 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12359 * extra-modules.mk (extra-modules.mk): Likewise.
12360 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12361 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12362 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12363 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12364 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12365 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12366 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12367 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12368 * iconvdata/Makefile (CPPFLAGS): Likewise.
12369 (cpp-srcs-left): Add libof for all iconvdata routines.
12370 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12371 * include/assert.h: Likewise.
12372 * include/ctype.h: Likewise.
12373 * include/errno.h: Likewise.
12374 * include/libc-symbols.h: Likewise.
12375 * include/math.h: Likewise.
12376 * include/netdb.h: Likewise.
12377 * include/resolv.h: Likewise.
12378 * include/stdio.h: Likewise.
12379 * include/stdlib.h: Likewise.
12380 * include/string.h: Likewise.
12381 * include/sys/stat.h: Likewise.
12382 * include/wctype.h: Likewise.
12383 * intl/l10nflist.c: Likewise.
12384 * libidn/idn-stub.c: Likewise.
12385 * libio/libioP.h: Likewise.
12386 * nptl/libc_multiple_threads.c: Likewise.
12387 * nptl/pthreadP.h: Likewise.
12388 * posix/regex_internal.h: Likewise.
12389 * resolv/res_hconf.c: Likewise.
12390 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12391 * sysdeps/arm/memmove.S: Likewise.
12392 * sysdeps/arm/sysdep.h: Likewise.
12393 * sysdeps/generic/_itoa.h: Likewise.
12394 * sysdeps/generic/symbol-hacks.h: Likewise.
12395 * sysdeps/gnu/errlist.awk: Likewise.
12396 * sysdeps/gnu/errlist.c: Likewise.
12397 * sysdeps/i386/i586/memcpy.S: Likewise.
12398 * sysdeps/i386/i586/memset.S: Likewise.
12399 * sysdeps/i386/i686/memcpy.S: Likewise.
12400 * sysdeps/i386/i686/memmove.S: Likewise.
12401 * sysdeps/i386/i686/mempcpy.S: Likewise.
12402 * sysdeps/i386/i686/memset.S: Likewise.
12403 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12404 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12405 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12406 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12407 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12409 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12410 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12411 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12413 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12414 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12415 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12416 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12417 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12418 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12419 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12420 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12421 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12422 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12423 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12424 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12428 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12429 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12431 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12432 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12436 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12437 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12439 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12440 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12441 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12443 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12444 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12446 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12447 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12448 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12449 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12450 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12451 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12452 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12453 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12454 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12455 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12456 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12457 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12458 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12459 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12460 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12461 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12462 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12465 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12466 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12467 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12468 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12469 * sysdeps/posix/closedir.c: Likewise.
12470 * sysdeps/posix/opendir.c: Likewise.
12471 * sysdeps/posix/readdir.c: Likewise.
12472 * sysdeps/posix/rewinddir.c: Likewise.
12473 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12474 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12475 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12477 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12478 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12479 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12484 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12485 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12486 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12487 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12488 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12489 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12490 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12491 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12493 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12494 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12496 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12497 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12498 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12499 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12500 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12501 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12508 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12509 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12511 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12512 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12513 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12514 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12515 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12516 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12517 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12518 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12519 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12520 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12521 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12522 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12523 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12524 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12525 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12527 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12529 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12530 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12531 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12533 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12534 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12535 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12536 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12537 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12538 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12539 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12540 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12541 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12542 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12543 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12544 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12545 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12546 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12547 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12548 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12549 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12550 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12551 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12552 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12553 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12554 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12555 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12557 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12559 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12560 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12561 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12562 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12563 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12564 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12565 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12569 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12571 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12572 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12574 * sysdeps/unix/alpha/sysdep.S: Likewise.
12575 * sysdeps/unix/alpha/sysdep.h: Likewise.
12576 * sysdeps/unix/make-syscalls.sh: Likewise.
12577 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12578 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12579 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12580 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12581 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12582 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12583 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12584 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12585 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12586 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12587 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12588 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12590 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12591 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12592 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12593 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12594 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12595 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12596 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12597 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12599 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12600 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12601 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12602 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12606 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12607 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12610 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12615 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12616 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12617 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12618 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12619 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12620 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12627 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12628 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12629 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12630 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12632 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12633 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12635 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12636 * sysdeps/x86_64/memcpy.S: Likewise.
12637 * sysdeps/x86_64/memmove.c: Likewise.
12638 * sysdeps/x86_64/memset.S: Likewise.
12639 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12640 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12641 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12642 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12643 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12646 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12647 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12648 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12649 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12651 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12655 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12656 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12658 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12659 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12661 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12663 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12664 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12665 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12666 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12667 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12668 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12669 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12670 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12671 * sysdeps/x86_64/strcmp.S: Likewise.
12672
12673 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12674
12675 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12676 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12677 * elf/rtld-Rules: Likewise.
12678 * elf/setup-vdso.h: Likewise.
12679 * include/assert.h: Likewise.
12680 * include/bits/stdlib-float.h: Likewise.
12681 * include/errno.h: Likewise.
12682 * include/sys/stat.h: Likewise.
12683 * include/unistd.h: Likewise.
12684 * sysdeps/aarch64/setjmp.S: Likewise.
12685 * sysdeps/alpha/setjmp.S: Likewise.
12686 * sysdeps/arm/__longjmp.S: Likewise.
12687 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12688 * sysdeps/arm/setjmp.S: Likewise.
12689 * sysdeps/arm/sysdep.h: Likewise.
12690 * sysdeps/generic/_itoa.h: Likewise.
12691 * sysdeps/generic/dl-sysdep.h: Likewise.
12692 * sysdeps/generic/ldsodefs.h: Likewise.
12693 * sysdeps/i386/dl-tls.h: Likewise.
12694 * sysdeps/i386/setjmp.S: Likewise.
12695 * sysdeps/m68k/setjmp.c: Likewise.
12696 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12697 * sysdeps/mach/hurd/opendir.c: Likewise.
12698 * sysdeps/posix/getcwd.c: Likewise.
12699 * sysdeps/posix/opendir.c: Likewise.
12700 * sysdeps/posix/profil.c: Likewise.
12701 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12703 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12704 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12705 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12706 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12707 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12708 * sysdeps/s390/dl-tls.h: Likewise.
12709 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12710 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12711 * sysdeps/sh/sh3/setjmp.S: Likewise.
12712 * sysdeps/sh/sh4/setjmp.S: Likewise.
12713 * sysdeps/unix/alpha/sysdep.h: Likewise.
12714 * sysdeps/unix/arm/sysdep.S: Likewise.
12715 * sysdeps/unix/i386/sysdep.S: Likewise.
12716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12717 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12718 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12721 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12722 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12723 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12724 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12725 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12726 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12727 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12728 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12731 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12734 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12735 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12740 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12741 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12743 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12744 * sysdeps/x86_64/setjmp.S: Likewise.
12745
12746 * include/math.h: Use IS_IN instead of IS_IN_libm.
12747 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12759 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12767 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12768 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12769 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12770 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12771 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12772 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12774 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12775 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12776 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12777 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12781 Likewise.
12782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12783 Likewise.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12785 Likewise.
12786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12787 Likewise.
12788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12789 Likewise.
12790 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12791 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12792 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12793 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12794 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12801 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12802 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12803 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12804 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12805 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12806 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12807 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12808 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12809 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12810 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12811 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12812 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12813 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12814 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12816 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12817
12818 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12819 * nptl/pthreadP.h: Likewise.
12820 * nptl_db/structs.def: Likewise.
12821 * sysdeps/arm/sysdep.h: Likewise.
12822 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12823 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12824 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12825 * sysdeps/unix/alpha/sysdep.h: Likewise.
12826 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12828 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12829 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12830 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12831 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12833 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12834 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12835 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12836 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12837 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12838 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12839 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12844 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12847 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12848 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12849 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12850 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12851 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12852
12853 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12854 * nptl/pthreadP.h: Likewise.
12855 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12856 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12857 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12858 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12859 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12860 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12861 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12862 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12863 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12864 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12865 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12866 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12868 Likewise.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12870 Likewise.
12871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12873 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12876 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12877 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12878 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12879
12880 * dlfcn/dladdr.c: Use IS_IN.
12881 * dlfcn/dladdr1.c: Likewise.
12882 * dlfcn/dlclose.c: Likewise.
12883 * dlfcn/dlerror.c: Likewise.
12884 * dlfcn/dlinfo.c: Likewise.
12885 * dlfcn/dlmopen.c: Likewise.
12886 * dlfcn/dlopen.c: Likewise.
12887 * dlfcn/dlsym.c: Likewise.
12888 * dlfcn/dlvsym.c: Likewise.
12889
12890 * include/ifaddrs.h: Use IS_IN.
12891 * inet/check_pf.c: Likewise.
12892 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12893 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12894
12895 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12896 IS_IN_ldconfig.
12897 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12898 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12899
12900 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12901 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12902 IS_IN (libc).
12903
12904 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12905
12906 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12907 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12908 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12909 * include/libc-symbols.h (IS_IN_LIB): New macro.
12910 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12911 * include/netdb.h: Likewise.
12912 * include/stap-probe.h: Remove all uses of IN_LIB.
12913
12914 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12915 instead of IN_MODULE.
12916 * include/libc-symbols.h (IN_MODULE): Define using
12917 MODULE_NAME.
12918 (PASTE_NAME, PASTE_NAME1): New macros.
12919 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12920 of IN_LIB.
12921 (STAP_PROBE_ASM): Likewise.
12922
12923 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12924
12925 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12926 __mach_init in dlopened libc.
12927
12928 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12929
12930 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12931 * sysdeps/arm/preconfigure: Regenerate.
12932
12933 2014-11-21 Roland McGrath <roland@hack.frob.com>
12934
12935 * nptl/pthread_create.c (__pthread_create_2_1): Set
12936 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12937 when copying values from IATTR into PD.
12938
12939 2014-11-21 Will Newton <will.newton@linaro.org>
12940 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12941
12942 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12943 Refactor inline-asm. Also add comment.
12944
12945 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12946 ElfW macro instead of hardcoded Elf64 types.
12947 (la_aarch64_gnu_pltenter): Likewise.
12948 * sysdeps/aarch64/dl-machine.h
12949 (elf_machine_runtime_setup): Use ElfW(Addr).
12950
12951 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12952 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12953 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12954 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12955 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12956 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12957 (R_AARCH64_TLS_DTPMOD): This.
12958 (R_AARCH64_TLS_DTPREL64): Rename to ...
12959 (R_AARCH64_TLS_DTPREL): This.
12960 (R_AARCH64_TLS_TPREL64): Rename to ...
12961 (R_AARCH64_TLS_TPREL): This.
12962 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12963 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12964 R_AARCH64_TLS_TPREL64.
12965 (elf_machine_rela): Likewise.
12966
12967 2014-11-21 Torvald Riegel <triegel@redhat.com>
12968
12969 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12970 by setting it to 0. 64b atomics are not supported currently.
12971
12972 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12973
12974 [BZ #16469]
12975 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12976 search domain names.
12977
12978 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12979
12980 [BZ #16469]
12981 * NEWS: Update.
12982 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12983 trailing dot.
12984 * posix/tst-getaddrinfo5.c: New.
12985 * posix/Makefile (tests): Add it.
12986
12987 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12988
12989 [BZ #14498]
12990 * NEWS: Fixed.
12991 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12992 after parsing line but before break_if_match.
12993 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12994 if there is a protocol mismatch.
12995
12996 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12997
12998 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12999 because the potential race is on the user-supplied stream.
13000
13001 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13002
13003 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13004 string literal if not passed a buffer.
13005 * manual/job.texi (ctermid): Update reasoning, note deviation
13006 from posix, suggest mtasurace when not passed a buffer, for
13007 future non-preliminary safety notes.
13008
13009 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13010
13011 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13012 of not passing it a buffer.
13013 Reported by Peng Haitao.
13014
13015 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13016
13017 * manual/Makefile ($(objpfx)stamp-summary): Require
13018 check-safety.sh to pass.
13019 * manual/check-safety.sh: Wish for verification that every
13020 @deftypefn and @deftypefun is followed by a @safety remark.
13021
13022 2014-11-20 Roland McGrath <roland@hack.frob.com>
13023
13024 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13025
13026 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13027 PTHREAD_CANCEL_ASYNCHRONOUS.
13028 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13029 send SIGCANCEL.
13030
13031 * nptl/default-sched.h: New file.
13032 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13033 * nptl/pthread_create.c: Include it.
13034 (__pthread_create_2_1): Use collect_default_sched instead of making
13035 Linux syscalls here directly.
13036
13037 2014-11-20 Torvald Riegel <triegel@redhat.com>
13038
13039 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13040 __pthread_once): Use C11 atomics.
13041
13042 2014-11-20 Torvald Riegel <triegel@redhat.com>
13043
13044 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13045
13046 2014-11-20 Torvald Riegel <triegel@redhat.com>
13047
13048 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13049 atomic_thread_fence_acquire, atomic_thread_fence_release,
13050 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13051 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13052 atomic_compare_exchange_weak_relaxed,
13053 atomic_compare_exchange_weak_acquire,
13054 atomic_compare_exchange_weak_release,
13055 atomic_exchange_acquire, atomic_exchange_release,
13056 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13057 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13058 atomic_fetch_and_acquire,
13059 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13060
13061 2014-11-20 Torvald Riegel <triegel@redhat.com>
13062
13063 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13064 USE_ATOMIC_COMPILER_BUILTINS): Define.
13065 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13066 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13067 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13068 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13069 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13070 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13071 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13072 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13073 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13074 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13075 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13076 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13077 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13078 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13079 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13080 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13081 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13082 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13083 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13084 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13085 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13086 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13087 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13088 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13089 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13090 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13091 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13092 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13093 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13094 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13095 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13096 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13097 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13098 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13099 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13100 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13101 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13103 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13105
13106 2014-11-19 Roland McGrath <roland@hack.frob.com>
13107
13108 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13109 the sched_priority value here. It was already checked when the user
13110 called pthread_attr_setschedparam.
13111
13112 * nptl/tst-bad-schedattr.c: New file.
13113 * nptl/Makefile (tests): Add it.
13114
13115 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13116 Florian Weimer <fweimer@redhat.com>
13117 Joseph Myers <joseph@codesourcery.com>
13118 Adam Conrad <adconrad@0c3.net>
13119 Andreas Schwab <schwab@suse.de>
13120 Brooks <bmoses@google.com>
13121
13122 [BZ #17625]
13123 * wordexp-test.c (__dso_handle): Add prototype.
13124 (__register_atfork): Likewise.
13125 (__app_register_atfork): New function.
13126 (registered_forks): New global.
13127 (register_fork): New function.
13128 (test_case): Add 3 new tests for WRDE_CMDSUB.
13129 (main): Call __app_register_atfork.
13130 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13131 fork count is non-zero fail the test.
13132 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13133 is set.
13134 (parse_dollars): Remove check for WRDE_NOCMD.
13135 (parse_dquote): Likewise.
13136
13137 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13138
13139 * Makeconfig (built-modules): List non-library modules to be
13140 built.
13141 (module-cppflags): Include libc-modules.h for
13142 everything except shlib-versions.v.i.
13143 (CPPFLAGS): Use it.
13144 (before-compile): Add libc-modules.h.
13145 ($(common-objpfx)libc-modules.h,
13146 $(common-objpfx)libc-modules.stmp): New targets.
13147 (common-generated): Add libc-modules.h and libc-modules.stmp.
13148 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13149 * include/libc-symbols.h: Don't include libc-modules.h.
13150 * include/libc-modules.h: Remove file.
13151 * scripts/gen-libc-modules.awk: New script to generate
13152 libc-modules.h.
13153 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13154 Depend on libc-modules.stmp.
13155
13156 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13157
13158 * Makeconfig (in-module): Get value of libof set for the
13159 translation unit.
13160 (CPPFLAGS): Use $(in-module).
13161 * Makerules: Don't suffix routine names for nonlib.
13162 * include/libc-modules.h: New file.
13163 * include/libc-symbols.h: Include libc-modules.h
13164 (IS_IN): New macro to replace IS_IN_* macros.
13165 * elf/Makefile: Set libof-* for each routine.
13166 * elf/rtld-Rules: Likewise.
13167 * extra-modules.mk: Likewise.
13168 * iconv/Makefile: Likewise.
13169 * iconvdata/Makefile: Likewise.
13170 * locale/Makefile: Likewise.
13171 * malloc/Makefile: Likewise.
13172 * nss/Makefile: Likewise.
13173 * sysdeps/gnu/Makefile: Likewise.
13174 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13175 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13176 * sysdeps/s390/s390-64/Makefile: Likewise.
13177 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13178 CPPFLAGS for nscd instead of nonlib.
13179
13180 2014-11-18 Roland McGrath <roland@hack.frob.com>
13181
13182 * nptl/createthread.c: New file.
13183
13184 * nptl/createthread.c: Moved ...
13185 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13186
13187 * nptl/createthread.c: Add proper top-line comment.
13188 (do_clone): Folded into ...
13189 (create_thread): ... here. Take new arguments STOPPED_START and
13190 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13191 increment __nptl_threads, do event-reporting logic, do
13192 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13193 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13194 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13195 just send SIGCANCEL.
13196 * nptl/pthread_create.c: Forward-declare create_thread before
13197 including createthread.c.
13198 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13199 declaration, and new macro START_THREAD_SELF to replace argument.
13200 Remove return statement.
13201 (report_thread_creation): New function.
13202 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13203 synchronization logic, and __nptl_nthreads increment here, around
13204 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13205 PD->parent_cancelhandling here, before create_thread. When
13206 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13207 __deallocate_stack, and ENOMEM translation here.
13208
13209 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #17616]
13212 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13213 (mptwo): Rename to __mptwo.
13214 (__inv): Use __mptwo instead of mptwo.
13215 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13216 (mptwo): Rename to __mptwo.
13217 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13218 of mpone and __mptwo instead of mptwo.
13219 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13220 instead of mpone.
13221 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13222 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13223 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13224 of mpone and __mptwo instead of mptwo.
13225 (__mpranred): Use __mpone instead of mpone.
13226 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13227 variable.
13228 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13229 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13230 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13231 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13232 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13233 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13234 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13235 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13236 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13237 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13238 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13239 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13240 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13241 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13242 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13243 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13244 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13245 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13246 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13247
13248 2014-11-18 Tom de Vries <tom@codesoucery.com>
13249
13250 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13251 replace BSD Handler xref with BSD Signal Handling.
13252
13253 2014-11-17 Richard Henderson <rth@redhat.com>
13254
13255 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13256 (_FP_PACK_RAW_2): Remove.
13257 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13258 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13259 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13260 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13261 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13262 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13263 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13264 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13265 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13266 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13267 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13268 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13269 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13270 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13271 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13272 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13273
13274 2014-11-14 Roland McGrath <roland@hack.frob.com>
13275
13276 * signal/signal.h [__USE_MISC]
13277 (struct sigvec): Remove type.
13278 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13279 (sigvec): Remove declaration.
13280 * sysdeps/posix/sigvec.c: Moved ...
13281 * signal/sigvec.c: ... here, replacing old file.
13282 (struct sigvec): New type, copied from old signal.h definition.
13283 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13284 (__sigvec): Convert definition to prototype.
13285 (sigvec): Replace weak_alias with compat_symbol.
13286 * signal/Versions (libc: GLIBC_2.21): New version set.
13287 * include/signal.h: Remove __sigvec declaration.
13288 * sysdeps/unix/bsd/sigvec.c: Remove file.
13289 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13290 * manual/signal.texi (BSD Handler): Remove subsection.
13291 Move siginterrupt up to ...
13292 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13293 (Blocking in BSD): Fold subsection into its parent.
13294 * NEWS: Mention sigvec removal.
13295
13296 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13297
13298 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13299 (DLA_FMS): Make definition conditional only on [__FMA4__].
13300 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13301 definition.
13302
13303 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13304 Make definition conditional only on [PROF].
13305 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13306 definition.
13307 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13308 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13309
13310 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13311 !__GNUC__].
13312 * include/signal.h (__sigpause): Move declaration above call to
13313 libc_hidden_proto.
13314 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13315 variable.
13316 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13317 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13318
13319 2014-11-14 David S. Miller <davem@davemloft.net>
13320
13321 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13322 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13323
13324 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13325
13326 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13327 * configure: Regenerated.
13328 * manual/install.texi (Tools for Compilation): Document a
13329 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13330 compiler verified to work.
13331 * INSTALL: Regenerated.
13332
13333 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13334 redeclare with asm name.
13335 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13336 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13337 including <string.h>.
13338 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13339 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13340 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13341 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13342 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13343 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13344 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13345
13346 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13347
13348 * stdlib/strtol.c (__strtol): Use prototype definition.
13349
13350 [BZ #17594]
13351 * stdlib/strtol.c (SYM__): New macro.
13352 (SYM__1): Likewise.
13353 (__strtol): Likewise.
13354 (strtol): Rename to __strtol and define as weak alias of
13355 __strtol. Use libc_hidden_weak.
13356
13357 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13358
13359 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13360 Use numbered labels in inline assembly.
13361
13362 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13363
13364 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13365 Add setjmp LIBC_PROBE.
13366 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13367 Likewise.
13368 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13369 Add longjmp, longjmp_target LIBC_PROBE.
13370 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13371 Likewise.
13372
13373 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13374
13375 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13376 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13377 to get rid of unused variable warning.
13378
13379 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13380
13381 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13382 Check for unwind_backtrace == NULL only in SHARED case.
13383 (__backchain_backtrace): Compile only in SHARED case.
13384 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13385 Likewise.
13386 (__backchain_backtrace): Declare as static.
13387
13388 2014-11-12 Roland McGrath <roland@hack.frob.com>
13389
13390 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13391 (__libc_multiple_threads_ptr): Variable moved ...
13392 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13393
13394 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13395
13396 * conform/GlibcConform.pm: New file.
13397 * conform/conformtest.pl: Use GlibcConform module.
13398 * conform/linknamespace.pl: New file.
13399 * conform/list-header-symbols.pl: Likewise.
13400 * conform/Makefile (linknamespace-symlists-base): New variable.
13401 (linknamespace-symlists-tests): Likewise.
13402 (linknamespace-header-base): Likewise.
13403 (linknamespace-header-tests): Likewise.
13404 (tests-special): Add new tests.
13405 ($(linknamespace-symlists-tests)): New rule.
13406 (linknamespace-libs): New variable.
13407 ($(objpfx)symlist-stdlibs): New rule.
13408 ($(linknamespace-header-tests)): Likewise.
13409 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13410 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13411 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13412 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13413 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13414 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13415 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13416 (test-xfail-ISO/math.h/linknamespace): Likewise.
13417 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13418 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13419 (test-xfail-ISO/time.h/linknamespace): Likewise.
13420 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13421 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13422 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13423 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13424 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13425 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13426 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13427 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13428 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13429 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13430 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13431 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13432 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13433 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13434 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13435 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13436 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13437 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13438 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13439 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13440 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13441 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13442 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13443 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13444 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13445 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13446 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13447 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13448 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13449 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13450 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13451 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13452 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13453 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13454 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13455 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13456 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13457 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13458 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13459 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13460 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13461 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13462 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13463 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13464 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13465 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13466 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13467 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13468 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13469 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13470 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13471 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13472 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13473 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13474 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13475 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13476 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13477 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13478 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13479 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13480 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13481 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13482 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13483 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13484 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13485 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13486 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13487 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13488 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13489 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13490 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13491 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13492 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13493 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13494 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13495 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13496 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13497 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13498 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13499 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13500 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13501 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13502 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13503 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13504 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13505 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13506 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13507 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13508 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13509 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13510 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13511 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13512 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13513 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13514 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13515 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13516 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13517 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13518 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13519 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13520 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13521 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13522 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13523 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13524 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13525 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13526 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13527 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13528 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13529 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13530 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13531 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13532 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13533 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13534 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13535 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13536 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13537 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13538 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13539 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13540 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13541 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13542 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13543 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13544 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13545 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13546 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13547 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13548 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13549 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13550 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13551 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13552 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13553 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13554 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13555 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13556 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13557 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13558 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13559 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13560 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13561 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13562 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13563 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13564 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13565 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13566 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13567 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13568 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13569 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13570
13571 [BZ #17589]
13572 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13573 of fgets_unlocked.
13574
13575 [BZ #17585]
13576 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13577 (memmem): Rename to __memmem and define as weak alias of
13578 __memmem. Use libc_hidden_weak.
13579 (__memmem): Use libc_hidden_def.
13580 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13581 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13582 memmem.
13583
13584 [BZ #17582]
13585 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13586 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13587 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13588 and define as weak alias of __fgets_unlocked. Use
13589 libc_hidden_weak.
13590 (__fgets_unlocked): Use libc_hidden_def.
13591 * include/stdio.h (__fgets_unlocked): Declare. Use
13592 libc_hidden_proto.
13593 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13594 __fgets_unlocked instead of fgets_unlocked.
13595 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13596 (GET_NPROCS_CONF_PARSER): Likewise.
13597 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13598 (GET_NPROCS_CONF_PARSER): Likewise.
13599
13600 [BZ #17574]
13601 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13602 weak alias of __wmemset. Use libc_hidden_weak.
13603 (__wmemset): Use libc_hidden_def.
13604 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13605 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13606 of wmemset.
13607
13608 [BZ #17573]
13609 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13610 with asm name __mempcpy.
13611 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13612
13613 [BZ #17572]
13614 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13615 and define as weak alias of __rawmemchr.
13616 (__rawmemchr): Do not define as strong alias of rawmemchr.
13617
13618 [BZ #17571]
13619 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13620 alias of __qsort_r.
13621 (qsort): Call __qsort_r instead of qsort_r.
13622 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13623 (__qsort_r): Declare. Call libc_hidden_proto.
13624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13625 instead of qsort_r.
13626 * nscd/gai.c (__qsort_r): Define to qsort_r.
13627 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13628 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13629 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13630
13631 [BZ #17570]
13632 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13633 define as weak alias of __malloc_info.
13634
13635 [BZ #17584]
13636 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13637 as weak alias of __rewinddir. Don't use libc_hidden_def.
13638 (__rewinddir): Use libc_hidden_def.
13639 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13640 as weak alias of __rewinddir. Don't use libc_hidden_def.
13641 (__rewinddir): Use libc_hidden_def.
13642 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13643 weak alias of __rewinddir. Don't use libc_hidden_def.
13644 (__rewinddir): Use libc_hidden_def.
13645 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13646 (__rewinddir): Use libc_hidden_proto.
13647 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13648 rewinddir.
13649 (__getcwd): Use __rewinddir instead of rewinddir.
13650
13651 [BZ #17583]
13652 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13653 alias of __fileno. Use libc_hidden_weak.
13654 (__fileno): Use libc_hidden_def.
13655 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13656 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13657 alias of __ftello.
13658 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13659 __ftello.
13660 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13661 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13662 libc_hidden_def.
13663 (fread_unlocked): Don't use libc_hidden_ver.
13664 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13665 and define as weak alias of __fread_unlocked. Don't use
13666 libc_hidden_def.
13667 (__fread_unlocked): Use libc_hidden_def.
13668 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13669 (ftello): Don't use libc_hidden_proto.
13670 (__ftello): Declare. Use libc_hidden_proto.
13671 (fread_unlocked): Don't use libc_hidden_proto.
13672 (__fread_unlocked): Declare. Use libc_hidden_proto.
13673 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13674 and __ftello instead of fileno, fread_unlocked and ftello.
13675
13676 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13677
13678 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13679 GOT12.
13680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13681 Likewise.
13682 (_dl_start_user): Likewise.
13683 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13684
13685 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13686 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13689 Move argv and envp down instead of moving argc up.
13690 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13691
13692 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13693
13694 [BZ #17506]
13695 * test-skeleton.c (main): Return successful if one of
13696 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13697 * string/tst-strcoll-overflow.c: Define expected status.
13698
13699 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13700
13701 [BZ #17475]
13702 * locale/iso-639.def: Define Bhili and Tulu language codes.
13703
13704 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13705
13706 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13707
13708 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13709
13710 [BZ #17555]
13711 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13712
13713 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13714
13715 * configure.ac: Updated check of minimal required version to
13716 2.22.
13717 * manual/install.texi (Tools for Compilation): Updated version
13718 number.
13719 * configure: Regenerated.
13720 * INSTALL: Likewise.
13721
13722 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13723
13724 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13725 __tls_get_addr.
13726
13727 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13728
13729 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13730 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13731 (__waitpid): Don't define as alias. Use libc_hidden_def not
13732 libc_hidden_weak.
13733 (waitpid): Define as alias of __waitpid.
13734 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13735 __waitpid.
13736 (__waitpid): Don't define as alias. Use libc_hidden_def not
13737 libc_hidden_weak.
13738 (waitpid): Define as alias of __waitpid.
13739 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13740 __libc_waitpid alias.
13741 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13743 Likewise.
13744 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13745 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13746 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13747 alias.
13748 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13749 __waitpid.
13750 (__waitpid): Don't define as alias. Use libc_hidden_def not
13751 libc_hidden_weak.
13752 (waitpid): Define as alias of __waitpid.
13753
13754 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13755
13756 * manual/llio.texi: Add comment that write safety has been
13757 fixed in Linux.
13758
13759 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13760 (localplt-build-dso): Add elf/ld.so.
13761 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13762 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13763 and free for ld.so.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13765 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13767 Likewise.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13769 Likewise.
13770 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13771 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13772 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13773 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13774 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13775 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13776 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13777 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13778 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13779 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13780 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13781
13782 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13783
13784 [BZ #14132]
13785 * include/libc-symbols.h (INTUSE): Remove macro.
13786 (INTDEF): Likewise.
13787 (INTVARDEF): Likewise.
13788 (_INTVARDEF): Likewise.
13789 (INTDEF2): Likewise.
13790 (INTVARDEF2): Likewise.
13791 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13792 rtld_hidden_def instead of INTVARDEF.
13793 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13794 (_dl_starting_up_internal): Remove declaration.
13795 (_dl_starting_up): Use rtld_hidden_proto.
13796 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13797 declaration.
13798 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13799 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13800 _dl_starting_up.
13801 * elf/dl-writev.h (_dl_writev): Likewise.
13802 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13803 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13804 _dl_starting_up_internal.
13805
13806 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807
13808 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13809 test-skeleton.c.
13810
13811 2014-11-05 Will Newton <will.newton@linaro.org>
13812
13813 * benchtests/Makefile: (bench-malloc): Add malloc thread
13814 scalability benchmark.
13815 * benchtests/bench-malloc-threads.c: New file.
13816
13817 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13818
13819 * sysdeps/aarch64/strchrnul.S: New file.
13820
13821 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13822
13823 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13824 definition.
13825 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13826 Likwise.
13827 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13828 Likewise.
13829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13830 Likewise.
13831 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13832 Likewise.
13833 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13834 Likewise.
13835
13836 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13837
13838 * catgets/test-gencat.c: Use test-skeleton.c.
13839 * catgets/tst-catgets.c: Likewise.
13840 * csu/tst-empty.c: Likewise.
13841 * elf/tst-audit2.c: Likewise.
13842 * elf/tst-global1.c: Likewise.
13843 * elf/tst-pathopt.c: Likewise.
13844 * elf/tst-piemod1.c: Likewise.
13845 * elf/tst-tls10.c: Likewise.
13846 * elf/tst-tls11.c: Likewise.
13847 * elf/tst-tls12.c: Likewise.
13848 * gnulib/tst-gcc.c: Likewise.
13849 * iconvdata/tst-e2big.c: Likewise.
13850 * iconvdata/tst-loading.c: Likewise.
13851 * iconv/tst-iconv1.c: Likewise.
13852 * iconv/tst-iconv2.c: Likewise.
13853 * inet/test-inet6_opt.c: Likewise.
13854 * inet/tst-gethnm.c: Likewise.
13855 * inet/tst-network.c: Likewise.
13856 * inet/tst-ntoa.c: Likewise.
13857 * intl/tst-codeset.c: Likewise.
13858 * intl/tst-gettext2.c: Likewise.
13859 * intl/tst-gettext3.c: Likewise.
13860 * intl/tst-ngettext.c: Likewise.
13861 * intl/tst-translit.c: Likewise.
13862 * io/test-stat.c: Likewise.
13863 * libio/test-fmemopen.c: Likewise.
13864 * libio/tst-freopen.c: Likewise.
13865 * libio/tst-sscanf.c: Likewise.
13866 * libio/tst-ungetwc1.c: Likewise.
13867 * libio/tst-ungetwc2.c: Likewise.
13868 * libio/tst-widetext.c: Likewise.
13869 * localedata/tst-ctype.c: Likewise.
13870 * localedata/tst-digits.c: Likewise.
13871 * localedata/tst-leaks.c: Likewise.
13872 * localedata/tst-mbswcs1.c: Likewise.
13873 * localedata/tst-mbswcs2.c: Likewise.
13874 * localedata/tst-mbswcs3.c: Likewise.
13875 * localedata/tst-mbswcs4.c: Likewise.
13876 * localedata/tst-mbswcs5.c: Likewise.
13877 * localedata/tst-setlocale.c: Likewise.
13878 * localedata/tst-trans.c: Likewise.
13879 * localedata/tst-wctype.c: Likewise.
13880 * localedata/tst-xlocale1.c: Likewise.
13881 * login/tst-grantpt.c: Likewise.
13882 * malloc/tst-calloc.c: Likewise.
13883 * malloc/tst-malloc.c: Likewise.
13884 * malloc/tst-mallocstate.c: Likewise.
13885 * malloc/tst-mcheck.c: Likewise.
13886 * malloc/tst-mtrace.c: Likewise.
13887 * malloc/tst-obstack.c: Likewise.
13888 * math/atest-exp2.c: Likewise.
13889 * math/atest-exp.c: Likewise.
13890 * math/atest-sincos.c: Likewise.
13891 * math/test-matherr.c: Likewise.
13892 * math/test-misc.c: Likewise.
13893 * math/test-powl.c: Likewise.
13894 * math/tst-definitions.c: Likewise.
13895 * misc/tst-dirname.c: Likewise.
13896 * misc/tst-efgcvt.c: Likewise.
13897 * misc/tst-fdset.c: Likewise.
13898 * misc/tst-hsearch.c: Likewise.
13899 * misc/tst-mntent2.c: Likewise.
13900 * nptl/tst-sem7.c: Likewise.
13901 * nptl/tst-sem8.c: Likewise.
13902 * nptl/tst-sem9.c: Likewise.
13903 * nss/test-netdb.c: Likewise.
13904 * posix/tst-fnmatch.c: Likewise.
13905 * posix/tst-getlogin.c: Likewise.
13906 * posix/tst-gnuglob.c: Likewise.
13907 * posix/tst-mmap.c: Likewise.
13908 * pwd/tst-getpw.c: Likewise.
13909 * resolv/tst-inet_ntop.c: Likewise.
13910 * rt/tst-timer.c: Likewise.
13911 * stdio-common/test-fseek.c: Likewise.
13912 * stdio-common/test-popen.c: Likewise.
13913 * stdio-common/test-vfprintf.c: Likewise.
13914 * stdio-common/tst-cookie.c: Likewise.
13915 * stdio-common/tst-fileno.c: Likewise.
13916 * stdio-common/tst-gets.c: Likewise.
13917 * stdio-common/tst-obprintf.c: Likewise.
13918 * stdio-common/tst-perror.c: Likewise.
13919 * stdio-common/tst-sprintf2.c: Likewise.
13920 * stdio-common/tst-sprintf3.c: Likewise.
13921 * stdio-common/tst-sprintf.c: Likewise.
13922 * stdio-common/tst-swprintf.c: Likewise.
13923 * stdio-common/tst-tmpnam.c: Likewise.
13924 * stdio-common/tst-unbputc.c: Likewise.
13925 * stdio-common/tst-wc-printf.c: Likewise.
13926 * stdlib/tst-environ.c: Likewise.
13927 * stdlib/tst-fmtmsg.c: Likewise.
13928 * stdlib/tst-limits.c: Likewise.
13929 * stdlib/tst-rand48-2.c: Likewise.
13930 * stdlib/tst-rand48.c: Likewise.
13931 * stdlib/tst-random2.c: Likewise.
13932 * stdlib/tst-random.c: Likewise.
13933 * stdlib/tst-strtol.c: Likewise.
13934 * stdlib/tst-strtoll.c: Likewise.
13935 * stdlib/tst-tls-atexit.c: Likewise.
13936 * stdlib/tst-xpg-basename.c: Likewise.
13937 * string/test-ffs.c: Likewise.
13938 * string/tst-bswap.c: Likewise.
13939 * string/tst-inlcall.c: Likewise.
13940 * string/tst-strtok.c: Likewise.
13941 * string/tst-strxfrm.c: Likewise.
13942 * sysdeps/x86_64/tst-audit10.c: Likewise.
13943 * sysdeps/x86_64/tst-audit3.c: Likewise.
13944 * sysdeps/x86_64/tst-audit4.c: Likewise.
13945 * sysdeps/x86_64/tst-audit5.c: Likewise.
13946 * time/tst-ftime_l.c: Likewise.
13947 * time/tst-getdate.c: Likewise.
13948 * time/tst-mktime3.c: Likewise.
13949 * time/tst-mktime.c: Likewise.
13950 * time/tst-posixtz.c: Likewise.
13951 * time/tst-strptime2.c: Likewise.
13952 * time/tst-strptime3.c: Likewise.
13953 * wcsmbs/tst-btowc.c: Likewise.
13954 * wcsmbs/tst-mbrtowc.c: Likewise.
13955 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13956 * wcsmbs/tst-wchar-h.c: Likewise.
13957 * wcsmbs/tst-wcpncpy.c: Likewise.
13958 * wcsmbs/tst-wcrtomb.c: Likewise.
13959 * wcsmbs/tst-wcsnlen.c: Likewise.
13960 * wcsmbs/tst-wcstof.c: Likewise.
13961
13962 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13963
13964 [BZ #14132]
13965 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13966 INTDEF.
13967 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13968 declaration.
13969 (_dl_mcount): Use rtld_hidden_proto.
13970 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13971 _dl_mcount.
13972 * elf/rtld.c (_rtld_global_ro): Likewise.
13973
13974 [BZ #14132]
13975 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13976 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13977 of _dl_init_internal.
13978 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13979 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13980 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13981 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13982 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13983 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13984 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13985 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13986 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13987 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13988 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13989 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13990 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13991 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13992 * sysdeps/tile/dl-start.S (_start): Likewise.
13993 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13994 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13995
13996 [BZ #14132]
13997 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13998 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13999 (rtld_progname): Make macro definition unconditional.
14000 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14001 INTDEF.
14002 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14003 (dl_main): Likewise.
14004 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14005 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14006 instead of _dl_argv_internal.
14007 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14008 __GI__dl_argv instead of INTUSE(_dl_argv).
14009 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14010 __GI__dl_argv instead of _dl_argv_internal.
14011
14012 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14013 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14014 macro.
14015 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14016 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14017 New macro.
14018 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14019 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14020 macro.
14021 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14022 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14023
14024 2014-11-04 Andreas Schwab <schwab@suse.de>
14025
14026 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14027
14028 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14029
14030 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14031 mtvsrd instruction in binary form.
14032
14033 2014-11-03 Andreas Schwab <schwab@suse.de>
14034
14035 [BZ #17522]
14036 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14037 for less than MB_LEN_MAX use a local buffer of that size.
14038 * libio/tst-fputws.c: New file.
14039 * libio/Makefile (tests): Add tst-fputws.
14040
14041 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14042
14043 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14044 the size of the fpu_fr.fpu_dregs[] array.
14045
14046 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14047
14048 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14049 (__nanosleep): Do not define as alias.
14050 (nanosleep): Define as alias of __nanosleep.
14051 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14052 __libc_nanosleep name.
14053
14054 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14055
14056 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14057 install.texi in comment.
14058
14059 2014-10-31 Torvald Riegel <triegel@redhat.com>
14060
14061 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14062 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14063 ... add here and use lwsync or sync ...
14064 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14065 ... and add here using lwsync.
14066
14067 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14068
14069 * elf/dl-machine-reject-phdr.h: New file.
14070 * elf/dl-load.c: #include that.
14071 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14072 if that returned true.
14073
14074 2014-10-31 Roland McGrath <roland@hack.frob.com>
14075
14076 [BZ #17496]
14077 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14078 gen-as-const-headers chunk. Add a big scare comment after the last
14079 safe place to touch before-compile.
14080
14081 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14082
14083 * manual/install.texi (Tools for Compilation): Update autoconf
14084 version requirements.
14085 * INSTALL: Regenerated.
14086
14087 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14088 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14089 (__libc_pselect): Likewise.
14090
14091 [BZ #14138]
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14096
14097 2014-10-31 Torvald Riegel <triegel@redhat.com>
14098
14099 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14100 correct barrier instruction.
14101 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14102 Likewise.
14103 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14104 Likewise.
14105
14106 2014-10-30 Roland McGrath <roland@hack.frob.com>
14107
14108 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14109 after defining inlines. Instead, just use parens to defeat macro
14110 expansion of __isctype in its declaration.
14111
14112 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14113
14114 * include/sys/uio.h (__libc_readv): Remove declaration.
14115 (__libc_writev): Likewise.
14116 * misc/readv.c (__libc_readv): Rename to __readv.
14117 (__readv): Do not define as alias.
14118 (readv): Define as alias of __readv.
14119 * misc/writev.c (__libc_writev): Rename to __writev.
14120 (__writev): Do not define as alias.
14121 (writev): Define as alias of __writev.
14122 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14123 (__readv): Do not define as alias.
14124 (readv): Define unconditionally as alias of __readv.
14125 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14126 (__writev): Do not define as alias.
14127 (writev): Define unconditionally as alias of __writev.
14128 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14129 name.
14130 (writev): Do not define __libc_writev name.
14131
14132 2014-10-30 Roland McGrath <roland@hack.frob.com>
14133
14134 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14135 (convert_charseq): New function, broken out of ...
14136 (use_from_charmap): ... here. Call it.
14137 (use_to_charmap): Use convert_charseq and free instead of duplicating
14138 its code with a variable-length stack struct.
14139
14140 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14141
14142 * include/fcntl.h (__libc_creat): Remove declaration.
14143 * io/creat.c (__libc_creat): Rename to creat.
14144 (creat): Do not define as alias.
14145 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14146 of creat instead of __libc_creat.
14147 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14148 to creat.
14149 (creat): Do not define as alias.
14150 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14151 __libc_creat.
14152 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14153 __libc_creat name.
14154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14155 Likewise.
14156
14157 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14158
14159 * manual/llio.texi: Add comments discussing why write() may be
14160 considered MT-unsafe on Linux.
14161
14162 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14163
14164 * dl-load.c (local_strdup): Remove.
14165 (expand_dynamic_string_token): Use __strdup.
14166 (decompose_rpath): Likewise.
14167 (_dl_map_object): Likewise.
14168
14169 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14170
14171 [BZ #14132]
14172 * sysdeps/generic/unwind-dw2-fde.c
14173 (__register_frame_info_bases_internal): Do not declare.
14174 (__register_frame_info_table_bases_internal): Likewise.
14175 (__deregister_frame_info_bases_internal): Likewise.
14176 (__register_frame_info_bases): Declare and use hidden_proto before
14177 definition. Use hidden_def instead of INTDEF.
14178 (__register_frame_info_table_bases): Likewise.
14179 (__deregister_frame_info_bases): Likewise.
14180 (__register_frame_info): Do not use INTUSE.
14181 (__register_frame): Likewise.
14182 (__register_frame_info_table): Likewise.
14183 (__register_frame_table): Likewise.
14184 (__deregister_frame_info): Likewise.
14185 (__deregister_frame): Likewise.
14186
14187 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14188
14189 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14190 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14191 not undefine.
14192 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14193 Likewise.
14194 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14195 Likewise.
14196
14197 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14198
14199 [BZ #14138]
14200 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14201 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14202 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14203 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14205 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14207 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14208 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14209 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14212 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14213 syscall.
14214 (setfsuid): Likewise.
14215 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14216 (setfsuid): Likewise.
14217 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14218 (setfsuid): Likewise.
14219 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14220 Likewise.
14221 (setfsuid): Likewise.
14222 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14223 (setfsuid): Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14225 Likewise.
14226 (setfsuid): Likewise.
14227
14228 2014-10-27 Andreas Schwab <schwab@suse.de>
14229
14230 [BZ #17501]
14231 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14232 check for Slow_SSE4_2 feature bit.
14233 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14234 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14235 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14236 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14237
14238 2014-10-24 Roland McGrath <roland@hack.frob.com>
14239
14240 * configure.ac: Validate compiler version with a empirical test of
14241 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14242 $CC -v output.
14243 * configure: Regenerated.
14244
14245 * inet/htons.c (htons): Prototypify.
14246 * inet/htonl.c (htonl): Likewise.
14247
14248 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14249
14250 * string/strncat.c (strncat): Improve performance by using strlen.
14251
14252 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14253
14254 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14255
14256 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14257
14258 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14259 Call libc_fetestexcept_aarch64.
14260
14261 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14262
14263 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14264 Call libc_feholdexcept_aarch64.
14265
14266 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14267
14268 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14269 Call get_rounding_mode.
14270
14271 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14272
14273 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14274 Simplify logic.
14275
14276 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14277
14278 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14279 Simplify logic.
14280
14281 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14282
14283 [BZ #14138]
14284 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14285 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14286 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14287 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14288 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14289 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14290 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14291 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14292 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14293 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14294 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14295 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14296 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14297 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14298 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14299 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14300 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14301 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14302 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14303 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14304 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14305 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14306 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14307 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14308 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14309 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14310 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14311 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14312 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14313 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14314 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14315 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14316 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14317 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14318 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14320 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14321 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14322 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14323 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14324 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14325 syscall.
14326 (geteuid): Likewise.
14327 (getgid): Likewise.
14328 (getuid): Likewise.
14329 (getresgid): Likewise.
14330 (getresuid): Likewise.
14331 (getgroups): Likewise.
14332 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14333 (geteuid): Likewise.
14334 (getgid): Likewise.
14335 (getuid): Likewise.
14336 (getresgid): Likewise.
14337 (getresuid): Likewise.
14338 (getgroups): Likewise.
14339 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14340 (geteuid): Likewise.
14341 (getgid): Likewise.
14342 (getuid): Likewise.
14343 (getresgid): Likewise.
14344 (getresuid): Likewise.
14345 (getgroups): Likewise.
14346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14347 Likewise.
14348 (geteuid): Likewise.
14349 (getgid): Likewise.
14350 (getuid): Likewise.
14351 (getresgid): Likewise.
14352 (getresuid): Likewise.
14353 (getgroups): Likewise.
14354 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14355 (geteuid): Likewise.
14356 (getgid): Likewise.
14357 (getuid): Likewise.
14358 (getresgid): Likewise.
14359 (getresuid): Likewise.
14360 (getgroups): Likewise.
14361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14362 Likewise.
14363 (geteuid): Likewise.
14364 (getgid): Likewise.
14365 (getuid): Likewise.
14366 (getgroups): Likewise.
14367
14368 [BZ #14138]
14369 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14370 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14373 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14374 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14375 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14376 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14377 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14378 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14379 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14381 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14382 __chown.
14383 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14384 (lchown): Likewise.
14385 (fchown): Likewise.
14386 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14387 Likewise.
14388 (lchown): Likewise.
14389 (fchown): Likewise.
14390 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14391 (lchown): Likewise.
14392 (fchown): Likewise.
14393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14394 Likewise.
14395 (lchown): Likewise.
14396 (fchown): Likewise.
14397
14398 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14399
14400 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14401 Simplify logic.
14402
14403 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14404
14405 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14406 Cleanup logic.
14407
14408 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14409
14410 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14411 Remove unused include.
14412
14413 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14414
14415 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14416 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14417 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14418 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14419
14420 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14421 Helge Deller <deller@gmx.de>
14422
14423 [BZ #17508]
14424 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14425 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14426 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14427
14428 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14429
14430 [BZ #14132]
14431 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14432 Remove macro definition.
14433 (__ashrdi3_v_glibc20): Likewise.
14434 (__lshrdi3_v_glibc20): Likewise.
14435 (__cmpdi2_v_glibc20): Likewise.
14436 (__ucmpdi2_v_glibc20): Likewise.
14437 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14438 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14439 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14440 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14441 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14442 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14443
14444 2014-10-22 Roland McGrath <roland@hack.frob.com>
14445
14446 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14447 old GNU extension [0] syntax.
14448 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14449 alloca rather than an array member with variable length.
14450 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14451 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14452 (parse_opt): ... here. Likewise use alloca there.
14453 Validate the -i argument before checking for rootness.
14454 (send_shutdown): New function, broken out of ...
14455 (parse_opt): ... here.
14456
14457 2014-10-22 Roland McGrath <roland@hack.frob.com>
14458
14459 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14460 macro to get at the _rt_local_ro field.
14461 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14462 ([PIC] case) or _dl_hwcap ([!PIC] case).
14463 * sysdeps/arm/setjmp.S: Likewise.
14464
14465 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14466 * sysdeps/arm/configure.ac: New check to define it.
14467 * sysdeps/arm/configure: Regenerated.
14468 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14469 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14470 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14471 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14472 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14473 Use move/movt pair instead of a load.
14474 (LDST_GLOBAL): Macro removed.
14475 (LDR_GLOBAL): New macro replaces it.
14476 (LDR_HIDDEN): New macro.
14477 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14478 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14479
14480 * setjmp/tst-setjmp-static.c: New file.
14481 * setjmp/Makefile (tests): Add it.
14482 (tests-static): New variable.
14483
14484 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14485
14486 [BZ #17485]
14487 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14488
14489 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14490
14491 [BZ #14132]
14492 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14493
14494 2014-10-21 Roland McGrath <roland@hack.frob.com>
14495
14496 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14497
14498 2014-10-20 Roland McGrath <roland@hack.frob.com>
14499
14500 * io/fts.c (dirent_not_directory): New function.
14501 (fts_build): Call it.
14502
14503 2014-10-20 Roland McGrath <roland@hack.frob.com>
14504
14505 * nptl/version.c (__nptl_main): Use normal __write rather than
14506 INTERNAL_SYSCALL.
14507 (banner): Update copyright years.
14508
14509 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14510 gettimeofday.
14511 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14512 * nptl/pthread_cond_timedwait.c: Likewise.
14513 * nptl/pthread_mutex_timedlock.c: Likewise.
14514 * nptl/sem_timedwait.c: Likewise.
14515
14516 * sysdeps/nptl/bits/libc-lock.h
14517 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14518 (__libc_lock_init_recursive): Return void, not 0.
14519 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14520 (__libc_rwlock_init): Likewise.
14521 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14522
14523 2014-10-20 Torvald Riegel <triegel@redhat.com>
14524
14525 [BZ #15215]
14526 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14527 (__pthread_once_slow): ... here.
14528 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14529 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14530
14531 2014-10-20 Torvald Riegel <triegel@redhat.com>
14532
14533 [BZ #15215]
14534 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14535 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14536 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14537 * nptl/pthread_once.c (__pthread_once): Likewise.
14538 Update comments.
14539
14540 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14541
14542 [BZ #14138]
14543 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14544 name.
14545 (writev): Use __libc_writev as strong name.
14546 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14547 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14548
14549 2014-10-17 Roland McGrath <roland@hack.frob.com>
14550
14551 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14552
14553 * sysdeps/i386/nptl/tls.h
14554 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14555 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14556 New macros.
14557 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14558 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14559 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14560 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14561 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14562 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14563
14564 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14565 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14566 on [__NR_futex].
14567 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14568 broken out of ...
14569 (__pthread_mutex_init): ... here. Call it.
14570 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14571 Conditionalize PI cases on [__NR_futex].
14572 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14573 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14574 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14575
14576 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14577 conditional on [SIGSETXID].
14578 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14579 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14580 is defined. Likewise for SIGSETXID.
14581 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14582 Conditionalize definitions on [SIGSETXID].
14583 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14584 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14585 unblocking on [SIGCANCEL].
14586
14587 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14588 [__NR_set_robust_list].
14589
14590 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14591
14592 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14593 (do_compare): Likewise.
14594
14595 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14596
14597 [BZ #15884]
14598 * string/strcoll_l.c: Don't include stdio.h.
14599 (coll_seq): Remove members idxarr and rulearr.
14600 (get_next_seq_cached): Remove function.
14601 (get_next_seq): Likewise.
14602 (get_next_seq_nocache): Rename to get_next_seq.
14603 (do_compare): Remove function.
14604 (do_compare_nocache): Rename to do_compare.
14605 (STRCOLL): Remove weight and rules cache.
14606
14607 2014-10-16 Roland McGrath <roland@hack.frob.com>
14608
14609 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14610 * sysdeps/arm/sfp-machine.h: ... to here.
14611 * sysdeps/arm/Implies: Remove arm/soft-fp.
14612
14613 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14614
14615 * conform/data/sys/utsname.h-data (*_t): Allow.
14616 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14617 [POSIX] (WEXITED): Do not expect constant.
14618 [POSIX] (WSTOPPED): Likewise.
14619 [POSIX] (WNOHANG): Likewise.
14620 [POSIX] (WNOWAIT): Likewise.
14621 [POSIX] (siginfo_t): Do not expect type or elements.
14622 [POSIX] (pid_t): Do not expect type.
14623 [POSIX] (signal.h): Do not allow header.
14624 [POSIX] (sys/resource.h): Likewise.
14625 [POSIX] (si_*): Do not allow pattern.
14626 [POSIX] (W*): Likewise.
14627 [POSIX] (P_*): Likewise.
14628 [POSIX] (BUS_*): Likewise.
14629 [POSIX] (CLD_*): Likewise.
14630 [POSIX] (FPE_*): Likewise.
14631 [POSIX] (ILL_*): Likewise.
14632 [POSIX] (POLL_*): Likewise.
14633 [POSIX] (SEGV_*): Likewise.
14634 [POSIX] (SI_*): Likewise.
14635 [POSIX] (TRAP_*): Likewise.
14636 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14637 variable.
14638
14639 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14640
14641 [BZ #12926]
14642 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14643 infinite loop when __recvmsg returns 0.
14644
14645 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14646
14647 * CANCEL-FCT-WAIVE: Remove file.
14648 * CANCEL-FILE-WAIVE: Likewise.
14649
14650 [BZ #14132]
14651 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14652 instead of INTVARDEF.
14653 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14654 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14655 rtld_hidden_data_def instead of INTVARDEF.
14656 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14657 * elf/dl-deps.c (expand_dst): Likewise.
14658 * elf/dl-load.c (_dl_dst_count): Likewise.
14659 (_dl_dst_substitute): Likewise.
14660 (decompose_rpath): Likewise.
14661 (_dl_init_paths): Likewise.
14662 (open_path): Likewise.
14663 (_dl_map_object): Likewise.
14664 * elf/rtld.c (dl_main): Likewise.
14665 (process_dl_audit): Likewise.
14666 (process_envvars): Likewise.
14667 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14668 Remove declaration.
14669 (__libc_enable_secure): Use rtld_hidden_proto.
14670
14671 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14672
14673 * elf/dl-load.c
14674 (add_path): New function broken out of _dl_rtld_di_serinfo.
14675 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14676
14677 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14678
14679 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14680 parentheses around macro arguments.
14681 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14684 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14685 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14686 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14687 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14688 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14689 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14690 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14691 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14692 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14693 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14694 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14695 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14696 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14697 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14698 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14699 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14701 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14702 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14705 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14706 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14707 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14709 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14710 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14711 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14712 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14713 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14714 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14715 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14716 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14717 Likewise.
14718 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14725 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14726 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14727 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14728 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14729 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14730 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14734 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14737 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14738 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14739 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14740 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14741 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14742 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14743 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14744 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14745 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14746 (_FP_FRAC_SRS_1): Likewise.
14747 (_FP_FRAC_CLZ_1): Likewise.
14748 (_FP_MUL_MEAT_1_imm): Likewise.
14749 (_FP_MUL_MEAT_1_wide): Likewise.
14750 (_FP_MUL_MEAT_1_hard): Likewise.
14751 (_FP_SQRT_MEAT_1): Likewise.
14752 (_FP_FRAC_ASSEMBLE_1): Likewise.
14753 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14754 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14755 (__FP_CLZ_2): Likewise.
14756 (_FP_MUL_MEAT_2_wide): Likewise.
14757 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14758 (_FP_MUL_MEAT_2_gmp): Likewise.
14759 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14760 (_FP_SQRT_MEAT_2): Likewise.
14761 (_FP_FRAC_ASSEMBLE_2): Likewise.
14762 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14763 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14764 (_FP_FRAC_CLZ_4): Likewise.
14765 (_FP_MUL_MEAT_4_wide): Likewise.
14766 (_FP_MUL_MEAT_4_gmp): Likewise.
14767 (_FP_SQRT_MEAT_4): Likewise.
14768 (_FP_FRAC_ASSEMBLE_4): Likewise.
14769 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14770 * soft-fp/op-common.h (_FP_CMP): Likewise.
14771 (_FP_CMP_EQ): Likewise.
14772 (_FP_CMP_UNORD): Likewise.
14773 (_FP_TO_INT): Likewise.
14774 (_FP_FROM_INT): Likewise.
14775 [!__FP_CLZ] (__FP_CLZ): Likewise.
14776 (_FP_DIV_HELP_imm): Likewise.
14777 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14778 Likewise.
14779 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14781 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14782 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14783 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14784 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14785 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14787 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14788 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14789 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14790 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14791 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14792 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14793 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14794 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14795 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14797 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14799 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14800 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14801 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14803 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14806 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14807 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14808 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14809 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14810 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14811 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14812 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14813 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14814 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14815 (FP_UNPACK_RAW_SP): Likewise.
14816 (FP_PACK_RAW_S): Likewise.
14817 (FP_PACK_RAW_SP): Likewise.
14818 (FP_UNPACK_S): Likewise.
14819 (FP_UNPACK_SP): Likewise.
14820 (FP_UNPACK_SEMIRAW_S): Likewise.
14821 (FP_UNPACK_SEMIRAW_SP): Likewise.
14822 (FP_PACK_S): Likewise.
14823 (FP_PACK_SP): Likewise.
14824 (FP_PACK_SEMIRAW_S): Likewise.
14825 (FP_PACK_SEMIRAW_SP): Likewise.
14826 (_FP_SQRT_MEAT_S): Likewise.
14827 (FP_CMP_S): Likewise.
14828 (FP_CMP_EQ_S): Likewise.
14829 (FP_CMP_UNORD_S): Likewise.
14830 (FP_TO_INT_S): Likewise.
14831 (FP_FROM_INT_S): Likewise.
14832
14833 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14834
14835 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14836 (FP_EX_INVALID_IMZ): Likewise.
14837 (FP_EX_INVALID_IMZ_FMA): Likewise.
14838 (FP_EX_INVALID_ISI): Likewise.
14839 (FP_EX_INVALID_ZDZ): Likewise.
14840 (FP_EX_INVALID_IDI): Likewise.
14841 (FP_EX_INVALID_SQRT): Likewise.
14842 (FP_EX_INVALID_CVI): Likewise.
14843 (FP_EX_INVALID_VC): Likewise.
14844 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14845 "invalid" exceptions.
14846 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14847 (_FP_ADD_INTERNAL): Likewise.
14848 (_FP_MUL): Likewise.
14849 (_FP_FMA): Likewise.
14850 (_FP_DIV): Likewise.
14851 (_FP_CMP_CHECK_NAN): Likewise.
14852 (_FP_SQRT): Likewise.
14853 (_FP_TO_INT): Likewise.
14854 (FP_EXTEND): Likewise.
14855
14856 2014-10-09 Allan McRae <allan@archlinux.org>
14857
14858 * po/fr.po: Update French translation from translation project.
14859
14860 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14861
14862 [BZ #14132]
14863 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14864 of INTDEF.
14865 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14866 (__cxa_atexit): Use libc_hidden_proto.
14867 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14868
14869 [BZ #14132]
14870 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14871 declaration.
14872 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14873 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14874 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14875 [!_ISOMAC] (__iswctype_internal): Likewise.
14876 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14877 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14878 alias.
14879 (fcntl): Remove __fcntl_internal alias.
14880 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14881 __connect_internal alias.
14882 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14883 Likewise.
14884
14885 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14886 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14887 FP_DENORM_ZERO.
14888 (_FP_CHECK_FLUSH_ZERO): New macro.
14889 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14890 (_FP_CMP): Likewise.
14891 (_FP_CMP_EQ): Likewise.
14892 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14893 FP_DENORM_ZERO.
14894 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14895 (FP_TRUNC): Likewise.
14896
14897 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14898 treated as invalid conversion, not as normal exponent.
14899
14900 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14901 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14902 (_FP_CMP_EQ): Likewise.
14903 (_FP_CMP_UNORD): Likewise.
14904 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14905 (FP_CMP_EQ_D): Likewise.
14906 (FP_CMP_UNORD_D): Likewise.
14907 * soft-fp/extended.h (FP_CMP_E): Likewise.
14908 (FP_CMP_EQ_E): Likewise.
14909 (FP_CMP_UNORD_E): Likewise.
14910 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14911 (FP_CMP_EQ_Q): Likewise.
14912 (FP_CMP_UNORD_Q): Likewise.
14913 * soft-fp/single.h (FP_CMP_S): Likewise.
14914 (FP_CMP_EQ_S): Likewise.
14915 (FP_CMP_UNORD_S): Likewise.
14916 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14917 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14918 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14919 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14920 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14921 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14922 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14923 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14924 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14925 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14926 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14927 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14928 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14929 to FP_CMP_Q.
14930 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14931 FP_CMP_Q.
14932 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14933 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14934 FP_CMP_EQ_Q.
14935 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14936 FP_CMP_Q.
14937 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14938 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14939 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14940 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14941 FP_CMP_EQ_Q.
14942 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14943 FP_CMP_Q.
14944 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14945 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14946 FP_CMP_EQ_Q.
14947 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14948 FP_CMP_Q.
14949 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14950 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14951 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14952 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14953 FP_CMP_EQ_Q.
14954
14955 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14956 a subnormal result, set the underflow exception if trapping on
14957 underflow is enabled.
14958 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14959 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14960 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14961 redefine to 0.
14962 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14963 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14964 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14965 * soft-fp/extendxftf2.c (__extendxftf2): Use
14966 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14967
14968 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14969 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14970 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14971 FP_HANDLE_EXCEPTIONS.
14972 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14973 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14974 FP_HANDLE_EXCEPTIONS.
14975 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14976 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14977 FP_HANDLE_EXCEPTIONS.
14978 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14979 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14980 FP_HANDLE_EXCEPTIONS.
14981
14982 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14983
14984 [BZ #14132]
14985 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14986 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14987 use INTUSE.
14988 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14989 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14990 Remove alias.
14991 (__adjtimex): Define using libc_hidden_ver.
14992 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14993 Remove declaration.
14994 (ntp_gettime): Call __adjtimex directly.
14995 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14996 Remove declaration.
14997 (ntp_gettimex): Call __adjtimex directly.
14998 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14999 __adjtimex_internal alias.
15000
15001 2014-10-08 Roland McGrath <roland@hack.frob.com>
15002
15003 [BZ #17460]
15004 * nscd/nscd.c (more_help): Rewrite list of tables collection
15005 using xstrdup and asprintf.
15006
15007 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15008
15009 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15010 Roland McGrath <roland@hack.frob.com>
15011
15012 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15013 (do_lookup_unique): ... local function 'enter' here; update callers.
15014
15015 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15016
15017 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15018 compat_symbol calls on [SHARED].
15019 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15020 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15021 Remove.
15022 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15023 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15024 (oldsetrlimit): Remove.
15025 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15027 (lchown): New syscall entry.
15028 (oldsetrlimit): Remove.
15029 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15030 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15031 (oldsetrlimit): Remove.
15032 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15033
15034 [BZ #14138]
15035 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15036 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15037 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15038 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15040 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15041 (fchown): Likewise.
15042 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15043 (fchown): Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15045 Likewise.
15046
15047 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15048
15049 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15050 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15051 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15052 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15053 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15054 Likewise.
15055 (__old_sem_post): Likewise.
15056
15057 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15058
15059 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15060 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15061 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15062 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15063 Use INLINE_VSYSCALL macro.
15064 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15065 __vdso_clock_gettime.
15066 * sysdeps/unix/sysv/linux/tile/init-first.c
15067 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15068 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15069 __vdso_clock_gettime.
15070
15071 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15072 to set up frame more cleanly.
15073
15074 * sysdeps/tile/memcmp.c: New file.
15075
15076 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15077
15078 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15079 * sysdeps/tile/tilegx/strcasestr.c: New file.
15080 * sysdeps/tile/tilegx/strnlen.c: New file.
15081 * sysdeps/tile/tilegx/strstr.c: New file.
15082
15083 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15084
15085 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15086
15087 * nptl/tst-setuid3.c: Write errors to stdout.
15088
15089 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15090
15091 * elf/dl-deps.c
15092 (preload): New functions broken out of _dl_map_object_deps.
15093 (_dl_map_object_deps): Remove a nested function. Update call sites.
15094
15095 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15096
15097 [BZ #14138]
15098 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15099 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15100
15101 2014-10-01 Steve Ellcey <sellcey@mips.com>
15102
15103 * sysdeps/mips/strcmp.S: New.
15104
15105 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15106
15107 [BZ #14138]
15108 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15109 (linkat): Likewise.
15110 (mkdirat): Likewise.
15111 (readlinkat): Likewise.
15112 (renameat): Likewise.
15113 (symlinkat): Likewise.
15114 (unlinkat): Likewise.
15115 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15116 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15117 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15118 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15119 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15120 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15121 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15122
15123 2014-09-30 Will Newton <will.newton@linaro.org>
15124
15125 * math/math.h: Define long double math functions if
15126 _LIBC_TEST is defined.
15127 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15128
15129 * localedata/Makefile: Move assignment to tests-special
15130 into an ifdef testing run-built-tests.
15131 * timezone/Makefile: Likewise.
15132
15133 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15134
15135 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15136 with $(BASH) not $(SHELL).
15137
15138 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15139 Matthew LeGendre <legendre1@llnl.gov>
15140
15141 [BZ #17411]
15142 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15143 l_reloc_result.
15144
15145 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15146
15147 * stdio-common/printf_fp.c
15148 (hack_digit): New function, broken out of ...
15149 (__printf_fp): ... local function here. Update call sites.
15150 hack_digit now takes an additional parameter that is a pointer
15151 to a struct of the referenced locals. Those locals moved inside
15152 the struct and references updated.
15153
15154 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15155
15156 * aclocal.m4: Require autoconf 2.69.
15157 * configure: Regenerated.
15158 * sysdeps/aarch64/configure: Likewise.
15159 * sysdeps/alpha/configure: Likewise.
15160 * sysdeps/arm/armv7/configure: Likewise.
15161 * sysdeps/arm/configure: Likewise.
15162 * sysdeps/ia64/configure: Likewise.
15163 * sysdeps/mach/configure: Likewise.
15164 * sysdeps/mips/configure: Likewise.
15165 * sysdeps/s390/configure: Likewise.
15166 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15168
15169 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15170 file.
15171 * sysdeps/ia64/configure.ac: Likewise.
15172
15173 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15174
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15176 specify symbol version for ld.so. Do not include entry for
15177 libpthread.
15178 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15181
15182 [BZ #14171]
15183 * Makeconfig [$(build-shared) = yes]
15184 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15185 makefiles.
15186 [$(build-shared) = yes && $(soversions.mk-done) = t]
15187 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15188 [$(build-shared) = yes && $(soversions.mk-done) = t]
15189 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15190 to Makerules.
15191 [$(build-shared) = yes && $(soversions.mk-done) = t]
15192 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15193 here.
15194 [$(build-shared) = yes && $(soversions.mk-done) = t]
15195 (common-generated): Don't append gnu/lib-names.h and
15196 gnu/lib-names.stmp here.
15197 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15198 (lib-names-h-abi): New variable.
15199 [$(build-shared) = yes && $(soversions.mk-done) = t]
15200 (lib-names-stmp-abi): Likewise.
15201 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15202 abi-variants] (before-compile): Append
15203 $(common-objpfx)$(lib-names-h-abi).
15204 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15205 abi-variants] (common-generated): Append gnu/lib-names.h.
15206 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15207 abi-variants] (install-others-nosubdir): Depend on
15208 $(inst_includedir)/$(lib-names-h-abi).
15209 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15210 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15211 [$(build-shared) = yes && $(soversions.mk-done) = t]
15212 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15213 [$(build-shared) = yes && $(soversions.mk-done) = t]
15214 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15215 [$(build-shared) = yes && $(soversions.mk-done) = t]
15216 (common-generated): Append $(lib-names-h-abi) and
15217 $(lib-names-stmp-abi).
15218 * scripts/lib-names.awk: Do not handle multi being set.
15219 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15220 Remove variable.
15221 (abi-lp64_be-ld-soname): Likewise.
15222 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15223 Likewise.
15224 (abi-hard-ld-soname): Likewise.
15225 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15226 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15227 Remove variable.
15228 (abi-o32_hard-ld-soname): Likewise.
15229 (abi-o32_soft_2008-ld-soname): Likewise.
15230 (abi-o32_hard_2008-ld-soname): Likewise.
15231 (abi-n32_soft-ld-soname): Likewise.
15232 (abi-n32_hard-ld-soname): Likewise.
15233 (abi-n32_soft_2008-ld-soname): Likewise.
15234 (abi-n32_hard_2008-ld-soname): Likewise.
15235 (abi-n64_soft-ld-soname): Likewise.
15236 (abi-n64_hard-ld-soname): Likewise.
15237 (abi-n64_soft_2008-ld-soname): Likewise.
15238 (abi-n64_hard_2008-ld-soname): Likewise.
15239 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15240 Likewise.
15241 (abi-64-v2-ld-soname): Likewise.
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15243 ld.so entries.
15244 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15245 variable.
15246 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15247 entry.
15248 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15249 variable.
15250 (abi-64-ld-soname): Likewise.
15251 (abi-x32-ld-soname): Likewise.
15252 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15253 entry.
15254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15255
15256 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15257
15258 [BZ #14138]
15259 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15260 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15261 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15262 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15263 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15264 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15265 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15266 syscall entry for GLIBC_2.2 symbol version.
15267 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15268 Likewise.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15270 (setrlimit): Likewise.
15271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15272 Likewise.
15273
15274 2014-09-23 Will Newton <will.newton@linaro.org>
15275
15276 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15277 _LINUX_ARM_SYSDEP_H include guard too.
15278 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15279 define.
15280
15281 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15282
15283 * sysdeps/unix/sysv/linux/eventfd.c:
15284 Make first argument unsigned.
15285 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15286 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15287
15288 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15289
15290 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15291 * socket/sys/socket.h: Likewise
15292 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15293
15294 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15295
15296 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15297
15298 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15299
15300 * time/tst-ftime.c: New test.
15301 * time/Makefile (tests): Add tst-ftime.
15302
15303 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15304
15305 * soft-fp/extended.h: Fix comment formatting.
15306 * soft-fp/op-1.h: Likewise.
15307 * soft-fp/op-2.h: Likewise.
15308 * soft-fp/op-4.h: Likewise.
15309 * soft-fp/op-8.h: Likewise.
15310 * soft-fp/op-common.h: Likewise.
15311 * soft-fp/soft-fp.h: Likewise.
15312
15313 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15314
15315 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15316
15317 [BZ #6652]
15318 * Makeconfig (soversions-default-setname): Remove variable.
15319 ($(common-objpfx)soversions.i): Don't pass default_setname to
15320 soversions.awk.
15321 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15322 oldest_abi to abi-versions.awk.
15323 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15324 * config.make.in (oldest-abi): Remove variable.
15325 * configure.ac (--enable-oldest-abi): Remove configure option.
15326 * configure: Regenerated.
15327 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15328 text.
15329 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15330 * scripts/soversions.awk: Do not handle default_setname variable.
15331 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15332 variable.
15333 * sysdeps/mach/hurd/configure: Regenerated.
15334 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15335 variable.
15336 * sysdeps/unix/sysv/linux/configure: Regenerated.
15337
15338 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15339
15340 * elf/Makefile (CFLAGS-interp.c): Remove.
15341 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15342 path string.
15343 * elf/interp.c: Include generated runtime-linker.h
15344
15345 * Makerules (lib%.so): Don't include $(+interp) in
15346 prerequisites.
15347 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15348 * dlfcn/eval.c: Remove file.
15349
15350 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15351 macros.
15352
15353 [BZ #17266]
15354 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15355 4.2 and newer.
15356
15357 [BZ #17370]
15358 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15359
15360 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15361 Jakub Jelinek <jakub@redhat.com>
15362
15363 [BZ #17266]
15364 * libio/stdio.h: Check definition of __fortify_function
15365 instead of __extern_always_inline to include bits/stdio2.h.
15366 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15367 check if __extern_always_inline is defined.
15368 [__USE_MISC || __USE_XOPEN]: Likewise.
15369 [__USE_ISOC99] Likewise.
15370 * misc/sys/cdefs.h (__fortify_function): Define only if
15371 __extern_always_inline is defined.
15372 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15373 __extern_always_inline and __extern_inline only for g++-4.3
15374 and newer or a compatible gcc.
15375
15376 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15377
15378 [BZ #17371]
15379 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15380 last change to handle zero prefix length.
15381
15382 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15383
15384 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15385 _SC_REGEX_VERSION.
15386
15387 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15388 _POSIX_RAW_SOCKETS.
15389
15390 2014-09-13 Allan McRae <allan@archlinux.org>
15391
15392 * po/ru.po: Update Russian translation from translation project.
15393
15394 2014-09-12 Roland McGrath <roland@hack.frob.com>
15395
15396 * locale/programs/locale.c (show_locale_vars): Inline local function
15397 into its sole call site. Clean up some style nits.
15398 (print_item): New function, broken out of ...
15399 (show_info): ... local function here. Clean up style nits.
15400
15401 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15402 out of ...
15403 (set_class_defaults): ... local function set_default here.
15404 Define set_default as a macro locally to pass constant parameters.
15405 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15406 rather than a shared local.
15407
15408 * stdlib/rpmatch.c (try): New function, broken out of ...
15409 (rpmatch): ... local function here. Also, prototypify definition.
15410
15411 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15412
15413 * scripts/soversions.awk: Do not handle configuration names.
15414 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15415 vendor and os variables to soversions.awk.
15416 * configure.ac: Do not modify gnu-* host_os.
15417 * configure: Regenerated
15418 * shlib-versions: Remove first column with configuration names.
15419 * nptl/shlib-versions: Likewise.
15420 * nptl_db/shlib-versions: Likewise.
15421 * sysdeps/hppa/shlib-versions: Likewise.
15422 * sysdeps/m68k/shlib-versions: Likewise.
15423 * sysdeps/mach/hurd/shlib-versions: Likewise.
15424 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15425 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15426 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15427 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15428 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15429 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15430 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15431 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15433 Likewise.
15434 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15435 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15436 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15437 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15438 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15439 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15441 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15442
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15444 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15446 Regenerated.
15447 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15449 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15450
15451 * shlib-versions: Remove OS-specific entries. Moved to files in
15452 sysdeps.
15453 * sysdeps/mach/hurd/shlib-versions: New file.
15454 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15455
15456 * nptl/shlib-versions: Remove architecture-specific entries.
15457 Moved to files in sysdeps.
15458 * shlib-versions: Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15460 file.
15461 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15462 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15463 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15464 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15465
15466 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15467 (UDP_NO_CHECK6_RX): Likewise.
15468
15469 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15470
15471 * sysdeps/posix/sysconf.c (__sysconf): Spell
15472 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15473
15474 2014-08-12 Florian Weimer <fweimer@redhat.com>
15475
15476 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15477 loading.
15478 * iconv/Versions (__gconv_transliterate): Export for use from
15479 gconv modules.
15480 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15481 (struct __gconv_trans_data, __gconv_trans_fct,
15482 __gconv_trans_context_fct, __gconv_trans_query_fct,
15483 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15484 definitions.
15485 (struct __gconv_step_data): Remove __trans member.
15486 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15487 longer hidden. Remove unused trans_data argument.
15488 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15489 (__gconv_translit_find): Remove declaration.
15490 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15491 prototype.
15492 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15493 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15494 trans_data argument. Add hidden definition.
15495 (__gconv_translit_find): Remove.
15496 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15497 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15498 * iconv/skeleton.c: Remove transliteration initialization.
15499 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15500 __gconv_step_data initialization.
15501 * libio/iofwide.c (__libio_translit_): Remove.
15502 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15503 * wcsmbs/btowc.c (__btowc): Likewise.
15504 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15505 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15506 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15507 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15508 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15509 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15510 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15511 * wcsmbs/wctob.c (wctob): Likewise.
15512
15513 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15514
15515 [BZ #16194]
15516 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15517 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15518 register usage.
15519 * sysdeps/x86/Makefile: Adjust.
15520
15521 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15522 Roland McGrath <roland@hack.frob.com>
15523
15524 * locale/weight.h: Add include guard.
15525 (findidx): Make static rather than auto; take new parameters
15526 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15527 * locale/weightwc.h: Likewise.
15528 * posix/fnmatch_loop.c
15529 (FCT): Change type of EXTRA from int32_t to wint_t.
15530 Don't include either header inside the function.
15531 Call FINDIDX rather than findidx, and pass new arguments.
15532 #undef FINDIDX at the end of the file.
15533 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15534 FINDIDX before including fnmatch_loop.c for the non-wide version.
15535 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15536 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15537 for the wide version.
15538 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15539 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15540 Pass new arguments to findidx.
15541 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15542 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15543 Don't #include it inside the function. Pass new arguments to findidx.
15544 * posix/regex_internal.h
15545 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15546 (re_string_elem_size_at): Don't #include it inside the function.
15547 Pass new arguments to findidx.
15548 * string/strcoll_l.c: #include WEIGHT_H at top level.
15549 (get_next_seq): Don't #include it inside the function.
15550 Pass new arguments to findidx.
15551 (get_next_seq_nocache): Likewise.
15552 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15553 (STRXFRM): Don't #include it inside the function.
15554 Pass new arguments to findidx.
15555
15556 2014-09-11 Florian Weimer <fweimer@redhat.com>
15557
15558 [BZ #17344]
15559 * malloc/malloc.c (unlink): Turn asserts into a call to
15560 malloc_printerr.
15561
15562 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15563
15564 [BZ #17370]
15565 * libio/wfileops (do_ftell_wide): Free OUT.
15566
15567 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15568
15569 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15570
15571 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15572
15573 [BZ #17363]
15574 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15575 group if the current group is empty.
15576
15577 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15578
15579 * benchtests/bench-memset.c (test_main): Add more test from size
15580 from 32 to 512 bytes.
15581 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15582 Add POWER8 memset object.
15583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15584 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15585 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15586 implementation.
15587 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15588 Likewise.
15589 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15590 multiarch POWER8 memset optimization.
15591 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15592 POWER8 memset optimization.
15593
15594 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15595 Remove bzero multiarch objects.
15596 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15597 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15598 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15599 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15600 Remove define.
15601 [__bzero]: Redefine to specific name.
15602 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15603 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15604 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15605 define.
15606 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15607 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15608
15609 2014-09-10 Florian Weimer <fweimer@redhat.com>
15610
15611 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15612 warnings into errors.
15613
15614 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15615 __cxa_thread_atexit_impl prototype.
15616
15617 2014-09-09 Steve Ellcey <sellcey@mips.com>
15618
15619 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15620 Fix capitalization of error message.
15621
15622 2014-09-09 Steve Ellcey <sellcey@mips.com>
15623
15624 * sysdeps/mips/preconfigure: Modify ABI tests.
15625
15626 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15627
15628 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15629
15630 2014-09-07 Roland McGrath <roland@hack.frob.com>
15631 Carlos O'Donell <carlos@systemhalted.org>
15632
15633 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15634 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15635 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15636 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15637 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15638 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15639 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15640 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15641 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15642 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15643 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15644 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15645 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15646 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15647 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15648 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15649 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15650 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15651 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15652 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15653 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15654 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15655 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15656 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15657 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15658 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15659 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15660 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15661 Deconditionalize the code that was previously under [RESET_PID].
15662 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15663 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15664 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15665 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15666 include sysdep.h.
15667
15668 2014-09-08 Allan McRae <allan@archlinux.org>
15669
15670 * version.h (RELEASE): Set to "development".
15671 (VERSION): Set to "2.20.90"
15672
15673 2014-09-07 Allan McRae <allan@archlinux.org
15674
15675 * version.h (RELEASE): Set to "stable".
15676 (VERSION): Set to "2.20"
15677 * include/features.h (__GLIBC_MINOR__): Set to 20.
15678
15679 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15680 Liebler.
15681
15682 * po/ko.po: Update Korean translation from translation project.
15683
15684 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15685
15686 [BZ #17354]
15687 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15688 macro for handling signed relocations.
15689
15690 2014-09-03 Florian Weimer <fweimer@redhat.com>
15691
15692 [BZ #17325]
15693 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15694 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15695 assert.
15696 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15697 * iconvdata/ibm935.c (BODY): Likewise.
15698 * iconvdata/ibm937.c (BODY): Likewise.
15699 * iconvdata/ibm939.c (BODY): Likewise.
15700 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15701 assert.
15702 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15703 script.
15704 * iconvdata/run-iconv-test.sh: New test loop for checking for
15705 decoder crashers.
15706
15707 2014-09-02 Khem Raj <raj.khem@gmail.com>
15708
15709 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15710 libm_hidden_ver.
15711
15712 2014-09-01 Allan McRae <allan@archlinux.org>
15713
15714 * po/eo.po: Update Esperanto translation from translation project.
15715
15716 * po/ca.po: Update Catalan translation from translation project.
15717
15718 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15719
15720 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15721 __proc_dostop call.
15722
15723 2014-08-27 Mark Wielaard <mjw@redhat.com>
15724
15725 [BZ #17319]
15726 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15727 to call set_thread_area instead of hand written asm.
15728 (__NR_set_thread_area): Removed define.
15729 (TLS_FLAG_WRITABLE): Likewise.
15730 (__ASSUME_SET_THREAD_AREA): Remove check.
15731 (TLS_EBX_ARG): Remove define.
15732 (TLS_LOAD_EBX): Likewise.
15733
15734 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15735
15736 Simplify atomicity of socket creation in bind.
15737
15738 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15739 looking up the name after linking the file.
15740
15741 2014-08-27 Allan McRae <allan@archlinux.org>
15742
15743 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15744
15745 2014-08-26 Florian Weimer <fweimer@redhat.com>
15746
15747 [BZ #17187]
15748 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15749 trans_compare, open_translit, __gconv_translit_find):
15750 Remove module loading code.
15751
15752 2014-08-26 Allan McRae <allan@archlinux.org>
15753
15754 * po/vi.po: Update Vietnamese translation from translation project.
15755
15756 * po/uk.po: Update Ukrainian translation from translation project.
15757
15758 * po/fr.po: Update French translation from translation project.
15759
15760 * po/ru.po: Update Russian translation from translation project.
15761
15762 * po/pl.po: Update Polish translation from translation project.
15763
15764 * po/cs.po: Update Czech translation from translation project.
15765
15766 * po/de.po: Update German translation from translation project.
15767
15768 * po/bg.po: Update Bulgarian translation from translation project.
15769
15770 * po/sv.po: Update Sweedish translation from translation project.
15771
15772 * po/nl.po: Update Dutch translation from translation project.
15773
15774 * po/es.po: Update Spanish translation from translation project.
15775
15776 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15777
15778 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15779
15780 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15781 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15782 (CPPFLAGS-iconvconfig): Likewise.
15783 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15784
15785 * include/libc-symbols.h: Remove unnecessary check for
15786 NOT_IN_libc.
15787 * nptl/pthreadP.h: Likewise.
15788 * sysdeps/aarch64/setjmp.S: Likewise.
15789 * sysdeps/alpha/setjmp.S: Likewise.
15790 * sysdeps/arm/sysdep.h: Likewise.
15791 * sysdeps/i386/setjmp.S: Likewise.
15792 * sysdeps/m68k/setjmp.c: Likewise.
15793 * sysdeps/posix/getcwd.c: Likewise.
15794 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15795 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15796 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15797 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15798 * sysdeps/sh/sh3/setjmp.S: Likewise.
15799 * sysdeps/sh/sh4/setjmp.S: Likewise.
15800 * sysdeps/unix/alpha/sysdep.h: Likewise.
15801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15802 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15803 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15804 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15808 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15809 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15812 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15814 * sysdeps/x86_64/setjmp.S: Likewise.
15815
15816 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15817
15818 [BZ #17263]
15819 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15820 <stdint.h>.
15821 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15822 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15823
15824 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15825
15826 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15827
15828 [BZ #17262]
15829 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15830 and __x86_64__ when disabling x87 inline functions.
15831
15832 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15833
15834 [BZ #17259]
15835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15836 asm statement with __cpuid_count.
15837
15838 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15839
15840 * configure.ac: Change __ehdr_start code to dereference the struct.
15841 Run readelf on the output to look for relocations.
15842 * configure: Regenerated.
15843
15844 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15845
15846 [BZ #17261]
15847 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15848 value to 0.
15849 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15850
15851 2014-08-12 Roland McGrath <roland@hack.frob.com>
15852
15853 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15854
15855 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15856
15857 [BZ #16892]
15858 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15859 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15860
15861 2014-08-12 Sean Anderson <seanga2@gmail.com>
15862
15863 * malloc/malloc.c: Fix typo in comment.
15864
15865 2014-08-09 Allan McRae <allan@archlinux.org>
15866
15867 * Regenerate libc.po.
15868
15869 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15870
15871 * intl/tst-gettext2.sh: Check every lang file for creation.
15872
15873 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15874
15875 * sysdeps/aarch64/fpu/math_private.h
15876 (libc_feholdsetround_noex_aarch64_ctx): New function.
15877
15878 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15879
15880 * sysdeps/arm/armv6/strcpy.S (strcpy):
15881 Fix performance issue in misaligned cases.
15882
15883 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15884
15885 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15886 Move definition from termios.h.
15887 (struct termio): Likewise.
15888 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15889 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15890 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15891 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15892 Likewise.
15893 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15894 Move definition to ioctl-types.h
15895 (struct termio): Likewise.
15896 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15897 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15898 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15899 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15900 Likewise.
15901
15902 2014-08-05 Richard Henderson <rth@redhat.com>
15903
15904 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15905 exceptions.
15906 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15907 Add fraiseexcpt.
15908 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15909 Use __feraiseexcept.
15910 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15911 Protect libm symbols with IS_IN_libm.
15912
15913 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15914
15915 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15916
15917 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15918
15919 2014-08-04 Will Newton <will.newton@linaro.org>
15920
15921 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15922 file.
15923
15924 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15925
15926 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15927 variants for each function.
15928
15929 2014-08-04 Roland McGrath <roland@hack.frob.com>
15930
15931 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15932 appended ...
15933 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15934 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15935 appended ...
15936 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15937 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15938 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15939 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15940 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15941 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15942 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15943 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15944 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15945 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15946 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15947 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15948 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15949 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15950 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15951 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15952 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15953 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15954 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15955 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15956 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15957 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15959 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15960 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15961 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15962 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15963 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15964 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15965 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15966 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15967 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15968 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15969 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15970 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15971 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15972 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15973 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15974 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15975 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15976 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15977 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15978 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15979 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15980 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15981 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15982 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15984 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15985 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15986 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15987 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15988 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15989 Update #include.
15990 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15991 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15992
15993 2014-08-04 Roland McGrath <roland@hack.frob.com>
15994
15995 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15996 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15997 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15998 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15999 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16000 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16001
16002 2014-08-04 Roland McGrath <roland@hack.frob.com>
16003
16004 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16005 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16006 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16007 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16008
16009 2014-08-04 Roland McGrath <roland@hack.frob.com>
16010
16011 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16012 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16013 (__libc_vfork): Define function under this name.
16014 (__vfork): Define as an alias.
16015 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16016 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16017
16018 2014-08-04 Roland McGrath <roland@hack.frob.com>
16019
16020 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16021 that was previously under [RESET_PID].
16022 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16023
16024 2014-08-04 Andreas Schwab <schwab@suse.de>
16025
16026 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16027
16028 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16029
16030 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16031 (main): Likewise.
16032
16033 2014-08-01 Roland McGrath <roland@hack.frob.com>
16034
16035 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16036
16037 2014-08-01 Richard Henderon <rth@redhat.com>
16038
16039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16040 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16041 typo in exact zero test.
16042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16045
16046 2014-08-01 Roland McGrath <roland@hack.frob.com>
16047
16048 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16049 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16050 * sysdeps/arm/sysdep.h: ... here.
16051 [!__ASSEMBLER__]: Include <stdint.h>.
16052
16053 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16054
16055 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16056 (HAVE_WCTYPE_H): Likewise.
16057 (HAVE_ISWCTYPE): Likewise.
16058 (ENABLE_NLS): Likewise.
16059 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16060 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16061
16062 * posix/regex_internal.c: Check if DEBUG is defined and is
16063 set.
16064
16065 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16066 (HAVE_MBSRTOWCS): Likewise.
16067 * posix/fnmatch.c: Include string.h unconditionally.
16068
16069 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16070
16071 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16072 reversal.
16073
16074 2014-07-31 Roland McGrath <roland@hack.frob.com>
16075
16076 * sysdeps/generic/safe-fatal.h: New file.
16077 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16078 * nptl/forward.c: Include it.
16079 (__pthread_unwind): Use __safe_fatal as default action, rather
16080 than a bogus use of INTERNAL_SYSCALL that could never work.
16081
16082 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16083 * configure.ac (libc_cv_builtin_trap): New test.
16084 * configure: Regenerated.
16085 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16086 (ABORT_INSTRUCTION): Define using __builtin_trap.
16087
16088 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16089 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16090 * sysdeps/nptl/nptl-signals.h: New file.
16091 * nptl/pthreadP.h: Include <nptl-signals.h>.
16092
16093 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16094
16095 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16096 (ONE_DIRECTION): Define.
16097 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16098 (ONE_DIRECTION): Define.
16099 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16100 (ONE_DIRECTION): Define.
16101
16102 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16103
16104 * sysdeps/s390/Makefile: Delete file.
16105 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16106 * sysdeps/s390/__longjmp.c: Delete file.
16107 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16108 Remove fields __flags and __reserved.
16109 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16110 and add versioning.
16111 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16112 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16113 * sysdeps/s390/rtld-setjmp.S: Likewise.
16114 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16115 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16116 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16117 * sysdeps/s390/s390-32/setjmp.S: ... here.
16118 Add versioning.
16119 (__sigsetjmp): Remove setting __flags field.
16120 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16121 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16122 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16123 * sysdeps/s390/s390-64/setjmp.S: ... here.
16124 Add versioning.
16125 (__sigsetjmp): Remove setting __flags field.
16126 * sysdeps/s390/setjmp.S: Delete file.
16127 * sysdeps/s390/sigjmp.c: Likewise.
16128 * sysdeps/s390/v1-longjmp.c: Likewise.
16129 * sysdeps/s390/v1-setjmp.h: Likewise.
16130 * sysdeps/s390/v1-sigjmp.c: Likewise.
16131 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16132 Remove v1-longjmp_chk.
16133 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16134 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16135 Include debug/longjmp_chk.c and add versioning.
16136 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16137 Include nptl/pt-longjmp.c and add versioning.
16138 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16139 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16140 Include __longjmp.c.
16141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16142 Move to ...
16143 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16144 (__getcontext): Remove setting __flags field.
16145 Add versioning.
16146 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16147 Don't restore upper high grps.
16148 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16149 Likewise.
16150 (__swapcontext): Remove setting uc_flags field.
16151 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16152 Delete file.
16153 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16154 Include __longjmp.c.
16155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16156 Move to ...
16157 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16158 (__getcontext): Remove setting __flags field.
16159 Add versioning.
16160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16161 (__swapcontext): Remove setting uc_flags field.
16162 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16164 Remove fields uc_high_gprs and __reserved.
16165 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16166 New file with reverted content.
16167 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16169 Regenerated.
16170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16171 Regenerated.
16172
16173 2014-07-31 Andreas Schwab <schwab@suse.de>
16174
16175 * config.h.in (HAVE_IFUNC): Define to 0.
16176 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16177 definedness.
16178
16179 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16180
16181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16182 memmove-avx-unaligned, memcpy-avx-unaligned and
16183 mempcpy-avx-unaligned.
16184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16185 Add tests for AVX memcpy functions.
16186 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16187 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16188 memcpy_chk.
16189 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16190 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16191 memmove_chk.
16192 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16194 mempcpy_chk.
16195 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16196 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16197 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16198
16199 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16200
16201 [BZ #17213]
16202 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16203 powerpc64le.
16204
16205 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16206
16207 [BZ #16839]
16208 * manual/llio.texi: Add section about open file description locks.
16209 * manual/examples/ofdlocks.c: Example of open file description
16210 lock usage.
16211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16212 F_OFD_SETLK, and F_OFD_SETLKW.
16213
16214 2014-07-23 Allan McRae <allan@archlinux.org>
16215
16216 * po/es.po: Update Spanish translation from translation project.
16217
16218 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16219
16220 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16221
16222 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16223
16224 [BZ #17078]
16225 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16226 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16227 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16228
16229 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16230
16231 [BZ #17088]
16232 * math/fesetenv.c (__fesetenv)
16233 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16234 * math/feupdateenv.c (__feupdateenv)
16235 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16236
16237 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16238 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16239 (__ASSUME_SOCKETCALL): Do not define.
16240
16241 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16242 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16243 (__ASSUME_SOCKETCALL): Do not define.
16244 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16245 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16246 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16247 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16248 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16249 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16250 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16251 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16252
16253 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16254 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16255 (__ASSUME_SOCKETCALL): Do not define.
16256 (__ASSUME_IPC64): Define unconditionally.
16257 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16258 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16259 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16260 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16261 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16262 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16263 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16264 Likewise.
16265
16266 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16267 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16268 (__ASSUME_SOCKETCALL): Do not define.
16269 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16270 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16271 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16272 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16273 (__ASSUME_REQUEUE_PI): Define unconditionally.
16274 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16275 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16276 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16277 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16278 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16279 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16280
16281 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16282 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16283 (__ASSUME_SOCKETCALL): Do not define.
16284 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16285 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16286 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16287 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16288 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16289 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16290
16291 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16292 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16293 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16294 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16295 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16296 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16297 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16298 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16299 (__ASSUME_GETCPU_SYSCALL): Likewise.
16300
16301 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16302 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16303 cases for individual architectures.
16304 * sysdeps/gnu/configure: Regenerated.
16305 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16306 LIBC_SLIBDIR_RTLDDIR.
16307 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16308 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16309 LIBC_SLIBDIR_RTLDDIR.
16310 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16312 LIBC_SLIBDIR_RTLDDIR.
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16314 Regenerated.
16315 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16316 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16317 file.
16318 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16319 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16320 file.
16321 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16322 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16323 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16324 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16325
16326 * sysdeps/aarch64/shlib-versions: Move to ...
16327 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16328 * sysdeps/alpha/shlib-versions: Move to ...
16329 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16330 * sysdeps/arm/shlib-versions: Move to ...
16331 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16332 * sysdeps/hppa/shlib-versions: Move all contents except for
16333 libgcc_s entry to ...
16334 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16335 entry from ...
16336 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16337 * sysdeps/ia64/shlib-versions: Move to ...
16338 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16339 entry from ...
16340 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16341 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16342 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16343 * sysdeps/microblaze/shlib-versions: Move to ...
16344 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16345 * sysdeps/mips/shlib-versions: Move to ...
16346 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16347 entry from ...
16348 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16349 * sysdeps/tile/shlib-versions: Move to ...
16350 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16351 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16352 from ...
16353 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16354 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16355 entry from ...
16356 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16357
16358 2014-07-17 Will Newton <will.newton@linaro.org>
16359
16360 * sysdeps/arm/bits/atomic.h
16361 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16362 (__arch_compare_and_exchange_bool_16_int): Likewise.
16363 (__arch_compare_and_exchange_bool_64_int): Likewise.
16364
16365 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16366 into an #else block.
16367
16368 2014-07-16 Roland McGrath <roland@hack.frob.com>
16369
16370 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16371 just Linux configurations. Test empirically that the compiler sets
16372 __ARM_EABI__, rather than using the tuple to decide.
16373 * sysdeps/arm/preconfigure: Regenerated.
16374 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16375 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16376 contents appended ...
16377 * sysdeps/arm/configure.ac: ... here.
16378 * sysdeps/arm/configure: Regenerated.
16379
16380 2014-07-15 Roland McGrath <roland@hack.frob.com>
16381
16382 * nptl/pthread_kill.c: New file.
16383 * nptl/pthread_sigmask.c: New file.
16384 * nptl/pthread_sigqueue.c: New file.
16385
16386 * sysdeps/nptl/lowlevellock.h: New file.
16387 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16388 * sysdeps/nptl/lowlevellock-futex.h: New file.
16389
16390 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16391 Remove dead declarations.
16392
16393 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16394
16395 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16396 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16397 config-cflags-avx2.
16398 * sysdeps/x86_64/configure.ac: Likewise.
16399 * sysdeps/i386/configure: Regenerated.
16400 * sysdeps/x86_64/configure: Likewise.
16401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16402 memset-avx2 only if config-cflags-avx2 is yes.
16403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16404 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16405 defined.
16406 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16407 only if HAVE_AVX2_SUPPORT is defined.
16408 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16409
16410 2014-07-14 Alan Modra <amodra@gmail.com>
16411
16412 [BZ #17153]
16413 * elf/elf.h (DT_PPC64_NUM): Correct value.
16414 * NEWS: Add to fixed bug list.
16415
16416 2014-07-13 Jim Meyering <meyering@fb.com>
16417
16418 [BZ 17150]
16419 regex: don't deref NULL upon heap allocation failure
16420 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16421 failure in one more place.
16422 To trigger the segfault, configure grep -with-included-regex,
16423 build it, and run these commands:
16424 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16425
16426 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16427
16428 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16429
16430 2014-07-11 Richard Henderson <rth@redhat.com>
16431
16432 * sysdeps/aarch64/libm-test-ulps: Update.
16433
16434 2014-07-10 Florian Weimer <fweimer@redhat.com>
16435
16436 [BZ #17135]
16437 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16438 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16439 (__nptl_setxid): Initialize error member. Call
16440 __nptl_setxid_error.
16441 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16442 * nptl/descr.h (struct xid_command): Add error member.
16443 * nptl/tst-setuid3.c: New file.
16444 * nptl/Makefile (tests): Add it.
16445
16446 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16447
16448 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16449 New define.
16450 (__lll_trylock): Use __lll_base_trylock.
16451 (__lll_cond_trylock): Likewise.
16452
16453 2014-07-10 Roland McGrath <roland@hack.frob.com>
16454
16455 * nptl/pthread_create.c (start_thread): Use atomic_or and
16456 lll_futex_wake directly rather than lll_robust_dead.
16457 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16458 (lll_robust_dead): Macro removed.
16459 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16460 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16461 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16462 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16463 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16464 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16465 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16466 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16467 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16468 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16469 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16470 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16472 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16473 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16474
16475 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16476 Use atomic_compare_and_exchange_val_acq directly rather than
16477 lll_robust_trylock.
16478 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16479 (__lll_robust_trylock, lll_robust_trylock): Removed.
16480 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16481 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16482 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16483 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16484 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16485 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16486 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16487 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16488 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16489 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16490 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16491 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16492 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16494
16495 2014-07-02 Florian Weimer <fweimer@redhat.com>
16496
16497 * manual/locale.texi (Locale Names): New section documenting
16498 locale name syntax. Adjust menu and node chaining accordingly.
16499 (Choosing Locale): Reference Locale Names, Locale Categories.
16500 Mention setting LC_ALL=C. Reflect that name syntax is now
16501 documented.
16502 (Locale Categories): New section title. Reference Locale Names.
16503 LC_ALL is an environment variable, but not a category.
16504 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16505 description, now in Locale Name. Reference that section. Locale
16506 name syntax is now documented.
16507
16508 2014-07-02 Florian Weimer <fweimer@redhat.com>
16509
16510 [BZ #17137]
16511 * locale/findlocale.c (name_present, valid_locale_name): New
16512 functions.
16513 (_nl_find_locale): Use the loc_name variable to store name
16514 candidates. Call name_present and valid_locale_name to check and
16515 validate locale names. Return an error if the locale is invalid.
16516
16517 2014-07-02 Florian Weimer <fweimer@redhat.com>
16518
16519 * locale/setlocale.c (setlocale): Use strdup for allocating
16520 composite name copy.
16521
16522 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16523
16524 Sync up with gnulib.
16525 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16526 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16527 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16528 and _GL_ARG_NONNULL.
16529 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16530 [!_LIBC]: Include code for Windows and Cygwin.
16531 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16532 Include prototype for int strerror_r.
16533 [!_LIBC] (is_open): New function.
16534 (flush_stdout): New function.
16535 (print_errno_message): Use it.
16536 (error): Likewise.
16537 (error_at_line): Likewise.
16538 (error_tail) Add function attribute macros. Use
16539 __builtin_expect.
16540
16541 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16542
16543 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16544
16545 * io/ftw.c: Include sys/param.h unconditionally.
16546
16547 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16548
16549 [BZ #17125]
16550 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16551 libc_freeres_ptr.
16552 (freecache): New function to free CACHE on exit.
16553
16554 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16555 initialization.
16556
16557 2014-07-09 David S. Miller <davem@davemloft.net>
16558
16559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16560
16561 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16562 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16563 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16564 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16565 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16566 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16567 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16568 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16569 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16570 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16571 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16572 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16573 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16574
16575 2014-07-09 Andreas Schwab <schwab@suse.de>
16576
16577 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16578 output.
16579 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16580 (do_test): Likewise.
16581
16582 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16583
16584 2014-07-09 Will Newton <will.newton@linaro.org>
16585
16586 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16587 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16588 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16589 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16590 * sysdeps/hppa/start.S (_start): Likewise.
16591
16592 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16593
16594 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16595
16596 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16597 defined.
16598
16599 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16600
16601 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16602 after checking that it is non-NULL.
16603
16604 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16605
16606 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16607
16608 * sysdeps/powerpc/memmove.c: Remove file.
16609 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16610 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16611 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16612 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16613 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16614 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16615 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16616 string memmove instead of removed powerpc one.
16617
16618 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16619 [weak_alias]: Fix compiler warning due trailing data.
16620 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16621 [weak_alias]: Likewise.
16622 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16623 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16624
16625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16626 (__libc_ifunc_impl_list): Add memmove functions.
16627
16628 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16629
16630 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16631 Remove code.
16632 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16633 Likewise
16634 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16635 Likewise
16636 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16637 Likewise
16638 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16639 Likewise
16640 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16641 Likewise
16642 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16643 Likewise
16644 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16645 Likewise
16646 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16647 Likewise
16648 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16649 Likewise
16650 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16651 Likewise
16652 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16653 Likewise
16654 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16655 Likewise
16656 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16657 Likewise
16658 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16659 Likewise
16660 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16661 Likewise
16662 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16663 Likewise
16664
16665 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16666
16667 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16668 to avoid alignment traps in non-cacheable memory.
16669 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16670
16671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16672 multiarch objects.
16673 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16674 file: multiarch power7 memmove.
16675 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16676 multiarch default memmove.
16677 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16678 multiarch memove for powerpc32/power4.
16679
16680 * string/bcopy.c: Use full path to include memmove.c.
16681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16682 multiarch objects.
16683 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16684 bcopy for powerpc64.
16685 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16686 bcopy for powerpc64.
16687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16688 and memmove implementations.
16689 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16690 optimized multiarch memmove for POWER7/powerpc64.
16691 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16692 default multiarch memmove for powerpc64.
16693 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16694 multiarch for powerpc64.
16695 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16696 for POWER7/powerpc64.
16697 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16698 memmove for POWER7/powerpc64.
16699
16700 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16701 glibc default one.
16702
16703 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16704 __ELF_NATIVE_CLASS equal to 64.
16705
16706 2014-07-07 Roland McGrath <roland@hack.frob.com>
16707
16708 * sysdeps/nptl/lowlevellock.h: File removed.
16709
16710 * NEWS: NPTL is no longer an add-on!
16711 * nptl/internaltypes.h: Moved ...
16712 * sysdeps/nptl/internaltypes.h: ... here.
16713 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16714 * sysdeps/nptl/fork.c: Likewise.
16715 * sysdeps/nptl/gai_misc.h: Likewise.
16716 * sysdeps/nptl/librt-cancellation.c: Likewise.
16717 * sysdeps/nptl/jmp-unwind.c: Likewise.
16718 * sysdeps/nptl/setxid.h: Likewise.
16719 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16720 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16721 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16722 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16723 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16724 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16725 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16726 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16727 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16728 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16729 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16730 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16731 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16732 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16733 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16734 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16735 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16736 * nptl/Makeconfig: Moved ...
16737 * sysdeps/nptl/Makeconfig: ... here.
16738 * nptl/configure: File removed.
16739 * nptl/ANNOUNCE: File removed.
16740 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16741 * sysdeps/unix/sysv/linux/configure: Regenerated.
16742
16743 * nptl/Makefile (routines): Add libc_pthread_init,
16744 libc_multiple_threads, register-atfork and unregister-atfork.
16745 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16746 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16747 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16748 pthread-pi-defines.sym, structsem.sym.
16749 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16750 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16751 [$(subdir) = nptl] (tests): Add tst-setgetname.
16752 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16753 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16754 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16755 [!LIBC_SIGACTION]: Remove aliases.
16756 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16757 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16758 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16759 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16760 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16761 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16763 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16764 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16765 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16766 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16767 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16768 __libc_allocate_rtsig_private.
16769 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16770 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16771 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16772 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16773 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16774 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16775 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16776 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16777 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16778 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16779 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16780 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16781 * nptl/internaltypes.h: ... here.
16782 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16783 * sysdeps/nptl/jmp-unwind.c: ... here.
16784 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16785 * nptl/libc-lowlevellock.c: ... here.
16786 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16787 * nptl/libc_multiple_threads.c: ... here.
16788 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16789 * nptl/libc_pthread_init.c: ... here.
16790 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16791 * nptl/lowlevelbarrier.sym: ... here.
16792 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16793 * nptl/lowlevelcond.sym: ... here.
16794 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16795 * nptl/lowlevellock.c: ... here.
16796 * nptl/lowlevellock.h: Moved ...
16797 * sysdeps/nptl/lowlevellock.h: ... here.
16798 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16799 * nptl/lowlevelrobustlock.c: ... here.
16800 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16801 * nptl/lowlevelrobustlock.sym: ... here.
16802 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16803 * nptl/lowlevelrwlock.sym: ... here.
16804 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16805 * nptl/pt-fork.c: ... here.
16806 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16807 * nptl/pthread-pi-defines.sym: ... here.
16808 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16809 * nptl/pthread_attr_getaffinity.c: ... here.
16810 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16811 * nptl/pthread_attr_setaffinity.c: ... here.
16812 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16813 * nptl/pthread_mutex_cond_lock.c: ... here.
16814 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16815 Update #include.
16816 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16817 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16818 * nptl/pthread_once.c: ... here, replacing old file.
16819 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16820 * nptl/pthread_yield.c: ... here.
16821 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16822 * nptl/register-atfork.c: ... here.
16823 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16824 * nptl/sem_post.c: ... here.
16825 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16826 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16827 * nptl/sem_timedwait.c: ... here.
16828 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16829 * nptl/sem_trywait.c: ... here.
16830 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16831 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16832 * nptl/sem_wait.c: ... here.
16833 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16834 * nptl/structsem.sym: ... here.
16835 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16836 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16837 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16838 * nptl/unregister-atfork.c: ... here.
16839 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16840 * nptl/unwindbuf.sym: ... here.
16841 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16842 * sysdeps/nptl/fork.c: ... here.
16843 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16844 * sysdeps/nptl/fork.h: ... here.
16845 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16846 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16847 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16848 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16849 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16850 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16851 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16852 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16853 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16854 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16855 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16856 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16857 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16858 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16859 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16860 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16861 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16862 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16863 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16864 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16865 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16866 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16867 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16868 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16869 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16870 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16871 * sysdeps/unix/sysv/linux/raise.c: ... here.
16872 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16873 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16874 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16875 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16876 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16877 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16878 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16879 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16880 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16881 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16882 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16883 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16884 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16885 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16886 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16887
16888 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
16890 * sysdeps/generic/memcopy.h: Add comment for
16891 MEMCPY_OK_FOR_FWD_MEMMOVE.
16892
16893 2014-07-04 Will Newton <will.newton@linaro.org>
16894
16895 * string/memchr.c: Merge from gnulib.
16896 [_LIBC]: Remove conditionals.
16897 (__ptr_t): Remove define.
16898 (LONG_MAX_32_BITS): Likewise.
16899 (LONG_MAX): Likewise.
16900 (MEMCHR): Use ANSI prototype and optimize algorithm.
16901
16902 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16903
16904 2014-07-03 Roland McGrath <roland@hack.frob.com>
16905
16906 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16907 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16908
16909 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16910 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16911 in a bare environment with no <stdlib.h> installed.
16912 * sysdeps/nptl/configure: Regenerated.
16913
16914 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16915
16916 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16917 AC_EGREP_CPP for kernel header checks, so they only succeed if
16918 including <linux/version.h> actually works right.
16919 * sysdeps/unix/sysv/linux/configure: Regenerated.
16920
16921 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16922 value so it's not diagnosed as unused.
16923
16924 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16925 thing) with "ifeq ($(subdir),rt)".
16926
16927 2014-07-03 Richard Henderson <rth@redhat.com>
16928
16929 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16930 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16931 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16932
16933 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16934 (math_force_eval): New.
16935
16936 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16937 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16938
16939 * sysdeps/alpha/fpu/s_round.c: Remove file.
16940 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16941
16942 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16943 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16944 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16945 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16946 (_dl_start, print_statistics): Likewise.
16947 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16948 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16949
16950 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16951 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16952 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16953 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16954 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16955 (HP_SMALL_TIMING_AVAIL): Define.
16956 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16957 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16958 (HP_SMALL_TIMING_AVAIL): Define.
16959 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16960 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16961
16962 * sysdeps/aarch64/hp-timing.h: New file.
16963
16964 * sysdeps/generic/hp-timing.h: Remove dead comment.
16965 * sysdeps/generic/hp-timing-common.h: New file.
16966 * sysdeps/alpha/hp-timing.h: Include it.
16967 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16968 * sysdeps/i386/i686/hp-timing.h: Likewise.
16969 * sysdeps/ia64/hp-timing.h: Likewise.
16970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16971 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16973 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16974 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16975 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16976 (hp_timing_t): New.
16977
16978 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16979 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16980 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16981 * elf/rtld.c (_dl_start_final): Likewise.
16982 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16983 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16984 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16985 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16986 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16988 (HP_TIMING_DIFF_INIT): Remove.
16989 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16991 (HP_TIMING_DIFF_INIT): Remove.
16992 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16993 * sysdeps/i386/i686/hp-timing.c: Remove file.
16994 * sysdeps/x86_64/hp-timing.c: Remove file.
16995 * sysdeps/ia64/hp-timing.c: Remove file.
16996 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16997 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16999 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17000
17001 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17002 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17003 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17004 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17006 (HP_TIMING_ACCUM): Remove.
17007 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17008 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17009 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17010
17011 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17012 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17013 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17014 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17015 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17016 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17017 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17018 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17019
17020 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17021
17022 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17023
17024 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17025
17026 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17027
17028 Sync up with gettext.
17029 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17030 [_MSC_VER]: Include malloc.h
17031 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17032 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17033 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17034 TEMP_FAILURE_RETRY. Cast return of alloca.
17035 [!_LIBC] Call gl_rwlock_init.
17036 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17037
17038 2014-07-02 Roland McGrath <roland@hack.frob.com>
17039
17040 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17041 before checking its value.
17042
17043 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17044
17045 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17046
17047 * debug/memcpy_chk.c: Don't include pagecopy.h.
17048 * debug/mempcpy_chk.c: Likewise.
17049 * string/memcpy.c: Likewise.
17050 * string/memmove.c: Likewise.
17051 * sysdeps/powerpc/memmove.c: Likewise.
17052 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17053 definition of PAGE_COPY_FWD_MAYBE here...
17054 * sysdeps/generic/pagecopy.h: ... from here.
17055 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17056
17057 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17058 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17059
17060 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17062 optimizations.
17063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17064 (__libc_ifunc_impl_list): Likewise.
17065 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17066 multiarch strcat for PPC64.
17067 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17068 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17069
17070 2014-07-02 Roland McGrath <roland@hack.frob.com>
17071
17072 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17073
17074 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17075
17076 * intl/loadmsgcat.c: Remove declaration of
17077 get_sysdep_segment_value.
17078 (get_sysdep_segment_value): Use ISO C style.
17079 (_nl_load_domain): Use ISO C style. Get rid of redundant
17080 semicolon. Fix typo and formatting in comment.
17081 (_nl_unload_domain): Use ISO C style.
17082
17083 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17084
17085 2014-07-02 Will Newton <will.newton@linaro.org>
17086
17087 * malloc/obstack.c: Merge from gnulib master.
17088 [HAVE_CONFIG_H]: Remove conditional code.
17089 [!_LIBC]: Include config.h.
17090 [!ELIDE_CODE]: Don't include inttypes.h, include
17091 stdint.h unconditionally.
17092 (print_and_abort): Mark as _Noreturn.
17093 (_obstack_allocated_p): Mark as __attribute_pure__.
17094 (obstack_free): Rename to __obstack_free.
17095 [!__attribute__]: Remove conditional code.
17096 * malloc/obstack.h: Merge from gnulib master.
17097 [__cplusplus]: Move conditional down.
17098 [!__attribute_pure__]: Define __attribute_pure__ here
17099 if it is not already defined.
17100 (_obstack_memory_used): Mark as __attribute_pure__.
17101 [!__obstack_free]: Define as obstack_free.
17102 [__GNUC__]: Remove check for ancient NeXT gcc.
17103
17104 2014-07-02 Will Newton <will.newton@linaro.org>
17105 Paul Eggert <eggert@cs.ucla.edu>
17106
17107 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17108
17109 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17110
17111 * resolv/gethnamaddr.c: Add comment warning that the file is
17112 not maintained.
17113
17114 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17115
17116 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17117 entries.
17118
17119 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17120 entry for aio_cancel and aio_cancel64.
17121 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17122 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17123 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17124 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17125 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17126 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17127 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17128 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17129 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17130 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17131 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17132 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17133 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17134
17135 2014-07-01 Roland McGrath <roland@hack.frob.com>
17136
17137 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17138 * nptl/pthread_mutex_lock.c: Likewise.
17139 * nptl/pthread_mutex_timedlock.c: Likewise.
17140 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17141
17142 2014-07-01 Richard henderson <rth@redhat.com>
17143
17144 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17145 (__isnan, __isnanl): Remove.
17146 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17147
17148 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17149
17150 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17151
17152 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17153
17154 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17155
17156 * resolv/nss_dns/dns-host.c (getanswer_r)
17157 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17158
17159 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17160
17161 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17162 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17163 undefine.
17164 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17165 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17166
17167 2014-07-01 Roland McGrath <roland@hack.frob.com>
17168
17169 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17170 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17171
17172 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17173 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17174
17175 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17176 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17177 ... here.
17178 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17179 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17180
17181 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17182 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17183 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17184 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17185
17186 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17187 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17188 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17189 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17190 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17191 Moved ...
17192 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17193 ... here.
17194 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17195 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17196 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17197 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17198 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17199 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17200 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17201 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17202 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17205 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17206 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17207 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17209 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17210 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17211 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17212 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17213 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17214 ... here.
17215 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17216 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17217 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17218 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17219 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17220 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17221 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17222 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17223
17224 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17225
17226 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17227 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17228 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17229 Add sysdep.
17230
17231 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17232
17233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17234
17235 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17236
17237 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17238 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17239
17240 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17241
17242 * sysdeps/arm/libm-test-ulps: Regenerated.
17243
17244 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17245 Roland McGrath <roland@hack.frob.com>
17246
17247 * test-skeleton.c (signal_handler): Kill the whole process group
17248 before killing the child individually.
17249 (main): Report any failure on `setpgid'.
17250
17251 2014-06-30 Roland McGrath <roland@hack.frob.com>
17252
17253 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17254 from _TLS_H to _ARM_NPTL_TLS_H.
17255 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17256 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17257
17258 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17259
17260 [BZ #16539]
17261 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17262 (__expm1l): Return argument unchanged when small but not
17263 subnormal.
17264
17265 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17266 include macro name.
17267 (_FP_UNPACK_RAW_1_P): Likewise.
17268 (_FP_PACK_RAW_1): Likewise.
17269 (_FP_PACK_RAW_1_P): Likewise.
17270 (_FP_MUL_MEAT_1_wide): Likewise.
17271 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17272 (_FP_MUL_MEAT_1_hard): Likewise.
17273 (_FP_DIV_MEAT_1_imm): Likewise.
17274 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17275 (_FP_DIV_MEAT_1_udiv): Likewise.
17276 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17277 (_FP_UNPACK_RAW_2): Likewise.
17278 (_FP_UNPACK_RAW_2_P): Likewise.
17279 (_FP_PACK_RAW_2): Likewise.
17280 (_FP_PACK_RAW_2_P): Likewise.
17281 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17282 (_FP_MUL_MEAT_2_wide): Likewise.
17283 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17284 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17285 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17286 (_FP_MUL_MEAT_2_gmp): Likewise.
17287 (_FP_DIV_MEAT_2_udiv): Likewise.
17288 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17289 (_FP_FRAC_SRL_4): Likewise.
17290 (_FP_FRAC_SRST_4): Likewise.
17291 (_FP_FRAC_SRS_4): Likewise.
17292 (_FP_UNPACK_RAW_4): Likewise.
17293 (_FP_UNPACK_RAW_4_P): Likewise.
17294 (_FP_PACK_RAW_4): Likewise.
17295 (_FP_PACK_RAW_4_P): Likewise.
17296 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17297 (_FP_MUL_MEAT_4_wide): Likewise.
17298 (_FP_MUL_MEAT_4_gmp): Likewise.
17299 (umul_ppppmnnn): Likewise.
17300 (_FP_DIV_MEAT_4_udiv): Likewise.
17301 (__FP_FRAC_ADD_4): Likewise.
17302 (__FP_FRAC_SUB_3): Likewise.
17303 (__FP_FRAC_SUB_4): Likewise.
17304 (__FP_FRAC_DEC_3): Likewise.
17305 (__FP_FRAC_DEC_4): Likewise.
17306 (__FP_FRAC_ADDI_4): Likewise.
17307 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17308 (_FP_FRAC_SRL_8): Likewise.
17309 (_FP_FRAC_SRS_8): Likewise.
17310
17311 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17312 include macro name.
17313 (FP_UNPACK_RAW_EP): Likewise.
17314 (FP_PACK_RAW_E): Likewise.
17315 (FP_PACK_RAW_EP): Likewise.
17316 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17317 (_FP_ISSIGNAN): Likewise.
17318 (_FP_ADD_INTERNAL): Likewise.
17319 (_FP_FMA): Likewise.
17320 (_FP_CMP): Likewise.
17321 (_FP_SQRT): Likewise.
17322 (_FP_TO_INT): Likewise.
17323 (_FP_FROM_INT): Likewise.
17324 (FP_EXTEND): Likewise.
17325 (_FP_DIV_MEAT_N_loop): Likewise.
17326
17327 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17328
17329 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17330 throughout.
17331
17332 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17333
17334 [BZ #17097]
17335 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17336 result with correct sign in case of exponents that produce
17337 overflow except for X very close to 1.
17338
17339 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17340
17341 mktime: merge #if/#ifdef usage from glibc
17342 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17343 as that works with both Glibc's and Gnulib's style.
17344 See thread starting at Siddhesh Poyarekar's bug report at:
17345 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17346
17347 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17348
17349 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17350 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17351 * sysdeps/tile/tilegx/memmove.c: Remove file.
17352
17353 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17354
17355 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17356 abi-name definition.
17357 * scripts/soversions.awk: Do not handle or generate ABI lines.
17358 * shlib-versions: Remove ABI entries.
17359 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17360 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17361
17362 2014-06-27 Roland McGrath <roland@hack.frob.com>
17363
17364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17365 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17367 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17369 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17371 Moved ...
17372 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17373 ... here.
17374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17375 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17379 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17381 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17385 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17387 Moved ...
17388 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17390 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17392 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17393 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17394 Moved ...
17395 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17397 Moved ...
17398 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17400 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17401 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17402 Moved ...
17403 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17405 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17406 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17407 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17409 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17410 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17411 Moved ...
17412 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17414 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17415 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17416 Moved ...
17417 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17419 Moved ...
17420 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17421 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17422 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17424 Moved ...
17425 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17426 ... here.
17427 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17428 Identical file removed.
17429 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17430 Moved ...
17431 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17433 Identical file removed.
17434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17437 Moved ...
17438 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17439 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17440 Identical file removed.
17441 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17442 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17444 Identical file removed.
17445 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17448 Identical file removed.
17449 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17450 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17451 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17452 Identical file removed.
17453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17454 Moved ...
17455 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17457 Identical file removed.
17458 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17459 Moved ...
17460 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17461 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17462 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17463 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17464 Identical file removed.
17465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17466 Moved ...
17467 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17468 ... here.
17469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17470 Identical file removed.
17471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17472 Moved ...
17473 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17475 Identical file removed.
17476 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17477 Moved ...
17478 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17479 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17480 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17481 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17482 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17483 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17484 Moved ...
17485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17486 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17487 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17488
17489 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17490 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17491 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17492 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17493 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17494
17495 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17496
17497 [BZ #17092]
17498 * nscd/nscd.c (monitor_child): Return exit status of child
17499 instead of return value from wait syscall.
17500
17501 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17502
17503 * configure.ac (libc_commonpagesize): Remove variable.
17504 (libc_relro_required): Likewise.
17505 (libc_cv_z_relro): Remove configure test.
17506 * configure: Regenerated.
17507 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17508 variable.
17509 (libc_relro_required): Likewise.
17510 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17511 (libc_relro_required): Likewise.
17512 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17513 (libc_relro_required): Likewise.
17514 * sysdeps/arm/preconfigure: Regenerated.
17515 * sysdeps/ia64/preconfigure: Remove file.
17516 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17517 variable.
17518 (libc_relro_required): Likewise.
17519
17520 [BZ #16561]
17521 [BZ #16562]
17522 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17523 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17524 recompute overflowing results in original rounding mode.
17525 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17526 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17527 recompute overflowing results in original rounding mode.
17528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17529 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17530 recompute overflowing results in original rounding mode.
17531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17532 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17533 recompute overflowing results in original rounding mode.
17534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17535 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17536 recompute overflowing results in original rounding mode.
17537 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17538 (libc_feholdsetround_ctx): New macro.
17539 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17540 * sysdeps/i386/fpu/libm-test-ulps: Update.
17541 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17542
17543 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17544
17545 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17546 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17547 corresponding .cpsetup call.
17548
17549 2014-06-26 Roland McGrath <roland@hack.frob.com>
17550
17551 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17552 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17553 * sysdeps/arm/Makefile [$(subdir) = csu]
17554 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17555 (static-only-routines): Add aeabi_read_tp here.
17556 (shared-only-routines): Add libc-aeabi_read_tp here.
17557 (CFLAGS-libc-start.c): Add -fexceptions here.
17558 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17559 (sysdep_routines, static-only-routines, shared-only-routines):
17560 Don't add to these here.
17561 (CFLAGS-libc-start.c): Likewise.
17562
17563 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17564 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17565 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17566 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17567 * sysdeps/arm/Makefile [$(subdir) = rt]
17568 (librt-sysdep_routines, librt-shared-only-routines):
17569 Append rt-aeabi_unwind_cpp_pr1 here.
17570 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17571 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17572 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17573 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17574 Append nptl-aeabi_unwind_cpp_pr1 here.
17575 (tests): Filter out tst-cleanupx4 here.
17576 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17577 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17578 Don't do those here.
17579
17580 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17581
17582 * scripts/list-sources.sh: Do not handle ports specially.
17583
17584 2014-06-26 Roland McGrath <roland@hack.frob.com>
17585
17586 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17587 * sysdeps/arm/feupdateenv.c: Likewise.
17588
17589 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17590
17591 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17592
17593 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17594 trailing whitespace removed.
17595 * scripts/config.guess: Update to version 2014-03-23.
17596 * scripts/config.sub: Update to version 2014-05-01
17597 * scripts/install-sh: Update to version 2013-12-25.23.
17598 * scripts/move-if-change: Update from gnulib.
17599
17600 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17601
17602 * debug/memmove_chk.c: Remove pagecopy.h include.
17603
17604 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17605
17606 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17607 identical to gnulib mktime.
17608
17609 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17610
17611 * configure.ac: Do not test for machine being rs6000. Do not test
17612 for powerpc*-*soft.
17613 * configure: Regenerated.
17614
17615 [BZ #11505]
17616 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17617 test.
17618 * configure: Regenerated.
17619 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17620 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17621 Remove configure test.
17622 * sysdeps/arm/configure: Regenerated.
17623 * sysdeps/nptl/configure.ac: Do not check
17624 libc_cv_asm_cfi_directives.
17625 * sysdeps/nptl/configure: Regenerated.
17626 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17627 * sysdeps/x86_64/nptl/configure: Remove generated file.
17628 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17629 unconditional.
17630 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17631
17632 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17633
17634 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17635 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17636 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17637 it is defined.
17638
17639 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17640 instead of whether it is defined.
17641 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17642 * sysdeps/hppa/dl-machine.h: Likewise.
17643 * sysdeps/ia64/dl-machine.h: Likewise.
17644 * sysdeps/m68k/dl-machine.h: Likewise.
17645 * sysdeps/microblaze/dl-machine.h: Likewise.
17646 * sysdeps/mips/dl-machine.: Likewise.
17647 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17648 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17649 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17650 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17651 * sysdeps/sh/dl-machine.h: Likewise.
17652 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17653 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17654 * sysdeps/tile/dl-machine.h: Likewise.
17655 * sysdeps/x86_64/dl-machine.h: Likewise.
17656
17657 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17658 code.
17659 (verify_persistent_db): Likewise.
17660
17661 2014-06-26 Roland McGrath <roland@hack.frob.com>
17662
17663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17664 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17666 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17668 Moved ...
17669 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17670 ... here.
17671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17672 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17674 Identical file removed.
17675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17678 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17680 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17682 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17684 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17686 Moved ...
17687 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17689 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17691 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17693 Moved ...
17694 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17696 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17698 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17700 Identical file removed.
17701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17702 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17704 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17706 Moved ...
17707 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17708 ... here.
17709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17710 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17712 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17714 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17716 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17718 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17720 Moved ...
17721 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17723 Moved ...
17724 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17726 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17728 Moved ...
17729 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17731 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17732
17733 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17734 folded into ...
17735 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17736 * sysdeps/unix/sysv/linux/s390/Versions
17737 (libpthread: GLIBC_2.19): New version set.
17738 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17739 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17740 (librt: GLIBC_2.3.3): New version set.
17741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17742 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17743 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17744 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17745 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17746 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17747 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17748 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17749 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17751 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17753 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17754 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17755 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17756 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17757 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17758 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17759 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17760 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17761 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17762 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17763 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17764 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17765 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17766 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17767 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17768 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17769 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17770 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17771 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17772 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17774 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17776 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17777 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17779 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17781 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17783 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17785 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17786
17787 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17788 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17789 (__libc_vfork): Define the function under this name.
17790 [!NOT_IN_libc] (__vfork): Make this an alias.
17791 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17793 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17794 (__libc_vfork): Define the function under this name.
17795 [!NOT_IN_libc] (__vfork): Make this an alias.
17796 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17797 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17798 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17799 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17800 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17801 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17802
17803 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17804 code that was previously under [RESET_PID].
17805 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17806 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17807 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17808
17809 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17810 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17811 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17812 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17813 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17814 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17815 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17816 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17817 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17818 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17819 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17820 Moved ...
17821 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17822 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17823 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17824 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17825 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17826 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17827 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17828 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17829 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17830 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17831 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17832 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17833 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17834 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17835 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17836 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17837 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17838 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17839 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17840 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17841 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17842 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17843 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17844 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17845 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17846 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17847 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17848 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17849 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17850
17851 2014-06-25 Roland McGrath <roland@hack.frob.com>
17852
17853 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17854 that was previously under [RESET_PID].
17855 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17856
17857 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17858
17859 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17860 not undefine and redefine.
17861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17862 [O_CLOEXEC]: Make code unconditional.
17863 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17864 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17865 <kernel-features.h>.
17866 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17867 conditional variable definition.
17868 (shm_open) [O_CLOEXEC]: Make code unconditional.
17869 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17870 code.
17871
17872 * configure.ac (USE_REGPARMS): Don't define here.
17873 * configure: Regenerated.
17874 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17875 * sysdeps/i386/configure: Regenerated.
17876
17877 * nptl/createthread.c: Don't include kernel-features.h.
17878 * nptl/pthread_cancel.c: Likewise.
17879 * nptl/pthread_condattr_setclock.c: Likewise.
17880 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17881 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17882 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17883 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17884 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17885 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17886 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17889 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17890 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17891 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17892 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17893 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17894 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17895 * nscd/gai.c: Likewise.
17896 * nss/nss_db/db-open.c: Likewise.
17897 * sysdeps/generic/ldsodefs.h: Likewise.
17898 * sysdeps/sh/nptl/tls.h: Likewise.
17899 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17900 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17901 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17902 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17903 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17904 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17905 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17906 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17908 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17909 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17910 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17911 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17912 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17913 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17914 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17915 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17916 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17917 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17918 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17919 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17920 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17921 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17922 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17923 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17924 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17925 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17926 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17927 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17928 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17929 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17930 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17931 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17932 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17933 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17934 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17935 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17936 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17937 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17938 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17939 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17940 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17941 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17942 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17943 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17944 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17945 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17946 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17947 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17948 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17949 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17950 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17951 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17952 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17953 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17954 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17955 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17956 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17979 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17980 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17981 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17982 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17983 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17984 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17987 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17988 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17989 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17990 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17991 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17992 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17993 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17994 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17995 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17996 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17997 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17998 * sysdeps/unix/sysv/linux/system.c: Likewise.
17999 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18000 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18001 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18002 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18003 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18005 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18006
18007 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18008 * configure: Regenerated.
18009 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18010
18011 * configure.ac (base_machine): Do not set specially for particular
18012 machines here.
18013 * configure: Regenerated.
18014 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18015 settings from configure.ac.
18016 * sysdeps/i386/preconfigure: New file.
18017 * sysdeps/s390/preconfigure: Likewise.
18018 * sysdeps/sh/preconfigure: Likewise.
18019 * sysdeps/sparc/preconfigure: Likewise.
18020
18021 2014-06-25 Roland McGrath <roland@hack.frob.com>
18022
18023 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18024 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18025 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18026 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18027 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18028 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18029 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18030 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18031 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18032 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18033 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18034 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18035 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18036 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18037 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18038 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18040 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18041 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18042
18043 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18044 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18045 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18046 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18047 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18048 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18049 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18050 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18051 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18052 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18053 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18054 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18055 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18056 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18057 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18058 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18059 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18060 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18061 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18062 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18064 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18065 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18066 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18067 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18068 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18069 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18071 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18072 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18073 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18074 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18076 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18077 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18078 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18079 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18080 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18081
18082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18083 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18085 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18087 Moved ...
18088 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18089 ... here.
18090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18091 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18095 Moved ...
18096 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18098 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18100 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18102 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18104 Moved ...
18105 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18107 Moved ...
18108 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18110 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18112 Moved ...
18113 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18115 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18117 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18119 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18123 Moved ...
18124 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18125 ... here.
18126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18127 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18129 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18131 Moved ...
18132 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18134 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18138 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18140 Moved ...
18141 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18143 Moved ...
18144 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18146 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18148 Moved ...
18149 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18151 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18153 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18154
18155 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18156
18157 * timezone/checktab.awk: Update from tzcode 2014e.
18158 * timezone/private.h: Likewise.
18159 * timezone/tzfile.h: Likewise.
18160 * timezone/zdump.c: Likewise.
18161 * timezone/zic.c: Likewise.
18162
18163 * sysdeps/unix/sysv/linux/kernel-features.h
18164 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18165 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18166 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18167 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18168 Remove conditional code.
18169
18170 2014-06-25 Will Newton <will.newton@linaro.org>
18171
18172 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18173 (_dl_arm_cap_flags): Add HWCAP2 values.
18174 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18175 (_DL_HWCAP_COUNT): Increase to 37.
18176 (_DL_HWCAP_LAST): New define.
18177 (_DL_HWCAP2_LAST): New define.
18178 (_dl_procinfo): Add support for printing
18179 AT_HWCAP2 entries.
18180 (_dl_string_hwcap): Use _dl_hwcap_string.
18181
18182 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18183
18184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18185
18186 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18187
18188 * README: Do not mention ports directory.
18189
18190 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18191 Remove macro.
18192 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18193 <kernel-features.h>.
18194 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18195 conditional variable definition.
18196 (__futimes): Update comment.
18197 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18198 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18199
18200 [BZ #16560]
18201 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18202 arguments close to 0.
18203 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18204 Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18206 Likewise.
18207 * math/auto-libm-test-in: Add more tests of exp10.
18208 * math/auto-libm-test-out: Regenerated.
18209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18210
18211 * sysdeps/unix/sysv/linux/kernel-features.h
18212 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18213 * sysdeps/unix/sysv/linux/readv.c: Do not include
18214 <kernel-features.h>.
18215 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18216 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18217 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18218 unconditional.
18219 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18220 conditional code.
18221 * sysdeps/unix/sysv/linux/writev.c: Do not include
18222 <kernel-features.h>.
18223 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18224 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18225 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18226 unconditional.
18227 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18228 conditional code.
18229
18230 2014-06-25 Will Newton <will.newton@linaro.org>
18231
18232 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18233 comment changes throughout the file. Remove checks
18234 for HAVE_*_H definitions that are not required.
18235 (__gen_tempname): Call abort if an unknown kind value is
18236 passed.
18237
18238 2014-06-25 Andreas Schwab <schwab@suse.de>
18239
18240 [BZ #17086]
18241 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18242 scalbln, scalblnf, scalblnl in libc.
18243
18244 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18245
18246 [BZ #17086]
18247 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18248 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18249 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18250
18251 2014-06-24 Roland McGrath <roland@hack.frob.com>
18252
18253 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18254 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18255 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18256 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18257 Update #include.
18258 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18259 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18260 Update #include.
18261 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18262 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18263 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18264 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18265 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18266 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18267 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18268 * sysdeps/x86/bits/semaphore.h: ... here.
18269 * sysdeps/x86/nptl/elide.h: Moved ...
18270 * sysdeps/x86/elide.h: ... here.
18271 * sysdeps/x86_64/nptl/Implies: File removed.
18272 * sysdeps/i386/nptl/Implies: File removed.
18273
18274 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18275
18276 [BZ #16539]
18277 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18278 return the argument for normal arguments with exponent below -64.
18279 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18280 Likewise.
18281 * math/auto-libm-test-in: Add another test of expm1.
18282 * math/auto-libm-test-out: Regenerated.
18283
18284 [BZ #16287]
18285 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18286 calling __erfcl for arguments at least 16.
18287 * math/auto-libm-test-in: Add more tests of erf.
18288 * math/auto-libm-test-out: Regenerated.
18289
18290 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18291 individual architectures.
18292 * sysdeps/unix/sysv/linux/configure: Regenerated.
18293 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18294 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18295 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18296 (ldd_rewrite_script): Define variable.
18297 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18299 file.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18301 generated file.
18302 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18303 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18304 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18305 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18306 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18307 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18308 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18309 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18310
18311 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18312
18313 [BZ #17084]
18314 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18315 Rename member __data.d to __data.__elision_data.
18316
18317 2014-06-24 Wilco <wdijkstr@arm.com>
18318
18319 * NEWS: Add 16918 to fixed bug list.
18320
18321 2014-06-24 Wilco <wdijkstr@arm.com>
18322
18323 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18324
18325 2014-06-24 Wilco <wdijkstr@arm.com>
18326
18327 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18328 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18329 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18330 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18331 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18332 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18333 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18334 Use _FPU_MASK_RM.
18335
18336 2014-06-24 Wilco <wdijkstr@arm.com>
18337
18338 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18339
18340 2014-06-24 Wilco <wdijkstr@arm.com>
18341
18342 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18343 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18344 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18345 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18346
18347 2014-06-24 Wilco <wdijkstr@arm.com>
18348
18349 [BZ #16918]
18350 * sysdeps/arm/feupdateenv.c (feupdateenv):
18351 Rewrite to reduce FPSCR accesses and fix return value.
18352
18353 2014-06-24 Wilco <wdijkstr@arm.com>
18354
18355 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18356 Optimize to avoid unnecessary FPSCR writes.
18357 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18358 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18359 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18360 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18361
18362 2014-06-24 Wilco <wdijkstr@arm.com>
18363
18364 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18365 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18366 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18367 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18368 Call libc_fetestexcept_vfp.
18369 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18370 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18371 __SOFTFP__ ifdef so that they can be built for softfp.
18372
18373 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18374
18375 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18376 argument type signed char.
18377
18378 * Makerules (check-abi): Dump diff of symlist if the test
18379 fails.
18380
18381 2014-06-23 Roland McGrath <roland@hack.frob.com>
18382
18383 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18384 using abort.
18385
18386 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18387 Remove unused variable ST.
18388
18389 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18390
18391 [BZ #16354]
18392 [BZ #17061]
18393 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18394 small arguments before calling __expm1.
18395 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18396 small arguments before calling __expm1f.
18397 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18398 small arguments before calling __expm1l.
18399 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18400 Likewise.
18401 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18402 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18403 spurious underflow for some cosh tests.
18404 * math/auto-libm-test-out: Regenerated.
18405 * sysdeps/i386/fpu/libm-test-ulps: Update.
18406
18407 [BZ #17050]
18408 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18409 (__ieee754_y1): Set errno if return value overflows.
18410 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18411 (__ieee754_y1f): Set errno if return value overflows.
18412 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18413 (__ieee754_y1l): Set errno if return value overflows.
18414 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18415 (__ieee754_y1l): Set errno if return value overflows.
18416 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18417 * math/auto-libm-test-out: Regenerated.
18418
18419 * math/gen-auto-libm-tests.c: Document use of
18420 ignore-zero-inf-sign.
18421 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18422 (input_flags): Add ignore-zero-inf-sign.
18423 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18424 * math/gen-libm-test.pl (generate_testfile): Handle
18425 ignore-zero-inf-sign.
18426 * math/auto-libm-test-in: Mark some cpow tests with
18427 ignore-zero-inf-sign and some with xfail-rounding.
18428 * math/auto-libm-test-out: Regenerated.
18429 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18430 * sysdeps/i386/fpu/libm-test-ulps: Update.
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18432
18433 [BZ #16315]
18434 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18435 overflowing or underflowing operations take place with sign of
18436 result.
18437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18438 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18439 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18440 (__ieee754_pow): Recompute overflowing and underflowing results in
18441 original rounding mode.
18442 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18443 (__powl_helper): Allow negative argument X and scale negated value
18444 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18445 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18446 overflowing or underflowing operations take place with sign of
18447 result.
18448 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18449 Include <math.h>.
18450 * math/auto-libm-test-in: Add more tests of pow.
18451 * math/auto-libm-test-out: Regenerated.
18452 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18453 (pow_tonearest_test_data): Remove.
18454 (pow_test_tonearest): Likewise.
18455 (pow_towardzero_test_data): Likewise.
18456 (pow_test_towardzero): Likewise.
18457 (pow_downward_test_data): Likewise.
18458 (pow_test_downward): Likewise.
18459 (pow_upward_test_data): Likewise.
18460 (pow_test_upward): Likewise.
18461 (main): Don't call removed functions.
18462 * sysdeps/i386/fpu/libm-test-ulps: Update.
18463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18464
18465 2014-06-23 Roland McGrath <roland@hack.frob.com>
18466
18467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18468 Moved ...
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18471 Moved ...
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18474 Moved ...
18475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18477 Moved ...
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18480 File removed.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18482 File removed.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18484 File removed.
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18486 File removed.
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18488 File removed.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18490 File removed.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18492 File removed.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18494 File removed.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18496 File removed.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18498 File removed.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18500 File removed.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18502 File removed.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18504 Moved ...
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18507 Moved ...
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18509 ... here.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18511 Moved ...
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18514 Moved ...
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18517 Moved ...
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18520 Moved ...
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18523 Moved ...
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18526 Moved ...
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18529 Moved ...
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18533 ... here.
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18535 Moved ...
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18538 Moved ...
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18540 ... here.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18542 Moved ...
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18544 ... here.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18546 Moved ...
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18548 ... here.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18550 Moved ...
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18553 Moved ...
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18558 Moved ...
18559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18560 ... here.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18562 Moved ...
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18564 ... here.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18566 Moved ...
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18569 Moved ...
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18572 Moved ...
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18575 Moved ...
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18578 Moved ...
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18580 ... here.
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18582 Moved ...
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18585 Moved ...
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18588 Moved ...
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18591 Moved ...
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18596 Moved ...
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18599 Moved ...
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18602 Moved ...
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18604 ... here.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18606 Moved ...
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18608 ... here.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18610 Moved ...
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18612 ... here.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18614 Moved ...
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18617 Moved ...
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18620 Moved ...
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18623 Moved ...
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18625 ... here.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18627 Moved ...
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18629 ... here.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18631 Moved ...
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18633 ... here.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18635 Moved ...
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18638 Moved ...
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18640
18641 2014-06-23 Will Newton <will.newton@linaro.org>
18642 Wilco <wdijkstr@arm.com>
18643
18644 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18645 implementation. Include get-rounding-mode.h.
18646 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18647 [!libc_feholdsetround_noex_ctx]: Define
18648 libc_feholdsetround_noex_ctx.
18649 [!libc_feholdsetround_noexf_ctx]: Define
18650 libc_feholdsetround_noexf_ctx.
18651 [!libc_feholdsetround_noexl_ctx]: Define
18652 libc_feholdsetround_noexl_ctx.
18653 (libc_feholdsetround_ctx): New function.
18654 (libc_feresetround_ctx): New function.
18655 (libc_feholdsetround_noex_ctx): New function.
18656 (libc_feresetround_noex_ctx): New function.
18657
18658 2014-06-23 Roland McGrath <roland@hack.frob.com>
18659
18660 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18661 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18662 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18663 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18664 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18665 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18666
18667 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18668 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18669 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18670 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18671 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18672 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18674 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18676 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18678 Moved ...
18679 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18680 ... here.
18681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18682 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18684 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18686 Moved ...
18687 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18688 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18689 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18693 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18694 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18695 Moved ...
18696 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18698 Moved ...
18699 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18700 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18701 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18702 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18703 Moved ...
18704 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18706 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18707 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18708 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18709 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18710 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18712 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18714 Moved ...
18715 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18716 ... here.
18717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18718 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18720 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18722 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18723 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18724 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18725 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18726 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18727 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18728 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18729 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18730 Moved ...
18731 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18732 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18733 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18734 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18735 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18736 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18737 Moved ...
18738 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18739 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18740 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18741 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18742 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18743
18744 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18745 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18746 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18747 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18748 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18749 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18750 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18751 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18753 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18754 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18755 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18756 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18757 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18758 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18759 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18760 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18761 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18762 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18763 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18764 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18765 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18766 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18767 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18768 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18769 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18770 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18771 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18772
18773 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18774
18775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18776 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18777 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18778 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18779 (IPV6_PMTUDISC_INTERFACE): Likewise.
18780 (IPV6_PMTUDISC_OMIT): Likewise.
18781
18782 2014-06-23 Andreas Schwab <schwab@suse.de>
18783
18784 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18785 Remove unused errout label.
18786
18787 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18788
18789 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18790 macro: hardware supports Vector Crypto instructions.
18791
18792 2014-06-23 Will Newton <will.newton@linaro.org>
18793
18794 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18795 rather than __builtin_expect.
18796
18797 * elf/dl-lookup.c (undefined_msg): Remove variable.
18798 (_dl_lookup_symbol_x): Replace undefined_msg with string
18799 literal.
18800
18801 * elf/dl-lookup.c (do_lookup_unique): New function.
18802 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18803 to a separate function.
18804
18805 2014-06-23 Andreas Schwab <schwab@suse.de>
18806
18807 [BZ #17079]
18808 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18809 before reading the next line.
18810
18811 2014-06-23 Will Newton <will.newton@linaro.org>
18812
18813 * test-skeleton.c (signal_handler): Use printf and %m
18814 rather than perror. Use printf rather than fprintf to
18815 stderr. Use puts rather than fputs to stderr.
18816 (main): Likewise.
18817
18818 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18819
18820 * nscd/nscd.c (thread_info_t): Remove typedef.
18821 (thread_info): Remove variable.
18822
18823 2014-06-21 Allan McRae <allan@archlinux.org>
18824
18825 * NEWS: Mention CVE-2014-4043.
18826
18827 2014-06-20 Roland McGrath <roland@hack.frob.com>
18828
18829 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18830 * nptl/smp.h: ... here.
18831
18832 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18833
18834 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18835 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18836 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18837 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18838
18839 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18840 * nptl/stack-aliasing.h: New file.
18841 * sysdeps/i386/i686/stack-aliasing.h: New file.
18842 * sysdeps/i386/i686/nptl/Makefile: File removed.
18843 * sysdeps/x86_64/stack-aliasing.h: New file.
18844 * sysdeps/x86_64/nptl/Makefile
18845 (CFLAGS-pthread_create.c): Variable removed.
18846
18847 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18848 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18849 old file.
18850 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18851 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18852 old file.
18853
18854 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18855
18856 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18857 (__ASSUME_SIGFRAME_V2): Remove macro.
18858 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18859 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18860 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18861 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18862 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18863 Declare as function. Remove conditional macro definitions.
18864 (__default_rt_sa_restorer): Likewise.
18865 (__default_sa_restorer_v1): Remove declaration.
18866 (__default_sa_restorer_v2): Likewise.
18867 (__default_rt_sa_restorer_v1): Likewise.
18868 (__default_rt_sa_restorer_v2): Likewise.
18869 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18870 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18871 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18872
18873 2014-06-20 Roland McGrath <roland@hack.frob.com>
18874
18875 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18876 (libpthread-routines): Add sysdep.
18877 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18878 * sysdeps/unix/sysv/linux/sparc/Versions
18879 (libpthread: GLIBC_2.3.3): New version set.
18880 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18881 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18882 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18883 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18884 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18885 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18886 Moved ...
18887 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18888 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18889 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18890 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18891 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18892 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18893 * sysdeps/sparc/nptl/sem_init.c: ... here.
18894 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18895 * sysdeps/sparc/nptl/sem_post.c: ... here.
18896 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18897 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18898 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18899 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18900 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18901 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18902 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18903 (libpthread-routines): Add cpu_relax.
18904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18905 File removed.
18906 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18907 (librt: GLIBC_2.3.3): New version set.
18908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18909 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18910 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18911 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18914 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18916 Moved ...
18917 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18919 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18921 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18923 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18925 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18927 Moved ...
18928 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18929 Update #include.
18930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18931 Moved ...
18932 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18933 Update #include.
18934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18935 Moved ...
18936 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18937 Update #include.
18938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18939 Moved ...
18940 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18941 Update #include.
18942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18943 Moved ...
18944 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18945 Update #include.
18946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18947 Moved ...
18948 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18949 Update #include.
18950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18951 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18957 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18959 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18961 Moved ...
18962 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18964 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18966 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18967
18968 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18969
18970 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18971 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18972 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18973 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18974 * nscd/nscd.c: Likewise.
18975 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18976 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18977 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18978 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18979
18980 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18981 <kernel-features.h>.
18982 (init_mq_netlink): Remove conditional have_sock_cloexec
18983 definitions. Remove code conditional on have_sock_cloexec < 0.
18984 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18985 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18986 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18987 <kernel-features.h>.
18988 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18989 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18990
18991 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18992
18993 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18994 Add tests for memset_chk and memset.
18995
18996 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18997 with AVX2_Usable.
18998
18999 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19000
19001 [BZ #16046]
19002 * elf/tst-dl-iter-static.c: New file.
19003 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19004
19005 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19006 error.
19007
19008 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19009
19010 * sysdeps/unix/sysv/linux/kernel-features.h
19011 (__ASSUME_F_GETOWN_EX): Remove macro.
19012 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19013 <kernel-features.h>.
19014 (miss_F_GETOWN_EX): Remove variable or macro.
19015 (do_fcntl): Do not check miss_F_GETOWN_EX.
19016 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19017
19018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19019 Remove macro.
19020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19021 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19022 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19023
19024 * sysdeps/unix/sysv/linux/kernel-features.h
19025 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19026 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19027 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19028 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19029
19030 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19031
19032 [BZ #17075]
19033 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19034 Fix calculation of the symbol's value.
19035 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19036 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19037 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19038 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19039 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19040 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19041 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19042 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19043 (modules-names): Add `tst-armtlsdescmod',
19044 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19045 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19046 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19047 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19048 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19049 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19050 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19051 ($(objpfx)tst-armtlsdescloc): New dependency.
19052 ($(objpfx)tst-armtlsdescextnow): Likewise.
19053 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19054 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19055 TLS scheme support.
19056 * sysdeps/arm/configure: Regenerate.
19057
19058 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19059
19060 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19061 (__atfct_seterrno_2): Likewise.
19062 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19063 <kernel-features.h>.
19064 (__ASSUME_ATFCTS): Do not undefine and redefine.
19065 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19066 (__have_atfcts): Remove conditional definition.
19067 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19068 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19069 unreachable if [__ASSUME_ATFCTS].
19070 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19071 not undefine and redefine.
19072 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19073 <kernel-features.h>.
19074 (faccessat) [__NR_faccessat]: Make code unconditional.
19075 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19076 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19077 <kernel-features.h>.
19078 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19079 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19080 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19081 <kernel-features.h>.
19082 (fchownat) [__NR_fchownat]: Make code unconditional.
19083 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19084 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19085 <kernel-features.h>.
19086 (futimesat) [__NR_futimesat]: Make code unconditional.
19087 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19088 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19089 <kernel-features.h>.
19090 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19091 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19092 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19093 <kernel-features.h>.
19094 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19095 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19096 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19097 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19098 <kernel-features.h>.
19099 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19100 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19101 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19102 <kernel-features.h>.
19103 (linkat) [__NR_linkat]: Make code unconditional.
19104 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19105 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19106 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19107 <kernel-features.h>.
19108 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19109 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19110 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19111 <kernel-features.h>.
19112 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19113 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19114 * sysdeps/unix/sysv/linux/openat.c: Do not include
19115 <kernel-features.h>.
19116 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19117 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19118 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19119 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19120 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19121 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19122 <kernel-features.h>.
19123 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19124 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19125 result of INLINE_SYSCALL directly, not via int variable.
19126 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19127 <kernel-features.h>.
19128 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19129 (renameat) [__NR_renameat]: Make code unconditional.
19130 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19131 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19132 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19133 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19134 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19135 (__ASSUME_ATFCTS): Do not undefine and redefine.
19136 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19137 <kernel-features.h>.
19138 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19139 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19140 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19141 <kernel-features.h>.
19142 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19143 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19144 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19145 (__ASSUME_ATFCTS): Do not undefine and redefine.
19146 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19147 <kernel-features.h>.
19148 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19149 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19150 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19151 <kernel-features.h>.
19152 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19153 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19154
19155 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19156
19157 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19158
19159 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19160
19161 [BZ #17069]
19162 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19163 constructed tree before returning error.
19164 * posix/bug-regexp36.c: Expand test case.
19165
19166 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19167
19168 [BZ #6803]
19169 * math/libm-test.inc (scalbln_test_date):
19170 Add errno expectations.
19171 * math/w_scalblnf.c: New File.
19172 Add wrapper which checks for setting errno to ERANGE.
19173 Add weak_alias for corresponding scalbln function.
19174 * math/w_scalbln.c: Likewise.
19175 * math/w_scalblnl.c: Likewise.
19176 * math/Makefile (libm-calls): Add w_scalbln.
19177 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19178 Remove weak_alias for corresponding scalbln function.
19179 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19183 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19184 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19185 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19186 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19187 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19188 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19189 Remove long_double_symbol for scalblnl function in libm, libc.
19190 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19191 Add wrapper which checks for setting errno to ERANGE.
19192 Add long_double_symbol for scalblnl function in libm, libc.
19193 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19194 Remove long_double_symbol for scalblnl in libm.
19195 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19196 Add wrapper which checks for setting errno to ERANGE.
19197 Add long_double_symbol for scalblnl function in libm.
19198 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19199 Do not use wrapper because of own implementation.
19200
19201 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19202
19203 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19204 3 bytes for __pad1 for x32.
19205 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19206
19207 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19208 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19211 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19212 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19213 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19214 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19215
19216 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19217
19218 [BZ #17069]
19219 * posix/regcomp.c (parse_expression): Deallocate partially
19220 constructed tree before returning error.
19221 * posix/Makefile.c (tests): Add bug-regex36.
19222 (generated): Add bug-regex36.mtrace.
19223 (tests-special): Add $(objpfx)bug-regex36-mem.out
19224 (bug-regex36-ENV): New variable.
19225 ($(objpfx)bug-regex36-mem.out): New rule.
19226 * posix/bug-regex36.c: New file.
19227
19228 2014-06-19 Will Newton <will.newton@linaro.org>
19229
19230 * malloc/malloc.c (systrim): If extra is zero then return
19231 early.
19232
19233 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19234
19235 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19236
19237 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19238
19239 * sysdeps/aarch64/strchr.S: New file.
19240
19241 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19242
19243 [BZ #17022]
19244 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19245 from arguments -2 or below.
19246 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19247 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19248
19249 2014-06-18 Andreas Schwab <schwab@suse.de>
19250
19251 [BZ #17062]
19252 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19253 of a bracket expr not to run off the end of the string.
19254 * posix/Makefile (tests): Add tst-fnmatch3.
19255 * posix/tst-fnmatch3.c: New file.
19256
19257 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19258
19259 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19260 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19261 [$(cross-compiling) = no]: Likewise.
19262 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19263 [$(cross-compiling) = no]: Likewise.
19264
19265 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19266
19267 [BZ #17031]
19268 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19269 double, adjusted for any remainder from the high double.
19270 * math/libm-test.inc (nearbyint): Add tests.
19271 (rint): Likewise.
19272
19273 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19274
19275 * nptl/sysdeps/powerpc/Makefile: Moved ...
19276 * sysdeps/powerpc/nptl/Makefile: ... here.
19277 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19278 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19279 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19280 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19281 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19282 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19283 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19284 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19285 * nptl/sysdeps/powerpc/tls.h: Moved ...
19286 * sysdeps/powerpc/nptl/tls.h: ... here.
19287
19288 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19289
19290 [BZ #16681]
19291 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19292 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19293 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19294 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19295 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19296 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19297 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19298 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19299 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19300
19301 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19302
19303 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19304
19305 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19306
19307 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19308 defined operator.
19309
19310 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19311 $TIMEOUTFACTOR.
19312
19313 2014-06-16 Florian Weimer <fweimer@redhat.com>
19314
19315 [BZ #17058]
19316 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19317 non-executed part of the test.
19318
19319 2014-06-16 Andreas Schwab <schwab@suse.de>
19320
19321 * string/bits/string2.h (strdup, strndup): Update feature guard.
19322
19323 2014-06-14 David S. Miller <davem@davemloft.net>
19324
19325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19326
19327 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19328
19329 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19330 that was previously under [RESET_PID].
19331 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19332
19333 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19334 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19335 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19336 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19337 (__libc_vfork): New strong alias.
19338 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19339
19340 2014-06-14 Andi Kleen <ak@linux.intel.com>
19341
19342 * sysdeps/generic/elide.h: New file.
19343
19344 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19345
19346 * Makefile (installed-headers): Adjust path of pthread.h header.
19347
19348 2014-06-13 Roland McGrath <roland@hack.frob.com>
19349
19350 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19351 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19352 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19353 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19354
19355 * nptl/sysdeps/s390/Makefile: Moved ...
19356 * sysdeps/s390/nptl/Makefile: ... here.
19357 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19358 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19359 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19360 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19361 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19362 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19363 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19364 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19365 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19366 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19367 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19368 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19369 * nptl/sysdeps/s390/tls.h: Moved ...
19370 * sysdeps/s390/nptl/tls.h: ... here.
19371
19372 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19373 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19374
19375 2014-06-13 David S. Miller <davem@davemloft.net>
19376
19377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19380 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19384 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19385 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19386 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19387 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19388 Remove RESET_PID cpp guards.
19389 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19390 Remove RESET_PID cpp guards.
19391 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19392
19393 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19394
19395 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19396 __sp to uintptr_t.
19397
19398 2014-06-13 Andi Kleen <ak@linux.intel.com>
19399
19400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19403 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19407 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19409 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19414 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19419 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19420
19421 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19422 (pthread_rwlock_rdlock): Add elision.
19423 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19424 (pthread_rwlock_wrlock): Add elision.
19425 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19426 (pthread_rwlock_trywrlock): Add elision.
19427 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19428 (pthread_rwlock_tryrdlock): Add elision.
19429 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19430 (pthread_rwlock_tryrdlock): Add elision unlock.
19431 * nptl/sysdeps/pthread/pthread.h:
19432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19433 (PTHREAD_RWLOCK_INITIALIZER,
19434 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19435 Handle new elision field.
19436 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19437 * sysdeps/arm/nptl/bits/pthreadtypes.h
19438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19439 * sysdeps/sh/nptl/bits/pthreadtypes.h
19440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19441 * sysdeps/tile/nptl/bits/pthreadtypes.h
19442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19443 * sysdeps/a/nptl/bits/pthreadtypes.h
19444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19445 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19447 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19449 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19451 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19453 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19454 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19455 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19457 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19458 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19459 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19460 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19461 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19462 (elision_init): Set try_xbegin to zero when no RTM.
19463 * sysdeps/x86/nptl/bits/pthreadtypes.h
19464 (pthread_rwlock_t): Change __pad1 to __rwelision.
19465 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19466
19467 2014-06-13 Andi Kleen <ak@linux.intel.com>
19468
19469 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19470 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19471 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19472 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19473
19474 2014-06-13 Meador Inge <meadori@codesourcery.com>
19475
19476 [BZ #16996]
19477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19478 that the cached result has been set before returning it.
19479
19480 2014-06-12 Roland McGrath <roland@hack.frob.com>
19481
19482 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19483 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19484 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19485 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19486 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19487 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19488
19489 * nptl/sysdeps/sparc/Makefile: Moved ...
19490 * sysdeps/sparc/nptl/Makefile: ... here.
19491 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19492 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19493 * nptl/sysdeps/sparc/tls.h: Moved ...
19494 * sysdeps/sparc/nptl/tls.h: ... here.
19495 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19496 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19497 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19498 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19499 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19500 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19501 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19502 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19503 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19504 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19505 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19506 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19507 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19508 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19509 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19510 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19511 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19512 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19513 Update #include.
19514 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19515 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19516 Update #include.
19517 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19518 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19519 Update #include.
19520 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19521 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19522 Update #include.
19523
19524 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19525
19526 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19527 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19528
19529 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19530 (struct list_links): Type removed.
19531 (struct thread_node, struct timer_node): Replace struct list_links
19532 with struct list_head.
19533 (list_unlink_ip): Likewise.
19534 * sysdeps/pthread/timer_routines.c
19535 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19536 (list_append, list_insbefore): Likewise.
19537 (list_init): Function removed.
19538 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19539 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19540 * sysdeps/pthread/Makefile: ... here, new file.
19541
19542 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19543 * sysdeps/nptl/Implies: ... here.
19544 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19545 * nptl/sysdeps/pthread/list.h: Moved ...
19546 * include/list.h: ... here.
19547 * nptl/sysdeps/pthread/createthread.c: Moved ...
19548 * nptl/createthread.c: ... here.
19549 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19550 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19551 * nptl/pt-longjmp.c: ... here.
19552 * nptl/sysdeps/pthread/Makefile: Moved ...
19553 * sysdeps/nptl/Makefile: ... here.
19554 * nptl/sysdeps/pthread/Subdirs: Moved ...
19555 * sysdeps/nptl/Subdirs: ... here.
19556 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19557 * sysdeps/nptl/aio_misc.h: ... here.
19558 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19559 * sysdeps/nptl/bits/libc-lock.h: ... here.
19560 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19561 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19562 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19563 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19564 * nptl/sysdeps/pthread/configure: Moved ...
19565 * sysdeps/nptl/configure: ... here.
19566 * nptl/sysdeps/pthread/configure.ac: Moved ...
19567 * sysdeps/nptl/configure.ac: ... here.
19568 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19569 * sysdeps/nptl/gai_misc.h: ... here.
19570 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19571 * sysdeps/nptl/librt-cancellation.c: ... here.
19572 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19573 * sysdeps/nptl/malloc-machine.h: ... here.
19574 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19575 * sysdeps/nptl/pthread-functions.h: ... here.
19576 * nptl/sysdeps/pthread/pthread.h: Moved ...
19577 * sysdeps/nptl/pthread.h: ... here.
19578 * nptl/sysdeps/pthread/setxid.h: Moved ...
19579 * sysdeps/nptl/setxid.h: ... here.
19580 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19581 * sysdeps/nptl/sigfillset.c: ... here.
19582 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19583 * sysdeps/nptl/tcb-offsets.h: ... here.
19584 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19585 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19586 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19587 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19588 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19589 * sysdeps/pthread/allocalim.h: ... here.
19590 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19591 * sysdeps/pthread/bits/sigthread.h: ... here.
19592 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19593 * sysdeps/pthread/flockfile.c: ... here.
19594 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19595 * sysdeps/pthread/ftrylockfile.c: ... here.
19596 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19597 * sysdeps/pthread/funlockfile.c: ... here.
19598 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19599 * sysdeps/pthread/posix-timer.h: ... here.
19600 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19601 * sysdeps/pthread/timer_create.c: ... here.
19602 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19603 * sysdeps/pthread/timer_delete.c: ... here.
19604 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19605 * sysdeps/pthread/timer_getoverr.c: ... here.
19606 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19607 * sysdeps/pthread/timer_gettime.c: ... here.
19608 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19609 * sysdeps/pthread/timer_routines.c: ... here.
19610 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19611 * sysdeps/pthread/timer_settime.c: ... here.
19612 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19613 * sysdeps/pthread/tst-timer.c: ... here.
19614 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19615 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19616
19617 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19618 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19619
19620 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19621 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19622 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19623 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19624 Update #include target.
19625 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19626 * sysdeps/i386/i686/nptl/Makefile: ... here.
19627 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19628 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19629 Update #include target.
19630 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19631 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19632 * nptl/sysdeps/i386/Makefile: Moved ...
19633 * sysdeps/i386/nptl/Makefile: ... here.
19634 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19635 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19636 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19637 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19638 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19639 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19640 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19641 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19642 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19643 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19644 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19645 * nptl/sysdeps/i386/tls.h: Moved ...
19646 * sysdeps/i386/nptl/tls.h: ... here.
19647
19648 * sysdeps/sh/Makefile [$(subdir) = csu]
19649 (gen-as-const-headers): Add tcb-offsets.sym.
19650 * nptl/sysdeps/sh/Makefile: File removed.
19651 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19652 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19653 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19654 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19655 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19656 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19657 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19658 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19659 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19660 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19661 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19662 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19663 * nptl/sysdeps/sh/tls.h: Moved ...
19664 * sysdeps/sh/nptl/tls.h: ... here.
19665 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19666 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19667 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19668 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19669 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19670 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19671 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19672 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19673 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19674 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19676 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19678 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19680 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19681 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19682 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19683 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19684 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19685 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19686 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19687 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19688 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19689 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19690 Moved ...
19691 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19692 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19693 Moved ...
19694 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19695 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19696 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19697 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19698 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19699 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19700 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19701 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19702 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19703 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19704 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19705 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19706 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19707 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19708 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19709 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19710 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19711 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19712 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19713
19714 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19715
19716 * posix/spawn_faction_addopen.c: Include string.h.
19717
19718 2014-06-11 Roland McGrath <roland@hack.frob.com>
19719
19720 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19721 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19722 * nptl/sysdeps/x86_64/Makefile: Moved ...
19723 * sysdeps/x86_64/nptl/Makefile: ... here.
19724 * nptl/sysdeps/x86_64/configure: Moved ...
19725 * sysdeps/x86_64/nptl/configure: ... here.
19726 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19727 * sysdeps/x86_64/nptl/configure.ac: ... here.
19728 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19729 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19730 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19731 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19732 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19733 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19734 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19735 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19736 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19737 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19738 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19739 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19740 * nptl/sysdeps/x86_64/tls.h: Moved ...
19741 * sysdeps/x86_64/nptl/tls.h: ... here.
19742 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19743 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19744 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19745 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19746
19747 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19748
19749 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19750
19751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19752
19753 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19754
19755 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19756 type.
19757 [POSIX] (off_t): Likewise.
19758 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19759 [POSIX] (S_ISBLK): Require macro.
19760 [POSIX] (S_ISCHR): Likewise.
19761 [POSIX] (S_ISDIR): Likewise.
19762 [POSIX] (S_ISFIFO): Likewise.
19763 [POSIX] (S_ISREG): Likewise.
19764 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19765 optional-macro.
19766 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19767 type.
19768 [POSIX] (time_t): Likewise.
19769 [POSIX] (timer_t): Likewise.
19770
19771 2014-06-11 Florian Weimer <fweimer@redhat.com>
19772
19773 [BZ #17048]
19774 * posix/spawn_int.h (struct __spawn_action): Make the path string
19775 non-const to support deallocation.
19776 * posix/spawn_faction_addopen.c
19777 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19778 * posix/spawn_faction_destroy.c
19779 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19780 path in all spawn_do_open actions.
19781 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19782 posix_spawn_file_actions_addopen.
19783
19784 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19785
19786 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19787 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19788 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19789 conditional code always true.
19790 (__libc_vfork): New alias.
19791
19792 2014-06-11 Roland McGrath <roland@hack.frob.com>
19793
19794 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19795 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19796
19797 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19798
19799 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19800 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19801
19802 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19803 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19804
19805 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19806 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19807
19808 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19809
19810 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19811 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19812 multiarch strcmp for PPC64.
19813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19814 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19816 multiarch optimizations.
19817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19818 (__libc_ifunc_impl_list): Likewise.
19819
19820 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19821
19822 * benchtests/scripts/validate_benchout.py: New script.
19823 * benchtests/Makefile (bench-func): Call it.
19824 * benchtests/scripts/benchout.schema.json: New file.
19825
19826 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19827
19828 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19829 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19830 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19831 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19832 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19833 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19834 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19835 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19836 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19837 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19838 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19839 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19840 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19841 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19842 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19843 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19845 Moved ...
19846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19847 ... here.
19848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19849 Moved ...
19850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19852 Moved ...
19853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19854 ... here.
19855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19856 Moved ...
19857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19858 ... here.
19859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19860 Moved ...
19861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19863 Moved ...
19864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19865 ... here.
19866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19867 Moved ...
19868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19869 ... here.
19870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19871 Moved ...
19872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19874 Moved ...
19875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19876 ... here.
19877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19878 Moved ...
19879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19880 ... here.
19881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19882 Moved ...
19883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19884 ... here.
19885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19886 Moved ...
19887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19889 Moved ...
19890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19891 ... here.
19892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19893 Moved ...
19894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19895 ... here.
19896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19897 Moved ...
19898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19899 ... here.
19900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19901 Moved ...
19902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19904 Moved ...
19905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19906 ... here.
19907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19908 Moved ...
19909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19910 ... here.
19911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19912 Moved ...
19913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19915 Moved ...
19916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19917 ... here.
19918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19919 Moved ...
19920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19922 Moved ...
19923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19925 Moved ...
19926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19927 ... here.
19928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19929 Moved ...
19930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19931 ... here.
19932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19933 Moved ...
19934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19935 ... here.
19936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19937 Moved ...
19938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19940 Moved ...
19941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19942 ... here.
19943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19944 Moved ...
19945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19946 ... here.
19947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19948 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19950 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19952 Moved ...
19953 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19954 ... here.
19955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19956 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19958 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19960 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19961 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19962 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19964 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19966 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19967 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19968 Moved ...
19969 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19970 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19971 Moved ...
19972 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19973 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19974 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19975 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19976 Moved ...
19977 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19978 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19979 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19980 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19981 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19982 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19983 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19984
19985 2014-06-10 Wilco <wdijkstr@arm.com>
19986
19987 * math/test-fenv-return.c: New file.
19988 * math/Makefile: Add new test test-fenv-return.
19989
19990 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19991
19992 [BZ #17042]
19993 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19994 when x - 1 is zero.
19995 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19996 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19997 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19998 0.0L for an argument of 1.0L.
19999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20000 Likewise.
20001 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20002 value when x - 1 is zero.
20003 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20004 * sysdeps/i386/fpu/libm-test-ulps: Update.
20005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006
20007 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20008
20009 [BZ #15119]
20010 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20011
20012 2014-06-09 Roland McGrath <roland@hack.frob.com>
20013
20014 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20015 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20016
20017 2014-06-09 Roland McGrath <roland@hack.frob.com>
20018
20019 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20020 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20021
20022 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20023 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20024
20025 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20026 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20027
20028 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20029 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20030
20031 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20032 if not already defined.
20033 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20034 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20035 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20036 (TLS_INIT_TP): Use it.
20037 (TLS_DEFINE_INIT_TP): New macro.
20038 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20039
20040 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20041
20042 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20043 constant.
20044 [POSIX] (IXANY): Likewise.
20045 [POSIX] (OLCUC): Likewise.
20046 [POSIX || POSIX2008] (CBAUD): Do not allow.
20047 [POSIX || POSIX2008] (DEFECHO): Likewise.
20048 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20049 [POSIX || POSIX2008] (ECHOKE): Likewise.
20050 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20051 [POSIX || POSIX2008] (EXTA): Likewise.
20052 [POSIX || POSIX2008] (EXTB): Likewise.
20053 [POSIX || POSIX2008] (FLUSHO): Likewise.
20054 [POSIX || POSIX2008] (LOBLK): Likewise.
20055 [POSIX || POSIX2008] (PENDIN): Likewise.
20056 [POSIX || POSIX2008] (SWTCH): Likewise.
20057 [POSIX || POSIX2008] (VDISCARD): Likewise.
20058 [POSIX || POSIX2008] (VDSUSP): Likewise.
20059 [POSIX || POSIX2008] (VLNEXT): Likewise.
20060 [POSIX || POSIX2008] (VREPRINT): Likewise.
20061 [POSIX || POSIX2008] (VSTATUS): Likewise.
20062 [POSIX || POSIX2008] (VWERASE): Likewise.
20063 (B*): Change to B[0123456789]*.
20064 * conform/data/time.h-data [POSIX || UNIX98]
20065 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20066 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20067 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20068 [POSIX] (tm_*): Do not allow.
20069
20070 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20071
20072 * Makefile (install): Don't set LANGUAGE.
20073 * Makefile.in (install): Likewise.
20074 * assert/Makefile (test-assert-ENV): Remove variable.
20075 (test-assert-perr-ENV): Likewise.
20076 * elf/Makefile (neededtest4-ENV): Likewise.
20077 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20078 [$(cross-compiling) = no]: Don't set LANGUAGE.
20079 * io/ftwtest-sh (LANG): Remove variable.
20080 * libio/Makefile (tst-widetext-ENV): Likewise.
20081 * manual/install.texi (Running make install): Don't refer to
20082 environment settings for make install.
20083 * INSTALL: Regenerated.
20084 * nptl/tst-tls6.sh: Don't set LANG.
20085 * posix/globtest.sh (LANG): Remove variable.
20086 * string/Makefile (tester-ENV): Likewise.
20087 (inl-tester-ENV): Likewise.
20088 (noinl-tester-ENV): Likewise.
20089 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20090 [$(cross-compiling) = no]: Don't set LANGUAGE.
20091 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20092 without explicit environment settings.
20093
20094 2014-06-06 Roland McGrath <roland@hack.frob.com>
20095
20096 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20097 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20098 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20099 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20100
20101 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20102
20103 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20104 other files in the crypt directory.
20105 * crypt/crypt.c: Remove duplicate includes.
20106 * crypt/crypt-entry.c: Likewise.
20107 * crypt/crypt_util.c: Likewise.
20108
20109 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20110
20111 * Makeconfig (run-program-env): New variable.
20112 (run-program-prefix-before-env): Likewise.
20113 (run-program-prefix-after-env): Likewise.
20114 (run-program-prefix): Define in terms of new variables.
20115 (built-program-cmd-before-env): New variable.
20116 (built-program-cmd-after-env): Likewise.
20117 (built-program-cmd): Define in terms of new variables.
20118 (test-program-prefix-before-env): New variable.
20119 (test-program-prefix-after-env): Likewise.
20120 (test-program-prefix): Define in terms of new variables.
20121 (test-program-cmd-before-env): New variable.
20122 (test-program-cmd-after-env): Likewise.
20123 (test-program-cmd): Define in terms of new variables.
20124 * Rules (make-test-out): Use $(run-program-env).
20125 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20126 (help): Do not mention environment variables. Mention
20127 --timeoutfactor option.
20128 (timeoutfactor): New variable.
20129 (blacklist_exports): Remove function.
20130 (exports): Remove variable.
20131 (command): Do not include ${exports}.
20132 * manual/install.texi (Configuring and compiling): Do not mention
20133 test wrappers preserving environment variables. Mention that last
20134 assignment to a variable must take precedence.
20135 * INSTALL: Regenerated.
20136 * benchtests/Makefile (run-bench): Use $(run-program-env).
20137 * catgets/Makefile ($(objpfx)test1.cat): Use
20138 $(built-program-cmd-before-env), $(run-program-env) and
20139 $(built-program-cmd-after-env).
20140 ($(objpfx)test2.cat): Do not specify environment variables
20141 explicitly.
20142 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20143 $(run-program-env) and $(built-program-cmd-after-env).
20144 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20145 $(run-program-env) and $(test-program-cmd-after-env).
20146 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20147 explicitly.
20148 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20149 run_program_env and test_program_cmd_after_env arguments.
20150 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20151 * elf/tst-pathopt.sh: Use run_program_env argument.
20152 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20153 $(test-wrapper-env) and $(run-program-env).
20154 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20155 run_program_env arguments.
20156 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20157 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20158 $(test-program-prefix-before-env), $(run-program-env) and
20159 $(test-program-prefix-after-env).
20160 ($(objpfx)tst-gettext2.out): Likewise.
20161 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20162 run_program_env and test_program_prefix_after_env arguments.
20163 * intl/tst-gettext2.sh: Likewise.
20164 * intl/tst-gettext4.sh: Do not set environment variables
20165 explicitly.
20166 * intl/tst-gettext6.sh: Likewise.
20167 * intl/tst-translit.sh: Likewise.
20168 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20169 $(test-program-prefix-before-env), $(run-program-env) and
20170 $(test-program-prefix-after-env).
20171 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20172 run_program_env and test_program_prefix_after_env arguments.
20173 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20174 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20175 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20176 explicitly with each use of ${test_wrapper_env}.
20177 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20178 $(test-program-prefix-before-env), $(run-program-env) and
20179 $(test-program-prefix-after-env).
20180 * posix/tst-getconf.sh: Do not set environment variables
20181 explicitly.
20182 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20183 run_program_env and test_program_prefix_after_env arguments.
20184 * stdio-common/tst-printf.sh: Do not set environment variables
20185 explicitly.
20186 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20187 $(test-program-prefix-before-env), $(run-program-env) and
20188 $(test-program-prefix-after-env).
20189 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20190 run_program_env and test_program_prefix_after_env arguments.
20191 Split $test calls into $test_pre and $test.
20192 * timezone/Makefile (build-testdata): Use
20193 $(built-program-cmd-before-env), $(run-program-env) and
20194 $(built-program-cmd-after-env).
20195
20196 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20197
20198 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20199 strlen for non SHARED builds.
20200
20201 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20202
20203 * nptl/allocatestack.c (check_list): Inlined function...
20204 (__reclaim_stacks): ... here.
20205
20206 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20207
20208 [BZ #15698]
20209 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20210 memory overrun.
20211
20212 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20213
20214 * Rules (make-test-out): Include
20215 LOCPATH=$(common-objpfx)localedata in default environment.
20216 * debug/Makefile (tst-chk1-ENV): Remove variable.
20217 (tst-chk2-ENV): Likewise.
20218 (tst-chk3-ENV): Likewise.
20219 (tst-chk4-ENV): Likewise.
20220 (tst-chk5-ENV): Likewise.
20221 (tst-chk6-ENV): Likewise.
20222 (tst-lfschk1-ENV): Likewise.
20223 (tst-lfschk2-ENV): Likewise.
20224 (tst-lfschk3-ENV): Likewise.
20225 (tst-lfschk4-ENV): Likewise.
20226 (tst-lfschk5-ENV): Likewise.
20227 (tst-lfschk6-ENV): Likewise.
20228 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20229 (tst-iconv7-ENV): Likewise.
20230 * intl/Makefile (LOCPATH-ENV): Likewise.
20231 (tst-codeset-ENV): Likewise.
20232 (tst-gettext3-ENV): Likewise.
20233 (tst-gettext5-ENV): Likewise.
20234 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20235 (tst-fopenloc-ENV): Likewise.
20236 (tst-fgetws-ENV): Remove variable.
20237 (tst-ungetwc1-ENV): Likewise.
20238 (tst-ungetwc2-ENV): Likewise.
20239 (bug-ungetwc2-ENV): Likewise.
20240 (tst-swscanf-ENV): Likewise.
20241 (bug-ftell-ENV): Likewise.
20242 (tst-fgetwc-ENV): Likewise.
20243 (tst-fseek-ENV): Likewise.
20244 (tst-ftell-partial-wide-ENV): Likewise.
20245 (tst-ftell-active-handler-ENV): Likewise.
20246 (tst-ftell-append-ENV): Likewise.
20247 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20248 (tst-regexloc-ENV): Likewise.
20249 (bug-regex1-ENV): Likewise.
20250 (tst-regex-ENV): Likewise.
20251 (tst-regex2-ENV): Likewise.
20252 (bug-regex5-ENV): Likewise.
20253 (bug-regex6-ENV): Likewise.
20254 (bug-regex17-ENV): Likewise.
20255 (bug-regex18-ENV): Likewise.
20256 (bug-regex19-ENV): Likewise.
20257 (bug-regex20-ENV): Likewise.
20258 (bug-regex22-ENV): Likewise.
20259 (bug-regex23-ENV): Likewise.
20260 (bug-regex25-ENV): Likewise.
20261 (bug-regex26-ENV): Likewise.
20262 (bug-regex30-ENV): Likewise.
20263 (bug-regex32-ENV): Likewise.
20264 (bug-regex33-ENV): Likewise.
20265 (bug-regex34-ENV): Likewise.
20266 (bug-regex35-ENV): Likewise.
20267 (tst-rxspencer-ENV): Likewise.
20268 (tst-rxspencer-no-utf8-ENV): Likewise.
20269 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20270 (tst-sscanf-ENV): Likewise.
20271 (tst-swprintf-ENV): Likewise.
20272 (tst-swscanf-ENV): Likewise.
20273 (test-vfprintf-ENV): Likewise.
20274 (scanf13-ENV): Likewise.
20275 (bug14-ENV): Likewise.
20276 (tst-grouping-ENV): Likewise.
20277 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20278 (tst-strtod3-ENV): Likewise.
20279 (tst-strtod4-ENV): Likewise.
20280 (tst-strtod5-ENV): Likewise.
20281 (testmb2-ENV): Likewise./
20282 * string/Makefile (tst-strxfrm-ENV): Likewise.
20283 (tst-strxfrm2-ENV): Likewise.
20284 (bug-strcoll1-ENV): Likewise.
20285 (test-strcasecmp-ENV): Likewise.
20286 (test-strncasecmp-ENV): Likewise.
20287 * time/Makefile (tst-strptime-ENV): Likewise.
20288 (tst-ftime_l-ENV): Likewise.
20289 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20290 (tst-mbrtowc-ENV): Likewise.
20291 (tst-wcrtomb-ENV): Likewise.
20292 (tst-mbrtowc2-ENV): Likewise.
20293 (tst-c16c32-1-ENV): Likewise.
20294 (tst-mbsnrtowcs-ENV): Likewise.
20295
20296 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20297
20298 * manual/resource.texi (How to get information about the memory
20299 subsystem?): Fix typo.
20300 Reported by Peon de la Parra Ivan <peon@keba.com>
20301
20302 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20303
20304 [BZ #16882]
20305 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20306 (pthread_spin_lock): Branch out of spin loop to proper location.
20307 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20308 (pthread_spin_lock): Likewise.
20309
20310 * nptl/tst-spin4.c: New test.
20311 * nptl/Makefile (tests): Add tst-spin4.
20312
20313 2014-06-03 Andreas Schwab <schwab@suse.de>
20314
20315 [BZ #15946]
20316 * resolv/res_send.c (send_dg): Reload file descriptor after
20317 calling reopen.
20318
20319 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20320
20321 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20322
20323 2014-06-03 Richard Henderson <rth@redhat.com>
20324
20325 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20326 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20327 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20328 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20329 in the SAVE_PID block.
20330 (__libc_vfork): New alias.
20331 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20332
20333 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20334 child in registers, not on the stack. Remove RESET_PID conditionals.
20335 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20336
20337 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20338
20339 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20340
20341 2014-06-03 Wilco <wdijkstr@arm.com>
20342
20343 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20344 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20345 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20346 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20347 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20348 Likewise.
20349
20350 2014-06-03 Wilco <wdijkstr@arm.com>
20351
20352 * sysdeps/aarch64/fpu/math_private.h
20353 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20354 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20355 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20356 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20357 Fix declarations.
20358
20359 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20360
20361 * crypt/crypt-private.h: Include ufc-crypt.h.
20362 (__b64_from_24bit): Declare extern.
20363 * crypt/crypt_util.c(__b64_from_24bit): New function.
20364 (b64t): New static const variable.
20365 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20366 (b64t): Remove variable.
20367 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20368 * crypt/sha256-crypt.c: Include crypt-private.h.
20369 (b64t): Remove variable.
20370 (__sha256_crypt_r): Remove b64_from_24bit and replace
20371 with __b64_from_24bit.
20372 * crypt/sha512-crypt.c: Likewise.
20373
20374 2014-06-02 Roland McGrath <roland@hack.frob.com>
20375
20376 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20377 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20378 Label the code __libc_vfork rather than __vfork.
20379 [!NOT_IN_libc] (vfork): Define as weak alias.
20380 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20381 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20382 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20383
20384 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20385
20386 * malloc/malloc.c (malloc_info): Fix format specifier for
20387 n_mmaps.
20388
20389 2014-06-02 Wilco <wdijkstr@arm.com>
20390
20391 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20392 FPCR write.
20393
20394 2014-06-02 Wilco <wdijkstr@arm.com>
20395
20396 [BZ #17009]
20397 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20398 Rewrite to reduce FPCR/FPSR accesses.
20399
20400 2014-06-01 David S. Miller <davem@davemloft.net>
20401
20402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20403
20404 2014-05-31 David S. Miller <davem@davemloft.net>
20405
20406 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20407 to occur in round to nearest mode when |x| >= 2.0
20408
20409 2014-05-30 Richard Henderson <rth@twiddle.net>
20410
20411 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20412 (PSEUDO_RET_NOERRNO): Remove.
20413 (ret): Don't redefine.
20414 (ret_NOERRNO): Define in terms of ret.
20415 (ret_ERRVAL): Likewise.
20416
20417 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20418 use of PSEUDO_RET; perform the error check directly.
20419
20420 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20421
20422 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20423 with __int128_t.
20424
20425 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20426
20427 * malloc/malloc (malloc_info): Fix formatting.
20428
20429 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20430 Roland McGrath <roland@hack.frob.com>
20431
20432 * malloc/malloc (malloc_info): Also print mmapped statistics.
20433
20434 2014-05-30 Roland McGrath <roland@hack.frob.com>
20435
20436 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20437 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20438
20439 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20440
20441 * malloc/malloc.c (malloc_info): Inline mi_arena.
20442
20443 2014-05-29 Richard Henderson <rth@twiddle.net>
20444
20445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20446 Remove comma before expanding ASM_ARGS_##nr.
20447 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20448 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20449 of ASM_ARGS_##nr.
20450 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20451 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20452 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20453 (ASM_ARGS_1): Add leading comma.
20454
20455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20456 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20457 to __errno_location.
20458 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20459 Remove the expected plt for __errno_location.
20460
20461 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20462 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20463 call to __read_tp.
20464
20465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20466 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20467 it and break it down.
20468 (DOCARGS_0, DOCARGS_1): Do nothing.
20469 (DOCARGS_2): Update to store into the new stack frame.
20470 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20471 (UNDOCARGS_1): Update to restore from the new stack frame.
20472 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20473 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20474
20475 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20476 (SINGLE_THREAD_P): New parameter for result regno.
20477 (PSEUDO): Update to match; use cbz instead of beq.
20478
20479 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20480 Use ENTRY to define the _nocancel entry point. Share the syscall
20481 and syscall error check paths with the cancel path.
20482 (PSEUDO_END): New.
20483
20484 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20485 whitespace; tabs before and after asm mnemonics.
20486
20487 2014-05-29 Eric Wong <normalperson@yhbt.net>
20488
20489 [BZ #15132]
20490 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20491 Call fstat64 or stat64 internally, depending on arguments passed.
20492 Replace stat buffer argument with file descriptor argument.
20493 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20494 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20495 Pass fd to __internal_statvfs instead of calling fstat64.
20496 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20497 Pass fd to __internal_statvfs64 instead of calling fstat64.
20498 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20499 Pass -1 to __internal_statvfs instead of calling stat64.
20500 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20501 Pass -1 to __internal_statvfs64 instead of calling stat64.
20502
20503 2014-05-28 Roland McGrath <roland@hack.frob.com>
20504
20505 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20506 that was previously under [RESET_PID].
20507 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20508
20509 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20510 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20511
20512 2014-05-27 Roland McGrath <roland@hack.frob.com>
20513
20514 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20515
20516 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20517 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20518
20519 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20520
20521 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20522
20523 2014-05-27 Andreas Schwab <schwab@suse.de>
20524
20525 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20526 TLS_INIT_TP macro.
20527 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20528 * elf/rtld.c (init_tls, dl_main): Likewise.
20529 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20530 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20531 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20532 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20533 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20534 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20535 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20536 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20537 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20538 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20539 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20540 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20541 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20542 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20543 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20544 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20545 * sysdeps/generic/tls.h: Update description.
20546
20547 2014-05-27 Will Newton <will.newton@linaro.org>
20548
20549 [BZ #16990]
20550 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20551 and restore r2 rather than just restoring.
20552
20553 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20554
20555 [BZ #16724]
20556 * libio/tst-ftell-append.c: New test case.
20557 * libio/Makefile (tests): Add test case.
20558 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20559 append mode.
20560 * libio/wfileops.c (do_ftell_wide): Likewise.
20561
20562 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20563
20564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20565
20566 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20567 ...
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20570 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20571 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20572 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20573 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20574 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20575 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20577 Moved ...
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20580 Moved ...
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20582 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20583 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20584 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20585 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20586 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20587 ...
20588 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20589 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20590 Moved ...
20591 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20592 here.
20593 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20594 ...
20595 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20596 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20597 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20598
20599 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20600 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20601 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20602 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20603
20604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20605 merge into ...
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20608 ...
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20611 ...
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20614 Moved ...
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20616 here.
20617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20618 Moved ...
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20621 Moved ...
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20623
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20625 conditional [RESET_PID].
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20628 removed.
20629 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20630 removed.
20631
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20633 <tcb-offsets.h>.
20634 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20635 (__libc_vfork): New strong alias.
20636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20637 removed.
20638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20639 Removed.
20640
20641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20642 <tcb-offsets.h>.
20643 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20644 (__libc_vfork): New strong alias.
20645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20646 removed.
20647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20648 removed.
20649
20650 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20651
20652 * malloc/malloc.c (mi_arena): New function.
20653 (malloc_info): Remove nested function mi_arena. Call non-nosted
20654 function mi_arena.
20655
20656 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20657
20658 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20659 by insrwi.
20660 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20661 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20662 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20663 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20664 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20665 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20666 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20667
20668 2014-05-26 Andreas Schwab <schwab@suse.de>
20669
20670 [BZ #16984]
20671 * locale/programs/repertoire.c (repertoire_read): Add slash
20672 between I18NPATH element and file name.
20673 * locale/programs/locfile.c (locfile_read): Likewise.
20674
20675 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20676
20677 * nptl/pthread_mutexattr_settype.c
20678 (__pthread_mutexattr_settype):
20679 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20680
20681 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20682
20683 * nptl/tst-mutex5 (do_test):
20684 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20685
20686 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20687
20688 * benchtests/README: Document 'init' directive.
20689 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20690 BENCH_INIT.
20691 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20692 (parse_file): Recognize 'init' directive.
20693
20694 2014-05-26 Kyle McMartin <kyle@redhat.com>
20695
20696 [BZ #16796]
20697 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20698 alignment of struct pthread.
20699
20700 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20701
20702 [BZ #16878]
20703 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20704 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20705 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20706 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20707
20708 2014-05-25 Richard Henderson <rth@twiddle.net>
20709
20710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20711 (SINGLE_THREAD_P_PIC): Remove.
20712 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20713 (SINGLE_THREAD_P_PIC): Remove.
20714
20715 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20716 branch to syscall error ...
20717 (PSEUDO): ... here.
20718 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20719 from __local_syscall_error to .Lsyscall_error.
20720 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20721 (SYSCALL_ERROR): Update label name.
20722
20723 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20724 Do not use DOARGS/UNDOARGS.
20725 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20726 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20727 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20728 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20729 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20730
20731 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20732 block comment.
20733
20734 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20735 define if !NOT_IN_libc.
20736 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20737 define with non-default symbol versions.
20738
20739 2014-05-23 Richard Henderson <rth@twiddle.net>
20740
20741 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20742 (vfork, __vfork): Define via compat_symbol.
20743
20744 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20745 [!HAVE_IFUNC] (vfork_compat): Remove.
20746 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20747
20748 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20749
20750 [BZ #16978]
20751 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20752 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20753 variable.
20754
20755 2014-05-23 Richard Henderson <rth@twiddle.net>
20756
20757 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20758 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20759 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20760 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20761
20762 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20763 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20764 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20765 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20766 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20767 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20768 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20769 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20770 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20771 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20772 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20773 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20774 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20775 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20776 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20777 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20778 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20779 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20780 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20781 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20782 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20783 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20784 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20785 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20786 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20787 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20788 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20789 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20790 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20791 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20792 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20793 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20794 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20795 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20796 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20797 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20798 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20799 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20800 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20801 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20802 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20803 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20804 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20805 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20806 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20807 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20809 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20810 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20811 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20812 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20813 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20814 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20815 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20816 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20817 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20818
20819 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20820 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20821 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20822 before exiting on error.
20823 (__libc_vfork): New strong alias.
20824 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20825 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20826
20827 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20828 that was previously under [RESET_PID].
20829 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20830
20831 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20832
20833 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20834
20835 [BZ #16977]
20836 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20837 value when x - 1 is zero.
20838 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20839 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20840 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20841 0.0L for an argument of 1.0L.
20842 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20843 Likewise.
20844 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20845 value when x - 1 is zero.
20846 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20847 * sysdeps/i386/fpu/libm-test-ulps: Update.
20848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20849
20850 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20851
20852 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20853 alphasort and versionsort.
20854
20855 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20856
20857 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20858 macro.
20859 [copysignf]: Likewise.
20860
20861 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20862
20863 * crypt/md5-crypt.c: Fix formatting.
20864
20865 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20866
20867 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20868 (b64_from_24bit): New function.
20869
20870 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20871
20872 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20873 libc_hidden_builtin_def to ifunc.
20874 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20875 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20876
20877 2014-05-21 Roland McGrath <roland@hack.frob.com>
20878
20879 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20880 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20881
20882 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20883
20884 * nscd/Depend (linuxthreads): Remove.
20885 (nptl): Add.
20886 * resolv/Depend (linuxthreads): Remove.
20887 * rt/Depend (linuxthreads): Remove.
20888
20889 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20890 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20891 $(common-objpfx)elf/.
20892 (link-libc-before-gnulib): Likewise.
20893 (elfobjdir): Remove variable.
20894 * Makefile (install): Use $(elf-objpfx) instead of
20895 $(common-objpfx)elf/.
20896 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20897 $(elfobjdir)/.
20898 (link-libc-deps): Likewise.
20899 ($(common-objpfx)libc.so): Likewise.
20900 ($(common-objpfx)linkobj/libc.so): Likewise.
20901 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20902 instead of $(common-objpfx)elf/.
20903 (symbolic-link-list): Likewise.
20904 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20905 [$(cross-compiling) = no]: Likewise.
20906 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20907 $(elfobjdir)/.
20908 (static-gnulib-arch): Likewise.
20909 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20910 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20911 $(common-objpfx)elf/.
20912
20913 2014-05-21 Richard Henderson <rth@redhat.com>
20914
20915 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20916 (SINGLE_THREAD_P): Use the correct width load. Fold
20917 into the ldr offset.
20918
20919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20920 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20921
20922 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20923
20924 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20925 (libgcc_s_resume): Use __attribute_used__.
20926 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20927 Likewise.
20928
20929 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20930
20931 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20932 optimization when used with float constants.
20933
20934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20935
20936 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20937
20938 [BZ #16915]
20939 * locale/nl_langinfo_l.c: Make direct reference to every
20940 _nl_current_CATEGORY symbol.
20941 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20942 (tests-static): Add tst-langinfo-static.
20943 (tests-special): Add tst-langinfo-static.out.
20944 ($(objpfx)tst-langinfo.out): Redirect output.
20945 ($(objpfx)tst-langinfo-static.out): New.
20946 * localedata/tst-langinfo.sh: Send output to stdout.
20947 * localedata/tst-langinfo-static.c: New file.
20948
20949 [BZ #16965]
20950 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20951 when the shift amount is modulo the limb size.
20952
20953 2014-05-20 Richard Henderson <rth@redhat.com>
20954
20955 [BZ #16967]
20956 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20957 Change type of sa_flags from unsigned int to int.
20958
20959 [BZ #16966]
20960 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20961
20962 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20963
20964 2014-05-20 Will Newton <will.newton@linaro.org>
20965
20966 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20967 Test the return value of the system call in the nocancel case.
20968
20969 2014-05-20 Will Newton <will.newton@linaro.org>
20970 Yvan Roux <yvan.roux@linaro.org>
20971
20972 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20973 #include of asm/ptrace.h.
20974 (PTRACE_GET_THREAD_AREA): Remove #undef.
20975 (PTRACE_GETHBPREGS): Likewise.
20976 (PTRACE_SETHBPREGS): Likewise.
20977 (struct user_regs_struct): New structure.
20978 (struct user_fpsimd_struct): New structure.
20979 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20980 #include of asm/ptrace.h and second #include of sys/user.h.
20981 (PTRACE_GET_THREAD_AREA): Remove #undef.
20982 (PTRACE_GETHBPREGS): Likewise.
20983 (PTRACE_SETHBPREGS): Likewise.
20984 (ELF_NGREG): Use new struct user_regs_struct.
20985 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20986
20987 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20988
20989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20990 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20991
20992 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20993
20994 [BZ #16958]
20995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20996 membar to avoid block loads/stores to overlap previous stores.
20997
20998 2014-05-17 Richard Henderson <rth@redhat.com>
20999
21000 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21001 Create the __##syscall_name##_nocancel entry point.
21002 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21003 Remove; let the sysdep-cancel.h code create it.
21004
21005 2014-05-17 David S. Miller <davem@davemloft.net>
21006
21007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21008 Protect with __USE_GNU.
21009 (TIOCSET_TEMPT): Likewise.
21010 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21011 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21012 these are already provided in bits/ioctl-types.h
21013
21014 2014-05-16 Roland McGrath <roland@hack.frob.com>
21015
21016 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21017 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21018
21019 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21020 Use wait4 regardless of [__NR_waitpid].
21021
21022 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21023
21024 PR libgcc/60166
21025 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21026 (_FP_NANSIGN_Q): Set the quiet bit.
21027
21028 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21029
21030 * benchtests/Makefile
21031 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21032 not $(common-objpfx)math/libm.so.
21033 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21034 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21035 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21036 $(common-objpfx)dlfcn/libdl.so.
21037 ($(objpfx)tst-audit8): Depend on $(libm), not
21038 $(common-objpfx)math/libm.so.
21039 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21040 not $(common-objpfx)dlfcn/libdl.so.
21041 * math/Makefile
21042 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21043 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21044 [$(build-shared) = yes].
21045 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21046 $(common-objpfx)nptl/libpthread.so.
21047 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21048 $(common-objpfx)math/libm.so$(libm.so-version) or
21049 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21050 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21051 $(common-objpfx)dlfcn/libdl.so.
21052 * setjmp/Makefile (link-libm): Remove variable.
21053 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21054 * stdio-common/Makefile (link-libm): Remove variable.
21055 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21056 * stdlib/Makefile (link-libm): Remove variable.
21057 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21058 ($(objpfx)tst-strtod-round): Likewise.
21059 ($(objpfx)tst-tininess): Likewise.
21060 ($(objpfx)tst-strtod-underflow): Likewise.
21061 ($(objpfx)tst-strtod6): Likewise.
21062 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21063 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21064 $(common-objpfx)dlfcn/libdl.so.
21065
21066 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21067
21068 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21069 BSD terminal modes definitions.
21070
21071 2014-05-16 Roland McGrath <roland@hack.frob.com>
21072
21073 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21074 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21075
21076 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21077 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21078 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21079 Don't do #include_next.
21080 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21081 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21082 Don't do #include_next.
21083 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21084 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21085 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21086 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21087
21088 2014-05-16 Allan McRae <allan@archlinux.org>
21089
21090 * po/sv.po: Update Swedish translation from translation project.
21091
21092 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21093 in sed expression.
21094
21095 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21096
21097 [BZ #16917]
21098 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21099 errno if the TIOCGPTN ioctl fails with an error different than
21100 EINVAL.
21101 * login/tst-ptsname.c: New file.
21102 * login/Makefile (tests): Add tst-ptsname.
21103
21104 [BZ #16943]
21105 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21106 and prlimit64.
21107
21108 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21109
21110 [BZ #16849]
21111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21112 herrno to return EAI_AGAIN.
21113
21114 2014-05-14 Roland McGrath <roland@hack.frob.com>
21115
21116 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21117 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21118 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21119 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21120 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21121 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21122 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21123 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21125 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21126 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21127 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21128 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21129 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21130 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21131 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21133 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21134 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21135 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21136 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21137 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21138 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21139 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21140 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21141 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21142 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21143 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21144 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21145 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21147 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21149 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21151 Moved ...
21152 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21154 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21156 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21158 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21160 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21162 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21164 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21166 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21168 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21170 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21172 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21174 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21176 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21178 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21180 Moved ...
21181 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21183 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21185 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21187 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21189 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21191 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21193 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21195 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21197 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21199 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21201 Moved ...
21202 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21204 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21205
21206 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21207 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21208 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21209 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21210 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21211 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21212 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21213 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21214 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21215 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21216 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21217 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21218 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21219 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21220 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21221 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21222 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21223 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21224 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21225 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21226 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21227 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21228 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21230 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21231 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21232 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21233 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21234 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21235 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21236 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21237
21238 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21239 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21240
21241 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21242 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21243 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21244 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21245 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21246 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21247 Moved ...
21248 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21250 Moved ...
21251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21253 Moved ...
21254 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21255 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21256 Moved ...
21257 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21258 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21259 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21261 Moved ...
21262 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21263 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21264 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21266 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21267 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21268 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21269 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21270 Moved ...
21271 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21272 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21273 Moved ...
21274 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21275 ... here.
21276 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21277 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21278 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21279 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21281 Moved ...
21282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21283 ... here.
21284 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21285 Moved ...
21286 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21287 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21288 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21289 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21290 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21291 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21292 Moved ...
21293 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21295 Moved ...
21296 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21298 Moved ...
21299 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21300 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21301 Moved ...
21302 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21303 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21304 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21306 Moved ...
21307 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21308 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21309 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21311 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21312 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21313 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21314 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21315 Moved ...
21316 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21317 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21318 Moved ...
21319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21320 ... here.
21321 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21322 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21323 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21324 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21326 Moved ...
21327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21328 ... here.
21329 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21330 Moved ...
21331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21332 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21333 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21334 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21335 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21336 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21337 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21338 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21339 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21341 Moved ...
21342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21344 Moved ...
21345 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21347 Moved ...
21348 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21349 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21350 Moved ...
21351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21353 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21354 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21355 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21357 Moved ...
21358 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21359 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21360 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21361 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21362 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21363 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21364 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21365 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21366 Moved ...
21367 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21368 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21369 Moved ...
21370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21371 ... here.
21372 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21373 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21374 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21375 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21376 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21377 Moved ...
21378 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21379 ... here.
21380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21381 Moved ...
21382 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21383 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21384 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21385 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21386 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21387 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21388 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21389 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21390 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21391 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21392 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21393
21394 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21395 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21396
21397 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21398 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21399
21400 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21401 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21402 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21403 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21404 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21405 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21406 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21407 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21408 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21409 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21411 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21412 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21413 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21414 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21416 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21418 Moved ...
21419 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21421 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21423 Moved ...
21424 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21426 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21428 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21432 Moved ...
21433 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21435 Moved ...
21436 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21438 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21440 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21441 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21442 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21443 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21444 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21445 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21446 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21447 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21448 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21449 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21450 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21451 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21452 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21453
21454 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21455 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21456 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21457 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21458 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21459
21460 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21461 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21462 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21463 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21464 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21465 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21466 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21467 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21468 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21469 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21470
21471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21473
21474 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21475 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21476 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21477 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21478 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21479 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21480 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21481 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21482 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21483 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21484 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21485 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21486 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21487 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21489 Update #include.
21490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21491 Likewise.
21492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21493 Likewise.
21494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21495 Likewise.
21496 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21497 Likewise.
21498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21499 Likewise.
21500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21501 Likewise.
21502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21503 Likewise.
21504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21505 Likewise.
21506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21507 Likewise.
21508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21512 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21520 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21522 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21523
21524 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21525 that was previously under [RESET_PID].
21526 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21527 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21528 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21529
21530 * sysdeps/i386/nptl/Implies: New file.
21531 * sysdeps/x86_64/nptl/Implies: New file.
21532 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21533 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21534 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21535 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21536
21537 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21538 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21539 (__libc_vfork): New strong alias.
21540 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21541 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21542
21543 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21544 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21545 (__libc_vfork): New strong alias.
21546 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21547 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21548
21549 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21550 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21551 (__libc_vfork): New strong alias.
21552 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21553 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21554 * nptl/pt-vfork.c: New file.
21555 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21556 (libpthread: GLIBC_2.20): New version set (empty).
21557
21558 2014-05-14 Will Newton <will.newton@linaro.org>
21559
21560 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21561 rather than #if.
21562
21563 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21564
21565 [BZ #16564]
21566 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21567 arguments with exponent 65 or above.
21568 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21569 arguments 0x1p113L or above.
21570 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21571 to arguments 0x1p107L or above.
21572 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21573 positive arguments with exponent 65 or above.
21574 * math/auto-libm-test-in: Add more tests of log1p.
21575 * math/auto-libm-test-out: Regenerated.
21576
21577 [BZ #16928]
21578 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21579 non-finite arguments is +0.
21580 * math/s_cacosf.c (__cacosf): Likewise.
21581 * math/s_cacosl.c (__cacosl): Likewise.
21582 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21583 * sysdeps/i386/fpu/libm-test-ulps: Update.
21584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21585
21586 [BZ #16927]
21587 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21588 value.
21589 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21590 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21591 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21592 for explicit high bit of mantissa when testing for argument equal
21593 to 1.
21594 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21595 * sysdeps/i386/fpu/libm-test-ulps: Update.
21596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21597
21598 [BZ #16516]
21599 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21600 (__erf): Scale by 16 instead of 8 in potentially underflowing
21601 case. Ensure exception if result actually underflows.
21602 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21603 (__erff): Scale by 16 instead of 8 in potentially underflowing
21604 case. Ensure exception if result actually underflows.
21605 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21606 (efx8): Remove variable.
21607 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21608 case. Ensure exception if result actually underflows.
21609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21610 (efx8): Remove variable.
21611 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21612 case. Ensure exception if result actually underflows.
21613 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21614 (efx8): Remove variable.
21615 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21616 case. Ensure exception if result actually underflows.
21617 * math/auto-libm-test-in: Add more tests of erf.
21618 * math/auto-libm-test-out: Regenerated.
21619
21620 2014-05-14 Andreas Schwab <schwab@suse.de>
21621
21622 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21623 Remove code conditionalized on USE___THREAD.
21624
21625 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21626 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21627 not definedness.
21628
21629 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21630
21631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21632 Define unconditionally.
21633 (__ASSUME_O_CLOEXEC): Likewise.
21634 (__ASSUME_SOCK_CLOEXEC): Likewise.
21635 (__ASSUME_IN_NONBLOCK): Likewise.
21636 (__ASSUME_PIPE2): Likewise.
21637 (__ASSUME_EVENTFD2): Likewise.
21638 (__ASSUME_SIGNALFD4): Likewise.
21639 (__ASSUME_DUP3): Likewise.
21640 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21641 (__ASSUME_DUP3): Do not define.
21642 (__ASSUME_EVENTFD2): Likewise.
21643 (__ASSUME_IN_NONBLOCK): Likewise.
21644 (__ASSUME_O_CLOEXEC): Likewise.
21645 (__ASSUME_PIPE2): Likewise.
21646 (__ASSUME_SIGNALFD4): Likewise.
21647 (__ASSUME_SOCK_CLOEXEC): Likewise.
21648 (__ASSUME_UTIMES): Undefine.
21649 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21650 (__ASSUME_UTIMES): Do not define.
21651 (__ASSUME_O_CLOEXEC): Likewise.
21652 (__ASSUME_SOCK_CLOEXEC): Likewise.
21653 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21654 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21655 0x020621].
21656 (__ASSUME_PIPE2): Likewise.
21657 (__ASSUME_EVENTFD2): Likewise.
21658 (__ASSUME_SIGNALFD4): Likewise.
21659 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21660 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21661 Do not define.
21662 (__ASSUME_EVENTFD2): Likewise.
21663 (__ASSUME_SIGNALFD4): Likewise.
21664 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21665 (__ASSUME_32BITUIDS): Likewise.
21666 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21667 (__ASSUME_IPC64): Likewise.
21668 (__ASSUME_ST_INO_64_BIT): Likewise.
21669 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21670 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21672 (__ASSUME_UTIMES): Do not define.
21673 (__ASSUME_PSELECT): Likewise.
21674 (__ASSUME_PPOLL): Likewise.
21675 (__ASSUME_O_CLOEXEC): Likewise.
21676 (__ASSUME_SOCK_CLOEXEC): Likewise.
21677 (__ASSUME_IN_NONBLOCK): Likewise.
21678 (__ASSUME_PIPE2): Likewise.
21679 (__ASSUME_EVENTFD2): Likewise.
21680 (__ASSUME_SIGNALFD4): Likewise.
21681 (__ASSUME_DUP3): Likewise.
21682 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21683 (__ASSUME_UTIMES): Likewise.
21684 (__ASSUME_O_CLOEXEC): Likewise.
21685 (__ASSUME_SOCK_CLOEXEC): Likewise.
21686 (__ASSUME_IN_NONBLOCK): Likewise.
21687 (__ASSUME_PIPE2): Likewise.
21688 (__ASSUME_EVENTFD2): Likewise.
21689 (__ASSUME_SIGNALFD4): Likewise.
21690 (__ASSUME_DUP3): Likewise.
21691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21692 (__ASSUME_UTIMES): Likewise.
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 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21701 Likewise.
21702 (__ASSUME_UTIMES): Likewise.
21703 (__ASSUME_EVENTFD2): Likewise.
21704 (__ASSUME_SIGNALFD4): Likewise.
21705 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21706 (__ASSUME_O_CLOEXEC): Likewise.
21707 (__ASSUME_SOCK_CLOEXEC): Likewise.
21708 (__ASSUME_IN_NONBLOCK): Likewise.
21709 (__ASSUME_PIPE2): Likewise.
21710 (__ASSUME_EVENTFD2): Likewise.
21711 (__ASSUME_SIGNALFD4): Likewise.
21712 (__ASSUME_DUP3): Likewise.
21713 (__ASSUME_UTIMES): Undefine.
21714
21715 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21716 feclearexcept. Remove symbol versioning code.
21717 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21718 symbol versioning code.
21719 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21720 symbol versioning code.
21721 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21722 feupdateenv. Remove symbol versioning code.
21723 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21724 fegetexceptflag. Remove symbol versioning code.
21725 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21726 fesetexceptflag. Remove symbol versioning code.
21727 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21728 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21729 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21730 (__posix_fadvise64_l32): Remove prototype.
21731 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21732 code.
21733
21734 2014-05-13 Roland McGrath <roland@hack.frob.com>
21735
21736 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21737 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21738 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21739 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21740
21741 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21742
21743 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21744 current working directory
21745
21746 2014-05-13 Roland McGrath <roland@hack.frob.com>
21747
21748 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21749 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21750 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21751 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21752 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21753 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21754 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21755 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21756 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21757 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21758 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21759 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21760 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21761 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21762 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21763 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21764 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21765 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21766 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21767 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21768 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21769 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21770 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21771 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21772 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21773 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21774 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21775 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21776 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21777 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21778 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21779 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21780 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21781 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21782 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21783 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21784 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21785 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21786 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21787 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21788 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21789 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21790
21791 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21792 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21793
21794 * sysdeps/unix/sysv/linux/arm/Makefile
21795 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21796 Add rt-aeabi_unwind_cpp_pr1.
21797 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21798 Add nptl-aeabi_unwind_cpp_pr1.
21799 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21800 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21801 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21802 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21803 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21804 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21805
21806 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21807 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21808 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21809 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21810
21811 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21812 Deconditionalize the code that was previously under [RESET_PID].
21813 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21814
21815 * sysdeps/generic/exit-thread.h: New file.
21816 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21817 * include/unistd.h (__exit_thread): Remove declaration.
21818 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21819 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21820 * csu/libc-start.c: Include <exit-thread.h>.
21821 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21822 * nptl/pthread_create.c: Include <exit-thread.h>.
21823 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21824 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21825 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21826 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21827 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21828 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21829 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21830 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21831 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21832 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21833 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21834 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21835 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21836 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21837 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21838 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21839 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21840
21841 2014-05-13 Andreas Schwab <schwab@suse.de>
21842
21843 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21844
21845 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21846
21847 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21848 (__ASSUME_UTIMES): Do not condition on kernel version.
21849 (__ASSUME_PSELECT): Define unconditionally.
21850 (__ASSUME_PPOLL): Likewise.
21851 (__ASSUME_ATFCTS): Likewise.
21852 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21853 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21854 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21855 (__ASSUME_UTIMENSAT): Define unconditionally.
21856 (__ASSUME_PRIVATE_FUTEX): Likewise.
21857 (__ASSUME_FALLOCATE): Likewise.
21858 (__ASSUME_O_CLOEXEC): Likewise.
21859 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21860 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21861 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21862 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21863 (__ASSUME_IN_NONBLOCK): Likewise.
21864 (__ASSUME_PIPE2): Likewise.
21865 (__ASSUME_EVENTFD2): Likewise.
21866 (__ASSUME_SIGNALFD4): Likewise.
21867 (__ASSUME_DUP3): Likewise.
21868 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21869 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21870 (__ASSUME_AT_RANDOM): Likewise.
21871 (__ASSUME_PREADV): Likewise.
21872 (__ASSUME_PWRITEV): Likewise.
21873 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21874 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21875 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21877 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21878 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21879 (__ASSUME_O_CLOEXEC): Define unconditionally.
21880 (__ASSUME_PSELECT): Do not undefine conditionally.
21881 (__ASSUME_PPOLL): Likewise.
21882 (__ASSUME_ATFCTS): Likewise.
21883 (__ASSUME_SET_ROBUST_LIST): Likewise.
21884 (__ASSUME_UTIMENSAT): Likewise.
21885 (__ASSUME_FDATASYNC): Define unconditionally.
21886 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21887 (__ASSUME_SIGFRAME_V2): Likewise.
21888 )__ASSUME_EVENTFD2): Likewise.
21889 (__ASSUME_SIGNALFD4): Likewise.
21890 (__ASSUME_PSELECT): Do not undefine conditionally.
21891 (__ASSUME_PPOLL): Likewise.
21892 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21893 (__ASSUME_PSELECT): Define unconditionally.
21894 (__ASSUME_PPOLL): Likewise.
21895 (__ASSUME_O_CLOEXEC): Likewise.
21896 (__ASSUME_SOCK_CLOEXEC): Likewise.
21897 (__ASSUME_IN_NONBLOCK): Likewise.
21898 (__ASSUME_PIPE2): Likewise.
21899 (__ASSUME_EVENTFD2): Likewise.
21900 (__ASSUME_SIGNALFD4): Likewise.
21901 (__ASSUME_DUP3): Likewise.
21902 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21903 (__ASSUME_O_CLOEXEC): Likewise.
21904 (__ASSUME_SOCK_CLOEXEC): Likewise.
21905 (__ASSUME_IN_NONBLOCK): Likewise.
21906 (__ASSUME_PIPE2): Likewise.
21907 (__ASSUME_EVENTFD2): Likewise.
21908 (__ASSUME_SIGNALFD4): Likewise.
21909 (__ASSUME_DUP3): Likewise.
21910 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21911 (__ASSUME_EVENTFD2): Likewise.
21912 (__ASSUME_SIGNALFD4): Likewise.
21913 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21914
21915 2014-05-12 Andreas Schwab <schwab@suse.de>
21916
21917 [BZ #16932]
21918 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21919 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21920 than maximum RPC packet size.
21921 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21922 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21923 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21924 (_nss_nis_getservbyport_r): Likewise.
21925
21926 2014-05-12 Will Newton <will.newton@linaro.org>
21927
21928 * malloc/Makefile (tests): Add tst-mallopt.
21929 * malloc/tst-mallopt.c: New file.
21930
21931 2014-05-09 Roland McGrath <roland@hack.frob.com>
21932
21933 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21934 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21935
21936 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21937
21938 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21939 (tst-tlsmod6.so): Likewise.
21940
21941 2014-05-09 Roland McGrath <roland@hack.frob.com>
21942
21943 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21944
21945 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21946
21947 [BZ #16064]
21948 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21949 and <dl-procinfo.h>.
21950 (__fegetenv): Save SSE state in envp->__eip if supported.
21951 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21952 envp->__eip if supported.
21953 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21954 and <dl-procinfo.h>.
21955 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21956 __data_offset and __data_selector in environment to 0. Set SSE
21957 state if supported.
21958 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21959 test-fenv-sse.
21960 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21961 -mfpmath=sse.
21962 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21963
21964 2014-05-09 Will Newton <will.newton@linaro.org>
21965
21966 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21967 and libc_relro_required for ARM.
21968 * sysdeps/arm/preconfigure: Regenerate.
21969
21970 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21971 Stefan Liebler <stli@linux.vnet.ibm.com>
21972
21973 * config.make.in (enable-lock-elision): New Makefile variable.
21974 * configure.ac: Likewise.
21975 * configure: Regenerate.
21976 * sysdeps/s390/configure.ac:
21977 Add check for gcc transactions support.
21978 * sysdeps/s390/configure: Regenerate.
21979 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21980 Build elision files if enabled.
21981 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21982 Add lock elision support for s390.
21983 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21984 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21985 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21986 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21987 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21988 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21990 Likewise.
21991 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21992 Likewise.
21993 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21994 Likewise.
21995 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21996 Likewise.
21997 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21998 (__lll_timedlock_elision, __lll_lock_elision)
21999 (__lll_unlock_elision, __lll_trylock_elision)
22000 (lll_timedlock_elision, lll_lock_elision)
22001 (lll_unlock_elision, lll_trylock_elision): Add.
22002 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22003 (pthread_mutex_t): Add lock elision support for s390.
22004
22005 2014-05-14 Wilco <wdijkstr@arm.com>
22006
22007 * sysdeps/arm/fclrexcpt.c: Cleanup.
22008 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22009 * sysdeps/arm/feenablxcpt.c: Cleanup.
22010 * sysdeps/arm/fegetenv.c: Cleanup.
22011 * sysdeps/arm/fegetexcept.c: Cleanup.
22012 * sysdeps/arm/fegetround.c: Cleanup.
22013 * sysdeps/arm/feholdexcpt.c: Cleanup.
22014 * sysdeps/arm/fesetenv.c: Cleanup.
22015 * sysdeps/arm/fesetround.c: Cleanup.
22016 * sysdeps/arm/feupdateenv.c: Cleanup.
22017 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22018 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22019 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22020 * sysdeps/arm/ftestexcept.c: Cleanup.
22021 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22022 * sysdeps/arm/setfpucw.c: Cleanup.
22023
22024 2014-05-09 Will Newton <will.newton@linaro.org>
22025
22026 * sysdeps/arm/armv7/strcmp.S: New file.
22027 * NEWS: Mention addition of ARMv7 optimized strcmp.
22028
22029 2014-05-08 Roland McGrath <roland@hack.frob.com>
22030
22031 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22032 look for %.ac rather than %.in.
22033
22034 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22035 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22036 * sysdeps/mach/hurd/configure: Regenerated.
22037 * sysdeps/unix/sysv/linux/configure: Regenerated.
22038
22039 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22040
22041 2014-05-07 Steve Ellcey <sellcey@mips.com>
22042
22043 [BZ# 16922]
22044 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22045 (LONG_SUB): Ditto.
22046 (PTR_SUB): Ditto.
22047
22048 2014-05-07 Andreas Schwab <schwab@suse.de>
22049
22050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22051 when skipping over non-matching result from nscd.
22052
22053 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22054
22055 [BZ #16876]
22056 * nptl/sockperf.c (client): Check socket return value.
22057
22058 [BZ #16877]
22059 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22060 nscd security class.
22061
22062 2014-05-06 Roland McGrath <roland@hack.frob.com>
22063
22064 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22065 * sysdeps/arm/unwind.h: ... here.
22066
22067 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22068
22069 [BZ# 16916]
22070 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22071 Define.
22072
22073 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22074
22075 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22076 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22077 multiarch strncpy for PPC64.
22078 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22079 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22081 multiarch optimizations.
22082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22083 (__libc_ifunc_impl_list): Likewise.
22084 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22085 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22086 multiarch stpncpy for PPC64.
22087 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22088 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22089
22090 2014-05-06 Andreas Schwab <schwab@suse.de>
22091
22092 [BZ #16912]
22093 * gmon/mcount.c (_MCOUNT_DECL): Use
22094 atomic_compare_and_exchange_bool_acq instead of
22095 catomic_compare_and_exchange_bool_acq.
22096
22097 2014-05-05 Roland McGrath <roland@hack.frob.com>
22098
22099 * elf/Makefile (others, install-bin): Remove pldd.
22100 (pldd-modules): Variable removed.
22101 ($(objpfx)pldd): Target removed.
22102 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22103 (others, install-bin): Append pldd here.
22104 ($(objpfx)pldd): New target.
22105
22106 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22107 to 0, so the first #if test emitted later doesn't see it undefined.
22108 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22109 * sysdeps/gnu/errlist.c: Regenerated.
22110
22111 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22112
22113 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22114 [libc_hidden_builtin_def]: Define to empty value.
22115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22116 [libc_hidden_builtin_def]: Likewise.
22117 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22118 [libc_hidden_builtin_def]: Likewise.
22119 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22120 [libc_hidden_builtin_def]: Likewise.
22121 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22122 __redirect_memcpy and define ifunc as default hidden symbol.
22123 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22124 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22125
22126 2014-05-04 Adam Conrad <adconrad@0c3.net>
22127
22128 * locale/iso-4217.def: Reintroduce XDR currency.
22129
22130 2014-05-04 Allan McRae <allan@archlinux.org>
22131
22132 * po/eo.po: Update Esperanto translation from translation project.
22133
22134 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22135
22136 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22137 and FEATURE_INDEX_MAX to 1.
22138 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22139
22140 2014-05-01 Steve Ellcey <sellcey@mips.com>
22141
22142 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22143 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22144 * iconvdata/big5.c (ONE_DIRECTION): Define.
22145 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22146 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22147 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22148 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22149 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22150 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22151 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22152 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22153 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22154 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22155 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22156 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22157 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22158 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22159 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22160 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22161 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22162 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22163 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22164 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22165 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22166 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22167 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22168 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22169 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22170 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22171 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22172 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22173 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22174 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22175 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22176 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22177 * iconvdata/johab.c (ONE_DIRECTION): Define.
22178 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22179 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22180 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22181 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22182 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22183 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22184 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22185 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22186 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22187 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22188
22189 2014-05-01 Roland McGrath <roland@hack.frob.com>
22190
22191 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22192 (_IO_JUMPS_OFFSET): Define to 0.
22193
22194 * nptl/sysdeps/pthread/bits/libc-lock.h
22195 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22196 (__libc_lock_define_initialized_recursive): Always define using
22197 initializer. Modern compilers treat uninitialized (implicit zero) and
22198 explicit zero initializers the same (i.e. put the datum in bss).
22199
22200 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22201
22202 * nscd/nscd-client.h: Include <string.h>.
22203
22204 2014-05-01 David S. Miller <davem@davemloft.net>
22205
22206 [BZ #16885]
22207 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22208 multiple zero bytes exist at the end of a string.
22209 Reported by Aurelien Jarno <aurelien@aurel32.net>
22210
22211 * string/test-strcmp.c (check): Add explicit test for situations where
22212 there are multiple zero bytes after the first.
22213
22214 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22215
22216 [BZ #16890]
22217 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22218 when compiling wprintf.
22219 * stdio-common/tstdiomisc.c (t3): New function.
22220 (main): Call it.
22221
22222 2014-05-01 Steve Ellcey <sellcey@mips.com>
22223
22224 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22225 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22226 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22227 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22228
22229 2014-05-01 Steve Ellcey <sellcey@mips.com>
22230
22231 * stdlib/longlong.h: Updated from GCC.
22232
22233 2014-05-01 Will Newton <will.newton@linaro.org>
22234 Bernard Ogden <bernie.ogden@linaro.org>
22235
22236 * NEWS: Update fixed bug list.
22237
22238 [BZ #15119]
22239 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22240
22241 2014-04-30 David S. Miller <davem@davemloft.net>
22242
22243 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22244 (libc_feholdexcept_setround_sparc_ctx): New function.
22245 (libc_fesetenv_sparc_ctx): Likewise.
22246 (libc_feupdateenv_sparc_ctx): Likewise.
22247 (libc_feholdsetround_sparc_ctx): Likewise.
22248 (libc_feholdexcept_setround_ctx): Define.
22249 (libc_feholdexcept_setroundf_ctx): Likewise.
22250 (libc_feholdexcept_setroundl_ctx): Likewise.
22251 (libc_fesetenv_ctx): Likewise.
22252 (libc_fesetenvf_ctx): Likewise.
22253 (libc_fesetenvl_ctx): Likewise.
22254 (libc_feupdateenv_ctx): Likewise.
22255 (libc_feupdateenvf_ctx): Likewise.
22256 (libc_feupdateenvl_ctx): Likewise.
22257 (libc_feresetround_ctx): Likewise.
22258 (libc_feresetroundf_ctx): Likewise.
22259 (libc_feresetroundl_ctx): Likewise.
22260 (libc_feholdsetround_ctx): Likewise.
22261 (libc_feholdsetroundf_ctx): Likewise.
22262 (libc_feholdsetroundl_ctx): Likewise.
22263
22264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22265 with __USE_GNU instead of XOPEN cpp guards.
22266
22267 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22268 0.
22269
22270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22271 with XOPEN cpp guards.
22272
22273 2014-04-30 Julian Brown <julian@codesourcery.com>
22274
22275 [BZ #16888]
22276 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22277 handling.
22278
22279 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22280
22281 [BZ #9894]
22282 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22283 Change to 2.6.32.
22284 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22285 * sysdeps/unix/sysv/linux/configure: Regenerated.
22286 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22287 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22288 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22289 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22290 * README: Update reference to required Linux kernel version.
22291 * manual/install.texi (Linux): Update reference to required Linux
22292 kernel headers version.
22293 * INSTALL: Regenerated.
22294
22295 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22296 header inclusion.
22297 [POSIX] (limits.h): Likewise.
22298 [POSIX] (math.h): Likewise.
22299 [POSIX] (sys/wait.h): Likewise.
22300 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22301 function.
22302 [POSIX] (stddef.h): Do not allow header inclusion.
22303
22304 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22305
22306 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22307
22308 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22309
22310 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22311 Return immediately after lll_futex_wake.
22312
22313 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22314
22315 [BZ #16791]
22316 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22317 structure.
22318 (datahead_init_pos): Call datahead_init_common early.
22319 (datahead_init_neg): Likewise.
22320
22321 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22322 datahead_init_neg): New functions.
22323 * nscd/aicache.c (addhstaiX): Use them.
22324 * nscd/grpcache.c (cache_addgr): Likewise.
22325 * nscd/hstcache.c (cache_addhst): Likewise.
22326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22327 * nscd/netgroupcache.c (do_notfound): Likewise.
22328 (addgetnetgrentX): Likewise.
22329 (addinnetgrX): Likewise.
22330 * nscd/pwdcache.c (cache_addpw): Likewise.
22331 * nscd/servicescache.c (cache_addserv): Likewise.
22332
22333 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22334 Atsushi Onoe <atsushi@onoe.org>
22335
22336 [BZ #14308]
22337 [BZ #12994]
22338 [BZ #13651]
22339 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22340 one response is valid.
22341 * resolv/res_send.c (send_dg): Check for validity of other
22342 response if the current response is a referral.
22343
22344 2014-04-29 Steve Ellcey <sellcey@mips.com>
22345
22346 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22347
22348 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22349
22350 [BZ #16823]
22351 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22352 Always divide by positive zero when computing -Inf result.
22353 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22354 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22355
22356 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22357
22358 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22359 FPSCR if value do not change.
22360 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22361 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22362 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22363 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22364 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22365 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22366 function.
22367
22368 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22369
22370 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22371 * sysdeps/unix/sysv/linux/hppa: Move directory from
22372 ports/systeps/unix/sysv/linux/hppa.
22373 * README: Update listing for hppa-*-linux-gnu.
22374
22375 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22376
22377 [BZ #16754]
22378 * manual/stdio.texi (Hook functions): Fix types of stream hook
22379 functions.
22380 [BZ #16854]
22381 * socket/sys/socket.h: Fix typo in comment.
22382
22383 2014-04-28 Wilco <wdijkstr@arm.com>
22384
22385 * sysdeps/arm/fenv_private.h: New file.
22386 * sysdeps/arm/math_private.h: New file.
22387 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22388
22389 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22390
22391 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22392 with __int128_t.
22393 (La_x86_64_retval): Likewise.
22394
22395 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22396
22397 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22398 fpsr if value didn't change.
22399 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22400 to fpcr if value didn't change.
22401 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22402 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22403 fpsr or fpcr if value didn't change.
22404 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22405 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22406 fpcr if value didn't change.
22407 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22408 to fpsr if value didn't change.
22409
22410 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22411
22412 * nptl/tst-sem3.c: Use test-skeleton.c
22413 (main): Rename to do_test. Use return instead of
22414 exit.
22415 * nptl/tst-sem4.c: Use test-skeleton.c
22416 (main): Rename to do_test.
22417
22418 2014-04-22 David S. Miller <davem@davemloft.net>
22419
22420 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22421 (struct sigaction): New struct member __glibc_reserved0, change
22422 type of sa_flags to int.
22423
22424 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22425
22426 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22427 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22428
22429 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22430
22431 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22432 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22433
22434 2014-04-22 Will Newton <will.newton@linaro.org>
22435 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22436
22437 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22438 (__longjmp): Add longjmp and longjmp_target SystemTap
22439 probes.
22440 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22441 (__sigsetjmp): Add setjmp SystemTap probe.
22442
22443 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22444
22445 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22446 match manual order.
22447
22448 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22449
22450 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22451
22452 * sysdeps/powerpc/fpu/fenv_private.h
22453 (libc_feholdexcept_setroundl_ctx): Define to
22454 libc_feholdexcept_setround_ppc_ctx.
22455 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22456 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22457 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22458 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22459
22460 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22461
22462 * sysdeps/aarch64/math-tests.h: New file.
22463
22464 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22465
22466 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22467 New.
22468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22469 Check and set bit_AVX2_Usable.
22470 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22471 macro.
22472 (bit_AVX2): Likewise.
22473 (index_AVX2_Usable): Likewise.
22474 (CPUID_AVX2): Likewise.
22475 (HAS_AVX2): Likewise.
22476
22477 2014-04-17 Will Newton <will.newton@linaro.org>
22478
22479 * manual/setjmp.texi (System V contexts): Add note that
22480 calling setcontext on a context created by a call to a
22481 signal handler is undefined. Update text to note that
22482 setcontext from a signal handler is possible but not
22483 recommended.
22484
22485 [BZ #16629]
22486 * stdlib/tst-setcontext.c: Include signal.h.
22487 (main): Check that the signal stack before and
22488 after swapcontext is the same.
22489
22490 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22491 Re-implement to restore registers in user code and avoid
22492 rt_sigreturn system call.
22493
22494 2014-04-17 Wilco <wdijkstr@arm.com>
22495
22496 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22497 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22498 * math/test-fenv.c: Skip exception trap tests on targets which only
22499 support non-stop mode.
22500
22501 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22502 Wilco Dijkstra <wilco.dijkstra@arm.com>
22503
22504 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22505 (libc_feholdsetround_aarch64_ctx)
22506 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22507 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22508 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22509 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22510 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22511 (libc_feresetround_noexl_ctx): Define.
22512
22513 2014-04-16 Richard Henderson <rth@redhat.com>
22514
22515 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22516
22517 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22518 unwind tables.
22519
22520 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22521 const from the non-libc, non-ldso copy.
22522
22523 * sysdeps/alpha/libm-test-ulps: Regenerate.
22524
22525 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22526 Wilco Dijkstra <wilco.dijkstra@arm.com>
22527
22528 * sysdeps/aarch64/fpu/math_private.h: New file.
22529
22530 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22531
22532 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22533
22534 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22535
22536 [BZ #16275]
22537 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22538 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22540 Intel MPX bound registers before _dl_profile_fixup.
22541 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22542 registers after _dl_profile_fixup. Save and restore bound
22543 registers bnd0/bnd1 when calling _dl_call_pltexit.
22544 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22545 (LR_BND_OFFSET): Likewise.
22546 (LRV_BND0_OFFSET): Likewise.
22547 (LRV_BND1_OFFSET): Likewise.
22548
22549 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22550
22551 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22552 to...
22553 * sysdeps/mach/hurd/i386/tls.h: ... here.
22554 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22555 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22556 fields.
22557
22558 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22559
22560 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22561
22562 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22563
22564 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22565
22566 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22567
22568 [BZ #14770]
22569 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22570 * sysdeps/s390/configure: Regenerate.
22571
22572 [BZ #16824]
22573 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22574 Set round-to-nearest internally to reduce error accumulation.
22575
22576 2014-04-16 Alan Modra <amodra@gmail.com>
22577
22578 [BZ #16740]
22579 [BZ #16619]
22580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22581 * math/libm-test.inc (frexp_test_data): Add tests.
22582 * NEWS: Update fixed bug list.
22583
22584 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22585
22586 * benchtests/Makefile: Depend on libraries in build directory.
22587 (bench-math): Separate out math tests.
22588 (bench-pthread): Separate out pthread tests.
22589 (bench): Include math and pthread tests.
22590
22591 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22592
22593 [BZ #16831]
22594 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22595 _dl_debug_initialize.
22596
22597 * configure.ac: Remove SELinux header check.
22598 * configure: Regenerate.
22599 * nscd/selinux.c (perms): Array of const char* to permission names.
22600 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22601 default policy. Call string_to_security_class and string_to_av_perm to
22602 translate strings. Enforce default policy and call avs_has_perm with
22603 results of translated strings.
22604
22605 2014-04-13 David S. Miller <davem@davemloft.net>
22606
22607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22608
22609 2014-04-12 Allan McRae <allan@archlinux.org>
22610
22611 [BZ #16838]
22612 * manual/string.texi (Collation Functions): Fix qsort argument
22613 order in example.
22614 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22615
22616 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22617
22618 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22619 Make the test a no-op if there are no exceptions defined.
22620
22621 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22622
22623 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22624 enable-hardcoded-path-in-tests
22625
22626 2014-04-11 Will Newton <will.newton@linaro.org>
22627
22628 * benchtests/Makefile (extra-objs): Add json-lib.o.
22629 (bench-func): Tidy up JSON output.
22630 * benchtests/bench-skeleton.c: Include json-lib.h.
22631 (main): Use JSON library functions to do output of
22632 benchmark results.
22633 * benchtests/bench-timing-type.c (main): Output the
22634 timing type simply, leaving formatting to the user.
22635 * benchtests/json-lib.c: New file.
22636 * benchtests/json-lib.h: Likewise.
22637
22638 2014-04-11 Torvald Riegel <triegel@redhat.com>
22639
22640 [BZ #15215]
22641 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22642 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22643 memory barriers. Add comments.
22644 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22645 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22646 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22647 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22648 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22649 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22650
22651 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22652
22653 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22654 * sysdeps/s390/s390-64/configure.ac: ... this ...
22655 * sysdeps/s390/configure.ac: ... to here.
22656 * sysdeps/s390/s390-32/configure: Delete file.
22657 * sysdeps/s390/s390-64/configure: Delete file.
22658 * sysdeps/s390/configure: Regenerate.
22659
22660 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22661
22662 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22663
22664 2014-04-11 Will Newton <will.newton@linaro.org>
22665
22666 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22667 to zero if it is not defined elsewhere. (mtrim): Test
22668 the value of MALLOC_DEBUG with #if rather than #ifdef.
22669
22670 2014-04-10 Torvald Riegel <triegel@redhat.com>
22671
22672 * benchtests/pthread_once-inputs: New file.
22673 * benchtests/pthread_once-source.c: New file.
22674 * benchtests/README: Update documentation.
22675
22676 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22677 H.J. Lu <hongjiu.lu@intel.com>
22678
22679 [BZ #16275]
22680 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22681 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22682 * sysdeps/x86_64/configure: Regenerated.
22683 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22684 macro.
22685 (REGISTER_SAVE_RAX): Likewise.
22686 (REGISTER_SAVE_RCX): Likewise.
22687 (REGISTER_SAVE_RDX): Likewise.
22688 (REGISTER_SAVE_RSI): Likewise.
22689 (REGISTER_SAVE_RDI): Likewise.
22690 (REGISTER_SAVE_R8): Likewise.
22691 (REGISTER_SAVE_R9): Likewise.
22692 (REGISTER_SAVE_BND0): Likewise.
22693 (REGISTER_SAVE_BND1): Likewise.
22694 (REGISTER_SAVE_BND2): Likewise.
22695 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22696 bound registers when calling _dl_fixup.
22697
22698 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22699
22700 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22701 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22702 of its definition.
22703 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22704 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22705 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22706 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22707 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22708 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22709 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22710
22711 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22712
22713 [BZ #15514]
22714 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22715 pathconf(_PC_NAME_MAX).
22716
22717 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22718
22719 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22720 Remove macro usage.
22721 (__PTHREAD_SPINS): Move definition to ...
22722 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22723 (__PTHREAD_SPINS): ... here.
22724 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22725 (__PTHREAD_SPIN): Likewise.
22726 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22727 (__PTHREAD_SPIN): Likewise.
22728 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22729 (__PTHREAD_SPIN): Likewise.
22730 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22731 (__PTHREAD_SPIN): Likewise.
22732 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22733 (__PTHREAD_SPIN): Likewise.
22734 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22735 (__PTHREAD_SPIN): Likewise.
22736 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22737 (__PTHREAD_SPIN): Likewise.
22738 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22739 (__PTHREAD_SPIN): Likewise.
22740 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22741 (__PTHREAD_SPIN): Likewise.
22742 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22743 (__PTHREAD_SPIN): Likewise.
22744 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22745 (__PTHREAD_SPIN): Likewise.
22746 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22747 (__PTHREAD_SPIN): Likewise.
22748
22749 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22750 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22751 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22752 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22753 imply folder.
22754 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22755 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22756 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22757 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22758 correct imply path.
22759 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22760 strlen symbol for non multi-arch builds.
22761 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22762 missing hidden_def and weak_alias.
22763
22764 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22765
22766 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22767
22768 2014-04-07 Will Newton <will.newton@linaro.org>
22769
22770 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22771 and contents. [!_LIBC] Remove #ifndef and contents.
22772 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22773 * string/memccpy.c (__memccpy): Use ANSI prototype.
22774 * string/memfrob.c (memfrob): Likewise.
22775 * string/strcoll.c (STRCOLL): Likewise.
22776 * string/strlen.c (strlen): Likewise.
22777 * string/strtok.c (STRTOK): Likewise.
22778 * string/strcat.c: Remove unused #include of memcopy.h.
22779 (strcat): Use ANSI prototype.
22780 * string/strchr.c: Remove unused #include of memcopy.h.
22781 (strchr): Use ANSI prototype.
22782 * string/strcmp.c: Remove unused #include of memcopy.h.
22783 (strcmp): Use ANSI prototype.
22784 * string/strcpy.c: Remove unused #include of memcopy.h.
22785 (strcpy): Use ANSI prototype.
22786
22787 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22788
22789 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22790 * config.make.in (config-extra-cppflags): Set it from
22791 libc_extra_cppflags.
22792 * configure.ac (libc_extra_cflags): Make it accumulate over
22793 configure fragments.
22794 (libc_extra_cppflags): New flag.
22795 * configure. Regenerate.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22797 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22798 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22800
22801 [BZ #16815]
22802 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22803 result for FE_DOWNWARD rounding mode.
22804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22805 Likewise.
22806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22807
22808 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22809
22810 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22811 in function argument name.
22812
22813 2014-04-03 David Svoboda <svoboda@cert.org>
22814
22815 [BZ #5666]
22816 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22817 explicitly.
22818
22819 2014-04-03 Roland McGrath <roland@hack.frob.com>
22820
22821 * elf/dl-unmap-segments.h: New file.
22822 * sysdeps/generic/ldsodefs.h
22823 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22824 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22825 * elf/dl-fptr.c: Likewise.
22826 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22827 * sysdeps/aarch64/tlsdesc.c: Likewise.
22828 * sysdeps/arm/tlsdesc.c: Likewise.
22829 * sysdeps/i386/tlsdesc.c: Likewise.
22830 * sysdeps/tile/dl-runtime.c: Likewise.
22831 * sysdeps/x86_64/tlsdesc.c: Likewise.
22832 * elf/dl-load.h: New file.
22833 * elf/dl-load.c: Include it.
22834 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22835 Macros moved to dl-load.h.
22836 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22837 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22838 Use _dl_unmap_segments in place of __munmap.
22839 Break out segment-mapping loop into ...
22840 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22841
22842 2014-04-03 Will Newton <will.newton@linaro.org>
22843
22844 * elf/dl-lookup.c (do_lookup_x): Remove comment
22845 referring to nested function and move variable
22846 declarations down to before first use.
22847
22848 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22849
22850 [BZ #16799]
22851 [BZ #16800]
22852 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22853 with 0 numerator.
22854 * math/s_catanf.c (__catanf): Likewise.
22855 * math/s_catanh.c (__catanh): Likewise.
22856 * math/s_catanhf.c (__catanhf): Likewise.
22857 * math/s_catanhl.c (__catanhl): Likewise.
22858 * math/s_catanl.c (__catanl): Likewise.
22859 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22860 by positive zero when computing -Inf result.
22861 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22862 (catanh_test): Likewise.
22863 * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22865
22866 [BZ #16789]
22867 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22868 instead of using underflowing value in computing result.
22869 * math/s_clog10.c (__clog10): Likewise.
22870 * math/s_clog10f.c (__clog10f): Likewise.
22871 * math/s_clog10l.c (__clog10l): Likewise.
22872 * math/s_clogf.c (__clogf): Likewise.
22873 * math/s_clogl.c (__clogl): Likewise.
22874 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22875 (clog10_test): Likewise.
22876 * sysdeps/i386/fpu/libm-test-ulps: Update.
22877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22878
22879 2014-04-02 Alan Modra <amodra@gmail.com>
22880
22881 [BZ #16739]
22882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22883 output when value is near a power of two. Use int64_t for lx and
22884 remove casts. Use decimal rather than hex exponent constants.
22885 Don't use long double multiplication when double will suffice.
22886 * math/libm-test.inc (nextafter_test_data): Add tests.
22887 * NEWS: Add 16739 and 16786 to bug list.
22888
22889 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22890
22891 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22892
22893 2014-04-01 Will Newton <will.newton@linaro.org>
22894
22895 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22896 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22897
22898 2014-04-01 Florian Weimer <fweimer@redhat.com>
22899
22900 [BZ #13347]
22901 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22902 * nptl/tst-setuid2.c: New file.
22903 * nptl/Makefile (xtests): Add tst-setuid2.
22904
22905 2014-04-01 Alan Modra <amodra@gmail.com>
22906
22907 [BZ #16786]
22908 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22909
22910 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22911
22912 [BZ #6803]
22913 [BZ #6804]
22914 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22915 set errno as appropriate.
22916 * math/w_scalbf.c (__scalbf): Likewise.
22917 * math/w_scalbl.c (__scalbl): Likewise.
22918 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22919 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22920 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22921 Add more NaN tests.
22922
22923 [BZ #16349]
22924 * math/w_atan2.c: Include <errno.h>.
22925 (__atan2): Set errno for result underflowing to zero.
22926 * math/w_atan2f.c: Include <errno.h>.
22927 (__atan2f): Set errno for result underflowing to zero.
22928 * math/w_atan2l.c: Include <errno.h>.
22929 (__atan2l): Set errno for result underflowing to zero.
22930 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22931 tests.
22932 * math/auto-libm-test-out: Regenerated.
22933
22934 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22935
22936 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22937 Encode instruction correctly in little endian.
22938 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22939 Likewise.
22940 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22941 Likewise.
22942 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22943 Likewise.
22944 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22945 Likewise.
22946
22947 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22948
22949 [BZ #9894]
22950 * sysdeps/unix/sysv/linux/kernel-features.h
22951 [__sparc__ && !__arch64__ && !__sparc_v9__]
22952 (__ASSUME_SET_ROBUST_LIST): Do not define.
22953 [__sparc__ && !__arch64__ && !__sparc_v9__]
22954 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22955 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22956 Likewise.
22957 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22958 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22959 (__ASSUME_REQUEUE_PI): Likewise.
22960 (__ASSUME_SET_ROBUST_LIST): Likewise.
22961 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22962 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22963 Undefine.
22964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22965 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22966 Likewise.
22967 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22968 Likewise.
22969 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22970 Likewise.
22971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22972 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22973 Undefine.
22974 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22975 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22976 Likewise.
22977
22978 [BZ #16648]
22979 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22980 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22981 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22982
22983 2014-03-31 Will Newton <will.newton@linaro.org>
22984
22985 * benchtests/Makefile (bench): Add ffs and ffsll to list
22986 of tests.
22987 * benchtests/ffs-inputs: New file.
22988 * benchtests/ffsll-inputs: Likewise.
22989
22990 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22991
22992 [BZ #16770]
22993 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22994 too large before casting to int.
22995 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22996 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22997 * math/libm-test.inc (scalb_test_data): Add more tests.
22998
22999 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23000
23001 * benchtests/Makefile (DETAILED_OPT): New make option.
23002 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23003 set.
23004 * benchtests/bench-skeleton.c: Include stdbool.h.
23005 (main): Store and print timings per input.
23006 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23007 member to each argument value.
23008 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23009 (_print_arg_data): Initialize per-input timing to 0.
23010
23011 * benchtests/Makefile (timing-type): New binary.
23012 (bench-clean): Also remove bench-timing-type.
23013 (bench): New target for timing-type.
23014 (bench-func): Print output in JSON format.
23015 * benchtests/bench-skeleton.c (main): Print output in JSON
23016 format.
23017 * benchtests/bench-timing-type.c: New file.
23018 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23019 (TIMING_PRINT_STATS): Remove.
23020 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23021 name separately.
23022
23023 * benchtests/bench-modf.c: Remove.
23024 * benchtests/modf-inputs: New inputs file.
23025
23026 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23027
23028 [BZ #16362]
23029 * math/s_clog10.c (M_PI_LOG10E): New macro.
23030 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23031 imaginary parts are 0.
23032 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23033 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23034 imaginary parts are 0.
23035 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23036 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23037 imaginary parts are 0.
23038 * math/libm-test.inc (clog10_test_data): Update expected results
23039 for when real and imaginary parts are 0.
23040
23041 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23042
23043 * elf/dl-load.c: Finish conversion of __builtin_expect into
23044 __glibc_{un}likely.
23045
23046 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23047
23048 [BZ #16348]
23049 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23050 1+x for argument with exponent below -67.
23051 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23052 Likewise.
23053 * math/auto-libm-test-in: Add more tests of exp.
23054 * math/auto-libm-test-out: Regenerated.
23055
23056 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23057
23058 [BZ #16759]
23059 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23060 (nscd_getnetgrent): Use it.
23061
23062 [BZ #16760]
23063 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23064 of stpcpy.
23065
23066 2014-03-27 Andi Kleen <ak@linux.intel.com>
23067
23068 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23069 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23070 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23071 (lll_robust_unlock): Remove out of line section. Use cfi
23072 intrinsics.
23073 (LLL_STUB_UNWIND_INFO*): Remove.
23074 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23075 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23076 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23077 (lll_robust_unlock): Remove out of line section. Use cfi
23078 intrinsics.
23079 (LLL_STUB_UNWIND_INFO*): Remove.
23080
23081 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23082
23083 [BZ #16758]
23084 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23085 blank values.
23086
23087 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23088
23089 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23090
23091 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23092
23093 [BZ #16198]
23094 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23095 fnstenv.
23096 * math/test-fenv-preserve.c: New file.
23097 * math/Makefile (tests): Add test-fenv-preserve.
23098
23099 2014-03-26 Will Newton <will.newton@linaro.org>
23100
23101 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23102
23103 2014-03-25 Roland McGrath <roland@hack.frob.com>
23104
23105 * scripts/versionlist.awk: Partition the version sets and emit all
23106 GLIBC_* (sorted) before all others (sorted).
23107
23108 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23109
23110 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23111 GLIBC_2.2.5 version.
23112
23113 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23114
23115 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23116 calls.
23117
23118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23119 previous change.
23120
23121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23122
23123 2014-03-25 Andreas Schwab <schwab@suse.de>
23124
23125 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23126 label to be used after in6ailist is initialized.
23127
23128 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23129
23130 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23131 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23132
23133 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23134
23135 [BZ #16357]
23136 [BZ #16599]
23137 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23138 min_plus_half.
23139 (fp_formats): Update initializers.
23140 (init_fp_formats): Initialize new field.
23141 (output_for_one_input_case): Allow underflow for results up to
23142 min_plus_half.
23143 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23144 * math/auto-libm-test-in: Don't mark some underflows from asin and
23145 atanh as spurious.
23146 * math/auto-libm-test-out: Regenerated.
23147 * sysdeps/i386/fpu/libm-test-ulps: Update.
23148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23149
23150 2014-03-25 Andreas Schwab <schwab@suse.de>
23151
23152 * libio/Makefile (tst-ftell-partial-wide-ENV)
23153 (tst-ftell-active-handler-ENV): Define.
23154
23155 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23156
23157 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23158
23159 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23160
23161 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23162
23163 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23164
23165 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23166 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23167 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23168
23169 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23170
23171 [BZ #16634]
23172 * elf/dl-load.c (open_verify): Add mode parameter.
23173 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23174 (open_path): Change from boolean 'secure' to complete flag 'mode'
23175 (_dl_map_object): Adjust.
23176 * elf/Makefile (tests): Add tst-dlopen-aout.
23177 * elf/tst-dlopen-aout.c: New test.
23178
23179 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23180
23181 [BZ #16714]
23182 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23183 (struct stat): Rename member pad0 to __glibc_reserved0.
23184
23185 [BZ #16712]
23186 * sysdeps/s390/s390-32/bits/wordsize.h
23187 (__WORDSIZE32_SIZE_ULONG): New define.
23188 * sysdeps/s390/s390-64/bits/wordsize.h
23189 (__WORDSIZE32_SIZE_ULONG): Likewise.
23190 * sysdeps/generic/stdint.h (SIZE_MAX):
23191 Define as UL if __WORDSIZE32_SIZE_ULONG.
23192
23193 [BZ #16713]
23194 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23195 (__glibc_reserved0): New variable.
23196 (sa_flags): Change type to int.
23197
23198 * posix/Makefile (before-compile): Use += before-compile instead
23199 of a :=.
23200
23201 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23202 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23203
23204 2014-03-20 Andreas Schwab <schwab@suse.de>
23205
23206 [BZ #16743]
23207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23208 non-matching result from nscd.
23209
23210 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23211
23212 * scripts/bench.py: Moved to ...
23213 * benchtests/scripts/bench.py: ... here.
23214 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23215
23216 2014-03-24 Andreas Schwab <schwab@suse.de>
23217
23218 [BZ #16002]
23219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23220 alloca_account and account alloca use for struct in6ailist.
23221
23222 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23223
23224 [BZ #16284]
23225 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23226 rounding mode to recompute results that overflow to infinity or
23227 underflow to zero.
23228 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23229 bug 16284.
23230 * math/auto-libm-test-out: Regenerated.
23231 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23232 (ccosh_test): Likewise.
23233 (csin_test_data): Use plus_oflow.
23234 (csin_test): Use ALL_RM_TEST.
23235 (csinh_test_data): Use plus_oflow.
23236 (csinh_test): Use ALL_RM_TEST.
23237 * sysdeps/i386/fpu/libm-test-ulps: Update.
23238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239
23240 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23241
23242 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23243 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23244 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23245
23246 [BZ #16731]
23247 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23248 when x - 1 is zero.
23249 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23250 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23251 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23252 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23253 argument is 1.
23254 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23255 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23256 zero.
23257 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23258 * sysdeps/i386/fpu/libm-test-ulps: Update.
23259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23260
23261 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23262
23263 * scripts/bench.pl: Remove file.
23264 * scripts/bench.py: New benchmark script.
23265 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23266 * benchtests/README: Mention python dependency.
23267 * scripts/pylintrc: New file.
23268 * scripts/pylint: New file.
23269
23270 * bits/mathdef.h: Use #ifdef instead of #if.
23271 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23272 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23273 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23274 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23275 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23276 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23277
23278 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23279 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23280
23281 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23283 and strpbrk-ppc64 objects.
23284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23285 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23286 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23287 multiarch strpbrk for POWER7.
23288 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23289 multiarch strpbrk for PPC64.
23290 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23291 ifunc selector.
23292 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23293 strpbrk for POWER7.
23294
23295 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23296
23297 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23298 (atan_test): Likewise.
23299 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23300 (atanh_test): Use ALL_RM_TEST.
23301 (atan2_test_data): Likewise.
23302 (cabs_test): Likewise.
23303 (cacosh_test): Likewise.
23304 (carg_test): Likewise.
23305 (casin_test): Likewise.
23306 (casinh_test): Likewise.
23307 (cbrt_test): Likewise.
23308 (csqrt_test): Likewise.
23309 (erf_test): Likewise.
23310 (erfc_test): Likewise.
23311 (pow10_test): Likewise.
23312 (exp2_test): Likewise.
23313 (hypot_test): Likewise.
23314 (j0_test): Likewise.
23315 (j1_test): Likewise.
23316 (lgamma_test): Likewise.
23317 (gamma_test): Likewise.
23318 (sincos_test): Likewise.
23319 (tanh_test): Likewise.
23320 (y0_test): Likewise.
23321 (y1_test): Likewise.
23322 * sysdeps/i386/fpu/libm-test-ulps: Update.
23323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23324
23325 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23326
23327 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23329 and strcspn-ppc64 objects.
23330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23331 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23332 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23333 multiarch strcspn for POWER7.
23334 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23335 multiarch strcspn for PPC64.
23336 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23337 ifunc selector.
23338 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23339 strcspn for POWER7.
23340
23341 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23342
23343 * math/gen-libm-test.pl (generate_testfile): Expect only function
23344 name as argument to AUTO_TESTS_* and pass results for all rounding
23345 modes to parse_args.
23346 (parse_auto_input): Separate inputs of automatic tests from
23347 outputs before storing in %auto_tests.
23348 * math/libm-test.inc (acos_test_data): Update call to
23349 AUTO_TESTS_f_f.
23350 (acos_test): Use ALL_RM_TEST.
23351 (acos_tonearest_test_data): Remove.
23352 (acos_test_tonearest): Likewise.
23353 (acos_towardzero_test_data): Likewise.
23354 (acos_test_towardzero): Likewise.
23355 (acos_downward_test_data): Likewise.
23356 (acos_test_downward): Likewise.
23357 (acos_upward_test_data): Likewise.
23358 (acos_test_upward): Likewise.
23359 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23360 (asin_test_data): Likewise.
23361 (asin_test): Use ALL_RM_TEST.
23362 (asin_tonearest_test_data): Remove.
23363 (asin_test_tonearest): Likewise.
23364 (asin_towardzero_test_data): Likewise.
23365 (asin_test_towardzero): Likewise.
23366 (asin_downward_test_data): Likewise.
23367 (asin_test_downward): Likewise.
23368 (asin_upward_test_data): Likewise.
23369 (asin_test_upward): Likewise.
23370 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23371 (atan_test_data): Likewise.
23372 (atanh_test_data): Likewise.
23373 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23374 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23375 (carg_test_data): Likewise.
23376 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23377 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23378 (ccosh_test_data): Likewise.
23379 (cexp_test_data): Likewise.
23380 (clog_test_data): Likewise.
23381 (clog10_test_data): Likewise.
23382 (cos_test_data): Update call to AUTO_TESTS_f_f.
23383 (cos_test): Use ALL_RM_TEST.
23384 (cos_tonearest_test_data): Remove.
23385 (cos_test_tonearest): Likewise.
23386 (cos_towardzero_test_data): Likewise.
23387 (cos_test_towardzero): Likewise.
23388 (cos_downward_test_data): Likewise.
23389 (cos_test_downward): Likewise.
23390 (cos_upward_test_data): Likewise.
23391 (cos_test_upward): Likewise.
23392 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23393 (cosh_test): Use ALL_RM_TEST.
23394 (cosh_tonearest_test_data): Remove.
23395 (cosh_test_tonearest): Likewise.
23396 (cosh_towardzero_test_data): Likewise.
23397 (cosh_test_towardzero): Likewise.
23398 (cosh_downward_test_data): Likewise.
23399 (cosh_test_downward): Likewise.
23400 (cosh_upward_test_data): Likewise.
23401 (cosh_test_upward): Likewise.
23402 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23403 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23404 (ctan_test_data): Likewise.
23405 (ctan_test): Use ALL_RM_TEST.
23406 (ctan_tonearest_test_data): Remove.
23407 (ctan_test_tonearest): Likewise.
23408 (ctan_towardzero_test_data): Likewise.
23409 (ctan_test_towardzero): Likewise.
23410 (ctan_downward_test_data): Likewise.
23411 (ctan_test_downward): Likewise.
23412 (ctan_upward_test_data): Likewise.
23413 (ctan_test_upward): Likewise.
23414 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23415 (ctanh_test): Use ALL_RM_TEST.
23416 (ctanh_tonearest_test_data): Remove.
23417 (ctanh_test_tonearest): Likewise.
23418 (ctanh_towardzero_test_data): Likewise.
23419 (ctanh_test_towardzero): Likewise.
23420 (ctanh_downward_test_data): Likewise.
23421 (ctanh_test_downward): Likewise.
23422 (ctanh_upward_test_data): Likewise.
23423 (ctanh_test_upward): Likewise.
23424 (erf_test_data): Update call to AUTO_TESTS_f_f.
23425 (erfc_test_data): Likewise.
23426 (exp_test_data): Likewise.
23427 (exp_test): Use ALL_RM_TEST.
23428 (exp_tonearest_test_data): Remove.
23429 (exp_test_tonearest): Likewise.
23430 (exp_towardzero_test_data): Likewise.
23431 (exp_test_towardzero): Likewise.
23432 (exp_downward_test_data): Likewise.
23433 (exp_test_downward): Likewise.
23434 (exp_upward_test_data): Likewise.
23435 (exp_test_upward): Likewise.
23436 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23437 (exp10_test): Use ALL_RM_TEST.
23438 (exp10_tonearest_test_data): Remove.
23439 (exp10_test_tonearest): Likewise.
23440 (exp10_towardzero_test_data): Likewise.
23441 (exp10_test_towardzero): Likewise.
23442 (exp10_downward_test_data): Likewise.
23443 (exp10_test_downward): Likewise.
23444 (exp10_upward_test_data): Likewise.
23445 (exp10_test_upward): Likewise.
23446 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23447 (expm1_test_data): Likewise.
23448 (expm1_test): Use ALL_RM_TEST.
23449 (expm1_tonearest_test_data): Remove.
23450 (expm1_test_tonearest): Likewise.
23451 (expm1_towardzero_test_data): Likewise.
23452 (expm1_test_towardzero): Likewise.
23453 (expm1_downward_test_data): Likewise.
23454 (expm1_test_downward): Likewise.
23455 (expm1_upward_test_data): Likewise.
23456 (expm1_test_upward): Likewise.
23457 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23458 (fma_test): Use ALL_RM_TEST.
23459 (fma_towardzero_test_data): Remove.
23460 (fma_test_towardzero): Likewise.
23461 (fma_downward_test_data): Likewise.
23462 (fma_test_downward): Likewise.
23463 (fma_upward_test_data): Likewise.
23464 (fma_test_upward): Likewise.
23465 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23466 (j0_test_data): Update call to AUTO_TESTS_f_f.
23467 (j1_test_data): Likewise.
23468 (jn_test_data): Update call to AUTO_TESTS_if_f.
23469 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23470 (log_test_data): Update call to AUTO_TESTS_f_f.
23471 (log10_test_data): Likewise.
23472 (log1p_test_data): Likewise.
23473 (log2_test_data): Likewise.
23474 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23475 (pow_tonearest_test_data): Likewise.
23476 (sin_test_data): Update call to AUTO_TESTS_f_f.
23477 (sin_test): Use ALL_RM_TEST.
23478 (sin_tonearest_test_data): Remove.
23479 (sin_test_tonearest): Likewise.
23480 (sin_towardzero_test_data): Likewise.
23481 (sin_test_towardzero): Likewise.
23482 (sin_downward_test_data): Likewise.
23483 (sin_test_downward): Likewise.
23484 (sin_upward_test_data): Likewise.
23485 (sin_test_upward): Likewise.
23486 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23487 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23488 (sinh_test): Use ALL_RM_TEST.
23489 (sinh_tonearest_test_data): Remove.
23490 (sinh_test_tonearest): Likewise.
23491 (sinh_towardzero_test_data): Likewise.
23492 (sinh_test_towardzero): Likewise.
23493 (sinh_downward_test_data): Likewise.
23494 (sinh_test_downward): Likewise.
23495 (sinh_upward_test_data): Likewise.
23496 (sinh_test_upward): Likewise.
23497 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23498 (sqrt_test): Use ALL_RM_TEST.
23499 (sqrt_tonearest_test_data): Remove.
23500 (sqrt_test_tonearest): Likewise.
23501 (sqrt_towardzero_test_data): Likewise.
23502 (sqrt_test_towardzero): Likewise.
23503 (sqrt_downward_test_data): Likewise.
23504 (sqrt_test_downward): Likewise.
23505 (sqrt_upward_test_data): Likewise.
23506 (sqrt_test_upward): Likewise.
23507 (tan_test_data): Update call to AUTO_TESTS_f_f.
23508 (tan_test): Use ALL_RM_TEST.
23509 (tan_tonearest_test_data): Remove.
23510 (tan_test_tonearest): Likewise.
23511 (tan_towardzero_test_data): Likewise.
23512 (tan_test_towardzero): Likewise.
23513 (tan_downward_test_data): Likewise.
23514 (tan_test_downward): Likewise.
23515 (tan_upward_test_data): Likewise.
23516 (tan_test_upward): Likewise.
23517 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23518 (tgamma_test_data): Likewise.
23519 (y0_test_data): Likewise.
23520 (y1_test_data): Likewise.
23521 (yn_test_data): Update call to AUTO_TESTS_if_f.
23522 (main): Do not call removed functions.
23523
23524 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23525
23526 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23527 (ldexp_test_data): Remove.
23528 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23529 scalbn_test_data.
23530 (scalb_test): Use ALL_RM_TEST.
23531
23532 2014-03-19 Andreas Schwab <schwab@suse.de>
23533
23534 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23535
23536 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23537
23538 [BZ #16649]
23539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23540 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23541 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23542 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23543 (__ASSUME_PREADV): Undefine.
23544 (__ASSUME_PWRITEV): Likewise.
23545
23546 2014-03-18 Roland McGrath <roland@hack.frob.com>
23547
23548 * bits/mman-linux.h: Add comment about non-Linux use.
23549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23550 bits/mman-linux.h resting place.
23551
23552 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23553 * bits/mman-linux.h: ... here.
23554
23555 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23556
23557 * conform/conformtest.pl: Add standard definition when calling C
23558 preprocessor on data files.
23559 (checknamespace): Remove unused variable.
23560
23561 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23562
23563 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23564 minus_oflow, plus_uflow and minus_uflow in expected results.
23565 * math/libm-test.inc (scalbn_test_data): Add more tests of
23566 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23567 minus_uflow.
23568 (scalbn_test): Use ALL_RM_TEST.
23569 (scalbln_test_data): Add more tests of negative arguments. Use
23570 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23571 (scalbln_test): Use ALL_RM_TEST.
23572
23573 2014-03-18 Roland McGrath <roland@hack.frob.com>
23574
23575 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23576
23577 2014-03-18 Will Newton <will.newton@linaro.org>
23578
23579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23580 inaccurate comment.
23581
23582 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23583
23584 * Makerules [!subdir] (check-abi): Exit with error status if a
23585 test failed.
23586
23587 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23588
23589 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23590 for rint. Include results for all rounding modes.
23591 (nearbyint_test): Use ALL_RM_TEST.
23592 (rint_test_data): Include all tests used for nearbyint.
23593
23594 2014-03-17 Will Newton <will.newton@linaro.org>
23595
23596 * nptl/sysdeps/pthread/pthread.h: Revert previous
23597 change.
23598
23599 * sysdeps/generic/ldsodefs.h: Revert previous
23600 change.
23601
23602 * libio/genops.c: Revert previous change.
23603 * libio/libioP.h: Likewise.
23604 * stdio-common/vfprintf.c: Likewise.
23605
23606 * sysdeps/generic/math_private.h: Revert previous
23607 change.
23608
23609 * sysdeps/generic/math_private.h: Check whether
23610 HAVE_RM_CTX is defined with #ifdef rather
23611 than #if.
23612
23613 * argp/argp-fmtstream.h: Check whether
23614 __STRICT_ANSI__ is defined with #ifdef rather
23615 than #if.
23616 * argp/argp.h: Likewise.
23617
23618 * libio/genops.c: Check whether
23619 _IO_JUMPS_OFFSET is defined with #ifdef rather
23620 than #if.
23621 * libio/libioP.h: Likewise.
23622 * stdio-common/vfprintf.c: Likewise.
23623
23624 * sysdeps/generic/ldsodefs.h: Check whether
23625 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23626 than #if.
23627
23628 * nptl/sysdeps/pthread/pthread.h: Check
23629 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23630 its value.
23631
23632 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23633
23634 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23635 setting O_APPEND.
23636 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23637 test case.
23638
23639 [BZ #16680]
23640 * libio/fileops.c (_IO_file_open): Seek to end of file but
23641 don't cache the offset.
23642 (get_file_offset): Remove function.
23643 (do_ftell): Use cached offset when available.
23644 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23645 don't cache the offset.
23646 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23647 case.
23648 (do_one_test): Call it.
23649 (do_ftell_test): Fix up expected old offset for a+ mode.
23650 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23651 available.
23652
23653 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23654 up test status with function return status.
23655 (do_write_test): Likewise.
23656 (do_append_test): Likewise.
23657
23658 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23659 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23660 Remove.
23661
23662 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23663
23664 * math/gen-libm-test.pl (parse_args): Handle results specified for
23665 each rounding mode separately.
23666 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23667 tests and results from lrint_tonearest_test_data,
23668 lrint_towardzero_test_data, lrint_downward_test_data and
23669 lrint_upward_test_data.
23670 (lrint_test): Use ALL_RM_TEST.
23671 (lrint_tonearest_test_data): Remove.
23672 (lrint_test_tonearest): Likewise.
23673 (lrint_towardzero_test_data): Likewise.
23674 (lrint_test_towardzero): Likewise.
23675 (lrint_downward_test_data): Likewise.
23676 (lrint_test_downward): Likewise.
23677 (lrint_upward_test_data): Likewise.
23678 (lrint_test_upward): Likewise.
23679 (llrint_test_data): Merge in per-rounding-mode tests and results
23680 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23681 llrint_downward_test_data and llrint_upward_test_data.
23682 (llrint_test): Use ALL_RM_TEST.
23683 (llrint_tonearest_test_data): Remove.
23684 (llrint_test_tonearest): Likewise.
23685 (llrint_towardzero_test_data): Likewise.
23686 (llrint_test_towardzero): Likewise.
23687 (llrint_downward_test_data): Likewise.
23688 (llrint_test_downward): Likewise.
23689 (llrint_upward_test_data): Likewise.
23690 (llrint_test_upward): Likewise.
23691 (rint_test_data): Merge in per-rounding-mode tests and results
23692 from rint_tonearest_test_data, rint_towardzero_test_data,
23693 rint_downward_test_data and rint_upward_test_data. Add
23694 per-rounding-mode results for tests not in those arrays.
23695 (rint_test): Use ALL_RM_TEST.
23696 (rint_tonearest_test_data): Remove.
23697 (rint_test_tonearest): Likewise.
23698 (rint_towardzero_test_data): Likewise.
23699 (rint_test_towardzero): Likewise.
23700 (rint_downward_test_data): Likewise.
23701 (rint_test_downward): Likewise.
23702 (rint_upward_test_data): Likewise.
23703 (rint_test_upward): Likewise.
23704 (main): Don't call removed functions.
23705
23706 2014-03-14 Roland McGrath <roland@hack.frob.com>
23707
23708 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23709 "Compiled on ..." crapola. It is anti-useful.
23710
23711 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23712
23713 * scripts/evaluate-test.sh: Handle fourth argument to determine
23714 whether test run should stop on failure.
23715 * Makeconfig (stop-on-test-failure): New variable.
23716 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23717 $(stop-on-test-failure).
23718 * Makefile (tests): Give a summary of results from testing and
23719 exit with failure status if they include an ERROR or FAIL.
23720 (xtests): Likewise.
23721 * manual/install.texi (Configuring and compiling): Mention
23722 stop-on-test-failure=y.
23723 * INSTALL: Regenerated.
23724
23725 2014-03-14 Roland McGrath <roland@hack.frob.com>
23726
23727 * scripts/versionlist.awk: New file.
23728 * Makerules [$(build-shared) = yes]
23729 (postclean-generated): Add Versions.def, not Versions.def.v and
23730 Versions.def.v.i.
23731 ($(common-objpfx)Versions.def.v.i): Target removed.
23732 ($(common-objpfx)Versions.def): New target.
23733 ($(common-objpfx)Versions.all): Depend on that rather that
23734 $(common-objpfx)Versions.def.v.
23735 * Versions.def: File removed.
23736
23737 * Makeconfig (+gccwarn): Add -Wundef.
23738 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23739 a dl-sysdep.h breaking its contract.
23740 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23741 * include/stackinfo.h: New file.
23742 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23743 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23744 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23745 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23746 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23747 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23748 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23749 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23750 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23751 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23752 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23753 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23754 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23755 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23756 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23757
23758 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23759
23760 [BZ #16707]
23761 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23762 implementation.
23763 * math/libm-test.inc (round_test_data): Add more tests.
23764
23765 [BZ #16706]
23766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23767 implementation.
23768 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23769
23770 [BZ #16701]
23771 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23772 implementation.
23773 * math/libm-test.inc (ceil_test_data): Add more tests.
23774
23775 * math/libm-test.inc (trunc_test_data): Add more tests related to
23776 BZ#16414.
23777
23778 2014-03-14 Roland McGrath <roland@hack.frob.com>
23779
23780 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23781 with #if rather than #ifdef.
23782 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23783
23784 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23787 first. Disable AVX-512 GCC support if assembler doesn't support
23788 it.
23789 * sysdeps/x86_64/configure: Regenerated.
23790
23791 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23792
23793 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23794 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23795 (__old_pthread_attr_setstack): Likewise.
23796 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23797 [!_STACK_GROWS_DOWN]: Likewise.
23798
23799 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23800
23801 * config.make.in (have-bash2): Delete.
23802 * configure.ac (libc_cv_have_bash2): Delete.
23803 * configure: Regenerate.
23804 * elf/Makefile (common-ldd-rewrite): Rename to ...
23805 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23806 (sh-ldd-rewrite): Delete.
23807 (bash-ldd-rewrite): Delete.
23808 (have-bash2): Delete checks.
23809 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23810 ldd-rewrite.
23811
23812 * config.make.in (have-ksh): Delete.
23813 (KSH): Delete.
23814 * configure.ac (libc_cv_have_ksh): Delete.
23815 * configure: Regenerate.
23816
23817 * elf/Makefile: Delete $(have-ksh) check.
23818 ($(objpfx)sotruss): Change KSH to BASH.
23819 * elf/sotruss.ksh: Rename to ...
23820 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23821 function style to match POSIX. Drop ksh vim mode setting.
23822
23823 * manual/time.texi (Specifying the Time Zone with TZ): Change
23824 Tuesday to Thursday.
23825
23826 * debug/tst-longjmp_chk2.c: Update header comment.
23827 (stackoverflow_handler): Add comment. Call assert on pass value.
23828
23829 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23830
23831 [BZ #16194]
23832 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23833 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23834 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23835 (La_x86_64_vector): Add zmm.
23836 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23837 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23838 ($(objpfx)tst-audit10): New target.
23839 ($(objpfx)tst-audit10.out): Likewise.
23840 (tst-audit10-ENV): New.
23841 (AVX512-CFLAGS): Likewise.
23842 (CFLAGS-tst-audit10.c): Likewise.
23843 (CFLAGS-tst-auditmod10a.c): Likewise.
23844 (CFLAGS-tst-auditmod10b.c): Likewise.
23845 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23846 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23847 * sysdeps/x86_64/configure: Regenerated.
23848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23849 AVX-512 zmm register support.
23850 (_dl_x86_64_save_sse): Likewise.
23851 (_dl_x86_64_restore_sse): Likewise.
23852 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23853 size vector registers.
23854 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23855 (ZMM_SIZE): Likewise.
23856 * sysdeps/x86_64/tst-audit10.c: New file.
23857 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23858 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23859
23860 2014-03-13 Roland McGrath <roland@hack.frob.com>
23861
23862 * configure.ac (HAVE_EHDR_START): New check.
23863 * configure: Regenerated.
23864 * config.h.in (HAVE_EHDR_START): New #undef.
23865 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23866 assuming the lowest-addressed segment maps the start of the file.
23867
23868 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23869
23870 * INSTALL: Regenerated.
23871
23872 2014-03-13 Will Newton <will.newton@linaro.org>
23873
23874 * manual/setjmp.texi (System V contexts): Improve
23875 clarity and grammar of documentation.
23876
23877 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23878
23879 [BZ #16381]
23880 * elf/Makefile (tests): Add tst-pie2.
23881 (tests-pie): Add tst-pie2.
23882 * elf/tst-pie2.c: New file.
23883 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23884 for ET_EXEC.
23885 * elf/rtld.c (map_doit): Load executable as lt_executable.
23886 (dl_main): Likewise.
23887
23888 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23889
23890 [BZ #16642]
23891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23892 (__ASSUME_PSELECT): Undefine.
23893
23894 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23895
23896 [BZ #16689]
23897 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23898 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23899 static build.
23900 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23901 selector for static builds.
23902
23903 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23904
23905 [BZ #16695]
23906 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23907 key in the buffer.
23908
23909 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23910
23911 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23912 IFUNC selector for static builds.
23913
23914 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23915
23916 * sysdeps/mips/math_private.h [__mips_hard_float]
23917 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23918 libc_feresetround_mips_ctx.
23919 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23920 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23921 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23922
23923 [BZ #16677]
23924 * math/s_nextafter.c (__nextafter): Do not return value from
23925 overflowing computation.
23926 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23927 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23928 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23929 Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23931 Likewise.
23932 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23933 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23934
23935 2014-03-11 Roland McGrath <roland@hack.frob.com>
23936
23937 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23938 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23939 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23940 the new mov targetting sp.
23941
23942 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23943
23944 [BZ #16683]
23945 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23946 Define it for static builds as well.
23947 (NO_BZERO_IMPL): Likewise.
23948
23949 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23950
23951 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23952 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23953 multiarch strspn for PPC64.
23954 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23955 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23957 (__libc_ifunc_impl_list): Likewise.
23958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23959 multiarch optimizations
23960 * string/strspn.c (strspn): Using macro to redefine symbol name.
23961
23962 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23963 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23964
23965 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23966 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23967 multiarch strncat for PPC64.
23968 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23969 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23971 (__libc_ifunc_impl_list): Likewise.
23972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23973 multiarch optimizations
23974
23975 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23976
23977 [BZ #16639]
23978 * nscd/nscd.service: Make service type forking.
23979
23980 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23981
23982 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23983 sign in non default rounding modes.
23984 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23985
23986 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23987
23988 * math/libm-test.inc (ALL_RM_TEST): New macro.
23989 (ceil_test): Use ALL_RM_TEST.
23990 (cimag_test): Likewise.
23991 (conj_test): Likewise.
23992 (copysign_test): Likewise.
23993 (cproj_test): Likewise.
23994 (creal_test): Likewise.
23995 (fabs_test): Likewise.
23996 (floor_test): Likewise.
23997 (fmax_test): Likewise.
23998 (fmin_test): Likewise.
23999 (fmod_test): Likewise.
24000 (fpclassify_test): Likewise.
24001 (frexp_test): Likewise.
24002 (ilogb_test): Likewise.
24003 (isfinite_test): Likewise.
24004 (finite_test): Likewise.
24005 (isgreater_test): Likewise.
24006 (isgreaterequal_test): Likewise.
24007 (isinf_test): Likewise.
24008 (isless_test): Likewise.
24009 (islessequal_test): Likewise.
24010 (islessgreater_test): Likewise.
24011 (isnan_test): Likewise.
24012 (isnormal_test): Likewise.
24013 (issignaling_test): Likewise.
24014 (isunordered_test): Likewise.
24015 (logb_test): Likewise.
24016 (logb_downward_test_data): Remove.
24017 (logb_test_downward): Likewise.
24018 (lround_test): Use ALL_RM_TEST.
24019 (llround_test): Likewise.
24020 (modf_test): Likewise.
24021 (nexttoward_test): Likewise.
24022 (remainder_test): Likewise.
24023 (drem_test): Likewise.
24024 (remainder_tonearest_test_data): Likewise.
24025 (remainder_test_tonearest): Likewise.
24026 (drem_test_tonearest): Likewise.
24027 (remainder_towardzero_test_data): Likewise.
24028 (remainder_test_towardzero): Likewise.
24029 (drem_test_towardzero): Likewise.
24030 (remainder_downward_test_data): Likewise.
24031 (remainder_test_downward): Likewise.
24032 (drem_test_downward): Likewise.
24033 (remainder_upward_test_data): Likewise.
24034 (remainder_test_upward): Likewise.
24035 (drem_test_upward): Likewise.
24036 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24037 (round_test): Use ALL_RM_TEST.
24038 (signbit_test): Likewise.
24039 (trunc_test): Likewise.
24040 (significand_test): Likewise.
24041 (main): Don't call removed functions.
24042
24043 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24044
24045 [BZ #16674]
24046 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24047 || __USE_XOPEN2K8].
24048 (ILL_ILLOPN): Likewise.
24049 (ILL_ILLADR): Likewise.
24050 (ILL_ILLTRP): Likewise.
24051 (ILL_PRVOPC): Likewise.
24052 (ILL_PRVREG): Likewise.
24053 (ILL_COPROC): Likewise.
24054 (ILL_BADSTK): Likewise.
24055 (FPE_INTDIV): Likewise.
24056 (FPE_INTOVF): Likewise.
24057 (FPE_FLTDIV): Likewise.
24058 (FPE_FLTOVF): Likewise.
24059 (FPE_FLTUND): Likewise.
24060 (FPE_FLTRES): Likewise.
24061 (FPE_FLTINV): Likewise.
24062 (FPE_FLTSUB): Likewise.
24063 (SEGV_MAPERR): Likewise.
24064 (SEGV_ACCERR): Likewise.
24065 (BUS_ADRALN): Likewise.
24066 (BUS_ADRERR): Likewise.
24067 (BUS_OBJERR): Likewise.
24068 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24069 (TRAP_TRACE): Likewise.
24070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24071 __USE_XOPEN2K8].
24072 (CLD_KILLED): Likewise.
24073 (CLD_DUMPED): Likewise.
24074 (CLD_TRAPPED): Likewise.
24075 (CLD_STOPPED): Likewise.
24076 (CLD_CONTINUED): Likewise.
24077 (POLL_IN): Likewise.
24078 (POLL_OUT): Likewise.
24079 (POLL_MSG): Likewise.
24080 (POLL_ERR): Likewise.
24081 (POLL_PRI): Likewise.
24082 (POLL_HUP): Likewise.
24083 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24084 Likewise.
24085 (ILL_ILLOPN): Likewise.
24086 (ILL_ILLADR): Likewise.
24087 (ILL_ILLTRP): Likewise.
24088 (ILL_PRVOPC): Likewise.
24089 (ILL_PRVREG): Likewise.
24090 (ILL_COPROC): Likewise.
24091 (ILL_BADSTK): Likewise.
24092 (FPE_INTDIV): Likewise.
24093 (FPE_INTOVF): Likewise.
24094 (FPE_FLTDIV): Likewise.
24095 (FPE_FLTOVF): Likewise.
24096 (FPE_FLTUND): Likewise.
24097 (FPE_FLTRES): Likewise.
24098 (FPE_FLTINV): Likewise.
24099 (FPE_FLTSUB): Likewise.
24100 (SEGV_MAPERR): Likewise.
24101 (SEGV_ACCERR): Likewise.
24102 (BUS_ADRALN): Likewise.
24103 (BUS_ADRERR): Likewise.
24104 (BUS_OBJERR): Likewise.
24105 (BUS_MCEERR_AR): Likewise.
24106 (BUS_MCEERR_AO): Likewise.
24107 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24108 (TRAP_TRACE): Likewise.
24109 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24110 __USE_XOPEN2K8].
24111 (CLD_KILLED): Likewise.
24112 (CLD_DUMPED): Likewise.
24113 (CLD_TRAPPED): Likewise.
24114 (CLD_STOPPED): Likewise.
24115 (CLD_CONTINUED): Likewise.
24116 (POLL_IN): Likewise.
24117 (POLL_OUT): Likewise.
24118 (POLL_MSG): Likewise.
24119 (POLL_ERR): Likewise.
24120 (POLL_PRI): Likewise.
24121 (POLL_HUP): Likewise.
24122 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24123 (ILL_ILLOPN): Likewise.
24124 (ILL_ILLADR): Likewise.
24125 (ILL_ILLTRP): Likewise.
24126 (ILL_PRVOPC): Likewise.
24127 (ILL_PRVREG): Likewise.
24128 (ILL_COPROC): Likewise.
24129 (ILL_BADSTK): Likewise.
24130 (FPE_INTDIV): Likewise.
24131 (FPE_INTOVF): Likewise.
24132 (FPE_FLTDIV): Likewise.
24133 (FPE_FLTOVF): Likewise.
24134 (FPE_FLTUND): Likewise.
24135 (FPE_FLTRES): Likewise.
24136 (FPE_FLTINV): Likewise.
24137 (FPE_FLTSUB): Likewise.
24138 (SEGV_MAPERR): Likewise.
24139 (SEGV_ACCERR): Likewise.
24140 (BUS_ADRALN): Likewise.
24141 (BUS_ADRERR): Likewise.
24142 (BUS_OBJERR): Likewise.
24143 (BUS_MCEERR_AR): Likewise.
24144 (BUS_MCEERR_AO): Likewise.
24145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24146 (TRAP_TRACE): Likewise.
24147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24148 __USE_XOPEN2K8].
24149 (CLD_KILLED): Likewise.
24150 (CLD_DUMPED): Likewise.
24151 (CLD_TRAPPED): Likewise.
24152 (CLD_STOPPED): Likewise.
24153 (CLD_CONTINUED): Likewise.
24154 (POLL_IN): Likewise.
24155 (POLL_OUT): Likewise.
24156 (POLL_MSG): Likewise.
24157 (POLL_ERR): Likewise.
24158 (POLL_PRI): Likewise.
24159 (POLL_HUP): Likewise.
24160 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24161 Likewise.
24162 (ILL_ILLOPN): Likewise.
24163 (ILL_ILLADR): Likewise.
24164 (ILL_ILLTRP): Likewise.
24165 (ILL_PRVOPC): Likewise.
24166 (ILL_PRVREG): Likewise.
24167 (ILL_COPROC): Likewise.
24168 (ILL_BADSTK): Likewise.
24169 (ILL_BADIADDR): Likewise.
24170 (ILL_BREAK): Likewise.
24171 (FPE_INTDIV): Likewise.
24172 (FPE_INTOVF): Likewise.
24173 (FPE_FLTDIV): Likewise.
24174 (FPE_FLTOVF): Likewise.
24175 (FPE_FLTUND): Likewise.
24176 (FPE_FLTRES): Likewise.
24177 (FPE_FLTINV): Likewise.
24178 (FPE_FLTSUB): Likewise.
24179 (FPE_DECOVF): Likewise.
24180 (FPE_DECDIV): Likewise.
24181 (FPE_DECERR): Likewise.
24182 (FPE_INVASC): Likewise.
24183 (FPE_INVDEC): Likewise.
24184 (SEGV_MAPERR): Likewise.
24185 (SEGV_ACCERR): Likewise.
24186 (SEGV_PSTKOVF): Likewise.
24187 (BUS_ADRALN): Likewise.
24188 (BUS_ADRERR): Likewise.
24189 (BUS_OBJERR): Likewise.
24190 (BUS_MCEERR_AR): Likewise.
24191 (BUS_MCEERR_AO): Likewise.
24192 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24193 (TRAP_TRACE): Likewise.
24194 (TRAP_BRANCH): Likewise.
24195 (TRAP_HWBKPT): Likewise.
24196 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24197 __USE_XOPEN2K8].
24198 (CLD_KILLED): Likewise.
24199 (CLD_DUMPED): Likewise.
24200 (CLD_TRAPPED): Likewise.
24201 (CLD_STOPPED): Likewise.
24202 (CLD_CONTINUED): Likewise.
24203 (POLL_IN): Likewise.
24204 (POLL_OUT): Likewise.
24205 (POLL_MSG): Likewise.
24206 (POLL_ERR): Likewise.
24207 (POLL_PRI): Likewise.
24208 (POLL_HUP): Likewise.
24209 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24210 (ILL_ILLOPN): Likewise.
24211 (ILL_ILLADR): Likewise.
24212 (ILL_ILLTRP): Likewise.
24213 (ILL_PRVOPC): Likewise.
24214 (ILL_PRVREG): Likewise.
24215 (ILL_COPROC): Likewise.
24216 (ILL_BADSTK): Likewise.
24217 (FPE_INTDIV): Likewise.
24218 (FPE_INTOVF): Likewise.
24219 (FPE_FLTDIV): Likewise.
24220 (FPE_FLTOVF): Likewise.
24221 (FPE_FLTUND): Likewise.
24222 (FPE_FLTRES): Likewise.
24223 (FPE_FLTINV): Likewise.
24224 (FPE_FLTSUB): Likewise.
24225 (SEGV_MAPERR): Likewise.
24226 (SEGV_ACCERR): Likewise.
24227 (BUS_ADRALN): Likewise.
24228 (BUS_ADRERR): Likewise.
24229 (BUS_OBJERR): Likewise.
24230 (BUS_MCEERR_AR): Likewise.
24231 (BUS_MCEERR_AO): Likewise.
24232 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24233 (TRAP_TRACE): Likewise.
24234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24235 __USE_XOPEN2K8].
24236 (CLD_KILLED): Likewise.
24237 (CLD_DUMPED): Likewise.
24238 (CLD_TRAPPED): Likewise.
24239 (CLD_STOPPED): Likewise.
24240 (CLD_CONTINUED): Likewise.
24241 (POLL_IN): Likewise.
24242 (POLL_OUT): Likewise.
24243 (POLL_MSG): Likewise.
24244 (POLL_ERR): Likewise.
24245 (POLL_PRI): Likewise.
24246 (POLL_HUP): Likewise.
24247 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24248 (ILL_ILLOPN): Likewise.
24249 (ILL_ILLADR): Likewise.
24250 (ILL_ILLTRP): Likewise.
24251 (ILL_PRVOPC): Likewise.
24252 (ILL_PRVREG): Likewise.
24253 (ILL_COPROC): Likewise.
24254 (ILL_BADSTK): Likewise.
24255 (FPE_INTDIV): Likewise.
24256 (FPE_INTOVF): Likewise.
24257 (FPE_FLTDIV): Likewise.
24258 (FPE_FLTOVF): Likewise.
24259 (FPE_FLTUND): Likewise.
24260 (FPE_FLTRES): Likewise.
24261 (FPE_FLTINV): Likewise.
24262 (FPE_FLTSUB): Likewise.
24263 (SEGV_MAPERR): Likewise.
24264 (SEGV_ACCERR): Likewise.
24265 (BUS_ADRALN): Likewise.
24266 (BUS_ADRERR): Likewise.
24267 (BUS_OBJERR): Likewise.
24268 (BUS_MCEERR_AR): Likewise.
24269 (BUS_MCEERR_AO): Likewise.
24270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24271 (TRAP_TRACE): Likewise.
24272 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24273 __USE_XOPEN2K8].
24274 (CLD_KILLED): Likewise.
24275 (CLD_DUMPED): Likewise.
24276 (CLD_TRAPPED): Likewise.
24277 (CLD_STOPPED): Likewise.
24278 (CLD_CONTINUED): Likewise.
24279 (POLL_IN): Likewise.
24280 (POLL_OUT): Likewise.
24281 (POLL_MSG): Likewise.
24282 (POLL_ERR): Likewise.
24283 (POLL_PRI): Likewise.
24284 (POLL_HUP): Likewise.
24285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24286 (ILL_ILLOPN): Likewise.
24287 (ILL_ILLADR): Likewise.
24288 (ILL_ILLTRP): Likewise.
24289 (ILL_PRVOPC): Likewise.
24290 (ILL_PRVREG): Likewise.
24291 (ILL_COPROC): Likewise.
24292 (ILL_BADSTK): Likewise.
24293 (FPE_INTDIV): Likewise.
24294 (FPE_INTOVF): Likewise.
24295 (FPE_FLTDIV): Likewise.
24296 (FPE_FLTOVF): Likewise.
24297 (FPE_FLTUND): Likewise.
24298 (FPE_FLTRES): Likewise.
24299 (FPE_FLTINV): Likewise.
24300 (FPE_FLTSUB): Likewise.
24301 (SEGV_MAPERR): Likewise.
24302 (SEGV_ACCERR): Likewise.
24303 (BUS_ADRALN): Likewise.
24304 (BUS_ADRERR): Likewise.
24305 (BUS_OBJERR): Likewise.
24306 (BUS_MCEERR_AR): Likewise.
24307 (BUS_MCEERR_AO): Likewise.
24308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24309 (TRAP_TRACE): Likewise.
24310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24311 __USE_XOPEN2K8].
24312 (CLD_KILLED): Likewise.
24313 (CLD_DUMPED): Likewise.
24314 (CLD_TRAPPED): Likewise.
24315 (CLD_STOPPED): Likewise.
24316 (CLD_CONTINUED): Likewise.
24317 (POLL_IN): Likewise.
24318 (POLL_OUT): Likewise.
24319 (POLL_MSG): Likewise.
24320 (POLL_ERR): Likewise.
24321 (POLL_PRI): Likewise.
24322 (POLL_HUP): Likewise.
24323 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24324 (ILL_ILLOPN): Likewise.
24325 (ILL_ILLADR): Likewise.
24326 (ILL_ILLTRP): Likewise.
24327 (ILL_PRVOPC): Likewise.
24328 (ILL_PRVREG): Likewise.
24329 (ILL_COPROC): Likewise.
24330 (ILL_BADSTK): Likewise.
24331 (ILL_DBLFLT): Likewise.
24332 (ILL_HARDWALL): Likewise.
24333 (FPE_INTDIV): Likewise.
24334 (FPE_INTOVF): Likewise.
24335 (FPE_FLTDIV): Likewise.
24336 (FPE_FLTOVF): Likewise.
24337 (FPE_FLTUND): Likewise.
24338 (FPE_FLTRES): Likewise.
24339 (FPE_FLTINV): Likewise.
24340 (FPE_FLTSUB): Likewise.
24341 (SEGV_MAPERR): Likewise.
24342 (SEGV_ACCERR): Likewise.
24343 (BUS_ADRALN): Likewise.
24344 (BUS_ADRERR): Likewise.
24345 (BUS_OBJERR): Likewise.
24346 (BUS_MCEERR_AR): Likewise.
24347 (BUS_MCEERR_AO): Likewise.
24348 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24349 (TRAP_TRACE): Likewise.
24350 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24351 __USE_XOPEN2K8].
24352 (CLD_KILLED): Likewise.
24353 (CLD_DUMPED): Likewise.
24354 (CLD_TRAPPED): Likewise.
24355 (CLD_STOPPED): Likewise.
24356 (CLD_CONTINUED): Likewise.
24357 (POLL_IN): Likewise.
24358 (POLL_OUT): Likewise.
24359 (POLL_MSG): Likewise.
24360 (POLL_ERR): Likewise.
24361 (POLL_PRI): Likewise.
24362 (POLL_HUP): Likewise.
24363 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24364 (ILL_ILLOPN): Likewise.
24365 (ILL_ILLADR): Likewise.
24366 (ILL_ILLTRP): Likewise.
24367 (ILL_PRVOPC): Likewise.
24368 (ILL_PRVREG): Likewise.
24369 (ILL_COPROC): Likewise.
24370 (ILL_BADSTK): Likewise.
24371 (FPE_INTDIV): Likewise.
24372 (FPE_INTOVF): Likewise.
24373 (FPE_FLTDIV): Likewise.
24374 (FPE_FLTOVF): Likewise.
24375 (FPE_FLTUND): Likewise.
24376 (FPE_FLTRES): Likewise.
24377 (FPE_FLTINV): Likewise.
24378 (FPE_FLTSUB): Likewise.
24379 (SEGV_MAPERR): Likewise.
24380 (SEGV_ACCERR): Likewise.
24381 (BUS_ADRALN): Likewise.
24382 (BUS_ADRERR): Likewise.
24383 (BUS_OBJERR): Likewise.
24384 (BUS_MCEERR_AR): Likewise.
24385 (BUS_MCEERR_AO): Likewise.
24386 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24387 (TRAP_TRACE): Likewise.
24388 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24389 __USE_XOPEN2K8].
24390 (CLD_KILLED): Likewise.
24391 (CLD_DUMPED): Likewise.
24392 (CLD_TRAPPED): Likewise.
24393 (CLD_STOPPED): Likewise.
24394 (CLD_CONTINUED): Likewise.
24395 (POLL_IN): Likewise.
24396 (POLL_OUT): Likewise.
24397 (POLL_MSG): Likewise.
24398 (POLL_ERR): Likewise.
24399 (POLL_PRI): Likewise.
24400 (POLL_HUP): Likewise.
24401 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24402 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24403
24404 [BZ #16670]
24405 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24406 before #include of <time.h>.
24407 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24408 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24409 (test-xfail-UNIX98/sched.h/conform): Likewise.
24410
24411 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24412
24413 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24414 error absence of trapping exception support.
24415 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24416
24417 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24418
24419 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24420 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24421 * timezone/Makefile (testdata): Move definition above include of
24422 Rules.
24423 (test-zones): New variable.
24424 (tests-special): Add zone files.
24425 (build-testdata): Use $(evaluate-test).
24426
24427 * elf/Makefile (tests-special): Rename tests to end with .out.
24428 ($(objpfx)noload-mem): Likewise.
24429 ($(objpfx)tst-leaks1-mem): Likewise.
24430 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24431 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24432 $(objpfx)test-iconvconfig.out.
24433 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24434 set -e inside subshell and redirect output to file.
24435 * iconvdata/Makefile (generated): Rename tests to end with .out.
24436 Correct type.
24437 (tests-special): Rename tests to end with .out.
24438 ($(objpfx)mtrace-tst-loading): Likewise.
24439 * intl/Makefile (generated): Likewise.
24440 (tests-special): Likewise.
24441 ($(objpfx)mtrace-tst-gettext): Likewise.
24442 * misc/Makefile (generated): Likewise.
24443 (tests-special): Likewise.
24444 ($(objpfx)tst-error1-mem): Likewise.
24445 * nptl/Makefile (tests-special): Likewise.
24446 ($(objpfx)tst-stack3-mem): Likewise.
24447 (generated): Likewise.
24448 * posix/Makefile (generated): Likewise.
24449 (tests-special): Likewise.
24450 (xtests-special): Likewise.
24451 ($(objpfx)tst-fnmatch-mem): Likewise.
24452 ($(objpfx)bug-regex2-mem): Likewise.
24453 ($(objpfx)bug-regex14-mem): Likewise.
24454 ($(objpfx)bug-regex21-mem): Likewise.
24455 ($(objpfx)bug-regex31-mem): Likewise.
24456 ($(objpfx)tst-vfork3-mem): Likewise.
24457 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24458 ($(objpfx)tst-pcre-mem): Likewise.
24459 ($(objpfx)tst-boost-mem): Likewise.
24460 ($(objpfx)bug-ga2-mem): Likewise.
24461 ($(objpfx)bug-glob2-mem): Likewise.
24462 * resolv/Makefile (generate): Likewise.
24463 (tests-special): Likewise.
24464 (xtests-special): Likewise.
24465 (generated): Likewise.
24466 ($(objpfx)mtrace-tst-leaks): Likewise.
24467 ($(objpfx)mtrace-tst-leaks2): Likewise.
24468
24469 * scripts/merge-test-results.sh: New file.
24470 * Makefile (tests-special-notdir): New variable.
24471 (tests): Run merge-test-results.sh.
24472 (xtests): Likewise.
24473 * Rules (tests-special-notdir): New variable.
24474 (xtests-special-notdir): Likewise.
24475 (tests): Run merge-test-results.sh
24476 (xtests): Likewise.
24477
24478 * Makeconfig (test-xfail-name): New variable.
24479 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24480 compute variable name for expected failures.
24481 * conform/Makefile (conformtest-headers-data): New variable.
24482 (conformtest-standards): Likewise.
24483 (conformtest-headers-ISO): Likewise.
24484 (conformtest-headers-ISO99): Likewise.
24485 (conformtest-headers-ISO11): Likewise.
24486 (conformtest-headers-POSIX): Likewise.
24487 (conformtest-headers-XPG3): Likewise.
24488 (conformtest-headers-XPG4): Likewise.
24489 (conformtest-headers-UNIX98): Likewise.
24490 (conformtest-headers-XOPEN2K): Likewise.
24491 (conformtest-headers-POSIX2008): Likewise.
24492 (conformtest-headers-XOPEN2K8): Likewise.
24493 (conformtest-header-list-base): Likewise.
24494 (conformtest-header-list-tests): Likewise.
24495 (conformtest-header-base): Likewise.
24496 (conformtest-header-tests): Likewise.
24497 (tests-special): Add $(conformtest-header-list-tests). If
24498 [$(fast-check) && !$(cross-compiling)], add
24499 $(conformtest-header-tests) instead of
24500 $(objpfx)run-conformtest.out.
24501 (generated): Add $(conformtest-header-list-base). If
24502 [$(fast-check) && !$(cross-compiling)], add
24503 $(conformtest-header-base). Remove previous setting.
24504 ($(conformtest-header-list-tests)): New target.
24505 (test-xfail-run-conformtest): Remove variable.
24506 ($(objpfx)run-conformtest.out): Remove target.
24507 (test-xfail-ISO11/complex.h/conform): New variable.
24508 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24509 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24510 (test-xfail-XPG3/varargs.h/conform): Likewise.
24511 (test-xfail-XPG4/varargs.h/conform): Likewise.
24512 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24513 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24514 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24515 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24516 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24517 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24518 (test-xfail-XPG3/ftw.h/conform): Likewise.
24519 (test-xfail-XPG3/grp.h/conform): Likewise.
24520 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24521 (test-xfail-XPG3/limits.h/conform): Likewise.
24522 (test-xfail-XPG3/pwd.h/conform): Likewise.
24523 (test-xfail-XPG3/search.h/conform): Likewise.
24524 (test-xfail-XPG3/signal.h/conform): Likewise.
24525 (test-xfail-XPG3/stdio.h/conform): Likewise.
24526 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24527 (test-xfail-XPG3/string.h/conform): Likewise.
24528 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24529 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24530 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24531 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24532 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24533 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24534 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24535 (test-xfail-XPG3/termios.h/conform): Likewise.
24536 (test-xfail-XPG3/time.h/conform): Likewise.
24537 (test-xfail-XPG3/unistd.h/conform): Likewise.
24538 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24539 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24540 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24541 (test-xfail-XPG4/netdb.h/conform): Likewise.
24542 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24543 (test-xfail-XPG4/signal.h/conform): Likewise.
24544 (test-xfail-XPG4/stdio.h/conform): Likewise.
24545 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24546 (test-xfail-XPG4/stropts.h/conform): Likewise.
24547 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24548 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24549 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24550 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24551 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24552 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24553 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24554 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24555 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24556 (test-xfail-XPG4/termios.h/conform): Likewise.
24557 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24558 (test-xfail-XPG4/unistd.h/conform): Likewise.
24559 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24560 (test-xfail-POSIX/sched.h/conform): Likewise.
24561 (test-xfail-POSIX/signal.h/conform): Likewise.
24562 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24563 (test-xfail-POSIX/tar.h/conform): Likewise.
24564 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24565 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24566 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24567 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24568 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24569 (test-xfail-UNIX98/sched.h/conform): Likewise.
24570 (test-xfail-UNIX98/signal.h/conform): Likewise.
24571 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24572 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24573 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24574 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24575 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24576 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24577 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24578 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24579 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24580 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24581 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24582 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24583 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24584 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24585 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24586 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24587 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24588 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24589 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24590 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24591 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24592 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24593 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24594 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24595 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24596 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24597 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24598 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24599 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24600 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24601 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24602 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24603 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24604 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24605 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24606 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24607 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24608 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24609 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24610 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24611 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24612 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24613 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24614 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24615 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24616 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24617 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24618 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24619 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24620 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24621 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24622 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24623 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24624 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24625 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24626 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24627 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24628 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24629 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24630 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24631 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24632 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24633 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24634 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24635 (conformtest-cc-flags): Likewise.
24636 ($(conformtest-header-tests): New target.
24637 * conform/check-header-lists.sh: New file.
24638 * conform/run-conformtest.sh: Remove.
24639
24640 * conform/conformtest.pl: Allow ' and \ in values given for
24641 constants.
24642 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24643 inclusion.
24644 [POSIX] (sys/types.h): Likewise.
24645 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24646 inclusion.
24647 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24648 inclusion.
24649 * conform/data/signal.h-data (SIGIO): Remove expectation.
24650 [XPG3] (SIGBUS): Do not expect.
24651 [POSIX || XPG3] (SIGPOLL): Likewise.
24652 [POSIX || XPG3] (SIGPROF): Likewise.
24653 [POSIX || XPG3] (SIGSYS): Likewise.
24654 [XPG3] (SIGTRAP): Likewise.
24655 [POSIX || XPG3] (SIGURG): Likewise.
24656 [POSIX || XPG3] (SIGVTALRM): Likewise.
24657 [POSIX || XPG3] (SIGXCPU): Likewise.
24658 [POSIX || XPG3] (SIGXFSZ): Likewise.
24659 [POSIX] (SA_SIGINFO): Expect.
24660 [XPG3] (siginfo_t): Do not expect type or contents.
24661 [POSIX] (si_pid): Do not expect element.
24662 [POSIX] (si_uid): Likewise.
24663 [POSIX] (si_addr): Likewise.
24664 [POSIX] (si_status): Likewise.
24665 [POSIX] (si_band): Likewise.
24666 [XPG4] (si_value): Likewise.
24667 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24668 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24669 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24670 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24671 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24672 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24673 [POSIX || XPG3] (ILL_COPROC): Likewise.
24674 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24675 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24676 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24677 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24678 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24679 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24680 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24681 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24682 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24683 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24684 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24685 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24686 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24687 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24688 [POSIX || XPG3] (CLD_EXITED): Likewise.
24689 [POSIX || XPG3] (CLD_KILLED): Likewise.
24690 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24691 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24692 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24693 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24694 [POSIX || XPG3] (POLL_IN): Likewise.
24695 [POSIX || XPG3] (POLL_OUT): Likewise.
24696 [POSIX || XPG3] (POLL_MSG): Likewise.
24697 [POSIX || XPG3] (POLL_ERR): Likewise.
24698 [POSIX || XPG3] (POLL_PRI): Likewise.
24699 [POSIX || XPG3] (POLL_HUP): Likewise.
24700 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24701 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24702 (SIG*): Do not allow.
24703 [XPG3] (si_*): Likewise.
24704 [XPG3] (SI_*): Likewise.
24705 [XPG3 || XPG4] (sigev_*): Likewise.
24706 [XPG3 || XPG4] (SIGEV_*): Likewise.
24707 [XPG3 || XPG4] (sival_*): Likewise.
24708 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24709 [POSIX || XPG3] (BUS_*): Likewise.
24710 [POSIX || XPG3] (CLD_*): Likewise.
24711 [POSIX || XPG3] (FPE_*): Likewise.
24712 [POSIX || XPG3] (ILL_*): Likewise.
24713 [POSIX || XPG3] (POLL_*): Likewise.
24714 [POSIX || XPG3] (SEGV_*): Likewise.
24715 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24716 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24717 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24718 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24719 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24720 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24721 Specify type and value.
24722 (TVERSLEN): Likewise.
24723 (REGTYPE): Likewise.
24724 (AREGTYPE): Likewise.
24725 (LNKTYPE): Likewise.
24726 (SYMTYPE): Likewise.
24727 (CHRTYPE): Likewise.
24728 (BLKTYPE): Likewise.
24729 (DIRTYPE): Likewise.
24730 (FIFOTYPE): Likewise.
24731 (CONTTYPE): Likewise.
24732 (TSUID): Likewise.
24733 (TSGID): Likewise.
24734 (TSVTX): Likewise.
24735 (TUREAD): Likewise.
24736 (TUWRITE): Likewise.
24737 (TUEXEC): Likewise.
24738 (TGREAD): Likewise.
24739 (TGWRITE): Likewise.
24740 (TGEXEC): Likewise.
24741 (TOREAD): Likewise.
24742 (TOWRITE): Likewise.
24743 (TOEXEC): Likewise.
24744 [POSIX] (TSVTX): Expect constant.
24745
24746 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24747
24748 * Makefile (tests): Change dependencies to ....
24749 (tests-special): ... additions to this variable.
24750 (tests): Depend on $(tests-special).
24751 * Makerules (check-abi-list): New variable.
24752 (check-abi): Depend on $(check-abi-list).
24753 [$(subdir) = elf] (tests-special): Add
24754 $(objpfx)check-abi-libc.out.
24755 [$(build-shared) = yes && subdir] (tests-special): Add
24756 $(check-abi-list).
24757 [$(build-shared) = yes && subdir] (tests): Do not depend on
24758 check-abi.
24759 * Rules (tests): Depend on $(tests-special).
24760 (xtests): Depend on $(xtests-special).
24761 * catgets/Makefile (tests): Change dependencies to ....
24762 (tests-special): ... additions to this variable.
24763 * conform/Makefile (tests): Change dependencies to ....
24764 (tests-special): ... additions to this variable.
24765 * elf/Makefile (tests): Change dependencies to ....
24766 (tests-special): ... additions to this variable.
24767 * grp/Makefile (tests): Change dependencies to ....
24768 (tests-special): ... additions to this variable.
24769 * iconv/Makefile (xtests): Change dependencies to ....
24770 (xtests-special): ... additions to this variable.
24771 * iconvdata/Makefile (tests): Change dependencies to ....
24772 (tests-special): ... additions to this variable.
24773 * intl/Makefile (tests): Change dependencies to ....
24774 (tests-special): ... additions to this variable. Also add
24775 $(objpfx)tst-gettext.out.
24776 * io/Makefile (tests): Change dependencies to ....
24777 (tests-special): ... additions to this variable.
24778 * libio/Makefile (tests): Change dependencies to ....
24779 (tests-special): ... additions to this variable.
24780 * malloc/Makefile (tests): Change dependencies to ....
24781 (tests-special): ... additions to this variable.
24782 * misc/Makefile (tests): Change dependencies to ....
24783 (tests-special): ... additions to this variable.
24784 * nptl/Makefile (tests): Change dependencies to ....
24785 (tests-special): ... additions to this variable.
24786 * nptl_db/Makefile (tests): Change dependencies to ....
24787 (tests-special): ... additions to this variable.
24788 * posix/Makefile (tests): Change dependencies to ....
24789 (tests-special): ... additions to this variable.
24790 (xtests): Change dependencies to ....
24791 (xtests-special): ... additions to this variable.
24792 * resolv/Makefile (tests): Change dependencies to ....
24793 (tests-special): ... additions to this variable.
24794 (xtests): Change dependencies to ....
24795 (xtests-special): ... additions to this variable.
24796 * stdio-common/Makefile (tests): Change dependencies to ....
24797 (tests-special): ... additions to this variable.
24798 (do-tst-unbputc): Remove target.
24799 (do-tst-printf): Likewise.
24800 * stdlib/Makefile (tests): Change dependencies to ....
24801 (tests-special): ... additions to this variable.
24802 * string/Makefile (tests): Change dependencies to ....
24803 (tests-special): ... additions to this variable.
24804 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24805 (tests-special): ... additions to this variable.
24806
24807 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24808 whole file.
24809 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24810 whole file.
24811 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24812 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24813
24814 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24815 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24816 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24817 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24818 * conform/data/libgen.h-data [XPG3]: Likewise.
24819 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24820 * conform/data/ndbm.h-data [XPG3]: Likewise.
24821 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24822 * conform/data/netdb.h-data [XPG3]: Likewise.
24823 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24824 * conform/data/poll.h-data [XPG3]: Likewise.
24825 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24826 * conform/data/strings.h-data [XPG3]: Likewise.
24827 * conform/data/stropts.h-data [XPG3]: Likewise.
24828 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24829 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24830 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24831 Likewise.
24832 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24833 * conform/data/sys/time.h-data [XPG3]: Likewise.
24834 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24835 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24836 * conform/data/sys/un.h-data [XPG3]: Likewise.
24837 * conform/data/syslog.h-data [XPG3]: Likewise.
24838 * conform/data/ucontext.h-data [XPG3]: Likewise.
24839 * conform/data/utmpx.h-data [XPG3]: Likewise.
24840 * conform/data/varargs.h-data [UNIX98]: Enable file.
24841
24842 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24843
24844 * math/libm-test.inc (struct test_f_f_data): Move expected results
24845 into structure for each rounding mode.
24846 (struct test_ff_f_data): Likewise.
24847 (struct test_ff_f_data_nexttoward): Likewise.
24848 (struct test_fi_f_data): Likewise.
24849 (struct test_fl_f_data): Likewise.
24850 (struct test_if_f_data): Likewise.
24851 (struct test_fff_f_data): Likewise.
24852 (struct test_c_f_data): Likewise.
24853 (struct test_f_f1_data): Likewise.
24854 (struct test_fF_f1_data): Likewise.
24855 (struct test_ffI_f1_data): Likewise.
24856 (struct test_c_c_data): Likewise.
24857 (struct test_cc_c_data): Likewise.
24858 (struct test_f_i_data): Likewise.
24859 (struct test_ff_i_data): Likewise.
24860 (struct test_f_l_data): Likewise.
24861 (struct test_f_L_data): Likewise.
24862 (struct test_fFF_11_data): Likewise.
24863 (RM_): New macro.
24864 (RM_FE_DOWNWARD): Likewise.
24865 (RM_FE_TONEAREST): Likewise.
24866 (RM_FE_TOWARDZERO): Likewise.
24867 (RM_FE_UPWARD): Likewise.
24868 (RUN_TEST_LOOP_f_f): Update references to expected results.
24869 (RUN_TEST_LOOP_2_f): Likewise.
24870 (RUN_TEST_LOOP_fff_f): Likewise.
24871 (RUN_TEST_LOOP_c_f): Likewise.
24872 (RUN_TEST_LOOP_f_f1): Likewise.
24873 (RUN_TEST_LOOP_fF_f1): Likewise.
24874 (RUN_TEST_LOOP_fI_f1): Likewise.
24875 (RUN_TEST_LOOP_ffI_f1): Likewise.
24876 (RUN_TEST_LOOP_c_c): Likewise.
24877 (RUN_TEST_LOOP_cc_c): Likewise.
24878 (RUN_TEST_LOOP_f_i): Likewise.
24879 (RUN_TEST_LOOP_f_i_tg): Likewise.
24880 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24881 (RUN_TEST_LOOP_f_b): Likewise.
24882 (RUN_TEST_LOOP_f_b_tg): Likewise.
24883 (RUN_TEST_LOOP_f_l): Likewise.
24884 (RUN_TEST_LOOP_f_L): Likewise.
24885 (RUN_TEST_LOOP_fFF_11): Likewise.
24886 * math/gen-libm-test.pl (parse_args): Output four copies of
24887 expected results for each test.
24888
24889 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24890 (__ASSUME_UTIMES): Remove.
24891 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24892 (__ASSUME_UTIMES): Likewise.
24893
24894 * math/gen-auto-libm-tests.c: Update comment on output format.
24895 (output_for_one_input_case): Generate before-rounding and
24896 after-rounding information as conditions on output flags not
24897 floating-point format.
24898 * math/auto-libm-test-out: Regenerated.
24899 * math/gen-libm-test.pl (cond_value): New function.
24900 (or_cond_value): Use cond_value.
24901 (generate_testfile): Handle conditional exceptions.
24902
24903 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24904
24905 * math/libm-test.inc (max_valid_error): New variable.
24906 (init_max_error): Take new argument specifying whether function
24907 results are exactly determined. Set max_valid_error and bound
24908 other variables for errors based on this argument.
24909 (set_max_error): Do not record results above max_valid_error.
24910 (check_float_internal): Only accept errors of up to 0.5ulps if
24911 also at most max_valid_error.
24912 (START): Take new argument EXACT and pass it to init_max_error.
24913 (acos_test): Update call to START.
24914 (acos_test_tonearest): Likewise.
24915 (acos_test_towardzero): Likewise.
24916 (acos_test_downward): Likewise.
24917 (acos_test_upward): Likewise.
24918 (acosh_test): Likewise.
24919 (asin_test): Likewise.
24920 (asin_test_tonearest): Likewise.
24921 (asin_test_towardzero): Likewise.
24922 (asin_test_downward): Likewise.
24923 (asin_test_upward): Likewise.
24924 (asinh_test): Likewise.
24925 (atan_test): Likewise.
24926 (atanh_test): Likewise.
24927 (atan2_test): Likewise.
24928 (cabs_test): Likewise.
24929 (cacos_test): Likewise.
24930 (cacosh_test): Likewise.
24931 (carg_test): Likewise.
24932 (casin_test): Likewise.
24933 (casinh_test): Likewise.
24934 (catan_test): Likewise.
24935 (catanh_test): Likewise.
24936 (cbrt_test): Likewise.
24937 (ccos_test): Likewise.
24938 (ccosh_test): Likewise.
24939 (ceil_test): Likewise.
24940 (cexp_test): Likewise.
24941 (cimag_test): Likewise.
24942 (clog_test): Likewise.
24943 (clog10_test): Likewise.
24944 (conj_test): Likewise.
24945 (copysign_test): Likewise.
24946 (cos_test): Likewise.
24947 (cos_test_tonearest): Likewise.
24948 (cos_test_towardzero): Likewise.
24949 (cos_test_downward): Likewise.
24950 (cos_test_upward): Likewise.
24951 (cosh_test): Likewise.
24952 (cosh_test_tonearest): Likewise.
24953 (cosh_test_towardzero): Likewise.
24954 (cosh_test_downward): Likewise.
24955 (cosh_test_upward): Likewise.
24956 (cpow_test): Likewise.
24957 (cproj_test): Likewise.
24958 (creal_test): Likewise.
24959 (csin_test): Likewise.
24960 (csinh_test): Likewise.
24961 (csqrt_test): Likewise.
24962 (ctan_test): Likewise.
24963 (ctan_test_tonearest): Likewise.
24964 (ctan_test_towardzero): Likewise.
24965 (ctan_test_downward): Likewise.
24966 (ctan_test_upward): Likewise.
24967 (ctanh_test): Likewise.
24968 (ctanh_test_tonearest): Likewise.
24969 (ctanh_test_towardzero): Likewise.
24970 (ctanh_test_downward): Likewise.
24971 (ctanh_test_upward): Likewise.
24972 (erf_test): Likewise.
24973 (erfc_test): Likewise.
24974 (exp_test): Likewise.
24975 (exp_test_tonearest): Likewise.
24976 (exp_test_towardzero): Likewise.
24977 (exp_test_downward): Likewise.
24978 (exp_test_upward): Likewise.
24979 (exp10_test): Likewise.
24980 (exp10_test_tonearest): Likewise.
24981 (exp10_test_towardzero): Likewise.
24982 (exp10_test_downward): Likewise.
24983 (exp10_test_upward): Likewise.
24984 (pow10_test): Likewise.
24985 (exp2_test): Likewise.
24986 (expm1_test): Likewise.
24987 (expm1_test_tonearest): Likewise.
24988 (expm1_test_towardzero): Likewise.
24989 (expm1_test_downward): Likewise.
24990 (expm1_test_upward): Likewise.
24991 (fabs_test): Likewise.
24992 (fdim_test): Likewise.
24993 (floor_test): Likewise.
24994 (fma_test): Likewise.
24995 (fma_test_towardzero): Likewise.
24996 (fma_test_downward): Likewise.
24997 (fma_test_upward): Likewise.
24998 (fmax_test): Likewise.
24999 (fmin_test): Likewise.
25000 (fmod_test): Likewise.
25001 (fpclassify_test): Likewise.
25002 (frexp_test): Likewise.
25003 (hypot_test): Likewise.
25004 (ilogb_test): Likewise.
25005 (isfinite_test): Likewise.
25006 (finite_test): Likewise.
25007 (isgreater_test): Likewise.
25008 (isgreaterequal_test): Likewise.
25009 (isinf_test): Likewise.
25010 (isless_test): Likewise.
25011 (islessequal_test): Likewise.
25012 (islessgreater_test): Likewise.
25013 (isnan_test): Likewise.
25014 (isnormal_test): Likewise.
25015 (issignaling_test): Likewise.
25016 (isunordered_test): Likewise.
25017 (j0_test): Likewise.
25018 (j1_test): Likewise.
25019 (jn_test): Likewise.
25020 (ldexp_test): Likewise.
25021 (lgamma_test): Likewise.
25022 (gamma_test): Likewise.
25023 (lrint_test): Likewise.
25024 (lrint_test_tonearest): Likewise.
25025 (lrint_test_towardzero): Likewise.
25026 (lrint_test_downward): Likewise.
25027 (lrint_test_upward): Likewise.
25028 (llrint_test): Likewise.
25029 (llrint_test_tonearest): Likewise.
25030 (llrint_test_towardzero): Likewise.
25031 (llrint_test_downward): Likewise.
25032 (llrint_test_upward): Likewise.
25033 (log_test): Likewise.
25034 (log10_test): Likewise.
25035 (log1p_test): Likewise.
25036 (log2_test): Likewise.
25037 (logb_test): Likewise.
25038 (logb_test_downward): Likewise.
25039 (lround_test): Likewise.
25040 (llround_test): Likewise.
25041 (modf_test): Likewise.
25042 (nearbyint_test): Likewise.
25043 (nextafter_test): Likewise.
25044 (nexttoward_test): Likewise.
25045 (pow_test): Likewise.
25046 (pow_test_tonearest): Likewise.
25047 (pow_test_towardzero): Likewise.
25048 (pow_test_downward): Likewise.
25049 (pow_test_upward): Likewise.
25050 (remainder_test): Likewise.
25051 (drem_test): Likewise.
25052 (remainder_test_tonearest): Likewise.
25053 (drem_test_tonearest): Likewise.
25054 (remainder_test_towardzero): Likewise.
25055 (drem_test_towardzero): Likewise.
25056 (remainder_test_downward): Likewise.
25057 (drem_test_downward): Likewise.
25058 (remainder_test_upward): Likewise.
25059 (drem_test_upward): Likewise.
25060 (remquo_test): Likewise.
25061 (rint_test): Likewise.
25062 (rint_test_tonearest): Likewise.
25063 (rint_test_towardzero): Likewise.
25064 (rint_test_downward): Likewise.
25065 (rint_test_upward): Likewise.
25066 (round_test): Likewise.
25067 (scalb_test): Likewise.
25068 (scalbn_test): Likewise.
25069 (scalbln_test): Likewise.
25070 (signbit_test): Likewise.
25071 (sin_test): Likewise.
25072 (sin_test_tonearest): Likewise.
25073 (sin_test_towardzero): Likewise.
25074 (sin_test_downward): Likewise.
25075 (sin_test_upward): Likewise.
25076 (sincos_test): Likewise.
25077 (sinh_test): Likewise.
25078 (sinh_test_tonearest): Likewise.
25079 (sinh_test_towardzero): Likewise.
25080 (sinh_test_downward): Likewise.
25081 (sinh_test_upward): Likewise.
25082 (sqrt_test): Likewise.
25083 (sqrt_test_tonearest): Likewise.
25084 (sqrt_test_towardzero): Likewise.
25085 (sqrt_test_downward): Likewise.
25086 (sqrt_test_upward): Likewise.
25087 (tan_test): Likewise.
25088 (tan_test_tonearest): Likewise.
25089 (tan_test_towardzero): Likewise.
25090 (tan_test_downward): Likewise.
25091 (tan_test_upward): Likewise.
25092 (tanh_test): Likewise.
25093 (tgamma_test): Likewise.
25094 (trunc_test): Likewise.
25095 (y0_test): Likewise.
25096 (y1_test): Likewise.
25097 (yn_test): Likewise.
25098 (significand_test): Likewise.
25099
25100 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25101 individual tests in comment.
25102 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25103 (prev_max_error): New variable.
25104 (prev_real_max_error): Likewise.
25105 (prev_imag_max_error): Likewise.
25106 (compare_ulp_data): Don't refer to test names in comment.
25107 (find_test_ulps): Remove function.
25108 (find_function_ulps): Likewise.
25109 (find_complex_function_ulps): Likewise.
25110 (init_max_error): Take function name as argument. Look up ulps
25111 for that function.
25112 (print_ulps): Remove function.
25113 (print_max_error): Use prev_max_error instead of calling
25114 find_function_ulps.
25115 (print_complex_max_error): Use prev_real_max_error and
25116 prev_imag_max_error instead of calling find_complex_function_ulps.
25117 (check_float_internal): Take max_ulp parameter instead of calling
25118 find_test_ulps. Don't call print_ulps.
25119 (check_float): Update call to check_float_internal.
25120 (check_complex): Update calls to check_float_internal.
25121 (START): Pass argument to init_max_error.
25122 * math/gen-libm-test.pl (%results): Don't include "kind"
25123 information.
25124 (parse_ulps): Don't handle ulps of individual tests.
25125 (print_ulps_file): Likewise.
25126 (output_ulps): Likewise.
25127 * math/README.libm-test: Update.
25128 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25129 individual tests.
25130 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25131 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25132 * sysdeps/arm/libm-test-ulps: Likewise.
25133 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25134 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25135 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25136 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25137 * sysdeps/microblaze/libm-test-ulps: Likewise.
25138 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25139 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25140 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25141 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25142 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25143 * sysdeps/sh/libm-test-ulps: Likewise.
25144 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25145 * sysdeps/tile/libm-test-ulps: Likewise.
25146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25147
25148 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25149
25150 * math/libm-test.inc (print_complex_max_error): Check separately
25151 whether real and imaginary errors are within allowed range and
25152 pass 0 to print_complex_function_ulps instead of value within
25153 allowed range.
25154
25155 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25156
25157 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25158 formatting.
25159 (get_handles_fopen): Likewise.
25160 (do_write_test): Likewise.
25161
25162 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25163
25164 * libio/fileops.c (do_ftell): Use cached offset when
25165 available.
25166 * libio/iofwide.c (do_ftell_wide): Likewise.
25167 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25168 _IO_file_attach.
25169 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25170
25171 [BZ #16532]
25172 * libio/libioP.h (get_file_offset): New function.
25173 * libio/fileops.c (get_file_offset): Likewise.
25174 (do_ftell): Likewise.
25175 (_IO_new_file_seekoff): Split out ftell logic.
25176 * libio/wfileops.c (do_ftell_wide): Likewise.
25177 (_IO_wfile_seekoff): Split out ftell logic.
25178 * libio/tst-ftell-active-handler.c: New test case.
25179 * libio/Makefile (tests): Add it.
25180
25181 2014-03-03 Roland McGrath <roland@hack.frob.com>
25182
25183 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25184 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25185
25186 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25187
25188 [BZ #16639]
25189 * nscd/connections.c (nscd_init): Call do_exit.
25190 (start_threads): Call do_exit and notify_parent.
25191 (begin_drop_privileges): Call do_exit.
25192 (finish_drop_privileges): Likewise.
25193 * nscd/selinux.c (preserve_capabilities): Likewise.
25194 (install_real_capabilities): Likewise.
25195 (nscd_selinux_enabled): Likewise.
25196 (avc_create_thread): Likewise.
25197 (avc_alloc_lock): Likewise.
25198 (nscd_avc_init): Likewise.
25199 * nscd/nscd.c (parent_fd): New static variable.
25200 (main): Create a pipe between parent and child processes.
25201 Skip closing parent_fd.
25202 (monitor_child): New function.
25203 (do_exit): Likewise.
25204 (notify_parent): Likewise.
25205 * nscd/nscd.h (notify_parent): Likewise.
25206 (do_exit): Likewise.
25207
25208 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25209
25210 * malloc/malloc.c (__libc_calloc): Revert last change.
25211
25212 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25213
25214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25215
25216 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25217
25218 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25220 implementation.
25221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25222 (__libc_ifunc_impl_list): Likewise.
25223 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25224 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25225 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25226 * string/strrchr.c: Define STRRCHR.
25227
25228 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25229
25230 * benchtest/bench-strtok.c (simple_strtok): Delete.
25231 (strtok_string): Use as benchmark.
25232 * string/strtok (STRTOK): New macro.
25233
25234 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25235
25236 * manual/threads.texi: Add header and standard comments to all
25237 functions.
25238
25239 * elf/dl-lookup.c (check_match): New function.
25240 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25241 (do_lookup_x): Remove nested function check_match. Use non-nested
25242 function check_match.
25243
25244 2014-02-28 Roland McGrath <roland@hack.frob.com>
25245
25246 * csu/Makefile (generated, before-compile): Use += rather than =.
25247 * catgets/Makefile (generated, generated-dirs): Likewise.
25248 * debug/Makefile (generated): Likewise.
25249 * dlfcn/Makefile (generated): Likewise.
25250 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25251 * iconvdata/Makefile (before-compile, generated): Likewise.
25252 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25253 * libio/Makefile (generated): Likewise.
25254 * malloc/Makefile (generated): Likewise.
25255 * manual/Makefile (generated, generated-dirs): Likewise.
25256 * misc/Makefile (generated): Likewise.
25257 * posix/Makefile (generated): Likewise.
25258 * resolv/Makefile (generated): Likewise.
25259 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25260 * timezone/Makefile (generated, generated-dirs): Likewise.
25261
25262 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25263
25264 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25265
25266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25267 power8 implementation.
25268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25269 file: POWER8 llround ifunc implementation.
25270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25271 (__lllround): Add POWER8 implementation.
25272 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25273 POWER8 llround implementation.
25274
25275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25276 power8 implementation.
25277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25278 file: POWER8 llrint ifunc implementation.
25279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25280 Add POWER8 implementation.
25281 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25282 POWER8 llrint implementation.
25283
25284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25285 power8 implementation.
25286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25287 file: POWER8 finite ifunc implementation.
25288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25289 Add POWER8 implementation.
25290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25291 Likewise.
25292 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25293 POWER8 finite implementation.
25294 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25295
25296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25297 power8 implementation.
25298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25299 file: POWER8 isinf ifunc implementation.
25300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25301 POWER8 implementation.
25302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25303 Likewise.
25304 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25305 isinf implementation.
25306 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25307
25308 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25309 (INIT_ARCH): Add hwcap2 initialization.
25310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25311 power8 implementation.
25312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25313 file: POWER8 isnan ifunc implementation.
25314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25315 POWER8 implementation.
25316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25317 Likewise.
25318 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25319 isnan implementation.
25320 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25321
25322 2014-02-27 Joey Ye <joey.ye@arm.com>
25323
25324 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25325 (_FP_NANFRAC_Q): Set to zero.
25326
25327 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25328
25329 [BZ #16623]
25330 * math/auto-libm-test-in: New test inputs.
25331 * math/auto-libm-test-out: Regenerate.
25332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25333 and DA.
25334 (__cos): Likewise.
25335 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25336
25337 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25338
25339 * scripts/evaluate-test.sh: Take new argument indicating whether
25340 failure is expected.
25341 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25342 indicating whether failure is expected.
25343 * conform/Makefile (test-xfail-run-conformtest): New variable.
25344 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25345 level.
25346 * posix/Makefile (test-xfail-annexc): New variable.
25347 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25348
25349 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25350
25351 * argp/Makefile: Include Makeconfig immediately after defining
25352 subdir.
25353 * assert/Makefile: Likewise.
25354 * benchtests/Makefile: Likewise.
25355 * catgets/Makefile: Likewise.
25356 * conform/Makefile: Likewise.
25357 * crypt/Makefile: Likewise.
25358 * csu/Makefile: Likewise.
25359 (all): Remove target.
25360 * ctype/Makefile: Include Makeconfig immediately after defining
25361 subdir.
25362 * debug/Makefile: Likewise.
25363 * dirent/Makefile: Likewise.
25364 * dlfcn/Makefile: Likewise.
25365 * gmon/Makefile: Likewise.
25366 * gnulib/Makefile: Likewise.
25367 * grp/Makefile: Likewise.
25368 * gshadow/Makefile: Likewise.
25369 * hesiod/Makefile: Likewise.
25370 * hurd/Makefile: Likewise.
25371 (all): Remove target.
25372 * iconvdata/Makefile: Include Makeconfig immediately after
25373 defining subdir.
25374 * inet/Makefile: Likewise.
25375 * intl/Makefile: Likewise.
25376 * io/Makefile: Likewise.
25377 * libio/Makefile: Likewise.
25378 (all): Remove target.
25379 * locale/Makefile: Include Makeconfig immediately after defining
25380 subdir.
25381 * login/Makefile: Likewise.
25382 * mach/Makefile: Likewise.
25383 (all): Remove target.
25384 * malloc/Makefile: Include Makeconfig immediately after defining
25385 subdir.
25386 (all): Remove target.
25387 * manual/Makefile: Include Makeconfig immediately after defining
25388 subdir.
25389 * math/Makefile: Likewise.
25390 * misc/Makefile: Likewise.
25391 * nis/Makefile: Likewise.
25392 * nss/Makefile: Likewise.
25393 * po/Makefile: Likewise.
25394 (all): Remove target.
25395 * posix/Makefile: Include Makeconfig immediately after defining
25396 subdir.
25397 * pwd/Makefile: Likewise.
25398 * resolv/Makefile: Likewise.
25399 * resource/Makefile: Likewise.
25400 * rt/Makefile: Likewise.
25401 * setjmp/Makefile: Likewise.
25402 * shadow/Makefile: Likewise.
25403 * signal/Makefile: Likewise.
25404 * socket/Makefile: Likewise.
25405 * soft-fp/Makefile: Likewise.
25406 * stdio-common/Makefile: Likewise.
25407 * stdlib/Makefile: Likewise.
25408 * streams/Makefile: Likewise.
25409 * string/Makefile: Likewise.
25410 * sunrpc/Makefile: Likewise.
25411 (all): Remove target.
25412 * sysvipc/Makefile: Include Makeconfig immediately after defining
25413 subdir.
25414 * termios/Makefile: Likewise.
25415 * time/Makefile: Likewise.
25416 * timezone/Makefile: Likewise.
25417 (all): Remove target.
25418 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25419 subdir.
25420 * wctype/Makefile: Likewise.
25421
25422 2014-02-26 Steve Ellcey <sellcey@mips.com>
25423
25424 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25425 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25426 (libc_feholdexcept_setround_mips): Ditto.
25427 (libc_feholdsetround): New.
25428 (libc_feholdsetroundf): New.
25429 (libc_feholdsetroundl): New.
25430 (libc_feupdateenv_test_mips): New.
25431 (libc_feupdateenv_test): New.
25432 (libc_feupdateenv_testf): New.
25433 (libc_feupdateenv_testl): New.
25434 (libc_feresetround): New.
25435 (libc_feresetroundf): New.
25436 (libc_feresetroundl): New.
25437 (libc_fetestexcept_mips): New.
25438 (libc_fetestexcept): New.
25439 (libc_fetestexceptf): New.
25440 (libc_fetestexceptl): New.
25441 (HAVE_RM_CTX): New.
25442 (libc_feholdexcept_setround_mips_ctx): New.
25443 (libc_feholdexcept_setround_ctx): New.
25444 (libc_feholdexcept_setroundf_ctx): New.
25445 (libc_feholdexcept_setroundl_ctx): New.
25446 (libc_fesetenv_mips_ctx): New.
25447 (libc_fesetenv_ctx): New.
25448 (libc_fesetenv_ctxf): New.
25449 (libc_fesetenv_ctxl): New.
25450 (libc_feupdateenv_mips_ctx): New.
25451 (libc_feupdateenv_ctx): New.
25452 (libc_feupdateenvf_ctx): New.
25453 (libc_feupdateenvl_ctx): New.
25454 (libc_feholdsetround_mips_ctx): New.
25455 (libc_feholdsetround_ctx): New.
25456 (libc_feholdsetroundf_ctx): New.
25457 (libc_feholdsetroundl_ctx): New.
25458 (libc_feresetround_mips_ctx): New.
25459 (libc_feresetround_ctx): New.
25460 (libc_feresetroundf_ctx): New.
25461 (libc_feresetroundl_ctx): New.
25462
25463 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25464
25465 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25466
25467 * manual/ipc.texi: New file.
25468 * manual/Makefile (chapters): Add ipc.
25469 * manual/job.texi: Add "Inter-Process Communication" to next.
25470 * manual/process.texi: Add "Inter-Process Communication" to prev.
25471
25472 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25473
25474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25475
25476 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25477
25478 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25479
25480 * manual/arith.texi: Fix spaces after sentences.
25481 * manual/charset.texi: Likewise.
25482 * manual/errno.texi: Likewise.
25483 * manual/install.texi: Likewise.
25484 * manual/llio.texi: Likewise.
25485 * manual/locale.texi: Likewise.
25486 * manual/maint.texi: Likewise.
25487 * manual/math.texi: Likewise.
25488 * manual/memory.texi: Likewise.
25489 * manual/message.texi: Likewise.
25490 * manual/probes.texi: Likewise.
25491 * manual/resource.texi: Likewise.
25492 * manual/signal.texi: Likewise.
25493 * manual/socket.texi: Likewise.
25494 * manual/stdio.texi: Likewise.
25495 * manual/string.texi: Likewise.
25496 * manual/time.texi: Likewise.
25497 * manual/users.texi: Likewise.
25498
25499 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25500
25501 [BZ #16632]
25502 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25503 _DEFAULT_SOURCE is defined.
25504
25505 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25506 Carlos O'Donell <carlos@redhat.com>
25507
25508 [BZ #16613]
25509 * elf/dl-tls.c (_dl_count_modids): New function.
25510 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25511 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25512 audit library and increment generation counter.
25513 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25514 * elf/tst-audit9.c: New file.
25515 * elf/tst-auditmod9a.c: New file.
25516 * elf/tst-auditmod9b.c: New file.
25517 * elf/Makefile: Add rules to build and run tst-audit9.
25518
25519 2014-02-25 Florian Weimer <fweimer@redhat.com>
25520
25521 [BZ #15347]
25522 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25523
25524 2014-02-25 Will Newton <will.newton@linaro.org>
25525
25526 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25527 (__longjmp): Restore sp and lr before restoring callee
25528 saved registers. Add longjmp and longjmp_target
25529 SystemTap probe point.
25530 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25531 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25532 Define to zero to match jmpbuf layout.
25533 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25534 (__sigsetjmp): Save sp and lr before saving callee
25535 saved registers. Add setjmp SystemTap probe point.
25536
25537 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25538
25539 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25540
25541 2014-02-24 Andreas Schwab <schwab@suse.de>
25542
25543 [BZ #15804]
25544 * elf/pldd.c (wait_for_ptrace_stop): New function.
25545 (main): Call it after attaching.
25546
25547 2014-02-22 Roland McGrath <roland@hack.frob.com>
25548
25549 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25550 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25551 Versions files is now verboten.
25552 * hurd/Versions (libc: GLIBC_2.0):
25553 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25554 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25555 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25556 * mach/Versions: Likewise.
25557
25558 * csu/Versions: Remove unused %include.
25559 * resolv/Versions: Likewise.
25560
25561 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25562
25563 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25564 ($(objpfx)check-local-headers.out): Likewise.
25565 ($(objpfx)begin-end-check.out): Likewise.
25566 * Makerules (check-abi-%.out): Likewise.
25567 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25568 ($(objpfx)test2.cat): Likewise.
25569 ($(objpfx)de/libc.cat): Likewise.
25570 ($(objpfx)test-gencat.out): Likewise.
25571 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25572 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25573 ($(objpfx)noload-mem): Likewise.
25574 ($(objpfx)tst-pathopt.out): Likewise.
25575 ($(objpfx)tst-rtld-load-self.out): Likewise.
25576 ($(objpfx)tst-array1-cmp.out): Likewise.
25577 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25578 ($(objpfx)tst-array2-cmp.out): Likewise.
25579 ($(objpfx)tst-array3-cmp.out): Likewise.
25580 ($(objpfx)tst-array4-cmp.out): Likewise.
25581 ($(objpfx)tst-array5-cmp.out): Likewise.
25582 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25583 ($(objpfx)check-textrel.out): Likewise.
25584 ($(objpfx)check-execstack.out): Likewise.
25585 ($(objpfx)check-localplt.out): Likewise.
25586 ($(objpfx)order2-cmp.out): Likewise.
25587 ($(objpfx)tst-leaks1-mem): Likewise.
25588 ($(objpfx)tst-leaks1-static-mem): Likewise.
25589 ($(objpfx)tst-initorder-cmp.out): Likewise.
25590 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25591 ($(objpfx)tst-unused-dep.out): Likewise.
25592 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25593 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25594 * iconv/Makefile (test-iconvconfig): Likewise.
25595 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25596 ($(objpfx)iconv-test.out): Likewise.
25597 ($(objpfx)tst-tables.out): Likewise.
25598 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25599 ($(objpfx)tst-gettext.out): Likewise.
25600 ($(objpfx)tst-translit.out): Likewise.
25601 ($(objpfx)tst-gettext2.out): Likewise.
25602 ($(objpfx)tst-gettext4.out): Likewise.
25603 ($(objpfx)tst-gettext6.out): Likewise.
25604 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25605 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25606 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25607 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25608 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25609 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25610 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25611 ($(objpfx)wordexp-tst.out): Likewise.
25612 ($(objpfx)annexc.out): Likewise.
25613 ($(objpfx)tst-fnmatch-mem): Likewise.
25614 ($(objpfx)bug-regex2-mem): Likewise.
25615 ($(objpfx)bug-regex14-mem): Likewise.
25616 ($(objpfx)bug-regex21-mem): Likewise.
25617 ($(objpfx)bug-regex31-mem): Likewise.
25618 ($(objpfx)tst-vfork3-mem): Likewise.
25619 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25620 ($(objpfx)tst-pcre-mem): Likewise.
25621 ($(objpfx)tst-boost-mem): Likewise.
25622 ($(objpfx)tst-getconf.out): Likewise.
25623 ($(objpfx)bug-ga2-mem): Likewise.
25624 ($(objpfx)bug-glob2-mem): Likewise.
25625 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25626 ($(objpfx)mtrace-tst-leaks2): Likewise.
25627 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25628 ($(objpfx)tst-printf.out): Likewise.
25629 ($(objpfx)tst-setvbuf1.out): Likewise.
25630 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25631 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25632 ($(objpfx)tst-fmtmsg.out): Likewise.
25633 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25634 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25635
25636 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25637 * bits/sigaction.h [__USE_MISC]: Likewise.
25638 * bits/waitstatus.h: Update #endif comments.
25639 * ctype/ctype.h: Likewise.
25640 * dirent/dirent.h: Likewise.
25641 [__USE_MISC]: Remove redundant conditionals.
25642 * grp/grp.h: Update #endif comments.
25643 [__USE_GNU]: Remove redundant conditionals.
25644 [__USE_MISC]: Likewise.
25645 * inet/netinet/in.h [__USE_GNU]: Likewise.
25646 * io/sys/stat.h [__USE_MISC]: Likewise.
25647 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25648 * libio/bits/stdio.h: Update #endif comments.
25649 [__USE_MISC]: Remove redundant conditionals.
25650 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25651 * libio/stdio.h: Update #endif comments.
25652 [__USE_MISC]: Remove redundant conditionals.
25653 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25654 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25655 * math/math.h: Update #else and #endif comments.
25656 [__USE_MISC]: Remove redundant conditionals.
25657 * misc/sys/uio.h: Update #endif comments.
25658 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25659 * posix/glob.h [__USE_MISC]: Likewise.
25660 * posix/sys/types.h: Update #endif comments.
25661 [__USE_MISC]: Remove redundant conditionals.
25662 * posix/sys/wait.h: Update #endif comments.
25663 [__USE_MISC]: Remove redundant conditionals.
25664 * posix/unistd.h: Update #endif comments.
25665 [__USE_MISC]: Remove redundant conditionals.
25666 * pwd/pwd.h [__USE_GNU]: Likewise.
25667 [__USE_MISC]: Likewise.
25668 * resolv/netdb.h [__USE_GNU]: Likewise.
25669 * signal/signal.h: Update #endif comments.
25670 [__USE_MISC]: Remove redundant conditionals.
25671 * stdlib/stdlib.h: Update #else and #endif comments.
25672 [__USE_MISC]: Remove redundant conditionals.
25673 [__USE_GNU]: Likewise.
25674 * string/bits/string2.h [__USE_MISC]: Likewise.
25675 * string/string.h: Update #endif comments.
25676 [__USE_MISC]: Remove redundant conditionals.
25677 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25678 Likewise.
25679 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25680 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25681 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25682 Likewise.
25683 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25684 Likewise.
25685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25686 comments.
25687 [__USE_MISC]: Remove redundant conditionals.
25688 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25689 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25690 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25691 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25692 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25695 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25696 Likewise.
25697 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25698 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25699 Likewise.
25700 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25701 Likewise.
25702 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25703 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25704 Likewise.
25705 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25706 Likewise.
25707 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25708 * sysdeps/x86/bits/string.h: Update #endif comments.
25709 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25710 conditionals.
25711 * time/sys/time.h: Update #endif comments.
25712 * time/time.h: Likewise.
25713 [__USE_MISC]: Remove redundant conditionals.
25714
25715 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25716
25717 [BZ #16600]
25718 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25719
25720 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25721
25722 * Versions.def (librt): Add GLIBC_2.17.
25723
25724 2014-02-21 Adam Conrad <adconrad@0c3.net>
25725
25726 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25727 synonym for _SYS_AUXV_H to allow direct inclusion.
25728 * sysdeps/sparc/bits/hwcap.h: Likewise.
25729 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25730 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25731 * sysdeps/sparc/sysdep.h: Likewise.
25732
25733 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25734
25735 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25736
25737 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25738
25739 * benchtests/bench-strrchr.c: Print length instead of position.
25740
25741 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25742
25743 [BZ #16611]
25744 * sysdeps/unix/sysv/linux/kernel-features.h
25745 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25746 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25747 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25748 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25749 Likewise.
25750 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25751 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25752 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25753 (__ASSUME_SENDMMSG): Define instead of using previous
25754 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25755 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25756 (__ASSUME_SENDMMSG_SYSCALL): Define.
25757 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25758 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25759 Likewise.
25760 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25761 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25762 Likewise.
25763 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25764 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25765 Likewise.
25766 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25767 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25768 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25769 [__ASSUME_SENDMMSG]: Change conditionals to
25770 [__ASSUME_SENDMMSG_SOCKETCALL].
25771 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25772 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25773 Define.
25774 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25775 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25776 Likewise.
25777 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25778 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25779 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25780 [!__ASSUME_SENDMMSG]: Change conditional to
25781 [!__ASSUME_SENDMMSG_SOCKETCALL].
25782 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25783 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25784 Define.
25785
25786 [BZ #16610]
25787 * sysdeps/unix/sysv/linux/kernel-features.h
25788 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25789 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25790 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25791 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25792 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25793 [__i386__ || __sparc__]
25794 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25795 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25796 (__ASSUME_RECVMMSG): Define instead of using previous
25797 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25798 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25799 (__ASSUME_RECVMMSG_SYSCALL): Define.
25800 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25801 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25802 Likewise.
25803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25805 Likewise.
25806 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25807 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25808 Likewise.
25809 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25810 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25811 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25812 [__ASSUME_RECVMMSG]: Change condition to
25813 [__ASSUME_RECVMMSG_SOCKETCALL].
25814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25815 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25816 Define.
25817 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25819 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25820 Likewise.
25821 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25822 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25823 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25824 [!__ASSUME_RECVMMSG]: Change condition to
25825 [!__ASSUME_RECVMMSG_SOCKETCALL].
25826 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25827 (__ASSUME_RECVMMSG_SYSCALL): Define.
25828
25829 [BZ #16609]
25830 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25831 __powerpc__ || __s390__ || __sh__ || __sparc__]
25832 (__ASSUME_SOCKETCALL): Define.
25833 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25834 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25835 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25836 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25837 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25838 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25839 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25840 (__ASSUME_ACCEPT4): Define instead of using previous
25841 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25842 __powerpc__ || __sparc__ || __s390__)] condition.
25843 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25844 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25845 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25846 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25847 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25848 [!__ASSUME_ACCEPT4]: Change condition to
25849 [!__ASSUME_ACCEPT4_SOCKETCALL].
25850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25851 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25852 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25853 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25854 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25855 __ASSUME_ACCEPT4_SYSCALL.
25856 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25857 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25858 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25859 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25860 __ASSUME_ACCEPT4_SYSCALL.
25861 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25862 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25863 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25864 [__ASSUME_ACCEPT4]: Change condition to
25865 [__ASSUME_ACCEPT4_SOCKETCALL].
25866 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25867 (__ASSUME_SOCKETCALL): Define.
25868 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25870 (__ASSUME_SOCKETCALL): Define.
25871 (__ASSUME_ACCEPT4): Remove.
25872 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25873 Define.
25874 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25875 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25876 Likewise.
25877 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25878 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25879
25880 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25881 macro.
25882 (HWCAP_ARM_LPAE): Likewise.
25883 (HWCAP_ARM_EVTSTRM): Likewise.
25884 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25885 Add vpfd32, lpae and evtstrm.
25886 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25887 Increase to 22.
25888
25889 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25890
25891 * math/auto-libm-test-in: Add tests of clog10.
25892 * math/auto-libm-test-out: Regenerated.
25893 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25894 * sysdeps/i386/fpu/libm-test-ulps: Update.
25895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25896
25897 2014-02-18 Andreas Schwab <schwab@suse.de>
25898
25899 [BZ #16574]
25900 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25901 Store non-zero if the second buffer was newly allocated.
25902 (send_dg): Likewise.
25903 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25904 to send_vc and send_dg.
25905 (res_nsend): Pass NULL for ansp2_malloced.
25906 * resolv/res_query.c (__libc_res_nquery): Add parameter
25907 answerp2_malloced and pass it down to __libc_res_nsend.
25908 (res_nquery): Pass additional NULL to __libc_res_nquery.
25909 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25910 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25911 second answer buffer if answerp2_malloced was set.
25912 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25913 (__libc_res_nquerydomain): Add parameter
25914 answerp2_malloced and pass it down to __libc_res_nquery.
25915 (res_nquerydomain): Pass additional NULL to
25916 __libc_res_nquerydomain.
25917 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25918 additional NULL to __libc_res_nsend and __libc_res_nquery.
25919 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25920 additional NULL to __libc_res_nsearch.
25921 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25922 parameter of __libc_res_nsearch to check for separately allocated
25923 second buffer.
25924 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25925 __libc_res_nquery.
25926 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25927 additional NULL to __libc_res_nquery.
25928 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25929 __libc_res_nsearch.
25930 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25931 * include/resolv.h: Update prototypes of __libc_res_nquery,
25932 __libc_res_nsearch, __libc_res_nsend.
25933
25934 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25935
25936 * math/auto-libm-test-in: Add tests of fma.
25937 * math/auto-libm-test-out: Regenerated.
25938 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25939 (fma_towardzero_test_data): Likewise.
25940 (fma_downward_test_data): Likewise.
25941 (fma_upward_test_data): Likewise.
25942 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25943 mpc_mode.
25944 (rounding_modes): Add values for new field.
25945 (func_calc_method): Add value mpfr_fff_f.
25946 (func_calc_desc): Add mpfr_fff_f union field.
25947 (test_function): Add field exact_args.
25948 (FUNC): Add macro argument EXACT_ARGS.
25949 (FUNC_mpfr_f_f): Update call to FUNC.
25950 (FUNC_mpfr_f_f): Likewise.
25951 (FUNC_mpfr_ff_f): Likewise.
25952 (FUNC_mpfr_if_f): Likewise.
25953 (FUNC_mpc_c_f): Likewise.
25954 (FUNC_mpc_c_c): Likewise.
25955 (test_functions): Add fma. Update calls to FUNC.
25956 (handle_input_arg): Add argument exact_args.
25957 (add_test): Update call to handle_input_arg.
25958 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25959 (output_for_one_input_case): Update call to calc_generic_results.
25960 Recalculate exact zero results in each rounding mode.
25961
25962 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25963 non-negative before setting low bit.
25964 * math/auto-libm-test-in: Mark one asin test possibly having
25965 spurious underflow.
25966 * math/auto-libm-test-out: Regenerated.
25967 * sysdeps/i386/fpu/libm-test-ulps: Update.
25968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25969
25970 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25971
25972 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25973 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25974 ports/sysdeps/unix/sysv/linux/microblaze.
25975 * README: Add missing listing for microblaze*-*-linux-gnu.
25976
25977 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25978
25979 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25980 duplicate code
25981
25982 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25983
25984 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25985 * sysdeps/unix/sysv/linux/ia64: Move directory from
25986 ports/sysdeps/unix/sysv/linux/ia64.
25987 * README: Update listing for ia64-*-linux-gnu.
25988
25989 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25990 Joseph Myers <joseph@codesourcery.com>
25991
25992 * Makeconfig (test-name): New variable.
25993 (evaluate-test): Likewise.
25994 * Makerules (do-test-clean): Remove .test-result files.
25995 (common-mostlyclean): Likewise.
25996 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25997 * scripts/evaluate-test.sh: New file.
25998
25999 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26000
26001 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26002 separate $(objpfx)tst-fopenloc-cmp.out and
26003 $(objpfx)tst-fopenloc-mem.out targets.
26004 (tests): Update dependencies.
26005 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26006 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26007 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26008 (tst-rxspencer-no-utf8-ARGS): New variable.
26009 (tst-rxspencer-no-utf8-ENV): Likewise.
26010 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26011 instead of $(objpfx)tst-rxspencer-mem.
26012 ($(objpfx)tst-rxspencer-mem): Change target to
26013 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26014 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26015 * posix/tst-rxspencer-no-utf8.c: New file.
26016
26017 * elf/Makefile ($(objpfx)order.out): Remove rule.
26018 [$(run-built-tests) = yes] (tests): Depend on
26019 $(objpfx)order-cmp.out.
26020 ($(objpfx)order-cmp.out): New rule.
26021 [$(run-built-tests) = yes] (tests): Depend on
26022 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26023 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26024 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26025 $(objpfx)tst-array5-static-cmp.out.
26026 ($(objpfx)tst-array1.out): Remove rule.
26027 ($(objpfx)tst-array1-cmp.out): New rule.
26028 ($(objpfx)tst-array1-static.out): Remove rule.
26029 ($(objpfx)tst-array1-static-cmp.out): New rule.
26030 ($(objpfx)tst-array2.out): Remove rule.
26031 ($(objpfx)tst-array2-cmp.out): New rule.
26032 ($(objpfx)tst-array3.out): Remove rule.
26033 ($(objpfx)tst-array3-cmp.out): New rule.
26034 ($(objpfx)tst-array4.out): Remove rule.
26035 ($(objpfx)tst-array4-cmp.out): New rule.
26036 ($(objpfx)tst-array5.out): Remove rule.
26037 ($(objpfx)tst-array5-cmp.out): New rule.
26038 ($(objpfx)tst-array5-static.out): Remove rule.
26039 ($(objpfx)tst-array5-static-cmp.out): New rule.
26040 [$(run-built-tests) = yes] (tests): Depend on
26041 $(objpfx)order2-cmp.out.
26042 ($(objpfx)order2.out): Remove rule.
26043 ($(objpfx)order2-cmp.out): New rule.
26044 ($(objpfx)tst-initorder.out): Remove rule.
26045 [$(run-built-tests) = yes] (tests): Depend on
26046 $(objpfx)tst-initorder-cmp.out.
26047 ($(objpfx)tst-initorder-cmp.out): New rule.
26048 ($(objpfx)tst-initorder2.out): Remove rule.
26049 [$(run-built-tests) = yes] (tests): Depend on
26050 $(objpfx)tst-initorder2-cmp.out.
26051 ($(objpfx)tst-initorder2-cmp.out): New rule.
26052 [$(run-built-tests) = yes] (tests): Depend on
26053 $(objpfx)tst-unused-dep-cmp.out.
26054 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26055 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26056 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26057 on $(objpfx)tst-setvbuf1-cmp.out.
26058 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26059 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26060 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26061 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26062 ($(objpfx)tst-svc.out): Remove rule.
26063 ($(objpfx)tst-svc-cmp.out): New rule.
26064
26065 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26066
26067 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26068 * ctype/ctype.h [__USE_MISC]: Likewise.
26069 * dirent/dirent.h [__USE_MISC]: Likewise.
26070 * grp/grp.h [__USE_MISC]: Likewise.
26071 * io/fcntl.h [__USE_MISC]: Likewise.
26072 * io/sys/stat.h [__USE_MISC]: Likewise.
26073 * libio/stdio.h [__USE_MISC]: Likewise.
26074 * posix/unistd.h [__USE_MISC]: Likewise.
26075 * pwd/pwd.h [__USE_MISC]: Likewise.
26076 * stdlib.h [__USE_MISC]: Likewise.
26077 * string/bits/string2.h [__USE_MISC]: Likewise.
26078 * string/string.h [__USE_MISC]: Likewise.
26079 * time/time.h [__USE_MISC]: Likewise.
26080
26081 2014-02-13 Andreas Schwab <schwab@suse.de>
26082
26083 [BZ #16574]
26084 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26085 second answer buffer if it was separately allocated.
26086
26087 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26088
26089 * sysdeps/mips/math-tests.h: Include <features.h>.
26090 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26091 (ROUNDING_TESTS_long_double): Do not define.
26092 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26093 (EXCEPTION_TESTS_long_double): Likewise.
26094 * sysdeps/mips/mips64/libm-test-ulps: Update.
26095
26096 * include/features.h (__USE_BSD): Remove macro definitions.
26097 (__USE_SVID): Likewise.
26098 (_BSD_SOURCE): Likewise.
26099 (_SVID_SOURCE): Likewise.
26100 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26101 from definition of _DEFAULT_SOURCE.
26102 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26103 [_DEFAULT_SOURCE].
26104 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26105 * bits/mman.h [__USE_BSD]: Likewise.
26106 * bits/termios.h [__USE_BSD]: Likewise.
26107 * bits/waitstatus.h [__USE_BSD]: Likewise.
26108 * ctype/ctype.h [__USE_SVID]: Likewise.
26109 * dirent/dirent.h [__USE_BSD]: Likewise.
26110 * grp/grp.h [__USE_SVID]: Likewise.
26111 [__USE_BSD]: Likewise.
26112 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26113 * io/fcntl.h [__USE_BSD]: Likewise.
26114 * io/ftw.h [__USE_BSD]: Likewise.
26115 * io/sys/stat.h [__USE_BSD]: Likewise.
26116 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26117 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26118 * libio/stdio.h [__USE_SVID]: Likewise.
26119 [__USE_BSD]: Likewise.
26120 * math/math.h [__USE_SVID]: Likewise.
26121 [__USE_BSD]: Likewise.
26122 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26123 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26124 * misc/search.h [__USE_SVID]: Likewise.
26125 * misc/sys/mman.h [__USE_BSD]: Likewise.
26126 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26127 * misc/sys/uio.h [__USE_BSD]: Likewise.
26128 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26129 * posix/glob.h [__USE_BSD]: Likewise.
26130 * posix/regex.h [__USE_BSD]: Likewise.
26131 * posix/sys/types.h [__USE_BSD]: Likewise.
26132 [__USE_SVID]: Likewise.
26133 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26134 * posix/sys/wait.h [__USE_BSD]: Likewise.
26135 [__USE_SVID]: Likewise.
26136 * posix/unistd.h [__USE_BSD]: Likewise.
26137 [__USE_SVID]: Likewise.
26138 * pwd/pwd.h [__USE_SVID]: Likewise.
26139 * resolv/netdb.h [__USE_BSD]: Likewise.
26140 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26141 * signal/signal.h [__USE_BSD]: Likewise.
26142 [__USE_SVID]: Likewise.
26143 * socket/sys/socket.h [__USE_BSD]: Likewise.
26144 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26145 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26146 [__USE_SVID]: Likewise.
26147 * string/bits/string2.h [__USE_BSD]: Likewise.
26148 [__USE_SVID]: Likewise.
26149 * string/bits/string3.h [__USE_BSD]: Likewise.
26150 * string/endian.h [__USE_BSD]: Likewise.
26151 * string/string.h [__USE_SVID]: Likewise.
26152 [__USE_BSD]: Likewise.
26153 * string/strings.h [__USE_BSD]: Likewise.
26154 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26155 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26156 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26157 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26158 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26159 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26160 Likewise.
26161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26162 Likewise.
26163 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26164 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26165 Likewise.
26166 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26167 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26168 Likewise.
26169 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26170 Likewise.
26171 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26172 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26173 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26174 Likewise.
26175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26176 Likewise.
26177 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26178 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26179 * termios/termios.h [__USE_BSD]: Likewise.
26180 * time/sys/time.h [__USE_BSD]: Likewise.
26181 * time/time.h [__USE_BSD]: Likewise.
26182 [__USE_SVID]: Likewise.
26183
26184 * Makefile (subdir_targets): Remove subdir_lint.out.
26185
26186 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26187 (do-tst-printf): Likewise.
26188 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26189 $(objpfx)tst-printf.out.
26190
26191 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26192
26193 * Makerules (check-abi-%): Change target to
26194 $(objpfx)check-abi-%.out.
26195 (check-abi target): Update dependencies.
26196 (check-abi-pattern variable): Redirect output of diff to $@.
26197 (check-abi variable): Likewise.
26198 * elf/Makefile (check-abi): Update dependencies.
26199
26200 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26201 unused.
26202 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26203 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26204 subnormal range.
26205 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26206 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26207 value has largest subnormal exponent.
26208 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26209 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26210 * sysdeps/aarch64/soft-fp/sfp-machine.h
26211 (_FP_TININESS_AFTER_ROUNDING): New macro.
26212 * sysdeps/alpha/soft-fp/sfp-machine.h
26213 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26214 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26215 Likewise.
26216 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26217 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26218 * sysdeps/mips/soft-fp/sfp-machine.h
26219 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26220 * sysdeps/powerpc/soft-fp/sfp-machine.h
26221 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26222 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26223 Likewise.
26224 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26225 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26226 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26227 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26228 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26229 Likewise.
26230
26231 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26232
26233 [BZ #16545]
26234 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26235 model 1.
26236
26237 2014-02-12 Richard Henderson <rth@redhat.com>
26238
26239 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26240 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26241 * sysdeps/unix/sysv/linux/alpha: Move directory from
26242 ports/sysdeps/unix/sysv/linux/alpha.
26243 * README: Update listing for alpha-*-linux-gnu.
26244
26245 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26246
26247 * include/features.h: Update comment documenting feature test
26248 macros.
26249 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26250 _DEFAULT_SOURCE.
26251 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26252 (_SVID_SOURCE): Likewise.
26253 (_DEFAULT_SOURCE): Update description of default features.
26254 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26255 with _GNU_SOURCE.
26256 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26257 (S_ISVTX): Likewise.
26258 * manual/math.texi (Mathematical Constants): Likewise.
26259 * manual/signal.texi (Interrupted Primitives): Likewise.
26260 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26261 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26262 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26263 Don't refer to _SVID_SOURCE in warning text.
26264
26265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26266
26267 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26268 already defined.
26269 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26270 * sysdeps/mips/dl-lookup.c: Remove.
26271 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26272
26273 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26274
26275 [BZ #16447]
26276 * math/auto-libm-test-in: Add testcase for expl.
26277 * math/auto-libm-test-out: Regenerate.
26278 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26279 calculation of unsafe.
26280 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26281
26282 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26283
26284 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26285 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26286 ports/sysdeps/unix/sysv/linux/aarch64.
26287 * README: Update listing for aarch64*-*-linux-gnu.
26288
26289 2014-02-11 Will Newton <will.newton@linaro.org>
26290
26291 * manual/probes.texi (Mathematical Function Probes): Use
26292 "triggered" instead of "hit".
26293
26294 * manual/probes.texi (Internal Probes): Add documentation
26295 of setjmp, longjmp and longjmp_target probes.
26296
26297 * include/stap-probe.h: Add comment about probe argument
26298 format.
26299
26300 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26301 definition. (tr_where, tr_freehook, tr_mallochook,
26302 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26303
26304 2014-02-11 David S. Miller <davem@davemloft.net>
26305
26306 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26307 processing int_tests.
26308
26309 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26310
26311 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26312 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26313 * sysdeps/unix/sysv/linux/mips: Move directory from
26314 ports/sysdeps/unix/sysv/linux/mips.
26315 * README: Update listing for mips-*-linux-gnu and
26316 mips64-*-linux-gnu.
26317
26318 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26319
26320 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26321 * sysdeps/unix/sysv/linux/m68k: Move directory from
26322 ports/sysdeps/unix/sysv/linux/m68k.
26323 * README: Update listing for m68k-*-linux-gnu.
26324
26325 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26326
26327 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26328 * sysdeps/unix/sysv/linux/generic: Move directory from
26329 ports/sysdeps/unix/sysv/linux/generic.
26330 * sysdeps/unix/sysv/linux/tile: Move directory from
26331 ports/sysdeps/unix/sysv/linux/tile.
26332 * README: Update listing for tile*-*-linux-gnu.
26333
26334 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26335
26336 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26337 __builtin_expect.
26338 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26339 * catgets/open_catalog.c (__open_catalog): Likewise.
26340 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26341 * debug/confstr_chk.c: Likewise.
26342 * debug/fread_chk.c (__fread_chk): Likewise.
26343 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26344 * debug/getgroups_chk.c: Likewise.
26345 * debug/mbsnrtowcs_chk.c: Likewise.
26346 * debug/mbsrtowcs_chk.c: Likewise.
26347 * debug/mbstowcs_chk.c: Likewise.
26348 * debug/memcpy_chk.c: Likewise.
26349 * debug/memmove_chk.c: Likewise.
26350 * debug/mempcpy_chk.c: Likewise.
26351 * debug/memset_chk.c: Likewise.
26352 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26353 * debug/strcat_chk.c (__strcat_chk): Likewise.
26354 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26355 * debug/strncat_chk.c (__strncat_chk): Likewise.
26356 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26357 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26358 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26359 * debug/wcpncpy_chk.c: Likewise.
26360 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26361 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26362 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26363 * debug/wcsncpy_chk.c: Likewise.
26364 * debug/wcsnrtombs_chk.c: Likewise.
26365 * debug/wcsrtombs_chk.c: Likewise.
26366 * debug/wcstombs_chk.c: Likewise.
26367 * debug/wmemcpy_chk.c: Likewise.
26368 * debug/wmemmove_chk.c: Likewise.
26369 * debug/wmempcpy_chk.c: Likewise.
26370 * debug/wmemset_chk.c: Likewise.
26371 * dirent/scandirat.c (SCANDIRAT): Likewise.
26372 * dlfcn/dladdr1.c (dladdr1): Likewise.
26373 * dlfcn/dladdr.c (dladdr): Likewise.
26374 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26375 * dlfcn/dlerror.c (__dlerror): Likewise.
26376 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26377 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26378 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26379 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26380 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26381 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26382 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26383 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26384 Likewise.
26385 * elf/dl-conflict.c: Likewise.
26386 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26387 * elf/dl-dst.h: Likewise.
26388 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26389 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26390 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26391 * elf/dl-init.c (call_init, _dl_init): Likewise.
26392 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26393 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26394 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26395 Likewise.
26396 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26397 Likewise.
26398 * elf/dl-minimal.c (__libc_memalign): Likewise.
26399 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26400 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26401 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26402 * elf/dl-sym.c (do_sym): Likewise.
26403 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26404 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26405 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26406 * elf/dl-writev.h (_dl_writev): Likewise.
26407 * elf/ldconfig.c (search_dir): Likewise.
26408 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26409 (dl_main): Likewise.
26410 * elf/setup-vdso.h (setup_vdso): Likewise.
26411 * grp/compat-initgroups.c (compat_call): Likewise.
26412 * grp/fgetgrent.c (fgetgrent): Likewise.
26413 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26414 * grp/putgrent.c (putgrent): Likewise.
26415 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26416 Likewise.
26417 * hurd/hurdinit.c: Likewise.
26418 * iconvdata/8bit-gap.c (struct): Likewise.
26419 * iconvdata/ansi_x3.110.c : Likewise.
26420 * iconvdata/big5.c : Likewise.
26421 * iconvdata/big5hkscs.c : Likewise.
26422 * iconvdata/cp1255.c: Likewise.
26423 * iconvdata/cp1258.c : Likewise.
26424 * iconvdata/cp932.c : Likewise.
26425 * iconvdata/euc-cn.c: Likewise.
26426 * iconvdata/euc-jisx0213.c : Likewise.
26427 * iconvdata/euc-jp.c: Likewise.
26428 * iconvdata/euc-jp-ms.c : Likewise.
26429 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26430 * iconvdata/gb18030.c : Likewise.
26431 * iconvdata/gbbig5.c (const): Likewise.
26432 * iconvdata/gbgbk.c: Likewise.
26433 * iconvdata/gbk.c : Likewise.
26434 * iconvdata/ibm1364.c : Likewise.
26435 * iconvdata/ibm930.c : Likewise.
26436 * iconvdata/ibm932.c: Likewise.
26437 * iconvdata/ibm933.c : Likewise.
26438 * iconvdata/ibm935.c : Likewise.
26439 * iconvdata/ibm937.c : Likewise.
26440 * iconvdata/ibm939.c : Likewise.
26441 * iconvdata/ibm943.c: Likewise.
26442 * iconvdata/iso_11548-1.c: Likewise.
26443 * iconvdata/iso-2022-cn.c : Likewise.
26444 * iconvdata/iso-2022-cn-ext.c : Likewise.
26445 * iconvdata/iso-2022-jp-3.c: Likewise.
26446 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26447 * iconvdata/iso-2022-kr.c : Likewise.
26448 * iconvdata/iso646.c (gconv_end): Likewise.
26449 * iconvdata/iso_6937-2.c : Likewise.
26450 * iconvdata/iso_6937.c : Likewise.
26451 * iconvdata/iso8859-1.c: Likewise.
26452 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26453 * iconvdata/shift_jisx0213.c : Likewise.
26454 * iconvdata/sjis.c : Likewise.
26455 * iconvdata/t.61.c : Likewise.
26456 * iconvdata/tcvn5712-1.c : Likewise.
26457 * iconvdata/tscii.c: Likewise.
26458 * iconvdata/uhc.c : Likewise.
26459 * iconvdata/unicode.c (gconv_end): Likewise.
26460 * iconvdata/utf-16.c (gconv_end): Likewise.
26461 * iconvdata/utf-32.c (gconv_end): Likewise.
26462 * iconvdata/utf-7.c (base64): Likewise.
26463 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26464 * iconv/gconv_close.c (__gconv_close): Likewise.
26465 * iconv/gconv_open.c (__gconv_open): Likewise.
26466 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26467 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26468 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26469 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26470 (ucs4le_internal_loop_single): Likewise.
26471 * iconv/iconv.c (iconv): Likewise.
26472 * iconv/iconv_close.c: Likewise.
26473 * iconv/loop.c (SINGLE): Likewise.
26474 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26475 * include/atomic.h: Likewise.
26476 * inet/inet6_option.c (option_alloc): Likewise.
26477 * intl/bindtextdom.c (set_binding_values): Likewise.
26478 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26479 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26480 * intl/localealias.c (read_alias_file): Likewise.
26481 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26482 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26483 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26484 * libio/fmemopen.c (fmemopen): Likewise.
26485 * libio/iofgets.c (_IO_fgets): Likewise.
26486 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26487 * libio/iofgetws.c (fgetws): Likewise.
26488 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26489 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26490 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26491 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26492 * locale/findlocale.c (_nl_find_locale): Likewise.
26493 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26494 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26495 Likewise.
26496 * locale/setlocale.c (setlocale): Likewise.
26497 * login/programs/pt_chown.c (main): Likewise.
26498 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26499 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26500 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26501 (mmap, mmap64, mremap, munmap): Likewise.
26502 * math/e_exp2l.c: Likewise.
26503 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26504 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26505 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26506 * math/s_catan.c (__catan): Likewise.
26507 * math/s_catanf.c (__catanf): Likewise.
26508 * math/s_catanh.c (__catanh): Likewise.
26509 * math/s_catanhf.c (__catanhf): Likewise.
26510 * math/s_catanhl.c (__catanhl): Likewise.
26511 * math/s_catanl.c (__catanl): Likewise.
26512 * math/s_ccosh.c (__ccosh): Likewise.
26513 * math/s_ccoshf.c (__ccoshf): Likewise.
26514 * math/s_ccoshl.c (__ccoshl): Likewise.
26515 * math/s_cexp.c (__cexp): Likewise.
26516 * math/s_cexpf.c (__cexpf): Likewise.
26517 * math/s_cexpl.c (__cexpl): Likewise.
26518 * math/s_clog10.c (__clog10): Likewise.
26519 * math/s_clog10f.c (__clog10f): Likewise.
26520 * math/s_clog10l.c (__clog10l): Likewise.
26521 * math/s_clog.c (__clog): Likewise.
26522 * math/s_clogf.c (__clogf): Likewise.
26523 * math/s_clogl.c (__clogl): Likewise.
26524 * math/s_csin.c (__csin): Likewise.
26525 * math/s_csinf.c (__csinf): Likewise.
26526 * math/s_csinh.c (__csinh): Likewise.
26527 * math/s_csinhf.c (__csinhf): Likewise.
26528 * math/s_csinhl.c (__csinhl): Likewise.
26529 * math/s_csinl.c (__csinl): Likewise.
26530 * math/s_csqrt.c (__csqrt): Likewise.
26531 * math/s_csqrtf.c (__csqrtf): Likewise.
26532 * math/s_csqrtl.c (__csqrtl): Likewise.
26533 * math/s_ctan.c (__ctan): Likewise.
26534 * math/s_ctanf.c (__ctanf): Likewise.
26535 * math/s_ctanh.c (__ctanh): Likewise.
26536 * math/s_ctanhf.c (__ctanhf): Likewise.
26537 * math/s_ctanhl.c (__ctanhl): Likewise.
26538 * math/s_ctanl.c (__ctanl): Likewise.
26539 * math/w_pow.c: Likewise.
26540 * math/w_powf.c: Likewise.
26541 * math/w_powl.c: Likewise.
26542 * math/w_scalb.c (sysv_scalb): Likewise.
26543 * math/w_scalbf.c (sysv_scalbf): Likewise.
26544 * math/w_scalbl.c (sysv_scalbl): Likewise.
26545 * misc/error.c (error_tail): Likewise.
26546 * misc/pselect.c (__pselect): Likewise.
26547 * nis/nis_callback.c (__nis_create_callback): Likewise.
26548 * nis/nis_call.c (__nisfind_server): Likewise.
26549 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26550 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26551 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26552 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26553 * nis/nis_lookup.c (nis_lookup): Likewise.
26554 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26555 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26556 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26557 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26558 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26559 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26560 * nis/nss_compat/compat-initgroups.c (add_group)
26561 (internal_getgrent_r): Likewise.
26562 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26563 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26564 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26565 (internal_getspnam_r): Likewise.
26566 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26567 (_nss_nis_getaliasbyname_r): Likewise.
26568 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26569 (_nss_nis_getntohost_r): Likewise.
26570 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26571 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26572 (_nss_nis_getgrgid_r): Likewise.
26573 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26574 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26575 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26576 (_nss_nis_gethostbyname4_r): Likewise.
26577 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26578 (initgroups_netid): Likewise.
26579 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26580 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26581 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26582 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26583 (_nss_nis_getprotobynumber_r): Likewise.
26584 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26585 (_nss_nis_getsecretkey): Likewise.
26586 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26587 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26588 (_nss_nis_getpwuid_r): Likewise.
26589 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26590 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26591 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26592 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26593 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26594 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26595 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26596 Likewise.
26597 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26598 (_nss_nisplus_getntohost_r): Likewise.
26599 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26600 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26601 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26602 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26603 Likewise.
26604 * nis/nss_nisplus/nisplus-initgroups.c
26605 (_nss_nisplus_initgroups_dyn): Likewise.
26606 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26607 (_nss_nisplus_getnetbyaddr_r): Likewise.
26608 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26609 (_nss_nisplus_getprotobynumber_r): Likewise.
26610 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26611 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26612 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26613 Likewise.
26614 * nis/nss_nisplus/nisplus-service.c
26615 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26616 (_nss_nisplus_getservbyport_r): Likewise.
26617 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26618 (_nss_nisplus_getspnam_r): Likewise.
26619 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26620 Likewise.
26621 * nscd/aicache.c (addhstaiX): Likewise.
26622 * nscd/cache.c (cache_search, prune_cache): Likewise.
26623 * nscd/connections.c (register_traced_file, send_ro_fd)
26624 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26625 (main_loop_epoll): Likewise.
26626 * nscd/grpcache.c (addgrbyX): Likewise.
26627 * nscd/hstcache.c (addhstbyX): Likewise.
26628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26629 * nscd/mem.c (gc, mempool_alloc): Likewise.
26630 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26631 (addinnetgrX): Likewise.
26632 * nscd/nscd-client.h (__nscd_acquire_maplock)
26633 (__nscd_drop_map_ref): Likewise.
26634 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26635 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26636 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26637 Likewise.
26638 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26640 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26641 (__nscd_get_map_ref): Likewise.
26642 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26643 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26644 Likewise.
26645 * nscd/pwdcache.c (addpwbyX): Likewise.
26646 * nscd/selinux.c (preserve_capabilities): Likewise.
26647 * nscd/servicescache.c (addservbyX): Likewise.
26648 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26649 * posix/fnmatch.c (fnmatch): Likewise.
26650 * posix/getopt.c (_getopt_internal_r): Likewise.
26651 * posix/glob.c (glob, glob_in_dir): Likewise.
26652 * posix/wordexp.c (exec_comm_child): Likewise.
26653 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26654 (getanswer_r, gaih_getanswer_slice): Likewise.
26655 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26656 * resolv/res_init.c: Likewise.
26657 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26658 * resolv/res_query.c (__libc_res_nquery): Likewise.
26659 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26660 Likewise.
26661 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26662 * stdio-common/perror.c (perror): Likewise.
26663 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26664 * stdio-common/tmpnam.c (tmpnam): Likewise.
26665 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26666 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26667 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26668 Likewise.
26669 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26670 * stdlib/putenv.c (putenv): Likewise.
26671 * stdlib/setenv.c (__add_to_environ): Likewise.
26672 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26673 * stdlib/strtol_l.c (INTERNAL): Likewise.
26674 * string/memmem.c (memmem): Likewise.
26675 * string/strerror.c (strerror): Likewise.
26676 * string/strnlen.c (__strnlen): Likewise.
26677 * string/test-memmem.c (simple_memmem): Likewise.
26678 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26679 * sunrpc/pm_getport.c (__get_socket): Likewise.
26680 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26681 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26682 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26683 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26684 Likewise.
26685 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26687 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26688 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26690 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26691 Likewise.
26692 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26693 Likewise.
26694 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26695 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26697 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26698 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26700 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26701 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26702 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26703 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26704 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26705 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26706 Likewise.
26707 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26708 Likewise.
26709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26710 Likewise.
26711 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26714 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26715 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26716 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26717 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26720 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26721 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26723 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26724 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26727 Likewise.
26728 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26729 Likewise.
26730 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26731 Likewise.
26732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26733 Likewise.
26734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26736 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26737 Likewise.
26738 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26739 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26740 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26741 * sysdeps/posix/sleep.c: Likewise.
26742 * sysdeps/posix/tempname.c: Likewise.
26743 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26745 Likewise.
26746 * sysdeps/powerpc/powerpc32/dl-machine.h
26747 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26748 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26750 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26751 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26752 Likewise.
26753 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26755 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26757 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26758 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26759 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26760 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26761 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26762 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26764 (elf_machine_lazy_rel): Likewise.
26765 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26767 (elf_machine_lazy_rel): Likewise.
26768 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26769 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26770 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26771 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26772 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26773 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26774 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26776 Likewise.
26777 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26778 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26779 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26780 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26781 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26782 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26783 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26784 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26785 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26786 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26787 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26788 Likewise.
26789 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26790 (__posix_fallocate64_l64): Likewise.
26791 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26792 (posix_fallocate): Likewise.
26793 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26794 Likewise.
26795 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26796 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26797 (getifaddrs_internal): Likewise.
26798 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26799 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26800 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26801 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26802 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26803 (__posix_fallocate64_l64): Likewise.
26804 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26805 Likewise.
26806 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26807 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26808 (__get_clockfreq): Likewise.
26809 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26810 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26811 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26814 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26815 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26816 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26817 Likewise.
26818 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26819 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26820 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26822 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26823 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26824 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26825 Likewise.
26826 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26827 (posix_fallocate): Likewise.
26828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26829 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26830 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26831 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26832 (elf_machine_rela, elf_machine_rela_relative)
26833 (elf_machine_lazy_rel): Likewise.
26834 * time/asctime.c (asctime_internal): Likewise.
26835 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26836 * time/tzset.c (__tzset_parse_tz): Likewise.
26837 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26838 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26839 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26840 * wcsmbs/wcsmbsload.h: Likewise.
26841
26842 [BZ #15894]
26843 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26844
26845 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26846 (arena_get2): Remove THREAD_STATS conditionals.
26847 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26848 (__malloc_stats, int): Likewise.
26849
26850 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26851
26852 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26853 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26854
26855 * manual/setjmp.texi: Fix typos/grammar errors.
26856
26857 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26858 Only return early when n is <= 0. Delete unused return statement.
26859
26860 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26861 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26862 * debug/tst-longjmp_chk3.c: New file.
26863
26864 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26865 (test_main): Replace code with set_fortify_handler call.
26866 * debug/test-strcpy_chk.c: Likewise.
26867 * debug/tst-chk1.c: Likewise.
26868 * debug/tst-longjmp_chk.c: Likewise.
26869 * test-skeleton.c: Include fcntl.h & paths.h
26870 (set_fortify_handler): Define.
26871
26872 * debug/tst-longjmp_chk.c: Add header comment and include
26873 ../test-skeleton.c.
26874 (do_test): Mark static.
26875 (TEST_FUNCTION): Define.
26876
26877 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26878 (IP_PMTUDISC_INTERFACE): Likewise.
26879 (IP_MULTICAST_IF): Likewise.
26880 (IP_MULTICAST_TTL): Likewise.
26881 (IP_MULTICAST_LOOP): Likewise.
26882 (IP_ADD_MEMBERSHIP): Likewise.
26883 (IP_DROP_MEMBERSHIP): Likewise.
26884 (IP_UNBLOCK_SOURCE): Likewise.
26885 (IP_BLOCK_SOURCE): Likewise.
26886 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26887 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26888 (IP_MSFILTER): Likewise.
26889 (MCAST_JOIN_GROUP): Likewise.
26890 (MCAST_BLOCK_SOURCE): Likewise.
26891 (MCAST_UNBLOCK_SOURCE): Likewise.
26892 (MCAST_LEAVE_GROUP): Likewise.
26893 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26894 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26895 (MCAST_MSFILTER): Likewise.
26896 (IP_MULTICAST_ALL): Likewise.
26897 (IP_UNICAST_IF): Likewise.
26898
26899 * timezone/Makefile: Delete $(have-ksh) check.
26900 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26901 * timezone/tzselect.ksh: Add +x mode bits.
26902
26903 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26904 (ANON_INODE_FS_MAGIC): Likewise.
26905 (BDEVFS_MAGIC): Likewise.
26906 (BINFMTFS_MAGIC): Likewise.
26907 (BTRFS_TEST_MAGIC): Likewise.
26908 (CRAMFS_MAGIC_WEND): Likewise.
26909 (DEBUGFS_MAGIC): Likewise.
26910 (ECRYPTFS_SUPER_MAGIC): Likewise.
26911 (EXT3_SUPER_MAGIC): Likewise.
26912 (EXT4_SUPER_MAGIC): Likewise.
26913 (FUTEXFS_SUPER_MAGIC): Likewise.
26914 (HOSTFS_SUPER_MAGIC): Likewise.
26915 (HUGETLBFS_MAGIC): Likewise.
26916 (MINIX3_SUPER_MAGIC): Likewise.
26917 (MTD_INODE_FS_MAGIC): Likewise.
26918 (NILFS_SUPER_MAGIC): Likewise.
26919 (OPENPROM_SUPER_MAGIC): Likewise.
26920 (PIPEFS_MAGIC): Likewise.
26921 (PSTOREFS_MAGIC): Likewise.
26922 (QNX6_SUPER_MAGIC): Likewise.
26923 (RAMFS_MAGIC): Likewise.
26924 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26925 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26926 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26927 (SECURITYFS_MAGIC): Likewise.
26928 (SELINUX_MAGIC): Likewise.
26929 (SMACK_MAGIC): Likewise.
26930 (SOCKFS_MAGIC): Likewise.
26931 (SQUASHFS_MAGIC): Likewise.
26932 (STACK_END_MAGIC): Likewise.
26933 (TMPFS_MAGIC): Likewise.
26934 (USBDEVICE_SUPER_MAGIC): Likewise.
26935 (V9FS_MAGIC): Likewise.
26936 (XENFS_SUPER_MAGIC): Likewise.
26937 (CRAMFS_MAGIC): Fix typo in comment.
26938 (EXT2_SUPER_MAGIC): Update comment.
26939 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26940
26941 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26942
26943 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26944 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26945 * sysdeps/unix/sysv/linux/arm: Move directory from
26946 ports/sysdeps/unix/sysv/linux/arm.
26947 * README: Update listing for arm-*-linux-gnueabi.
26948
26949 * README: Remove mention of am33.
26950
26951 2014-02-07 Roland McGrath <roland@hack.frob.com>
26952
26953 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26954 than the comma operator, to avoid "rhs of comma has no effect"
26955 compiler warnings.
26956 (__sigfillset, __sigandset, __sigorset): Likewise.
26957 * include/signal.h (__sigemptyset): Likewise.
26958 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26959
26960 2014-02-07 Allan McRae <allan@archlinux.org>
26961
26962 * version.h (RELEASE): Set to "development".
26963 (VERSION): Set to "2.19.90"
26964 * NEWS: Add 2.20 section.
26965
26966 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26967
26968 [BZ #16529]
26969 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26970
26971 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26972
26973 * manual/contrib.texi: Update entry for Carlos O'Donell,
26974 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26975
26976 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26977
26978 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26979
26980 * sysdeps/unix/sysv/linux/kernel-features.h
26981 [__LINUX_KERNEL_VERSION >= 0x020621]
26982 (__ASSUME_PROC_PID_TASK_COMM): Define.
26983
26984 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26985
26986 [BZ #16398]
26987 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26988 conversion when destination buffer does not have enough space.
26989 * libio/tst-ftell-partial-wide.c: New test case.
26990 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26991
26992 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26993 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26994 Leonard and Allan McRae.
26995
26996 2014-02-04 David S. Miller <davem@davemloft.net>
26997
26998 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26999 32-bit.
27000
27001 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27002
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27004 New file
27005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27006 New file
27007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27008 New file.
27009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27010 New file.
27011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27012 New file.
27013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27014 New file.
27015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27016 New file.
27017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27018 New file.
27019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27020 New file.
27021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27022 New file.
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27024 New file.
27025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27026 New file.
27027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27028 New file.
27029
27030 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27031
27032 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27033 * shlib-versions: Likewise.
27034
27035 2014-02-04 Roland McGrath <roland@hack.frob.com>
27036 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27037
27038 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27039 (abilist-pattern): New variable, set to %-le.abilist.
27040
27041 * Makerules (abilist-pattern): New variable.
27042 (vpath): Use $(abilist-pattern) in place of %.abilist.
27043 (check-abi-% pattern rule): Likewise.
27044 (check-abi, update-abi): Likewise.
27045
27046 2014-02-04 Eric Wong <normalperson@yhbt.net>
27047
27048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27049
27050 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27051
27052 * manual/startup.texi: Add next, previous, and top entries for
27053 the `Program Arguments' and `Environment Variables' nodes.
27054
27055 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27056
27057 * manual/macros.texi: Add comments before MTASC-safety macros.
27058
27059 * manual/users.texi: Document MTASC-safety properties.
27060
27061 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27062 (pthread_getspecific, pthread_setspecific): Format with
27063 @deftypefun, and add @safety note.
27064 * manual/signal.texi: Move comments that analyze the above
27065 functions to their home place.
27066
27067 2014-02-03 Allan McRae <allan@archlinux.org>
27068
27069 * po/sl.po: Update Slovenian translation from translation project.
27070
27071 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27072
27073 * manual/time.texi (timegm): Add missing blank after @c.
27074 Reported by Joseph Myers <joseph@codesourcery.com>.
27075
27076 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27077
27078 * manual/check-safety.sh: New.
27079 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27080
27081 * manual/terminal.texi: Document MTASC-safety properties.
27082
27083 * manual/filesys.texi: Document MTASC-safety properties.
27084
27085 * manual/errno.texi: Document MTASC-safety properties.
27086
27087 * manual/intro.texi: Document safety identifiers and
27088 conditionals.
27089
27090 * manual/string.texi (wcstok): Fix prototype.
27091 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27092
27093 * manual/time.texi: Document MTASC-safety properties.
27094
27095 * manual/string.texi: Document MTASC-safety properties.
27096
27097 * manual/threads.texi: Document MTASC-safety properties.
27098
27099 * manual/stdio.texi: Document MTASC-safety properties.
27100
27101 * manual/syslog.texi: Document MTASC-safety properties.
27102
27103 * manual/sysinfo.texi: Document MTASC-safety properties.
27104
27105 * manual/startup.texi: Document MTASC-safety properties.
27106
27107 * manual/socket.texi: Document MTASC-safety properties.
27108
27109 * manual/signal.texi: Document MTASC-safety properties.
27110
27111 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27112
27113 * manual/setjmp.texi: Document MTASC-safety properties.
27114
27115 * manual/search.texi: Document MTASC-safety properties.
27116
27117 * manual/resource.texi: Document MTASC-safety properties.
27118
27119 * manual/process.texi: Document MTASC-safety properties.
27120
27121 * manual/platform.texi: Document MTASC-safety properties.
27122
27123 * manual/pipe.texi: Document MTASC-safety properties.
27124
27125 * manual/pattern.texi: Document MTASC-safety properties.
27126
27127 * manual/message.texi: Document MTASC-safety properties.
27128
27129 [BZ #12751]
27130 * manual/memory.texi: Document MTASC-safety properties.
27131
27132 * manual/math.texi: Document MTASC-safety properties.
27133
27134 * manual/locale.texi: Document MTASC-safety properties.
27135
27136 * manual/llio.texi: Document MTASC-safety properties.
27137
27138 * manual/libdl.texi: New.
27139
27140 * manual/lang.texi: Document MTASC-safety properties.
27141
27142 * manual/job.texi: Document MTASC-safety properties.
27143
27144 * manual/getopt.texi: Document MTASC-safety properties.
27145
27146 * manual/ctype.texi: Document MTASC-safety properties.
27147
27148 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27149
27150 [BZ #16046]
27151 * csu/libc-tls.c (static_map): Remove variable.
27152 (__libc_setup_tls): Use main executable's link map for TLS data.
27153 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27154 casing for LM_ID_BASE and GL(dl_nns).
27155 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27156 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27157 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27158 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27159 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27160 member.
27161 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27162 l_phnum members.
27163
27164 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27165
27166 * manual/debug.texi: Document MTASC-safety properties.
27167
27168 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27169
27170 [BZ #16510]
27171 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27172 of __x86_64__ when disabling x87 inline functions.
27173
27174 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27175
27176 * manual/charset.texi: Document MTASC-safety properties.
27177
27178 * manual/crypt.texi: Document MTASC-safety properties.
27179
27180 * manual/conf.texi: Document MTASC-safety properties.
27181
27182 * manual/arith.texi: Document MTASC-safety properties.
27183
27184 * manual/argp.texi: Document MTASC-safety properties.
27185
27186 * manual/macros.texi: Introduce macros to document multi
27187 thread, asynchronous signal and asynchronous cancellation
27188 safety properties.
27189 * manual/intro.texi: Introduce the properties themselves.
27190
27191 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27192
27193 * sysdeps/sh/sh4/Makefile: New file.
27194
27195 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27196
27197 * math/gen-libm-test.pl ($srcdir): New variable.
27198 ($auto_input): Use it.
27199
27200 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27201
27202 [BZ #16506]
27203 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27204 access beyond array bounds when parsing netgroups file.
27205
27206 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27207 the old buffer before realloc.
27208
27209 2014-01-27 Allan McRae <allan@archlinux.org>
27210
27211 * po/fr.po: Update French translation from translation project.
27212
27213 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27214
27215 * sysdeps/sh/libm-test-ulps: Regenerate.
27216
27217 2014-01-24 David S. Miller <davem@davemloft.net>
27218
27219 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27220
27221 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27222
27223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27224 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27225
27226 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27227
27228 [BZ #16474]
27229 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27230 string pointers after reallocation.
27231
27232 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27233
27234 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27235 __SH4A__ instead of __SH_FPU_ANY__.
27236
27237 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27238
27239 * sysdeps/sh/fpu_control.h: New file.
27240 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27241 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27242 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27243 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27244 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27245 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27246 * sysdeps/sh/sys/ucontext.h: Remove.
27247 * sysdeps/sh/sys: Remove directory.
27248
27249 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27250
27251 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27252 s390/sys/ucontext.h.
27253 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27254 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27255
27256 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27257
27258 [BZ #15605]
27259 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27260
27261 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27262
27263 [BZ#16431]
27264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27265 Adjust the vDSO correctly for internal calls.
27266 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27267
27268 2014-01-20 Allan McRae <allan@archlinux.org>
27269
27270 * po/ca.po: Update Catalan translation from translation project.
27271
27272 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27273
27274 * sysdeps/s390/sotruss-lib.c: New file.
27275
27276 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27277
27278 [BZ#16430]
27279 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27280 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27281 local calls issues by not having a PLT stub required for IFUNC calls.
27282 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27283
27284 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27285
27286 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27287 * math/test-fpucw-static.c: Likewise.
27288
27289 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27290
27291 [BZ #16453]
27292 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27293
27294 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27295
27296 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27297 implementation for powerpc.
27298
27299 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27300
27301 [BZ #14782]
27302 * sysdeps/posix/system.c (__libc_system): Do not enable
27303 asynchronous cancellation.
27304
27305 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27306
27307 [BZ #16427]
27308 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27309 handling only for numbers special also in the IEEE case.
27310
27311 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27312
27313 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27314
27315 2014-01-11 Allan McRae <allan@archlinux.org>
27316
27317 * po/bg.po: Update Bulgarian translation from translation project.
27318
27319 * po/de.po: Update German translation from translation project.
27320
27321 2014-01-10 Roland McGrath <roland@hack.frob.com>
27322
27323 * sysdeps/generic/gcc-compat.h: New file.
27324
27325 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27326
27327 * benchtests/asin-inputs: Correct slow inputs.
27328 * benchtests/acos-inputs: Likewise.
27329
27330 2014-01-10 Allan McRae <allan@archlinux.org>
27331
27332 * po:sv.po: Update Swedish translation from translation project.
27333
27334 * po/vi.po: Update Vietnamese translation from translation project.
27335
27336 * po/eo.po: Update Esperanto translation from translation project.
27337
27338 * po/cs.po: Update Czech translation from translation project.
27339
27340 * po/nl.po: Update Dutch translation from translation project.
27341
27342 * po/pl.po: Update Polish translation from translation project.
27343
27344 * po/ru.po: Update Russian translation from translation project.
27345
27346 * po/uk.po: Update Ukrainian translation from translation project.
27347
27348 2014-01-08 Brooks Moses <bmoses@google.com>
27349
27350 * elf/dl-load.c: Fix comment typo.
27351
27352 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27353
27354 * po/header.pot: Rename to...
27355 * po/pot.header: ... this.
27356 * po/Makefile: Use pot.header.
27357
27358 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27359 Maxim Kuvyrkov <maxim@kugelworks.com>
27360
27361 [BZ #16394]
27362 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27363 SRC and DEST against LEN.
27364
27365 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27366
27367 [BZ #16414]
27368 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27369 implementation.
27370 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27371
27372 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27373
27374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27375
27376 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27377
27378 [BZ #16408]
27379 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27380 for large positive arguments.
27381
27382 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27383
27384 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27385
27386 * math/auto-libm-test-in: Mark various tests with
27387 xfail-rounding:ldbl-128ibm.
27388 * math/auto-libm-test-out: Regenerated.
27389
27390 [BZ #16407]
27391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27392 Increase overflow threshold.
27393
27394 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27395
27396 [BZ #14286]
27397 * stdio-common/vfprintf.c: Check for integer overflow.
27398
27399 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27400
27401 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27402 the first argument and return value of __tls_get_addr_internal.
27403
27404 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27405
27406 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27407 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27408
27409 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27410
27411 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27412 * sysdeps/s390/rtld-global-offsets.sym: New file.
27413 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27414 GLIBC_2.19 symbol.
27415 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27416 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27417 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27418 ... this.
27419 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27420 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27421 ... this.
27422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27423 Regenerate.
27424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27425 Regenerate.
27426 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27427 halfs of GPRs for high_gprs contexts.
27428 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27429 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27430 field.
27431 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27432 uc_flags field.
27433 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27434 64 bit versions:
27435 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27436 for high GPRs (uc_high_gprs) and for future extensions
27437 (__reserved).
27438 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27439 for future extensions (__reserved).
27440 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27441 64 bit versions:
27442 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27443 SC_HIGHGPRS offset definition.
27444 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27445 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27446
27447 * Versions.def: Add GLIBC_2.19 for libpthread.
27448 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27449 siglongjmp for libpthread with GLIBC_2.19 symver.
27450 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27451 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27452 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27453 * sysdeps/s390/__longjmp.c: New file.
27454 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27455 * sysdeps/s390/longjmp.c: New file.
27456 * sysdeps/s390/setjmp.S: New file.
27457 * sysdeps/s390/sigjmp.S: New file.
27458 * sysdeps/s390/v1-longjmp.c: New file.
27459 * sysdeps/s390/v1-setjmp.h: New file.
27460 * sysdeps/s390/v1-sigjmp.c: New file.
27461 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27462 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27463 GLIBC_2.19 version.
27464 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27465 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27466 versioned symbols for ____longjmp_chk.
27467 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27468 Likewise.
27469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27470 Regenerate.
27471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27472 Regenerate.
27473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27474 Regenerate.
27475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27476 Regenerate.
27477 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27478 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27479 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27480 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27481 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27482 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27483 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27484 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27485 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27486 * sysdeps/s390/rtld-__longjmp.c: New file.
27487 * sysdeps/s390/rtld-setjmp.S: New file.
27488
27489 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27490
27491 [BZ #16400]
27492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27493 Return -__logl (x) for small positive arguments without evaluating
27494 a polynomial.
27495
27496 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27497
27498 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27499 Rename to ...
27500 (__ptrace_peeksiginfo_args): ... this.
27501 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27504
27505 2014-01-06 Allan McRae <allan@archlinux.org>
27506
27507 * inet/netinet/in.h: Fix typo in comment.
27508
27509 2014-01-05 Andreas Jaeger <aj@suse.de>
27510
27511 * sysdeps/i386/fpu/libm-test-ulps: Update.
27512
27513 2014-01-05 Allan McRae <allan@archlinux.org>
27514
27515 * po/libc.pot: Regenerated.
27516
27517 * malloc/memusagestat.c: Fix gettext call formatting.
27518
27519 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27520
27521 * nscd/nscd.c: Improve usage() output.
27522
27523 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27524
27525 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27526 * sysdeps/unix/sysv/linux/configure: Regenerated.
27527 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27528 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27529
27530 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27531
27532 [BZ #16390]
27533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27534 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27535
27536 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27537
27538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27539 extra tokens at end of #undef directive.
27540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27541 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27542 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27543
27544 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27545
27546 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27547
27548 * math/auto-libm-test-in: Mark various tests with
27549 xfail-rounding:ldbl-128ibm.
27550 * math/auto-libm-test-out: Regenerated.
27551
27552 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27553
27554 [BZ #16386]
27555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27556 numbers with subnormal high part when calculating exponent.
27557
27558 [BZ #16385]
27559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27560 fabs.
27561
27562 [BZ #16384]
27563 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27564 M_LN2l.
27565 (__ieee754_acoshl): Use __log1pl not __log1p.
27566
27567 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27568
27569 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27570 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27571 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27572 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27573 (reused_arena, arena_get2): Convert to GNU style.
27574 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27575 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27576 (memalign_check, __malloc_set_state): Likewise.
27577 * malloc/mallocbug.c (main): Likewise.
27578 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27579 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27580 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27581 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27582 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27583 (__posix_memalign, malloc_info): Likewise.
27584 * malloc/malloc.h: Likewise.
27585 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27586 (mallochook, memalignhook, reallochook, mabort): Likewise.
27587 * malloc/mcheck.h: Likewise.
27588 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27589 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27590 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27591 * malloc/morecore.c (__default_morecore): Likewise.
27592 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27593 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27594 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27595 (print_and_abort): Likewise.
27596 * malloc/obstack.h: Likewise.
27597 * malloc/set-freeres.c (__libc_freeres): Likewise.
27598 * malloc/tst-mallocstate.c (main): Likewise.
27599 * malloc/tst-mtrace.c (main): Likewise.
27600 * malloc/tst-realloc.c (do_test): Likewise.
27601
27602 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27603
27604 [BZ #16366]
27605 * nscd/netgroupcache.c (do_notfound): New function.
27606 (addgetnetgrentX): Use it.
27607
27608 [BZ # 16365]
27609 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27610 NSS_STATUS_NOTFOUND.
27611
27612 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27613
27614 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27616
27617 2014-01-01 Allan McRae <allan@archlinux.org>
27618
27619 * scripts/update-copyrights: Update configure input file suffix.
27620
27621 * NEWS: Update copyright year.
27622 * catgets/gencat.c: Likewise.
27623 * csu/version.c: Likewise.
27624 * debug/catchsegv.sh: Likewise.
27625 * debug/pcprofiledump.c: Likewise.
27626 * debug/xtrace.sh: Likewise.
27627 * elf/ldconfig.c: Likewise.
27628 * elf/ldd.bash.in: Likewise.
27629 * elf/pldd.c: Likewise.
27630 * elf/sotruss.ksh: Likewise.
27631 * elf/sprof.c: Likewise.
27632 * iconv/iconv_prog.c: Likewise.
27633 * iconv/iconvconfig.c: Likewise.
27634 * locale/programs/locale.c: Likewise.
27635 * locale/programs/localedef.c: Likewise.
27636 * login/programs/pt_chown.c: Likewise.
27637 * malloc/memusage.sh: Likewise.
27638 * malloc/memusagestat.c: Likewise.
27639 * malloc/mtrace.pl: Likewise.
27640 * manual/libc.texinfo: Likewise.
27641 * nscd/nscd.c: Likewise.
27642 * nss/getent.c: Likewise.
27643 * nss/makedb.c: Likewise.
27644 * posix/getconf.c: Likewise.
27645 * scripts/test-installation.pl: Likewise.
27646
27647 * All files with FSF copyright notices: Update copyright dates
27648 using scripts/update-copyrights.
27649 * intl/plural.c: Regenerated.
27650 * locale/programs/charmap-kw.h: Likewise.
27651 * locale/programs/locfile-kw.h: Likewise.
27652
27653 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27654
27655 * sysdeps/unix/sysv/linux/configure: Regenerated.
27656 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27657 the linux/fanotify.h header.
27658 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27659 HAVE_LINUX_FANOTIFY_H is defined.
27660
27661 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27662
27663 * benchtests/cos-inputs: New inputs.
27664 * benchtests/sin-inputs: Likewise.
27665
27666 * benchtests/atan-inputs: New inputs. Fix name of multiple
27667 precision fallback inputs.
27668
27669 * benchtests/atanh-inputs: New inputs.
27670 * benchtests/tanh-inputs: Likewise.
27671
27672 * benchtests/acosh-inputs: New inputs.
27673 * benchtests/asinh-inputs: Likewise.
27674
27675 * benchtests/cosh-inputs: New inputs.
27676 * benchtests/sinh-inputs: Likewise.
27677
27678 * benchtests/acos-inputs: Add more inputs.
27679 * benchtests/asin-inputs: Likewise.
27680
27681 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27682
27683 [BZ #16375]
27684 * manual/arith.texi: Fix spelling.
27685 * manual/charset.texi: Likewise.
27686 * manual/errno.texi: Likewise.
27687 * manual/filesys.texi: Likewise.
27688 * manual/lang.texi: Likewise.
27689 * manual/llio.texi: Likewise.
27690 * manual/locale.texi: Likewise.
27691 * manual/message.texi: Likewise.
27692 * manual/resource.texi: Likewise.
27693 * manual/search.texi: Likewise.
27694 * manual/setjmp.texi: Likewise.
27695 * manual/stdio.texi: Likewise.
27696 * manual/string.texi: Likewise.
27697 * manual/sysinfo.texi: Likewise.
27698 * manual/time.texi: Likewise.
27699
27700 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27701
27702 * po/sl.po: New file.
27703
27704 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27705
27706 * .gitignore: Add core/.gdbinit/.gdb_history.
27707
27708 2013-12-27 Allan McRae <allan@archlinux.org>
27709
27710 [BZ #16369]
27711 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27712 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27713
27714 2013-12-24 Brooks Moses <bmoses@google.com>
27715
27716 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27717 all compilers that claim C++98 compliance, not just GCC.
27718 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27719 Likewise.
27720
27721 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27722
27723 * NEWS: Restore accidentally deleted bug-fix entries.
27724
27725 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27726 Ondřej Bílka <neleai@seznam.cz>
27727
27728 [BZ #15073]
27729 * malloc/malloc.c (_int_free): Perform sanity check only if we
27730 have_lock.
27731
27732 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27733
27734 [BZ #12986]
27735 * manual/stdio.texi (String Input Conversions): Clarify that character
27736 classes are not supported.
27737
27738 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27739
27740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27741
27742 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27743
27744 [BZ #16337]
27745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27746 Calculate results for small negative arguments directly rather
27747 than using reflection formula with special underflow handling.
27748
27749 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27750 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27751 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27752 (fchflags): Likewise.
27753 (revoke): Likewise.
27754 (setlogin): Likewise.
27755 (sigaltstack): Likewise.
27756 (wait4): Likewise.
27757 (sigblock): Remove.
27758 (sigsetmask): Likewise.
27759 (wait3): Likewise.
27760 (waitpid): Likewise.
27761 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27762 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27763 file.
27764 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27765 * sysdeps/unix/bsd/Makefile: ... here.
27766 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27767 * sysdeps/unix/bsd/Versions: ... here.
27768 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27769 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27770 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27771 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27772 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27773 * sysdeps/unix/bsd/sigblock.c: ... here.
27774 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27775 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27776 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27777 * sysdeps/unix/bsd/sigvec.c: ... here.
27778 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27779 * sysdeps/unix/bsd/tcdrain.c: ... here.
27780 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27781 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27782 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27783 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27784 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27785 * sysdeps/unix/bsd/wait.c: ... here.
27786 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27787 * sysdeps/unix/bsd/wait3.c: ... here.
27788 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27789 * sysdeps/unix/bsd/waitpid.c: ... here.
27790
27791 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27792
27793 [BZ #16356]
27794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27795 round-to-nearest for [!USE_AS_EXPM1L].
27796 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27797 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27798 more tests of exp and exp10. Expect some exp10 tests to miss
27799 exceptions or fail in directed rounding modes.
27800 * math/auto-libm-test-out: Regenerated.
27801 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27802 (exp10_test_tonearest): New function.
27803 (exp10_towardzero_test_data): New array.
27804 (exp10_test_towardzero): New function.
27805 (exp10_downward_test_data): New array.
27806 (exp10_test_downward): New function.
27807 (exp10_upward_test_data): New array.
27808 (exp10_test_upward): New function.
27809 (main): Call the new functions.
27810 * sysdeps/i386/fpu/libm-test-ulps: Update.
27811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27812
27813 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27814
27815 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27816 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27817 * math/auto-libm-test-out: Regenerated.
27818 * math/libm-test.inc (acosh_test_data): Add more tests.
27819 (atanh_test_data): Likewise.
27820 (ceil_test_data): Likewise.
27821 (copysign_test_data): Likewise.
27822 * sysdeps/i386/fpu/libm-test-ulps: Update.
27823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27824
27825 * timezone/checktab.awk: Update from tzcode 2013i.
27826 * timezone/private.h: Likewise.
27827 * timezone/scheck.c: Likewise.
27828 * timezone/tzfile.h: Likewise.
27829 * timezone/tzselect.ksh: Likewise.
27830 * timezone/zdump.c: Likewise.
27831 * timezone/zic.c: Likewise.
27832
27833 * math/auto-libm-test-in: Add tests of cpow.
27834 * math/auto-libm-test-out: Regenerated.
27835 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27837 mpc_cc_c.
27838 (func_calc_desc): Add mpc_cc_c union field.
27839 (test_functions): Add cpow.
27840 (special_fill_2pi): New function.
27841 (special_real_inputs): Add 2pi.
27842 (calc_generic_results): Handle mpc_cc_c.
27843 * sysdeps/i386/fpu/libm-test-ulps: Update.
27844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27845
27846 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27847 csqrt, ctan and ctanh.
27848 * math/auto-libm-test-out: Regenerated.
27849 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27850 (TEST_COND_x86): Likewise.
27851 (ccos_test_data): Use AUTO_TESTS_c_c.
27852 (ccosh_test_data): Likewise.
27853 (cexp_test_data): Likewise.
27854 (clog_test_data): Likewise.
27855 (csqrt_test_data): Likewise.
27856 (ctan_test_data): Likewise.
27857 (ctan_tonearest_test_data): Likewise.
27858 (ctan_towardzero_test_data): Likewise.
27859 (ctan_downward_test_data): Likewise.
27860 (ctan_upward_test_data): Likewise.
27861 (ctanh_test_data): Likewise.
27862 (ctanh_tonearest_test_data): Likewise.
27863 (ctanh_towardzero_test_data): Likewise.
27864 (ctanh_downward_test_data): Likewise.
27865 (ctanh_upward_test_data): Likewise.
27866 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27867 mpc_c_c.
27868 (func_calc_desc): Add mpc_c_c union field.
27869 (FUNC_mpc_c_c): New macro.
27870 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27871 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27872 ctanh.
27873 (special_fill_min_subnorm_p120): New function.
27874 (special_real_inputs): Add min_subnorm_p120.
27875 (calc_generic_results): Handle mpc_c_c.
27876 * sysdeps/i386/fpu/libm-test-ulps: Update.
27877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27878
27879 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27880
27881 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27882 (do_sin_slow): New functions.
27883 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27884 (cslow2, csloww1, csloww2): Use the new functions.
27885
27886 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27887 Use M to change sign of result instead of X. Assume X is
27888 positive.
27889 (csloww1): Likewise.
27890 (__sin): Adjust.
27891 (__cos): Adjust.
27892
27893 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27894 arguments A and DA.
27895 (__sin): Adjust.
27896 (__cos): Likewise.
27897
27898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27899 (__cos): Likewise.
27900 (sloww1): Don't adjust sign of DX.
27901 (csloww1): Likewise.
27902 (sloww2): Use X directly and don't adjust sign of DX.
27903 (csloww2): Likewise.
27904
27905 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27906
27907 * math/auto-libm-test-in: Add tests of cabs and carg.
27908 * math/auto-libm-test-out: Regenerated.
27909 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27910 (carg_test_data): Likewise.
27911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27912 mpc_c_f.
27913 (func_calc_desc): Add mpc_c_f union field.
27914 (test_functions): Add cabs and carg.
27915 (calc_generic_results): Handle mpc_c_f.
27916
27917 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27918 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27919 as a macro and a compat symbol.
27920 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27921 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27922 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27923 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27924 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27925 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27926 not use .hidden.
27927 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27928 Likewise.
27929 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27930 Likewise.
27931 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27932 Likewise.
27933 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27934 Likewise.
27935 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27936 Likewise.
27937 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27938 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27939 from GLIBC_2.3.2.
27940
27941 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27942
27943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27944
27945 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27946
27947 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27948 trailing whitespace removed.
27949 * scripts/config.guess: Update to version 2013-11-29.
27950 * scripts/config.sub: Update to version 2013-10-01.
27951
27952 * math/auto-libm-test-in: Add tests of sincos.
27953 * math/auto-libm-test-out: Regenerated.
27954 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27955 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27956 mpfr_f_11.
27957 (func_calc_desc): Add mpfr_f_11 union field.
27958 (test_functions): Add sincos.
27959 (calc_generic_results): Handle mpfr_f_11.
27960 * sysdeps/i386/fpu/libm-test-ulps: Update.
27961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27962
27963 2013-12-19 Andreas Schwab <schwab@suse.de>
27964
27965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27966 CALL_MCOUNT.
27967 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27968 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27969 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27970
27971 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27972
27973 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27974 * sysdeps/i386/fpu/libm-test-ulps: Update.
27975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27976
27977 [BZ #16293]
27978 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27979 round-to-nearest mode when using frndint.
27980 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27981 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27982 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27983 Likewise.
27984 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27985 sinh test to fail.
27986 * math/auto-libm-test-out: Regenerated.
27987 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27988 (TEST_COND_x86): Likewise.
27989 (expm1_tonearest_test_data): New array.
27990 (expm1_test_tonearest): New function.
27991 (expm1_towardzero_test_data): New array.
27992 (expm1_test_towardzero): New function.
27993 (expm1_downward_test_data): New array.
27994 (expm1_test_downward): New function.
27995 (expm1_upward_test_data): New array.
27996 (expm1_test_upward): New function.
27997 (main): Run the new test functions.
27998 * sysdeps/i386/fpu/libm-test-ulps: Update.
27999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28000
28001 * include/features.h: Update comment documenting feature test
28002 macros. Mention _DEFAULT_SOURCE in comment.
28003 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28004 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28005 _BSD_SOURCE and _SVID_SOURCE.
28006 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28007 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28008 !_SVID_SOURCE]: Likewise.
28009 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28010 (__USE_POSIX_IMPLICITLY): Define.
28011 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28012 (_POSIX_SOURCE): Undefine and redefine.
28013 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28014 (_POSIX_C_SOURCE): Likewise.
28015 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28016 (Feature Test Macros): Update documentation of default features.
28017
28018 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28019
28020 * benchtests/Makefile: Add bench-strtok.
28021 * benchtests/bench-strtok.c: New file: strtok benchtest.
28022
28023 2013-12-19 Allan McRae <allan@archlinux.org>
28024
28025 * manual/install.texi: Suppress menu for plain text output.
28026 * INSTALL: Regenerated.
28027
28028 2013-12-18 Brooks Moses <bmoses@google.com>
28029
28030 [BZ #15846]
28031 * misc/getauxval.c: Include errno.h.
28032 (__getauxval): Set errno to ENOENT if the requested type is not
28033 found.
28034 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28035 don't declare with __attribute_const__.
28036 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28037 * manual/startup.texi: Document that getauxval sets errno.
28038
28039 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28040
28041 * math/auto-libm-test-in: Add tests of jn and yn.
28042 * math/auto-libm-test-out: Regenerated.
28043 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28044 (yn_test_data): Likewise.
28045 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28046 mpfr_if_f.
28047 (func_calc_desc): Add mpfr_if_f union field.
28048 (FUNC_mpfr_if_f): New macro.
28049 (test_functions): Add jn and yn.
28050 (calc_generic_results): Assert type of second input for
28051 mpfr_ff_f. Handle mpfr_if_f.
28052 (output_for_one_input_case): Disable all checking for arguments
28053 fitting floating-point types in case of an integer argument.
28054 * sysdeps/i386/fpu/libm-test-ulps: Update.
28055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28056
28057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28058 Don't expect fegetround reference in libm.so.
28059
28060 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28061
28062 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28063 $(config-cflags-nofma).
28064
28065 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28066
28067 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28068 * math/auto-libm-test-out: Regenerated.
28069
28070 [BZ #16338]
28071 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28072 to determine exponent and adjust argument to have exponent of -1.
28073 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28074 log2.
28075 * math/auto-libm-test-out: Regenerated.
28076 * sysdeps/i386/fpu/libm-test-ulps: Update.
28077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28078
28079 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28080
28081 * manual/probes.texi: Remove cases when per-thread arenas are
28082 disabled.
28083
28084 2013-12-18 Andreas Schwab <schwab@suse.de>
28085
28086 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28087 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28088 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28089 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28090 * sysdeps/i386/i686/multiarch/Makefile: Update.
28091 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28092
28093 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28094
28095 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28096 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28097
28098 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28099
28100 [BZ #15968]
28101 Support TZ transition times < 00:00:00.
28102 This is needed for version-3 tz-format files; it supports time
28103 stamps past 2037 for America/Godthab (the only entry in the tz
28104 database for which this change is relevant).
28105 * manual/time.texi (TZ Variable): Document transition times
28106 from -167:59:59 through -00:00:01.
28107 * time/tzset.c (tz_rule): Time of day is now signed.
28108 (__tzset_parse_tz): Parse negative time of day.
28109
28110 Document TZ transition times >= 25:00:00.
28111 * manual/time.texi (TZ Variable): Document transition times from
28112 25:00:00 through 167:59:59. These are already supported, and this
28113 support will help with version-3 tz-format files.
28114
28115 * manual/time.texi (TZ Variable): Modernize North America example
28116 to reflect current (i.e., 2007-and-later) daylight saving rules.
28117
28118 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28119
28120 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28121
28122 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28123 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28126 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28127 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28128 * sysdeps/unix/bsd/clock.c: Likewise.
28129 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28130 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28131 * sysdeps/unix/bsd/init-posix.c: Likewise.
28132 * sysdeps/unix/bsd/poll.c: Likewise.
28133 * sysdeps/unix/bsd/ptsname.c: Likewise.
28134 * sysdeps/unix/bsd/seekdir.c: Likewise.
28135 * sysdeps/unix/bsd/setegid.c: Likewise.
28136 * sysdeps/unix/bsd/seteuid.c: Likewise.
28137 * sysdeps/unix/bsd/setgid.c: Likewise.
28138 * sysdeps/unix/bsd/setrgid.c: Likewise.
28139 * sysdeps/unix/bsd/setruid.c: Likewise.
28140 * sysdeps/unix/bsd/setsid.c: Likewise.
28141 * sysdeps/unix/bsd/setuid.c: Likewise.
28142 * sysdeps/unix/bsd/sigaction.c: Likewise.
28143 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28144 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28145 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28146 * sysdeps/unix/bsd/telldir.c: Likewise.
28147 * sysdeps/unix/bsd/times.c: Likewise.
28148 * sysdeps/unix/bsd/usleep.c: Likewise.
28149
28150 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28151 ($(objpfx)libbsd-compat.a): Remove rule.
28152
28153 * include/features.h (__FAVOR_BSD): Do not define.
28154 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28155 features conflicting with POSIX.
28156 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28157 (_BSD_SOURCE): Remove description of not being a subset of other
28158 feature test macros.
28159 * manual/job.texi (getpgrp): Do not document BSD version.
28160 (getpgid): Do not document by reference to BSD getpgrp.
28161 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28162 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28163 * signal/signal.h [__FAVOR_BSD]: Likewise.
28164 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28165 instead of making contents conditional on [__FAVOR_BSD].
28166 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28167
28168 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28169
28170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28171
28172 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28173
28174 [BZ #16314]
28175 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28176 values below 2**-450, not 2**-500.
28177 * math/auto-libm-test-in: Don't allow spurious underflow from
28178 hypot.
28179 * math/auto-libm-test-out: Regenerated.
28180
28181 [BZ #16316]
28182 [BZ #16330]
28183 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28184 values of ha and hb and sort them after adjusting subnormal
28185 arguments.
28186 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28187 Likewise.
28188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28189 values of ea and eb and sort them after adjusting subnormal
28190 arguments.
28191 * math/auto-libm-test-in: Do not expect some hypot tests of
28192 subnormals to fail. Add more hypot tests.
28193 * math/auto-libm-test-out: Regenerated.
28194
28195 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28196
28197 [BZ #13304]
28198 * sysdeps/sh/s_fma.c: New file.
28199 * sysdeps/sh/s_fmaf.c: New file.
28200 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28201 version.
28202 * sysdeps/sh/Implies: Add sh/soft-fp.
28203
28204 2013-12-16 Roland McGrath <roland@hack.frob.com>
28205
28206 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28207 level of indirection to members `objname', `errstring', `malloced'.
28208 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28209 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28210 it as the __longjmp argument (just pass 1 instead).
28211 (_dl_catch_error): Initialize C with argument pointers and address of
28212 volatile local ERRCODE rather than copying values out of C at return.
28213
28214 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28215
28216 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28217 * math/auto-libm-test-out: Regenerated.
28218 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28219 (hypot_test_data): Likewise.
28220 (pow_test_data): Likewise.
28221 (pow_tonearest_test_data): Likewise.
28222 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28223 mpfr_ff_f.
28224 (func_calc_desc): Add mpfr_ff_f union field.
28225 (FUNC_mpfr_ff_f): New macro.
28226 (test_functions): Add atan2, hypot and pow.
28227 (special_fill_min): New function.
28228 (special_fill_minus_min): Likewise.
28229 (special_fill_min_subnorm): Likewise.
28230 (special_fill_minus_min_subnorm): Likewise.
28231 (special_real_inputs): Add min, -min, min_subnorm and
28232 -min_subnorm.
28233 (calc_generic_results): Handle mpfr_ff_f.
28234 * sysdeps/i386/fpu/libm-test-ulps: Update.
28235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28236
28237 2013-12-16 Will Newton <will.newton@linaro.org>
28238
28239 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28240 (Aligned Memory Blocks): Add documentation for aligned_alloc
28241 and suggest it as an alternative to posix_memalign.
28242 (Hooks for Malloc): Document __memalign_hook is also called
28243 for aligned_alloc. (Summary of Malloc): Add summary for
28244 aligned alloc. Document __memalign_hook is also called
28245 for aligned_alloc.
28246
28247 2013-12-16 Will Newton <will.newton@linaro.org>
28248
28249 * manual/memory.texi (Malloc Examples): Clarify default
28250 alignment documentation. Suggest posix_memalign rather
28251 than memalign or valloc.
28252 (Aligned Memory Blocks): Remove suggestion to use memalign
28253 or valloc. Remove obsolete comment about BSD.
28254 Document memalign errno values and mark the function obsolete.
28255 Document posix_memalign returned error codes. Mark valloc
28256 as obsolete. (Hooks for Malloc): __memalign_hook is also
28257 called for posix_memalign and valloc.
28258 (Summary of Malloc): Add posix_memalign to function summary.
28259 __memalign_hook is also called for posix_memalign and valloc.
28260
28261 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28262
28263 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28264 TAYLOR_SIN.
28265 (__sin): Adjust.
28266 (__cos): Likewise.
28267 (sloww): Use mynumber union. Expand ternary operator into
28268 if-else statements.
28269 (cslow): use mynumber union.
28270
28271 2013-12-16 Allan McRae <allan@archlinux.org>
28272
28273 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28274 * configure: Regenerated.
28275
28276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28277
28278 [BZ #14120]
28279 * configure.ac: Added --enable-maintainer-mode. Check for
28280 autoconf when enabled.
28281 * configure: Regenerated.
28282
28283 * nscd/nscd.service: New file.
28284 * nscd/nscd.tmpfiles: New file.
28285
28286 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28287
28288 [BZ #12100]
28289 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28290 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28291 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28292 (strstr): Add __strstr_sse2_unaligned ifunc.
28293 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28294 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28295 (strcasestr): Remove __strcasestr_sse42 ifunc.
28296 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28299
28300 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28301
28302 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28303 * sysdeps/sh/bits/fenv.h: ... here.
28304 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28305
28306 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28307
28308 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28309
28310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28311 hypotf multiarch implementations.
28312 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28314 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28315 multiarch hypot for PPC64.
28316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28318 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28319 multiarch hypotf for PPC64.
28320
28321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28322 modff multiarch implementations.
28323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28326 multiarch modf for PPC64.
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28330 multiarch modff for PPC64.
28331
28332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28333 and logl multiarch implementations.
28334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28337 multiarch logb for PPC64.
28338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28341 multiarch logb for PPC64.
28342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28345 multiarch logb for PPC64.
28346
28347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28348 isinff multiarch implementation.
28349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28350 file.
28351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28353 multiarch isinf for PPC64.
28354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28355 file.
28356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28357 multiarch isinff for PPC64.
28358
28359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28360 finitef multiarch implementation.
28361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28362 file.
28363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28365 multiarch finite for PPC64.
28366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28367 file.
28368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28369 multiarch finitef for PPC64.
28370
28371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28372 lrint multiarch implementation.
28373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28374 file.
28375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28377 multiarch llrint for PPC64.
28378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28379 multiarch lrint for PPC64.
28380
28381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28382 copysignf multiarch implementation.
28383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28384 file.
28385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28386 file.
28387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28388 multiarch copysign for PPC64.
28389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28390 multiarch copysignf for PPC64.
28391
28392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28393 multiarch implementation.
28394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28395 file.
28396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28397 file.
28398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28399 file.
28400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28401 file.
28402 multiarch llround for PPC64.
28403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28404 multiarch trunc for PPC64.
28405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28406 multiarch truncf for PPC64.
28407
28408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28409 multiarch implementation.
28410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28411 file.
28412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28413 file.
28414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28415 file.
28416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28417 file.
28418 multiarch llround for PPC64.
28419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28420 multiarch round for PPC64.
28421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28422 multiarch roundf for PPC64.
28423
28424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28425 multiarch implementation.
28426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28427 file.
28428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28429 file.
28430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28431 file.
28432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28433 file.
28434 multiarch llround for PPC64.
28435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28436 multiarch floor for PPC64.
28437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28438 multiarch floorf for PPC64.
28439
28440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28441 multiarch implementation.
28442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28443 file.
28444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28445 file.
28446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28447 file.
28448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28449 file.
28450 multiarch llround for PPC64.
28451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28452 multiarch ceil for PPC64.
28453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28454 multiarch ceilf for PPC64.
28455
28456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28457 multiarch implementation.
28458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28459 file.
28460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28461 file.
28462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28463 file.
28464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28465 multiarch llround for PPC64.
28466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28467 multiarch lround for PPC64.
28468
28469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28470 multiarch implementation.
28471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28474 file.
28475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28478 multiarch isnan for PPC64.
28479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28480 multiarch isnanf for PPC64.
28481
28482 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28483 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28484 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28485 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28486 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28488
28489 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28490 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28493
28494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28495 multiarch implementations.
28496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28497 (__libc_ifunc_impl_list): Likewise.
28498 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28499 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28500 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28501 multiarch stpcpy for PPC64.
28502
28503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28504 multiarch implementations.
28505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28506 (__libc_ifunc_impl_list): Likewise.
28507 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28508 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28509 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28510 multiarch strcpy for PPC64.
28511
28512 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28513 redefine function name.
28514 (_wordcopy_fwd_dest_aligned): Likewise.
28515 (_wordcopy_bwd_aligned): Likewise.
28516 (_wordcopy_bwd_dest_aligned): Likewise.
28517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28518 multiarch implementations.
28519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28520 (__libc_ifunc_impl_list): Likewise.
28521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28523 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28524 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28525 multiarch wcscpy for PPC64.
28526
28527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28528 multiarch implementations.
28529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28530 (__libc_ifunc_impl_list): Likewise.
28531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28533 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28534 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28535 multiarch wcscpy for PPC64.
28536
28537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28538 multiarch implementations.
28539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28540 (__libc_ifunc_impl_list): Likewise.
28541 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28542 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28543 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28544 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28545 multiarch wcsrchr for PPC64.
28546
28547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28548 multiarch implementations.
28549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28550 (__libc_ifunc_impl_list): Likewise.
28551 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28552 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28553 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28554 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28555 multiarch wcschr for PPC64.
28556
28557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28558 multiarch implementations.
28559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28560 (__libc_ifunc_impl_list): Likewise.
28561 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28562 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28563 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28564 multiarch strchrnul for PPC64.
28565
28566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28567 implementations.
28568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28569 (__libc_ifunc_impl_list): Likewise.
28570 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28571 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28572 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28573 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28574 strchr for PPC64.
28575
28576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28577 implementations.
28578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28579 (__libc_ifunc_impl_list): Likewise.
28580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28581 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28582 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28583 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28584 strncmp for PPC64.
28585
28586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28587 multiarch implementations.
28588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28589 (__libc_ifunc_impl_list): Likewise.
28590 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28591 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28592 strncasecmp for PPC64.
28593 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28594 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28595 multiarch strncasecmp_l for PPC64.
28596
28597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28598 multiarch implementations.
28599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28600 (__libc_ifunc_impl_list): Likewise.
28601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28603 multiarch strcasecmp for PPC64.
28604 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28605 file.
28606 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28607 multiarch strcasecmp_l for PPC64.
28608
28609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28610 implementations.
28611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28612 (__libc_ifunc_impl_list): Likewise.
28613 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28614 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28615 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28616 strnlen for PPC64.
28617
28618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28619 implementations.
28620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28621 (__libc_ifunc_impl_list): Likewise.
28622 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28623 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28624 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28625 strlen for PPC64.
28626
28627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28628 implementations.
28629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28630 (__libc_ifunc_impl_list): Likewise.
28631 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28632 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28633 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28634 rawmemrchr for PPC64.
28635
28636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28637 implementation.
28638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28639 (__libc_ifunc_impl_list): Likewise.
28640 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28641 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28642 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28643 memrchr for PPC64.
28644
28645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28646 implementation.
28647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28648 (__libc_ifunc_impl_list): Likewise.
28649 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28650 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28651 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28652 memchr for PPC64.
28653
28654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28655 implementation.
28656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28657 (__libc_ifunc_impl_list): Likewise.
28658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28659 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28660 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28661 mempcpy for PPC64.
28662
28663 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28664 avoid cretion of __bzero symbol.
28665 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28666 Likewise.
28667 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28668 Likewise.
28669 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28670 Likewise.
28671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28672 multiarch implementations.
28673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28674 (__libc_ifunc_impl_list): Likewise.
28675 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28676 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28677 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28678 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28679 bzero for PPC32.
28680 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28681 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28682 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28683 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28684 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28685 memset for PPC64.
28686 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28687
28688 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28690 implementations.
28691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28692 (__libc_ifunc_impl_list): Likewise.
28693 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28694 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28695 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28696 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28697 memcmp for PPC64.
28698
28699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28700 multiarch for POWER/PPC64.
28701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28702 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28709 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28710 memcpy for PPC64.
28711
28712 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28713 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28714 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28715 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28716 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28717 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28718 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28719 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28720 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28721 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28722 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28723 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28724 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28725 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28726 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28734
28735 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28736
28737 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28738
28739 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28740
28741 * benchtests/Makefile (bench): Add exp2 and log2.
28742 (LDLIBS-bench-exp2): Add -lm.
28743 (LDLIBS-bench-log2): Likewise.
28744 * benchtests/exp2-inputs: New inputs file.
28745 * benchtests/log2-inputs: New inputs file.
28746 * benchtests/log-inputs: Add new inputs.
28747 * benchtests/tan-inputs: Likewise.
28748
28749 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28750
28751 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28752 definition...
28753 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28754 (csloww2): ... from here.
28755
28756 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28757 instead of structures.
28758 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28759 (POLYNOMIAL): Likewise.
28760 (TAYLOR_SLOW): Likewise.
28761 (__sin): Likewise.
28762 (__cos): Likewise.
28763 (slow1): Likewise.
28764 (slow2): Likewise.
28765 (sloww): Likewise.
28766 (sloww1); Likewise.
28767 (sloww2): Likewise.
28768 (bsloww1): Likewise.
28769 (bsloww2): Likewise.
28770 (cslow2): Likewise.
28771 (csloww): Likewise.
28772 (csloww1): Likewise.
28773 (csloww2): Likewise.
28774
28775 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28776
28777 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28778 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28779 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28780 * malloc/hooks.c (realloc_check): Likewise.
28781
28782 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28783 * malloc/arena.c: Remove PER_THREAD conditional.
28784 [!PER_THREAD]: Remove code.
28785 (ptmalloc_unlock_all2): Likewise.
28786 (ptmalloc_init): Likewise.
28787 (_int_new_arena): Likewise.
28788 (arena_get2): Likewise.
28789 * malloc/hooks.c (__malloc_get_state): Likewise.
28790 (__malloc_set_state): Likewise.
28791 * malloc/malloc.c: Likewise.
28792 (struct malloc_state): Likewise.
28793 (struct malloc_par): Likewise.
28794 (__libc_realloc): Likewise.
28795 (__libc_mallopt): Likewise.
28796
28797 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28798
28799 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28800
28801 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28802
28803 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28804 macro to a function. Check for zero perturb_byte.
28805 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28806
28807 * malloc/malloc.c: (force_reg): Remove.
28808 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28809 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28810 force_reg by atomic_forced_read.
28811 * malloc/arena.c (ptmalloc_init): Likewise.
28812 * malloc/hooks.c (top_check): Likewise.
28813
28814 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28815
28816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28817
28818 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28819
28820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28821
28822 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28823
28824 * math/auto-libm-test-in: Add tests of lgamma.
28825 * math/auto-libm-test-out: Regenerated.
28826 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28827 (M_LOG_2_SQRT_PIl): Likewise.
28828 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28829 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28830 mpfr_f_f1.
28831 (func_calc_desc): Add mpfr_f_f1 union field.
28832 (ARGS1): New macro.
28833 (ARGS2): Likewise.
28834 (ARGS3): Likewise.
28835 (ARGS4): Likewise.
28836 (RET1): Likewise.
28837 (RET2): Likewise.
28838 (CALC): Likewise.
28839 (FUNC): Likewise.
28840 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28841 (test_functions): Add lgamma.
28842 (calc_generic_results): Handle mpfr_f_f1.
28843 * sysdeps/i386/fpu/libm-test-ulps: Update.
28844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28845
28846 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28847
28848 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28849 __mpn_add_n for PowerPC64/POWER7.
28850 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28851 __mpn_sub_n for PowerPC64/POWER7.
28852
28853 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28854 __mpn_addmul_1 for PowerPC64.
28855 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28856 __mpn_submul_1 for PowerPC64.
28857 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28858 for PowerPC64.
28859 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28860 for PowerPC64.
28861
28862 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28863
28864 [BZ #15089]
28865 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28866
28867 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28868
28869 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28870
28871 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28872 add multiarch folders.
28873 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28874 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28875 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28876 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28877 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28878 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28879 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28880 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28881 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28882 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28883 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28890
28891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28892 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28894 New file.
28895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28896 New file.
28897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28898 multiarch __ieee754_hypot for PowerPC32.
28899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28900 New file.
28901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28902 New file.
28903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28904 multiarch __ieee754_hypotf for PowerPC32.
28905
28906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28907 long_double_symbol only if __logbl is defined.
28908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28909 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28911 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28913 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28915 path for implementation.
28916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28919 logb, and logbl multiarch implementations for PowerPC32.
28920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28921 file.
28922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28923 file.
28924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28925 multiarch logb for PowerPC32.
28926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28927 file.
28928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28929 file.
28930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28931 multiarch logbf for PowerPC32.
28932 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28934 file.
28935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28936 multiarch logbl implementation for PowerPC32.
28937
28938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28939 and modff multiarch implementations.
28940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28941 New file.
28942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28943 New file.
28944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28945 multiarch modf for PowerPC32.
28946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28947 New file.
28948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28949 New file.
28950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28951 multiarch modff for PowerPC32.
28952
28953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28954 and lrintf multiarch implementations.
28955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28956 New file.
28957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28958 New file.
28959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28960 multiarch lrint for PowerPC32.
28961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28962 file: multiarch lrintf for PowerPC32.
28963
28964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28965 and lroundf multiarch implementations.
28966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28967 New file.
28968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28969 New file.
28970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28971 New file.
28972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28973 multiarch lround for PowerPC32.
28974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28975 file: multiarch lroundf for PowerPC32.
28976
28977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28978 copysign and copysignf multiarch implementations.
28979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28980 New file.
28981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28982 New file.
28983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28984 file: multiarch copysign for PowerPC32.
28985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28986 file: multiarch copysignf for PowerPC32.
28987
28988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28989 and truncf multiarch implementations.
28990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28991 New file.
28992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28993 file.
28994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28995 multiarch trunc for PowerPC32.
28996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28997 New file.
28998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28999 New file.
29000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29001 multiarch truncf for PowerPC32.
29002
29003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29004 and roundf multiarch implementations.
29005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29006 New file.
29007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29008 file.
29009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29010 multiarch round for PowerPC32.
29011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29012 New file.
29013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29014 New file.
29015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29016 multiarch roundf for PowerPC32.
29017
29018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29019 and floorf multiarch implementations.
29020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29021 New file.
29022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29023 file.
29024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29025 multiarch floor for PowerPC32.
29026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29027 New file.
29028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29029 New file.
29030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29031 multiarch floorf for PowerPC32.
29032
29033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29034 and ceilf multiarch implementations.
29035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29036 New file.
29037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29038 file.
29039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29040 multiarch ceil for PowerPC32.
29041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29042 New file.
29043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29044 file.
29045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29046 multiarch ceilf for PowerPC32.
29047
29048 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29049 is defined.
29050 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29051 FINITEF is defined.
29052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29053 and finitef multiarch implementations.
29054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29055 New file.
29056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29057 file.
29058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29059 multiarch finite for PowerPC32.
29060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29061 New file.
29062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29063 file: multiarch finitef for PowerPC32.
29064
29065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29066 and isinff multiarch implementations.
29067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29068 file.
29069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29070 file.
29071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29072 multiarch isinf for PowerPC32.
29073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29074 New file.
29075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29076 multiarch isinff for PowerPC32.
29077
29078 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29079 alias when __isnan is defined.
29080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29081 and isnanf multiarch implementations.
29082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29083 file.
29084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29085 file.
29086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29087 file.
29088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29089 file.
29090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29091 multiarch isnan for PowerPC32.
29092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29093 New file.
29094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29095 New file.
29096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29097 multiarch isnanf for PowerPC32.
29098
29099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29100 and sqrtf multiarch implementations.
29101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29102 file.
29103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29104 file.
29105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29106 multiarch sqrt for PowerPC32.
29107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29108 file.
29109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29110 file.
29111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29112 multiarch sqrtf for PowerPC32.
29113
29114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29115 and llroundf multiarch implementations.
29116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29117 New file.
29118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29119 New file.
29120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29121 New file.
29122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29123 file: multiarch llround for PowerPC32.
29124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29125 file: multiarch llroundf for PowerPC32.
29126
29127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29128 multiarch PowerPC32 fpu implementations.
29129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29130 New file.
29131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29132 New file.
29133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29134 multiarch llrint for PowerPC32.
29135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29136 New file.
29137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29138 New file.
29139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29140 file.
29141
29142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29143
29144 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29145 file.
29146 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29147 file.
29148 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29149 file.
29150 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29151 multiarch wordcopy for PPC32.
29152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29153 wordcopy objects.
29154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29155 (__libc_ifunc_impl_list): Likewise.
29156 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29157 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29158 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29159 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29160 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29161 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29162
29163 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29165 file.
29166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29167 file.
29168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29169 file.
29170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29171 multiarch wcscpy for PPC32.
29172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29173 multiarch objects.
29174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29175 (__libc_ifunc_impl_list): Likewise.
29176 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29177 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29178 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29179 sysdeps/powerpc/power6/wcscpy.c.
29180
29181 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29183 file.
29184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29185 file.
29186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29187 file.
29188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29189 multiarch wcsrchr for PPC32.
29190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29191 multiarch objects.
29192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29193 (__libc_ifunc_impl_list): Likewise.
29194 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29195 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29196 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29197 sysdeps/powerpc/power6/wcsrchr.c.
29198
29199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29200 file.
29201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29202 file.
29203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29205 multiarch wcschr for PPc32.
29206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29207 multiarch objects.
29208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29209 (__libc_ifunc_impl_list): Likewise.
29210 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29211 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29212 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29213 sysdeps/powerpc/power6/wcschr.c.
29214
29215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29216 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29217 file.
29218 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29219 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29220 file: multiarch strchr for PPC32.
29221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29222 multiarch objects.
29223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29224 (__libc_ifunc_impl_list): Likewise.
29225
29226 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29227 name.
29228 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29229 file.
29230 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29231 file.
29232 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29233 multiarch strchrnul for PPC32.
29234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29235 multiarch objects.
29236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29237 (__libc_ifunc_impl_list): Likewise.
29238
29239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29240 file.
29241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29242 multiarch strncasecmp for PPC32.
29243 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29244 file.
29245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29246 multiarch strncasecmp_l for PPC32.
29247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29248 strncasecmp multiarch objects.
29249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29250 (__libc_ifunc_impl_list): Likewise.
29251
29252 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29253 file.
29254 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29255 multiarch strncasecmp for PPC32.
29256 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29257 New file.
29258 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29259 multiarch strcasecmp_l for PPC32.
29260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29261 multiarch objects.
29262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29263 (__libc_ifunc_impl_list): Likewise.
29264
29265 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29266 file.
29267 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29268 file.
29269 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29270 multiarch strncmp for PPC32.
29271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29272 multiarch objects.
29273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29274 (__libc_ifunc_impl_list): Likewise.
29275
29276 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29277 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29278 file.
29279 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29280 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29282 multiarch objects.
29283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29284 (__libc_ifunc_impl_list): Likewise.
29285
29286 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29287 file.
29288 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29289 file.
29290 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29292 multiarch objects.
29293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29294 (__libc_ifunc_impl_list): Likewise.
29295
29296 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29297 file.
29298 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29299 file.
29300 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29301 multiarch rawmemchr for PPC32.
29302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29303 multiarch objects.
29304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29305 (__libc_ifunc_impl_list): Likewise.
29306
29307 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29308 file.
29309 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29310 file.
29311 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29312 file: memrchr multiarch for PPC32.
29313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29314 multiarch objects.
29315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29316 (__libc_ifunc_impl_list): Likewise.
29317
29318 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29319 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29320 file.
29321 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29323 multiarch memchr for PPC32.
29324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29325 multiarch objects.
29326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29327 (__libc_ifunc_impl_list): Likewise.
29328
29329 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29330 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29331 file.
29332 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29333 file.
29334 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29335 file: multiarch mempcpy for PPC32.
29336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29337 multiarch objects.
29338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29339 (__libc_ifunc_impl_list): Likewise.
29340
29341 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29342 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29344 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29345 multiarch bzero for PPC32.
29346 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29347 file.
29348 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29349 file.
29350 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29351 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29352 file: multiarch memset for PPC32.
29353 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29355 memset multiarch objects.
29356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29357 (__libc_ifunc_impl_list): Likewise.
29358
29359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29360 file.
29361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29363 memcmp for PPC32.
29364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29366 multiarch objects.
29367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29368 (__libc_ifunc_impl_list): Likewise.
29369
29370 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29373 file.
29374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29375 file.
29376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29377 file.
29378 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29379 multiarch memcpy for PPC32.
29380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29381 multiarch objects.
29382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29383 (__libc_ifunc_impl_list): Likewise.
29384
29385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29386 support multiarch for POWER/PPC32.
29387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29388 Likewise.
29389 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29391 Implies file to make multiarch folder appers before the fpu and
29392 default folder for power4 configuration.
29393
29394 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29395
29396 * scripts/bench.pl: Append volatile keyword to type.
29397
29398 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29399
29400 * sysdeps/sh/sotruss-lib.c: New file.
29401 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29402
29403 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29404
29405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29406
29407 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29408
29409 [BZ #6810]
29410 * math/w_tgamma.c: Include <errno.h>.
29411 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29412 * math/w_tgammaf.c: Include <errno.h>.
29413 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29414 * math/w_tgammal.c: Include <errno.h>.
29415 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29416 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29417 underflow. Add more tgamma tests.
29418 * math/auto-libm-test-out: Regenerated.
29419 * sysdeps/i386/fpu/libm-test-ulps: Update.
29420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29421
29422 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29423 sin, sinh, tan, tanh, tgamma, y0 and y1.
29424 * math/auto-libm-test-out: Regenerated.
29425 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29426 (TEST_COND_x86): Likewise.
29427 (M_E2l): Remove macro.
29428 (M_E3l): Likewise.
29429 (M_2_SQRT_PIl): Likewise.
29430 (M_SQRT_PIl): Likewise.
29431 (M_1_DIV_El): Likewise.
29432 (log_test_data): Use AUTO_TESTS_f_f.
29433 (log10_test_data): Likewise.
29434 (log1p_test_data): Likewise.
29435 (log2_test_data): Likewise.
29436 (sin_test_data): Likewise.
29437 (sin_tonearest_test_data): Likewise.
29438 (sin_towardzero_test_data): Likewise.
29439 (sin_downward_test_data): Likewise.
29440 (sin_upward_test_data): Likewise.
29441 (sinh_test_data): Likewise.
29442 (sinh_tonearest_test_data): Likewise.
29443 (sinh_towardzero_test_data): Likewise.
29444 (sinh_downward_test_data): Likewise.
29445 (sinh_upward_test_data): Likewise.
29446 (tan_test_data): Likewise.
29447 (tan_tonearest_test_data): Likewise.
29448 (tan_towardzero_test_data): Likewise.
29449 (tan_downward_test_data): Likewise.
29450 (tan_upward_test_data): Likewise.
29451 (tanh_test_data): Likewise.
29452 (tgamma_test_data): Likewise.
29453 (y0_test_data): Likewise.
29454 (y1_test_data): Likewise.
29455 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29456 (special_real_inputs): Add pi/4.
29457 * sysdeps/i386/fpu/libm-test-ulps: Update.
29458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29459
29460 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29461
29462 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29463 "longjmp_target" static probes.
29464 (__longjmp): Rename to __longjmp_symbol.
29465 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29466 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29467 on which longjmp to generate.
29468 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29470 probe.
29471 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29472 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29473 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29474 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29475 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29476 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29478 __longjmp_symbol based on which __longjmp to generate.
29479 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29480 probe.
29481 (setjmp): Rename to setjmp_symbol.
29482 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29483 (_setjmp): Rename to _setjmp_symbol.
29484 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29485 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29486 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29487 which setjmp to generate.
29488 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29489 "longjmp_target" static probes.
29490
29491 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29492
29493 * benchtests/README: Add note about output arguments.
29494 * benchtests/bench-sincos.c: Remove file.
29495 * benchtests/sincos-inputs: New file.
29496 * scripts/bench.pl: Identify output arguments and define
29497 static variables for them.
29498
29499 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29500
29501 [BZ #15941]
29502 * Makefile (INSTALL): Add install-plain.texi as the primary
29503 dependency.
29504 * manual/install-plain.texi: New file.
29505 * manual/install.texi: Include node directive only for
29506 non-plaintext output.
29507
29508 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29509
29510 * stdlib/longlong.h: Update from GCC.
29511
29512 [BZ #6807]
29513 [BZ #15901]
29514 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29515 * math/w_j0f.c (y0f): Likewise.
29516 * math/w_j0l.c (__y0l): Likewise.
29517 * math/w_j1.c (y1): Likewise.
29518 * math/w_j1f.c (y1f): Likewise.
29519 * math/w_j1l.c (__y1l): Likewise
29520 * math/w_jn.c (yn): Likewise.
29521 * math/w_jnf.c (ynf): Likewise.
29522 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29523 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29524 value for Bessel function domain errors outside _SVID_ mode.
29525 Adjust sign of return value for yn (negative integer, 0).
29526 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29527 by zero in return for negative x and set sign appropriately for
29528 negative n.
29529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29530 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29531 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29532 expectations in error cases.
29533 (y1_test_data): Likewise.
29534 (yn_test_data): Likewise.
29535 * sysdeps/i386/fpu/libm-test-ulps: Update.
29536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29537
29538 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29539
29540 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29541 "64" to "64-v1". Add "64-v2".
29542 (abi-64-options): Rename to ...
29543 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29544 (abi-64-condition): Rename to ...
29545 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29546 (abi-64-ld-soname): Rename to ...
29547 (abi-64-v1-ld-soname): ... this.
29548 (abi-64-v2-options): Define.
29549 (abi-64-v2-condition): Likewise.
29550 (abi-64-v2-ld-soname): Likewise.
29551 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29552 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29556
29557 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29558 Alan Modra <amodra@gmail.com>
29559
29560 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29561 New versions for use with the ELFv2 ABI.
29562 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29563 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29564 declaration.
29565 (struct La_ppc64v2_retval): Likewise.
29566 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29567 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29568 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29569 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29570 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29571 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29572 Do not save or restore CR.
29573 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29574 (_dl_profile_resolve): Do no save or restore CR. Support extended
29575 return values for ELFv2 ABI. Fix location of FPR return registers.
29576 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29577 updated values for _CALL_ELF == 2.
29578 (La_regs, La_retval, int_retval): Likewise.
29579
29580 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29581
29582 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29583 (FRAME_MIN_SIZE_PARM): Likewise.
29584 (FRAME_BACKCHAIN): Likewise.
29585 (FRAME_CR_SAVE): Likewise.
29586 (FRAME_LR_SAVE): Likewise.
29587 (FRAME_TOC_SAVE): Likewise.
29588 (FRAME_PARM_SAVE): Likewise.
29589 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29590 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29591 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29592 (call_mcount_parm_offset): New macro.
29593 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29594 (PROF): Use symbolic stack frame offsets.
29595 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29596 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29597 Redefine in terms of FRAME_MIN_SIZE.
29598 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29599 (_dl_profile_resolve): Likewise. Update comment.
29600 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29601 symbols stack frame offsets.
29602 (__sigsetjmp): Likewise.
29603 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29604 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29605 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29606 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29607
29608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29609 (FRAME_BACKCHAIN): Remove.
29610 (FRAME_CR_SAVE): Likewise.
29611 (FRAME_LR_SAVE): Likewise.
29612 (FRAME_COMPILER_DW): Likewise.
29613 (FRAME_LINKER_DW): Likewise.
29614 (FRAME_TOC_SAVE): Likewise.
29615 (FRAME_PARM_SAVE): Likewise.
29616 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29617 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29618 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29620 (CHECK_SP): Use symbolic stack frame offsets.
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29622 zone" instead of caller's parameter save area for temp storage.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29624 Likewise. Also, use symbolic stack frame offsets.
29625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29626 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29627 our own stack frame instead of the caller's.
29628 (__socket): Use symbolic stack frame offsets.
29629
29630 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29631 Alan Modra <amodra@gmail.com>
29632
29633 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29634 Define.
29635 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29636 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29637 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29638 New function.
29639 (elf_machine_fixup_plt): Call it.
29640 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29641 reloc arguments.
29642 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29644 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29645 r2 before calling target.
29646
29647 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29648 Alan Modra <amodra@gmail.com>
29649
29650 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29651 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29652 versions of macros to support ELFv2 ABI.
29653 (LOCALENTRY): New macro.
29654 (ENTRY, EALIGN): Use it.
29655 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29656 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29657 fall through into ENTRY entry point.
29658 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29659 Only define if _CALL_ELF != 2.
29660
29661 (elf_machine_matches_host): Verify ABI version matches.
29662 (RTLD_START): Use LOCALENTRY.
29663 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29664 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29665 (PLT_ENTRY_WORDS): New macro.
29666 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29667 (elf_machine_runtime_setup): Support ELFv2 ABI.
29668 (elf_machine_fixup_plt): Likewise.
29669 (elf_machine_plt_conflict): Likewise.
29670 (resolve_ifunc): Likewise.
29671 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29673 Likewise.
29674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29675 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29677 (makecontext): Support ELFv2 ABI.
29678 * elf/elf.h (EF_PPC64_ABI): Define.
29679
29680 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29681
29682 * sysdeps/powerpc/powerpc64/sysdep.h
29683 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29684 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29685 (ENTRY) [ASSEMBLER]: ... but instead here ...
29686 (EALIGN) [ASSEMBLER]: ... and here.
29687 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29688 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29689 (ENTRY_2) [!ASSEMBLER]: Use it.
29690 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29691 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29693 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29694 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29696 Use PPC64_LOAD_FUNCPTR.
29697
29698 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29699
29700 2013-12-04 Alan Modra <amodra@gmail.com>
29701
29702 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29703 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29704 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29705 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29706
29707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29708 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29709 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29710 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29711 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29712 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29713
29714 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29715
29716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29717 (__makecontext): Fix incorrect CFI when backtracing out of
29718 context created via makecontext.
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29720 (__setcontext): Fix incorrect CFI during switch to new context.
29721 (__novec_setcontext): Likewise.
29722
29723 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29724
29725 [BZ #4772]
29726 * time/strptime_l.c (__strptime_internal): Allow modifiers
29727 in strptime.
29728 * time/tst-strptime.c (day_tests): Add testcase.
29729
29730 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29731
29732 * scripts/bench.pl: Skip over blank lines.
29733
29734 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29735
29736 [BZ #926]
29737 * manual/time.texi (Calendar Time): Clarify what timezone functions
29738 use.
29739
29740 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29741
29742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29743
29744 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29745
29746 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29747 implementation.
29748 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29749 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29750 * debug/memset_chk.c (__memset_chk): Likewise.
29751 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29752 * debug/strncpy_chk.c: Likewise.
29753
29754 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29755
29756 [BZ #15268]
29757 [BZ #15425]
29758 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29759 (__ieee754_exp): For possibly underflowing results, check size of
29760 result and force underflow exception if required.
29761 * math/auto-libm-test-in: Add more tests of exp.
29762 * math/auto-libm-test-out: Regenerated.
29763 * sysdeps/i386/fpu/libm-test-ulps: Update.
29764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29765
29766 [BZ #16283]
29767 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29768 * math/w_exp2f.c (__exp2f): Likewise.
29769 * math/w_exp2l.c (__exp2l): Likewise.
29770 * math/auto-libm-test-in: Do not allow missing errno on exp2
29771 underflow.
29772 * math/auto-libm-test-out: Regenerated.
29773
29774 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29775
29776 [BZ #16274]
29777 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29778 handle filename validation.
29779 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29780 (do_open): Delete.
29781
29782 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29783
29784 [BZ #6786]
29785 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29786 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29787 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29788 <float.h>.
29789 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29791 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29793 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29794 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29795 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29796 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29797 Add more erfc tests.
29798 * math/auto-libm-test-out: Regenerated.
29799 * sysdeps/i386/fpu/libm-test-ulps: Update.
29800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29801
29802 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29803 exp2, expm1, j0 and j1.
29804 * math/auto-libm-test-out: Regenerated.
29805 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29806 (erfc_test_data): Likewise.
29807 (exp_test_data): Likewise.
29808 (exp_tonearest_test_data): Likewise.
29809 (exp_towardzero_test_data): Likewise.
29810 (exp_downward_test_data): Likewise.
29811 (exp_upward_test_data): Likewise.
29812 (exp10_test_data): Likewise.
29813 (exp2_test_data): Likewise.
29814 (expm1_test_data): Likewise.
29815 (j0_test_data): Likewise.
29816 (j1_test_data): Likewise.
29817 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29818 (input_flag_type): Add flag_xfail_rounding.
29819 (input_flags): Add xfail-rounding.
29820 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29821 (output_for_one_input_case): Handle flag_xfail_rounding.
29822 * sysdeps/i386/fpu/libm-test-ulps: Update.
29823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29824
29825 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29826
29827 [BZ #16289]
29828 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29829 division by 0.
29830
29831 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29832
29833 [BZ #16195]
29834 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29835 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29836 (STAP_PROBE0): New macro.
29837 (STAP_PROBE1): Likewise.
29838 (STAP_PROBE2): Likewise.
29839 (STAP_PROBE3): Likewise.
29840 (STAP_PROBE4): Likewise.
29841
29842 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29843
29844 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29845
29846 2013-12-02 Steve Ellcey <sellcey@mips.com>
29847
29848 * benchtests/Makefile (bench): Add sqrt.
29849 (LDLIBS-bench-sqrt): New.
29850 * benchtests/sqrt-input: New.
29851
29852 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29853
29854 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29855 (GAIH_EAI): Likewise.
29856 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29857 (gaih_inet): Likewise.
29858 (getaddrinfo): Don't use GAIH_EAI.
29859
29860 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29861 (struct gaih): Remove definition.
29862
29863 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29864
29865 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29866 Use HERRNOP directly.
29867
29868 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29869
29870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29871
29872 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29873
29874 * math/gen-auto-libm-tests.c (test_functions): Add more
29875 single-argument functions.
29876 (special_fill_pi_2): New function.
29877 (special_fill_minus_pi_2): Likewise.
29878 (special_fill_pi_6): Likewise.
29879 (special_fill_minus_pi_6): Likewise.
29880 (special_fill_pi_3): Likewise.
29881 (special_fill_2pi_3): Likewise.
29882 (special_fill_e): Likewise.
29883 (special_fill_1_e): Likewise.
29884 (special_fill_e_minus_1): Likewise.
29885 (special_real_inputs): Add more special inputs.
29886 (output_for_one_input_case): Do not require ERANGE on underflow to
29887 zero if round-to-nearest result does not underflow to zero, unless
29888 exact results required.
29889 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29890 atan, atanh, cbrt, cos and cosh.
29891 * math/auto-libm-test-out: Regenerated.
29892 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29893 (acos_tonearest_test_data): Likewise.
29894 (acos_towardzero_test_data): Likewise.
29895 (acos_downward_test_data): Likewise.
29896 (acos_upward_test_data): Likewise.
29897 (acosh_test_data): Likewise.
29898 (asin_test_data): Likewise.
29899 (asin_tonearest_test_data): Likewise.
29900 (asin_towardzero_test_data): Likewise.
29901 (asin_upward_test_data): Likewise.
29902 (asinh_test_data): Likewise.
29903 (atan_test_data): Likewise.
29904 (atanh_test_data): Likewise.
29905 (cbrt_test_data): Likewise.
29906 (cos_test_data): Likewise.
29907 (cos_tonearest_test_data): Likewise.
29908 (cos_towardzero_test_data): Likewise.
29909 (cos_downward_test_data): Likewise.
29910 (cos_upward_test_data): Likewise.
29911 (cosh_test_data): Likewise.
29912 (cosh_tonearest_test_data): Likewise.
29913 (cosh_towardzero_test_data): Likewise.
29914 (cosh_downward_test_data): Likewise.
29915 (cosh_upward_test_data): Likewise.
29916 * sysdeps/i386/fpu/libm-test-ulps: Update.
29917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29918
29919 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #6787]
29922 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29923 * math/w_exp10f.c (__exp10f): Likewise.
29924 * math/w_exp10l.c (__exp10l): Likewise.
29925 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29926 errno settings in existing tests.
29927
29928 [BZ #14032]
29929 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29930 precision control set to double precision.
29931 * sysdeps/i386/fpu/w_sqrt.c: New file.
29932 * math/auto-libm-test-in: Add more tests.
29933 * math/auto-libm-test-out: Update.
29934
29935 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29936 (sqrt_test_tonearest): New function.
29937 (sqrt_towardzero_test_data): New variable.
29938 (sqrt_test_towardzero): New function.
29939 (sqrt_downward_test_data): New variable.
29940 (sqrt_test_downward): New function.
29941 (sqrt_upward_test_data): New variable.
29942 (sqrt_test_upward): New function.
29943 (main): Call the new functions.
29944
29945 * math/gen-auto-libm-tests.c: New file.
29946 * math/auto-libm-test-in: Likewise.
29947 * math/auto-libm-test-out: New generated file.
29948 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29949 variables.
29950 (%beautify): Add generated representations of zero.
29951 (top level): Set $auto_input and call parse_auto_input.
29952 (beautify): Remove trailing "f" from hex float constants.
29953 (parse_args): Handle XFAIL_TEST.
29954 (convert_condition): New function.
29955 (or_value): Likewise.
29956 (or_cond_value): Likewise.
29957 (generate_testfile): Handle AUTO_TESTS_* lines.
29958 (parse_auto_input): New function.
29959 * math/libm-test.inc (XFAIL_TEST): New macro.
29960 (ERRNO_UNCHANGED): Update value.
29961 (ERRNO_EDOM): Likewise.
29962 (ERRNO_ERANGE): Likewise.
29963 (IGNORE_RESULT): Likewise.
29964 (TEST_COND_flt_32): New macro.
29965 (TEST_COND_dbl_64): Likewise.
29966 (TEST_COND_ldbl_96_intel): Likewise.
29967 (TEST_COND_ldbl_96_m68k): Likewise.
29968 (TEST_COND_ldbl_128): Likewise.
29969 (TEST_COND_ldbl_128ibm): Likewise.
29970 (TEST_COND_long32): Likewise.
29971 (TEST_COND_long64): Likewise.
29972 (TEST_COND_before_rounding): Likewise.
29973 (TEST_COND_after_rounding): Likewise.
29974 (enable_test): Handle XFAIL_TEST flag.
29975 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29976 with finite results.
29977 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29978 auto-libm-test-out.
29979
29980 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29981 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29982
29983 [BZ #16214]
29984 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29985 __tls_get_addr_internal instead of __tls_get_offset in order to
29986 avoid GOT pointer dependency. Make rtld export
29987 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29988 __tls_get_addr since we are a __tls_get_offset platform.
29989 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29990 GOT pointer being set up before.
29991 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29992
29993 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29994
29995 * manual/math.texi (Errors in Math Functions): Document accuracy
29996 goals.
29997
29998 [BZ #15004]
29999 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30000 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30003 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30005 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30015
30016 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30017 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30018 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30019 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30020 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30021 Likewise.
30022 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30023 Likewise.
30024 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30025 Likewise.
30026 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30027 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30028 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30029 atomic-feupdateenv and flt-rounds.
30030 * sysdeps/powerpc/nofpu/Versions (libc): Add
30031 __atomic_feholdexcept, __atomic_feclearexcept,
30032 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30033 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30034 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30035 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30036 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30037 here.
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30039 Update.
30040
30041 * manual/arith.texi (FP Exceptions): Document that exceptions may
30042 not be raised when matherr is used.
30043 (Math Error Reporting): Document overflow in directed rounding
30044 modes. Document that errno may not be set when finite values are
30045 returned on overflow. Document intent to set errno on underflow
30046 only for underflow to zero.
30047
30048 [BZ #16271]
30049 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30050 round-to-nearest then adjust result for other rounding modes.
30051 * include/fenv.h (fegetround): Use libm_hidden_proto.
30052 * math/fegetround.c (fegetround): Use libm_hidden_def.
30053 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30054 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30055 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30057 Likewise.
30058 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30059 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30060 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30061 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30062
30063 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30064
30065 [BZ #16077]
30066 * nss/Versions (libnss_files): Add
30067 _nss_files_gethostbyname3_r.
30068 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30069 New function.
30070 (HOST_DB_LOOKUP): Remove macro.
30071 (_nss_files_gethostbyname_r): Implement function without the
30072 HOST_DB_LOOKUP macro.
30073 (_nss_files_gethostbyname2_r): Likewise.
30074
30075 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30076
30077 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30078
30079 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30080
30081 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30082 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30083 warning.
30084
30085 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30086
30087 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30088 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30089 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30090 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30091 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30092 __fe_nomask_env_priv and attribute_hidden.
30093 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30094 (libc_feupdateenv_test_ppc): Likewise.
30095 (libc_feresetround_ppc): Likewise.
30096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30097 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30098 compat_symbol macro.
30099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30100 (__fe_nomask_env): Likewise.
30101 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30102
30103 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30104
30105 * string/Makefile: Remove ifunc tests.
30106 * string/test-string.h: Define TEST_IFUNC.
30107 * string/test-bcopy-ifunc.c: Remove.
30108 * string/test-bzero-ifunc.c: Likewise.
30109 * string/test-memccpy-ifunc.c: Likewise.
30110 * string/test-memchr-ifunc.c: Likewise.
30111 * string/test-memcmp-ifunc.c: Likewise.
30112 * string/test-memcpy-ifunc.c: Likewise.
30113 * string/test-memmem-ifunc.c: Likewise.
30114 * string/test-memmove-ifunc.c: Likewise.
30115 * string/test-mempcpy-ifunc.c: Likewise.
30116 * string/test-memrchr-ifunc.c: Likewise.
30117 * string/test-memset-ifunc.c: Likewise.
30118 * string/test-rawmemchr-ifunc.c: Likewise.
30119 * string/test-stpcpy-ifunc.c: Likewise.
30120 * string/test-stpncpy-ifunc.c: Likewise.
30121 * string/test-strcasecmp-ifunc.c: Likewise.
30122 * string/test-strcasestr-ifunc.c: Likewise.
30123 * string/test-strcat-ifunc.c: Likewise.
30124 * string/test-strchr-ifunc.c: Likewise.
30125 * string/test-strchrnul-ifunc.c: Likewise.
30126 * string/test-strcmp-ifunc.c: Likewise.
30127 * string/test-strcpy-ifunc.c: Likewise.
30128 * string/test-strcspn-ifunc.c: Likewise.
30129 * string/test-strlen-ifunc.c: Likewise.
30130 * string/test-strncasecmp-ifunc.c: Likewise.
30131 * string/test-strncat-ifunc.c: Likewise.
30132 * string/test-strncmp-ifunc.c: Likewise.
30133 * string/test-strncpy-ifunc.c: Likewise.
30134 * string/test-strnlen-ifunc.c: Likewise.
30135 * string/test-strpbrk-ifunc.c: Likewise.
30136 * string/test-strrchr-ifunc.c: Likewise.
30137 * string/test-strspn-ifunc.c: Likewise.
30138 * string/test-strstr-ifunc.c: Likewise.
30139
30140 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30141
30142 * benchtests/Makefile: Remove ifunc tests.
30143 * benchtests/bench-string.h: Define TEST_IFUNC.
30144 * benchtests/bench-bcopy-ifunc.c: Remove.
30145 * benchtests/bench-bzero-ifunc.c: Likewise.
30146 * benchtests/bench-memccpy-ifunc.c: Likewise.
30147 * benchtests/bench-memchr-ifunc.c: Likewise.
30148 * benchtests/bench-memcmp-ifunc.c: Likewise.
30149 * benchtests/bench-memcpy-ifunc.c: Likewise.
30150 * benchtests/bench-memmem-ifunc.c: Likewise.
30151 * benchtests/bench-memmove-ifunc.c: Likewise.
30152 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30153 * benchtests/bench-memrchr-ifunc.c: Likewise.
30154 * benchtests/bench-memset-ifunc.c: Likewise.
30155 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30156 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30157 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30158 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30159 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30160 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30161 * benchtests/bench-strcat-ifunc.c: Likewise.
30162 * benchtests/bench-strchr-ifunc.c: Likewise.
30163 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30164 * benchtests/bench-strcmp-ifunc.c: Likewise.
30165 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30166 * benchtests/bench-strcpy-ifunc.c: Likewise.
30167 * benchtests/bench-strcspn-ifunc.c: Likewise.
30168 * benchtests/bench-strlen-ifunc.c: Likewise.
30169 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30170 * benchtests/bench-strncat-ifunc.c: Likewise.
30171 * benchtests/bench-strncmp-ifunc.c: Likewise.
30172 * benchtests/bench-strncpy-ifunc.c: Likewise.
30173 * benchtests/bench-strnlen-ifunc.c: Likewise.
30174 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30175 * benchtests/bench-strrchr-ifunc.c: Likewise.
30176 * benchtests/bench-strsep-ifunc.c: Likewise.
30177 * benchtests/bench-strspn-ifunc.c: Likewise.
30178 * benchtests/bench-strstr-ifunc.c: Likewise.
30179
30180 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30181
30182 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30183
30184 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30185
30186 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30187 * rt/aio.h: Likewise.
30188 * sysdeps/gnu/bits/utmp.h: Likewise.
30189 * sysdeps/gnu/bits/utmpx.h: Likewise.
30190 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30191 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30192 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30193 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30194 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30195 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30196 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30197 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30198 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30199 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30200 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30201 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30202 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30204 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30205 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30206 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30207 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30208 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30209 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30210 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30211 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30212 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30213 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30214 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30216 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30217 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30218 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30219 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30220 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30221 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30222 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30223 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30224 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30225 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30226 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30227 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30228 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30229 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30230 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30231 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30232
30233 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30234
30235 [BZ #16245]
30236 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30237 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30238
30239 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30240
30241 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30242 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30243 Likewise.
30244
30245 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30246
30247 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30248 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30249 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30250 (__fesetround): Remove define.
30251 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30252 rounding and exceptions handling.
30253 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30254 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30255 (__fe_nomask_env): Likewise.
30256 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30257 __fegetround instead of fegetround.
30258 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30259 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30260
30261 2013-11-21 Roland McGrath <roland@hack.frob.com>
30262
30263 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30264 it's there.
30265
30266 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30267
30268 2013-11-21 Meador Inge <meadori@codesourcery.com>
30269
30270 [BZ #11157]
30271 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30272 (encrypt_r): Likewise.
30273 * malloc/obstack.h (obstack_free): Likewise.
30274 * posix/unistd.h (encrypt): Likewise.
30275
30276 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30277
30278 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30279 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30280 DL_CALL_DT_FINI() that call the functions directly.
30281 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30282 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30283 * elf/dl-fini.c: Likewise.
30284
30285 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30286
30287 * malloc/hooks.c (memalign_check): Add alignment rounding.
30288 * malloc/malloc.c (_mid_memalign): New function.
30289 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30290 Implement by calling _mid_memalign.
30291 * manual/probes.texi (Memory Allocation Probes): Remove
30292 memory_valloc_retry and memory_pvalloc_retry.
30293
30294 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30295
30296 * locale/programs/locarchive.c (open_archive): Add const
30297 qualifier to ARCHIVEFNAME and copy default fname to
30298 DEFAULT_FNAME.
30299
30300 [BZ #15601]
30301 * libio/tst-widetext.input: Rename Oriya to Odia.
30302 * locale/iso-639.def: Likewise.
30303
30304 * manual/probes.texi (Mathematical Function Probes): Add
30305 documentation for sin, cos, asin and acos probes.
30306 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30307 (__sin32): Add slowasin probe.
30308 (__cos32): Add slowacos probe.
30309 (__mpsin): Add slowsin probe.
30310 (__mpcos): Add slowcos probe.
30311
30312 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30313
30314 [BZ #15483]
30315 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30316 thread-local __sim_exceptions_thread and global
30317 __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 (__simulate_exceptions): Use thread-local floating-point state and
30324 set global state from it as needed.
30325 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30326 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30327 __sim_round_mode_thread.
30328 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30329 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30330 and global __sim_exceptions_global.
30331 (__sim_disabled_exceptions): Change to thread-local
30332 __sim_disabled_exceptions_thread and global
30333 __sim_disabled_exceptions_global.
30334 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30335 and global __sim_round_mode_global.
30336 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30337 (SIM_SET_GLOBAL): Likewise.
30338 * sysdeps/powerpc/soft-fp/sfp-machine.h
30339 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30340 __sim_round_mode_thread.
30341 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30342 __sim_disabled_exceptions_thread.
30343 (__sim_exceptions): Change to __sim_exceptions_thread.
30344 (__sim_disabled_exceptions): Change to
30345 __sim_disabled_exceptions_thread.
30346 (__sim_round_mode): Change to __sim_round_mode_thread.
30347 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30348 thread-local floating-point state and set global state from it as
30349 needed.
30350 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30351 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30352 (__sim_disabled_exceptions): Remove extern declaration.
30353 (feenableexcept): Use thread-local floating-point state and set
30354 global state from it as needed.
30355 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30356 extern declaration.
30357 (__sim_disabled_exceptions): Likewise.
30358 (__sim_round_mode): Likewise.
30359 (__fegetenv): Use thread-local floating-point state.
30360 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30361 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30362 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30363 floating-point state and set global state from it as needed.
30364 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30365 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30366 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30367 Likewise.
30368 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30369 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30370 Likewise.
30371 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30372 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30373 Use __sim_round_mode_thread.
30374 * math/test-fenv-tls.c: New file.
30375 * math/Makefile (tests): Add test-fenv-tls.
30376 ($(objpfx)test-fenv-tls): Depend on
30377 $(common-objpfx)nptl/libpthread.so.
30378
30379 2013-11-19 Andreas Schwab <schwab@suse.de>
30380
30381 * locale/programs/locale.c (show_info): Decode wordarray elements.
30382 * locale/categories.def (LC_MONETARY): Add element for
30383 _NL_MONETARY_CRNCYSTR.
30384 * locale/C-monetary.c (conversion_rate): New variable.
30385 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30386 element.
30387
30388 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30389
30390 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30391 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30392
30393 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30394
30395 * elf/Makefile (tst-auxv): New test.
30396 * elf/tst-auxv.c: New
30397 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30398
30399 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30400
30401 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30402 (hidden_proto): Caller changed.
30403 (hidden_tls_proto): New macro.
30404 (libc_hidden_tls_proto): Likewise.
30405 (rtld_hidden_tls_proto): Likewise.
30406 (libm_hidden_tls_proto): Likewise.
30407 (libresolv_hidden_tls_proto): Likewise.
30408 (librt_hidden_tls_proto): Likewise.
30409 (libdl_hidden_tls_proto): Likewise.
30410 (libnss_files_hidden_tls_proto): Likewise.
30411 (libnsl_hidden_tls_proto): Likewise.
30412 (libnss_nisplus_hidden_tls_proto): Likewise.
30413 (libutil_hidden_tls_proto): Likewise.
30414
30415 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30416
30417 [BZ #10253]
30418 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30419 (decompose_rpath): Defer expansion to fillin_rpath.
30420 (_dl_init_paths): Pass linkmap to fillin_rpath.
30421
30422 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30423
30424 * benchtests/Makefile: Add strsep.
30425 * benchtests/bench-strsep.c: New file: strsep benchtest.
30426 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30427
30428 2013-11-18 Andreas Schwab <schwab@suse.de>
30429
30430 * locale/programs/locale.c (show_info) [case byte]: Check for
30431 '\377' instead of '\177'.
30432 * locale/C-monetary.c (not_available): Always use "\377".
30433 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30434 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30435 detect unavailable sign_posn locale elements.
30436 * locale/localeconv.c (__localeconv): For grouping and
30437 mon_grouping handle "\177" and "\377" like no grouping.
30438 (INT_ELEM): New macro. Use it to set all numeric members.
30439 * locale/programs/ld-monetary.c (monetary_read)
30440 <tok_mon_grouping>: Normalize single -1 to the empty string.
30441 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30442 Likewise.
30443
30444 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30445
30446 [BZ #16055]
30447 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30448 when we match (nil).
30449 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30450
30451 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30452
30453 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30454 (NO_TEST_INLINE): Update value.
30455 (ERRNO_UNCHANGED): Likewise.
30456 (ERRNO_EDOM): Likewise.
30457 (ERRNO_ERANGE): Likewise.
30458 (IGNORE_RESULT): Likewise.
30459 (check_float_internal): Check signs of NaN results if
30460 TEST_NAN_SIGN used.
30461 (check_complex): Pass TEST_NAN_SIGN flag through to second
30462 check_float_internal call.
30463 (copysign_test_data): Add tests with quiet NaNs as second
30464 argument. Use TEST_NAN_SIGN.
30465 (fabs_test_data): Add test of negative quiet NaN argument. Use
30466 TEST_NAN_SIGN.
30467 (signbit_test_data): Add tests of quiet NaN argument.
30468 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30469
30470 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30471 $ignore_result.
30472 (parse_args): Handle function results specified as IGNORE.
30473 * math/libm-test.inc (IGNORE_RESULT): New macro.
30474 (check_float_internal): Do not check numerical result if flag
30475 IGNORE_RESULT set.
30476 (check_complex): Pass through IGNORE_RESULT to second
30477 check_float_internal call.
30478 (check_int): Do not check numerical result if flag IGNORE_RESULT
30479 set.
30480 (check_long): Likewise.
30481 (check_bool): Likewise.
30482 (check_longlong): Likewise.
30483 (lrint_test_data): Add tests of infinite and NaN arguments.
30484 (lrint_tonearest_test_data): Likewise.
30485 (lrint_towardzero_test_data): Likewise.
30486 (lrint_downward_test_data): Likewise.
30487 (lrint_upward_test_data): Likewise.
30488 (llrint_test_data): Likewise.
30489 (llrint_tonearest_test_data): Likewise.
30490 (llrint_towardzero_test_data): Likewise.
30491 (llrint_downward_test_data): Likewise.
30492 (llrint_upward_test_data): Likewise.
30493 (lround_test_data): Likewise.
30494 (llround_test_data): Likewise.
30495
30496 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30497 (ERRNO_UNCHANGED): Update value.
30498 (ERRNO_EDOM): Likewise.
30499 (ERRNO_ERANGE): Likewise.
30500 (NO_TEST_INLINE_FLOAT): New macro.
30501 (NO_TEST_INLINE_DOUBLE): Likewise.
30502 (enable_test): New function.
30503 (RUN_TEST_f_f): Check enable_test before running test.
30504 (RUN_TEST_2_f): Likewise.
30505 (RUN_TEST_fff_f): Likewise.
30506 (RUN_TEST_c_f): Likewise.
30507 (RUN_TEST_f_f1): Likewise.
30508 (RUN_TEST_fF_f1): Likewise.
30509 (RUN_TEST_fI_f1): Likewise.
30510 (RUN_TEST_ffI_f1): Likewise.
30511 (RUN_TEST_c_c): Likewise.
30512 (RUN_TEST_cc_c): Likewise.
30513 (RUN_TEST_f_i): Likewise.
30514 (RUN_TEST_f_i_tg): Likewise.
30515 (RUN_TEST_ff_i_tg): Likewise.
30516 (RUN_TEST_f_b): Likewise.
30517 (RUN_TEST_f_b_tg): Likewise.
30518 (RUN_TEST_f_l): Likewise.
30519 (RUN_TEST_f_L): Likewise.
30520 (RUN_TEST_fFF_11): Likewise.
30521 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30522 conditionals.
30523 (cosh_test_data): Likewise.
30524 (exp_test_data): Likewise.
30525 (expm1_test_data): Likewise.
30526 (hypot_test_data): Likewise.
30527 (pow_test_data): Likewise.
30528 (sinh_test_data): Likewise.
30529 (tanh_test_data): Likewise.
30530 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30531 flags argument.
30532
30533 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30534 tests with quiet NaN input and output.
30535 (acosh_test_data): Likewise.
30536 (asin_test_data): Likewise.
30537 (asinh_test_data): Likewise.
30538 (atan_test_data): Likewise.
30539 (atanh_test_data): Likewise.
30540 (atan2_test_data): Likewise.
30541 (cbrt_test_data): Likewise.
30542 (cos_test_data): Likewise.
30543 (cosh_test_data): Likewise.
30544 (erf_test_data): Likewise.
30545 (erfc_test_data): Likewise.
30546 (exp_test_data): Likewise.
30547 (exp10_test_data): Likewise.
30548 (exp2_test_data): Likewise.
30549 (expm1_test_data): Likewise.
30550 (hypot_test_data): Likewise.
30551 (j0_test_data): Likewise.
30552 (j1_test_data): Likewise.
30553 (jn_test_data): Likewise.
30554 (lgamma_test_data): Likewise.
30555 (log_test_data): Likewise.
30556 (log10_test_data): Likewise.
30557 (log1p_test_data): Likewise.
30558 (log2_test_data): Likewise.
30559 (pow_test_data): Likewise.
30560 (scalb_test_data): Likewise.
30561 (sin_test_data): Likewise.
30562 (sincos_test_data): Likewise.
30563 (sinh_test_data): Likewise.
30564 (tan_test_data): Likewise.
30565 (tanh_test_data): Likewise.
30566 (tgamma_test_data): Likewise.
30567 (y0_test_data): Likewise.
30568 (y1_test_data): Likewise.
30569 (yn_test_data): Likewise.
30570
30571 [BZ #16167]
30572 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30573 argument being NaN and avoid computations with second argument in
30574 that case.
30575 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30576 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30577 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30578
30579 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30580
30581 * locale/iso-639.def: Add Chitwani Tharu (the).
30582
30583 2013-11-14 Andreas Schwab <schwab@suse.de>
30584
30585 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30586 word instead of empty string.
30587
30588 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30589
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30591 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30593 (__fe_nomask_env): Likewise.
30594
30595 2013-11-13 Steve Ellcey <sellcey@mips.com>
30596
30597 * benchtests/bench-timing.h: Include time.h.
30598
30599 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30600
30601 [BZ #15997]
30602 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30603 to 3.4.0 for x32.
30604 * sysdeps/unix/sysv/linux/configure: Regenerated.
30605
30606 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30607
30608 [BZ #16151]
30609 * stdlib/strtod_l.c (round_and_return): Do not consider
30610 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30611 exponent one less than half the least subnormal exponent.
30612 * stdlib/test-strtod-round-data: Add more tests.
30613 * stdlib/tst-strtod-round.c (tests): Regenerated.
30614
30615 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30616
30617 [BZ #14143]
30618 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30619 (__fe_mask_env): Likewise.
30620 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30621 libm_hidden_proto and add function prototype.
30622 (__fe_mask_env): Add function prototype.
30623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30624 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30626 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30628 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30629
30630 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30631
30632 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30633 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30634
30635 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30636
30637 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30638 of htab_find_slot().
30639
30640 2013-11-11 David S. Miller <davem@davemloft.net>
30641
30642 [BZ #16150]
30643 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30644 symbol in the non-vis3 case in static builds.
30645 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30646 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30647 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30648 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30649
30650 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30651
30652 [BZ #387]
30653 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30654 it is empty.
30655
30656 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30657
30658 * benchtests/Makefile: Add bench-strtod.
30659 * benchtests/bench-strtod.c: New file: strtod benchtest
30660
30661 2013-11-11 Andreas Schwab <schwab@suse.de>
30662
30663 [BZ #16153]
30664 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30665 terminating NUL in key length.
30666
30667 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30668
30669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30670 Add artificial ODP entry for vDSO symbol for PPC64.
30671 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30672 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30673
30674 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30675
30676 [BZ #15374]
30677 * nss/getent.c (services_keys): Recognize services starting with digit.
30678
30679 2013-11-06 David S. Miller <davem@davemloft.net>
30680
30681 [BZ #15985]
30682 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30683 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30684
30685 2013-11-06 Will Newton <will.newton@linaro.org>
30686
30687 * manual/memory.texi (Malloc Examples): Remove register
30688 keyword from examples.
30689
30690 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30691
30692 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30693
30694 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30695
30696 [BZ #6981]
30697 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30698 depending on [__GCC_IEC_559 > 0].
30699 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30700 depending on [__GCC_IEC_559_COMPLEX > 0].
30701
30702 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30703
30704 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30705 to iso-639.def.
30706
30707 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30708
30709 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30710
30711 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30712
30713 [BZ #16112]
30714 * malloc/malloc (malloc_info): Do not handle first bin as
30715 special case.
30716
30717 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30718
30719 * locale/iso-639.def: Add Central Nahuatl (nhn).
30720
30721 2013-11-01 Bruno Haible <bruno@clisp.org>
30722
30723 [BZ #7003]
30724 * manual/math.texi (BSD Random): Specify range upper bound as
30725 in POSIX.
30726
30727 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30728
30729 * locale/iso-639.def: Add Meadow Mari (mhr).
30730
30731 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30732
30733 [BZ #14752], [BZ #15763]
30734 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30735 Validate name.
30736 * rt/tst_shm.c: Add test for escaping directory.
30737
30738 2013-10-31 Andreas Schwab <schwab@suse.de>
30739
30740 [BZ #15917]
30741 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30742 followed by 'x' as part of digit sequence.
30743 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30744
30745 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30746
30747 [BZ #16037]
30748 * configure.ac: allow GNU Make 4.0 and greater.
30749 * configure: Regenerated.
30750
30751 2013-10-30 Will Newton <will.newton@linaro.org>
30752
30753 [BZ #16038]
30754 * malloc/hooks.c (memalign_check): Limit alignment to the
30755 maximum representable power of two.
30756 * malloc/malloc.c (__libc_memalign): Likewise.
30757 * malloc/tst-memalign.c (do_test): Add test for very
30758 large alignment values.
30759 * malloc/tst-posix_memalign.c (do_test): Likewise.
30760
30761 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30762
30763 [BZ #11087]
30764 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30765 (munmap_chunk): Likewise.
30766 (mremap_chunk): Likewise.
30767
30768 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30769
30770 [BZ #15799]
30771 * stdlib/div.c (div): Remove obsolete code.
30772 * stdlib/ldiv.c (ldiv): Likewise.
30773 * stdlib/lldiv.c (lldiv): Likewise.
30774
30775 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30776
30777 [BZ #16071]
30778 * nss/nss_files/files-XXX.c (get_contents_ret): New
30779 enumerator.
30780 (get_contents): New function.
30781 (internal_getent): Use it. Expand size of LINEBUFLEN.
30782
30783 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30784
30785 * configure.in: Moved to ...
30786 * configure.ac: ... here. Change reference to configure.in
30787 to configure.ac.
30788 * sysdeps/arm/preconfigure.ac: ... here.
30789 configure.in to configure.ac.
30790 * sysdeps/gnu/configure.in: Moved to ...
30791 * sysdeps/gnu/configure.ac: ... here.
30792 * sysdeps/i386/configure.in: Moved to ...
30793 * sysdeps/i386/configure.ac: ... here.
30794 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30795 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30796 * sysdeps/mach/configure.in: Moved to ...
30797 * sysdeps/mach/configure.ac: ... here.
30798 * sysdeps/mach/hurd/configure.in: Moved to ...
30799 * sysdeps/mach/hurd/configure.ac: ... here.
30800 * sysdeps/powerpc/configure.in: Moved to ...
30801 * sysdeps/powerpc/configure.ac: ... here.
30802 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30803 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30804 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30805 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30806 * sysdeps/s390/s390-32/configure.in: Moved to ...
30807 * sysdeps/s390/s390-32/configure.ac: ... here.
30808 * sysdeps/s390/s390-64/configure.in: Moved to ...
30809 * sysdeps/s390/s390-64/configure.ac: ... here.
30810 * sysdeps/sh/configure.in: Moved to ...
30811 * sysdeps/sh/configure.ac: ... here.
30812 * sysdeps/sparc/configure.in: Moved to ...
30813 * sysdeps/sparc/configure.ac: ... here.
30814 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30815 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30816 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30817 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30818 * sysdeps/x86_64/configure.in: Moved to ...
30819 * sysdeps/x86_64/configure.ac: ... here.
30820 * sysdeps/x86_64/preconfigure.in: Moved to ...
30821 * sysdeps/x86_64/preconfigure.ac: ... here.
30822 * aclocal.m4: Change reference to configure.in to configure.ac.
30823 * config.h.in: Likewise.
30824 * manual/install.texi: Likewise.
30825 * manual/maint.texi: Likewise.
30826 * Makefile: Likewise.
30827 * malloc/Makefile: Likewise.
30828 * nscd/Makefile: Likewise.
30829 * Makeconfig: Change reference to configure.in and
30830 preconfigure.in to configure.ac and preconfigure.ac
30831 respectively.
30832 * INSTALL: Regenerated.
30833 * configure: Likewise.
30834 * sysdeps/gnu/configure: Likewise.
30835 * sysdeps/i386/configure: Likewise.
30836 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30837 * sysdeps/mach/configure: Likewise.
30838 * sysdeps/mach/hurd/configure: Likewise.
30839 * sysdeps/powerpc/configure: Likewise.
30840 * sysdeps/powerpc/powerpc32/configure: Likewise.
30841 * sysdeps/powerpc/powerpc64/configure: Likewise.
30842 * sysdeps/s390/s390-32/configure: Likewise.
30843 * sysdeps/s390/s390-64/configure: Likewise.
30844 * sysdeps/sh/configure: Likewise.
30845 * sysdeps/sparc/configure: Likewise.
30846 * sysdeps/unix/sysv/linux/configure: Likewise.
30847 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30848 * sysdeps/x86_64/configure: Likewise.
30849 * sysdeps/x86_64/preconfigure: Likewise.
30850
30851 2013-10-29 Andreas Schwab <schwab@suse.de>
30852
30853 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30854
30855 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30856
30857 * benchtests/pow-inputs: Add new inputs.
30858
30859 * benchtests/exp-inputs: Add new inputs.
30860
30861 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30862 conditional check for return value.
30863 (__cos32): Likewise.
30864
30865 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30866
30867 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30868 to provide a boost for large inputs with word alignment.
30869 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30870 implementation based on optimized PPC64 strcpy.
30871 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30872 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30873 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30874 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30875
30876 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30877
30878 [BZ #2801]
30879 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30880
30881 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30882
30883 [BZ #14876]
30884 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30885 * time/tst-strptime.c (day_tests): Add testcase.
30886
30887 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30888
30889 [BZ #14029]
30890 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30891
30892 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30893
30894 [BZ #16074]
30895 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30896 MAP_FAILED on error.
30897
30898 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30899
30900 [BZ #16072]
30901 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30902 heap for large requests.
30903
30904 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30905
30906 [BZ #9954]
30907 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30908 result if the result has no associated interface.
30909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30910 interface for all 127.X.Y.Z addresses.
30911
30912 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30913
30914 * locale/iso-639.def: Add Ligurian (lij)
30915
30916 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30917
30918 [BZ #15825]
30919 * sunrpc/rpc_main.c: Document rpcgen -5.
30920
30921 2013-10-19 Michael Stahl <mstahl@redhat.com>
30922
30923 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30924
30925 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30926
30927 [BZ #10278]
30928 * posix/glob.c: Match only directories when trailing slash is present.
30929 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30930 (main): Add testcase.
30931
30932 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30933
30934 [BZ #15670]
30935 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30936
30937 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30938
30939 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30940 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30941 AUTH_DES and cindex for FIPS 140-2.
30942 (DES Encryption): Add cindex FIPS 46-3.
30943
30944 * locale/locarchive.h (struct locarhandle): Add fname.
30945 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30946 if an optional argument was specified to --list-archive,
30947 otherwise NULL.
30948 * locale/programs/locarchive.c (show_archive_content): Take new
30949 argument fname and pass it via ah.fname to open_archive.
30950 * locale/programs/localedef.h: Update decl.
30951 (open_archive): If AH->fname is non-null, open that file
30952 rather than the default file name, and don't ignore ENOENT.
30953 (create_archive): Set AH.fname to NULL.
30954 (delete_locales_from_archive): Likewise.
30955 (add_locales_to_archive): Likewise.
30956 * locale/programs/locfile.c (write_all_categories): Likewise.
30957
30958 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30959 Aldy Hernandez <aldyh@redhat.com>
30960
30961 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30962 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30963 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30964 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30965 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30966 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30967 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30968 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30969 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30971 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30972 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30973 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30974 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30975 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30976 Likewise.
30977 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30978 Likewise.
30979 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30980 Likewise.
30981 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30982 Likewise.
30983 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30984 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30985 Likewise.
30986 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30987 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30988 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30989 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30990 Likewise.
30991 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30992 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30993 * sysdeps/powerpc/preconfigure: Likewise.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30995 Likewise.
30996 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30997 Replace contents of file by #include of <fenv_libc.h>.
30998 * sysdeps/powerpc/soft-fp/sfp-machine.h
30999 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31000 and <sys/prctl.h>.
31001 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31002 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31003 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31004 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31014 Allow copysignl PLT reference to be missing.
31015
31016 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31017 Joseph Myers <joseph@codesourcery.com
31018
31019 [BZ #15948]
31020 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31021 single character.
31022 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31023
31024 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31025
31026 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31027 * elf/tst-tls1.c: Likewise.
31028 * elf/tst-tls10.h: Likewise.
31029 * elf/tst-tls14.c: Likewise.
31030 * elf/tst-tls2.c: Likewise.
31031 * elf/tst-tls3.c: Likewise.
31032 * elf/tst-tls4.c: Likewise.
31033 * elf/tst-tls5.c: Likewise.
31034 * elf/tst-tls6.c: Likewise.
31035 * elf/tst-tls7.c: Likewise.
31036 * elf/tst-tls8.c: Likewise.
31037 * elf/tst-tls9.c: Likewise.
31038 * elf/tst-tlsmod1.c: Likewise.
31039 * elf/tst-tlsmod13.c: Likewise.
31040 * elf/tst-tlsmod13a.c: Likewise.
31041 * elf/tst-tlsmod14a.c: Likewise.
31042 * elf/tst-tlsmod16a.c: Likewise.
31043 * elf/tst-tlsmod16b.c: Likewise.
31044 * elf/tst-tlsmod2.c: Likewise.
31045 * elf/tst-tlsmod3.c: Likewise.
31046 * elf/tst-tlsmod4.c: Likewise.
31047 * elf/tst-tlsmod5.c: Likewise.
31048 * elf/tst-tlsmod6.c: Likewise.
31049
31050 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31051
31052 [BZ #12486]
31053 * malloc/malloc.c: remove checks for statistics.
31054
31055 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31056
31057 [BZ #15277]
31058 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31059 * inet/tst-network.c: Add testcase.
31060
31061 2013-10-17 Andreas Schwab <schwab@suse.de>
31062
31063 [BZ #15218]
31064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31065 to determine canonical name.
31066
31067 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31068
31069 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31070 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31072 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31074 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31075 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31076 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31077 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31078 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31079 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31081 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31082 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31083 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31084 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31085 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31086 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31087 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31088 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31091 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31092 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31093 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31094 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31095 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31096 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31097 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31098 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31099 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31101 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31102 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31103 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31105 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31106 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31107 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31109 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31111 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31113 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31114 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31115 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31116 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31117 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31118 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31119 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31120 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31121 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31122 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31123 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31124 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31125 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31126 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31127
31128 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31129
31130 [BZ #16041]
31131 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31132 make result into a quiet NaN.
31133
31134 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31135
31136 * soft-fp/adddf3.c: Fix horizontal whitespace.
31137 * soft-fp/addsf3.c: Likewise.
31138 * soft-fp/addtf3.c: Likewise.
31139 * soft-fp/divdf3.c: Likewise.
31140 * soft-fp/divsf3.c: Likewise.
31141 * soft-fp/divtf3.c: Likewise.
31142 * soft-fp/double.h: Likewise.
31143 * soft-fp/eqdf2.c: Likewise.
31144 * soft-fp/eqsf2.c: Likewise.
31145 * soft-fp/eqtf2.c: Likewise.
31146 * soft-fp/extenddftf2.c: Likewise.
31147 * soft-fp/extended.h: Likewise.
31148 * soft-fp/extendsfdf2.c: Likewise.
31149 * soft-fp/extendsftf2.c: Likewise.
31150 * soft-fp/extendxftf2.c: Likewise.
31151 * soft-fp/fixdfdi.c: Likewise.
31152 * soft-fp/fixdfsi.c: Likewise.
31153 * soft-fp/fixdfti.c: Likewise.
31154 * soft-fp/fixsfdi.c: Likewise.
31155 * soft-fp/fixsfsi.c: Likewise.
31156 * soft-fp/fixsfti.c: Likewise.
31157 * soft-fp/fixtfdi.c: Likewise.
31158 * soft-fp/fixtfsi.c: Likewise.
31159 * soft-fp/fixtfti.c: Likewise.
31160 * soft-fp/fixunsdfdi.c: Likewise.
31161 * soft-fp/fixunsdfsi.c: Likewise.
31162 * soft-fp/fixunsdfti.c: Likewise.
31163 * soft-fp/fixunssfdi.c: Likewise.
31164 * soft-fp/fixunssfsi.c: Likewise.
31165 * soft-fp/fixunssfti.c: Likewise.
31166 * soft-fp/fixunstfdi.c: Likewise.
31167 * soft-fp/fixunstfsi.c: Likewise.
31168 * soft-fp/fixunstfti.c: Likewise.
31169 * soft-fp/floatdidf.c: Likewise.
31170 * soft-fp/floatdisf.c: Likewise.
31171 * soft-fp/floatditf.c: Likewise.
31172 * soft-fp/floatsidf.c: Likewise.
31173 * soft-fp/floatsisf.c: Likewise.
31174 * soft-fp/floatsitf.c: Likewise.
31175 * soft-fp/floattidf.c: Likewise.
31176 * soft-fp/floattisf.c: Likewise.
31177 * soft-fp/floattitf.c: Likewise.
31178 * soft-fp/floatundidf.c: Likewise.
31179 * soft-fp/floatundisf.c: Likewise.
31180 * soft-fp/floatunditf.c: Likewise.
31181 * soft-fp/floatunsidf.c: Likewise.
31182 * soft-fp/floatunsisf.c: Likewise.
31183 * soft-fp/floatunsitf.c: Likewise.
31184 * soft-fp/floatuntidf.c: Likewise.
31185 * soft-fp/floatuntisf.c: Likewise.
31186 * soft-fp/floatuntitf.c: Likewise.
31187 * soft-fp/fmadf4.c: Likewise.
31188 * soft-fp/fmasf4.c: Likewise.
31189 * soft-fp/fmatf4.c: Likewise.
31190 * soft-fp/gedf2.c: Likewise.
31191 * soft-fp/gesf2.c: Likewise.
31192 * soft-fp/getf2.c: Likewise.
31193 * soft-fp/ledf2.c: Likewise.
31194 * soft-fp/lesf2.c: Likewise.
31195 * soft-fp/letf2.c: Likewise.
31196 * soft-fp/muldf3.c: Likewise.
31197 * soft-fp/mulsf3.c: Likewise.
31198 * soft-fp/multf3.c: Likewise.
31199 * soft-fp/negdf2.c: Likewise.
31200 * soft-fp/negsf2.c: Likewise.
31201 * soft-fp/negtf2.c: Likewise.
31202 * soft-fp/op-1.h: Likewise.
31203 * soft-fp/op-2.h: Likewise.
31204 * soft-fp/op-4.h: Likewise.
31205 * soft-fp/op-8.h: Likewise.
31206 * soft-fp/op-common.h: Likewise.
31207 * soft-fp/quad.h: Likewise.
31208 * soft-fp/single.h: Likewise.
31209 * soft-fp/soft-fp.h: Likewise.
31210 * soft-fp/sqrtdf2.c: Likewise.
31211 * soft-fp/sqrtsf2.c: Likewise.
31212 * soft-fp/sqrttf2.c: Likewise.
31213 * soft-fp/subdf3.c: Likewise.
31214 * soft-fp/subsf3.c: Likewise.
31215 * soft-fp/subtf3.c: Likewise.
31216 * soft-fp/truncdfsf2.c: Likewise.
31217 * soft-fp/trunctfdf2.c: Likewise.
31218 * soft-fp/trunctfsf2.c: Likewise.
31219 * soft-fp/trunctfxf2.c: Likewise.
31220 * soft-fp/unorddf2.c: Likewise.
31221 * soft-fp/unordsf2.c: Likewise.
31222 * soft-fp/unordtf2.c: Likewise.
31223
31224 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31225
31226 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31227 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31228
31229 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31230
31231 * elf/dl-libc.c: Clear initfini list after freeing.
31232
31233 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31234
31235 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31236 * soft-fp/addsf3.c: Likewise.
31237 * soft-fp/addtf3.c: Likewise.
31238 * soft-fp/divdf3.c: Likewise.
31239 * soft-fp/divsf3.c: Likewise.
31240 * soft-fp/divtf3.c: Likewise.
31241 * soft-fp/double.h: Likewise.
31242 * soft-fp/eqdf2.c: Likewise.
31243 * soft-fp/eqsf2.c: Likewise.
31244 * soft-fp/eqtf2.c: Likewise.
31245 * soft-fp/extenddftf2.c: Likewise.
31246 * soft-fp/extended.h: Likewise.
31247 * soft-fp/extendsfdf2.c: Likewise.
31248 * soft-fp/extendsftf2.c: Likewise.
31249 * soft-fp/extendxftf2.c: Likewise.
31250 * soft-fp/fixdfdi.c: Likewise.
31251 * soft-fp/fixdfsi.c: Likewise.
31252 * soft-fp/fixdfti.c: Likewise.
31253 * soft-fp/fixsfdi.c: Likewise.
31254 * soft-fp/fixsfsi.c: Likewise.
31255 * soft-fp/fixsfti.c: Likewise.
31256 * soft-fp/fixtfdi.c: Likewise.
31257 * soft-fp/fixtfsi.c: Likewise.
31258 * soft-fp/fixtfti.c: Likewise.
31259 * soft-fp/fixunsdfdi.c: Likewise.
31260 * soft-fp/fixunsdfsi.c: Likewise.
31261 * soft-fp/fixunsdfti.c: Likewise.
31262 * soft-fp/fixunssfdi.c: Likewise.
31263 * soft-fp/fixunssfsi.c: Likewise.
31264 * soft-fp/fixunssfti.c: Likewise.
31265 * soft-fp/fixunstfdi.c: Likewise.
31266 * soft-fp/fixunstfsi.c: Likewise.
31267 * soft-fp/fixunstfti.c: Likewise.
31268 * soft-fp/floatdidf.c: Likewise.
31269 * soft-fp/floatdisf.c: Likewise.
31270 * soft-fp/floatditf.c: Likewise.
31271 * soft-fp/floatsidf.c: Likewise.
31272 * soft-fp/floatsisf.c: Likewise.
31273 * soft-fp/floatsitf.c: Likewise.
31274 * soft-fp/floattidf.c: Likewise.
31275 * soft-fp/floattisf.c: Likewise.
31276 * soft-fp/floattitf.c: Likewise.
31277 * soft-fp/floatundidf.c: Likewise.
31278 * soft-fp/floatundisf.c: Likewise.
31279 * soft-fp/floatunsidf.c: Likewise.
31280 * soft-fp/floatunsisf.c: Likewise.
31281 * soft-fp/floatuntidf.c: Likewise.
31282 * soft-fp/floatuntisf.c: Likewise.
31283 * soft-fp/floatuntitf.c: Likewise.
31284 * soft-fp/fmadf4.c: Likewise.
31285 * soft-fp/fmasf4.c: Likewise.
31286 * soft-fp/fmatf4.c: Likewise.
31287 * soft-fp/gedf2.c: Likewise.
31288 * soft-fp/gesf2.c: Likewise.
31289 * soft-fp/getf2.c: Likewise.
31290 * soft-fp/ledf2.c: Likewise.
31291 * soft-fp/lesf2.c: Likewise.
31292 * soft-fp/letf2.c: Likewise.
31293 * soft-fp/muldf3.c: Likewise.
31294 * soft-fp/mulsf3.c: Likewise.
31295 * soft-fp/multf3.c: Likewise.
31296 * soft-fp/negdf2.c: Likewise.
31297 * soft-fp/negsf2.c: Likewise.
31298 * soft-fp/negtf2.c: Likewise.
31299 * soft-fp/op-1.h: Likewise.
31300 * soft-fp/op-2.h: Likewise.
31301 * soft-fp/op-4.h: Likewise.
31302 * soft-fp/op-8.h: Likewise.
31303 * soft-fp/op-common.h: Likewise.
31304 * soft-fp/quad.h: Likewise.
31305 * soft-fp/single.h: Likewise.
31306 * soft-fp/soft-fp.h: Likewise.
31307 * soft-fp/sqrtdf2.c: Likewise.
31308 * soft-fp/sqrtsf2.c: Likewise.
31309 * soft-fp/sqrttf2.c: Likewise.
31310 * soft-fp/subdf3.c: Likewise.
31311 * soft-fp/subsf3.c: Likewise.
31312 * soft-fp/subtf3.c: Likewise.
31313 * soft-fp/truncdfsf2.c: Likewise.
31314 * soft-fp/trunctfdf2.c: Likewise.
31315 * soft-fp/trunctfsf2.c: Likewise.
31316 * soft-fp/trunctfxf2.c: Likewise.
31317 * soft-fp/unorddf2.c: Likewise.
31318 * soft-fp/unordsf2.c: Likewise.
31319 * soft-fp/unordtf2.c: Likewise.
31320
31321 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31322
31323 [BZ #15672]
31324 * misc/error.c (error_tail): Fix possible buffer overflow.
31325
31326 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31327
31328 [BZ #13028]
31329 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31330 address.
31331
31332 2013-10-14 P. J. McDermott <pj@pehjota.net>
31333
31334 [BZ #832]
31335 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31336 testing pipefail option.
31337
31338 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31339
31340 * soft-fp/double.h: Indent preprocessor directives inside #if.
31341 * soft-fp/extended.h: Likewise.
31342 * soft-fp/op-2.h: Likewise.
31343 * soft-fp/op-4.h: Likewise.
31344 * soft-fp/op-common.h: Likewise.
31345 * soft-fp/quad.h: Likewise.
31346 * soft-fp/single.h: Likewise.
31347 * soft-fp/soft-fp.h: Likewise.
31348
31349 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31350
31351 * iconv/iconv_prog.c: Fix typos.
31352 * stdio-common/psiginfo-data.h: Likewise.
31353
31354 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31355
31356 [BZ #15764]
31357 * locale/setlocale.c: Fix typo.
31358
31359 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31360
31361 [BZ #16036]
31362 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31363 signaling NaN arguments.
31364 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31365 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31366
31367 [BZ #14910]
31368 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31369 unordered operands.
31370 * soft-fp/gesf2.c (__gesf2): Likewise.
31371 * soft-fp/getf2.c (__getf2): Likewise.
31372 * soft-fp/ledf2.c (__ledf2): Likewise.
31373 * soft-fp/lesf2.c (__lesf2): Likewise.
31374 * soft-fp/letf2.c (__letf2): Likewise.
31375
31376 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31377 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31378 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31379 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31380 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31381 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31382 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31383 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31384 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31385 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31386 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31387 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31388 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31389 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31390 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31391 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31392 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31393 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31394 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31395 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31396 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31397 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31398 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31399 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31400 * soft-fp/floattidf.c (__floattidf): Likewise.
31401 * soft-fp/floattisf.c (__floattisf): Likewise.
31402 * soft-fp/floattitf.c (__floattitf): Likewise.
31403 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31404 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31405 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31406 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31407 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31408 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31409 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31410 * soft-fp/gesf2.c (__gesf2): Likewise.
31411 * soft-fp/getf2.c (__getf2): Likewise.
31412 * soft-fp/ledf2.c (__ledf2): Likewise.
31413 * soft-fp/lesf2.c (__lesf2): Likewise.
31414 * soft-fp/letf2.c (__letf2): Likewise.
31415
31416 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31417 Undefine and redefine.
31418 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31419 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31420 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31421 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31422 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31423 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31424 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31425 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31426 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31427 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31428 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31429 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31430 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31431 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31432 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31433
31434 [BZ #16032]
31435 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31436 without decrementing exponent if mantissa >= that for the
31437 denominator, not >.
31438 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31439 denominator, not >. Decrement exponent in < case instead of
31440 incrementing in >= case.
31441 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31442 without decrementing exponent if mantissa >= that for the
31443 denominator, not >.
31444
31445 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31446 computing saturated result for unsigned overflow.
31447
31448 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31449 Jeff Law <law@redhat.com>
31450
31451 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31452 (atan2Mp): Add systemtap probe marker.
31453 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31454 (__ieee754_log): Add systemtap probe marker.
31455 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31456 (atanMp): Add systemtap probe marker.
31457 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31458 (tanMp): Add systemtap probe marker.
31459 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31460 (__slowexp): Add systemtap probe marker.
31461 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31462 (__slowpow): Add systemtap probe marker.
31463 * manual/probes.texi: Document probes.
31464
31465 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31466
31467 [BZ #15362]
31468 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31469 written.
31470 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31471 written.
31472 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31473 written to buffer but not flushed.
31474 * libio/iofwrite_u.c: Likewise.
31475 * libio/iopadn.c: Return bytes returned even if EOF was
31476 encountered.
31477 * libio/iowpadn.c: Likewise.
31478 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31479 if _IO_padn does not write the whole buffer.
31480 [!COMPILE_WPRINTF] (PAD): Likewise.
31481
31482 2013-10-10 David S. Miller <davem@davemloft.net>
31483
31484 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31485 directory block.
31486
31487 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31488
31489 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31490 instead of FSF address.
31491 * soft-fp/fixdfti.c: Likewise.
31492 * soft-fp/fixsfti.c: Likewise.
31493 * soft-fp/fixtfti.c: Likewise.
31494 * soft-fp/fixunsdfti.c: Likewise.
31495 * soft-fp/fixunssfti.c: Likewise.
31496 * soft-fp/fixunstfti.c: Likewise.
31497 * soft-fp/floattidf.c: Likewise.
31498 * soft-fp/floattisf.c: Likewise.
31499 * soft-fp/floattitf.c: Likewise.
31500 * soft-fp/floatuntidf.c: Likewise.
31501 * soft-fp/floatuntisf.c: Likewise.
31502 * soft-fp/floatuntitf.c: Likewise.
31503 * soft-fp/trunctfxf2.c: Likewise.
31504
31505 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31506 * soft-fp/fixdfti.c: Likewise.
31507 * soft-fp/fixsfti.c: Likewise.
31508 * soft-fp/fixtfti.c: Likewise.
31509 * soft-fp/fixunsdfti.c: Likewise.
31510 * soft-fp/fixunssfti.c: Likewise.
31511 * soft-fp/fixunstfti.c: Likewise.
31512 * soft-fp/floattidf.c: Likewise.
31513 * soft-fp/floattisf.c: Likewise.
31514 * soft-fp/floattitf.c: Likewise.
31515 * soft-fp/floatuntidf.c: Likewise.
31516 * soft-fp/floatuntisf.c: Likewise.
31517 * soft-fp/floatuntitf.c: Likewise.
31518 * soft-fp/trunctfxf2.c: Likewise.
31519
31520 2013-10-10 David S. Miller <davem@davemloft.net>
31521
31522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31523
31524 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31525
31526 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31527 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31528 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31529 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31530 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31531 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31532 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31533
31534 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31535 for NaNs before doing comparisons on argument.
31536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31537 Likewise.
31538
31539 2013-10-10 Will Newton <will.newton@linaro.org>
31540
31541 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31542 passed to _int_memalign does not overflow.
31543
31544 2013-10-10 Torvald Riegel <triegel@redhat.com>
31545
31546 * scripts/bench.pl: Add include-sources directive.
31547 * benchtests/README: Update documentation.
31548
31549 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31550
31551 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31552 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31553 instead of FP_INIT_ROUNDMODE.
31554 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31555 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31556
31557 [BZ #16034]
31558 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31559 copy class of input value.
31560 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31561 not handle exceptions.
31562 * soft-fp/negsf2.c (__negsf2): Likewise.
31563 * soft-fp/negtf2.c (__negtf2): Likewise.
31564 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31565
31566 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31567
31568 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31569 semicolon. From Linux kernel.
31570
31571 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31572
31573 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31574
31575 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31576
31577 [BZ #156]
31578 * manual/socket.texi: Added statement about buffer
31579 for gethostbyname2_r.
31580
31581 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31582
31583 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31584 Use .p2align directive instead, throughout.
31585 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31586 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31587 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31588 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31589 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31590 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31591 * sysdeps/x86_64/strchr.S: Likewise.
31592 * sysdeps/x86_64/strrchr.S: Likewise.
31593
31594 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31595
31596 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31597
31598 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31599
31600 * sysdeps/generic/math_private.h (__mpsin1): Remove
31601 declaration.
31602 (__mpcos1): Likewise.
31603 (__mpsin): New argument __range_reduce.
31604 (__mpcos): Likewise.
31605 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31606 (slow): Use __mpsin and __mpcos.
31607 (slow1): Likewise.
31608 (slow2): Likewise.
31609 (sloww): Likewise.
31610 (sloww1): Likewise.
31611 (sloww2): Likewise.
31612 (bsloww): Likewise.
31613 (bsloww1): Likewise.
31614 (bsloww2): Likewise.
31615 (cslow2): Likewise.
31616 (csloww): Likewise.
31617 (csloww1): Likewise.
31618 (csloww2): Likewise.
31619 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31620 range_reduce. Merge in __mpsin1.
31621 (__mpcos): Likewise.
31622 (__mpsin1): Remove.
31623 (__mpcos1): Likewise.
31624
31625 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31626
31627 * locale/loadlocale.c (_nl_intern_locale_data): Use
31628 LOCFILE_ALIGNED_P.
31629 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31630 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31631 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31632 obstack data is appropriately aligned.
31633 (obstack_int32_grow_fast): Likewise.
31634 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31635 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31636 (add_locale_uint32_array): Likewise.
31637
31638 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31639
31640 * benchtests/Makefile: Remove ARGLIST and RET variables.
31641 ($(objpfx)bench-%.c): Pass only function name to the script.
31642 * benchtests/README: Update documentation.
31643 * benchtests/acos-inputs: Add new directives.
31644 * benchtests/acosh-inputs: Likewise.
31645 * benchtests/asin-inputs: Likewise.
31646 * benchtests/asinh-inputs: Likewise.
31647 * benchtests/atan-inputs: Likewise.
31648 * benchtests/atanh-inputs: Likewise.
31649 * benchtests/cos-inputs: Likewise.
31650 * benchtests/cosh-inputs: Likewise.
31651 * benchtests/exp-inputs: Likewise.
31652 * benchtests/log-inputs: Likewise.
31653 * benchtests/pow-inputs: Likewise.
31654 * benchtests/rint-inputs: Likewise.
31655 * benchtests/sin-inputs: Likewise.
31656 * benchtests/sinh-inputs: Likewise.
31657 * benchtests/tan-inputs: Likewise.
31658 * benchtests/tanh-inputs: Likewise.
31659 * scripts/bench.pl: Add support for new directives.
31660
31661 2013-10-07 Alan Modra <amodra@gmail.com>
31662
31663 * README: Fix careless merge.
31664
31665 2013-10-05 Alan Modra <amodra@gmail.com>
31666
31667 * NEWS: Mention powerpc64le support and bugs fixed.
31668 * README: Both big-endian and little-endian powerpc64 supported.
31669
31670 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31671
31672 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31673 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31674 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31675 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31676
31677 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31678
31679 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31680 match prototype.
31681
31682 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31683
31684 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31685 Move -mhard-float appending from
31686 ports/sysdeps/powerpc/powerpc32/Makefile.
31687 [$(with-fp) = yes] (ASFLAGS): Likewise.
31688 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31689 * sysdeps/powerpc/nofpu: Move directory from
31690 ports/sysdeps/powerpc/nofpu.
31691 * sysdeps/powerpc/soft-fp: Move directory from
31692 ports/sysdeps/powerpc/soft-fp.
31693 * sysdeps/powerpc/powerpc32/405: Move directory from
31694 ports/sysdeps/powerpc/powerpc32/405.
31695 * sysdeps/powerpc/powerpc32/440: Move directory from
31696 ports/sysdeps/powerpc/powerpc32/440.
31697 * sysdeps/powerpc/powerpc32/464: Move directory from
31698 ports/sysdeps/powerpc/powerpc32/464.
31699 * sysdeps/powerpc/powerpc32/476: Move directory from
31700 ports/sysdeps/powerpc/powerpc32/476.
31701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31702 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31704 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31706 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31708 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31710 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31711 * README: Update for powerpc-*-linux-gnu software floating point
31712 support in libc.
31713
31714 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31715 case to powerpc/powerpc32*.
31716 * sysdeps/unix/sysv/linux/configure: Regenerated.
31717
31718 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31719 (_FPU_MASK_OM): Define as 0x04.
31720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31722 0x00c10080.
31723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31724 0x0000003c.
31725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31726
31727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31728 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31729 getcontext_e500.
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31731 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31732 setcontext_e500.
31733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31734 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31735 and setcontext_e500.
31736
31737 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31738
31739 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31740
31741 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31742
31743 * manual/threads.texi (Default Thread Attributes): Fix typo.
31744
31745 2013-10-04 Will Newton <will.newton@linaro.org>
31746
31747 * malloc/Makefile: Add tst-memalign.
31748 * malloc/tst-memalign.c: New file.
31749
31750 * malloc/tst-posix_memalign.c: Add comments.
31751 (do_test): Add comments and call free on all potentially
31752 allocated pointers. Add space after cast.
31753
31754 * malloc/tst-pvalloc.c: Add comments.
31755 (do_test): Add comments and call free on all potentially
31756 allocated pointers. Remove duplicate check for NULL pointer.
31757 Add space after cast.
31758
31759 * malloc/tst-valloc.c: Add comments.
31760 (do_test): Add comments and call free on all potentially
31761 allocated pointers. Remove duplicate check for NULL pointer.
31762 Add space after cast.
31763
31764 2013-10-04 Alan Modra <amodra@gmail.com>
31765
31766 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31767 Use stdint types in rather than __attribute__((mode())).
31768 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31769
31770 2013-10-04 Alan Modra <amodra@gmail.com>
31771
31772 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31773 Correct handling of unaligned relocs for little-endian.
31774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31775
31776 2013-10-04 Alan Modra <amodra@gmail.com>
31777
31778 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31779 * configure: Regenerate.
31780 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31781 * shlib-versions: Likewise.
31782
31783 2013-10-04 Alan Modra <amodra@gmail.com>
31784
31785 * string/tester.c (test_memrchr): Increment reported test cycle.
31786
31787 2013-10-04 Alan Modra <amodra@gmail.com>
31788
31789 * string/test-memcpy.c (do_one_test): When reporting errors, print
31790 string address and don't overrun end of string.
31791
31792 2013-10-04 Alan Modra <amodra@gmail.com>
31793
31794 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31795 insrdi. Make better use of reg selection to speed exit slightly.
31796 Schedule entry path a little better. Remove useless "are we done"
31797 checks on entry to main loop. Handle wrapping around zero address.
31798 Correct main loop count. Handle single left-over word from main
31799 loop inline rather than by using loop_small. Remove extra word
31800 case in loop_small caused by wrong loop count. Add little-endian
31801 support.
31802 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31803 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31804 cache hint.
31805 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31806 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31807 support. Avoid rlwimi.
31808 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31809
31810 2013-10-04 Alan Modra <amodra@gmail.com>
31811
31812 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31813 insrdi. Formatting.
31814 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31815 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31816 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31817 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31818 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31819 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31820
31821 2013-10-04 Alan Modra <amodra@gmail.com>
31822
31823 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31824 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31825 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31826 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31827 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31828 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31831 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31832 use of regs. Use power7 mtocrf. Tidy function tails.
31833
31834 2013-10-04 Alan Modra <amodra@gmail.com>
31835
31836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31837 Formatting. Consistently use rXXX register defines or rN defines.
31838 Use early exit labels that avoid restoring unused non-volatile regs.
31839 Make cr field use more consistent with rWORDn compares. Rename
31840 regs used as shift registers for unaligned loop, using rN defines
31841 for short lifetime/multiple use regs.
31842 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31843 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31844 addi 1,1,64 to pop stack frame. Simplify return value code.
31845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31846
31847 2013-10-04 Alan Modra <amodra@gmail.com>
31848
31849 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31850 support. Correct typos, formatting. Optimize tail. Use insrdi
31851 rather than rlwimi.
31852 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31853 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31854 little-endian support. Correct typos.
31855 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31856 rather than rlwimi.
31857 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31858 in loop and entry code to keep "and." results.
31859 (strchr): Add little-endian support. Comment. Move cntlzd
31860 earlier in tail.
31861 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31862
31863 2013-10-04 Alan Modra <amodra@gmail.com>
31864
31865 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31866 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31867 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31868 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31869
31870 2013-10-04 Alan Modra <amodra@gmail.com>
31871
31872 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31873 (rTMP): Define as r11.
31874 (strcmp): Add little-endian support. Optimise tail.
31875 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31876 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31877 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31878 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31879 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31882
31883 2013-10-04 Alan Modra <amodra@gmail.com>
31884
31885 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31886 little-endian support. Remove unnecessary "are we done" tests.
31887 Handle "s" wrapping around zero and extremely large "size".
31888 Correct main loop count. Handle single left-over word from main
31889 loop inline rather than by using small_loop. Correct comments.
31890 Delete "zero" tail, use "end_max" instead.
31891 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31892
31893 2013-10-04 Alan Modra <amodra@gmail.com>
31894
31895 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31896 support. Don't branch over align.
31897 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31898 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31899 support. Rearrange tmp reg use to suit. Comment.
31900 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31901
31902 2013-10-04 Alan Modra <amodra@gmail.com>
31903
31904 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31905
31906 2013-10-04 Alan Modra <amodra@gmail.com>
31907
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31909 conditional form of branch and link when obtaining pc.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31911
31912 2013-10-04 Alan Modra <amodra@gmail.com>
31913
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31915 HIWORD/LOWORD.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31918
31919 2013-10-04 Alan Modra <amodra@gmail.com>
31920
31921 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31922 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31923 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31924 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31925 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31926 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31927 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31928 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31929 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31930 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31931
31932 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31933 Alistair Popple <alistair@ozlabs.au.ibm.com>
31934 Alan Modra <amodra@gmail.com>
31935
31936 [BZ #15723]
31937 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31938 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31939 _dl_hwcap access for little-endian.
31940 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31941 destroy vmx regs when saving unaligned.
31942 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31943 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31944 destroy vmx regs when saving unaligned.
31945
31946 2013-10-04 Alan Modra <amodra@gmail.com>
31947
31948 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31949 Don't use a union to pack hi/low value.
31950
31951 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31952
31953 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31954 for little-endian.
31955 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31957 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31958 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31959 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31960
31961 2013-10-04 Alan Modra <amodra@gmail.com>
31962
31963 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31964 constants to usual value for .cst8 section, and remove redundant
31965 high address load.
31966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31967 constant for 0x1p52. Load little-endian words of double from
31968 correct stack offsets.
31969
31970 2013-10-04 Alan Modra <amodra@gmail.com>
31971
31972 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31973 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31974 words of double from correct stack offsets.
31975 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31976 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31977 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31978 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31979 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31980 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31981 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31982 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31983 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31985 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31986 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31987 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31988 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31989 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31990 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31991 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31992
31993 2013-10-04 Alan Modra <amodra@gmail.com>
31994
31995 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31996 64-bit int/double union.
31997 (_FPU_SETCW): Likewise.
31998 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31999 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32000
32001 2013-10-04 Alan Modra <amodra@gmail.com>
32002
32003 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32004 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32005
32006 2013-10-04 Alan Modra <amodra@gmail.com>
32007
32008 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32009 use vector int constants.
32010 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32011
32012 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32013
32014 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32015 array with long long.
32016 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32017 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32018 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32019 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32020 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32021 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32022 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32023 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32024 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32025 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32026 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32027 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32028 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32029
32030 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32031
32032 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32033 (__signbit): Likewise. Correct for little-endian.
32034 (__signbitl): Call __signbit.
32035 (lrint): Correct for little-endian.
32036 (lrintf): Call lrint.
32037
32038 2013-10-04 Alan Modra <amodra@gmail.com>
32039
32040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32041 union 32-bit int array member with 64-bit int array.
32042 (t515, tm256): Double rather than long double.
32043 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32044
32045 2013-10-04 Alan Modra <amodra@gmail.com>
32046
32047 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32048 Delete.
32049 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32050 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32051 version of math_ldbl.h.
32052
32053 2013-10-04 Alan Modra <amodra@gmail.com>
32054
32055 [BZ #15734], [BZ #15735]
32056 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32057 all uses of ieee875 long double macros and unions. Simplify test
32058 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32059 ldbl_extract_mantissa value for ix,iy exponents. Properly
32060 normalize after ldbl_extract_mantissa, and don't add hidden bit
32061 already handled. Don't treat low word of ieee854 mantissa like
32062 low word of IBM long double and mask off bit when testing for
32063 zero.
32064 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32065 all uses of ieee875 long double macros and unions. Simplify tests
32066 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32067 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32068 two1022, instead use their values. Recognise that tests for large
32069 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32070 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32071 Rewrite all uses of ieee875 long double macros and unions. Simplify
32072 test for 0.0L and nan. Correct negation.
32073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32074 ieee875 long double macros and unions. Correct output for large
32075 magnitude x. Correct absolute value calculation.
32076 (__erfcl): Likewise.
32077 * math/libm-test.inc: Add tests for errors discovered in IBM long
32078 double versions of fmodl, remainderl, erfl and erfcl.
32079
32080 2013-10-04 Alan Modra <amodra@gmail.com>
32081
32082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32083 all uses of ieee854 long double macros and unions. Simplify tests
32084 for long doubles that are fully specified by the high double.
32085 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32086 Likewise.
32087 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32088 Remove dead code too.
32089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32090 (__ieee754_ynl): Likewise.
32091 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32092 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32094 Remove dead code too.
32095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32096 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32097 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32098 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32099 Simplify.
32100 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32101 Simplify.
32102 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32104 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32105 Comment on variable precision.
32106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32108 Likewise.
32109 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32110 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32111 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32113 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32114
32115 2013-10-04 Alan Modra <amodra@gmail.com>
32116
32117 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32119 all uses of ieee854 long double macros and unions.
32120 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32124 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32126 Likewise.
32127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32128 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32129 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32130 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32131 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32133 Simplify sign and nan test too.
32134 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32135 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32136 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32137 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32138 Likewise.
32139 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32140 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32141 Likewise.
32142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32143 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32144 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32145 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32146 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32148
32149 2013-10-04 Alan Modra <amodra@gmail.com>
32150
32151 * stdio-common/printf_size.c (__printf_size): Don't use
32152 union ieee854_long_double in fpnum union.
32153 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32154 signbit macro to retrieve sign from long double.
32155 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32156 retrieve sign from long double.
32157 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32158 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32159 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32160 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32161 * math/test-misc.c (main): Don't use union ieee854_long_double.
32162
32163 2013-10-04 Alan Modra <amodra@gmail.com>
32164
32165 [BZ #15680]
32166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32167 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32168 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32169 calculation. Remove unnecessary test for denormal exponent.
32170 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32171 Correct handling of denormals. Avoid undefined shift behaviour.
32172 Correct normalisation of low mantissa when low double is denormal.
32173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32174 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32175 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32176 Correct normalisation of low mantissa. Test for overflow of high
32177 mantissa and normalise.
32178 (ldbl_nearbyint): Use more readable constant for two52.
32179 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32180 (__mpn_construct_long_double): Fix test for overflow of high
32181 mantissa and correct normalisation. Avoid undefined shift.
32182
32183 2013-10-04 Alan Modra <amodra@gmail.com>
32184
32185 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32186 (union ibm_extended_long_double): Define as an array of ieee754_double.
32187 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32188 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32189 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32190 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32192 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32193 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32194 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32196 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32197 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32198
32199 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32200
32201 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32202 page size instead of calling getpagesize.
32203
32204 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32205 (LOCFILE_ALIGN_MASK): Likewise.
32206 (LOCFILE_ALIGN_UP): Likewise.
32207 (LOCFILE_ALIGNED_P): Likewise.
32208 * locale/programs/ld-collate.c (collate_output): Use the new
32209 macros instead of __alignof__ (int32_t).
32210 * locale/weight.h (findidx): Likewise.
32211
32212 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32213
32214 [BZ #431]
32215 * manual/string.texi: Fix strncat and wcsncat.
32216
32217 2013-10-03 Brooks Moses <bmoses@google.com>
32218
32219 [BZ #15915]
32220 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32221 * Makerules: ...here, and adjust associated comments.
32222
32223 2013-10-02 Will Newton <will.newton@linaro.org>
32224
32225 * malloc/Makefile: Add tst-pvalloc.
32226 * malloc/tst-pvalloc.c: New file.
32227
32228 2013-10-02 Will Newton <will.newton@linaro.org>
32229
32230 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32231 improve test coverage.
32232
32233 2013-10-02 Will Newton <will.newton@linaro.org>
32234
32235 * malloc/Makefile: Add tst-posix_memalign.
32236 * malloc/tst-posix_memalign.c: New file.
32237
32238 2013-10-01 Eric Blake <eblake@redhat.com>
32239
32240 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32241 Use __THROWNL rather than __THROW on static functions.
32242
32243 2013-09-30 Petr Machata <pmachata@redhat.com>
32244
32245 * elf/elf.h (R_AARCH64_ABS16): New macro.
32246 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32247 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32248 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32249 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32250 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32251 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32252 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32253 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32254 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32255 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32256 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32257 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32258 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32259 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32260 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32261 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32262 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32263 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32264 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32265 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32266 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32267 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32268 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32269 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32270 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32271 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32272 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32273 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32274 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32275 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32276 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32277 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32278 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32279 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32280 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32281 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32282 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32283 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32284 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32285 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32286 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32287 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32288 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32289 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32290 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32291 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32292 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32293 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32294 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32295 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32296 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32297 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32298 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32299 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32300 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32301 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32302 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32303 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32304 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32305 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32306 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32307 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32308 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32309 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32310 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32311 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32312 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32313 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32314 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32315 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32316 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32317 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32318 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32319 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32320 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32321 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32322 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32323 (R_AARCH64_TLSDESC_LDR): Likewise.
32324 (R_AARCH64_TLSDESC_ADD): Likewise.
32325 (R_AARCH64_TLSDESC_CALL): Likewise.
32326
32327 2013-09-30 Andreas Schwab <schwab@suse.de>
32328
32329 [BZ #15048]
32330 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32331 the nss database lookup.
32332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32334
32335 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32336
32337 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32338
32339 2013-09-28 P. J. McDermott <pj@pehjota.net>
32340
32341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32342 ${Bash-specific parameter/pattern/string} parameter expansion.
32343 * sysdeps/unix/make-syscalls.sh: Likewise.
32344
32345 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32346
32347 * sysdeps/sh/stackguard-macros.h: New file.
32348
32349 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32350
32351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32353 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32354 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32355 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32356 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32357
32358 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32359
32360 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32361 Fix thread ID register.
32362
32363 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32364
32365 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32366 [POSIX || UNIX98]: Require rather than permitting all symbols from
32367 <time.h>.
32368 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32369 element of struct sched_param.
32370 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32371 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32372 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32373 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32374 constant.
32375
32376 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32377
32378 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32379 argument calculation.
32380
32381 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32382
32383 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32384 Expect macro.
32385 [POSIX] (pthread_attr_t): Do not require type.
32386 [POSIX] (pthread_cond_t): Likewise.
32387 [POSIX] (pthread_condattr_t): Likewise.
32388 [POSIX] (pthread_key_t): Likewise.
32389 [POSIX] (pthread_mutex_t): Likewise.
32390 [POSIX] (pthread_mutexattr_t): Likewise.
32391 [POSIX] (pthread_once_t): Likewise.
32392 [POSIX] (pthread_t): Likewise.
32393 [POSIX-based standards] (pthread_atfork): Expect function.
32394
32395 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32396 Richard Sandiford <richard@codesourcery.com>
32397
32398 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32399 (swap_endianness_p): New extern variable.
32400 (set_big_endian): New inline function.
32401 (maybe_swap_uint32): Likewise.
32402 (maybe_swap_uint32_array): Likewise.
32403 (maybe_swap_uint32_obstack): Likewise.
32404 * locale/programs/locfile.c: Include <stdbool.h>.
32405 (swap_endianness_p): New variable.
32406 (add_locale_uint32): Call maybe_swap_uint32.
32407 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32408 (write_locale_data): Call maybe_swap_uint32_array.
32409 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32410 maybe_swap_uint32.
32411 (obstack_int32_grow_fast): Likewise.
32412 (output_weightwc): Call maybe_swap_uint32_obstack.
32413 (collate_output): Likewise.
32414 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32415 (OPT_LITTLE_ENDIAN): Likewise.
32416 (options): Add --little-endian and --big-endian options.
32417 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32418 * locale/programs/locarchive.c: Include "locfile.h".
32419 (GET): New macro.
32420 (SET): Likewise.
32421 (INC): Likewise.
32422 (create_archive): Use the new macros to access fields of
32423 structures directly mapped from or written to locale archives.
32424 (oldlocrecentcmp): Likewise.
32425 (enlarge_archive): Likewise.
32426 (insert_name): Likewise.
32427 (add_alias): Likewise.
32428 (add_locale): Likewise.
32429 (delete_locales_from_archive): Likewise.
32430 (show_archive_content): Likewise.
32431 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32432 locale data.
32433
32434 2013-09-24 Roland McGrath <roland@hack.frob.com>
32435
32436 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32437 http://www.gnu.org/doc/freemanuals.texi.
32438 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32439
32440 2013-09-24 Will Newton <will.newton@linaro.org>
32441
32442 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32443 macro.
32444
32445 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32446
32447 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32448 unsigned char.
32449
32450 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32451
32452 * manual/threads.texi (POSIX Threads): Fix a typo.
32453
32454 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32455
32456 [BZ #14547]
32457 * string/tst-strcoll-overflow.c: New test case.
32458 * string/Makefile (xtests): Add tst-strcoll-overflow.
32459 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32460 cache if string sizes may cause integer overflow.
32461
32462 [BZ #14547]
32463 * string/strcoll_l.c (coll_seq): New members rule, idx,
32464 save_idx and back_us.
32465 (get_next_seq_nocache): New function.
32466 (do_compare_nocache): New function.
32467 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32468 when malloc fails.
32469
32470 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32471
32472 [BZ #15754]
32473 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32474 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32475 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32476
32477 [BZ #15754]
32478 * elf/Makefile (tests): Add tst-ptrguard1.
32479 (tests-static): Add tst-ptrguard1-static.
32480 (tst-ptrguard1-ARGS): Define.
32481 (tst-ptrguard1-static-ARGS): Define.
32482 * elf/tst-ptrguard1.c: New file.
32483 * elf/tst-ptrguard1-static.c: New file.
32484 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32485 * sysdeps/i386/stackguard-macros.h: Likewise.
32486 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32487 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32488 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32489 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32490 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32491 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32492
32493 2013-09-23 Hector Marco <hecmargi@upv.es>
32494 Ismael Ripoll <iripoll@disca.upv.es>
32495 Carlos O'Donell <carlos@redhat.com>
32496
32497 [BZ #15754]
32498 * sysdeps/generic/stackguard-macros.h: Define
32499 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32500 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32501 Define __pointer_chk_guard_local.
32502 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32503 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32504
32505 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32506
32507 [BZ #15859]
32508 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32509
32510 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32511
32512 * include/string.h (__ffs): Declare as hidden.
32513 * string/ffs.c (__ffs): Define as hidden.
32514 * sysdeps/i386/ffs.c (__ffs): Likewise.
32515 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32516 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32517 * sysdeps/s390/ffs.c (__ffs): Likewise.
32518 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32519
32520 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32521
32522 * NEWS: Mention malloc probes.
32523
32524 * malloc/arena.c (new_heap): New memory_heap_new probe.
32525 (grow_heap): New memory_heap_more probe.
32526 (shrink_heap): New memory_heap_less probe.
32527 (heap_trim): New memory_heap_free probe.
32528 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32529 (systrim): New memory_sbrk_less probe.
32530 * manual/probes.texi: Document them.
32531
32532 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32533 * manual/probes.texi: Document it.
32534
32535 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32536 (__libc_realloc): Add memory_realloc_retry probe.
32537 (__libc_memalign): Add memory_memalign_retry probe.
32538 (__libc_valloc): Add memory_valloc_retry probe.
32539 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32540 (__libc_calloc): Add memory_calloc_retry probe.
32541 * manual/probes.texi: Document them.
32542
32543 * malloc/arena.c (get_free_list): Add probe
32544 memory_arena_reuse_free_list.
32545 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32546 and memory_arena_reuse.
32547 (arena_get2) [!PER_THREAD]: Likewise.
32548 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32549 memory_arena_reuse_realloc.
32550 * manual/probes.texi: Document them.
32551
32552 * malloc/malloc.c (__libc_free): Add
32553 memory_mallopt_free_dyn_thresholds probe.
32554 (__libc_mallopt): Add multiple memory_mallopt probes.
32555 * manual/probes.texi: Document them.
32556
32557 * malloc/malloc.c: Include stap-probe.h.
32558 (__libc_mallopt): Add memory_mallopt probe.
32559 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32560 * manual/probes.texi: New.
32561 * manual/Makefile (chapters): Add probes.
32562 * manual/threads.texi: Set next node.
32563
32564 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32565
32566 [BZ #15963, #13985]
32567 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32568 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32569 Add `Chinese' to `nan' entry name.
32570
32571 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32572
32573 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32574 (POLYNOMIAL): Likewise.
32575 (TAYLOR_SINCOS): Likewise.
32576 (TAYLOR_SLOW): Likewise.
32577 (__sin): Use TAYLOR_SINCOS.
32578 (__cos): Likewise.
32579 (slow): Use TAYLOR_SLOW.
32580 (sloww): Likewise.
32581 (bsloww): Likewise.
32582 (csloww): Likewise.
32583
32584 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32585
32586 * stdlib/strtod_l.c: Fix buffer overrun.
32587
32588 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32589
32590 * benchtests/Makefile (bench): Add sincos.
32591 * benchtests/bench-sincos.c: New file.
32592
32593 * math/libm-test.inc (cos_test_data): New test inputs.
32594 (sin_test_data): Likewise.
32595
32596 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32597 macro.
32598 (__sin): Use it.
32599 (__cos): Likewise.
32600 (slow1): Likewise.
32601 (slow2): Likewise.
32602 (sloww1): Likewise.
32603 (sloww2): Likewise.
32604 (bsloww1): Likewise.
32605 (bsloww2): Likewise.
32606 (cslow2): Likewise.
32607 (csloww1): Likewise.
32608 (csloww2): Likewise.
32609
32610 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32611 function.
32612 (__sin): Use it.
32613 (__cos): Likewise.
32614
32615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32616 gotos.
32617 (__cos): Likewise.
32618
32619 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32620
32621 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32622 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32623 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32624 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32625 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32626 * elf/cache.c (print_entry): Handle the new cache flags.
32627
32628 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32629 Aldy Hernandez <aldyh@redhat.com>
32630
32631 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32632 Change condition to [_SOFT_FLOAT].
32633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32645 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32648 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32649 declaration.
32650
32651 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32652
32653 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32654 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32655 (__longjmp): Use LOAD_GP to load saved GPRs.
32656 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32657 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32658 (__sigsetjmp): Use SAVE_GP to save GPRs.
32659
32660 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32661 Do not append -msoft-float.
32662 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32663
32664 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32665
32666 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32667
32668 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32669
32670 [BZ #15966]
32671 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32672 (_FPU_GETCW): Use initial "__" on variable and field names but not
32673 on macro parameter name.
32674 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32675 parentheses around reference to macro parameter.
32676
32677 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32678
32679 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32680 prototype.
32681 (ctype_startup): Use uint32_t in cast and sizeof for
32682 ctype->charnames.
32683
32684 2013-09-11 Jia Liu <proljc@gmail.com>
32685
32686 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32687 __daddr_t_defined.
32688 [__FreeBSD__]: Likewise.
32689
32690 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32691
32692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32693 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32694 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32695 (strchr): Remove __strchr_sse42 ifunc selection.
32696 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32697 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32698
32699 2013-09-11 Will Newton <will.newton@linaro.org>
32700
32701 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32702 parameter to RES. Remove hardcoded 1000 value.
32703 * benchtests/bench-skeleton.c (main): Pass RES parameter
32704 to TIMING_INIT and multiply result by 1000.
32705
32706 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32707
32708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32709
32710 2013-09-11 Andreas Schwab <schwab@suse.de>
32711
32712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32713 if not defined.
32714 (O_TMPFILE) [__USE_GNU]: Define.
32715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32716 Define.
32717
32718 2013-09-11 Will Newton <will.newton@linaro.org>
32719
32720 [BZ #15857]
32721 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32722 does not overflow.
32723
32724 2013-09-11 Will Newton <will.newton@linaro.org>
32725
32726 [BZ #15856]
32727 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32728 does not overflow.
32729
32730 2013-09-11 Will Newton <will.newton@linaro.org>
32731
32732 [BZ #15855]
32733 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32734 does not overflow.
32735
32736 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32737
32738 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32740 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32741 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32742 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32743
32744 2013-09-10 Allan McRae <allan@archlinux.org>
32745
32746 [BZ #15748]
32747 * manual/arith.texi (Parsing of Floats): Clarify
32748 cross-reference.
32749
32750 [BZ #15849]
32751 * manual/install.texi (Running make install): Mention
32752 --enable-pt-chown.
32753 * INSTALL: Regenerated.
32754
32755 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32756
32757 * csu/init-first.c (_init): Remove the !SHARED condition around
32758 FPU control word initialization.
32759 * elf/dl-support.c (_dl_fpu_control): New variable.
32760 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32761 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32762 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32763 * math/test-fpucw-static.c: New file.
32764 * math/test-fpucw-ieee.c: New file.
32765 * math/test-fpucw-ieee-static.c: New file.
32766 * math/Makefile (tests): Add `test-fpucw-ieee' and
32767 `$(tests-static)'.
32768 (tests-static): New variable.
32769 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32770 dependency to...
32771 [($(build-shared),yes)]
32772 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32773 ... this.
32774 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32775 New dependency.
32776
32777 2013-09-09 Allan McRae <allan@archlinux.org>
32778
32779 [BZ #15939]
32780 * manual/string.texi (Collation Functions): Fix typo in
32781 strcoll example.
32782 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32783
32784 [BZ #15893]
32785 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32786
32787 [BZ #15892]
32788 * libio/memstream.c (open_memstream): Fix memory leak.
32789 * libio/wmemstream.c (open_wmemstream): Likewise.
32790
32791 [BZ #15895]
32792 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32793
32794 2013-09-09 Will Newton <will.newton@linaro.org>
32795
32796 * malloc/Makefile: Add tst-realloc to tests.
32797 * malloc/tst-realloc.c: New file.
32798
32799 2013-09-09 Allan McRae <allan@archlinux.org>
32800
32801 [BZ #15844]
32802 * COPYING: Update from GNU website to fix FSF address.
32803 * COPYING.LIB: Likewise.
32804
32805 2013-09-06 David S. Miller <davem@davemloft.net>
32806
32807 * po/zh_TW.po: Update Chinese (traditional) translation from
32808 translation project.
32809
32810 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32811 Joseph Myers <joseph@codesourcery.com>
32812
32813 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32814 "localeinfo.h".
32815 (obstack_chunk_alloc): New macro.
32816 (obstack_chunk_free): Likewise.
32817 (record_offset): New function.
32818 (init_locale_data): Likewise.
32819 (align_locale_data): Likewise.
32820 (add_locale_empty): Likewise.
32821 (add_locale_raw_data): Likewise.
32822 (add_locale_raw_obstack): Likewise.
32823 (add_locale_string): Likewise.
32824 (add_locale_wstring): Likewise.
32825 (add_locale_uint32): Likewise.
32826 (add_locale_uint32_array): Likewise.
32827 (add_locale_char): Likewise.
32828 (start_locale_structure): Likewise.
32829 (end_locale_structure): Likewise.
32830 (start_locale_prelude): Likewise.
32831 (end_locale_prelude): Likewise.
32832 (write_locale_data): Take locale_file structure rather than an
32833 iovec.
32834 * locale/programs/locfile.h: Include "obstack.h".
32835 (struct locale_file): Change to store locale file contents instead
32836 of header.
32837 (init_locale_data): New prototype.
32838 (align_locale_data): Likewise.
32839 (add_locale_empty): Likewise.
32840 (add_locale_raw_data): Likewise.
32841 (add_locale_raw_obstack): Likewise.
32842 (add_locale_string): Likewise.
32843 (add_locale_wstring): Likewise.
32844 (add_locale_uint32): Likewise.
32845 (add_locale_uint32_array): Likewise.
32846 (add_locale_char): Likewise.
32847 (start_locale_structure): Likewise.
32848 (end_locale_structure): Likewise.
32849 (start_locale_prelude): Likewise.
32850 (end_locale_prelude): Likewise.
32851 (write_locale_data): Update prototype.
32852 * locale/programs/3level.h (struct TABLE): Remove result field.
32853 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32854 Use new locale_file interface.
32855 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32856 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32857 * locale/programs/ld-address.c (address_output): Use new
32858 locale_file interface.
32859 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32860 NO_ADD_LOCALE.
32861 (collate_finish): Don't call collseq_table_finalize.
32862 (collate_output): Use new locale_file interface.
32863 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32864 in file.
32865 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32866 (TABLE): Move defines earlier in file.
32867 (ELEMENT): Likewise.
32868 (DEFAULT): Likewise.
32869 (wctrans_table_add): Move macro and inline function earlier in
32870 file.
32871 (struct wctype_table): Move type earlier in file.
32872 (add_locale_wctype_table): New static prototype.
32873 (struct locale_ctype_t): Use logical types instead of struct iovec
32874 pointers for members.
32875 (ctype_output): Use new locale_file interface.
32876 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32877 new locale_file interface.
32878 (allocate_arrays): Update for use of new locale_file interface.
32879 * locale/programs/ld-identification.c (identification_output): Use
32880 new locale_file interface.
32881 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32882 * locale/programs/ld-messages.c (messages_output): Likewise.
32883 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32884 * locale/programs/ld-name.c (name_output): Likewise.
32885 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32886 * locale/programs/ld-paper.c (paper_output): Likewise.
32887 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32888 * locale/programs/ld-time.c (time_output): Likewise.
32889
32890 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32891
32892 * benchtests/Makefile: Add memrchr benchmark.
32893 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32894 benchmark as memrchr.
32895 * benchtests/bench-memrchr-ifunc.c: New file.
32896 * benchtests/bench-memrchr.c: New file.
32897
32898 2013-09-06 Will Newton <will.newton@linaro.org>
32899
32900 * benchtests/Makefile (string-bench): Add memcpy.
32901
32902 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32903 Cong Wang <amwang@redhat.com>
32904
32905 [BZ #15850]
32906 * sysdeps/unix/sysv/linux/bits/in.h
32907 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32908 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32909 before __USE_KERNEL_IPV6_DEFS uses.
32910 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32911 IPPROTO_BEETPH.
32912 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32913 sockaddr_in6, or ipv6_mreq.
32914
32915 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32916
32917 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32918 memory access for final bytes in some large inputs.
32919 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32920
32921 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32922
32923 * string/test-memrchr.c: New file.
32924 * string/test-memrchr-ifunc.c: New file.
32925 * string/Makefile: Add new memrchr testcase.
32926
32927 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32928
32929 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32930 fanotify_init returns EPERM.
32931
32932 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32933
32934 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32935 errors.
32936 (top level): Treat second token from macro or constant entries for
32937 allowed headers as allowed.
32938 * include/complex.h: Condition internal declarations on
32939 [!_ISOMAC].
32940 * include/fenv.h: Condition include of <stdbool.h> and internal
32941 declarations on [!_ISOMAC].
32942
32943 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32944
32945 [BZ #15923]
32946 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32947
32948 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32949
32950 * configure.in (--enable-versioning): Remove configure option.
32951 (libc_cv_asm_symver_directive): Remove configure test.
32952 (libc_cv_ld_version_script_option): Likewise.
32953 (VERSIONING): Remove variable and AC_SUBST.
32954 (DO_VERSIONING): Remove AC_DEFINE.
32955 * configure: Regenerated.
32956 * config.h.in (DO_VERSIONING): Remove macro.
32957 * Makerules [$(versioning) = yes]: Change conditionals to
32958 [$(build-shared) = yes].
32959 * config.make.in (versioning): Remove variable.
32960 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32961 [$(build-shared) = yes].
32962 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32963 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32964 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32965 [$(build-shared) = yes].
32966 * extra-lib.mk [$(versioning) = yes]: Likewise.
32967 * hurd/Makefile [$(versioning) = yes]: Likewise.
32968 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32969 [SHARED].
32970 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32971 [SHARED].
32972 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32973 [SHARED && !NO_HIDDEN].
32974 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32975 [SHARED].
32976 [SHARED && DO_VERSIONING]: Likewise..
32977 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32978 [$(build-shared) = yes].
32979 * manual/install.texi (--disable-versioning): Remove
32980 documentation.
32981 * INSTALL: Regenerated.
32982 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32983 to [SHARED].
32984 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32985 [$(build-shared) = yes].
32986 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32987 * sysdeps/i386/i686/multiarch/strstr-c.c
32988 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32989 [SHARED && !NO_HIDDEN].
32990 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32991 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32992 * sysdeps/powerpc/powerpc32/dl-machine.c
32993 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32994 * sysdeps/powerpc/powerpc32/sysdep.h
32995 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32996 to [SHARED && PIC && !NO_HIDDEN].
32997 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32998 conditional to [SHARED].
32999
33000 2013-09-04 Will Newton <will.newton@linaro.org>
33001
33002 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33003 * benchtests/bench-string.h: Include bench-timing.h instead
33004 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33005 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33006 call to HP_TIMING_DIFF_INIT.
33007 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33008 instead of hp-timing.h macros.
33009 * benchtests/bench-memchr.c: Likewise.
33010 * benchtests/bench-memcmp.c: Likewise.
33011 * benchtests/bench-memcpy.c: Likewise.
33012 * benchtests/bench-memmem.c: Likewise.
33013 * benchtests/bench-memmove.c: Likewise.
33014 * benchtests/bench-memset.c: Likewise.
33015 * benchtests/bench-rawmemchr.c: Likewise.
33016 * benchtests/bench-strcasecmp.c: Likewise.
33017 * benchtests/bench-strcasestr.c: Likewise.
33018 * benchtests/bench-strcat.c: Likewise.
33019 * benchtests/bench-strchr.c: Likewise.
33020 * benchtests/bench-strcmp.c: Likewise.
33021 * benchtests/bench-strcpy.c: Likewise.
33022 * benchtests/bench-strcpy_chk.c: Likewise.
33023 * benchtests/bench-strlen.c: Likewise.
33024 * benchtests/bench-strncasecmp.c: Likewise.
33025 * benchtests/bench-strncat.c: Likewise.
33026 * benchtests/bench-strncmp.c: Likewise.
33027 * benchtests/bench-strncpy.c: Likewise.
33028 * benchtests/bench-strnlen.c: Likewise.
33029 * benchtests/bench-strpbrk.c: Likewise.
33030 * benchtests/bench-strrchr.c: Likewise.
33031 * benchtests/bench-strspn.c: Likewise.
33032 * benchtests/bench-strstr.c: Likewise.
33033
33034 2013-09-04 Will Newton <will.newton@linaro.org>
33035
33036 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33037
33038 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33039
33040 [BZ #15427]
33041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33042 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33043 * math/libm-test.inc (lgamma_test_data): Add more tests.
33044 * sysdeps/i386/fpu/libm-test-ulps: Update.
33045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33046
33047 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33048
33049 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33051 Add ifunc.
33052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33053 Add strcmp-sse2-unaligned
33054 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33055
33056 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33057
33058 * Versions.def (libc): Add GLIBC_2.19.
33059
33060 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33061
33062 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33063 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33064
33065 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33066
33067 [BZ #14155]
33068 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33069 intermediate calculations in recurrence.
33070 (__ieee754_ynf): Likewise.
33071 * math/libm-test.inc (jn_test_data): Do not allow spurious
33072 underflow exception. Add more tests.
33073 (yn_test_data): Add more tests.
33074 * sysdeps/i386/fpu/libm-test-ulps: Update.
33075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33076
33077 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33078
33079 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33080
33081 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33082
33083 * csu/init-first.c: Fix then/than typos.
33084 * locale/programs/ld-collate.c: Likewise.
33085 * locale/programs/linereader.h: Likewise.
33086 * manual/charset.texi: Likewise.
33087 * manual/filesys.texi: Likewise.
33088 * manual/stdio.texi: Likewise.
33089 * manual/string.texi: Likewise.
33090 * stdlib/fmtmsg.c: Likewise.
33091 * sysdeps/i386/stpncpy.S: Likewise.
33092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33093 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33094 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33095 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33096
33097 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33098
33099 * elf/dl-open.c: Fix typos.
33100 * iconvdata/gbbig5.c: Likewise.
33101 * iconvdata/iso-2022-jp.c: Likewise.
33102 * iconv/gconv_int.h: Likewise.
33103 * iconv/loop.c: Likewise.
33104 * nis/rpcsvc/nis.h: Likewise.
33105 * resolv/ns_name.c: Likewise.
33106 * stdio-common/vfscanf.c: Likewise.
33107 * streams/stropts.h: Likewise.
33108 * sunrpc/rpc_thread.c: Likewise.
33109 * sysdeps/i386/strpbrk.S: Likewise.
33110 * sysdeps/ieee754/k_standard.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33113 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33114 * sysdeps/mach/hurd/profil.c: Likewise.
33115 * sysdeps/s390/dl-procinfo.h: Likewise.
33116 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33117 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33118 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33119 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33120 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33121
33122 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33123
33124 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33126
33127 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33128
33129 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33130 aix specific files.
33131 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33132 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33133 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33134 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33135 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33136 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33137 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33138 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33139
33140 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33141 Roland McGrath <roland@hack.frob.com>
33142
33143 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33144 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33145
33146 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33147
33148 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33149 __executable_start symbol instead of _start.
33150
33151 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33152
33153 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33154 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33155 Move macros to...
33156 * sysdeps/gnu/ldsodefs.h: ... this new file.
33157
33158 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33159 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33160 instead of ELFOSABI_LINUX.
33161
33162 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33163 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33164 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33165 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33166 Likewise.
33167 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33168 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33170 Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33172 (ibm_extended_long_double): Add ieee_nan member.
33173 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33174 (do_test): New function.
33175
33176 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33177 TEST_TRUNC.
33178 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33179 functions, renamed from truncdfsf_test, trunctfsf_test,
33180 trunctfdf_test.
33181 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33182 functions.
33183 (do_test): Run all these.
33184
33185 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33186
33187 * argp/argp-help.c: Fix typos.
33188 * argp/argp-parse.c: Likewise.
33189 * debug/backtracesyms.c: Likewise.
33190 * elf/elf.h: Likewise.
33191 * malloc/malloc.c: Likewise.
33192 * nis/nis_print.c: Likewise.
33193 * resolv/res_comp.c: Likewise.
33194 * stdlib/stdlib.h: Likewise.
33195 * sunrpc/clnt_tcp.c: Likewise.
33196 * sunrpc/clnt_udp.c: Likewise.
33197 * sunrpc/clnt_unix.c: Likewise.
33198 * sysdeps/unix/bsd/ptsname.c: Likewise.
33199 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33200 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33202 Likewise.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33204 Likewise.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33206 Likewise.
33207 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33208
33209 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33210
33211 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33213
33214 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33215
33216 [BZ #15897]
33217 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33218 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33219 ($(objpfx)bug-dl-leaf): New rule.
33220 ($(objpfx)bug-dl-leaf.so): Likewise.
33221 ($(objpfx)bug-dl-leaf.out): Likewise.
33222 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33223 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33224 * dlfcn/bug-dl-leaf.c: New test.
33225 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33226 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33227 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33228 (dlclose): Likewise.
33229 (dlmopen): Likewise.
33230
33231 2013-08-27 Roland McGrath <roland@hack.frob.com>
33232
33233 * include/netdb.h [!_ISOMAC]:
33234 Don't include <tls.h>.
33235 (h_errno, __libc_h_errno): Move declaration and macros out of
33236 [_LIBC_REENTRANT].
33237
33238 * include/resolv.h [_RESOLV_H_]:
33239 Don't include <tls.h>.
33240 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33241 * resolv/res_libc.c: Don't include <tls.h>.
33242 (_res): Use __attribute__ ((nocommon)) in place of
33243 __attribute__ ((section (".bss"))).
33244
33245 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33246 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33247
33248 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33249
33250 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33251 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33252
33253 * resolv/res_mkquery.c: Include <sys/time.h>.
33254
33255 * inet/ifreq.c: Moved to ...
33256 * sysdeps/unix/ifreq.c: ... here.
33257 * inet/ifreq.c: New file, true stub version.
33258
33259 * socket/sa_len.c: New file.
33260 * socket/Makefile (aux): Add it.
33261 * sysdeps/unix/sysv/linux/Makefile
33262 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33263 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33264 and #include <socket/sa_len.c>.
33265 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33266 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33267
33268 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33269 * bits/socket.h: ... here.
33270
33271 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33272 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33273 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33274
33275 2013-08-27 Andreas Schwab <schwab@suse.de>
33276
33277 [BZ #15736]
33278 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33279 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33280 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33281 * string/test-strcasecmp.c (test_main): Run tests in several
33282 locales.
33283 * string/test-strncasecmp.c (test_main): Likewise.
33284
33285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33286 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33287 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33289 (__strncasecmp_ssse3) [PIC]: Likewise.
33290
33291 2013-08-26 Roland McGrath <roland@hack.frob.com>
33292
33293 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33294
33295 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33296 instead of explicitly declaring xdecrypt.
33297 * nis/nss_nis/nis-publickey.c: Likewise.
33298
33299 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33300
33301 [BZ #15890]
33302 * nscd/aicache.c: Include res_hconf.h.
33303 (addhstaiX): Initialize res_hconf.
33304
33305 2013-08-26 Andreas Schwab <schwab@suse.de>
33306
33307 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33308 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33309
33310 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33311
33312 * nscd/aicache.c (addhstaiX): Fix indentation.
33313
33314 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33315
33316 * configure.ac: Quote $build_pt_chown test.
33317 * configure: Regenerated.
33318
33319 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33320
33321 [BZ #15532]
33322 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33323 * math/s_cexpf.c (__cexpf): Likewise.
33324 * math/s_cexpl.c (__cexpl): Likewise.
33325 * math/libm-test.inc (cexp_test_data): Correct expected return
33326 value for NaN + i0. Add another test.
33327
33328 2013-08-22 David S. Miller <davem@davemloft.net>
33329
33330 * po/ca.po: Update Catalan translation from translation project.
33331 * po/uk.po: Add Ukrainian translations from translation project.
33332
33333 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33334
33335 [BZ #15797]
33336 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33337 is infinite, not alongside NaN test.
33338 * math/s_fdimf.c (__fdimf): Likewise.
33339 * math/s_fdiml.c (__fdiml): Likewise.
33340 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33341 errno is unchanged.
33342
33343 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33344
33345 * argp/argp-help.c: Fix typos.
33346 * crypt/speeds.c: Likewise.
33347 * csu/check_fds.c: Likewise.
33348 * elf/dl-load.c: Likewise.
33349 * elf/dl-open.c: Likewise.
33350 * elf/reldep3.c: Likewise.
33351 * elf/reldep.c: Likewise.
33352 * elf/sprof.c: Likewise.
33353 * iconv/iconv_charmap.c: Likewise.
33354 * iconv/skeleton.c: Likewise.
33355 * iconv/strtab.c: Likewise.
33356 * io/lockf64.c: Likewise.
33357 * libio/libioP.h: Likewise.
33358 * resolv/gai_notify.c: Likewise.
33359 * resolv/ns_name.c: Likewise.
33360 * resolv/ns_samedomain.c: Likewise.
33361 * resolv/res_send.c: Likewise.
33362 * stdlib/random.c: Likewise.
33363 * sunrpc/rpc/xdr.h: Likewise.
33364 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33365 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33366 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33367 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33368 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33369 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33372 * sysdeps/mach/hurd/check_fds.c: Likewise.
33373 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33374 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33375 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33377 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33378 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33379 * sysdeps/pthread/aio_notify.c: Likewise.
33380 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33381 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33383 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33384 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33385
33386 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33387
33388 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33389 version if bit_Slow_SSE4_2 is set.
33390 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33391 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33392
33393 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33394
33395 [BZ #15867]
33396 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33397 trampoline stack frame information.
33398 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33399 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33400 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33401 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33402 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33403 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33404 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33405 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33406 sa_flags value.
33407 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33408 interrupting a syscall and set with option SA_SIGINFO.
33409
33410 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33411
33412 [BZ #15531]
33413 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33414 argument is infinite.
33415 * math/s_cprojf.c (__cprojf): Likewise.
33416 * math/s_cprojl.c (__cprojl): Likewise.
33417 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33418 * math/libm-test.inc (cproj_test_data): Add more tests.
33419
33420 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33421
33422 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33423 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33424 size. Use __ffs to determine corresponding shift.
33425
33426 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33427 Roland McGrath <roland@hack.frob.com>
33428
33429 * Makefile (INSTALL): Remove trailing blank lines from output of
33430 makeinfo.
33431
33432 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33433
33434 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33435 Align 32 bit compat elf_greg to 8 bytes.
33436
33437 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33438
33439 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33440
33441 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33442
33443 * string/strcoll_l.c (coll_seq): New structure.
33444 (get_next_seq_cached): New function.
33445 (get_next_seq): New function.
33446 (do_compare): New function.
33447 (STRCOLL): Use GNU style definition. Simplify implementation
33448 by using get_next_seq, get_next_seq_cached and do_compare.
33449
33450 2013-08-16 Florian Weimer <fweimer@redhat.com>
33451
33452 [BZ #14699]
33453 CVE-2013-4237
33454 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33455 member.
33456 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33457 member.
33458 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33459 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33460 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33461 conditional.
33462 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33463 GETDENTS_64BIT_ALIGNED.
33464 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33465 * manual/filesys.texi (Reading/Closing Directory): Document
33466 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33467 strongly.
33468 * manual/conf.texi (Limits for Files): Add portability note to
33469 NAME_MAX, PATH_MAX.
33470 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33471
33472 2013-08-13 Andreas Schwab <schwab@suse.de>
33473
33474 [BZ #15749]
33475 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33476 of fabs.
33477 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33478 LDBL_MAX_EXP >= 16384]: Add tests for it.
33479
33480 2013-08-12 David S. Miller <davem@davemloft.net>
33481
33482 * version.h (RELEASE): Set to "development".
33483 (VERSION): Set to "2.18.90".
33484 * NEWS: Add 2.19 section.
33485
33486 2013-08-03 David S. Miller <davem@davemloft.net>
33487
33488 * po/ko.po: Update Korean translation from translation project.
33489
33490 2013-08-01 David S. Miller <davem@davemloft.net>
33491
33492 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33493 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33494 Bilka.
33495
33496 2013-07-30 David S. Miller <davem@davemloft.net>
33497
33498 * po/fr.po: Update French translation from translation project.
33499
33500 2013-07-28 David S. Miller <davem@davemloft.net>
33501
33502 * po/cs.po: Update Czech translation from translation project.
33503
33504 * po/sv.po: Update Swedish translation from translation project.
33505
33506 2013-07-27 David S. Miller <davem@davemloft.net>
33507
33508 * po/eo.po: Update Esperanto translation from translation project.
33509
33510 * po/vi.po: Update Vietnamese translation from translation project.
33511
33512 * po/de.po: Update German translation from translation project.
33513
33514 2013-07-26 David S. Miller <davem@davemloft.net>
33515
33516 * po/bg.po: Update Bulgarian translation from translation project.
33517
33518 * po/nl.po: Update Dutch translation from translation project.
33519 * po/pl.po: Update Polish translation from translation project.
33520 * po/ru.po: Update Russian translation from translation project.
33521
33522 2013-07-24 David S. Miller <davem@davemloft.net>
33523
33524 * po/libc.pot: Update.
33525
33526 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33527
33528 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33529 variable page size.
33530 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33531 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33532 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33533
33534 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33535
33536 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33537
33538 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33539 Andreas Schwab <schwab@suse.de>
33540 Roland McGrath <roland@hack.frob.com>
33541 Joseph Myers <joseph@codesourcery.com>
33542 Carlos O'Donell <carlos@redhat.com>
33543
33544 [BZ #15755]
33545 * config.h.in: Define HAVE_PT_CHOWN.
33546 * config.make.in (build-pt-chown): New variable.
33547 * configure.in (--enable-pt_chown): New configure option.
33548 * configure: Regenerate.
33549 * login/Makefile: Include Makeconfig. Build pt_chown only if
33550 build-pt-chown is enabled.
33551 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33552 pt_chown to fix pty ownership.
33553 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33554 CLOSE_ALL_FDS.
33555 * manual/install.texi (Configuring and compiling): Mention
33556 --enable-pt_chown. Add @findex for grantpt.
33557 * INSTALL: Regenerate.
33558
33559 2013-07-20 David S. Miller <davem@davemloft.net>
33560
33561 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33562 difference between 32-bit and 64-bit.
33563
33564 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33565
33566 [BZ #15711]
33567 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33568 Avoid system header dependency with -ffreestanding.
33569 ($(objpfx)bits/syscall%d): Likewise.
33570
33571 2013-07-13 David S. Miller <davem@davemloft.net>
33572
33573 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33574 underflows from atanl/atan2l due to bug 15319.
33575 (casinh_test_data): Likewise.
33576
33577 2013-07-07 David S. Miller <davem@davemloft.net>
33578
33579 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33580
33581 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33582
33583 * sysdeps/i386/fpu/libm-test-ulps: Update.
33584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33585
33586 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33587
33588 * configure.in (--enable-lock-elision): Fix message text.
33589 * INSTALL: Regenerate.
33590 * configure: Regenerate.
33591
33592 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33593
33594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33595
33596 2013-07-03 Andreas Jaeger <aj@suse.de>
33597
33598 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33599 define.
33600 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33601 (ptrace_peeksiginfo_args): Add.
33602 (__ptrace_peeksiginfo_flags): Add.
33603 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33605 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33606
33607 2013-07-03 Allan McRae <allan@archlinux.org>
33608
33609 * sysdeps/i386/fpu/libm-test-ulps: Update.
33610
33611 2013-07-02 David S. Miller <davem@davemloft.net>
33612
33613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33614
33615 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33616
33617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33618
33619 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33620
33621 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33623
33624 2013-07-02 Andi Kleen <ak@linux.intel.com>
33625
33626 * config.h.in (ENABLE_LOCK_ELISION): Add.
33627 * configure.in (--enable-lock-elision): Add option.
33628 * manual/install.texi: Document --enable lock elision.
33629 * configure: Regenerate
33630 * INSTALL: Regenerate.
33631
33632 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33633
33634 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33635 SSE4.2 strcasecmp for libc.a.
33636 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33637
33638 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33639
33640 [BZ #13304]
33641 * soft-fp/op-common.h (_FP_FMA): New macro.
33642 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33643 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33644 (_FP_MUL_MEAT_1_imm): ... here.
33645 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33646 (_FP_MUL_MEAT_1_wide): ... here.
33647 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33648 (_FP_MUL_MEAT_1_hard): ... here.
33649 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33650 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33651 (_FP_MUL_MEAT_2_wide): ... here.
33652 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33653 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33654 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33655 (_FP_MUL_MEAT_2_gmp): ... here.
33656 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33657 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33658 (_FP_MUL_MEAT_4_wide): ... here.
33659 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33660 (_FP_MUL_MEAT_4_gmp): ... here.
33661 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33662 (_FP_WFRACBITS_DW_S): Likewise.
33663 (_FP_WFRACXBITS_DW_S): Likewise.
33664 (_FP_HIGHBIT_DW_S): Likewise.
33665 (FP_FMA_S): Likewise.
33666 (_FP_FRAC_HIGH_DW_S): Likewise.
33667 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33668 (_FP_WFRACBITS_DW_D): Likewise.
33669 (_FP_WFRACXBITS_DW_D): Likewise.
33670 (_FP_HIGHBIT_DW_D): Likewise.
33671 (FP_FMA_D): Likewise.
33672 (_FP_FRAC_HIGH_DW_D): Likewise.
33673 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33674 (_FP_WFRACBITS_DW_E): Likewise.
33675 (_FP_WFRACXBITS_DW_E): Likewise.
33676 (_FP_HIGHBIT_DW_E): Likewise.
33677 (FP_FMA_E): Likewise.
33678 (_FP_FRAC_HIGH_DW_E): Likewise.
33679 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33680 (_FP_WFRACBITS_DW_Q): Likewise.
33681 (_FP_WFRACXBITS_DW_Q): Likewise.
33682 (_FP_HIGHBIT_DW_Q): Likewise.
33683 (FP_FMA_Q): Likewise.
33684 (_FP_FRAC_HIGH_DW_Q): Likewise.
33685 * soft-fp/fmasf4.c: New file.
33686 * soft-fp/fmadf4.c: Likewise.
33687 * soft-fp/fmatf4.c: Likewise.
33688
33689 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33690
33691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33692 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33693 Silvermont.
33694 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33695 macro.
33696 (index_Slow_SSE4_2): Likewise.
33697 (index_Prefer_PMINUB_for_stringop): Likewise.
33698 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33699 bit_Slow_SSE4_2 is set.
33700 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33702
33703 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33704
33705 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33706 rtld_global._dl_hwcap2.
33707 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33708 POWER8.
33709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33710 POWER8 feature descriptions defined in _dl_hwcap2.
33711 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33712 string handling for POWER8 feature bits.
33713 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33714 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33715 _dl_powerpc_cap_flags.
33716 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33717 * sysdeps/powerpc/rtld-global-offsets.sym
33718 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33719 _dl_hwcap2 in the rtld_global_ro structure.
33720
33721 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33722
33723 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33724 hardware capabilities in support of AT_HWCAP2.
33725 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33726 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33727 GLRO(dl_hwcap2).
33728 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33729 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33730 explicitly the unknown a_type display mechanism is used.
33731 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33732 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33733 struct member.
33734 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33735 to macro prototype for AT_HWCAP2 support.
33736 * sysdeps/i386/dl-procinfo.h: Likewise.
33737 * sysdeps/s390/dl-procinfo.h: Likewise.
33738 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33739 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33740 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33741 return -1 for unknown a_type display fallback.
33742 * sysdeps/sparc/dl-procinfo.h: Likewise.
33743 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33744 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33745
33746 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33747
33748 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33749 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33750
33751 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33752
33753 [BZ #12492]
33754 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33755 mprotect making __stack_prot writable.
33756
33757 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33758 Joseph Myers <joseph@codesourcery.com>
33759
33760 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33761 as being properly aligned.
33762
33763 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33764
33765 * dlfcn/modstatic5.c: New file.
33766 * dlfcn/tststatic5.c: New file.
33767 * dlfcn/Makefile (tests): Add tststatic5.
33768 (tests-static): Likewise.
33769 (modules-names): Add modstatic5.
33770 (tststatic5-ENV): New variable.
33771 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33772
33773 [BZ #15022]
33774 * elf/dl-support.c (_dl_main_map): New variable.
33775 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33776 (_dl_nns, _dl_load_adds): Set to 1.
33777 (_dl_initial_searchlist): Refer to _dl_main_map.
33778 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33779 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33780 call to _dl_get_origin.
33781 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33782 around call_map.
33783 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33784 * dlfcn/modstatic3.c: New file.
33785 * dlfcn/tststatic3.c: New file.
33786 * dlfcn/tststatic4.c: New file.
33787 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33788 (tests-static): Likewise.
33789 (modules-names): Add modstatic3.
33790 (tststatic3-ENV, tststatic4-ENV): New variables.
33791 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33792 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33793
33794 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33795
33796 * configure.in (CC): Require GCC version 4.4 or later.
33797 * configure: Regenerated.
33798 * manual/install.texi (Tools for Compilation): Update GCC version
33799 requirement.
33800 * INSTALL: Regenerated.
33801
33802 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33803
33804 [BZ #15674]
33805 * string/test-memcmp.c (check2): New.
33806 (main): Call check2.
33807
33808 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33809
33810 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33811
33812 [BZ #15022]
33813 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33814 over to...
33815 (dl_open_worker) [!SHARED]: ... here.
33816
33817 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33818
33819 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33820
33821 2013-06-25 Richard Henderson <rth@redhat.com>
33822
33823 * locale/programs/locarchive.c: Include <libc-internal.h>
33824
33825 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33826
33827 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33828 trailing whitespace removed.
33829
33830 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33831
33832 [BZ #10283]
33833 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33834 * locale/programs/locarchive.c: Include libc-mmap.h.
33835 (prepare_address_space): Take two new outputs (the mmap base and len).
33836 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33837 values.
33838 (create_archive): Declare new mmap base and len values for
33839 prepare_address_space, and store the result in ah.
33840 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33841 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33842 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33843 Declare new mmap base and len values for
33844 prepare_address_space, and store the result in new_ah.
33845 (open_archive): Declare new mmap base and len values for
33846 prepare_address_space, and store the result in ah.
33847 (close_archive): If ah->mmap_base is not NULL, use that and
33848 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33849 * sysdeps/generic/libc-mmap.h: New file.
33850
33851 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33852
33853 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33854 (ALIGN_UP): Likewise.
33855 (PTR_ALIGN_DOWN): Likewise.
33856 (PTR_ALIGN_UP): Likewise.
33857
33858 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33859
33860 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33861 entry mapped to PPC_PLATFORM_POWER8.
33862 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33863 POWER8.
33864 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33865 (_dl_string_platform): Add case for exporting platform position for
33866 POWER8.
33867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33868 search path to sysdeps/powerpc/powerpc32/power8 directory.
33869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33870 search path to sysdeps/powerpc/powerpc64/power8 directory.
33871 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33872 power7 directories.
33873 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33874 power7 directories.
33875
33876 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33877
33878 * INSTALL: Regenerate.
33879
33880 * nscd/connections.c (nscd_init): Fix comment.
33881
33882 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33883
33884 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33885
33886 [BZ #15667]
33887 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33888 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33889
33890 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33891
33892 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33893 DL_DST_REQ_STATIC.
33894 (DL_DST_REQ_STATIC): Remove macro.
33895
33896 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33897
33898 [BZ #7006]
33899 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33900 with a shift of 0 bits.
33901
33902 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33903
33904 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33905 $(tststatic-ENV).
33906
33907 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33908
33909 [BZ #15655]
33910 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33911
33912 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33913
33914 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33915 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33916 accepts -fno-tree-loop-distribute-patterns.
33917 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33918 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33919 recursive call.
33920 * string/memset.c (memset): Likewise.
33921 * string/test-memmove.c (simple_memmove): Disable loop transformation
33922 to library calls.
33923 * string/test-memset.c (simple_memset): Likewise.
33924 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33925 * benchtests/bench-memset.c (simple_memset): Likewise.
33926 * configure: Regenerated.
33927
33928 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33929
33930 * math/test-misc.c (main): Ignore fesetround failure when failures
33931 of subsequent rounding tests would be ignored.
33932
33933 [BZ #15654]
33934 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33935 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33936 * math/fegetenv.c (__fegetenv): Return 0.
33937 * math/fegetexcept.c (fegetexcept): Return 0.
33938 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33939 FE_TONEAREST.
33940 * math/feholdexcpt.c (feholdexcept): Return 0.
33941 * math/fesetenv.c (__fesetenv): Return 0.
33942 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33943 argument FE_TONEAREST.
33944 * math/feupdateenv.c (__feupdateenv): Return 0.
33945 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33946
33947 2013-06-18 Roland McGrath <roland@hack.frob.com>
33948
33949 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33950 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33951 ($(objpfx)rtld-%.os rules): Use them.
33952
33953 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33954
33955 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33956 fields.
33957
33958 2013-06-17 Roland McGrath <roland@hack.frob.com>
33959
33960 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33961 length of target pattern, then descending length of dependency pattern.
33962 * configure.in (AWK): Require gawk 3.1.2 or newer.
33963 * manual/install.texi (Tools for Compilation): Say that we do.
33964 * configure: Regenerated.
33965
33966 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33967 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33968 * scripts/sysd-rules.awk: ... this new script.
33969 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33970 than a glob-style pattern.
33971
33972 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33973
33974 * math/test-misc.c (main): Do not treat incorrectly rounded
33975 conversions as failure unless ROUNDING_TESTS passes.
33976
33977 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33978
33979 [BZ #15631]
33980 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33981 restore exception state around main square root computation, then
33982 check for inexactness explicitly.
33983
33984 * math/libm-test.inc (fma_test_data): Add another test.
33985
33986 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33987
33988 * manual/threads.texi (Non-POSIX Extensions): New document
33989 node. Document pthread_getattr_default_np and
33990 pthread_setattr_default_np.
33991
33992 * Versions.def (libpthread): Add GLIBC_2.18.
33993 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33995 Likewise.
33996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33997 Likewise.
33998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33999 Likewise.
34000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34001 Likewise.
34002 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34003 Likewise.
34004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34005 Likewise.
34006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34007 Likewise.
34008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34009 Likewise.
34010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34011 Likewise.
34012
34013 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34014
34015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34016 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34017
34018 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34019 H.J. Lu <hjl.tools@gmail.com>
34020
34021 [BZ #15627]
34022 * sysdeps/x86_64/rtld-memset.c: Remove file.
34023 * sysdeps/x86_64/rtld-memset.S: New file.
34024
34025 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34026
34027 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34028 (test_in_one_mode): Take arguments for whether the rounding mode
34029 is supported for each floating-point type.
34030 (do_test): Pass new arguments to test_in_one_mode using
34031 ROUNDING_TESTS.
34032
34033 2013-06-13 Roland McGrath <roland@hack.frob.com>
34034
34035 * posix/tst-waitid.c (do_test): Distinguish different instances of
34036 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34037 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34038 before entering the kernel for waitpid.
34039
34040 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34041
34042 * NEWS: Fix note on clock function precision. Text by Roland
34043 McGrath.
34044
34045 2013-06-13 Roland McGrath <roland@hack.frob.com>
34046
34047 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34048 it into place only when and if the sanity check passes.
34049
34050 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34051
34052 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34053 output for whether conversion result is exact. Take argument
34054 indicating whether type is IBM long double.
34055 (round_for_all): Change need_exact field to ibm_ld.
34056 * stdlib/tst-strtod-round.c (struct exactness): New type.
34057 (struct test): Change bool ld_ok field to struct exactness exact.
34058 (TEST): Update all definitions for change to field.
34059 (tests): Regenerate array contents.
34060 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34061 field value. Check for IBM long double here.
34062 (do_test): Update calls to test_in_one_mode.
34063
34064 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34065
34066 [BZ #12515]
34067 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34068 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34069
34070 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34071
34072 [BZ #15605]
34073 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34074 generated by the compiler on loop optimizations.
34075 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34076 general definitions.
34077
34078 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34079
34080 * math/bug-nextafter.c: Include <math-tests.h>.
34081 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34082 the relevant type.
34083 * math/bug-nexttoward.c: Include <math-tests.h>.
34084 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34085 the relevant type.
34086 * math/test-misc.c: Include <math-tests.h>.
34087 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34088 the relevant type.
34089
34090 2013-06-12 Andreas Jaeger <aj@suse.de>
34091
34092 * po/ia.po: Update Interlingua translation from translation
34093 project.
34094
34095 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34096
34097 * include/fenv.h: Include stdbool.h.
34098 (struct rm_ctx): New structure.
34099 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34100 Define macro.
34101 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34102 (SET_RESTORE_ROUNDF): Likewise.
34103 (SET_RESTORE_ROUNDL): Likewise.
34104 (SET_RESTORE_ROUND_NOEX): Likewise.
34105 (SET_RESTORE_ROUND_NOEXF): Likewise.
34106 (SET_RESTORE_ROUND_NOEXL): Likewise.
34107 (SET_RESTORE_ROUND_53BIT): Likewise.
34108 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34109 (libc_feresetround_noexf_ctx): Likewise.
34110 (libc_feresetround_noexl_ctx): Likewise.
34111 (libc_feholdsetround_53bit_ctx): Likewise.
34112 (libc_feresetround_53bit_ctx): Likewise.
34113 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34114 (libc_feholdexcept_setround_sse_ctx): New function.
34115 (libc_fesetenv_sse_ctx): Likewise.
34116 (libc_feupdateenv_sse_ctx): Likewise.
34117 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34118 (libc_feholdexcept_setround_387_ctx): Likewise.
34119 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34120 (libc_feholdsetround_387_prec_ctx): Likewise.
34121 (libc_feholdsetround_387_ctx): Likewise.
34122 (libc_feholdsetround_387_53bit_ctx): Likewise.
34123 (libc_feholdsetround_sse_ctx): Likewise.
34124 (libc_feresetround_sse_ctx): Likewise.
34125 (libc_feresetround_387_ctx): Likewise.
34126 (libc_feupdateenv_387_ctx): Likewise.
34127 (libc_feholdexcept_setroundf_ctx): Define macro.
34128 (libc_fesetenvf_ctx): Likewise.
34129 (libc_feupdateenvf_ctx): Likewise.
34130 (libc_feholdsetroundf_ctx): Likewise.
34131 (libc_feresetroundf_ctx): Likewise.
34132 (libc_feholdexcept_setround_ctx): Likewise.
34133 (libc_fesetenv_ctx): Likewise.
34134 (libc_feupdateenv_ctx): Likewise.
34135 (libc_feholdsetround_ctx): Likewise.
34136 (libc_feresetround_ctx): Likewise.
34137 (libc_feholdexcept_setroundl_ctx): Likewise.
34138 (libc_feupdateenvl_ctx): Likewise.
34139 (libc_feholdsetroundl_ctx): Likewise.
34140 (libc_feresetroundl_ctx): Likewise.
34141 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34142 (libc_feresetround_53bit_ctx): Likewise.
34143
34144 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34145
34146 * locale/iso-639.def: Convert to UTF-8.
34147
34148 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34149
34150 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34151 (EXCEPTION_TESTS_double): Likewise.
34152 (EXCEPTION_TESTS_long_double): Likewise.
34153 (EXCEPTION_TESTS): Likewise.
34154 * math/libm-test.inc (test_exceptions): Only test exceptions if
34155 EXCEPTION_TESTS (FLOAT).
34156
34157 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34158
34159 * benchtests/Makefile (string-bench): Add strcpy_chk and
34160 stpcpy_chk.
34161 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34162 * benchtests/bench-stpcpy_chk.c: New file.
34163 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34164 * benchtests/bench-strcpy_chk.c: New file.
34165 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34166 code.
34167 (do_test): Likewise.
34168
34169 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34170
34171 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34172 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34173 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34174 with tabs where appropriate.
34175 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34176 dl-procinfo.h.
34177 [PPC_PLATFORM_PPC440]: Likewise.
34178 [PPC_PLATFORM_PPC464]: Likewise.
34179 [PPC_PLATFORM_PPC476]: Likewise.
34180 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34181 ppc464, and ppc476 platform strings merging from ports/
34182 dl-procinfo.h.
34183
34184 2013-06-11 Andreas Schwab <schwab@suse.de>
34185
34186 [BZ #14991]
34187 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34188 (from_ucs4_idx): Regenerate.
34189 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34190 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34191 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34192 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34193 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34194 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34195 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34196 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34197 from FROM_LOOP and TO_LOOP specific macros.
34198 (BODY): Handle combining characters.
34199 * iconvdata/BIG5HKSCS.irreversible: Update.
34200 * iconvdata/BIG5HKSCS.precomposed: New file.
34201 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34202 characters.
34203 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34204
34205 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34206
34207 * include/sys/time.h: Fix indentation and add copyright header.
34208
34209 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34210 (do_test): Likewise.
34211 * string/test-memchr.c (do_one_test): Likewise.
34212 (do_test): Likewise.
34213 * string/test-memcmp.c (do_one_test): Likewise.
34214 (do_test): Likewise.
34215 * string/test-memcpy.c (do_one_test): Likewise.
34216 (do_test): Likewise.
34217 * string/test-memmem.c (do_one_test): Likewise.
34218 (do_test): Likewise.
34219 (do_random_tests): Likewise.
34220 * string/test-memmove.c (do_one_test): Likewise.
34221 (do_test): Likewise.
34222 * string/test-memset.c (do_one_test): Likewise.
34223 (do_test): Likewise.
34224 * string/test-rawmemchr.c (do_one_test): Likewise.
34225 (do_test): Likewise.
34226 * string/test-strcasecmp.c (do_one_test): Likewise.
34227 (do_test): Likewise.
34228 * string/test-strcasestr.c (do_one_test): Likewise.
34229 (do_test): Likewise.
34230 * string/test-strcat.c (do_one_test): Likewise.
34231 (do_test): Likewise.
34232 * string/test-strchr.c (do_one_test): Likewise.
34233 (do_test): Likewise.
34234 * string/test-strcmp.c (do_one_test): Likewise.
34235 (do_test): Likewise.
34236 * string/test-strcpy.c (do_one_test): Likewise.
34237 (do_test): Likewise.
34238 * string/test-string.h: Likewise.
34239 (test_init): Likewise.
34240 * string/test-strlen.c (do_one_test): Likewise.
34241 (do_test): Likewise.
34242 * string/test-strncasecmp.c (do_one_test): Likewise.
34243 (do_test): Likewise.
34244 * string/test-strncat.c (do_one_test): Likewise.
34245 (do_test): Likewise.
34246 * string/test-strncmp.c (do_one_test): Likewise.
34247 (do_test_limit): Likewise.
34248 (do_test): Likewise.
34249 * string/test-strncpy.c (do_one_test): Likewise.
34250 (do_test): Likewise.
34251 * string/test-strnlen.c (do_one_test): Likewise.
34252 (do_test): Likewise.
34253 * string/test-strpbrk.c (do_one_test): Likewise.
34254 (do_test): Likewise.
34255 * string/test-strrchr.c (do_one_test): Likewise.
34256 (do_test): Likewise.
34257 * string/test-strspn.c (do_one_test): Likewise.
34258 (do_test): Likewise.
34259 * string/test-strstr.c (do_one_test): Likewise.
34260 (do_test): Likewise.
34261
34262 * benchtests/Makefile (string-bench): Add string benchmarks.
34263 * benchtests/bench-bcopy-ifunc.c: New file.
34264 * benchtests/bench-bcopy.c: New file.
34265 * benchtests/bench-bzero-ifunc.c: New file.
34266 * benchtests/bench-bzero.c: New file.
34267 * benchtests/bench-memccpy-ifunc.c: New file.
34268 * benchtests/bench-memccpy.c: New file.
34269 * benchtests/bench-memchr-ifunc.c: New file.
34270 * benchtests/bench-memchr.c: New file.
34271 * benchtests/bench-memcmp-ifunc.c: New file.
34272 * benchtests/bench-memcmp.c: New file.
34273 * benchtests/bench-memmem-ifunc.c: New file.
34274 * benchtests/bench-memmem.c: New file.
34275 * benchtests/bench-memmove-ifunc.c: New file.
34276 * benchtests/bench-memmove.c: New file.
34277 * benchtests/bench-mempcpy-ifunc.c: New file.
34278 * benchtests/bench-mempcpy.c: New file.
34279 * benchtests/bench-memset-ifunc.c: New file.
34280 * benchtests/bench-memset.c: New file.
34281 * benchtests/bench-rawmemchr-ifunc.c: New file.
34282 * benchtests/bench-rawmemchr.c: New file.
34283 * benchtests/bench-stpcpy-ifunc.c: New file.
34284 * benchtests/bench-stpcpy.c: New file.
34285 * benchtests/bench-stpncpy-ifunc.c: New file.
34286 * benchtests/bench-stpncpy.c: New file.
34287 * benchtests/bench-strcasecmp-ifunc.c: New file.
34288 * benchtests/bench-strcasecmp.c: New file.
34289 * benchtests/bench-strcasestr-ifunc.c: New file.
34290 * benchtests/bench-strcasestr.c: New file.
34291 * benchtests/bench-strcat-ifunc.c: New file.
34292 * benchtests/bench-strcat.c: New file.
34293 * benchtests/bench-strchr-ifunc.c: New file.
34294 * benchtests/bench-strchr.c: New file.
34295 * benchtests/bench-strchrnul-ifunc.c: New file.
34296 * benchtests/bench-strchrnul.c: New file.
34297 * benchtests/bench-strcmp-ifunc.c: New file.
34298 * benchtests/bench-strcmp.c: New file.
34299 * benchtests/bench-strcpy-ifunc.c: New file.
34300 * benchtests/bench-strcpy.c: New file.
34301 * benchtests/bench-strcspn-ifunc.c: New file.
34302 * benchtests/bench-strcspn.c: New file.
34303 * benchtests/bench-strlen-ifunc.c: New file.
34304 * benchtests/bench-strlen.c: New file.
34305 * benchtests/bench-strncasecmp-ifunc.c: New file.
34306 * benchtests/bench-strncasecmp.c: New file.
34307 * benchtests/bench-strncat-ifunc.c: New file.
34308 * benchtests/bench-strncat.c: New file.
34309 * benchtests/bench-strncmp-ifunc.c: New file.
34310 * benchtests/bench-strncmp.c: New file.
34311 * benchtests/bench-strncpy-ifunc.c: New file.
34312 * benchtests/bench-strncpy.c: New file.
34313 * benchtests/bench-strnlen-ifunc.c: New file.
34314 * benchtests/bench-strnlen.c: New file.
34315 * benchtests/bench-strpbrk-ifunc.c: New file.
34316 * benchtests/bench-strpbrk.c: New file.
34317 * benchtests/bench-strrchr-ifunc.c: New file.
34318 * benchtests/bench-strrchr.c: New file.
34319 * benchtests/bench-strspn-ifunc.c: New file.
34320 * benchtests/bench-strspn.c: New file.
34321 * benchtests/bench-strstr-ifunc.c: New file.
34322 * benchtests/bench-strstr.c: New file.
34323
34324 * benchtests/Makefile: Disable parallel execution of targets.
34325 (string-bench): Add memcpy.
34326 (benchset): New variable to store a list of benchmark sets.
34327 (bench-func): Renamed from bench.
34328 (bench-set): New target.
34329 (bench): Depend on bench-func and bench-set.
34330 * benchtests/README: Add section on benchmark sets.
34331 * benchtests/bench-memcpy-ifunc.c: New file.
34332 * benchtests/bench-memcpy.c: New file.
34333 * benchtests/bench-string.h: New file.
34334
34335 2013-06-11 Andreas Schwab <schwab@suse.de>
34336
34337 [BZ #15577]
34338 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34339 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34340 values in the triple.
34341 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34342 terminator in the group key.
34343
34344 2013-06-11 Andreas Jaeger <aj@suse.de>
34345
34346 * po/zh_TW.po: Update Chinese (traditional) translation from
34347 translation project.
34348
34349 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34350
34351 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34352 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34353 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34355 (clock_getcpuclockid): Likewise.
34356 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34357 Add weak_alias and libc_hidden_def.
34358 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34359 * rt/clock_gettime.c (clock_gettime): Rename to
34360 __clock_gettime. Add weak_alias and libc_hidden_def.
34361 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34362 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34363 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34364 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34365 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34366 Likewise.
34367 * rt/clock_settime.c (clock_settime): Rename to
34368 __clock_settime. Add weak_alias and libc_hidden_def.
34369 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34370
34371 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34372
34373 * mach/err_boot.sub: Remove trailing whitespace.
34374 * mach/err_ipc.sub: Likewise.
34375 * mach/err_mach.sub: Likewise.
34376
34377 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34378 (ROUNDING_TESTS_double): Likewise.
34379 (ROUNDING_TESTS_long_double): Likewise.
34380 (ROUNDING_TESTS): Likewise.
34381 * math/libm-test.inc: Include <math-tests.h>.
34382 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34383 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34384 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34385 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34386
34387 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34388
34389 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34390 of assigning.
34391
34392 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34393
34394 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34395 otherwise empty TRANS lines.
34396 * sysdeps/gnu/errlist.c: Regenerated.
34397
34398 * catgets/gencat.c (error_print): Use (void) in function
34399 definition.
34400 * crypt/crypt_util.c (__init_des): Likewise.
34401 * crypt/speeds.c (Stop): Likewise.
34402 (main): Likewise.
34403 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34404 * inet/ruserpass.c (token): Likewise.
34405 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34406 * intl/localealias.c (extend_alias_table): Likewise.
34407 * intl/plural-exp.c (init_germanic_plural): Likewise.
34408 * libio/fcloseall.c (__fcloseall): Likewise.
34409 * libio/genops.c (_IO_flush_all): Likewise.
34410 (_IO_flush_all_linebuffered): Likewise.
34411 (_IO_cleanup): Likewise.
34412 (_IO_iter_begin): Likewise.
34413 (_IO_iter_end): Likewise.
34414 (_IO_list_lock): Likewise.
34415 (_IO_list_unlock): Likewise.
34416 (_IO_list_resetlock): Likewise.
34417 * libio/getchar.c (getchar): Likewise.
34418 * libio/getchar_u.c (getchar_unlocked): Likewise.
34419 * libio/getwchar.c (getwchar): Likewise.
34420 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34421 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34422 * login/getpt.c (__getpt): Likewise.
34423 * login/tst-utmp.c (main): Likewise.
34424 * malloc/hooks.c (__malloc_check_init): Likewise.
34425 * malloc/malloc.c (__malloc_stats): Likewise.
34426 * malloc/mtrace.c (tr_break): Likewise.
34427 (mtrace): Likewise.
34428 (muntrace): Likewise.
34429 * misc/fstab.c (endfsent): Likewise.
34430 * misc/getclktck.c (__getclktck): Likewise.
34431 * misc/getdtsz.c (__getdtablesize): Likewise.
34432 * misc/gethostid.c (gethostid): Likewise.
34433 * misc/getpagesize.c (__getpagesize): Likewise.
34434 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34435 (__get_nprocs): Likewise.
34436 (__get_phys_pages): Likewise.
34437 (__get_avphys_pages): Likewise.
34438 * misc/getttyent.c (getttyent): Likewise.
34439 (setttyent): Likewise.
34440 (endttyent): Likewise.
34441 * misc/getusershell.c (getusershell): Likewise.
34442 (endusershell): Likewise.
34443 (setusershell): Likewise.
34444 (initshells): Likewise.
34445 * misc/hsearch.c (__hdestroy): Likewise.
34446 * misc/sync.c (sync): Likewise.
34447 * misc/syslog.c (closelog_internal): Likewise.
34448 (closelog): Likewise.
34449 * misc/ttyslot.c (ttyslot): Likewise.
34450 * misc/vhangup.c (vhangup): Likewise.
34451 * posix/fork.c (__fork): Likewise.
34452 * posix/getegid.c (__getegid): Likewise.
34453 * posix/geteuid.c (__geteuid): Likewise.
34454 * posix/getgid.c (__getgid): Likewise.
34455 * posix/getpid.c (__getpid): Likewise.
34456 * posix/getppid.c (__getppid): Likewise.
34457 * posix/getuid.c (__getuid): Likewise.
34458 * posix/pause.c (pause): Likewise.
34459 * posix/setpgrp.c (setpgrp): Likewise.
34460 * posix/setsid.c (__setsid): Likewise.
34461 * posix/test-vfork.c (noop): Likewise.
34462 * resolv/gethnamaddr.c (_endhtent): Likewise.
34463 (_gethtent): Likewise.
34464 (ht_endhostent): Likewise.
34465 (gethostent): Likewise.
34466 (dns_service): Likewise.
34467 * stdlib/drand48.c (drand48): Likewise.
34468 * stdlib/lrand48.c (lrand48): Likewise.
34469 * stdlib/mrand48.c (mrand48): Likewise.
34470 * stdlib/rand.c (rand): Likewise.
34471 * stdlib/random.c (__random): Likewise.
34472 * stdlib/setenv.c (clearenv): Likewise.
34473 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34474 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34475 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34476 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34477 (__get_nprocs): Likewise.
34478 (__get_phys_pages): Likewise.
34479 (__get_avphys_pages): Likewise.
34480 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34481 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34482 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34483 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34484 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34485 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34486 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34487 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34488 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34489 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34490 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34491 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34492 * sysdeps/posix/clock.c (clock): Likewise.
34493 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34494 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34495 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34496 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34497 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34498 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34499 (__get_nprocs_conf): Likewise.
34500 (__get_phys_pages): Likewise.
34501 (__get_avphys_pages): Likewise.
34502 * time/clock.c (clock): Likewise.
34503 * time/tzset.c (__tzname_max): Likewise.
34504
34505 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34506
34507 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34508 (__bswap_32): Do not use "register".
34509 * crypt/crypt.c (_ufc_doit_r): Likewise.
34510 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34511 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34512 * gmon/gmon.c (__monstartup): Likewise.
34513 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34514 * hurd/hurdmalloc.c (more_memory): Likewise.
34515 (malloc): Likewise.
34516 (free): Likewise.
34517 (realloc): Likewise.
34518 (malloc_fork_prepare): Likewise.
34519 (malloc_fork_parent): Likewise.
34520 (malloc_fork_child): Likewise.
34521 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34522 (_svcauth_des): Likewise.
34523 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34524 * inet/inet_net.c (inet_network): Likewise.
34525 * inet/inet_netof.c (inet_netof): Likewise.
34526 * inet/rcmd.c (__validuser2_sa): Likewise.
34527 * io/fts.c (fts_open): Likewise.
34528 (fts_load): Likewise.
34529 (fts_close): Likewise.
34530 (fts_read): Likewise.
34531 (fts_children): Likewise.
34532 (fts_build): Likewise.
34533 (fts_stat): Likewise.
34534 (fts_sort): Likewise.
34535 (fts_alloc): Likewise.
34536 (fts_lfree): Likewise.
34537 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34538 (_IO_file_xsgetn): Likewise.
34539 (_IO_file_xsgetn_mmap): Likewise.
34540 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34541 (_IO_cookie_write): Likewise.
34542 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34543 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34544 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34545 * malloc/obstack.c (_obstack_begin): Likewise.
34546 (_obstack_begin_1): Likewise.
34547 (_obstack_newchunk): Likewise.
34548 (_obstack_allocated_p): Likewise.
34549 (obstack_free): Likewise.
34550 (_obstack_memory_used): Likewise.
34551 * misc/getttyent.c (getttynam): Likewise.
34552 (getttyent): Likewise.
34553 (skip): Likewise.
34554 (value): Likewise.
34555 * misc/getusershell.c (initshells): Likewise.
34556 * misc/syslog.c (__vsyslog_chk): Likewise.
34557 * misc/ttyslot.c (ttyslot): Likewise.
34558 * nis/nis_hash.c (__nis_hash): Likewise.
34559 * posix/fnmatch_loop.c (FCT): Likewise.
34560 * posix/getconf.c (print_all): Likewise.
34561 (main): Likewise.
34562 * posix/getopt.c (exchange): Likewise.
34563 * posix/glob.c (globfree): Likewise.
34564 (prefix_array): Likewise.
34565 (__glob_pattern_type): Likewise.
34566 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34567 (NS_GET32): Likewise.
34568 (NS_PUT16): Likewise.
34569 (NS_PUT32): Likewise.
34570 * resolv/gethnamaddr.c (getanswer): Likewise.
34571 (gethostbyname2): Likewise.
34572 (gethostbyaddr): Likewise.
34573 (_gethtent): Likewise.
34574 (_gethtbyname2): Likewise.
34575 (_gethtbyaddr): Likewise.
34576 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34577 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34578 * resolv/res_init.c (__res_vinit): Likewise.
34579 (net_mask): Likewise.
34580 * resolv/res_mkquery.c (outchar): Likewise.
34581 (PRINT): Likewise.
34582 * stdio-common/printf_fp.c (outchar): Likewise.
34583 (PRINT): Likewise.
34584 * stdio-common/printf_fphex.c (outchar): Likewise.
34585 (PRINT): Likewise.
34586 * stdio-common/printf_size.c (outchar): Likewise.
34587 (PRINT): Likewise.
34588 * stdio-common/test_rdwr.c (main): Likewise.
34589 * stdio-common/tfformat.c (matches): Likewise.
34590 * stdio-common/vfprintf.c (outchar): Likewise.
34591 (printf_unknown): Likewise.
34592 (buffered_vfprintf): Likewise.
34593 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34594 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34595 (ReadFile): Likewise.
34596 * stdlib/qsort.c (SWAP): Likewise.
34597 (_quicksort): Likewise.
34598 * stdlib/setenv.c (__add_to_environ): Likewise.
34599 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34600 * stdlib/strtol_l.c (__strtol_l): Likewise.
34601 * stdlib/tst-strtod.c (main): Likewise.
34602 * stdlib/tst-strtol.c (main): Likewise.
34603 * stdlib/tst-strtoll.c (main): Likewise.
34604 * string/bits/string2.h (__strcmp_cc): Likewise.
34605 (__strcmp_cg): Likewise.
34606 (__strcspn_c1): Likewise.
34607 (__strcspn_c2): Likewise.
34608 (__strcspn_c3): Likewise.
34609 (__strspn_c1): Likewise.
34610 (__strspn_c2): Likewise.
34611 (__strspn_c3): Likewise.
34612 (__strsep_1c): Likewise.
34613 (__strsep_2c): Likewise.
34614 (__strsep_3c): Likewise.
34615 * string/memccpy.c (__memccpy): Likewise.
34616 * string/stpcpy.c (__stpcpy): Likewise.
34617 * string/strcmp.c (strcmp): Likewise.
34618 * string/strrchr.c (strrchr): Likewise.
34619 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34620 Likewise.
34621 * sysdeps/mach/hurd/getcwd.c
34622 (_hurd_canonicalize_directory_name_internal): Likewise.
34623 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34624 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34625 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34626 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34627 Likewise, in both definitions.
34628 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34629 definitions.
34630 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34631 64] (__bswap_64): Likewise.
34632 * time/test_time.c (main): Likewise.
34633 * time/tzfile.c (__tzfile_read): Likewise.
34634 (__tzfile_compute): Likewise.
34635 * time/tzset.c (__tzset_parse_tz): Likewise.
34636 (tzset_internal): Likewise.
34637 (compute_change): Likewise.
34638 * wcsmbs/wcscat.c (__wcscat): Likewise.
34639 * wcsmbs/wcschr.c (wcschr): Likewise.
34640 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34641 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34642 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34643 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34644 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34645 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34646 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34647 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34648 * wcsmbs/wmemset.c (wmemset): Likewise.
34649
34650 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34651
34652 * scripts/config.guess: Update to version 2013-05-16.
34653 * scripts/config.sub: Update to version 2013-04-24.
34654 * scripts/install-sh: Update to version 2011-11-20.07.
34655 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34656 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34657
34658 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34659
34660 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34661 * elf/sln.c: Likewise.
34662 * hurd/hurd/ioctl.h: Likewise.
34663 * hurd/hurdmalloc.c: Likewise.
34664 * hurd/xattr.c: Likewise.
34665 * include/shlib-compat.h: Likewise.
34666 * inet/ruserpass.c: Likewise.
34667 * libio/iofgets_u.c: Likewise.
34668 * libio/iofgetws_u.c: Likewise.
34669 * locale/programs/ld-identification.c: Likewise.
34670 * locale/programs/ld-time.c: Likewise.
34671 * mach/msg-destroy.c: Likewise.
34672 * nss/nss_files/files-netgrp.c: Likewise.
34673 * resolv/res_data.c: Likewise.
34674 * soft-fp/op-1.h: Likewise.
34675 * soft-fp/op-2.h: Likewise.
34676 * soft-fp/op-4.h: Likewise.
34677 * soft-fp/op-common.h: Likewise.
34678 * stdio-common/printf_fphex.c: Likewise.
34679 * stdlib/strtod_l.c: Likewise.
34680 * sunrpc/rpc/clnt.h: Likewise.
34681 * sysdeps/generic/framestate.c: Likewise.
34682 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34683 * sysdeps/i386/bsd-setjmp.S: Likewise.
34684 * sysdeps/i386/__longjmp.S: Likewise.
34685 * sysdeps/i386/setjmp.S: Likewise.
34686 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34687 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34704 * sysdeps/ieee754/support.c: Likewise.
34705 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34706 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34707 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34708 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34709 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34710 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34711 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34712 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34713 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34714 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34715 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34716 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34717 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34718 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34719 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34720 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34721 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34723
34724 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34725
34726 * posix/transbug.c: Remove executable mode.
34727
34728 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34729
34730 * crypt/speeds.c: Remove trailing whitespace.
34731 * dlfcn/default.c: Likewise.
34732 * elf/ifuncdep2.c: Likewise.
34733 * elf/ifuncmain1.c: Likewise.
34734 * elf/ifuncmain1vis.c: Likewise.
34735 * elf/testobj.h: Likewise.
34736 * elf/tst-stackguard1.c: Likewise.
34737 * gmon/sys/gmon.h: Likewise.
34738 * hurd/hurdmsg.c: Likewise.
34739 * hurd/new-fd.c: Likewise.
34740 * hurd/ports-get.c: Likewise.
34741 * iconvdata/ibm1008_420.c: Likewise.
34742 * inet/tst-getni1.c: Likewise.
34743 * inet/tst-getni2.c: Likewise.
34744 * libio/ioungetc.c: Likewise.
34745 * libio/wfiledoalloc.c: Likewise.
34746 * manual/libm-err-tab.pl: Likewise.
34747 * math/w_dremf.c: Likewise.
34748 * misc/ftruncate.c: Likewise.
34749 * posix/bug-glob2.c: Likewise.
34750 * posix/tst-pcre.c: Likewise.
34751 * posix/wait4.c: Likewise.
34752 * resolv/README: Likewise.
34753 * resolv/res_debug.h: Likewise.
34754 * resolv/tst-inet_ntop.c: Likewise.
34755 * setjmp/bug269-setjmp.c: Likewise.
34756 * soft-fp/extended.h: Likewise.
34757 * soft-fp/op-1.h: Likewise.
34758 * soft-fp/op-2.h: Likewise.
34759 * soft-fp/op-4.h: Likewise.
34760 * soft-fp/op-8.h: Likewise.
34761 * soft-fp/testit.c: Likewise.
34762 * stdio-common/bug16.c: Likewise.
34763 * stdlib/random.c: Likewise.
34764 * sunrpc/rpcsvc/rquota.x: Likewise.
34765 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34766 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34767 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34768 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34769 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34770 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34771 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34772 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34773 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34774 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34775 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34776 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34779 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34780 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34781 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34782 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34783 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34786 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34787 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34793 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34794 * sysdeps/ieee754/s_lib_version.c: Likewise.
34795 * sysdeps/mach/hurd/check_fds.c: Likewise.
34796 * sysdeps/mach/hurd/getsockname.c: Likewise.
34797 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34798 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34799 * sysdeps/powerpc/bits/link.h: Likewise.
34800 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34801 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34802 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34803 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34804 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34805 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34806 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34807 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34808 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34809 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34810 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34811 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34812 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34813 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34814 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34815 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34818 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34820 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34821 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34823 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34824 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34827 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34828 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34832 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34833 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34834 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34835 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34836 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34837 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34838 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34839 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34840 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34841 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34842 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34843 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34844 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34845 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34846 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34847 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34848 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34849 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34852 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34853 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34854 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34855 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34856 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34857 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34858 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34859 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34860 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34861 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34862 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34863 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34864 * sysdeps/powerpc/sysdep.h: Likewise.
34865 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34866 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34867 * sysdeps/sh/dl-trampoline.S: Likewise.
34868 * sysdeps/sh/memset.S: Likewise.
34869 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34870 * sysdeps/sh/strlen.S: Likewise.
34871 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34872 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34873 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34874 * sysdeps/sparc/sparc32/rem.S: Likewise.
34875 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34876 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34877 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34878 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34879 * sysdeps/sparc/sparc32/urem.S: Likewise.
34880 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34881 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34882 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34883 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34884 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34885 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34886 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34887 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34888 * sysdeps/unix/bsd/times.c: Likewise.
34889 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34890 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34894 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34895 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34896 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34897 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34898 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34899 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34900 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34901 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34902 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34903 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34904 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34905 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34906 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34907 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34908 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34909 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34910 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34911 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34912 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34913 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34914 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34915 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34916 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34917 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34918 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34919 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34920 * sysdeps/x86_64/strcspn.S: Likewise.
34921
34922 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34923
34924 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34925 generated file. Regenerate properly from gen-translit.pl.
34926 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34927 locale/C-translit.h.
34928
34929 2013-06-05 Andreas Schwab <schwab@suse.de>
34930
34931 [BZ #15100]
34932 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34933 week as 6 instead of -1.
34934 * time/tst-strptime.c (day_tests): Add test case.
34935
34936 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34937
34938 * sysdeps/generic/math_private.h
34939 (libc_feholdexcept_setround_53bit): Replace with
34940 libc_feholdsetround_53bit.
34941 (libc_feupdateenv_53bit): Replace with
34942 libc_feresetround_53bit.
34943 (SET_RESTORE_ROUND_53BIT): Adjust.
34944
34945 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34946
34947 * string/test-strchrnul.c: Add copyright header.
34948
34949 * posix/tst-getaddrinfo4.c: Increase test timeout.
34950
34951 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34952
34953 [BZ #15536]
34954 * math/libm-test.inc (MAX_EXP): Remove
34955 (MIN_EXP): Define.
34956 (ulp): Use MIN_EXP - MANT_DIG.
34957 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34958
34959 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34960
34961 * po/be.po: Revert last change.
34962 * po/zh_CN.po: Likewise.
34963 * po/header.pot: Likewise.
34964
34965 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34966
34967 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34968 link-libc-deps to empty as target-specific variable.
34969 * Makerules (link-libc-args): New variable.
34970 (libc-for-link): Likewise.
34971 (link-libc-deps): Likewise.
34972 (lib%.so): Depend on $(link-libc-deps). Link with
34973 $(link-libc-args).
34974 (build-module): Link with $(link-libc-args).
34975 (build-module-asneeded): Likewise.
34976 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34977 list of objects.
34978 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34979 target-specific variable.
34980 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34981 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34982 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34983 libc.
34984 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34985 libc and ld.so.
34986 ($(objpfx)libpcprofile.so): Likewise.
34987 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34988 libc_nonshared.a.
34989 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34990 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34991 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34992 $(link-libc-deps).
34993 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34994 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34995 * login/Makefile ($(objpfx)libutil.so): Likewise.
34996 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34997 * math/Makefile ($(objpfx)libm.so): Likewise.
34998 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34999 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35000 variable instead of depending directly on libc.
35001 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35002 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35003 $(link-libc-deps).
35004 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35005 libc.
35006 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35007 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35008 ($(objpfx)libanl.so): Likewise.
35009 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35010 ld.so.
35011 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35012 $(link-libc-deps).
35013 * sysdeps/i386/fpu/Makefile: Remove file.
35014 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35015 ($(objpfx)libm.so): Remove dependency on ld.so.
35016
35017 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35018
35019 [BZ # 15553]
35020 * nis/yp_xdr.c (XDRMAXNAME): Define.
35021 (XDRMAXRECORD): Define.
35022 (xdr_domainname): Use XDRMAXNAME.
35023 (xdr_mapname): Likewise.
35024 (xdr_peername): Likewise.
35025 (xdr_keydat): Use XDRMAXRECORD.
35026 (xdr_valdat): Likewise.
35027
35028 2013-05-30 Jeff Law <law@redhat.com>
35029
35030 [BZ #14256]
35031 * manual/errno.texi (ESTALE): Update to account for more than
35032 just NFS file systems.
35033 * sysdeps/gnu/errlist.c: Regenerated.
35034
35035 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35036
35037 [BZ #15465]
35038 * elf/Makefile (tests): Add tst-null-argv.
35039 (modules-names): Add tst-null-argv-lib.
35040 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35041 (tst-null-argv-ENV): Set environment for tst-null-argv.
35042 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35043 (RTLD_PROGNAME): New macro.
35044 * elf/tst-null-argv.c: New test case.
35045 * elf/tst-null-argv-lib.c: Library for test case.
35046 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35047 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35048 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35049 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35050 * elf/dl-init.c (call_init): Likewise.
35051 (_dl_init): Likewise.
35052 * elf/dl-load.c (print_search_path): Likewise.
35053 (_dl_map_object): Likewise.
35054 * elf/dl-lookup.c (do_lookup_x): Likewise.
35055 (add_dependency): Likewise.
35056 (_dl_lookup_symbol_x): Likewise.
35057 (_dl_debug_bindings): Likewise.
35058 * elf/dl-open.c (_dl_show_scope): Likewise.
35059 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35060 * elf/dl-version.c (match_symbol): Likewise.
35061 (_dl_check_map_versions): Likewise.
35062 * elf/rtld.c (dl_main): Likewise.
35063 (print_unresolved): Use RTLD_PROGNAME.
35064 (print_missing_version): Likewise.
35065 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35066 (elf_machine_rela): Likewise.
35067 * sysdeps/powerpc/powerpc32/dl-machine.c
35068 (__process_machine_rela): Likewise.
35069 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35070 Likewise.
35071 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35072 Likewise.
35073 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35074 Likewise.
35075 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35077 Likewise.
35078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35079 Likewise.
35080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35081
35082 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35083
35084 * po/be.po: Add descriptive title.
35085 * po/zh_CN.po: Likewise.
35086 * po/header.pot: Likewise.
35087
35088 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35089
35090 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35091 error message.
35092 (enlarge_archive): Likewise.
35093
35094 2013-05-28 Ben North <ben@redfrontdoor.org>
35095
35096 * manual/arith.texi (frexp): It is the magnitude of the return
35097 value which lies in [0.5, 1), not the return value itself.
35098
35099 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35100
35101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35102
35103 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35104
35105 * stdio-common/bug26.c (main): Correct fscanf template.
35106
35107 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35108 declare _dl_skip_args.
35109
35110 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35111 Don't declare.
35112
35113 * manual/platform.texi: Add missing @end deftypefun.
35114
35115 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35116
35117 [BZ #15529]
35118 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35119 bit of mantissa of 2^16382.
35120 * math/libm-test.inc (hypot_test_data): Add more tests.
35121
35122 * math/libm-test.inc: Add drem and pow10 to list of tested
35123 functions.
35124 (pow10_test): New function.
35125 (drem_test): Likewise.
35126 (drem_test_tonearest): Likewise.
35127 (drem_test_towardzero): Likewise.
35128 (drem_test_downward): Likewise.
35129 (drem_test_upward): Likewise.
35130 (main): Call the new functions.
35131
35132 * math/libm-test.inc (finite_test_data): Remove.
35133 (finite_test): Run tests from isfinite_test_data.
35134 (gamma_test_data): Remove.
35135 (gamma_test): Run tests from lgamma_test_data.
35136 * sysdeps/i386/fpu/libm-test-ulps: Update.
35137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35138
35139 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35140
35141 * manual/platform.texi: Add PowerPC PPR function set documentation.
35142 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35143 implementation.
35144
35145 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35146
35147 * math/libm-test.inc (MAX_EXP): Define.
35148 (ULPDIFF): Define.
35149 (ulp): New function.
35150 (check_float_internal): Use ULPDIFF.
35151 (cpow_test): Disable failing test.
35152 (check_ulp): Test ulp() implemetnation.
35153 (main): Call check_ulp before starting tests.
35154
35155 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35156
35157 * math/gen-libm-test.pl (generate_testfile): Do not handle
35158 START_DATA and END_DATA.
35159 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35160 END_DATA.
35161 (acos_tonearest_test_data): Likewise.
35162 (acos_towardzero_test_data): Likewise.
35163 (acos_downward_test_data): Likewise.
35164 (acos_upward_test_data): Likewise.
35165 (acosh_test_data): Likewise.
35166 (asin_test_data): Likewise.
35167 (asin_tonearest_test_data): Likewise.
35168 (asin_towardzero_test_data): Likewise.
35169 (asin_downward_test_data): Likewise.
35170 (asin_upward_test_data): Likewise.
35171 (asinh_test_data): Likewise.
35172 (atan_test_data): Likewise.
35173 (atanh_test_data): Likewise.
35174 (atan2_test_data): Likewise.
35175 (cabs_test_data): Likewise.
35176 (cacos_test_data): Likewise.
35177 (cacosh_test_data): Likewise.
35178 (carg_test_data): Likewise.
35179 (casin_test_data): Likewise.
35180 (casinh_test_data): Likewise.
35181 (catan_test_data): Likewise.
35182 (catanh_test_data): Likewise.
35183 (cbrt_test_data): Likewise.
35184 (ccos_test_data): Likewise.
35185 (ccosh_test_data): Likewise.
35186 (ceil_test_data): Likewise.
35187 (cexp_test_data): Likewise.
35188 (cimag_test_data): Likewise.
35189 (clog_test_data): Likewise.
35190 (clog10_test_data): Likewise.
35191 (conj_test_data): Likewise.
35192 (copysign_test_data): Likewise.
35193 (cos_test_data): Likewise.
35194 (cos_tonearest_test_data): Likewise.
35195 (cos_towardzero_test_data): Likewise.
35196 (cos_downward_test_data): Likewise.
35197 (cos_upward_test_data): Likewise.
35198 (cosh_test_data): Likewise.
35199 (cosh_tonearest_test_data): Likewise.
35200 (cosh_towardzero_test_data): Likewise.
35201 (cosh_downward_test_data): Likewise.
35202 (cosh_upward_test_data): Likewise.
35203 (cpow_test_data): Likewise.
35204 (cproj_test_data): Likewise.
35205 (creal_test_data): Likewise.
35206 (csin_test_data): Likewise.
35207 (csinh_test_data): Likewise.
35208 (csqrt_test_data): Likewise.
35209 (ctan_test_data): Likewise.
35210 (ctan_tonearest_test_data): Likewise.
35211 (ctan_towardzero_test_data): Likewise.
35212 (ctan_downward_test_data): Likewise.
35213 (ctan_upward_test_data): Likewise.
35214 (ctanh_test_data): Likewise.
35215 (ctanh_tonearest_test_data): Likewise.
35216 (ctanh_towardzero_test_data): Likewise.
35217 (ctanh_downward_test_data): Likewise.
35218 (ctanh_upward_test_data): Likewise.
35219 (erf_test_data): Likewise.
35220 (erfc_test_data): Likewise.
35221 (exp_test_data): Likewise.
35222 (exp_tonearest_test_data): Likewise.
35223 (exp_towardzero_test_data): Likewise.
35224 (exp_downward_test_data): Likewise.
35225 (exp_upward_test_data): Likewise.
35226 (exp10_test_data): Likewise.
35227 (exp2_test_data): Likewise.
35228 (expm1_test_data): Likewise.
35229 (fabs_test_data): Likewise.
35230 (fdim_test_data): Likewise.
35231 (finite_test_data): Likewise.
35232 (floor_test_data): Likewise.
35233 (fma_test_data): Likewise.
35234 (fma_towardzero_test_data): Likewise.
35235 (fma_downward_test_data): Likewise.
35236 (fma_upward_test_data): Likewise.
35237 (fmax_test_data): Likewise.
35238 (fmin_test_data): Likewise.
35239 (fmod_test_data): Likewise.
35240 (fpclassify_test_data): Likewise.
35241 (frexp_test_data): Likewise.
35242 (gamma_test_data): Likewise.
35243 (hypot_test_data): Likewise.
35244 (ilogb_test_data): Likewise.
35245 (isfinite_test_data): Likewise.
35246 (isgreater_test_data): Likewise.
35247 (isgreaterequal_test_data): Likewise.
35248 (isinf_test_data): Likewise.
35249 (isless_test_data): Likewise.
35250 (islessequal_test_data): Likewise.
35251 (islessgreater_test_data): Likewise.
35252 (isnan_test_data): Likewise.
35253 (isnormal_test_data): Likewise.
35254 (issignaling_test_data): Likewise.
35255 (isunordered_test_data): Likewise.
35256 (j0_test_data): Likewise.
35257 (j1_test_data): Likewise.
35258 (jn_test_data): Likewise.
35259 (ldexp_test_data): Likewise.
35260 (lgamma_test_data): Likewise.
35261 (lrint_test_data): Likewise.
35262 (lrint_tonearest_test_data): Likewise.
35263 (lrint_towardzero_test_data): Likewise.
35264 (lrint_downward_test_data): Likewise.
35265 (lrint_upward_test_data): Likewise.
35266 (llrint_test_data): Likewise.
35267 (llrint_tonearest_test_data): Likewise.
35268 (llrint_towardzero_test_data): Likewise.
35269 (llrint_downward_test_data): Likewise.
35270 (llrint_upward_test_data): Likewise.
35271 (log_test_data): Likewise.
35272 (log10_test_data): Likewise.
35273 (log1p_test_data): Likewise.
35274 (log2_test_data): Likewise.
35275 (logb_test_data): Likewise.
35276 (logb_downward_test_data): Likewise.
35277 (lround_test_data): Likewise.
35278 (llround_test_data): Likewise.
35279 (modf_test_data): Likewise.
35280 (nearbyint_test_data): Likewise.
35281 (nextafter_test_data): Likewise.
35282 (nexttoward_test_data): Likewise.
35283 (pow_test_data): Likewise.
35284 (pow_tonearest_test_data): Likewise.
35285 (pow_towardzero_test_data): Likewise.
35286 (pow_downward_test_data): Likewise.
35287 (pow_upward_test_data): Likewise.
35288 (remainder_test_data): Likewise.
35289 (remainder_tonearest_test_data): Likewise.
35290 (remainder_towardzero_test_data): Likewise.
35291 (remainder_downward_test_data): Likewise.
35292 (remainder_upward_test_data): Likewise.
35293 (remquo_test_data): Likewise.
35294 (rint_test_data): Likewise.
35295 (rint_tonearest_test_data): Likewise.
35296 (rint_towardzero_test_data): Likewise.
35297 (rint_downward_test_data): Likewise.
35298 (rint_upward_test_data): Likewise.
35299 (round_test_data): Likewise.
35300 (scalb_test_data): Likewise.
35301 (scalbn_test_data): Likewise.
35302 (scalbln_test_data): Likewise.
35303 (signbit_test_data): Likewise.
35304 (sin_test_data): Likewise.
35305 (sin_tonearest_test_data): Likewise.
35306 (sin_towardzero_test_data): Likewise.
35307 (sin_downward_test_data): Likewise.
35308 (sin_upward_test_data): Likewise.
35309 (sincos_test_data): Likewise.
35310 (sinh_test_data): Likewise.
35311 (sinh_tonearest_test_data): Likewise.
35312 (sinh_towardzero_test_data): Likewise.
35313 (sinh_downward_test_data): Likewise.
35314 (sinh_upward_test_data): Likewise.
35315 (sqrt_test_data): Likewise.
35316 (tan_test_data): Likewise.
35317 (tan_tonearest_test_data): Likewise.
35318 (tan_towardzero_test_data): Likewise.
35319 (tan_downward_test_data): Likewise.
35320 (tan_upward_test_data): Likewise.
35321 (tanh_test_data): Likewise.
35322 (tgamma_test_data): Likewise.
35323 (trunc_test_data): Likewise.
35324 (y0_test_data): Likewise.
35325 (y1_test_data): Likewise.
35326 (yn_test_data): Likewise.
35327 (significand_test_data): Likewise.
35328
35329 * math/gen-libm-test.pl (@functions): Remove variable.
35330 (generate_testfile): Don't handle START and END lines.
35331 * math/libm-test.inc (START): New macro.
35332 (END): Likewise.
35333 (END_COMPLEX): Likewise.
35334 (acos_test): Use END macro without arguments.
35335 (acos_test_tonearest): Likewise.
35336 (acos_test_towardzero): Likewise.
35337 (acos_test_downward): Likewise.
35338 (acos_test_upward): Likewise.
35339 (acosh_test): Likewise.
35340 (asin_test): Likewise.
35341 (asin_test_tonearest): Likewise.
35342 (asin_test_towardzero): Likewise.
35343 (asin_test_downward): Likewise.
35344 (asin_test_upward): Likewise.
35345 (asinh_test): Likewise.
35346 (atan_test): Likewise.
35347 (atanh_test): Likewise.
35348 (atan2_test): Likewise.
35349 (cabs_test): Likewise.
35350 (cacos_test): Use END_COMPLEX macro without arguments.
35351 (cacosh_test): Likewise.
35352 (carg_test): Use END macro without arguments.
35353 (casin_test): Use END_COMPLEX macro without arguments.
35354 (casinh_test): Likewise.
35355 (catan_test): Likewise.
35356 (catanh_test): Likewise.
35357 (cbrt_test): Use END macro without arguments.
35358 (ccos_test): Use END_COMPLEX macro without arguments.
35359 (ccosh_test): Likewise.
35360 (ceil_test): Use END macro without arguments.
35361 (cexp_test): Use END_COMPLEX macro without arguments.
35362 (cimag_test): Use END macro without arguments.
35363 (clog_test): Use END_COMPLEX macro without arguments.
35364 (clog10_test): Likewise.
35365 (conj_test): Likewise.
35366 (copysign_test): Use END macro without arguments.
35367 (cos_test): Likewise.
35368 (cos_test_tonearest): Likewise.
35369 (cos_test_towardzero): Likewise.
35370 (cos_test_downward): Likewise.
35371 (cos_test_upward): Likewise.
35372 (cosh_test): Likewise.
35373 (cosh_test_tonearest): Likewise.
35374 (cosh_test_towardzero): Likewise.
35375 (cosh_test_downward): Likewise.
35376 (cosh_test_upward): Likewise.
35377 (cpow_test): Use END_COMPLEX macro without arguments.
35378 (cproj_test): Likewise.
35379 (creal_test): Use END macro without arguments.
35380 (csin_test): Use END_COMPLEX macro without arguments.
35381 (csinh_test): Likewise.
35382 (csqrt_test): Likewise.
35383 (ctan_test): Likewise.
35384 (ctan_test_tonearest): Likewise.
35385 (ctan_test_towardzero): Likewise.
35386 (ctan_test_downward): Likewise.
35387 (ctan_test_upward): Likewise.
35388 (ctanh_test): Likewise.
35389 (ctanh_test_tonearest): Likewise.
35390 (ctanh_test_towardzero): Likewise.
35391 (ctanh_test_downward): Likewise.
35392 (ctanh_test_upward): Likewise.
35393 (erf_test): Use END macro without arguments.
35394 (erfc_test): Likewise.
35395 (exp_test): Likewise.
35396 (exp_test_tonearest): Likewise.
35397 (exp_test_towardzero): Likewise.
35398 (exp_test_downward): Likewise.
35399 (exp_test_upward): Likewise.
35400 (exp10_test): Likewise.
35401 (exp2_test): Likewise.
35402 (expm1_test): Likewise.
35403 (fabs_test): Likewise.
35404 (fdim_test): Likewise.
35405 (finite_test): Likewise.
35406 (floor_test): Likewise.
35407 (fma_test): Likewise.
35408 (fma_test_towardzero): Likewise.
35409 (fma_test_downward): Likewise.
35410 (fma_test_upward): Likewise.
35411 (fmax_test): Likewise.
35412 (fmin_test): Likewise.
35413 (fmod_test): Likewise.
35414 (fpclassify_test): Likewise.
35415 (frexp_test): Likewise.
35416 (gamma_test): Likewise.
35417 (hypot_test): Likewise.
35418 (ilogb_test): Likewise.
35419 (isfinite_test): Likewise.
35420 (isgreater_test): Likewise.
35421 (isgreaterequal_test): Likewise.
35422 (isinf_test): Likewise.
35423 (isless_test): Likewise.
35424 (islessequal_test): Likewise.
35425 (islessgreater_test): Likewise.
35426 (isnan_test): Likewise.
35427 (isnormal_test): Likewise.
35428 (issignaling_test): Likewise.
35429 (isunordered_test): Likewise.
35430 (j0_test): Likewise.
35431 (j1_test): Likewise.
35432 (jn_test): Likewise.
35433 (ldexp_test): Likewise.
35434 (lgamma_test): Likewise.
35435 (lrint_test): Likewise.
35436 (lrint_test_tonearest): Likewise.
35437 (lrint_test_towardzero): Likewise.
35438 (lrint_test_downward): Likewise.
35439 (lrint_test_upward): Likewise.
35440 (llrint_test): Likewise.
35441 (llrint_test_tonearest): Likewise.
35442 (llrint_test_towardzero): Likewise.
35443 (llrint_test_downward): Likewise.
35444 (llrint_test_upward): Likewise.
35445 (log_test): Likewise.
35446 (log10_test): Likewise.
35447 (log1p_test): Likewise.
35448 (log2_test): Likewise.
35449 (logb_test): Likewise.
35450 (logb_test_downward): Likewise.
35451 (lround_test): Likewise.
35452 (llround_test): Likewise.
35453 (modf_test): Likewise.
35454 (nearbyint_test): Likewise.
35455 (nextafter_test): Likewise.
35456 (nexttoward_test): Likewise.
35457 (pow_test): Likewise.
35458 (pow_test_tonearest): Likewise.
35459 (pow_test_towardzero): Likewise.
35460 (pow_test_downward): Likewise.
35461 (pow_test_upward): Likewise.
35462 (remainder_test): Likewise.
35463 (remainder_test_tonearest): Likewise.
35464 (remainder_test_towardzero): Likewise.
35465 (remainder_test_downward): Likewise.
35466 (remainder_test_upward): Likewise.
35467 (remquo_test): Likewise.
35468 (rint_test): Likewise.
35469 (rint_test_tonearest): Likewise.
35470 (rint_test_towardzero): Likewise.
35471 (rint_test_downward): Likewise.
35472 (rint_test_upward): Likewise.
35473 (round_test): Likewise.
35474 (scalb_test): Likewise.
35475 (scalbn_test): Likewise.
35476 (scalbln_test): Likewise.
35477 (signbit_test): Likewise.
35478 (sin_test): Likewise.
35479 (sin_test_tonearest): Likewise.
35480 (sin_test_towardzero): Likewise.
35481 (sin_test_downward): Likewise.
35482 (sin_test_upward): Likewise.
35483 (sincos_test): Likewise.
35484 (sinh_test): Likewise.
35485 (sinh_test_tonearest): Likewise.
35486 (sinh_test_towardzero): Likewise.
35487 (sinh_test_downward): Likewise.
35488 (sinh_test_upward): Likewise.
35489 (sqrt_test): Likewise.
35490 (tan_test): Likewise.
35491 (tan_test_tonearest): Likewise.
35492 (tan_test_towardzero): Likewise.
35493 (tan_test_downward): Likewise.
35494 (tan_test_upward): Likewise.
35495 (tanh_test): Likewise.
35496 (tgamma_test): Likewise.
35497 (trunc_test): Likewise.
35498 (y0_test): Likewise.
35499 (y1_test): Likewise.
35500 (yn_test): Likewise.
35501 (significand_test): Likewise.
35502
35503 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35504
35505 [BZ #15381]
35506 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35507
35508 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35509
35510 [BZ #14894]
35511 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35512 __ppc_mdoio and __ppc_mdoom.
35513 * manual/platform.texi: Document new functions __ppc_yield,
35514 __ppc_mdoio and __ppc_mdoom.
35515
35516 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35517
35518 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35519 (main): Mention "tls" pseudo-hwcap is legacy.
35520 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35521
35522 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35523
35524 * math/gen-libm-test.pl (parse_args): Output only string of
35525 arguments as text for test name, not full call or descriptions of
35526 tests for extra outputs.
35527 (generate_testfile): Do not pass function name to parse_args.
35528 Generate this_func variable from START.
35529 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35530 field to arg_str.
35531 (struct test_ff_f_data): Likewise.
35532 (test_ff_f_data_nexttoward): Likewise.
35533 (struct test_fi_f_data): Likewise.
35534 (struct test_fl_f_data): Likewise.
35535 (struct test_if_f_data): Likewise.
35536 (struct test_fff_f_data): Likewise.
35537 (struct test_c_f_data): Likewise.
35538 (struct test_f_f1_data): Likewise. Remove field extra_name.
35539 (struct test_fF_f1_data): Likewise.
35540 (struct test_ffI_f1_data): Likewise.
35541 (struct test_c_c_data): Rename test_name field to arg_str.
35542 (struct test_cc_c_data): Likewise.
35543 (struct test_f_i_data): Likewise.
35544 (struct test_ff_i_data): Likewise.
35545 (struct test_f_l_data): Likewise.
35546 (struct test_f_L_data): Likewise.
35547 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35548 and extra2_name.
35549 (COMMON_TEST_SETUP): New macro.
35550 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35551 (COMMON_TEST_CLEANUP): Likewise.
35552 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35553 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35554 macros.
35555 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35556 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35557 macros.
35558 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35559 (RUN_TEST_fff_f): Take argument string. Call new setup and
35560 cleanup macros.
35561 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35562 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35563 macros.
35564 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35565 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35566 macros.
35567 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35568 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35569 cleanup macros.
35570 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35571 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35572 cleanup macros.
35573 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35574 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35575 cleanup macros.
35576 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35577 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35578 macros.
35579 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35580 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35581 macros.
35582 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35583 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35584 macros.
35585 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35586 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35587 cleanup macros.
35588 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35589 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35590 cleanup macros.
35591 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35592 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35593 macros.
35594 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35595 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35596 cleanup macros.
35597 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35598 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35599 macros.
35600 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35601 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35602 macros.
35603 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35604 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35605 cleanup macros.
35606 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35607
35608 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35609
35610 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35611 to _sifields.sigfault.
35612 (si_addr_lsb): Define new macro.
35613 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35614 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35615 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35616
35617 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35618
35619 [BZ #15441]
35620 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35621 returns -1.
35622 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35623 null return -1.
35624 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35625 loading the domain.
35626
35627 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35628
35629 * math/gen-libm-test.pl (parse_args): Do not include expected
35630 result in test name.
35631 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35632 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35633 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35634 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35635 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35637
35638 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35639
35640 * benchtests/Makefile: Sort function entries.
35641
35642 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35643 tanh, asinh, acosh, atanh.
35644 * benchtests/acos-inputs: New file.
35645 * benchtests/acosh-inputs: New file.
35646 * benchtests/asin-inputs: New file.
35647 * benchtests/asinh-inputs: New file.
35648 * benchtests/atanh-inputs: New file.
35649 * benchtests/cosh-inputs: New file.
35650 * benchtests/log-inputs: New file.
35651 * benchtests/sinh-inputs: New file.
35652 * benchtests/tanh-inputs: New file.
35653
35654 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35655
35656 [BZ #15339]
35657 * posix/tst-getaddrinfo4.c: New test.
35658 * posix/Makefile (tests): Add it.
35659
35660 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35661
35662 [BZ #15339]
35663 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35664 when no services were used.
35665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35666 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35667
35668 2013-05-21 Andreas Schwab <schwab@suse.de>
35669
35670 [BZ #15014]
35671 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35672 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35673 successful.
35674 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35675 redundant variable declarations and reallocation of buffer when
35676 parsing as IPv6 address. Always set NSS status when called from
35677 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35678 buffer too small. Correct computation of needed size.
35679 * nss/Makefile (tests): Add test-digits-dots.
35680 * nss/test-digits-dots.c: New test.
35681
35682 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35683
35684 * benchtests/Makefile: Remove instructions for adding
35685 benchmark tests.
35686 * benchtests/README: New file to explain how to execute and
35687 enhance the benchmark tests.
35688
35689 2013-05-21 Andreas Schwab <schwab@suse.de>
35690
35691 [BZ #15493]
35692 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35693 * setjmp/tst-sigsetjmp.c: New test.
35694
35695 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35696
35697 * sysdeps/x86_64/memset.S (memset): New implementation.
35698 (__bzero): Likewise.
35699 (__memset_tail): New function.
35700
35701 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35702
35703 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35704 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35705 __memcpy_sse2_unaligned ifunc selection.
35706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35707 Add memcpy-sse2-unaligned.S.
35708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35709 Add: __memcpy_sse2_unaligned.
35710
35711 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35712
35713 [BZ #15490]
35714 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35715 math_force_eval before restoring floating-point envrionment.
35716 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35718 Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35720 <math_private.h>.
35721 (__nearbyintl): Use math_force_eval before restoring
35722 floating-point environment.
35723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35724
35725 * math/gen-libm-test.pl (special_functions): Remove.
35726 (parse_args): Don't handle TEST_extra. Handle functions with no
35727 return value.
35728 * math/libm-test.inc (struct test_sincos_data): Replace with
35729 struct test_fFF_11_data.
35730 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35731 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35732 (sincos_test_data): Change element type to struct
35733 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35734 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35735 RUN_TEST_LOOP_sincos.
35736 * math/README.libm-test: Don't mention special handling of
35737 individual functions.
35738 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35739 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35740 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35741 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35742 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35744
35745 * math/gen-libm-test.pl (get_variable): Remove function.
35746 (parse_args): Don't show pointer parameters to call in test
35747 names. Use "extra output N" in test names for extra outputs
35748 rather than naming variables.
35749
35750 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35751
35752 [BZ #15488]
35753 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35754 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35755 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35756 double tests.
35757 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35758 disable.
35759 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35760 check_long_double.
35761
35762 * math/gen-libm-test.pl (@tests): Remove variable.
35763 ($count): Likewise.
35764 (new_test): Remove function.
35765 (show_exceptions): New function.
35766 (special_functions): Use show_exceptions instead of new_test.
35767 (parse_args): Likewise.
35768 (generate_testfile): Pass only function name in generated call to
35769 print_max_error or print_complex_max_error.
35770 (get_ulps): Do not handle complex tests specially.
35771 (output_test): Rename to ...
35772 (get_all_ulps_for_test): ... this. Return a string rather than
35773 printing to a file. Require ulps to be present.
35774 (output_ulps): Generate arrays rather than #defines.
35775 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35776 (struct ulp_data): New type.
35777 (BUILD_COMPLEX_ULP): Remove macro.
35778 (compare_ulp_data): New function.
35779 (find_ulps): Likewise.
35780 (find_test_ulps): Likewise.
35781 (find_function_ulps): Likewise.
35782 (find_complex_function_ulps): Likewise.
35783 (print_max_error): Determine allowed ulps using
35784 find_function_ulps.
35785 (print_complex_max_error): Determine allowed ulps using
35786 find_complex_function_ulps.
35787 (check_float_internal): Determine max ulps using find_test_ulps.
35788 (check_float): Do not take max_ulp parameter. Update call to
35789 check_float_internal.
35790 (check_complex): Likewise.
35791 (check_int): Do not take max_ulp parameter.
35792 (check_long): Likewise.
35793 (check_bool): Likewise.
35794 (check_longlong): Likewise.
35795 (struct test_f_f_data): Remove max_ulp field.
35796 (struct test_ff_f_data): Likewise.
35797 (struct test_ff_f_data_nexttoward): Likewise.
35798 (struct test_fi_f_data): Likewise.
35799 (struct test_fl_f_data): Likewise.
35800 (struct test_if_f_data): Likewise.
35801 (struct test_fff_f_data): Likewise.
35802 (struct test_c_f_data): Likewise.
35803 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35804 (struct test_fF_f1_data): Likewise.
35805 (struct test_ffI_f1_data): Likewise.
35806 (struct test_c_c_data): Remove max_ulp field.
35807 (struct test_cc_c_data): Likewise.
35808 (struct test_f_i_data): Likewise.
35809 (struct test_ff_i_data): Likewise.
35810 (struct test_f_l_data): Likewise.
35811 (struct test_f_L_data): Likewise.
35812 (struct test_sincos_data): Likewise.
35813 (RUN_TEST_f_f): Do not handle ulps.
35814 (RUN_TEST_LOOP_f_f): Likewise.
35815 (RUN_TEST_2_f): Likewise.
35816 (RUN_TEST_LOOP_2_f): Likewise.
35817 (RUN_TEST_fff_f): Likewise.
35818 (RUN_TEST_LOOP_fff_f): Likewise.
35819 (RUN_TEST_c_f): Likewise.
35820 (RUN_TEST_LOOP_c_f): Likewise.
35821 (RUN_TEST_f_f1): Likewise.
35822 (RUN_TEST_LOOP_f_f1): Likewise.
35823 (RUN_TEST_fF_f1): Likewise.
35824 (RUN_TEST_LOOP_fF_f1): Likewise.
35825 (RUN_TEST_fI_f1): Likewise.
35826 (RUN_TEST_LOOP_fI_f1): Likewise.
35827 (RUN_TEST_ffI_f1): Likewise.
35828 (RUN_TEST_LOOP_ffI_f1): Likewise.
35829 (RUN_TEST_c_c): Likewise.
35830 (RUN_TEST_LOOP_c_c): Likewise.
35831 (RUN_TEST_cc_c): Likewise.
35832 (RUN_TEST_LOOP_cc_c): Likewise.
35833 (RUN_TEST_f_i): Likewise.
35834 (RUN_TEST_LOOP_f_i): Likewise.
35835 (RUN_TEST_f_i_tg): Likewise.
35836 (RUN_TEST_LOOP_f_i_tg): Likewise.
35837 (RUN_TEST_ff_i_tg): Likewise.
35838 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35839 (RUN_TEST_f_b): Likewise.
35840 (RUN_TEST_LOOP_f_b): Likewise.
35841 (RUN_TEST_f_b_tg): Likewise.
35842 (RUN_TEST_LOOP_f_b_tg): Likewise.
35843 (RUN_TEST_f_l): Likewise.
35844 (RUN_TEST_LOOP_f_l): Likewise.
35845 (RUN_TEST_f_L): Likewise.
35846 (RUN_TEST_LOOP_f_L): Likewise.
35847 (RUN_TEST_sincos): Likewise.
35848 (RUN_TEST_LOOP_sincos): Likewise.
35849
35850 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35851
35852 [BZ #15480]
35853 [BZ #15485]
35854 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35855 main case of finite arguments, set rounding mode to FE_TONEAREST
35856 and discard exceptions.
35857 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35858 exceptions.
35859 (remainder_tonearest_test_data): New variable.
35860 (remainder_test_tonearest): New function.
35861 (remainder_towardzero_test_data): New variable.
35862 (remainder_test_towardzero): New function.
35863 (remainder_downward_test_data): New variable.
35864 (remainder_test_downward): New function.
35865 (remainder_upward_test_data): New variable.
35866 (remainder_test_upward): New function.
35867 (main): Call the new test functions.
35868
35869 * math/libm-test.inc (struct test_f_f1_data): Remove field
35870 extra_init.
35871 (struct test_fF_f1_data): Likewise.
35872 (struct test_ffI_f1_data): Likewise.
35873 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35874 based on value of EXTRA_EXPECTED.
35875 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35876 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35877 EXTRA_VAR based on value of EXTRA_EXPECTED.
35878 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35879 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35880 EXTRA_VAR based on value of EXTRA_EXPECTED.
35881 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35882 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35883 EXTRA_VAR based on value of EXTRA_EXPECTED.
35884 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35885 * math/gen-libm-test.pl (parse_args): Don't output initializers
35886 for extra output values.
35887
35888 * math/libm-test.inc (check_int): Expect result to be exactly
35889 equal to expected value and do not handle ulps.
35890 (check_long): Likewise.
35891 (check_longlong): Likewise.
35892
35893 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35894 exceptions.
35895 (cimag_test_data): Likewise.
35896 (conj_test_data): Likewise.
35897 (copysign_test_data): Likewise.
35898 (cproj_test_data): Likewise.
35899 (creal_test_data): Likewise.
35900 (fabs_test_data): Likewise.
35901 (fdim_test_data): Likewise.
35902 (finite_test_data): Likewise.
35903 (floor_test_data): Likewise.
35904 (fmax_test_data): Likewise.
35905 (fmin_test_data): Likewise.
35906 (fmod_test_data): Likewise.
35907 (fpclassify_test_data): Likewise.
35908 (frexp_test_data): Likewise.
35909 (ilogb_test_data): Likewise.
35910 (isfinite_test_data): Likewise.
35911 (isgreater_test_data): Likewise.
35912 (isgreaterequal_test_data): Likewise.
35913 (isinf_test_data): Likewise.
35914 (isless_test_data): Likewise.
35915 (islessequal_test_data): Likewise.
35916 (islessgreater_test_data): Likewise.
35917 (isnan_test_data): Likewise.
35918 (isnormal_test_data): Likewise.
35919 (issignaling_test_data): Likewise.
35920 (isunordered_test_data): Likewise.
35921 (ldexp_test_data): Likewise.
35922 (lrint_test_data): Likewise.
35923 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35924 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35925 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35926 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35927 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35928 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35929 test input.
35930 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35931 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35932 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35933 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35934 that test input.
35935 (lrint_downward_test_data): Test for "inexact" exceptions.
35936 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35937 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35938 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35939 test input.
35940 (lrint_upward_test_data): Test for "inexact" exceptions.
35941 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35942 test input.
35943 (llrint_test_data): Test for "inexact" exceptions.
35944 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35945 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35946 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35947 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35948 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35949 (llrint_downward_test_data): Test for "inexact" exceptions.
35950 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35951 (llrint_upward_test_data): Test for "inexact" exceptions.
35952 (logb_test_data): Likewise.
35953 (logb_downward_test_data): Likewise.
35954 (nextafter_test_data): Likewise.
35955 (nexttoward_test_data): Likewise.
35956 (remainder_test_data): Likewise.
35957 (remquo_test_data): Likewise.
35958 (scalbn_test_data): Likewise.
35959 (scalbln_test_data): Likewise.
35960 (signbit_test_data): Likewise.
35961 (sqrt_test_data): Likewise.
35962 (significand_test_data): Likewise.
35963
35964 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35965
35966 [BZ #15424]
35967 * benchtests/bench-modf.c (struct args): Mark arg0 as
35968 volatile.
35969 * scripts/bench.pl: Mark members of struct args as volatile.
35970
35971 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35972
35973 [BZ # 15497]
35974 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35975 negative infinity on POWER6 or lower.
35976 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35977
35978 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35979
35980 [BZ #15442]
35981 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35982 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35983 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35984 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35985 (_FP_SETQNAN): New macro.
35986 (_FP_SETQNAN_SEMIRAW): Likewise.
35987 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35988 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35989 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35990 (FP_EXTEND): Use _FP_FRAC_SNANP.
35991 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35992 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35993 into account.
35994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35995 New macro.
35996 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35997 Likewise.
35998
35999 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36000
36001 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36002 with DIVIDE_BY_ZERO_EXCEPTION.
36003 (gamma_test_data): Likewise.
36004 (lgamma_test_data): Likewise.
36005 (log_test_data): Likewise.
36006 (log10_test_data): Likewise.
36007 (log2_test_data): Likewise.
36008 (tgamma_test_data): Likewise.
36009
36010 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36011 (acos_test_tonearest): Likewise.
36012 (acos_test_towardzero): Likewise.
36013 (acos_test_downward): Likewise.
36014 (acos_test_upward): Likewise.
36015 (acosh_test): Likewise.
36016 (asin_test): Likewise.
36017 (asin_test_tonearest): Likewise.
36018 (asin_test_towardzero): Likewise.
36019 (asin_test_downward): Likewise.
36020 (asin_test_upward): Likewise.
36021 (asinh_test): Likewise.
36022 (atan_test): Likewise.
36023 (atanh_test): Likewise.
36024 (atan2_test): Likewise.
36025 (cabs_test): Likewise.
36026 (cacos_test): Likewise.
36027 (cacosh_test): Likewise.
36028 (casin_test): Likewise.
36029 (casinh_test): Likewise.
36030 (catan_test): Likewise.
36031 (catanh_test): Likewise.
36032 (cbrt_test): Likewise.
36033 (ccos_test): Likewise.
36034 (ccosh_test): Likewise.
36035 (cexp_test): Likewise.
36036 (clog_test): Likewise.
36037 (clog10_test): Likewise.
36038 (cos_test): Likewise.
36039 (cos_test_tonearest): Likewise.
36040 (cos_test_towardzero): Likewise.
36041 (cos_test_downward): Likewise.
36042 (cos_test_upward): Likewise.
36043 (cosh_test): Likewise.
36044 (cosh_test_tonearest): Likewise.
36045 (cosh_test_towardzero): Likewise.
36046 (cosh_test_downward): Likewise.
36047 (cosh_test_upward): Likewise.
36048 (cpow_test): Likewise.
36049 (csin_test): Likewise.
36050 (csinh_test): Likewise.
36051 (csqrt_test): Likewise.
36052 (ctan_test): Likewise.
36053 (ctan_test_tonearest): Likewise.
36054 (ctan_test_towardzero): Likewise.
36055 (ctan_test_downward): Likewise.
36056 (ctan_test_upward): Likewise.
36057 (ctanh_test): Likewise.
36058 (ctanh_test_tonearest): Likewise.
36059 (ctanh_test_towardzero): Likewise.
36060 (ctanh_test_downward): Likewise.
36061 (ctanh_test_upward): Likewise.
36062 (erf_test): Likewise.
36063 (erfc_test): Likewise.
36064 (exp_test): Likewise.
36065 (exp_test_tonearest): Likewise.
36066 (exp_test_towardzero): Likewise.
36067 (exp_test_downward): Likewise.
36068 (exp_test_upward): Likewise.
36069 (exp10_test): Likewise.
36070 (exp2_test): Likewise.
36071 (expm1_test): Likewise.
36072 (fmod_test): Likewise.
36073 (gamma_test): Likewise.
36074 (hypot_test): Likewise.
36075 (j0_test): Likewise.
36076 (j1_test): Likewise.
36077 (jn_test): Likewise.
36078 (lgamma_test): Likewise.
36079 (log_test): Likewise.
36080 (log10_test): Likewise.
36081 (log1p_test): Likewise.
36082 (log2_test): Likewise.
36083 (logb_test_downward): Likewise.
36084 (pow_test): Likewise.
36085 (pow_test_tonearest): Likewise.
36086 (pow_test_towardzero): Likewise.
36087 (pow_test_downward): Likewise.
36088 (pow_test_upward): Likewise.
36089 (remainder_test): Likewise.
36090 (remquo_test): Likewise.
36091 (sin_test): Likewise.
36092 (sin_test_tonearest): Likewise.
36093 (sin_test_towardzero): Likewise.
36094 (sin_test_downward): Likewise.
36095 (sin_test_upward): Likewise.
36096 (sincos_test): Likewise.
36097 (sinh_test): Likewise.
36098 (sinh_test_tonearest): Likewise.
36099 (sinh_test_towardzero): Likewise.
36100 (sinh_test_downward): Likewise.
36101 (sinh_test_upward): Likewise.
36102 (sqrt_test): Likewise.
36103 (tan_test): Likewise.
36104 (tan_test_tonearest): Likewise.
36105 (tan_test_towardzero): Likewise.
36106 (tan_test_downward): Likewise.
36107 (tan_test_upward): Likewise.
36108 (tanh_test): Likewise.
36109 (tgamma_test): Likewise.
36110 (y0_test): Likewise.
36111 (y1_test): Likewise.
36112 (yn_test): Likewise.
36113
36114 * math/gen-libm-test.pl (adjust_arg): Remove function.
36115 (special_function): Remove argument $in_func. Only handle
36116 generating output for tables of tests, not inside functions.
36117 (parse_args): Likewise.
36118 (generate_testfile): Remove variable $in_func. Update call to
36119 parse_args.
36120 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36121 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36122 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36123 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36124 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36125 (MAX_VALUE_INIT): Rename macro to max_value.
36126 (MIN_VALUE_INIT): Rename macro to min_value.
36127 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36128 (plus_zero): Remove variable.
36129 (minus_zero): Likewise.
36130 (plus_infty): Likewise.
36131 (minus_infty): Likewise.
36132 (qnan_value): Likewise.
36133 (max_value): Likewise.
36134 (min_value): Likewise.
36135 (min_subnorm_value): Likewise.
36136
36137 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36138
36139 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36140 uint64_t or uint32_t usage.
36141 * crypt/sha256-block.c: Likewise.
36142 * crypt/sha256-crypt.c: Likewise.
36143 * crypt/sha256.c: Likewise.
36144 * crypt/sha512-block.c: Likewise.
36145 * crypt/sha512-crypt.c: Likewise.
36146 * crypt/sha512.c: Likewise.
36147 * debug/backtrace-tst.c: Likewise.
36148 * debug/pcprofiledump.c: Likewise.
36149 * elf/cache.c: Likewise.
36150 * elf/dl-cache.c: Likewise.
36151 * elf/dl-misc.c: Likewise.
36152 * elf/dl-profile.c: Likewise.
36153 * elf/dl-support.c: Likewise.
36154 * elf/ldconfig.c: Likewise.
36155 * elf/sprof.c: Likewise.
36156 * iconv/dummy-repertoire.c: Likewise.
36157 * iconv/iconv_charmap.c: Likewise.
36158 * iconv/skeleton.c: Likewise.
36159 * iconvdata/8bit-generic.c: Likewise.
36160 * iconvdata/cp737.h: Likewise.
36161 * iconvdata/cp775.h: Likewise.
36162 * iconvdata/ibm1008.h: Likewise.
36163 * iconvdata/ibm1025.h: Likewise.
36164 * iconvdata/ibm1046.h: Likewise.
36165 * iconvdata/ibm1097.h: Likewise.
36166 * iconvdata/ibm1112.h: Likewise.
36167 * iconvdata/ibm1122.h: Likewise.
36168 * iconvdata/ibm1123.h: Likewise.
36169 * iconvdata/ibm1124.h: Likewise.
36170 * iconvdata/ibm1129.h: Likewise.
36171 * iconvdata/ibm1130.h: Likewise.
36172 * iconvdata/ibm1132.h: Likewise.
36173 * iconvdata/ibm1133.h: Likewise.
36174 * iconvdata/ibm1137.h: Likewise.
36175 * iconvdata/ibm1140.h: Likewise.
36176 * iconvdata/ibm1141.h: Likewise.
36177 * iconvdata/ibm1142.h: Likewise.
36178 * iconvdata/ibm1143.h: Likewise.
36179 * iconvdata/ibm1144.h: Likewise.
36180 * iconvdata/ibm1145.h: Likewise.
36181 * iconvdata/ibm1146.h: Likewise.
36182 * iconvdata/ibm1147.h: Likewise.
36183 * iconvdata/ibm1148.h: Likewise.
36184 * iconvdata/ibm1149.h: Likewise.
36185 * iconvdata/ibm1153.h: Likewise.
36186 * iconvdata/ibm1154.h: Likewise.
36187 * iconvdata/ibm1155.h: Likewise.
36188 * iconvdata/ibm1156.h: Likewise.
36189 * iconvdata/ibm1157.h: Likewise.
36190 * iconvdata/ibm1158.h: Likewise.
36191 * iconvdata/ibm1160.h: Likewise.
36192 * iconvdata/ibm1161.h: Likewise.
36193 * iconvdata/ibm1162.h: Likewise.
36194 * iconvdata/ibm1163.h: Likewise.
36195 * iconvdata/ibm1164.h: Likewise.
36196 * iconvdata/ibm1166.h: Likewise.
36197 * iconvdata/ibm1167.h: Likewise.
36198 * iconvdata/ibm12712.h: Likewise.
36199 * iconvdata/ibm1390.h: Likewise.
36200 * iconvdata/ibm1399.h: Likewise.
36201 * iconvdata/ibm16804.h: Likewise.
36202 * iconvdata/ibm4517.h: Likewise.
36203 * iconvdata/ibm4899.h: Likewise.
36204 * iconvdata/ibm4909.h: Likewise.
36205 * iconvdata/ibm4971.h: Likewise.
36206 * iconvdata/ibm5347.h: Likewise.
36207 * iconvdata/ibm803.h: Likewise.
36208 * iconvdata/ibm856.h: Likewise.
36209 * iconvdata/ibm901.h: Likewise.
36210 * iconvdata/ibm902.h: Likewise.
36211 * iconvdata/ibm9030.h: Likewise.
36212 * iconvdata/ibm9066.h: Likewise.
36213 * iconvdata/ibm921.h: Likewise.
36214 * iconvdata/ibm922.h: Likewise.
36215 * iconvdata/ibm9448.h: Likewise.
36216 * iconvdata/isiri-3342.h: Likewise.
36217 * iconvdata/jis0201.h: Likewise.
36218 * include/link.h: Likewise.
36219 * include/netdb.h: Likewise.
36220 * inet/check_native.c: Likewise.
36221 * inet/check_pf.c: Likewise.
36222 * inet/getipv4sourcefilter.c: Likewise.
36223 * inet/getnameinfo.c: Likewise.
36224 * inet/getsourcefilter.c: Likewise.
36225 * inet/htonl.c: Likewise.
36226 * inet/setipv4sourcefilter.c: Likewise.
36227 * inet/setsourcefilter.c: Likewise.
36228 * inet/test-inet6_opt.c: Likewise.
36229 * inet/tst-network.c: Likewise.
36230 * locale/C-collate.c: Likewise.
36231 * locale/C-ctype.c: Likewise.
36232 * locale/C-time.c: Likewise.
36233 * locale/C-translit.h: Likewise.
36234 * locale/loadarchive.c: Likewise.
36235 * locale/programs/3level.h: Likewise.
36236 * locale/programs/charmap.c: Likewise.
36237 * locale/programs/charmap.h: Likewise.
36238 * locale/programs/ld-address.c: Likewise.
36239 * locale/programs/ld-collate.c: Likewise.
36240 * locale/programs/ld-ctype.c: Likewise.
36241 * locale/programs/ld-identification.c: Likewise.
36242 * locale/programs/ld-measurement.c: Likewise.
36243 * locale/programs/ld-messages.c: Likewise.
36244 * locale/programs/ld-monetary.c: Likewise.
36245 * locale/programs/ld-name.c: Likewise.
36246 * locale/programs/ld-numeric.c: Likewise.
36247 * locale/programs/ld-paper.c: Likewise.
36248 * locale/programs/ld-telephone.c: Likewise.
36249 * locale/programs/ld-time.c: Likewise.
36250 * locale/programs/linereader.c: Likewise.
36251 * locale/programs/locale.c: Likewise.
36252 * locale/programs/locarchive.c: Likewise.
36253 * locale/programs/locfile.h: Likewise.
36254 * locale/programs/repertoire.c: Likewise.
36255 * locale/programs/simple-hash.c: Likewise.
36256 * locale/programs/simple-hash.h: Likewise.
36257 * malloc/memusage.c: Likewise.
36258 * malloc/memusagestat.c: Likewise.
36259 * nis/nis_defaults.c: Likewise.
36260 * nis/nis_hash.c: Likewise.
36261 * nis/nis_print.c: Likewise.
36262 * nis/nis_xdr.c: Likewise.
36263 * nscd/connections.c: Likewise.
36264 * nscd/hstcache.c: Likewise.
36265 * nscd/nscd_gethst_r.c: Likewise.
36266 * nscd/nscd_getserv_r.c: Likewise.
36267 * nscd/nscd_helper.c: Likewise.
36268 * nscd/servicescache.c: Likewise.
36269 * nss/makedb.c: Likewise.
36270 * nss/nss_db/db-XXX.c: Likewise.
36271 * nss/nss_db/db-initgroups.c: Likewise.
36272 * nss/nss_db/db-netgrp.c: Likewise.
36273 * nss/nss_files/files-network.c: Likewise.
36274 * nss/nss_files/files-parse.c: Likewise.
36275 * posix/bug-regex5.c: Likewise.
36276 * posix/fnmatch_loop.c: Likewise.
36277 * posix/regcomp.c: Likewise.
36278 * posix/regexec.c: Likewise.
36279 * posix/tst-rfc3484-2.c: Likewise.
36280 * posix/tst-rfc3484-3.c: Likewise.
36281 * posix/tst-rfc3484.c: Likewise.
36282 * resolv/nss_dns/dns-canon.c: Likewise.
36283 * resolv/nss_dns/dns-network.c: Likewise.
36284 * resolv/res_init.c: Likewise.
36285 * resolv/res_mkquery.c: Likewise.
36286 * resolv/tst-aton.c: Likewise.
36287 * stdlib/cxa_atexit.c: Likewise.
36288 * stdlib/cxa_finalize.c: Likewise.
36289 * stdlib/gen-fpioconst.c: Likewise.
36290 * stdlib/strtol_l.c: Likewise.
36291 * string/tst-endian.c: Likewise.
36292 * sunrpc/auth_des.c: Likewise.
36293 * sunrpc/clnt_udp.c: Likewise.
36294 * sunrpc/rtime.c: Likewise.
36295 * sunrpc/svcauth_des.c: Likewise.
36296 * sunrpc/xdr.c: Likewise.
36297 * sunrpc/xdr_intXX_t.c: Likewise.
36298 * sunrpc/xdr_rec.c: Likewise.
36299 * sysdeps/generic/ldconfig.h: Likewise.
36300 * sysdeps/generic/ldsodefs.h: Likewise.
36301 * sysdeps/generic/memusage.h: Likewise.
36302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36305 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36308 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36309 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36310 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36312 * sysdeps/posix/getaddrinfo.c: Likewise.
36313 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36314 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36315 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36316 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36317 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36318 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36319 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36320 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36321 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36322 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36323 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36324 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36325 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36326 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36327 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36328 * sysdeps/x86_64/dl-tls.h: Likewise.
36329 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36330 * time/alt_digit.c: Likewise.
36331 * time/era.c: Likewise.
36332 * wcsmbs/tst-c16c32-1.c: Likewise.
36333
36334 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36335
36336 * math/libm-test.inc (struct test_sincos_data): New type.
36337 (RUN_TEST_LOOP_sincos): New macro.
36338 (sincos_test_data): New variable.
36339 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36340
36341 2013-05-16 Richard Henderson <rth@redhat.com>
36342
36343 * math/atest-exp2.c (LIMB64): New macro.
36344 (CONSTSZ): New macro.
36345 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36346 (hexdig): Move ...
36347 (print_mpn_fp): ... to function scope.
36348 (read_mpn_hex): Remove.
36349 (get_log2): Remove.
36350 (exp2_mpn): Use mp_log2.
36351 (main): Use mp_exp1.
36352
36353 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36354
36355 * math/libm-test.inc: Remove comment about not testing "inexact"
36356 exceptions.
36357 (INEXACT_EXCEPTION): New macro.
36358 (NO_INEXACT_EXCEPTION): Likewise.
36359 (INVALID_EXCEPTION_OK): Update value.
36360 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36361 (OVERFLOW_EXCEPTION_OK): Likewise.
36362 (UNDERFLOW_EXCEPTION_OK): Likewise.
36363 (IGNORE_ZERO_INF_SIGN): Likewise.
36364 (ERRNO_UNCHANGED): Likewise.
36365 (ERRNO_EDOM): Likewise.
36366 (ERRNO_ERANGE): Likewise.
36367 (test_exceptions): Handle testing "inexact" exceptions.
36368 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36369 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36370 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36371 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36372 INEXACT_EXCEPTION.
36373 (rint_towardzero_test_data): Likewise.
36374 (rint_downward_test_data): Likewise.
36375 (rint_upward_test_data): Likewise.
36376
36377 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36378 with OVERFLOW_EXCEPTION.
36379 (exp10_test_data): Likewise.
36380 (exp2_test_data): Likewise.
36381 (expm1_test_data): Likewise.
36382 (lgamma_test_data): Likewise.
36383 (pow_test_data): Likewise.
36384 (tgamma_test_data): Likewise.
36385 (yn_test_data): Remove duplicate test of overflow.
36386
36387 * math/libm-test.inc (struct test_cc_c_data): New type.
36388 (RUN_TEST_LOOP_cc_c): New macro.
36389 (cpow_test_data): New variable.
36390 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36391
36392 * math/libm-test.inc (struct test_f_L_data): New type.
36393 (RUN_TEST_LOOP_f_L): New macro.
36394 (llrint_test_data): New variable.
36395 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36396 (llrint_tonearest_test_data): New variable.
36397 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36398 (llrint_towardzero_test_data): New variable.
36399 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36400 (llrint_downward_test_data): New variable.
36401 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36402 (llrint_upward_test_data): New variable.
36403 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36404 (llround_test_data): New variable.
36405 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36406
36407 2013-05-13 Peter Collingbourne <pcc@google.com>
36408
36409 * math/atest-exp2.c (get_log2): Remove const attribute.
36410
36411 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36412
36413 * math/libm-test.inc (struct test_f_l_data): New type.
36414 (RUN_TEST_LOOP_f_l): New macro.
36415 (lrint_test_data): New variable.
36416 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36417 (lrint_tonearest_test_data): New variable.
36418 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36419 (lrint_towardzero_test_data): New variable.
36420 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36421 (lrint_downward_test_data): New variable.
36422 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36423 (lrint_upward_test_data): New variable.
36424 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36425 (lround_test_data): New variable.
36426 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36427
36428 2013-05-15 Peter Collingbourne <pcc@google.com>
36429
36430 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36431 (EXTRACT_WORDS64) Use where appropriate.
36432 (INSERT_WORDS64) Likewise.
36433
36434 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36435 constraints with x constraints.
36436 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36437
36438 * malloc/obstack.c (_obstack_compat): Add initializer.
36439
36440 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36441
36442 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36443 si_trapno and add si_addr_lsb to _sifields.sigfault.
36444 (si_trapno): Remove macro.
36445 (si_addr_lsb): Define new macro.
36446 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36447
36448 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36449
36450 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36451 instead of TEST_f_l.
36452 (llrint_test_tonearest): Likewise.
36453 (llrint_test_towardzero): Likewise.
36454 (llrint_test_downward): Likewise.
36455 (llrint_test_upward): Likewise.
36456 (llround_test): Likewise.
36457
36458 * math/libm-test.inc (struct test_f_i_data): Add comment.
36459 (RUN_TEST_LOOP_f_b): New macro.
36460 (RUN_TEST_LOOP_f_b_tg): Likewise.
36461 (finite_test_data): New variable.
36462 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36463 (isfinite_test_data): New variable.
36464 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36465 (isinf_test_data): New variable.
36466 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36467 (isnan_test_data): New variable.
36468 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36469 (isnormal_test_data): New variable.
36470 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36471 (issignaling_test_data): New variable.
36472 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36473 (signbit_test_data): New variable.
36474 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36475
36476 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36477 with INVALID_EXCEPTION.
36478 (acosh_test_data): Likewise.
36479 (asin_test_data): Likewise.
36480 (atanh_test_data): Likewise.
36481 (fmod_test_data): Likewise.
36482 (log_test_data): Likewise.
36483 (log10_test_data): Likewise.
36484 (log2_test_data): Likewise.
36485 (pow_test_data): Likewise.
36486 (sqrt_test_data): Likewise.
36487 (y0_test_data): Likewise.
36488 (y1_test_data): Likewise.
36489 (yn_test_data): Likewise.
36490
36491 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36492 function contents.
36493
36494 * math/libm-test.inc (struct test_ff_i_data): New type.
36495 (RUN_TEST_LOOP_ff_i_tg): New macro.
36496 (isgreater_test_data): New variable.
36497 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36498 (isgreaterequal_test_data): New variable.
36499 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36500 (isless_test_data): New variable.
36501 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36502 (islessequal_test_data): New variable.
36503 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36504 (islessgreater_test_data): New variable.
36505 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36506 (isunordered_test_data): New variable.
36507 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36508
36509 2013-05-14 David S. Miller <davem@davemloft.net>
36510
36511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36512
36513 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36514
36515 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36516
36517 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36518 extra_test to int.
36519 (struct test_f_i_data): Change type of max_ulp to int.
36520
36521 * math/libm-test.inc (test_ffI_f1_data): New type.
36522 (RUN_TEST_LOOP_ffI_f1): New macro.
36523 (remquo_test_data): New variable.
36524 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36525
36526 * setjmp/tst-setjmp-fp.c: New file.
36527 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36528 (link-libm): New variable.
36529 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36530
36531 * math/libm-test.inc (struct test_f_i_data): New type.
36532 (RUN_TEST_LOOP_f_i): New macro.
36533 (RUN_TEST_LOOP_f_i_tg): Likewise.
36534 (fpclassify_test_data): New variable.
36535 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36536 (ilogb_test_data): New variable.
36537 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36538
36539 * math/libm-test.inc (scalbln_test): Correct function name in END
36540 call.
36541
36542 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36543 (RUN_TEST_LOOP_fI_f1): New macro.
36544 (frexp_test_data): New variable.
36545 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36546
36547 * math/libm-test.inc (struct test_fF_f1_data): New type.
36548 (RUN_TEST_LOOP_fF_f1): New macro.
36549 (modf_test_data): New variable.
36550 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36551
36552 * math/libm-test.inc (struct test_f_f1_data): New type.
36553 (RUN_TEST_LOOP_f_f1): New macro.
36554 (gamma_test_data): New variable.
36555 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36556 (lgamma_test_data): New variable.
36557 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36558
36559 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36560
36561 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36562 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36563 (main): Comment "tls" pseudo-hwcap.
36564
36565 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36566
36567 * math/libm-test.inc (struct test_fl_f_data): New type.
36568 (RUN_TEST_LOOP_fl_f): New variable.
36569 (scalbln_test_data): New variable.
36570 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36571
36572 * math/libm-test.inc (struct test_fi_f_data): New type.
36573 (RUN_TEST_LOOP_fi_f): New macro.
36574 (ldexp_test_data): New variable.
36575 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36576 (scalbn_test_data): New variable.
36577 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36578
36579 * math/libm-test.inc (struct test_c_f_data): New type.
36580 (RUN_TEST_LOOP_c_f): New macro.
36581 (cabs_test_data): New variable.
36582 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36583 (carg_test_data): New variable.
36584 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36585 (cimag_test_data): New variable.
36586 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36587 (creal_test_data): New variable.
36588 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36589
36590 * math/libm-test.inc (struct test_if_f_data): New type.
36591 (RUN_TEST_LOOP_if_f): New macro.
36592 (jn_test_data): New variable.
36593 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36594 (yn_test_data): New variable.
36595 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36596
36597 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36598
36599 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36600
36601 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36602 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36603
36604 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36605
36606 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36607 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36608 (bench-deps): Add bench-timing.h.
36609 * benchtests-bench-skeleton.c: Include bench-timing.h.
36610 (main): Use TIMING_* macros instead of clock_gettime.
36611 * benchtests/bench-timing.h: New file.
36612
36613 [BZ #14582]
36614 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36615 Renamed from _LIB_VERSION.
36616 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36617
36618 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36619
36620 * math/libm-test.inc (struct test_fff_f_data): New type.
36621 (RUN_TEST_LOOP_fff_f): New macro.
36622 (fma_test_data): New variable.
36623 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36624 (fma_towardzero_test_data): New variable.
36625 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36626 (fma_downward_test_data): New variable.
36627 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36628 (fma_upward_test_data): New variable.
36629 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36630
36631 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36632 (struct test_c_c_data): New type.
36633 (RUN_TEST_LOOP_c_c): New macro.
36634 (cacos_test_data): New variable.
36635 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36636 (cacosh_test_data): New variable.
36637 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36638 (casin_test_data): New variable.
36639 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36640 (casinh_test_data): New variable.
36641 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36642 (catan_test_data): New variable.
36643 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36644 (catanh_test_data): New variable.
36645 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36646 (ccos_test_data): New variable.
36647 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36648 (ccosh_test_data): New variable.
36649 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36650 (cexp_test_data): New variable.
36651 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36652 (clog_test_data): New variable.
36653 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36654 (clog10_test_data): New variable.
36655 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36656 (conj_test_data): New variable.
36657 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36658 (cproj_test_data): New variable.
36659 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36660 (csin_test_data): New variable.
36661 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36662 (csinh_test_data): New variable.
36663 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36664 (csqrt_test_data): New variable.
36665 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36666 (ctan_test_data): New variable.
36667 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36668 (ctan_tonearest_test_data): New variable.
36669 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36670 (ctan_towardzero_test_data): New variable.
36671 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36672 (ctan_downward_test_data): New variable.
36673 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36674 (ctan_upward_test_data): New variable.
36675 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36676 (ctanh_test_data): New variable.
36677 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36678 (ctanh_tonearest_test_data): New variable.
36679 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36680 (ctanh_towardzero_test_data): New variable.
36681 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36682 (ctanh_downward_test_data): New variable.
36683 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36684 (ctanh_upward_test_data): New variable.
36685 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36686 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36687 of BUILD_COMPLEX.
36688
36689 * math/libm-test.inc (struct test_ff_f_data): New type.
36690 (struct test_ff_f_data_nexttoward): Likewise.
36691 (RUN_TEST_LOOP_2_f): New macro.
36692 (RUN_TEST_LOOP_ff_f): Likewise.
36693 (atan2_test_data): New variable.
36694 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36695 (copysign_test_data): New variable.
36696 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36697 (fdim_test_data): New variable.
36698 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36699 (fmax_test_data): New variable.
36700 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36701 (fmin_test_data): New variable.
36702 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36703 (fmod_test_data): New variable.
36704 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36705 (hypot_test_data): New variable.
36706 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36707 (nextafter_test_data): New variable.
36708 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36709 (nexttoward_test_data): New variable.
36710 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36711 (pow_test_data): New variable.
36712 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36713 (pow_tonearest_test_data): New variable.
36714 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36715 (pow_towardzero_test_data): New variable.
36716 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36717 (pow_downward_test_data): New variable.
36718 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36719 (pow_upward_test_data): New variable.
36720 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36721 (remainder_test_data): New variable.
36722 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36723 (scalb_test_data): New variable.
36724 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36725 * sysdeps/i386/fpu/libm-test-ulps: Update.
36726
36727 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36728
36729 * math/libm-test.inc (fma_test): Use max_value instead of local
36730 variable fltmax.
36731 (nextafter_test): Likewise.
36732
36733 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36734 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36735 (acos_downward_test_data): New variable.
36736 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36737 (acos_upward_test_data): New variable.
36738 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36739 (acosh_test_data): New variable.
36740 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36741 (asin_test_data): New variable.
36742 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36743 (asin_tonearest_test_data): New variable.
36744 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36745 (asin_towardzero_test_data): New variable.
36746 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36747 (asin_downward_test_data): New variable.
36748 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36749 (asin_upward_test_data): New variable.
36750 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36751 (asinh_test_data): New variable.
36752 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36753 (atan_test_data): New variable.
36754 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36755 (atanh_test_data): New variable.
36756 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36757 (cbrt_test_data): New variable.
36758 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36759 (ceil_test_data): New variable.
36760 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36761 (cos_test_data): New variable.
36762 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36763 (cos_tonearest_test_data): New variable.
36764 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36765 (cos_towardzero_test_data): New variable.
36766 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36767 (cos_downward_test_data): New variable.
36768 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36769 (cos_upward_test_data): New variable.
36770 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36771 (cosh_test_data): New variable.
36772 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36773 (cosh_tonearest_test_data): New variable.
36774 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36775 (cosh_towardzero_test_data): New variable.
36776 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36777 (cosh_downward_test_data): New variable.
36778 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36779 (cosh_upward_test_data): New variable.
36780 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36781 (erf_test_data): New variable.
36782 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36783 (erfc_test_data): New variable.
36784 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36785 (exp_test_data): New variable.
36786 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36787 (exp_tonearest_test_data): New variable.
36788 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36789 (exp_towardzero_test_data): New variable.
36790 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36791 (exp_downward_test_data): New variable.
36792 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36793 (exp_upward_test_data): New variable.
36794 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36795 (exp10_test_data): New variable.
36796 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36797 (exp2_test_data): New variable.
36798 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36799 (expm1_test_data): New variable.
36800 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36801 (fabs_test_data): New variable.
36802 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36803 (floor_test_data): New variable.
36804 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36805 (j0_test_data): New variable.
36806 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36807 (j1_test_data): New variable.
36808 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36809 (log_test_data): New variable.
36810 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36811 (log10_test_data): New variable.
36812 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36813 (log1p_test_data): New variable.
36814 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36815 (log2_test_data): New variable.
36816 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36817 (logb_test_data): New variable.
36818 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36819 (logb_downward_test_data): New variable.
36820 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36821 (nearbyint_test_data): New variable.
36822 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36823 (rint_test_data): New variable.
36824 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36825 (rint_tonearest_test_data): New variable.
36826 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36827 (rint_towardzero_test_data): New variable.
36828 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36829 (rint_downward_test_data): New variable.
36830 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36831 (rint_upward_test_data): New variable.
36832 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36833 (round_test_data): New variable.
36834 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36835 (sin_test_data): New variable.
36836 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36837 (sin_tonearest_test_data): New variable.
36838 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36839 (sin_towardzero_test_data): New variable.
36840 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36841 (sin_downward_test_data): New variable.
36842 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36843 (sin_upward_test_data): New variable.
36844 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36845 (sinh_test_data): New variable.
36846 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36847 (sinh_tonearest_test_data): New variable.
36848 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36849 (sinh_towardzero_test_data): New variable.
36850 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36851 (sinh_downward_test_data): New variable.
36852 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36853 (sinh_upward_test_data): New variable.
36854 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36855 (sqrt_test_data): New variable.
36856 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36857 (tan_test_data): New variable.
36858 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36859 (tan_tonearest_test_data): New variable.
36860 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36861 (tan_towardzero_test_data): New variable.
36862 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36863 (tan_downward_test_data): New variable.
36864 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36865 (tan_upward_test_data): New variable.
36866 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36867 (tanh_test_data): New variable.
36868 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36869 (tgamma_test_data): New variable.
36870 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36871 (trunc_test_data): New variable.
36872 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36873 (y0_test_data): New variable.
36874 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36875 (y1_test_data): New variable.
36876 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36877 (significand_test_data): New variable.
36878 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36879
36880 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36881
36882 [BZ #12387]
36883 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36884
36885 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36886
36887 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36888
36889 2013-05-10 Andreas Jaeger <aj@suse.de>
36890
36891 [BZ #15448]
36892 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36893 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36894
36895 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36896
36897 * math/gen-libm-test.pl (adjust_arg): New function.
36898 (special_functions): Handle generating output in both functions
36899 and arrays.
36900 (parse_args): Likewise.
36901 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36902 $in_func argument to parse_args.
36903 * math/libm-test.inc (struct test_f_f_data): New type.
36904 (IF_ROUND_INIT_): New macro.
36905 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36906 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36907 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36908 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36909 (ROUND_RESTORE_): Likewise.
36910 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36911 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36912 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36913 (ROUND_RESTORE_FE_UPWARD): Likewise.
36914 (RUN_TEST_LOOP_f_f): New macro.
36915 (acos_test_data): New variable.
36916 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36917 (acos_tonearest_test_data): New variable.
36918 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36919
36920 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36921
36922 * benchtests/bench-skeleton.c (startup): Fix coding style.
36923
36924 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36925
36926 [BZ #6809]
36927 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36928 negative infinity argument.
36929 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36930 negative infinity argument.
36931 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36932 negative infinity argument.
36933 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36934 domain errors.
36935
36936 2013-05-10 Florian Weimer <fweimer@redhat.com>
36937
36938 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36939 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36940 * iconv/iconv_prog.c (main): Likewise.
36941 * locale/programs/charmap-dir.c (charmap_readdir)
36942 (fopen_uncompressed): Likewise.
36943 * locale/programs/locfile.c (siblings_uncached)
36944 (write_locale_data): Use lstat64 instead of lstat.
36945 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36946 stat.
36947
36948 2013-05-10 Andreas Jaeger <aj@suse.de>
36949
36950 [BZ #15395]
36951 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36952 localization.
36953 Include <locale.h>.
36954
36955 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36956
36957 * elf/dl-close.c (_dl_close_worker): Add comments.
36958
36959 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36960
36961 [BZ #15359]
36962 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36963 high part of pi/2.
36964 (__ieee754_rem_pio2l): Update comments.
36965
36966 [BZ #15429]
36967 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36968 high part of pi/2.
36969 (__ieee754_rem_pio2l): Update comments.
36970
36971 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36972 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36973
36974 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36975 M_PI_4l.
36976
36977 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36978 (M_PI_34_LOG10El): Likewise.
36979 (M_PI2_LOG10El): Likewise.
36980 (M_PI4_LOG10El): Likewise.
36981 (M_PI_LOG10El): Likewise.
36982
36983 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36984
36985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36986
36987 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36988
36989 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36990 (MINUS_ZERO_INIT): Likewise.
36991 (PLUS_INFTY_INIT): Likewise.
36992 (MINUS_INFTY_INIT): Likewise.
36993 (QNAN_VALUE_INIT): Likewise.
36994 (MAX_VALUE_INIT): Likewise.
36995 (MIN_VALUE_INIT): Likewise.
36996 (MIN_SUBNORM_VALUE_INIT): Likewise.
36997 (plus_zero): Initialize with PLUS_ZERO_INIT.
36998 (minus_zero): Initialize with MINUS_ZERO_INIT.
36999 (plus_infty): Initialize with PLUS_INFTY_INIT.
37000 (minus_infty): Initialize with MINUS_INFTY_INIT.
37001 (qnan_value): Initialize with QNAN_VALUE_INIT.
37002 (max_value): Initialize with MAX_VALUE_INIT.
37003 (min_value): Initialize with MIN_VALUE_INIT.
37004 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37005
37006 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37007 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37008 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37009 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37010
37011 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37012 (RUN_TEST_2_f): Likewise.
37013 (RUN_TEST_ff_f): Likewise.
37014 (RUN_TEST_fi_f): Likewise.
37015 (RUN_TEST_fl_f): Likewise.
37016 (RUN_TEST_fff_f): Likewise.
37017 (RUN_TEST_c_f): Likewise.
37018 (RUN_TEST_f_f1): Likewise.
37019 (RUN_TEST_fF_f1): Likewise.
37020 (RUN_TEST_fI_f1): Likewise.
37021 (RUN_TEST_ffI_f1): Likewise.
37022 (RUN_TEST_c_c): Likewise.
37023 (RUN_TEST_cc_c): Likewise.
37024 (RUN_TEST_f_i): Likewise.
37025 (RUN_TEST_f_i_tg): Likewise.
37026 (RUN_TEST_ff_i_tg): Likewise.
37027 (RUN_TEST_f_b): Likewise.
37028 (RUN_TEST_f_b_tg): Likewise.
37029 (RUN_TEST_f_l): Likewise.
37030 (RUN_TEST_f_L): Likewise.
37031 (RUN_TEST_sincos): Likewise.
37032 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37033 whether to show exceptions. Do not include ");\n" in return
37034 value.
37035 (special_functions): Output call to RUN_TEST_sincos instead of
37036 check_float calls. Update calls to new_test.
37037 (parse_args): Output call to single RUN_TEST_* macro instead of
37038 check_* calls and other assignments. Update calls to new_test.
37039
37040 [BZ #2546]
37041 [BZ #2560]
37042 [BZ #5159]
37043 [BZ #15426]
37044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37045 input to result for tgamma overflow.
37046 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37047 (gamma_coeff): New variable.
37048 (NCOEFF): New macro.
37049 (gamma_positive): New function.
37050 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37051 underflow here. Use gamma_positive instead of exp (lgamma) for
37052 other arguments.
37053 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37054 (gamma_coeff): New variable.
37055 (NCOEFF): New macro.
37056 (gammaf_positive): New function.
37057 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37058 underflow here. Use gamma_positive instead of exp (lgamma) for
37059 other arguments.
37060 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37061 (gamma_coeff): New variable.
37062 (NCOEFF): New macro.
37063 (gammal_positive): New function.
37064 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37065 underflow here. Use gamma_positive instead of exp (lgamma) for
37066 other arguments.
37067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37068 (gamma_coeff): New variable.
37069 (NCOEFF): New macro.
37070 (gammal_positive): New function.
37071 (__ieee754_gammal_r): Handle positive infinity, overflow and
37072 underflow here. Handle NaN the same as positive infinity. Remove
37073 check x < 0xffffffff for negative integers. Use gamma_positive
37074 instead of exp (lgamma) for other arguments.
37075 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37076 (gamma_coeff): New variable.
37077 (NCOEFF): New macro.
37078 (gammal_positive): New function.
37079 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37080 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37083 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37084 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37085 * sysdeps/generic/math_private.h (__gamma_productf): New
37086 prototype.
37087 (__gamma_product): Likewise.
37088 (__gamma_productl): Likewise.
37089 * math/Makefile (libm-calls): Add gamma_product.
37090 * math/libm-test.inc (tgamma_test): Add more tests.
37091 * sysdeps/i386/fpu/libm-test-ulps: Update.
37092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37093
37094 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37095
37096 * benchtests/bench-skeleton.c (main): Preheat CPU.
37097
37098 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37099
37100 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37101
37102 2013-05-07 Roland McGrath <roland@hack.frob.com>
37103
37104 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37105 and _dl_skip_args_internal.
37106
37107 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37108
37109 * manual/message.texi (Message Translation): Talk about users.
37110 Message to key mapping impacts design.
37111
37112 2013-05-06 Roland McGrath <roland@hack.frob.com>
37113
37114 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37115
37116 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37117
37118 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37119 * sysdeps/wordsize-64/glob64.c: ... here.
37120
37121 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37122 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37123 New macros.
37124
37125 * debug/getlogin_r_chk.c: Moved to ...
37126 * login/getlogin_r_chk.c: ... here.
37127 * debug/Makefile (routines): Move getlogin_r_chk to ...
37128 * login/Makefile (routines): ... here.
37129 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37130 * login/Versions (libc: GLIBC_2.4): ... here.
37131
37132 * io/poll.c (__poll): Renamed from poll.
37133 Add libc_hidden_def.
37134 (poll): Define as weak alias.
37135
37136 * debug/ptsname_r_chk.c: Moved to ...
37137 * login/ptsname_r_chk.c: ... here.
37138 * debug/Makefile (routines): Move ptsname_r_chk to ...
37139 * login/Makefile (routines): ... here.
37140 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37141 * login/Versions (libc: GLIBC_2.4): ... here.
37142
37143 * posix/getlogin.c: Moved to ...
37144 * login/getlogin.c: ... here.
37145 * posix/getlogin_r.c: Moved to ...
37146 * login/getlogin_r.c: ... here.
37147 * posix/getlogin_r.c: Moved to ...
37148 * login/getlogin_r.c: ... here.
37149 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37150 * login/Makefile (routines): ... here.
37151 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37152 * login/Versions (libc: GLIBC_2.0): ... here.
37153
37154 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37155 (setrlimit): Define as weak alias.
37156
37157 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37158 Call __ names for open, ftruncate, and close.
37159 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37160 (truncate): Define as weak alias.
37161
37162 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37163
37164 * math/gen-libm-test.pl (parse_args): Initialize x before each
37165 test of frexp, modf and remquo.
37166
37167 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37168 test signgam value.
37169
37170 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37171
37172 [BZ #15418]
37173 [BZ #15419]
37174 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37175 internal tests.
37176 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37177
37178 2013-05-06 Roland McGrath <roland@hack.frob.com>
37179
37180 * elf/dl-writev.h: New file.
37181 * elf/dl-misc.c: Include it.
37182 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37183 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37184
37185 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37186
37187 * math/libm-test.inc (noXFails): Remove variable.
37188 (noXPasses): Likewise.
37189 (BUILD_COMPLEX_INT): Remove macro.
37190 (print_screen): Remove xfail argument.
37191 (print_screen_max_error): Likewise.
37192 (update_stats): Likewise.
37193 (print_max_error): Likewise. Update calls to other affected
37194 functions.
37195 (print_complex_max_error): Likewise.
37196 (test_single_exception): Update calls to print_screen.
37197 (test_single_errno): Likewise.
37198 (check_float_internal): Remove xfail argument. Update calls to
37199 other affected functions.
37200 (check_float): Likewise.
37201 (check_complex): Likewise.
37202 (check_int): Likewise.
37203 (check_long): Likewise.
37204 (check_bool): Likewise.
37205 (check_longlong): Likewise.
37206 (main): Don't print noXFails and noXPasses.
37207 * math/gen-libm-test.pl (top level): Don't mention expected
37208 failure handling in comment.
37209 (new_test): Don't handle expected failures.
37210 (parse_args): Don't mention expected failure handling in comment.
37211 (generate_testfile): Don't handle expected failures.
37212 (parse_ulps): Likewise.
37213 (print_ulps_file): Likewise.
37214 (get_failure): Remove function.
37215 (output_test): Don't handle expected failures.
37216 * make/README.libm-test: Don't mention expected failure handling.
37217
37218 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37219 (minus_zero): Likewise.
37220 (plus_infty): Likewise.
37221 (minus_infty): Likewise.
37222 (qnan_value): Likewise.
37223 (max_value): Likewise.
37224 (min_value): Likewise.
37225 (min_subnorm_value): Likewise.
37226 (initialize): Do not initialize those variables dynamically.
37227
37228 2013-05-03 Roland McGrath <roland@hack.frob.com>
37229
37230 * io/open.c (__open_2): Moved to ...
37231 * io/open_2.c: ... this new file.
37232 * io/open64.c (__open64_2): Moved to ...
37233 * io/open64_2.c: ... this new file.
37234 * io/openat.c (__openat_2): Moved to ...
37235 * io/openat_2.c: ... this new file.
37236 * io/openat64.c (__openat64_2): Moved to ...
37237 * io/openat64_2.c: ... this new file.
37238 * io/Makefile (routines): Add them.
37239 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37240 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37241 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37242 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37243 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37244 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37245 (__openat64): Add hidden_ver.
37246 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37247 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37248
37249 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37250 Separately conditionalize setting of GLRO(dl_sysinfo) so
37251 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37252 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37253
37254 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37255
37256 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37258 definition.
37259 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37260 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37261 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37262 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37263 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37264
37265 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37266
37267 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37268 test signgam value.
37269
37270 * math/libm-test.inc (hypot_test): Do not use
37271 IGNORE_ZERO_INF_SIGN.
37272
37273 2013-05-03 Andreas Jaeger <aj@suse.de>
37274
37275 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37276 Linux 3.9.
37277 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37278 (PF_MAX): Adjust for VSOCK change.
37279
37280 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37281
37282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37283
37284 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37285
37286 [BZ #15264]
37287 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37288 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37289 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37290
37291 2013-05-02 David S. Miller <davem@davemloft.net>
37292
37293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37294
37295 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37296
37297 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37298
37299 2013-05-01 Roland McGrath <roland@hack.frob.com>
37300
37301 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37302
37303 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37304
37305 [BZ #14952]
37306 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37307 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37308 Use __attribute__ ((__gnu_inline__)).
37309 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37310 Don't use __attribute__ ((__gnu_inline__)).
37311
37312 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37313
37314 [BZ #15423]
37315 * math/s_catan.c (__catan): Handle small real or imaginary part of
37316 input specially to avoid spurious underflow.
37317 * math/s_catanf.c (__catanf): Likewise.
37318 * math/s_catanh.c (__catanh): Likewise.
37319 * math/s_catanhf.c (__catanhf): Likewise.
37320 * math/s_catanhl.c (__catanhl): Likewise.
37321 * math/s_catanl.c (__catanl): Likewise.
37322 * math/libm-test.inc (catan_test): Add more tests.
37323 (catanh_test): Likewise.
37324 * sysdeps/i386/fpu/libm-test-ulps: Update.
37325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37326
37327 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37328
37329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37330
37331 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37332
37333 [BZ #15416]
37334 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37335 accurately for denominator in atan2.
37336 * math/s_catanf.c (__catanf): Likewise.
37337 * math/s_catanh.c (__catanh): Likewise.
37338 * math/s_catanhf.c (__catanhf): Likewise.
37339 * math/s_catanhl.c (__catanhl): Likewise.
37340 * math/s_catanl.c (__catanl): Likewise.
37341 * math/libm-test.inc (catan_test): Add more tests.
37342 (catanh_test): Likewise.
37343 * sysdeps/i386/fpu/libm-test-ulps: Update.
37344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37345
37346 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37347
37348 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37349
37350 * benchtests/Makefile (bench): Remove slow benchmarks.
37351 * benchtests/atan-inputs: Add slow benchmark inputs.
37352 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37353 (BENCH_FUNC): Accept variant offset.
37354 (VARIANT): Define.
37355 * benchtests/bench-skeleton.c (main): Run benchmark for each
37356 variant.
37357 * benchtests/cos-inputs: Add slow benchmark inputs.
37358 * benchtests/exp-inputs: Likewise.
37359 * benchtests/pow-inputs: Likewise.
37360 * benchtests/sin-inputs: Likewise.
37361 * benchtests/slowatan-inputs: Remove.
37362 * benchtests/slowatan.c: Remove.
37363 * benchtests/slowcos-inputs: Remove.
37364 * benchtests/slowcos.c: Remove.
37365 * benchtests/slowexp-inputs: Remove.
37366 * benchtests/slowexp.c: Remove.
37367 * benchtests/slowpow-inputs: Remove.
37368 * benchtests/slowpow.c: Remove.
37369 * benchtests/slowsin-inputs: Remove.
37370 * benchtests/slowsin.c: Remove.
37371 * benchtests/slowtan-inputs: Remove.
37372 * benchtests/slowtan.c: Remove.
37373 * benchtests/tan-inputs: Add slow benchmark inputs.
37374 * scripts/bench.pl: Parse comments and directives.
37375
37376 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37377 in CPPFLAGS.
37378 ($(objpfx)bench-%.c): Remove *-ITER.
37379 * benchtests/bench-modf.c: Remove definition of ITER.
37380 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37381 (main): Loop for DURATION seconds instead of fixed number of
37382 iterations.
37383 * scripts/bench.pl: Don't expect iterations in parameters.
37384
37385 2013-04-29 Roland McGrath <roland@hack.frob.com>
37386
37387 * io/fchdir.c (__fchdir): Renamed from fchdir.
37388 (fchdir): Define as weak alias.
37389
37390 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37391
37392 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37393 (ERRNO_EDOM): Likewise.
37394 (ERRNO_ERANGE): Likewise.
37395 (noErrnoTests): New variable.
37396 (init_max_error): Set errno to 0.
37397 (test_single_errno): New function.
37398 (test_errno): Likewise.
37399 (check_float_internal): Call test_errno. Set errno to 0.
37400 (check_complex): Refer to errno tests in comment.
37401 (check_int): Call test_errno. Set errno to 0.
37402 (check_long): Likewise.
37403 (check_bool): Likewise.
37404 (check_longlong): Likewise.
37405 (cos_test): Use ERRNO_* flags for errno tests instead of
37406 check_int.
37407 (expm1_test): Likewise.
37408 (fmod_test): Likewise.
37409 (ilogb_test): Likewise.
37410 (lgamma_test): Likewise.
37411 (pow_test): Likewise.
37412 (remainder_test): Likewise.
37413 (sin_test): Likewise.
37414 (tan_test): Likewise.
37415 (yn_test): Likewise.
37416 (initialize): Set errno to 0.
37417 (main): Print number of errno tests.
37418 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37419
37420 2013-04-29 Andreas Jaeger <aj@suse.de>
37421
37422 [BZ #15084]
37423 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37424 and RES_USEVC.
37425
37426 [BZ #15085]
37427 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37428 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37429 unimplemented.
37430
37431 [BZ #15380]
37432 * stdlib/random.c (__initstate): Return NULL if
37433 __initstate fails.
37434
37435 [BZ #15086]
37436 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37437 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37438 RES_SNGLKUPREOP.
37439
37440 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37441
37442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37443
37444 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37445
37446 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37447 of individual tests.
37448 (casin_test): Likewise.
37449 (casinh_test): Likewise.
37450
37451 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37452
37453 [BZ #15409]
37454 * math/s_catan.c (__catan): Handle arguments with large real or
37455 imaginary part separately without squaring.
37456 * math/s_catanf.c (__catanf): Likewise.
37457 * math/s_catanh.c (__catanh): Likewise.
37458 * math/s_catanhf.c (__catanhf): Likewise.
37459 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37460 and redefine.
37461 (__catanhl): Handle arguments with large real or imaginary part
37462 separately without squaring.
37463 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37464 and redefine.
37465 (__catanl): Handle arguments with large real or imaginary part
37466 separately without squaring.
37467 * math/libm-test.inc (catan_test): Add more tests.
37468 (catanh_test): Likewise.
37469 * sysdeps/i386/fpu/libm-test-ulps: Update.
37470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37471
37472 2013-04-27 Andreas Jaeger <aj@suse.de>
37473
37474 [BZ #15007]
37475 * stdlib/stdlib.h: Update guards for qecvt.
37476 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37477 <stdlib.h>.
37478
37479 2013-04-27 Allan McRae <allan@archlinux.org>
37480
37481 * sysdeps/i386/fpu/libm-test-ulps: Update.
37482
37483 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37484
37485 [BZ #15406]
37486 * math/s_catan.c: Include <float.h>.
37487 (__catan): Ensure underflow exception occurs for underflowed
37488 result.
37489 * math/s_catanf.c: Include <float.h>.
37490 (__catanf): Ensure underflow exception occurs for underflowed
37491 result.
37492 * math/s_catanh.c: Include <float.h>.
37493 (__catanh): Ensure underflow exception occurs for underflowed
37494 result.
37495 * math/s_catanhf.c: Include <float.h>.
37496 (__catanhf): Ensure underflow exception occurs for underflowed
37497 result.
37498 * math/s_catanhl.c: Include <float.h>.
37499 (__catanhl): Ensure underflow exception occurs for underflowed
37500 result.
37501 * math/s_catanl.c: Include <float.h>.
37502 (__catanl): Ensure underflow exception occurs for underflowed
37503 result.
37504 * math/libm-test.inc (catan_test): Add more tests.
37505 (catanh_test): Likewise.
37506
37507 [BZ #15405]
37508 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37509 underflowed result.
37510 * math/s_ccoshf.c (__ccoshf): Likewise.
37511 * math/s_ccoshl.c (__ccoshl): Likewise.
37512 * math/s_csin.c (__csin): Likewise.
37513 * math/s_csinf.c (__csinf): Likewise.
37514 * math/s_csinh.c (__csinh): Likewise.
37515 * math/s_csinhf.c (__csinhf): Likewise.
37516 * math/s_csinhl.c (__csinhl): Likewise.
37517 * math/s_csinl.c (__csinl): Likewise.
37518 * math/libm-test.inc (ccos_test): Add more tests.
37519 (ccosh_test): Likewise.
37520 (csin_test): Likewise.
37521 (csinh_test): Likewise.
37522
37523 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37524
37525 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37526 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37527 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37528 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37529 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37530 powerpc/power5+/fpu folders.
37531 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37532
37533
37534 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37535
37536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37537
37538 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37539
37540 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37541 additions to variable.
37542 [$(config-machine) = x86_64] (modules-names): Likewise.
37543 ($(objpfx)tst-audit3): Remove dependency.
37544 ($(objpfx)tst-audit3.out): Likewise.
37545 ($(objpfx)tst-audit4): Likewise.
37546 ($(objpfx)tst-audit4.out): Likewise.
37547 ($(objpfx)tst-audit5): Likewise.
37548 ($(objpfx)tst-audit5.out): Likewise.
37549 ($(objpfx)tst-audit6): Likewise.
37550 ($(objpfx)tst-audit6.out): Likewise.
37551 ($(objpfx)tst-audit7): Likewise.
37552 ($(objpfx)tst-audit7.out): Likewise.
37553 (tst-audit3-ENV): Remove variable.
37554 (tst-audit4-ENV): Likewise.
37555 (tst-audit5-ENV): Likewise.
37556 (tst-audit6-ENV): Likewise.
37557 (tst-audit7-ENV): Likewise.
37558 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37559 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37560 addition to variable.
37561 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37562 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37563 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37566 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37567 tst-audit3, tst-audit4 and tst-audit5.
37568 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37569 tst-audit6 and tst-audit7.
37570 [$(subdir) = elf] (modules-names): Add audit modules for those
37571 tests.
37572 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37573 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37574 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37575 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37576 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37577 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37578 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37579 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37580 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37581 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37582 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37583 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37584 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37585 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37586 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37587 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37588 Likewise.
37589 [$(subdir) = elf && $(config-cflags-avx) = yes]
37590 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37591 [$(subdir) = elf && $(config-cflags-avx) = yes]
37592 (CFLAGS-tst-auditmod4a.c): Likewise.
37593 [$(subdir) = elf && $(config-cflags-avx) = yes]
37594 (CFLAGS-tst-auditmod4b.c): Likewise.
37595 [$(subdir) = elf && $(config-cflags-avx) = yes]
37596 (CFLAGS-tst-auditmod6b.c): Likewise.
37597 [$(subdir) = elf && $(config-cflags-avx) = yes]
37598 (CFLAGS-tst-auditmod6c.c): Likewise.
37599 [$(subdir) = elf && $(config-cflags-avx) = yes]
37600 (CFLAGS-tst-auditmod7b.c): Likewise.
37601 * elf/tst-audit3.c: Move to ...
37602 * sysdeps/x86_64/tst-audit3.c: ... here.
37603 * elf/tst-audit4.c: Move to ...
37604 * sysdeps/x86_64/tst-audit4.c: ... here.
37605 * elf/tst-audit5.c: Move to ...
37606 * sysdeps/x86_64/tst-audit5.c: ... here.
37607 * elf/tst-audit6.c: Move to ...
37608 * sysdeps/x86_64/tst-audit6.c: ... here.
37609 * elf/tst-audit7.c: Move to ...
37610 * sysdeps/x86_64/tst-audit7.c: ... here.
37611 * elf/tst-auditmod3a.c: Move to ...
37612 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37613 * elf/tst-auditmod3b.c: Move to ...
37614 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37615 * elf/tst-auditmod4a.c: Move to ...
37616 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37617 * elf/tst-auditmod4b.c: Move to ...
37618 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37619 * elf/tst-auditmod5a.c: Move to ...
37620 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37621 * elf/tst-auditmod5b.c: Move to ...
37622 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37623 * elf/tst-auditmod6a.c: Move to ...
37624 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37625 * elf/tst-auditmod6b.c: Move to ...
37626 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37627 * elf/tst-auditmod6c.c: Move to ...
37628 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37629 * elf/tst-auditmod7a.c: Move to ...
37630 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37631 * elf/tst-auditmod7b.c: Move to ...
37632 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37633
37634 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37635
37636 [BZ #15366]
37637 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37638 define unconditionally.
37639 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37640 define unconditionally.
37641 (INT8_C, INT16_C, etc.): Likewise.
37642
37643 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37644
37645 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37646 __ehdr_start with hidden visibility.
37647
37648 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37649
37650 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37651
37652 * math/libm-test.inc (cos_test): Use accurate hex constants.
37653 (sincost_test): Likewise.
37654
37655 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37656
37657 * math/libm-test.inc (catan_test): Add more tests.
37658 (catanh_test): Likewise.
37659
37660 * math/s_catanf.c (__catanf): Use suffixed floating-point
37661 constants.
37662 * math/s_catanhf.c (__catanhf): Likewise.
37663 * math/s_catanhl.c (__catanhl): Likewise.
37664 * math/s_catanl.c (__catanl): Likewise.
37665
37666 [BZ #15394]
37667 * math/s_catan.c (__catan): Calculate imaginary part of result
37668 with log1p not log unless computing log of number close to 0.
37669 * math/s_catanf.c (__catanf): Likewise.
37670 * math/s_catanl.c (__catanl): Likewise.
37671 * math/s_catanh.c (__catanh): Calculate real part of result with
37672 log1p not log unless computing log of number close to 0.
37673 * math/s_catanhf.c (__catanhf): Likewise.
37674 * math/s_catanhl.c (__catanhl): Likewise.
37675 * math/libm-test.inc (catan_test): Add more tests.
37676 (catanh_test): Likewise.
37677 * sysdeps/i386/fpu/libm-test-ulps: Update.
37678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37679
37680 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37681
37682 * benchtests/Makefile: Mention files in which fast and slow
37683 paths of math functions are implemented.
37684
37685 2013-04-23 Roland McGrath <roland@hack.frob.com>
37686
37687 * sysdeps/posix/timespec_get.c: New file.
37688
37689 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37690
37691 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37692 POWER.
37693 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37694 for POWER.
37695 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37696 powerpc/power5/fpu folders.
37697 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37698 * benchtests/Makefile: Add modf testcase.
37699 * benchtests/bench-modf.c: New file: Benchmark test for mo
37700
37701 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37702
37703 [BZ #14888]
37704 * time/Makefile (tests): Add tst-strptime-whitespace.
37705 * time/strptime_l.c (get_number): Use ISSPACE.
37706 (__strptime_internal): Likewise.
37707 * time/tst-strptime-whitespace.c: New test case.
37708
37709 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37710
37711 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37712 member.
37713 (_nss_files_init): Set it here.
37714
37715 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37716
37717 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37718 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37719 unsigned.
37720
37721 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37722
37723 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37724
37725 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37726
37727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37728 size just once.
37729
37730 2013-04-21 David S. Miller <davem@davemloft.net>
37731
37732 * po/ru.po: Update Russion translation from translation project.
37733
37734 2013-04-17 Adam Conrad <adconrad@0c3.net>
37735
37736 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37737 and setfsgid.
37738
37739 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37740
37741 * configure.in: Remove i386 configure warning. Remove i386 case.
37742 * configure: Regenerate.
37743 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37744 Add example to error message.
37745 * sysdeps/i386/configure: Regenerate.
37746
37747 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37748
37749 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37750 slowtan.
37751 * benchtests/cos-inputs: New file.
37752 * benchtests/slowcos-inputs: New file.
37753 * benchtests/slowcos.c: New file.
37754 * benchtests/slowtan-inputs: New file.
37755 * benchtests/slowtan.c: New file.
37756 * benchtests/tan-inputs: New file.
37757
37758 2013-04-16 Roland McGrath <roland@hack.frob.com>
37759
37760 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37761 considered kosher.
37762
37763 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37764
37765 * benchtests/Makefile: Include cppflags-iterator.mk to add
37766 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37767
37768 * Makefile.in (bench-clean): New target.
37769 * benchtests/Makefile (bench-clean): Likewise.
37770
37771 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37772
37773 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37774
37775 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37776
37777 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37778
37779 2013-04-15 Andreas Schwab <schwab@suse.de>
37780
37781 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37782 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37783 * nscd/pwdcache.c (cache_addpw): Likewise.
37784 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37785 more than recsize.
37786
37787 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37788
37789 * benchtests/Makefile (bench): Write all output to
37790 bench-out.tmp together.
37791
37792 2013-04-15 Andreas Schwab <schwab@suse.de>
37793
37794 * nscd/nscd.c (main): Don't fork again after closing files.
37795
37796 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37797
37798 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37799
37800 * benchtests/Rules (bench-deps): Collect dependencies into a
37801 single variable. Add Makefile to dependencies.
37802 ($(objpfx)bench-%.c): Depend on bench-deps.
37803
37804 2013-04-12 Roland McGrath <roland@hack.frob.com>
37805 Xavier Roche <roche+kml2@exalead.com>
37806
37807 [BZ #15361]
37808 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37809 just that it's a file descriptor.
37810 * manual/llio.texi (Synchronizing AIO Operations): Update description
37811 for EBADF error from aio_fsync.
37812
37813 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37814
37815 * Rules (bench): Move target definition...
37816 * benchtests/Makefile: ... here.
37817
37818 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37819
37820 * math/libm-test.inc (cos_test): Fix PI/2 test.
37821 (sincos_test): Likewise.
37822 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37823 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37824
37825 2013-04-11 Andreas Schwab <schwab@suse.de>
37826
37827 [BZ #13988]
37828 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37829 accept exponent character only when digits were seen.
37830 * stdio-common/Makefile (tests): Add bug26.
37831 * stdio-common/bug26.c: New file.
37832
37833 [BZ #14293]
37834 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37835 non-freeable.
37836
37837 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37838
37839 * Makeconfig (rtld-prefix): Define built linker prefix.
37840 * Rules (run-bench): Use it.
37841 * math/Makefile (run-regen-ulps): Likewise.
37842
37843 * Rules (bench): Remove eval.
37844
37845 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37846 Roland McGrath <roland@hack.frob.com>
37847 Ondrej Bilka <neleai@seznam.cz>
37848
37849 [BZ #15346]
37850 * time/getdate.c: Include ctype.h and alloca.h.
37851 (__getdate_r): Trim leading and trailing spaces of input.
37852 * time/tst-getdate.c (tests): Add tests with leading and
37853 trailing spaces.
37854
37855 2013-04-08 Roland McGrath <roland@hack.frob.com>
37856
37857 [BZ #14280]
37858 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37859 when computing value.
37860
37861 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37862
37863 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37864 Use testrun.sh to run libm tests.
37865
37866 [BZ #15309]
37867 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37868
37869 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37870
37871 [BZ #15264]
37872 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37873
37874 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37875
37876 * Makefile.in (regen-ulps): New target.
37877 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37878 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37879 [ifneq (no,$(PERL)] (regen-ulps): New target.
37880 [ifeq (no,$(PERL)] (regen-ulps): New target.
37881 * math/libm-test.inc (ulps_file_name): Define.
37882 (output_dir): New variable.
37883 (options): Add "output-dir" option.
37884 (parse_opt): Handle 'o' case.
37885 (main): If output_dir is non-NULL use it as a prefix
37886 otherwise use "".
37887 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37888
37889 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37890
37891 [BZ #10060, #10062]
37892 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37893 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37894 fail configure if __sync_val_compare_and_swap is not inlined.
37895 * sysdeps/i386/configure: Regenerate.
37896 * configure.in: Build for i686 when configured for i386.
37897 * configure: Regenerate.
37898 * README: Remove i386 reference.
37899
37900 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37901
37902 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37903 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37904
37905 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37906
37907 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37908 (lmsnanval): New variables.
37909 (F): Add conversion tests.
37910 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37911 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37912
37913 * stdio-common/tstdiomisc.c (F): Properly collect individual
37914 tests' results.
37915
37916 [BZ #14686, #15336]
37917 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37918 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37919 Instead, use input NaN values or generate a qNaN by arithmetic
37920 operation. Also fix bugs to comply with the standard.
37921 * math/libm-test.inc (remainder_test): Add more tests.
37922
37923 [BZ #15335, #15342]
37924 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37926 input NaN values or generate a qNaN by arithmetic operation.
37927
37928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37929 unreachable code.
37930
37931 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37932 definitions.
37933
37934 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37935
37936 [BZ #14478]
37937 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37938 underflowed result.
37939 * math/s_cexpf.c (__cexpf): Likewise.
37940 * math/s_cexpl.c (__cexpl): Likewise.
37941 * math/libm-test.inc (cexp_test): Add more tests.
37942
37943 2013-04-03 Andreas Schwab <schwab@suse.de>
37944
37945 [BZ #15330]
37946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37947 order arrays from heap if bigger than alloca cutoff.
37948
37949 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37950
37951 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37952 (SNAN_TESTS_double): Refer to GCC PR56831.
37953 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37954 GCC PR56828.
37955
37956 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37957
37958 * Rules (bench): Move bench.out after the run is complete.
37959
37960 * Rules (bench): Echo currently running benchmark.
37961
37962 * benchtests/Makefile (bench): Add atan and slowatan.
37963 * benchtests/atan-inputs: New file.
37964 * benchtests/slowatan-inputs: New file.
37965 * benchtests/slowatan.c: New file.
37966
37967 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37969 its value.
37970
37971 [BZ #15305]
37972 * sysdeps/unix/sysv/linux/kernel-features.h
37973 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37974 __ASSUME_XFS_RESTRICTED_CHOWN.
37975 * sysdeps/unix/sysv/linux/pathconf.c
37976 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37977 Save and restore errno.
37978
37979 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37980
37981 [BZ #15327]
37982 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37983 arguments using __kernel_casinh.
37984 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37985 arguments using __kernel_casinhf.
37986 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37987 arguments using __kernel_casinhl.
37988 * math/libm-test.inc (cacosh_test): Add more tests.
37989 * sysdeps/i386/fpu/libm-test-ulps: Update.
37990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37991
37992 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37993
37994 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37996
37997 * bench/Makefile (bench): Add sin and slowsin.
37998 * benchtests/sin-inputs: New file.
37999 * benchtests/slowsin-inputs: New file.
38000 * benchtests/slowsin.c: New file.
38001
38002 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38003 (bench): Add slowexp and slowpow.
38004 (exp-ITER): Increase iterations.
38005 (pow-ITER): Likewise.
38006 * benchtests/exp-inputs: Change input.
38007 * benchtests/pow-inputs: Likewise.
38008 * benchtests/slowexp-inputs: New file.
38009 * benchtests/slowexp.c: New file.
38010 * benchtests/slowpow-inputs: New file.
38011 * benchtests/slowpow.c: New file.
38012
38013 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38014
38015 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38016 instructions.
38017 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38018 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38019 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38020 * benchtests/Makefile: Add rint benchtest.
38021 * benchtests/rint-inputs: Input for rint benchtest.
38022
38023 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38024
38025 * Versions.def (libm): Add GLIBC_2.18.
38026 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38027 hidden libm prototypes.
38028 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38029 * math/Makefile (libm-calls): Add s_issignaling.
38030 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38031 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38032 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38033 declaration.
38034 * math/math.h [__USE_GNU] (issignaling): New macro.
38035 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38036 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38037 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38038 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38039 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38040 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38041 * manual/arith.texi (issignaling): New section.
38042 * manual/libm-err-tab.pl (@all_functions): Update comment.
38043 * math/gen-libm-test.pl (parse_args): Apply special handling for
38044 issignaling.
38045 * math/libm-test.inc (print_float, issignaling_test): New
38046 functions.
38047 (check_float_internal): Add issignaling checks.
38048 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38049 default definition.
38050 * sysdeps/powerpc/math-tests.h: New file.
38051 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38052 tests.
38053 * math/test-snan.c (TEST_FUNC): Likewise.
38054
38055 2013-03-30 David S. Miller <davem@davemloft.net>
38056
38057 * po/de.po: Update from translation team.
38058
38059 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38060
38061 [BZ #10357]
38062 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38063 imaginary part less than 1.0 and real part less than 0.5
38064 specially.
38065 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38066 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38067 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38068 (cacos_test): Add more tests.
38069 (casin_test): Likewise.
38070 (casinh_test): Likewise.
38071 * sysdeps/i386/fpu/libm-test-ulps: Update.
38072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073
38074 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38075
38076 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38077 ONE with its value.
38078
38079 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38080 (__pow_mp): Replace ONE and MONE with their values.
38081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38082 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38083 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38084 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38085 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38086 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38087
38088 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38089
38090 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38091 (__pow_mp): Replace ZERO and MZERO with their values.
38092 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38093 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38096 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38097 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38098 (__sqr): Likewise.
38099
38100 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38101
38102 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38103
38104 2013-03-28 Roland McGrath <roland@hack.frob.com>
38105
38106 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38107 Declare with __attribute__ ((weak)).
38108 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38109 Call __call_tls_dtors only if it's not NULL.
38110
38111 2013-03-28 Roland McGrath <roland@hack.frob.com>
38112
38113 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38114 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38115 magic __ehdr_start linker symbol if it's defined.
38116 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38117 them up here if it was already done.
38118
38119 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38120 (_dl_aux_init): Use const in cast when setting it.
38121 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38122 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38123 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38124
38125 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38126 Declare them here.
38127 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38128 * csu/libc-tls.c: Nor here.
38129 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38130
38131 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38132 (__libc_message): Never call vsyslog.
38133
38134 2013-03-28 Alan Modra <amodra@gmail.com>
38135
38136 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38137 Define as empty.
38138 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38139 Likewise.
38140
38141 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38142
38143 [BZ #15214]
38144 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38145 underflow.
38146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38147
38148 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38149
38150 [BZ #15304]
38151 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38152 Don't add gid passed as argument.
38153
38154 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38155
38156 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38157
38158 [BZ #15307]
38159 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38160 imaginary part between 1.0 and 1.5 and real part less than 0.5
38161 specially.
38162 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38163 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38164 * math/libm-test.inc (cacos_test): Add more tests.
38165 (casin_test): Likewise.
38166 (casinh_test): Likewise.
38167 * sysdeps/i386/fpu/libm-test-ulps: Update.
38168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38169
38170 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38171
38172 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38173 constants.
38174 (norm): Likewise.
38175 (denorm): Likewise.
38176 (__dbl_mp): Likewise.
38177 (add_magnitudes): Likewise.
38178 (sub_magnitudes): Likewise.
38179 (__add): Likewise.
38180 (__sub): Likewise.
38181 (__mul): Likewise.
38182 (__sqr): Likewise.
38183 (__inv): Likewise.
38184 (__dvd): Likewise.
38185
38186 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38187 commented code.
38188 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38189 (__dubcos): Likewise.
38190 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38191 (__ieee754_acos): Likewise.
38192 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38193 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38194 (__exp1): Likewise.
38195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38197 (log1): Likewise.
38198 (my_log2): Likewise.
38199 (checkint): Likewise.
38200 * sysdeps/ieee754/dbl-64/e_remainder.c
38201 (__ieee754_remainder): Likewise.
38202 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38204 (bsloww): Likewise.
38205 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38206
38207 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38208 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38209 MANTISSA_STORE_T to store computations on mantissa. Use
38210 macros for rounding and division.
38211 (denorm): Likewise.
38212 (__dbl_mp): Likewise.
38213 (add_magnitudes): Likewise.
38214 (sub_magnitudes): Likewise.
38215 (__mul): Likewise.
38216 (__sqr): Likewise.
38217 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38218 powers of two in terms of TWOPOW macro.
38219 (mp_no): Make type of mantissa as MANTISSA_T.
38220 [!RADIXI]: Define RADIXI.
38221 [!TWO52]: Define TWO52.
38222 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38223
38224 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38225
38226 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38227 llroundl symbol when building for PPC32.
38228
38229 2013-03-24 Mark H Weaver <mhw@netris.org>
38230
38231 * manual/arith.texi (Normalization Functions): Fix prototypes for
38232 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38233
38234 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38235
38236 [BZ #13889]
38237 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38238 high value to check if expl overflow.
38239 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38240 to check for underflow and overflow.
38241 * math/libm-test.inc: Add exp test.
38242
38243 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38244
38245 [BZ #11120]
38246 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38247 with NOT_IN_libc.
38248
38249 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38250
38251 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38252 symbol.
38253
38254 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38255
38256 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38257 wrap blocks consisting of several statements.
38258
38259 * sysdeps/generic/math-tests.h: New file.
38260 * sysdeps/i386/fpu/math-tests.h: Likewise.
38261 * math/test-snan.c: Include it.
38262 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38263
38264 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38265
38266 [BZ #15285]
38267 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38268 (__ieee754_j0l): Do not improve calculations using cos of twice
38269 input for inputs above LDBL_MAX / 2.0L.
38270 (__ieee754_y0l): Likewise.
38271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38272 (__ieee754_j1l): Do not improve calculations using cos of twice
38273 input for inputs above LDBL_MAX / 2.0L.
38274 (__ieee754_y1l): Likewise.
38275 * math/libm-test.inc (j0_test): Add another test.
38276 (j1_test): Likewise.
38277 (y0_test): Likewise.
38278 (y1_test): Likewise.
38279 * sysdeps/i386/fpu/libm-test-ulps: Update.
38280
38281 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38282
38283 * Rules ($(objpfx)bench-%.c): Include code from a C source
38284 file.
38285
38286 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38287
38288 [BZ #15287]
38289 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38290 imaginary part 1.0 and real part less than 0.5 specially.
38291 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38292 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38293 * math/libm-test.inc (cacos_test): Add more tests.
38294 (casin_test): Likewise.
38295 (casinh_test): Likewise.
38296 * sysdeps/i386/fpu/libm-test-ulps: Update.
38297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38298
38299 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38300
38301 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38302 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38303
38304 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38305
38306 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38307 * config.make.in (config-cflags-sse4): Remove variable.
38308 (config-cflags-avx): Likewise.
38309 (config-cflags-sse2avx): Likewise.
38310 (config-cflags-novzeroupper): Likewise.
38311 (config-asflags-i686): Likewise.
38312 (have-mfma4): Likewise.
38313 (have-as-vis3): Likewise.
38314 (MIG): Likewise.
38315 * configure.in (MIG): Do not AC_SUBST.
38316 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38317 (libc_cv_cc_sse4): Do not AC_SUBST.
38318 (libc_cv_cc_avx): Likewise.
38319 (libc_cv_cc_sse2avx): Likewise.
38320 (libc_cv_cc_novzeroupper): Likewise.
38321 (libc_cv_cc_fma4): Likewise.
38322 (libc_cv_as_i686): Likewise.
38323 (libc_cv_sparc_as_vis3): Likewise.
38324 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38325 LIBC_CONFIG_VAR.
38326 (config-asflags-i686): Likewise.
38327 (config-cflags-avx): Likewise.
38328 (config-cflags-sse2avx): Likewise.
38329 (have-mfma4): Likewise.
38330 (config-cflags-novzeroupper): Likewise.
38331 * sysdeps/mach/configure.in (MIG): Likewise.
38332 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38333 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38334 LIBC_CONFIG_VAR.
38335 (config-cflags-avx): Likewise.
38336 (config-cflags-sse2avx): Likewise.
38337 (have-mfma4): Likewise.
38338 (config-cflags-novzeroupper): Likewise.
38339 * configure: Regenerated.
38340 * sysdeps/i386/configure: Likewise.
38341 * sysdeps/mach/configure: Likewise.
38342 * sysdeps/sparc/configure: Likewise.
38343 * sysdeps/x86_64/configure: Likewise.
38344
38345 2013-03-20 Roland McGrath <roland@hack.frob.com>
38346
38347 [BZ #14812]
38348 * locale/programs/localedef.c (options): Put N_ translation marker
38349 on argument names, not just descriptions.
38350
38351 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38352
38353 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38354
38355 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38356
38357 [BZ #14176]
38358 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38359
38360 2013-03-19 Roland McGrath <roland@hack.frob.com>
38361
38362 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38363 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38364 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38365 [!BEFORE_ABORT] (before_abort): New function.
38366 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38367 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38368 (writev_for_fatal): New function.
38369 (WRITEV_FOR_FATAL): New macro; call that.
38370 (backtrace_and_maps): New function.
38371 (BEFORE_ABORT): New macro; call that.
38372 (struct str_list): Type removed.
38373 (__libc_message, __libc_fatal): Functions removed.
38374 Include <sysdeps/posix/libc_fatal.c> instead.
38375
38376 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38377
38378 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38379 constants.
38380 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38381 double constants.
38382
38383 2013-03-19 Andreas Schwab <schwab@suse.de>
38384
38385 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38386 * sysdeps/gnu/configure: Regenerate.
38387
38388 * configure.in: Substitute libc_cv_rtlddir.
38389 * configure: Regenerate.
38390 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38391 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38392 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38393 * elf/Makefile (install-others, CFLAGS-interp.c)
38394 (ldso_install, common-ldd-rewrite): Likewise.
38395 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38396 $(inst_slibdir)/$(rtld-installed-name).
38397 * scripts/rellns-sh: Add -p option.
38398 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38399 for source.
38400
38401 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38402
38403 * manual/nptl.texi: Renamed to ...
38404 * manual/threads.texi: ... this.
38405 * manual/Makefile (chapters): Update.
38406
38407 2013-03-18 Roland McGrath <roland@hack.frob.com>
38408
38409 [BZ #14812]
38410 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38411 on argument names, not just descriptions.
38412 * malloc/memusagestat.c (options): Likewise.
38413 * nss/getent.c (options): Likewise.
38414
38415 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38416
38417 [BZ #14812]
38418 * iconv/iconv_prog.c (options): Put N_ translation marker
38419 on argument names, not just descriptions.
38420 * iconv/iconvconfig.c (options): Likewise.
38421
38422 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38423
38424 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38425 implementation which is faster on all x86_64 architectures.
38426 Tested on AMD, Intel Nehalem, SNB, IVB.
38427 * sysdeps/x86_64/strnlen.S: Likewise.
38428
38429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38430 Remove all multiarch strlen and strnlen versions.
38431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38432 Remove strlen and strnlen related parts.
38433
38434 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38435 Inline strlen part.
38436 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38437
38438 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38439 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38440 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38441 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38442 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38443 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38444
38445 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38446
38447 * manual/memory.texi (Malloc Tunable Parameters):
38448 Sort parameters alphabetically. Add comments for missing entries.
38449
38450 2013-03-17 David S. Miller <davem@davemloft.net>
38451
38452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38453
38454 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38455
38456 [BZ #15283]
38457 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38458 for arguments at most half maximum finite value.
38459 * math/libm-test.inc (j0_test): Add more tests.
38460 (j1_test): Likewise.
38461 (y0_test): Likewise.
38462 (y1_test): Likewise.
38463 * sysdeps/i386/fpu/libm-test-ulps: Update.
38464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38465
38466 [BZ #14155]
38467 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38468 1 / x and functions P and Q for arguments above 0x1p256L.
38469 (__ieee754_y0l): Likewise.
38470 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38471 (__ieee754_y1l): Likewise.
38472 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38473 (j1_test): Likewise.
38474 (y0_test): Likewise.
38475 (y1_test): Likewise.
38476
38477 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38478
38479 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38480 variable.
38481
38482 2013-03-15 Roland McGrath <roland@hack.frob.com>
38483
38484 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38485 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38486 zero since it's initialized to EXEC_PAGESIZE.
38487
38488 * sysdeps/unix/sysv/linux/ldsodefs.h
38489 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38490 * sysdeps/generic/ldsodefs.h: ... here.
38491
38492 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38493
38494 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38495
38496 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38497 math/test-snan.c.
38498 * math/test-snan.c: Renamed from
38499 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38500 * math/Makefile (tests): Add test-snan.
38501 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38502 test-powerpc-snan.
38503
38504 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38505 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38506 functions.
38507 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38508 __builtin_nan family of functions.
38509 * math/libm-test.inc (initialize): Initialize qnan_value with
38510 __builtin_nan family of functions.
38511 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38512 Remove variables.
38513 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38514 Remove functions.
38515 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38516 storage class. Initialize qNaN_var and sNaN_var with
38517 __builtin_nan and __builtin_nans families of functions,
38518 respectively.
38519
38520 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38521 (sqrt_test): Remove duplicate test with qNaN input.
38522 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38523 (round_test, signbit_test, significand_test): Note missing +/-Inf
38524 as well as qNaN tests.
38525
38526 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38527 qNaN_var. Fix a few strings, too.
38528 * math/libm-test.inc (nan_value): Rename to qnan_value.
38529 * math/gen-libm-test.pl (%beautify): Adjust to that.
38530 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38531 * math/test-misc.c (main): Likewise.
38532 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38533 to __qnan_bytes, and __qnan_union, respectively.
38534 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38535 Likewise.
38536 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38537 and lqnanval, respectively.
38538 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38539 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38540 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38541 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38542
38543 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38544 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38545 doubles.
38546
38547 * math/test-misc.c (main): Fix copy'n'pastos.
38548 * misc/tst-efgcvt.c (special): Likewise.
38549
38550 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38551 Remove declarations.
38552
38553 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38554
38555 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38556 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38557 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38558 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38559
38560 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38561
38562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38563 macro to return vdso values correctly in IFUNC implementations.
38564 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38565 Optimization by using IFUNC.
38566
38567 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38568 Richard Henderson <rth@redhat.com>
38569 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38570
38571 * Makefile.in (bench): New target.
38572 * NEWS: Mention the benchmark framework.
38573 * Rules (bench): Likewise.
38574 (binaries-bench): Generate binaries for functions to
38575 benchmark.
38576 * benchtests/Makefile: New makefile for benchmark tests.
38577 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38578 programs.
38579 * benchtests/exp-inputs: New input file for EXP function.
38580 * benchtests/pow-inputs: New input file for POW function.
38581 * scripts/bench.pl: New script to generate source files for
38582 benchmark programs.
38583
38584 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38585
38586 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38587 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38588 computations on mantissa. Use macros for rounding and
38589 division.
38590 (denorm): Likewise.
38591 (__dbl_mp): Likewise.
38592 (add_magnitudes): Likewise.
38593 (sub_magnitudes): Likewise.
38594 (__mul): Likewise.
38595 (__sqr): Likewise.
38596 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38597 powers of two in terms of TWOPOW macro.
38598 (mp_no): Make type of mantissa as MANTISSA_T.
38599 [!RADIXI]: Define RADIXI.
38600 [!TWO52]: Define TWO52.
38601 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38602
38603 * manual/nptl.texi (cindex): Modify threads to pthreads.
38604
38605 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38606
38607 * sysdeps/x86_64/preconfigure: Regenerated.
38608
38609 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38610
38611 [BZ #14155]
38612 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38613 0x1p28 and above.
38614 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38615 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38616 0x1p28 and above.
38617 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38618 * math/libm-test.inc (j0_test): Do not allow one spurious
38619 underflow exception.
38620 (y1_test): Likewise.
38621
38622 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38623
38624 * manual/Makefile (chapters): Add nptl.
38625 * manual/debug.texi (Debugging Support): Add link to Threads
38626 chapter.
38627 * manual/nptl.texi: New file.
38628
38629 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38630
38631 2013-03-14 Petr Baudis <pasky@ucw.cz>
38632
38633 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38634 for non-NULL pointer before the memory validity test. Pointed
38635 out by Holger Brunck <holger.brunck@keymile.com>.
38636
38637 2013-03-13 Andreas Schwab <schwab@suse.de>
38638
38639 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38640 instead of .os.
38641
38642 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38643
38644 * timezone/zic.c: Update from tzcode 2013b.
38645
38646 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38647
38648 * manual/install.texi (Configuring and compiling):
38649 Mention i686 and i586.
38650 * INSTALL: Regenerate.
38651
38652 2013-03-12 Roland McGrath <roland@hack.frob.com>
38653
38654 * sysdeps/init_array/elf-init.c: New file.
38655 * csu/elf-init.c
38656 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38657 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38658
38659 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38660 __gmon_start__ as global, but as static with a .preinit_array pointer.
38661 * sysdeps/init_array/gmon-start.c: New file. Use that.
38662 * sysdeps/init_array/crti.S: New file, empty except for comments.
38663 * sysdeps/init_array/crtn.S: Likewise.
38664
38665 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38666
38667 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38668 definining bcopy.
38669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38670 Remove Prefer_SSE_for_memop.
38671 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38672 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38673 HAS_PREFER_SSE_FOR_MEMOP.
38674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38675 memset-x86-64.
38676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38677 Remove bzero, memset ifunc support.
38678 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38679 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38680 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38681 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38682
38683 2013-03-11 Andreas Schwab <schwab@suse.de>
38684
38685 [BZ #15234]
38686 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38687 by SHLIB_COMPAT.
38688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38689 (GLIBC_2.16): Remove pthread_atfork.
38690
38691 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38692
38693 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38694 (ptestcases.h): Likewise.
38695
38696 2013-03-08 Roland McGrath <roland@hack.frob.com>
38697
38698 * Makeconfig ($(common-objpfx)config.status): Depend on
38699 sysdeps/*/preconfigure{,.in} too.
38700
38701 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38702
38703 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38704 (__free_hook): Use void * instead of __malloc_ptr_t.
38705 (__malloc_hook): Likewise.
38706 (__realloc_hook): Likewise.
38707 (__memalign_hook): Likewise.
38708 (__after_morecore_hook): Likewise.
38709 * malloc/arena.c (save_malloc_hook): Likewise.
38710 (save_free_hook): Likewise.
38711 * malloc/hooks.c (malloc_hook_ini): Likewise.
38712 (realloc_hook_ini): Likewise.
38713 (memalign_hook_ini): Likewise.
38714 * malloc/malloc.c (malloc_hook_ini): Likewise.
38715 (realloc_hook_ini): Likewise.
38716 (memalign_hook_ini): Likewise.
38717 (__free_hook): Likewise.
38718 (__malloc_hook): Likewise.
38719 (__realloc_hook): Likewise.
38720 (__memalign_hook): Likewise.
38721 (__libc_malloc): Likewise.
38722 (__libc_free): Likewise.
38723 (__libc_realloc): Likewise.
38724 (__libc_memalign): Likewise.
38725 (__libc_valloc): Likewise.
38726 (__libc_pvalloc): Likewise.
38727 (__libc_calloc): Likewise.
38728 (__posix_memalign): Likewise.
38729 * malloc/morecore.c (__sbrk): Likewise.
38730 (__default_morecore): Likewise.
38731
38732 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38733
38734 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38735 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38736 __malloc_ptrdiff_t.
38737
38738 * malloc/malloc.h (__malloc_size_t): Remove macro.
38739 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38740 __malloc_size_t.
38741 (old_memalign_hook): Likewise.
38742 (old_realloc_hook): Likewise.
38743 (struct hdr): Likewise.
38744 (flood): Likewise.
38745 (mallochook): Likewise.
38746 (memalignhook): Likewise.
38747 (reallochook): Likewise.
38748 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38749 (tr_old_realloc_hook): Likewise.
38750 (tr_old_memalign_hook): Likewise.
38751 (tr_mallochook): Likewise.
38752 (tr_reallochook): Likewise.
38753 (tr_memalignhook): Likewise.
38754
38755 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38756
38757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38758 default_ldbl_pack and using as default implementation.
38759 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38760 implementation.
38761 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38762 redundant definition.
38763 (ldbl_insert_mantissa): Likewise.
38764 (ldbl_canonicalize): Likewise.
38765 (ldbl_nearbyint): Likewise.
38766 (ldbl_pack): Rename to ldbl_pack_ppc.
38767 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38768 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38769 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38770
38771 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38772
38773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38774 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38775 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38776 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38778 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38779 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38780 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38781
38782 2013-03-07 Andreas Jaeger <aj@suse.de>
38783
38784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38785 bits/mman-linux.h.
38786
38787 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38788
38789 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38790 Include mpa.h and declare __MPEXP.
38791 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38792 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38793 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38794 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38795 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38796 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38797 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38798
38799 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38800 (__slowpow): Use long double EXPL and LOGL functions to
38801 compute POW.
38802 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38803 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38806 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38807 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38808
38809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38810 intermediate variable to calculate exponent.
38811 (__sqr): Likewise.
38812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38813 Likewise.
38814 (__sqr): Likewise.
38815
38816 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38817 [!NO__SQR]: Define __sqr.
38818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38819 and NO__SQR. Remove all code except __mul and __sqr. Include
38820 sysdeps/ieee754/dbl-64/mpa.c.
38821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38822
38823 [BZ #12723]
38824 * posix/Makefile (tests): Add tst-pathconf.
38825 * posix/tst-pathconf.c: New test case.
38826 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38827 _PC_PIPE_BUF.
38828 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38829
38830 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38831
38832 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38833
38834 2013-03-06 Andreas Jaeger <aj@suse.de>
38835
38836 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38837 definition via __MAP_ANONYMOUS.
38838
38839 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38840 it's not part of Linux headers.
38841
38842 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38843 (MAP_HUGE_MASK): Define.
38844
38845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38846 Define.
38847 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38849 Define.
38850 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38851 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38852 Define.
38853 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38855 Define.
38856 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38857
38858 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38859 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38860 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38861 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38862 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38863 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38864
38865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38866 Handle f2fs.
38867
38868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38869 Handle f2fs and efivarfs.
38870
38871 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38872 f2fs.
38873
38874 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38875 (EFIVARFS_MAGIC): Add.
38876 (F2FS_LINK_MAX): Add.
38877
38878 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38879
38880 * stdio-common/vfprintf.c: Replace __builtin_expect with
38881 __glibc_unlikely.
38882
38883 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38884
38885 [BZ #13550]
38886 * sysdeps/generic/bp-sym.h: Remove file.
38887 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38888 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38889 <bp-sym.h> and <bp-asm.h>.
38890 (__longjmp): Don't use BP_SYM.
38891 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38892 and <bp-asm.h>.
38893 (memcpy): Don't use BP_SYM.
38894 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38895 <bp-sym.h> and <bp-asm.h>.
38896 (memcpy): Don't use BP_SYM.
38897 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38898 <bp-asm.h>.
38899 (memcpy): Don't use BP_SYM.
38900 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38901 <bp-asm.h>.
38902 (memset): Don't use BP_SYM.
38903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38905 (__bzero): Don't use BP_SYM.
38906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38908 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38909 <bp-sym.h> and <bp-asm.h>.
38910 (memcmp): Don't use BP_SYM. Remove comment about bounded
38911 pointers.
38912 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38913 <bp-sym.h> and <bp-asm.h>.
38914 (memcpy): Don't use BP_SYM.
38915 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38916 <bp-sym.h> and <bp-asm.h>.
38917 (memset): Don't use BP_SYM.
38918 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38919 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38920 (__bzero): Don't use BP_SYM.
38921 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38922 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38923 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38924 <bp-sym.h> and <bp-asm.h>.
38925 (strncmp): Don't use BP_SYM. Remove comment about bounded
38926 pointers.
38927 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38928 <bp-sym.h> and <bp-asm.h>.
38929 (memcpy): Don't use BP_SYM.
38930 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38931 <bp-sym.h> and <bp-asm.h>.
38932 (memset): Don't use BP_SYM.
38933 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38934 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38935 (__bzero): Don't use BP_SYM.
38936 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38937 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38939 <bp-sym.h> and <bp-asm.h>.
38940 (__memchr): Don't use BP_SYM.
38941 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38942 <bp-sym.h> and <bp-asm.h>.
38943 (memcmp): Don't use BP_SYM. Remove comment about bounded
38944 pointers.
38945 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38946 <bp-sym.h> and <bp-asm.h>.
38947 (memcpy): Don't use BP_SYM.
38948 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38949 <bp-sym.h> and <bp-asm.h>.
38950 (__mempcpy): Don't use BP_SYM.
38951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38952 <bp-sym.h> and <bp-asm.h>.
38953 (__memrchr): Don't use BP_SYM.
38954 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38955 <bp-sym.h> and <bp-asm.h>.
38956 (memset): Don't use BP_SYM.
38957 (__bzero): Likewise.
38958 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38959 <bp-sym.h> and <bp-asm.h>.
38960 (__rawmemchr): Don't use BP_SYM.
38961 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38962 <bp-sym.h> and <bp-asm.h>.
38963 (__STRCMP): Don't use BP_SYM.
38964 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38965 <bp-sym.h> and <bp-asm.h>.
38966 (strchr): Don't use BP_SYM.
38967 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38968 <bp-sym.h> and <bp-asm.h>.
38969 (__strchrnul): Don't use BP_SYM.
38970 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38971 <bp-sym.h> and <bp-asm.h>.
38972 (strlen): Don't use BP_SYM.
38973 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38974 <bp-sym.h> and <bp-asm.h>.
38975 (strncmp): Don't use BP_SYM. Remove comment about bounded
38976 pointers.
38977 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38978 <bp-sym.h> and <bp-asm.h>.
38979 (__strnlen): Don't use BP_SYM.
38980 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38981 <bp-sym.h> and <bp-asm.h>.
38982 (__GI__setjmp): Don't use BP_SYM.
38983 (_setjmp): Likewise.
38984 (__sigsetjmp): Likewise.
38985 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38986 (L(start_addresses)): Don't use BP_SYM.
38987 (_start): Likewise.
38988 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38989 <bp-asm.h>.
38990 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38991 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38992 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38993 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38994 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38995 <bp-asm.h>.
38996 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38997 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38998 about bounded pointers.
38999 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39000 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39001 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39002 <bp-asm.h>.
39003 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39004 about bounded pointers. Remove GKM FIXME comments.
39005 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39006 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39007 <bp-asm.h>.
39008 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39009 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39010 Remove GKM FIXME comments.
39011 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39012 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39013 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39014 <bp-asm.h>.
39015 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39016 about bounded pointers. Remove GKM FIXME comment.
39017 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39018 and <bp-asm.h>.
39019 (strncmp): Don't use BP_SYM. Remove comment about bounded
39020 pointers.
39021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39022 <bp-sym.h> and <bp-asm.h>.
39023 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39025 <bp-sym.h> and <bp-asm.h>.
39026 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39027 comment.
39028
39029 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39030
39031 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39032 call free(NULL).
39033
39034 2013-03-05 David S. Miller <davem@davemloft.net>
39035
39036 * po/es.po: Update from translation team.
39037
39038 2013-03-05 Andreas Jaeger <aj@suse.de>
39039
39040 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39041 <bits/mman-linux.h>.
39042 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39043 is fine.
39044 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39045 <bits/mman-linux.h> to end of file.
39046 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39047 is fine.
39048 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39049 <bits/mman-linux.h> to end of file.
39050 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39051 is fine.
39052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39053 <bits/mman-linux.h> to end of file.
39054
39055 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39056 (MCL_CURRENT, MCL_FUTURE): Define here.
39057
39058 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39059
39060 [BZ #15232]
39061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39062 attribute_hidden.
39063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39064
39065 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39066
39067 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39068 fourth parameter needed for rt_sigprocmask syscall.
39069 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39070 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39071 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39072 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39073 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39074 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39075
39076 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39077
39078 [BZ #13550]
39079 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39080 comment about bounded pointers.
39081 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39082 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39083
39084 2013-03-04 Andreas Jaeger <aj@suse.de>
39085
39086 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39087 common definitions.
39088
39089 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39090 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39095
39096 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39097
39098 [BZ #15055]
39099 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39100 __ieee754_sqrl instead of __sqrl.
39101
39102 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39103
39104 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39105 * sysdeps/powerpc/fpu_control.h: ... here.
39106 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39107 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39108 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39109 * sysdeps/powerpc/bits/mathinline.h: ... here.
39110
39111 2013-03-01 Roland McGrath <roland@hack.frob.com>
39112
39113 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39114 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39115 to just [NEED_DL_SYSINFO_DSO].
39116 * elf/dl-support.c: Likewise.
39117 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39118 * elf/rtld.c (dl_main): Likewise.
39119 * elf/setup-vdso.h (setup_vdso): Likewise.
39120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39121 * sysdeps/unix/sysv/linux/dl-sysdep.c
39122 (_dl_discover_osversion): Likewise.
39123
39124 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39125
39126 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39127 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39128
39129 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39130
39131 * NEWS: Mention libm performance improvements and non-x86 PI
39132 futex support.
39133
39134 * csu/libc-start.c (__pthread_initialize_minimal): Change
39135 function arguments.
39136 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39137
39138 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39139
39140 [BZ #13550]
39141 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39142 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39143 <bp-sym.h> and <bp-asm.h>.
39144 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39145 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39146 and <bp-asm.h>.
39147 (memcpy): Don't use BP_SYM.
39148 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39149 <bp-asm.h>.
39150 (__mpn_add_n): Don't use BP_SYM.
39151 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39152 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39153 and <bp-asm.h>.
39154 (__mpn_addmul_1): Don't use BP_SYM.
39155 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39156 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39157 <bp-sym.h>.
39158 (_setjmp): Don't use BP_SYM.
39159 (__novmx_setjmp): Likewise.
39160 (__GI__setjmp): Likewise.
39161 (__vmx_setjmp): Likewise.
39162 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39163 <bp-sym.h>.
39164 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39165 (__bzero): Don't use BP_SYM.
39166 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39167 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39168 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39169 <bp-sym.h> and <bp-asm.h>.
39170 (memcpy): Don't use BP_SYM.
39171 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39172 <bp-sym.h> and <bp-asm.h>.
39173 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39174 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39175 <bp-sym.h> and <bp-asm.h>.
39176 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39177 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39178 <bp-asm.h>.
39179 (__mpn_lshift): Don't use BP_SYM.
39180 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39181 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39182 <bp-asm.h>.
39183 (memset): Don't use BP_SYM.
39184 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39185 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39186 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39187 <bp-asm.h>.
39188 (__mpn_mul_1): Don't use BP_SYM.
39189 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39190 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39191 <bp-sym.h> and <bp-asm.h>.
39192 (memcmp): Don't use BP_SYM.
39193 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39194 <bp-sym.h> and <bp-asm.h>.
39195 (memcpy): Don't use BP_SYM.
39196 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39197 <bp-sym.h> and <bp-asm.h>.
39198 (memset): Don't use BP_SYM.
39199 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39200 <bp-sym.h> and <bp-asm.h>.
39201 (strncmp): Don't use BP_SYM.
39202 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39203 <bp-sym.h> and <bp-asm.h>.
39204 (memcpy): Don't use BP_SYM.
39205 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39206 <bp-sym.h> and <bp-asm.h>.
39207 (memset): Don't use BP_SYM.
39208 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39209 <bp-sym.h> and <bp-asm.h>.
39210 (__memchr): Don't use BP_SYM.
39211 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39212 <bp-sym.h> and <bp-asm.h>.
39213 (memcmp): Don't use BP_SYM.
39214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39215 <bp-sym.h> and <bp-asm.h>.
39216 (memcpy): Don't use BP_SYM.
39217 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39218 <bp-sym.h> and <bp-asm.h>.
39219 (__mempcpy): Don't use BP_SYM.
39220 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39221 <bp-sym.h> and <bp-asm.h>.
39222 (__memrchr): Don't use BP_SYM.
39223 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39224 <bp-sym.h> and <bp-asm.h>.
39225 (memset): Don't use BP_SYM.
39226 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39227 <bp-sym.h> and <bp-asm.h>.
39228 (__rawmemchr): Don't use BP_SYM.
39229 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39230 <bp-sym.h> and <bp-asm.h>.
39231 (__STRCMP): Don't use BP_SYM.
39232 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39233 <bp-sym.h> and <bp-asm.h>.
39234 (strchr): Don't use BP_SYM.
39235 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39236 <bp-sym.h> and <bp-asm.h>.
39237 (__strchrnul): Don't use BP_SYM.
39238 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39239 <bp-sym.h> and <bp-asm.h>.
39240 (strlen): Don't use BP_SYM.
39241 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39242 <bp-sym.h> and <bp-asm.h>.
39243 (strncmp): Don't use BP_SYM.
39244 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39245 <bp-sym.h> and <bp-asm.h>.
39246 (__strnlen): Don't use BP_SYM.
39247 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39248 <bp-asm.h>.
39249 (__mpn_rshift): Don't use BP_SYM.
39250 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39251 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39252 <bp-sym.h> and <bp-asm.h>.
39253 (__sigsetjmp): Don't use BP_SYM.
39254 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39255 (L(start_addresses)): Don't use BP_SYM.
39256 (_start): Likewise.
39257 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39258 <bp-asm.h>.
39259 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39260 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39261 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39262 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39263 <bp-asm.h>.
39264 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39265 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39266 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39267 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39268 <bp-asm.h>.
39269 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39270 comments.
39271 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39272 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39273 <bp-asm.h>.
39274 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39275 FIXME comments.
39276 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39277 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39278 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39279 <bp-asm.h>.
39280 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39281 comment.
39282 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39283 and <bp-asm.h>.
39284 (strncmp): Don't use BP_SYM,
39285 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39286 <bp-asm.h>.
39287 (__mpn_sub_n): Don't use BP_SYM.
39288 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39289 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39290 and <bp-asm.h>.
39291 (__mpn_submul_1): Don't use BP_SYM.
39292 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39294 <bp-sym.h> and <bp-asm.h>.
39295 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39297 <bp-sym.h> and <bp-asm.h>.
39298 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39299 comment.
39300
39301 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39302
39303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39304 Use ZK to minimize writes to Z.
39305 (sub_magnitudes): Simplify code a bit.
39306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39307 Use ZK to minimize writes to Z.
39308 (sub_magnitudes): Simplify code a bit.
39309
39310 2013-02-27 Roland McGrath <roland@hack.frob.com>
39311
39312 * csu/gmon-start.c: Add special exception to license text.
39313
39314 2013-02-27 Richard Henderson <rth@redhat.com>
39315
39316 * scripts/config.guess: Update from config.git.
39317 * scripts/config.sub: Likewise.
39318
39319 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39320
39321 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39322
39323 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39324
39325 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39326
39327 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39328
39329 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39330
39331 2013-02-26 Roland McGrath <roland@hack.frob.com>
39332
39333 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39334 [$(build-shared = yes].
39335
39336 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39337
39338 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39339 (__mul): Reduce iterations for calculating mantissa.
39340
39341 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39342 MPTWO.
39343 (__mpranred): Likewise.
39344
39345 [BZ #15160]
39346 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39347 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39348
39349 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39350
39351 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39352 Define __attribute__.
39353
39354 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39355
39356 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39357 unused.
39358 * posix/regex_internal.h (__attribute): Remove.
39359 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39360 (re_string_context_at): Likewise.
39361 (bitset_not): Use __attribute__ and mark function as possibly
39362 unused.
39363 (bitset_merge): Likewise.
39364 (bitset_mask): Likewise.
39365 (re_string_char_size_at): Likewise.
39366 (re_string_wchar_at): Likewise.
39367 (re_string_elem_size_at): Likewise.
39368
39369 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39370
39371 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39372 code.
39373 (cc32): Likewise.
39374
39375 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39376 (__acr): Likewise.
39377 (__cpy): Likewise.
39378 (norm): Likewise.
39379 (denorm): Likewise.
39380 (__dbl_mp): Likewise.
39381 (add_magnitudes): Likewise.
39382 (sub_magnitudes): Likewise.
39383 (__mul): Likewise.
39384 (__inv): Likewise.
39385
39386 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39387 style.
39388
39389 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39390 style.
39391
39392 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39393 code.
39394
39395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39396 up changes with default code.
39397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39398 Likewise.
39399
39400 2013-02-24 Allan McRae <allan@archlinux.org>
39401
39402 * manual/socket.texi (The Internet Namespace): Order menu items
39403 to match that in the file.
39404
39405 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39406 node listing of the info page menu.
39407
39408 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39409
39410 [BZ #13550]
39411 * sysdeps/i386/bp-asm.h: Remove file.
39412 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39413 (PARMS): Do not use macros from bp-asm.h.
39414 (S1): Likewise.
39415 (S2): Likewise.
39416 (SIZE): Likewise.
39417 (__mpn_add_n): Do not use BP_SYM
39418 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39419 "bp-asm.h".
39420 (PARMS): Do not use macros from bp-asm.h.
39421 (S1): Likewise.
39422 (SIZE): Likewise.
39423 (__mpn_addmul_1): Do not use BP_SYM
39424 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39425 "bp-asm.h".
39426 (PARMS): Do not use macros from bp-asm.h.
39427 (SIGMSK): Likewise.
39428 (_setjmp): Likewise. Do not use BP_SYM.
39429 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39430 "bp-asm.h".
39431 (PARMS): Do not use macros from bp-asm.h.
39432 (SIGMSK): Likewise.
39433 (setjmp): Likewise. Do not use BP_SYM.
39434 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39435 "bp-asm.h".
39436 (PARMS): Do not use macros from bp-asm.h.
39437 (__frexp): Do not use BP_SYM.
39438 (frexp): Likewise.
39439 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39440 "bp-asm.h".
39441 (PARMS): Do not use macros from bp-asm.h.
39442 (__frexpf): Do not use BP_SYM.
39443 (frexpf): Likewise.
39444 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39445 "bp-asm.h".
39446 (PARMS): Do not use macros from bp-asm.h.
39447 (__frexpl): Do not use BP_SYM.
39448 (frexpl): Likewise.
39449 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39450 "bp-asm.h".
39451 (PARMS): Do not use macros from bp-asm.h.
39452 (__remquo): Do not use BP_SYM.
39453 (remquo): Likewise.
39454 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39455 "bp-asm.h".
39456 (PARMS): Do not use macros from bp-asm.h.
39457 (__remquof): Do not use BP_SYM.
39458 (remquof): Likewise.
39459 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39460 "bp-asm.h".
39461 (PARMS): Do not use macros from bp-asm.h.
39462 (__remquol): Do not use BP_SYM.
39463 (remquol): Likewise.
39464 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39465 "bp-asm.h".
39466 (PARMS): Do not use macros from bp-asm.h.
39467 (DEST): Likewise.
39468 (SRC): Likewise.
39469 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39470 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39471 "bp-asm.h".
39472 (PARMS): Do not use macros from bp-asm.h.
39473 (strlen): Do not use BP_SYM.
39474 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39475 "bp-asm.h".
39476 (PARMS): Do not use macros from bp-asm.h.
39477 (S1): Likewise.
39478 (S2): Likewise.
39479 (SIZE): Likewise.
39480 (__mpn_add_n): Do not use BP_SYM.
39481 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39482 "bp-asm.h".
39483 (PARMS): Do not use macros from bp-asm.h.
39484 (S1): Likewise.
39485 (SIZE): Likewise.
39486 (__mpn_addmul_1): Do not use BP_SYM.
39487 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39488 weak_alias.
39489 (bzero): Likewise.
39490 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39491 "bp-asm.h".
39492 (PARMS): Do not use macros from bp-asm.h.
39493 (S): Likewise.
39494 (SIZE): Likewise.
39495 (__mpn_lshift): Do not use BP_SYM.
39496 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39497 "bp-asm.h".
39498 (PARMS): Do not use macros from bp-asm.h.
39499 (DEST): Likewise.
39500 (SRC): Likewise.
39501 (LEN): Likewise.
39502 (memcpy): Likewise. Do not use BP_SYM.
39503 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39504 libc_hidden_def and weak_alias.
39505 (mempcpy): Do not use BP_SYM in weak_alias.
39506 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39507 "bp-asm.h".
39508 (PARMS): Do not use macros from bp-asm.h.
39509 (DEST): Likewise.
39510 (LEN): Likewise.
39511 [!BZERO_P] (CHR): Likewise.
39512 (memset): Likewise. Do not use BP_SYM.
39513 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39514 "bp-asm.h".
39515 (PARMS): Do not use macros from bp-asm.h.
39516 (S1): Likewise.
39517 (SIZE): Likewise.
39518 (__mpn_mul_1): Do not use BP_SYM.
39519 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39520 "bp-asm.h".
39521 (PARMS): Do not use macros from bp-asm.h.
39522 (S): Likewise.
39523 (SIZE): Likewise.
39524 (__mpn_rshift): Do not use BP_SYM.
39525 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39526 "bp-asm.h".
39527 (PARMS): Do not use macros from bp-asm.h.
39528 (STR): Likewise.
39529 (CHR): Likewise.
39530 (strchr): Likewise. Do not use BP_SYM.
39531 (index): Do not use BP_SYM in weak_alias.
39532 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39533 "bp-asm.h".
39534 (PARMS): Do not use macros from bp-asm.h.
39535 (DEST): Likewise.
39536 (SRC): Likewise.
39537 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39538 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39539 "bp-asm.h".
39540 (PARMS): Do not use macros from bp-asm.h.
39541 (strlen): Do not use BP_SYM.
39542 * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
39549 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39550 "bp-asm.h".
39551 (PARMS): Do not use macros from bp-asm.h.
39552 (S1): Likewise.
39553 (SIZE): Likewise.
39554 (__mpn_submul_1): Do not use BP_SYM.
39555 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39556 "bp-asm.h".
39557 (PARMS): Do not use macros from bp-asm.h.
39558 (S1): Likewise.
39559 (S2): Likewise.
39560 (SIZE): Likewise.
39561 (__mpn_add_n): Do not use BP_SYM.
39562 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39563 weak_alias.
39564 (bzero): Likewise.
39565 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39566 "bp-asm.h".
39567 (PARMS): Do not use macros from bp-asm.h.
39568 (BLK2): Likewise.
39569 (LEN): Likewise.
39570 (memcmp): Do not use BP_SYM.
39571 (bcmp): Do not use BP_SYM in weak_alias.
39572 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39573 "bp-asm.h".
39574 (PARMS): Do not use macros from bp-asm.h.
39575 (DEST): Likewise.
39576 (SRC): Likewise.
39577 (LEN): Likewise.
39578 (memcpy): Likewise. Do not use BP_SYM.
39579 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39580 "bp-asm.h".
39581 (PARMS): Do not use macros from bp-asm.h.
39582 (DEST): Likewise.
39583 (SRC): Likewise.
39584 (LEN): Likewise.
39585 (memmove): Likewise. Do not use BP_SYM.
39586 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39587 "bp-asm.h".
39588 (PARMS): Do not use macros from bp-asm.h.
39589 (DEST): Likewise.
39590 (SRC): Likewise.
39591 (LEN): Likewise.
39592 (__mempcpy): Likewise. Do not use BP_SYM.
39593 (mempcpy): Do not use BP_SYM in weak_alias.
39594 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39595 "bp-asm.h".
39596 (PARMS): Do not use macros from bp-asm.h.
39597 (DEST): Likewise.
39598 (LEN): Likewise.
39599 [!BZERO_P] (CHR): Likewise.
39600 (memset): Likewise. Do not use BP_SYM.
39601 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39602 "bp-asm.h".
39603 (PARMS): Do not use macros from bp-asm.h.
39604 (STR2): Likewise.
39605 (strcmp): Do not use BP_SYM.
39606 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39607 "bp-asm.h".
39608 (PARMS): Do not use macros from bp-asm.h.
39609 (STR): Likewise.
39610 (DELIM): Likewise.
39611 [USE_AS_STRTOK_R] (SAVE): Likewise.
39612 (FUNCTION): Likewise. Do not use BP_SYM.
39613 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39614 aliases.
39615 (strtok_r): Likewise.
39616 (__GI___strtok_r): Likewise.
39617 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39618 (PARMS): Do not use macros from bp-asm.h.
39619 (S): Likewise.
39620 (SIZE): Likewise.
39621 (__mpn_lshift): Do not use BP_SYM.
39622 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39623 (PARMS): Do not use macros from bp-asm.h.
39624 (STR): Likewise.
39625 (CHR): Likewise.
39626 (__memchr): Do not use BP_SYM.
39627 (memchr): Do not use BP_SYM in weak_alias.
39628 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39629 (PARMS): Do not use macros from bp-asm.h.
39630 (BLK2): Likewise.
39631 (LEN): Likewise.
39632 (memcmp): Do not use BP_SYM.
39633 (bcmp): Do not use BP_SYM in weak_alias.
39634 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39635 (PARMS): Do not use macros from bp-asm.h.
39636 (S1): Likewise.
39637 (SIZE): Likewise.
39638 (__mpn_mul_1): Do not use BP_SYM.
39639 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39640 "bp-asm.h".
39641 (PARMS): Do not use macros from bp-asm.h.
39642 (STR): Likewise.
39643 (CHR): Likewise.
39644 (__rawmemchr): Do not use BP_SYM.
39645 (rawmemchr): Do not use BP_SYM in weak_alias.
39646 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39647 (PARMS): Do not use macros from bp-asm.h.
39648 (S): Likewise.
39649 (SIZE): Likewise.
39650 (__mpn_rshift): Do not use BP_SYM.
39651 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39652 (PARMS): Do not use macros from bp-asm.h.
39653 (SIGMSK): Likewise.
39654 (__sigsetjmp): Likewise. Do not use BP_SYM.
39655 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39656 (_start): Do not use BP_SYM.
39657 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39658 (PARMS): Do not use macros from bp-asm.h.
39659 (DEST): Likewise.
39660 (SRC): Likewise.
39661 (__stpcpy): Likewise. Do not use BP_SYM.
39662 (stpcpy): Do not use BP_SYM in weak_alias.
39663 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39664 "bp-asm.h".
39665 (PARMS): Do not use macros from bp-asm.h.
39666 (DEST): Likewise.
39667 (SRC): Likewise.
39668 (LEN): Likewise.
39669 (__stpncpy): Likewise. Do not use BP_SYM.
39670 (stpncpy): Do not use BP_SYM in weak_alias.
39671 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39672 (PARMS): Do not use macros from bp-asm.h.
39673 (STR): Likewise.
39674 (CHR): Likewise.
39675 (strchr): Likewise. Do not use BP_SYM.
39676 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39677 "bp-asm.h".
39678 (PARMS): Do not use macros from bp-asm.h.
39679 (STR): Likewise.
39680 (CHR): Likewise.
39681 (__strchrnul): Likewise. Do not use BP_SYM.
39682 (strchrnul): Do not use BP_SYM in weak_alias.
39683 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39684 "bp-asm.h".
39685 (PARMS): Do not use macros from bp-asm.h.
39686 (STOP): Likewise.
39687 (strcspn): Do not use BP_SYM.
39688 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39689 "bp-asm.h".
39690 (PARMS): Do not use macros from bp-asm.h.
39691 (STR): Likewise.
39692 (STOP): Likewise.
39693 (strpbrk): Likewise. Do not use BP_SYM.
39694 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39695 "bp-asm.h".
39696 (PARMS): Do not use macros from bp-asm.h.
39697 (STR): Likewise.
39698 (CHR): Likewise.
39699 (strrchr): Likewise. Do not use BP_SYM.
39700 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39701 (PARMS): Do not use macros from bp-asm.h.
39702 (SKIP): Likewise.
39703 (strspn): Do not use BP_SYM.
39704 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39705 (PARMS): Do not use macros from bp-asm.h.
39706 (STR): Likewise.
39707 (DELIM): Likewise.
39708 (SAVE): Likewise.
39709 (FUNCTION): Likewise. Do not use BP_SYM.
39710 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39711 aliases.
39712 (strtok_r): Likewise.
39713 (__GI___strtok_r): Likewise.
39714 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39715 (PARMS): Do not use macros from bp-asm.h.
39716 (S1): Likewise.
39717 (S2): Likewise.
39718 (SIZE): Likewise.
39719 (__mpn_sub_n): Do not use BP_SYM.
39720 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39721 "bp-asm.h".
39722 (PARMS): Do not use macros from bp-asm.h.
39723 (S1): Likewise.
39724 (SIZE): Likewise.
39725 (__mpn_submul_1): Do not use BP_SYM.
39726 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39727 <bp-sym.h>.
39728 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39729 and <bp-asm.h>.
39730 (PARMS): Do not use macros from bp-asm.h.
39731 (FLAGS): Likewise.
39732 (PTID): Likewise.
39733 (TLS): Likewise.
39734 (CTID): Likewise.
39735 (__clone): Do not use BP_SYM.
39736 (clone): Do not use BP_SYM in weak_alias.
39737 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39738 and <bp-asm.h>.
39739 (PARMS): Do not use macros from bp-asm.h.
39740 (LEN): Likewise.
39741 (__mmap64): Do not use BP_SYM.
39742 (mmap64): Do not use BP_SYM in weak_alias.
39743 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39744 <bp-sym.h> and <bp-asm.h>.
39745 (PARMS): Do not use macros from bp-asm.h.
39746 (__posix_fadvise64_l64): Do not use BP_SYM.
39747 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39748 (PARMS): Do not use macros from bp-asm.h.
39749 (NSOPS): Likewise.
39750 (semtimedop): Do not use BP_SYM.
39751 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39752 and <bp-asm.h>.
39753
39754 2013-02-21 Allan McRae <allan@archlinux.org>
39755
39756 * manual/message.texi (Charset conversion in gettext):
39757 Move @end statement to beginning of line.
39758
39759 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39760
39761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39762 static.
39763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39764 Likewise.
39765
39766 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39767 (denorm): Likewise.
39768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39770
39771 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39772
39773 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39774 tail-call to the resolved function if pltexit isn't needed.
39775
39776 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39777
39778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39779 or Y being zero as being unlikely.
39780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39781 Likewise.
39782
39783 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39784
39785 * manual/nss.texi (System Databases and Name Service Switch):
39786 Remove frobnicate @pxref.
39787
39788 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39789
39790 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39791 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39792
39793 2013-02-20 Petr Machata <pmachata@redhat.com>
39794
39795 * elf/elf.h (R_ARM_TARGET1): New macro.
39796 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39797 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39798 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39799 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39800 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39801 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39802 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39803 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39804 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39805 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39806 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39807 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39808 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39809 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39810 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39811 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39812 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39813 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39814 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39815 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39816 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39817 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39818 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39819 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39820 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39821 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39822 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39823 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39824 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39825 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39826 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39827 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39828 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39829 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39830 (R_ARM_THM_GOT_BREL12): Likewise.
39831 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39832 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39833 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39834 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39835 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39836 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39837 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39838 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39839 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39840
39841 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39842
39843 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39844 __attribute_used__ to __attribute__ ((unused)).
39845
39846 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39847
39848 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39849 powerpc mpa.c.
39850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39851 comment formatting.
39852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39853
39854 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39855
39856 [BZ #13550]
39857 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39858 Remove macro.
39859 (ENTER): Remove both macro definitions.
39860 (LEAVE): Likewise.
39861 (CHECK_BOUNDS_LOW): Likewise.
39862 (CHECK_BOUNDS_HIGH): Likewise.
39863 (CHECK_BOUNDS_BOTH): Likewise.
39864 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39865 (RETURN_BOUNDED_POINTER): Likewise.
39866 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39867 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39868 (POP_ERRNO_LOCATION_RETURN): Likewise.
39869 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39870 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39871 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39872 macros.
39873 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39874 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39875 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39876 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39877 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39878 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39879 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39880 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39881 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39882 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39883 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39884 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39885 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39886 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39887 removed macros.
39888 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39889 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39890 macros.
39891 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39892 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39893 * sysdeps/i386/i586/memset.S (memset): Likewise.
39894 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39895 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39896 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39897 macros.
39898 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39899 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39900 Change uses of L(2) to L(out).
39901 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39902 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39903 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39904 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39905 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39906 removed macros.
39907 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39908 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39909 macros.
39910 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39911 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39912 (RETURN): Do not use macro LEAVE.
39913 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39914 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39915 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39916 * sysdeps/i386/i686/memset.S (memset): Likewise.
39917 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39918 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39919 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39920 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39921 Likewise.
39922 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39923 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39924 L(1_2) and L(1_3) into L(1).
39925 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39926 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39927 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39928 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39929 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39930 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39931 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39932 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39933 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39934 macros.
39935 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39936 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39937 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39938 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39939 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39940 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39941 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39942 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39943 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39944 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39945 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39946 * sysdeps/i386/strspn.S (strspn): Likewise.
39947 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39948 conditional code.
39949 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39950 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39951 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39952 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39953 L(1_3) into L(1_1).
39954 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39955 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39956 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39957 macros.
39958 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39959
39960 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39961
39962 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39963 macro.
39964
39965 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39966
39967 * math/atest-exp.c (exp_mpn): Remove ROUND.
39968 * math/atest-exp2.c (exp_mpn): Likewise.
39969 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39970
39971 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39972 * stdlib/tst-tls-atexit-lib.c: Likewise.
39973 * stdlib/tst-tls-atexit.c: Likewise.
39974
39975 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39976
39977 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39978 and __attribute_alloc_size__.
39979
39980 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39981
39982 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39983 __attribute_alloc_size__.
39984 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39985 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39986
39987 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39988
39989 * include/programs/xmalloc.h: New file.
39990 * catgets/gencat.c: Include it.
39991 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39992 * elf/pldd.c: Likewise.
39993 * iconv/iconv_charmap.c: Likewise.
39994 * iconv/iconvconfig.c: Likewise.
39995 * iconv/strtab.c: Likewise.
39996 * locale/programs/locale.c: Likewise.
39997 * locale/programs/localedef.h: Likewise.
39998 * locale/programs/simple-hash.c: Likewise.
39999 * nscd/nscd.h: Likewise.
40000 * nss/makedb.c: Likewise.
40001 * sysdeps/generic/ldconfig.h: Likewise.
40002
40003 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40004
40005 * Versions.def: Add GLIBC_2.18.
40006 * include/link.h (struct link_map): New member l_tls_dtor_count.
40007 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40008 (__call_tls_dtors): Likewise.
40009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40010 __cxa_thread_atexit_impl.
40011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40012 Likewise.
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40014 Likewise.
40015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40016 Likewise.
40017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40018 Likewise.
40019 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40021 Likewise.
40022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40023 Likewise.
40024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40026 Likewise.
40027 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40028 (tests): Add test case tst-tls-atexit.
40029 (modules-names): Add shared library for tst-tls-atexit.
40030 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40031 (GLIBC_PRIVATE): Add __call_tls_dtors.
40032 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40033 for libstdc++.
40034 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40035 * stdlib/tst-tls-atexit.c: New test case.
40036 * stdlib/tst-tls-atexit-lib.c: New test case.
40037
40038 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40039
40040 * elf/Versions (ld): Add _dl_find_dso_for_object.
40041 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40042 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40043 (dl_open_worker): Use _dl_find_dso_for_object.
40044 * elf/dl-sym.c (do_sym): Likewise.
40045 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40046
40047 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40048
40049 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40050 Syntactic changes only.
40051 (_dl_runtime_profile): Do a tail-call to the resolved function.
40052
40053 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40054
40055 [BZ #13550]
40056 * sysdeps/x86_64/bp-asm.h: Remove file.
40057 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40058 <bp-sym.h> and <bp-asm.h>.
40059 (__clone): Do not use BP_SYM.
40060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40061 <bp-sym.h> and <bp-asm.h>.
40062 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40063 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40064 "bp-asm.h".
40065 (_setjmp): Do not use BP_SYM.
40066 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40067 "bp-asm.h".
40068 (setjmp): Do not use BP_SYM.
40069 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40070 libc_hidden_def.
40071 (mempcpy): Do not use BP_SYM in weak_alias.
40072 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40073 "bp-asm.h".
40074 (strchr): Do not use BP_SYM.
40075 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40076 "bp-asm.h".
40077 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40078 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40079 (_start): Do not use BP_SYM.
40080 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40081 "bp-asm.h".
40082 (strcat): Do not use BP_SYM.
40083 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40084 "bp-asm.h".
40085 (STRCMP): Do not use BP_SYM.
40086 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40087 "bp-asm.h".
40088 (STRCPY): Do not use BP_SYM.
40089 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40090 "bp-asm.h".
40091 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40092 "bp-asm.h".
40093 (FUNCTION): Do not use BP_SYM.
40094 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40095 weak_alias.
40096 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40097
40098 2013-02-17 Andreas Jaeger <aj@suse.de>
40099
40100 * time/Versions: Sort entries.
40101 * string/Versions: Likewise.
40102 * resolv/Versions: Likewise.
40103 * posix/Versions: Likewise.
40104 * iconv/Versions: Likewise.
40105 * elf/Versions: Likewise.
40106 * wcsmbs/Versions: Likewise.
40107
40108 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40109
40110 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40111 loop termination condition.
40112
40113 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40114 variable to calculate EZ.
40115 (__sqr): Likewise.
40116
40117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40118 the lower precision input.
40119
40120 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40121
40122 [BZ #13550]
40123 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40124 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40125 (run-via-rtld-prefix): Do not handle %-bp tests.
40126 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40127 (all-object-suffixes): Remove .ob.
40128 (bppfx): Remove variable.
40129 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40130 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40131 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40132 [$(build-bounded) = yes] (libtype.ob): Likewise.
40133 * Makerules (elide-routines.ob): Remove variable.
40134 (do-tests-clean): Do not handle *-bp.out.
40135 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40136 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40137 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40138 (tests): Do not include $(tests-bp.out).
40139 (xtests): Do not include $(xtests-bp.out).
40140 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40141 [$(build-bounded) = yes] ($(addprefix
40142 $(objpfx),$(binaries-bounded))): Remove rule.
40143 ($(objpfx)%-bp.out): Remove rule.
40144 * config.make.in (build-bounded): Remove variable.
40145 * crypt/Makefile [$(build-bounded) = yes]
40146 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40147 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40148 append to variable.
40149 [$(build-bounded) = yes] (install-lib): Likewise.
40150 [$(build-bounded) = yes] (generated): Likewise.
40151 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40152 Remove rule.
40153 * intl/Makefile [$(build-bounded) = yes]
40154 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40155 * math/Makefile [$(build-bounded) = yes]
40156 ($(tests:%=$(objpfx)%-bp): Likewise.
40157 * misc/Makefile [$(build-bounded) = yes]
40158 ($(objpfx)tst-tsearch-bp): Likewise.
40159 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40160 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40161 Remove dependency.
40162 * string/Makefile (o-objects.ob): Remove variable.
40163 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40164 (CFLAGS-.ob): Remove variable.
40165 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40166 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40167 both definitions of variable.
40168 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40169 (ASFLAGS-.ob): Remove variable.
40170
40171 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40172
40173 [BZ #13550]
40174 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40175 Remove __BOUNDED_POINTERS__ from condition.
40176 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40177 * string/bits/string2.h [!__NO_STRING_INLINES &&
40178 !__BOUNDED_POINTERS__]: Likewise.
40179 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40180 Likewise.
40181 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40182 Remove conditional code.
40183 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40184 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40185 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40186 condition.
40187
40188 [BZ #13550]
40189 * csu/libc-start.c: Do not include <bp-sym.h>.
40190 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40191 * elf/dl-open.c: Do not include <bp-sym.h>.
40192 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40193 * math/fegetenv.c: Do not include <bp-sym.h>.
40194 (fegetenv): Do not use BP_SYM in versioned symbols.
40195 * nptl/sysdeps/pthread/bits/libc-lockP.h
40196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40197 <bp-sym.h>.
40198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40199 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40201 (__pthread_mutex_destroy): Likewise.
40202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40203 (__pthread_mutex_lock): Likewise.
40204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40205 (__pthread_mutex_trylock): Likewise.
40206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40207 (__pthread_mutex_unlock): Likewise.
40208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40209 (__pthread_mutexattr_init): Likewise.
40210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40211 (__pthread_mutexattr_destroy): Likewise.
40212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40213 (__pthread_mutexattr_settype): Likewise.
40214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40215 (__pthread_rwlock_init): Likewise.
40216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40217 (__pthread_rwlock_destroy): Likewise.
40218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40219 (__pthread_rwlock_rdlock): Likewise.
40220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40221 (__pthread_rwlock_tryrdlock): Likewise.
40222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40223 (__pthread_rwlock_wrlock): Likewise.
40224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40225 (__pthread_rwlock_trywrlock): Likewise.
40226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40227 (__pthread_rwlock_unlock): Likewise.
40228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40229 (__pthread_key_create): Likewise.
40230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40231 (__pthread_setspecific): Likewise.
40232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40233 (__pthread_getspecific): Likewise.
40234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40235 Likewise.
40236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40237 (_pthread_cleanup_push_defer): Likewise.
40238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40239 (_pthread_cleanup_pop_restore): Likewise.
40240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40241 (pthread_setcancelstate): Likewise.
40242 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40243 <bp-sym.h>.
40244 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40245 (memchr): Do not use BP_SYM in weak_alias.
40246 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40247 (fegetenv): Do not use BP_SYM in versioned symbols.
40248 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40249 (fesetenv): Do not use BP_SYM in versioned symbols.
40250 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40251 (feupdateenv): Do not use BP_SYM in versioned symbols.
40252 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40253 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40254 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40255 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40256 (open64): Do not use BP_SYM in weak_alias.
40257 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40258 (fegetenv): Do not use BP_SYM in versioned symbols.
40259 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40260 (fesetenv): Do not use BP_SYM in versioned symbols.
40261 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40262 (feupdateenv): Do not use BP_SYM in versioned symbols.
40263 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40264 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40265 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40266 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40267 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40268 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40270 <bp-sym.h>.
40271 (__libc_start_main): Do not use BP_SYM.
40272
40273 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40274
40275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40276 redundant return line.
40277 (norm): Likewise.
40278 (denorm): Likewise.
40279 (dbl_mp): Likewise.
40280 (sub_magnitudes): Likewise.
40281 (__add): Likewise.
40282 (__sub): Likewise.
40283 (__mul): Likewise.
40284 (__inv): Likewise.
40285 (__dvd): Likewise.
40286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40287 (norm): Likewise.
40288 (denorm): Likewise.
40289 (dbl_mp): Likewise.
40290 (sub_magnitudes): Likewise.
40291 (__add): Likewise.
40292 (__sub): Likewise.
40293 (__mul): Likewise.
40294 (__inv): Likewise.
40295 (__dvd): Likewise.
40296
40297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40298 instead of __mul.
40299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40300 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40301 (cc32): Likewise.
40302
40303 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40304 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40306 of __mul for squares.
40307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40308 function
40309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40310 Likewise.
40311 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40313
40314 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40315
40316 [BZ #13550]
40317 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40318 code.
40319 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40320 prototype or function definition. Rename ubp_* variables and
40321 parameters. Remove argv definitions conditional on
40322 [__BOUNDED_POINTERS__].
40323 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40324 * elf/dl-runtime.c (_dl_fixup): Likewise.
40325 * include/set-hooks.h (RUN_HOOK): Likewise.
40326 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40327 definition.
40328 * string/strcpy.c (strcpy): Do not use __unbounded.
40329 * sysdeps/generic/frame.h (struct layout): Likewise.
40330 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40331 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40332 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40333 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40334 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40335 (__backtrace): Likewise.
40336 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40337 use __ptrvalue.
40338 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40339 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40340 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40341 Likewise.
40342 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40343 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40344 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40345 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40346 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40347 Do not use __unbounded.
40348 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40349 Rename __unboundedrlimits parameter to rlimits in prototype.
40350 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40351 Do not use __unbounded.
40352 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40353 not use __ptrvalue.
40354 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40355 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40356 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40358 __ptrvalue or __unbounded.
40359 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40360 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40361 use __unbounded.
40362 (__new_msgctl): Do not use __ptrvalue.
40363 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40364 __unbounded.
40365 (__libc_msgrcv): Do not use __ptrvalue.
40366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40367 startup_info): Do not use __unbounded.
40368 (__libc_start_main): Likewise. Rename ubp_* variables and
40369 parameters. Remove argv definitions conditional on
40370 [__BOUNDED_POINTERS__].
40371 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40372 __ptrvalue.
40373 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40374 use __unbounded.
40375 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40376 or __ptrvalue.
40377 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40378 use __unbounded.
40379 (__new_shmctl): Do not use __ptrvalue.
40380 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40381 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40382 Likewise.
40383 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40384 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40385 (__libc_sigaction): Likewise.
40386 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40387 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40388 Likewise.
40389 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40390
40391 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40392
40393 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40394
40395 * string/mempcpy.c: Implement by calling memcpy.
40396
40397 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40398
40399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40400
40401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40402 evaluation.
40403
40404 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40405 values in the mantissa.
40406
40407 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40408 minimize writes to Z.
40409 (sub_magnitudes): Simplify code a bit.
40410
40411 2013-02-12 Roland McGrath <roland@hack.frob.com>
40412
40413 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40414 from the message. The linker prefixes all warnings with that already.
40415
40416 2013-02-12 Andreas Schwab <schwab@suse.de>
40417
40418 [BZ #15078]
40419 * posix/regexec.c (extend_buffers): Add parameter min_len.
40420 (check_matching): Pass minimum needed length.
40421 (clean_state_log_if_needed): Likewise.
40422 (get_subexp): Likewise.
40423 * posix/Makefile (tests): Add bug-regex34.
40424 (bug-regex34-ENV): Define.
40425 * posix/bug-regex34.c: New file.
40426
40427 [BZ #11561]
40428 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40429 elements compare against the byte sequence of it, not its name.
40430 * posix/Makefile (tests): Add bug-regex35.
40431 (bug-regex35-ENV): Define.
40432 * posix/bug-regex35.c: New file.
40433
40434 2013-02-11 Tom de Vries <tom@codesourcery.com>
40435
40436 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40437 comment.
40438 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40439 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40440 (CHECK_EOL): Add undef.
40441
40442 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40443
40444 * bits/stdlib-bsearch.h: New file.
40445 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40446 * stdlib/stdlib.h: Likewise.
40447
40448 2013-02-11 Roland McGrath <roland@hack.frob.com>
40449
40450 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40451 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40452 declaration.
40453 * manual/search.texi (Array Search Function): Add missing const in
40454 lfind prototype.
40455 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40456 declaration to use rlim_t.
40457 (Basic Scheduling Functions): Remove erroneous const from
40458 sched_getparam prototype. Remove erroneous * from
40459 sched_get_priority_max and sched_get_priority_min prototypes.
40460 (Resource Usage): Fix summary @comment on vtimes to refer to
40461 sys/vtimes.h rather than vtimes.h.
40462 Add missing *s in vtimes prototype.
40463 (Limits on Resources): Fix ulimit prototype to return long int.
40464 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40465 prototypes to use long int rather than double.
40466 (BSD Random): Fix initstate and setstate to use char *, not void *.
40467 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40468 prototype to make second argument 'struct aiocb64 *const[]'.
40469 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40470 (Status of AIO Operations): Remove erroneous const in aio_return and
40471 aio_return64 prototypes.
40472 (Synchronizing I/O): Fix sync prototype to return void.
40473 * manual/startup.texi (Suboptions): Remove an erroneous const in
40474 getsubopt prototype.
40475 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40476 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40477 use size_t rather than int.
40478 (Scanning All Users): Likewise for getpwent_r.
40479 (Setting Groups): Add missing const to setgroups prototype.
40480 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40481 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40482 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40483 'const void *' rather than 'const char *'.
40484 (Host Address Functions): Likewise for inet_ntop.
40485 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40486 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40487 ssize_t for return value.
40488 (Sending Data): Likewise for send, sendto, sendmsg.
40489 (Socket Option Functions): Add a missing const in setsockopt prototype.
40490 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40491 use wchar_t for the argument.
40492 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40493 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40494 take no arguments.
40495 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40496 double/float/long double for second argument.
40497 Fix return types of significand, significandf, significandl.
40498 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40499 argument in fchmod prototype.
40500 (File Owner): Use uid_t and gid_t in fchown prototype.
40501 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40502 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40503 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40504 use 'const struct dirent **' as argument types to CMP function pointer
40505 argument.
40506 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40507 (File Times): Fix summary magic @comment for struct utimbuf and utime
40508 to refer to utime.h, not time.h.
40509 * manual/string.texi (Argz Functions): Add missing const in
40510 argz_extract and argz_next prototypes.
40511 (Finding Tokens in a String): Likewise for basename.
40512 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40513 (Copying and Concatenation): Fix typo in wmemmove prototype.
40514 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40515 (Signal Stack): Remove erroneous const in sigstack prototype.
40516 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40517 prototype.
40518 (Simple Calendar Time): Likewise for stime.
40519 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40520 prototype.
40521 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40522 say sys/sysctl.h instead.
40523 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40524 and vsyslog prototypes.
40525
40526 2013-02-11 Tom de Vries <tom@codesourcery.com>
40527
40528 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40529 Remove.
40530
40531 2013-02-11 Roland McGrath <roland@hack.frob.com>
40532
40533 * misc/sys/mman.h: Fix typo in mremap comment.
40534
40535 2013-02-08 Roland McGrath <roland@hack.frob.com>
40536
40537 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40538 the '\0' terminator.
40539
40540 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40541
40542 [BZ #13550]
40543 * debug/segfault.c: Don't include <bp-checks.h>.
40544 * sysdeps/generic/bp-checks.h: Remove file.
40545 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40546 (__GETDENTS): Don't use CHECK_N.
40547 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40548 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40549 (__getgroups): Don't use CHECK_N.
40550 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40551 (setgroups): Don't use CHECK_N.
40552 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40553 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40554 (__libc_msgrcv): Don't use CHECK_N.
40555 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40556 (__libc_msgsnd): Don't use CHECK_N.
40557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40558 <bp-checks.h>.
40559 (__libc_pread): Don't use CHECK_N.
40560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40561 include <bp-checks.h>.
40562 (__libc_pread64): Don't use CHECK_N.
40563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40564 include <bp-checks.h>.
40565 (__libc_pwrite): Don't use CHECK_N.
40566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40567 include <bp-checks.h>.
40568 (__libc_pwrite64): Don't use CHECK_N.
40569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40570 <bp-checks.h>.
40571 (__libc_pread): Don't use CHECK_N.
40572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40573 include <bp-checks.h>.
40574 (__libc_pread64): Don't use CHECK_N.
40575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40576 include <bp-checks.h>.
40577 (__libc_pwrite): Don't use CHECK_N.
40578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40579 include <bp-checks.h>.
40580 (__libc_pwrite64): Don't use CHECK_N.
40581 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40582 (do_pread): Don't use CHECK_N.
40583 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40584 (do_pread64): Don't use CHECK_N.
40585 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40586 (do_pwrite): Don't use CHECK_N.
40587 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40588 (do_pwrite64): Don't use CHECK_N.
40589 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40590 (__libc_readv): Don't use CHECK_N.
40591 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40592 (semop): Don't use CHECK_N.
40593 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40594 <bp-checks.h>.
40595 (semtimedop): Don't use CHECK_N.
40596 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40597 (__libc_pread): Don't use CHECK_N.
40598 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40599 <bp-checks.h>.
40600 (__libc_pread64): Don't use CHECK_N.
40601 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40602 <bp-checks.h>.
40603 (__libc_pwrite): Don't use CHECK_N.
40604 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40605 <bp-checks.h>.
40606 (__libc_pwrite64): Don't use CHECK_N.
40607 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40608 <bp-checks.h>.
40609 (__libc_msgrcv): Don't use CHECK_N.
40610 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40611 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40612 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40613 (__libc_writev): Don't use CHECK_N.
40614
40615 2013-02-08 Roland McGrath <roland@hack.frob.com>
40616
40617 * string/strcpy.c: Removed unused variable.
40618
40619 * Makeconfig (+sysdep-includes): Define with := rather than =.
40620 Use an existing include/ subdir of each sysdeps dir before it.
40621
40622 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40623
40624 * nscd/connection.c (register_traced_file): Comment function.
40625 [HAVE_INOTIFY] (union __inev): Define.
40626 [HAVE_INOTIFY] (inotify_check_files): New function.
40627 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40628 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40629 clear_db_cache.
40630 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40631
40632 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40633
40634 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40635 loaded if not already and that a failure is permanent.
40636
40637 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40638
40639 [BZ #15006]
40640 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40641 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40642
40643 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40644
40645 [BZ #13550]
40646 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40647 (CHECK_1_NULL_OK): Likewise.
40648 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40649 (__fxstat): Do not use CHECK_1.
40650 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40651 <bp-checks.h>.
40652 (___fxstat64): Do not use CHECK_1.
40653 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40654 <bp-checks.h>.
40655 (__fxstatat): Do not use CHECK_1.
40656 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40657 <bp-checks.h>.
40658 (__fxstatat64): Do not use CHECK_1.
40659 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40660 <bp-checks.h>.
40661 (__fxstat): Do not use CHECK_1.
40662 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40663 <bp-checks.h>.
40664 (__fxstatat): Do not use CHECK_1.
40665 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40666 <bp-checks.h>.
40667 (__getresgid): Do not use CHECK_1.
40668 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40669 <bp-checks.h>.
40670 (__getresuid): Do not use CHECK_1.
40671 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40672 <bp-checks.h>.
40673 (__lxstat): Do not use CHECK_1.
40674 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40675 <bp-checks.h>.
40676 (__old_msgctl): Do not use CHECK_1.
40677 (__new_msgctl): Likewise.
40678 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40679 <bp-checks.h>.
40680 (__new_setrlimit): Do not use CHECK_1.
40681 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40682 <bp-checks.h>.
40683 (__old_shmctl): Do not use CHECK_1.
40684 (__new_shmctl): Likewise.
40685 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40686 <bp-checks.h>.
40687 (__xstat): Do not use CHECK_1.
40688 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40689 (__lxstat): Do not use CHECK_1.
40690 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40691 <bp-checks.h>.
40692 (___lxstat64): Do not use CHECK_1.
40693 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40694 (__old_msgctl): Do not use CHECK_1.
40695 (__new_msgctl): Likewise.
40696 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40697 <bp-checks.h>.
40698 (__gettimeofday): Do not use CHECK_1.
40699 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40700 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40701 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40702 <bp-checks.h>.
40703 (__gettimeofday): Do not use CHECK_1.
40704 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40705 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40706 (__new_shmctl): Do not use CHECK_1.
40707 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40708 <bp-checks.h>.
40709 (do_sigtimedwait): Do not use CHECK_1.
40710 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40711 <bp-checks.h>.
40712 (do_sigwaitinfo): Do not use CHECK_1.
40713 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40714 <bp-checks.h>.
40715 (msgctl): Do not use CHECK_1.
40716 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40717 <bp-checks.h>.
40718 (shmctl): Do not use CHECK_1.
40719 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40720 (ustat): Do not use CHECK_1.
40721 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40722 <bp-checks.h>.
40723 (__fxstat): Do not use CHECK_1.
40724 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40725 <bp-checks.h>.
40726 (__fxstatat): Do not use CHECK_1.
40727 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40728 <bp-checks.h>.
40729 (__lxstat): Do not use CHECK_1.
40730 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40731 <bp-checks.h>.
40732 (__xstat): Do not use CHECK_1.
40733 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40734 (__xstat): Do not use CHECK_1.
40735 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40736 (___xstat64): Do not use CHECK_1.
40737
40738 [BZ #13550]
40739 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40740 definitions.
40741 (CHECK_BOUNDS_HIGH): Likewise.
40742 * string/strcpy.c: Do not include <bp-checks.h>.
40743 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40744
40745 2013-02-07 Roland McGrath <roland@hack.frob.com>
40746
40747 * nscd/nscd-client.h (__nscd_drop_map_ref):
40748 Add __attribute__ ((unused)).
40749 * nis/nss-nisplus.h (niserr2nss): Likewise.
40750
40751 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40752 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40753
40754 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40755 Remove inline keyword.
40756 * include/rounding-mode.h (round_away): Likewise.
40757 * libio/wfileops.c (adjust_wide_data): Likewise.
40758 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40759 (__m128i_strloadu_tolower): Likewise.
40760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40761 (__m128i_strloadu_tolower): Likewise.
40762 * time/mktime.c (ydhms_diff): Likewise.
40763 * locale/elem-hash.h (elem_hash): Likewise.
40764 * locale/setlocale.c (setdata): Likewise.
40765 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40766 (re_string_wchar_at): Likewise.
40767 (bitset_not, bitset_merge, bitset_mask): Likewise.
40768 [!(__GNUC__ > 3)] (inline): Remove macro.
40769 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40770 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40771 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40772 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40773 * string/memcmp.c (memcmp_bytes): Likewise.
40774 * locale/programs/locarchive.c (compute_hashval): Likewise.
40775 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40776 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40777 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40778 * nss/getent.c (print_rpc, print_protocols): Likewise.
40779 (print_passwd, print_group, print_aliases): Likewise.
40780 * nis/nss-nisplus.h (niserr2nss): Likewise.
40781 * nscd/connections.c (restart_p): Likewise.
40782 Change return type to bool.
40783
40784 2013-02-05 Roland McGrath <roland@hack.frob.com>
40785
40786 * Makeconfig (all-Depend-files): Add existing
40787 $(sorted-subdirs:=/Depend) files.
40788 (all-subdirs): Remove nss.
40789 * sysdeps/unix/inet/Subdirs: Add it here instead.
40790 * hesiod/Depend: New file.
40791
40792 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40793 instead of calling alloca.
40794
40795 * io/lseek.c (__lseek): Rename to __libc_lseek.
40796 Define __lseek as an alias.
40797
40798 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40799
40800 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40801
40802 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40803 else clause and remove check for non-standard endianness.
40804
40805 2013-02-04 David S. Miller <davem@davemloft.net>
40806
40807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40808
40809 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40810
40811 [BZ #13550]
40812 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40813 (__ubp_memchr): Remove prototype.
40814 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40815 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40816 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40817 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40818 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40819 Remove alias.
40820 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40821 (__ubp_memchr): Likewise.
40822 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40823 (__ubp_memchr): Likewise.
40824 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40825 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40826 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40827 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40828 CHECK_STRING.
40829 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40830 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40831 (__getcwd): Do not use CHECK_STRING.
40832 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40833 <bp-checks.h>.
40834 (__real_chown): Do not use CHECK_STRING.
40835 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40836 <bp-checks.h>.
40837 (fchownat): Do not use CHECK_STRING.
40838 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40839 CHECK_STRING.
40840 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40841 <bp-checks.h>.
40842 (__lchown): Do not use CHECK_STRING.
40843 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40844 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40845 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40846 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40848 include <bp-checks.h>.
40849 (truncate64): Do not use CHECK_STRING.
40850 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40851 <bp-checks.h>.
40852 (__real_chown): Do not use CHECK_STRING.
40853 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40854 <bp-checks.h>.
40855 (__lchown): Do not use CHECK_STRING.
40856 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40857 <bp-checks.h>.
40858 (__chown): Do not use CHECK_STRING.
40859 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40860 <bp-checks.h>.
40861 (truncate64): Do not use CHECK_STRING.
40862 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40863 Likewise.
40864 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40865 (__xmknod): Do not use CHECK_STRING.
40866 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40867 <bp-checks.h>.
40868 (__xmknodat): Do not use CHECK_STRING.
40869 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40870 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40871
40872 2013-02-04 Andreas Schwab <schwab@suse.de>
40873
40874 [BZ #14142]
40875 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40876 * include/netdb.h: Likewise for h_errno.
40877 * elf/tst-stackguard1.c: Include <tls.h>.
40878
40879 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40880
40881 * elf/link.h (struct link_map): Extend the l_addr comment.
40882 * include/link.h (struct link_map): Likewise.
40883
40884 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40885
40886 [BZ #13550]
40887 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40888 (BOUNDED_1): Remove macro.
40889 * debug/backtrace.c: Don't include <bp-checks.h>.
40890 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40891 (__backtrace): Likewise.
40892 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40893 <bp-checks.h>.
40894 (__backtrace): Don't use BOUNDED_1.
40895 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40896 <bp-checks.h>.
40897 (__backtrace): Don't use BOUNDED_1.
40898 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40899 (__backtrace): Don't use BOUNDED_1.
40900 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40901 (shmat): Don't use BOUNDED_N.
40902
40903 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40904
40905 [BZ #13550]
40906 * sysdeps/generic/bp-start.h: Remove file.
40907 * csu/libc-start.c: Don't include <bp-start.h>.
40908 (LIBC_START_MAIN): Set up __environ directly instead of using
40909 INIT_ARGV_and_ENVIRON.
40910 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40911 <bp-start.h>.
40912
40913 [BZ #13550]
40914 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40915 definitions.
40916 (CHECK_FCNTL): Likewise.
40917 (CHECK_N_PAGES): Likewise.
40918
40919 [BZ #13550]
40920 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40921 definitions.
40922 (CHECK_SIGSET_NULL_OK): Likewise.
40923 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40924 <bp-checks.h>.
40925 (sigpending): Don't use CHECK_SIGSET.
40926 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40927 <bp-checks.h>.
40928 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40929 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40930 <bp-checks.h>.
40931 (do_sigsuspend): Don't use CHECK_SIGSET.
40932 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40933 use CHECK_SIGSET.
40934 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40935 (do_sigwait): Don't use CHECK_SIGSET.
40936 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40937 use CHECK_SIGSET.
40938 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40939 include <bp-checks.h>.
40940 (sigpending): Don't use CHECK_SIGSET.
40941 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40942 include <bp-checks.h>.
40943 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40944 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40945 <bp-checks.h>.
40946 (sigpending): Don't use CHECK_SIGSET.
40947 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40948 <bp-checks.h>.
40949 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40950
40951 [BZ #13550]
40952 * sysdeps/generic/bp-semctl.h: Remove file.
40953 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40954 <bp-checks.h> and <bp-semctl.h>.
40955 (__old_semctl): Don't use CHECK_SEMCTL.
40956 (__new_semctl): Likewise.
40957 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40958 and <bp-semctl.h>.
40959 (__old_semctl): Don't use CHECK_SEMCTL.
40960 (__new_semctl): Likewise.
40961 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40962 <bp-checks.h> and <bp-semctl.h>.
40963 (__old_semctl): Don't use CHECK_SEMCTL.
40964 (__new_semctl): Likewise.
40965 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40966 <bp-checks.h> and <bp-semctl.h>.
40967 (semctl): Don't use CHECK_SEMCTL.
40968
40969 [BZ #13550]
40970 * Makerules (elide-bp-thunks): Remove variable.
40971 (elide-routines.oS): Don't use $(elide-bp-thunks).
40972 (elide-routines.os): Likewise.
40973 (elide-routines.o): Likewise.
40974 (elide-routines.op): Likewise.
40975 (elide-routines.og): Likewise.
40976 (objects): Don't use $(bp-thunks).
40977 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40978 include.
40979 (common-generated): Do not add s-proto-bp.d.
40980 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40981 (int): Likewise.
40982 (typ): Likewise.
40983 Do not generate makefile rules for bounded-pointer thunks.
40984 * sysdeps/generic/bp-thunks.h: Remove file.
40985 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40986 * sysdeps/unix/s-proto-bp.S: Likewise.
40987
40988 [BZ #15062]
40989 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40990 parts of result separately when argument is not close to line from
40991 -i to i and one part of argument is small.
40992 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40993 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40994 * math/libm-test.inc (cacos_test): Add more tests.
40995 (casin_test): Likewise.
40996 (casinh_test): Likewise.
40997 * sysdeps/i386/fpu/libm-test-ulps: Update.
40998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40999
41000 2013-01-31 David S. Miller <davem@davemloft.net>
41001
41002 * po/de.po: Update from translation team.
41003
41004 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41005
41006 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41007
41008 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41009
41010 * configure.in (_AC_PROG_CC_C89): New definition.
41011 * configure: Regenerate.
41012
41013 * configure.in (AC_PROG_CPP): New definition.
41014 * configure: Regenerate.
41015
41016 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41017
41018 * debug/tst-backtrace.h: New file.
41019 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41020 (ret): Remove variable.
41021 (x): Likewise.
41022 (FAIL): Remove macro.
41023 (NO_INLINE): Likewise.
41024 (fn1): Use match function instead of strstr.
41025 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41026 (ret): Remove variable.
41027 (x): Likewise.
41028 (FAIL): Remove macro.
41029 (NO_INLINE): Likewise.
41030 (fn): Use match function instead of strstr.
41031 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41032 (ret): Remove variable.
41033 (x): Likewise.
41034 (FAIL): Remove macro.
41035 (NO_INLINE): Likewise.
41036 (handle_signal): Use match function instead of strstr.
41037 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41038 (ret): Remove variable.
41039 (x): Likewise.
41040 (FAIL): Remove macro.
41041 (NO_INLINE): Likewise.
41042 (handle_signal): Use match function instead of strstr.
41043
41044 2013-01-23 Roland McGrath <roland@hack.frob.com>
41045
41046 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41047
41048 2013-01-23 David S. Miller <davem@davemloft.net>
41049
41050 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41051 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41052 argument of CAS if possible.
41053 * sysdeps/sparc/sparc64/bits/atomic.h
41054 (__arch_compare_and_exchange_val_32_acq): Likewise.
41055 (__arch_compare_and_exchange_val_64_acq): Likewise.
41056
41057 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41058
41059 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41060 * sysdeps/posix/ulimit.c: ... this.
41061 Include <limits.h>.
41062 * sysdeps/unix/bsd/ulimit.c: Remove file.
41063
41064 2013-01-23 Adam Conrad <adconrad@0c3.net>
41065
41066 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41067 (LDFLAGS-tst-array5): Likewise.
41068
41069 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41070
41071 [BZ #15036]
41072 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41073 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41074 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41075 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41076
41077 2013-01-21 David S. Miller <davem@davemloft.net>
41078
41079 * sysdeps/sparc/backtrace.c: New file.
41080 * sysdeps/sparc/sparc32/backtrace.h: New file.
41081 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41082 * sysdeps/sparc/sparc64/backtrace.h: New file.
41083 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41084 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41085 -funwind-tables.
41086
41087 2013-01-21 Andreas Schwab <schwab@suse.de>
41088
41089 [BZ #15020]
41090 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41091 closed its stdout.
41092
41093 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41094
41095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41096 "mpa2.h".
41097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41098
41099 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41100 Mark Mitchell <mark@codesourcery.com>
41101 Tom de Vries <tom@codesourcery.com>
41102 Paul Pluzhnikov <ppluzhnikov@google.com>
41103
41104 * debug/tst-backtrace2.c: New file.
41105 * debug/tst-backtrace3.c: Likewise.
41106 * debug/tst-backtrace4.c: Likewise.
41107 * debug/tst-backtrace5.c: Likewise.
41108 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41109 (CFLAGS-tst-backtrace3.c): Likewise.
41110 (CFLAGS-tst-backtrace4.c): Likewise.
41111 (CFLAGS-tst-backtrace5.c): Likewise.
41112 (LDFLAGS-tst-backtrace2): Likewise.
41113 (LDFLAGS-tst-backtrace3): Likewise.
41114 (LDFLAGS-tst-backtrace4): Likewise.
41115 (LDFLAGS-tst-backtrace5): Likewise.
41116 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41117 tst-backtrace4 and tst-backtrace5.
41118
41119 2013-01-18 Anton Blanchard <anton@samba.org>
41120 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41121
41122 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41123 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41124 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41125 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41127 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41128 "+r" and remove output regs list as redundant. Add explicit inline
41129 asm to specify register of return val to work around compiler codegen
41130 bug. Remove (int) cast on return value. Add return type parameter to
41131 use in macro so that this macro does not truncate return value for
41132 64-bit values.
41133 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41134 pass to INTERNAL_VSYSCALL_NCS.
41135 (INLINE_VSYSCALL): Add 'long int' as return type to
41136 INTERNAL_VSYSCALL_NCS macro invocation.
41137 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41138 INTERNAL_VSYSCALL_NCS macro invocation.
41139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41140
41141 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41142
41143 [BZ #14496]
41144 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41145 Fix application of SIMD FP exception mask.
41146
41147 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41148 mp_no from a power of two.
41149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41150 __mpexp_twomm1. Use __pow_mp.
41151
41152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41153 multiplication.
41154
41155 2013-01-17 David S. Miller <davem@davemloft.net>
41156
41157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41158
41159 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41160
41161 [BZ #15023]
41162 * include/complex.h: Condition contents on [!_COMPLEX_H].
41163 (__kernel_casinhf): New prototype.
41164 (__kernel_casinh): Likewise.
41165 (__kernel_casinhl): Likewise.
41166 * math/Makefile (libm_calls): Add k_casinh.
41167 * math/k_casinh.c: New file.
41168 * math/k_casinhf.c: Likewise.
41169 * math/k_casinhl.c: Likewise.
41170 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41171 finite nonzero arguments.
41172 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41173 finite nonzero arguments.
41174 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41175 finite nonzero arguments.
41176 * math/s_casinh.c: Do not include <float.h>.
41177 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41178 * math/s_casinhf.c: Do not include <float.h>.
41179 (__casinhf): Move code for finite nonzero arguments to
41180 k_casinhf.c.
41181 * math/s_casinhl.c: Do not include <float.h>.
41182 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41183 redefine.
41184 (__casinhl): Move code for finite nonzero arguments to
41185 k_casinhl.c.
41186 * math/libm-test.inc (cacos_test): Add more tests.
41187 * sysdeps/i386/fpu/libm-test-ulps: Update.
41188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41189
41190 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41191
41192 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41193 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41194 [!HAVE_MREMAP]: Remove [defined linux] case.
41195 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41196
41197 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41198
41199 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41200
41201 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41202
41203 * elf/elf.h (R_386_SIZE32): New relocation.
41204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41205 R_386_SIZE32.
41206 (elf_machine_rela): Likewise.
41207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41208 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41209
41210 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41211
41212 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41213 (FP_FAST_FMA): Do not define.
41214 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41215 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41216 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41217 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41218 !_SOFT_FLOAT]: Likewise.
41219 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41220 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41221 value.
41222 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41223 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41225 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41226 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41227 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41228 file.
41229
41230 2013-01-16 Andreas Schwab <schwab@suse.de>
41231
41232 [BZ #14327]
41233 * include/stdlib.h (__mktemp): Add declaration.
41234 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41235 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41236
41237 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41238
41239 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41240 definitions.
41241 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41242 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41243 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41244 definitions here.
41245 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41246 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41247 definitions.
41248 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41249 and ONE.
41250 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41251 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41252 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41253 definitions.
41254 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41255 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41256 definitions.
41257 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41258
41259 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41260
41261 2013-01-15 David S. Miller <davem@davemloft.net>
41262
41263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41264 trunc{,f} to libm-sysdep_routes.
41265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41267 file.
41268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41270 file.
41271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41272 file.
41273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41275 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41276 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41277 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41278 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41279 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41280 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41281
41282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41283 nearbyint{,f} to libm-sysdep_routes.
41284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41286 New file.
41287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41288 file.
41289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41290 New file.
41291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41292 file.
41293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41295 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41296 file.
41297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41298 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41299 file.
41300 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41301 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41302 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41303
41304 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41305 libc_feholdexcept and libc_fesetenv.
41306
41307 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41308
41309 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41310
41311 2013-01-14 David S. Miller <davem@davemloft.net>
41312
41313 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41314 (SPARC_ASM_VIS2_IFUNC): Likewise.
41315 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41317 use of 'siam' instruction.
41318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41319 Likewise.
41320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41321 Likewise.
41322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41323 Likewise.
41324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41329 file.
41330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41331 file.
41332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41333 file.
41334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41335 file.
41336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41341 new VIS2 routines.
41342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41345 Likewise.
41346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41351 routines to libm-sysdep_routines.
41352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41353
41354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41355 fdim/fdimf to libm-sysdep_routines.
41356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41357 file.
41358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41360 file.
41361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41364 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41365 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41366 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41367 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41368
41369 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41370
41371 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41372 to optimize copies.
41373
41374 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41377
41378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41379 local variable MPTWO.
41380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41381 Likewise.
41382
41383 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41384
41385 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41386 GLOB_NOESCAPE.
41387
41388 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41389
41390 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41391
41392 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41393
41394 * manual/pattern.texi (glob_t): Document gl_flags.
41395 (glob64_t): Likewise.
41396
41397 2013-01-11 David S. Miller <davem@davemloft.net>
41398
41399 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41400 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41401 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41402 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41403 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41404 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41405 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41406 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41407 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41408 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41409 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41410 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41411 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41412
41413 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41414 sparc V9 rather than using V8 code.
41415 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41416 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41417
41418 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41419 Move to...
41420 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41421 Here.
41422
41423 2013-01-11 Roland McGrath <roland@hack.frob.com>
41424
41425 [BZ #14941]
41426 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41427 not in the main loop.
41428 * configure: Regenerated.
41429
41430 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41431
41432 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41433 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41434 to just #else.
41435 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41436 [!__GLIBC_HAVE_LONG_LONG] case.
41437 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41438 condition to just #else.
41439 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41440 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41441 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41442 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41443 unconditional.
41444 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41445 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41446 #elif condition to just #else.
41447 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41448 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41449 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41450 #elif condition to just #else.
41451
41452 2013-01-11 Steve Ellcey <sellcey@mips.com>
41453
41454 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41455 (EF_MIPS_ARCH_64): Fix value.
41456 (EF_MIPS_ARCH_32R2): New.
41457 (EF_MIPS_ARCH_64R2): New.
41458
41459 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41460
41461 * Makeconfig (+link-pie-before-libc): New.
41462 (+link-pie-after-libc): Likewise.
41463 (+link-pie-tests): Likewise.
41464 (+link-pie): Rewritten.
41465 (link-before-libc): Remove $(config-LDFLAGS).
41466 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41467 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41468 (config-LDFLAGS): Renamed to ...
41469 (rtld-LDFLAGS): This.
41470 (rtld-tests-LDFLAGS): New macro.
41471 (link-libc-rpath-link): Likewise.
41472 (link-libc-tests-rpath-link): Likewise.
41473 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41474 (link-libc): Prepand $(link-libc-rpath-link).
41475 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41476 (test-program-prefix): New macro.
41477 (test-via-rtld-prefix): Likewise.
41478 (test-program-cmd): Likewise.
41479 (host-test-program-cmd): Likewise.
41480 * Makefile ($(common-objpfx)testrun.sh): Replace
41481 $(run-program-prefix) with $(test-program-prefix).
41482 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41483 $(rtld-LDFLAGS).
41484 ($(common-objpfx)shlib.lds): Likewise.
41485 (build-module-helper): Likewise.
41486 ($(common-objpfx)format.lds): Likewise.
41487 * Rules (binaries-pie-tests): New.
41488 (binaries-pie-notests): Likewise.
41489 (binaries-pie): Rewritten.
41490 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41491 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41492 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41493 (make-test-out): Replace $(host-built-program-cmd) with
41494 $(host-test-program-cmd).
41495 * config.make.in (build-hardcoded-path-in-tests): New variable.
41496 * configure.in (--enable-hardcoded-path-in-tests): New configure
41497 option.
41498 (hardcoded_path_in_tests): New AC_SUBST.
41499 * configure: Regenerated.
41500 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41501 $(built-program-cmd) with $(test-program-cmd).
41502 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41503 (test_program_cmd): This.
41504 * elf/Makefile ($(objpfx)order.out): Run test with
41505 $(test-program-prefix).
41506 ($(objpfx)order2.out): Likewise.
41507 ($(objpfx)tst-initorder.out): Likewise.
41508 ($(objpfx)tst-initorder2.out): Likewise.
41509 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41510 $(test-program-cmd).
41511 ($(objpfx)tst-array1-static.out): Likewise.
41512 ($(objpfx)tst-array2.out): Likewise.
41513 ($(objpfx)tst-array3.out): Likewise.
41514 ($(objpfx)tst-array4.out): Likewise.
41515 ($(objpfx)tst-array5.out): Likewise.
41516 ($(objpfx)tst-array5-static.out): Likewise.
41517 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41518 $(test-program-cmd).
41519 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41520 $(run-program-prefix) with $(test-program-prefix).
41521 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41522 (test_program_prefix): This.
41523 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41524 $(run-program-prefix) with $(test-program-prefix).
41525 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41526 (test_program_prefix): This.
41527 * iconvdata/tst-tables.sh: Likewise.
41528 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41529 $(run-program-prefix) with $(test-program-prefix).
41530 ($(objpfx)tst-translit.out): Likewise.
41531 ($(objpfx)tst-gettext2.out): Likewise.
41532 ($(objpfx)tst-gettext4.out): Likewise.
41533 ($(objpfx)tst-gettext6.out): Likewise.
41534 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41535 (test_program_prefix): This.
41536 * intl/tst-gettext2.sh: Likewise.
41537 * intl/tst-gettext4.sh Likewise.
41538 * intl/tst-gettext6.sh: Likewise.
41539 * intl/tst-translit.sh: Likewise.
41540 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41541 with $(test-program-cmd).
41542 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41543 $(run-program-prefix) with $(test-program-prefix).
41544 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41545 (test_program_prefix): This.
41546 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41547 $(run-program-prefix) with $(test-program-prefix).
41548 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41549 (test_program_prefix): This.
41550 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41551 * posix/Makefile ($(objpfx)globtest.out): Replace
41552 $(run-via-rtld-prefix) and $(test-wrapper) with
41553 $(test-program-prefix) and $(test-via-rtld-prefix).
41554 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41555 $(test-program-prefix).
41556 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41557 $(host-test-program-cmd).
41558 (tst-spawn-ARGS): Likewise.
41559 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41560 $(test-program-prefix).
41561 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41562 (test_via_rtld_prefix): This.
41563 (test_wrapper): Renamed to ...
41564 (test_program_prefix): This.
41565 (run_program_prefix): Replaced by test_program_prefix.
41566 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41567 (test_program_prefix): This.
41568 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41569 with $(host-test-program-cmd).
41570 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41571 $(run-program-prefix) with $(test-program-prefix).
41572 ($(objpfx)tst-printf.out): Likewise.
41573 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41574 $(test-program-cmd).
41575 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41576 (test_program_prefix): This.
41577 * stdio-common/tst-unbputc.sh: Likewise.
41578 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41579 $(run-program-prefix) with $(test-program-prefix).
41580 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41581 (test_program_prefix): This.
41582 * string/Makefile ($(objpfx)tst-svc.out): Replace
41583 $(built-program-cmd) with $(test-program-cmd).
41584
41585 2013-01-11 Andreas Jaeger <aj@suse.de>
41586
41587 [BZ #15003]
41588 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41589 value. Sync with Linux 3.7.
41590
41591 2013-01-10 David S. Miller <davem@davemloft.net>
41592
41593 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41600 never set.
41601 * configure: Regenerated.
41602
41603 2013-01-10 David S. Miller <davem@davemloft.net>
41604
41605 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41606 sparc V9 rather than using V8 code.
41607 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41608 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41609
41610 2013-01-10 Roland McGrath <roland@hack.frob.com>
41611
41612 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41613 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41614 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41615 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41616 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41617 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41618 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41619 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41620 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41621 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41622 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41623 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41624 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41625 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41626 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41627 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41628 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41629 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41630 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41631 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41632 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41633 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41634 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41635 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41636 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41637 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41638 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41639
41640 2013-01-10 David S. Miller <davem@davemloft.net>
41641
41642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41643
41644 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41645
41646 * posix/Makefile (tests-static): New variable.
41647 (tests): Add $(tests-static).
41648 (tst-exec-static-ARGS): New variable.
41649 (tst-spawn-static-ARGS): Likewise.
41650 * posix/tst-exec-static.c: New file.
41651 * posix/tst-spawn-static.c: Likewise.
41652 * posix/tst-exec.c: Support run directly.
41653 * posix/tst-spawn.c: Likewise.
41654
41655 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41656
41657 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41658 long.
41659 * math/bits/mathcalls.h (llrint): Likewise.
41660 (llround): Likewise.
41661 * stdlib/stdlib.h (struct drand48_data): Likewise.
41662 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41663 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41664 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41665 Likewise.
41666 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41667 Likewise.
41668 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41669 (elf_greg_t): Likewise.
41670 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41671 (__jmp_buf): Likewise.
41672 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41673 definitions.
41674 (llrint): Likewise, for all definitions.
41675 (llrintl): Likewise.
41676
41677 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41678 Remove [__GNUC__] condition.
41679 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41680 condition to just [__USE_ISOC99].
41681 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41682
41683 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41684
41685 [BZ #14200]
41686 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41687 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41688 defined.
41689 (_POSIX_V6_ILP32_OFF32): Likewise.
41690 (_XBS5_ILP32_OFF32): Likewise.
41691 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41692 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41693
41694 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41695
41696 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41697
41698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41699 doubles __mpexp_twomm1. Adjust usage.
41700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41701 Remove.
41702
41703 2013-01-10 Andreas Schwab <schwab@suse.de>
41704
41705 [BZ #14964]
41706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41707 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41708
41709 2013-01-09 David S. Miller <davem@davemloft.net>
41710
41711 [BZ #15003]
41712 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41713 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41714 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41715 (TCP_FASTOPEN): Define.
41716 (tcp_repair_opt): New structure.
41717 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41718 enum values.
41719 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41720 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41721 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41722 (tcp_cookie_transactions): New structure.
41723
41724 2013-01-09 Anton Blanchard <anton@samba.org>
41725
41726 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41727 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41729 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41730
41731 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41732
41733 * include/features.h (__USE_ANSI): Remove.
41734
41735 2013-01-09 Roland McGrath <roland@hack.frob.com>
41736
41737 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41738
41739 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41740
41741 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41742
41743 * sysdeps/s390/fpu/libm-test-ulps: Update.
41744
41745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41746
41747 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41748 (__acr): Likewise.
41749 (__cpy): Likewise.
41750 (norm): Likewise.
41751 (denorm): Likewise.
41752 (__mp_dbl): Likewise.
41753 (__dbl_mp): Likewise.
41754 (add_magnitudes): Likewise.
41755 (sub_magnitudes): Likewise.
41756 (__add): Likewise.
41757 (__sub): Likewise.
41758 (__mul): Likewise.
41759 (__inv): Likewise.
41760 (__dvd): Likewise.
41761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41762 (__acr): Likewise.
41763 (__cpy): Likewise.
41764 (norm): Likewise.
41765 (denorm): Likewise.
41766 (__mp_dbl): Likewise.
41767 (__dbl_mp): Likewise.
41768 (add_magnitudes): Likewise.
41769 (sub_magnitudes): Likewise.
41770 (__add): Likewise.
41771 (__sub): Likewise.
41772 (__mul): Likewise.
41773 (__inv): Likewise.
41774 (__dvd): Likewise.
41775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41776 (__acr): Likewise.
41777 (__cpy): Likewise.
41778 (norm): Likewise.
41779 (denorm): Likewise.
41780 (__mp_dbl): Likewise.
41781 (__dbl_mp): Likewise.
41782 (add_magnitudes): Likewise.
41783 (sub_magnitudes): Likewise.
41784 (__add): Likewise.
41785 (__sub): Likewise.
41786 (__mul): Likewise.
41787 (__inv): Likewise.
41788 (__dvd): Likewise.
41789
41790 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41791
41792 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41793 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41794 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41795 2 && __USE_EXTERN_INLINES]: Likewise.
41796
41797 2013-01-08 Andreas Jaeger <aj@suse.de>
41798
41799 [BZ# 14985]
41800 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41801 Remove.
41802 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41803 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41804
41805 2013-01-07 Anton Blanchard <anton@samba.org>
41806
41807 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41808 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41809 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41810 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41811 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41812 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41813 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41814 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41816 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41817 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41819 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41820 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41821 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41822 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41823 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41824 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41825 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41827 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41828 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41829 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41830 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41831 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41832 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41833 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41834 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41836 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41837 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41839 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41840 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41841 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41843 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41844 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41845 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41846 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41847 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41849 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41850
41851 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41852
41853 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41854 (__MALLOC_PMT): Likewise.
41855 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41856 [__GNUC__], only on [_LIBC].
41857 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41858 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41859 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41860 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41861 forward declaration.
41862 (realloc_hook_ini): Likewise.
41863 (memalign_hook_ini): Likewise.
41864 (__libc_memalign): Do not use __MALLOC_PMT in variable
41865 declaration.
41866 (__libc_valloc): Likewise.
41867 (__libc_pvalloc): Likewise.
41868 (__libc_calloc): Likewise.
41869 (__posix_memalign): Likewise.
41870
41871 [BZ #14996]
41872 * math/s_casinh.c: Include <float.h>.
41873 (__casinh): Do not do computation with squaring and square root
41874 for large arguments.
41875 * math/s_casinhf.c: Include <float.h>.
41876 (__casinhf): Do not do computation with squaring and square root
41877 for large arguments.
41878 * math/s_casinhl.c: Include <float.h>.
41879 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41880 (__casinhl): Do not do computation with squaring and square root
41881 for large arguments.
41882 * math/libm-test.inc (casin_test): Add more tests.
41883 (casinh_test): Likewise.
41884 * sysdeps/i386/fpu/libm-test-ulps: Update.
41885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41886
41887 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41888
41889 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41890 (__x86_64_raw_data_cache_size): Likewise.
41891 (__x86_64_data_cache_size_half): Likewise.
41892 (__x86_64_raw_data_cache_size_half): Likewise.
41893 (__x86_64_shared_cache_size): Likewise.
41894 (__x86_64_raw_shared_cache_size): Likewise.
41895 (__x86_64_shared_cache_size_half): Likewise.
41896 (__x86_64_raw_shared_cache_size_half): Likewise.
41897 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41898 to ...
41899 (__x86_data_cache_size): This.
41900 (__x86_64_raw_data_cache_size): Renamed to ...
41901 (__x86_raw_data_cache_size): This.
41902 (__x86_64_data_cache_size_half): Renamed to ...
41903 (__x86_data_cache_size_half): This.
41904 (__x86_64_raw_data_cache_size_half): Renamed to ...
41905 (__x86_raw_data_cache_size_half): This.
41906 (__x86_64_shared_cache_size): Renamed to ...
41907 (__x86_shared_cache_size): This.
41908 (__x86_64_raw_shared_cache_size): Renamed to ...
41909 (__x86_raw_shared_cache_size): This.
41910 (__x86_64_shared_cache_size_half): Renamed to ...
41911 (__x86_shared_cache_size_half): This.
41912 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41913 (__x86_raw_shared_cache_size_half): This.
41914 * sysdeps/x86_64/memcpy.S: Updated.
41915 * sysdeps/x86_64/memset.S: Likewise.
41916 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41919
41920 2013-01-04 David S. Miller <davem@davemloft.net>
41921
41922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41923
41924 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41925
41926 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41927 1 to avoid redefinition warning.
41928 (__USE_GNU): Don't define.
41929 (init_signaling_nan): Protoize.
41930
41931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41932
41933 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41934
41935 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41937 (__cpymn): Likewise.
41938 (norm): Remove commented code.
41939 (denorm): Likewise.
41940 (__mp_dbl): Likewise.
41941 (__inv): Likewise.
41942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41943 (__cpymn): Likewise.
41944 (norm): Remove commented code.
41945 (denorm): Likewise.
41946 (__mp_dbl): Likewise.
41947 (__inv): Likewise.
41948
41949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41950 mp_no value for 1.0 and 2.0.
41951 (norm): Use RADIXI instead of radixi.d.
41952 (denorm): Likewise.
41953 (__mul): Use 0.0 instead of zero.d.
41954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41955 mp_no value for 1.0 and 2.0.
41956 (norm): Use RADIXI instead of radixi.d.
41957 (denorm): Likewise.
41958 (__mul): Use 0.0 instead of zero.d.
41959
41960 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41961
41962 [BZ #14994]
41963 * math/s_casinh.c (__casinh): Reduce finite argument to first
41964 quadrant then set signs of results at the end.
41965 * math/s_casinhf.c (__casinhf): Likewise.
41966 * math/s_casinhl.c (__casinhl): Likewise.
41967 * math/libm-test.inc (casin_test): Add more tests.
41968 (casinh_test): Likewise.
41969 * sysdeps/i386/fpu/libm-test-ulps: Update.
41970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41971
41972 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41973
41974 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41975
41976 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41977
41978 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41979 declarations.
41980 (denorm): Likewise.
41981 (__mp_dbl): Likewise.
41982 (__inv): Likewise.
41983
41984 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41985 and adjust the header comment.
41986
41987 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41988 variable name from declaration.
41989
41990 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41991
41992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993 Initialize COMMON_CPUID_INDEX_7 element.
41994 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41995 (CPUID_RTM): Likewise.
41996 (HAS_RTM): Likewise.
41997 (COMMON_CPUID_INDEX_7): New enum.
41998
41999 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42000
42001 [BZ #14981]
42002 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42003 size is zero, record memory as freed.
42004
42005 2013-01-03 Andreas Jaeger <aj@suse.de>
42006
42007 * po/ia.po: Add new Interlingua translation.
42008
42009 2012-01-03 Allan McRae <allan@archlinux.org>
42010
42011 * locale/programs/localedef.c: Fix description of '--posix' flag.
42012
42013 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42014
42015 * NEWS: Update dates in second copyright notice.
42016 * README: Update copyright dates in example.
42017 * manual/libc.texinfo: Update copyright dates.
42018 * scripts/test-installation.pl: Update copyright date in --version
42019 output.
42020
42021 * hurd/ctty-input.c: Fix copyright notice formatting.
42022 * hurd/ctty-output.c: Likewise.
42023 * hurd/dtable.c: Likewise.
42024 * hurd/hurd-raise.c: Likewise.
42025 * hurd/hurdprio.c: Likewise.
42026 * hurd/msgportdemux.c: Likewise.
42027 * misc/sys/file.h: Likewise.
42028 * misc/sys/ioctl.h: Likewise.
42029 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42030 * sysdeps/mach/hurd/chdir.c: Likewise.
42031 * sysdeps/mach/hurd/fchdir.c: Likewise.
42032 * sysdeps/mach/hurd/rename.c: Likewise.
42033 * sysdeps/mach/hurd/rmdir.c: Likewise.
42034 * sysdeps/mach/hurd/seekdir.c: Likewise.
42035 * sysdeps/mach/hurd/setsid.c: Likewise.
42036 * sysdeps/posix/wait3.c: Likewise.
42037
42038 * All files with FSF copyright notices: Update copyright dates
42039 using scripts/update-copyrights.
42040 * intl/plural.c: Regenerated.
42041 * locale/programs/charmap-kw.h: Likewise.
42042 * locale/programs/locfile-kw.h: Likewise.
42043
42044 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42045
42046 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42047 four values.
42048
42049 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42050 calculation loop and add branch prediction.
42051
42052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42053 check access beyond bounds of m1np.
42054
42055 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42056 MPTWO.
42057 (__inv): Remove local variable MPTWO to use the global
42058 constant.
42059 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42061 variable MPTWO.
42062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42063 MP3HALFS static const.
42064
42065 2013-01-01 David S. Miller <davem@davemloft.net>
42066
42067 * po/ca.po: Update from translation team.
42068
42069 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42070
42071 * scripts/update-copyrights: New file.
42072 * Makeconfig: Reformat copyright notice.
42073 * ctype/ctype.h: Likewise.
42074 * debug/swprintf_chk.c: Likewise.
42075 * elf/dl-cache.c: Likewise.
42076 * elf/dl-debug.c: Likewise.
42077 * elf/dl-object.c: Likewise.
42078 * grp/initgroups.c: Likewise.
42079 * hurd/Makefile: Likewise.
42080 * hurd/hurd/signal.h: Likewise.
42081 * hurd/hurdfault.c: Likewise.
42082 * hurd/hurdioctl.c: Likewise.
42083 * hurd/hurdlookup.c: Likewise.
42084 * hurd/intr-msg.c: Likewise.
42085 * iconv/gconv_open.c: Likewise.
42086 * libio/swprintf.c: Likewise.
42087 * locale/lc-ctype.c: Likewise.
42088 * locale/nl_langinfo.c: Likewise.
42089 * mach/Machrules: Likewise.
42090 * mach/Makefile: Likewise.
42091 * malloc/obstack.h: Likewise.
42092 * manual/Makefile: Likewise.
42093 * manual/tsort.awk: Likewise.
42094 * misc/bits/stab.def: Likewise.
42095 * nis/nis_print_group_entry.c: Likewise.
42096 * nis/nis_table.c: Likewise.
42097 * nis/nss_compat/compat-pwd.c: Likewise.
42098 * nis/nss_compat/compat-spwd.c: Likewise.
42099 * po/Makefile: Likewise.
42100 * posix/fnmatch.c: Likewise.
42101 * posix/regex.h: Likewise.
42102 * resolv/Makefile: Likewise.
42103 * resolv/nss_dns/dns-network.c: Likewise.
42104 * resolv/res_hconf.c: Likewise.
42105 * scripts/gen-sorted.awk: Likewise.
42106 * soft-fp/soft-fp.h: Likewise.
42107 * stdio-common/printf.h: Likewise.
42108 * stdlib/monetary.h: Likewise.
42109 * stdlib/random.c: Likewise.
42110 * stdlib/random_r.c: Likewise.
42111 * sysdeps/generic/Makefile: Likewise.
42112 * sysdeps/gnu/Makefile: Likewise.
42113 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42123 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42124 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42125 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42126 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42127 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42128 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42133 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42134 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42136 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42137 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42141 * sysdeps/mach/hurd/errnos.awk: Likewise.
42142 * sysdeps/mach/hurd/fork.c: Likewise.
42143 * sysdeps/mach/hurd/getcwd.c: Likewise.
42144 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42145 * sysdeps/mach/hurd/mmap.c: Likewise.
42146 * sysdeps/mach/hurd/utimes.c: Likewise.
42147 * sysdeps/mach/hurd/xmknod.c: Likewise.
42148 * sysdeps/posix/profil.c: Likewise.
42149 * sysdeps/posix/readdir_r.c: Likewise.
42150 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42151 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42152 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42153 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42157 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42159 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42160 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42161 * sysdeps/pthread/lio_listio.c: Likewise.
42162 * sysdeps/sparc/dl-procinfo.h: Likewise.
42163 * sysdeps/unix/i386/sysdep.S: Likewise.
42164 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42165 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42166 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42167 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42169 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42170 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42171 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42172 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42173 * sysdeps/wordsize-32/divdi3.c: Likewise.
42174 * time/sys/time.h: Likewise.
42175 * wcsmbs/Makefile: Likewise.
42176
42177 2013-01-01 David S. Miller <davem@davemloft.net>
42178
42179 * po/fr.po: Update from translation team.
42180
42181 * catgets/gencat.c: Update copyright year.
42182 * csu/version.c: Likewise.
42183 * debug/catchsegv.sh: Likewise.
42184 * debug/pcprofiledump.c: Likewise.
42185 * debug/xtrace.sh: Likewise.
42186 * elf/ldconfig.c: Likewise.
42187 * elf/ldd.bash.in: Likewise.
42188 * elf/pldd.c: Likewise.
42189 * elf/sotruss.ksh: Likewise.
42190 * elf/sprof.c: Likewise.
42191 * iconv/iconv_prog.c: Likewise.
42192 * iconv/iconvconfig.c: Likewise.
42193 * locale/programs/locale.c: Likewise.
42194 * locale/programs/localedef.c: Likewise.
42195 * login/programs/pt_chown.c: Likewise.
42196 * malloc/memusage.sh: Likewise.
42197 * malloc/memusagestat.c: Likewise.
42198 * malloc/mtrace.pl: Likewise.
42199 * nscd/nscd.c: Likewise.
42200 * nss/getent.c: Likewise.
42201 * nss/makedb.c: Likewise.
42202 * posix/getconf.c: Likewise.
42203
42204 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42205
42206 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42207 numbers.
42208
42209 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42210
42211 * math/bits/mathcalls.h (modf): Use __nonnull.
42212
42213 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42214
42215 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42216 (split): Use macro CN instead of the bare value.
42217 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42218 could be used.
42219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42220 instead of the bare value.
42221 (power1): Likewise.
42222
42223 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42224
42225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42226 __ATAN_TWOM.
42227 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42228
42229 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42230 their values.
42231 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42233 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42234 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42235
42236 2012-12-28 Andreas Jaeger <aj@suse.de>
42237
42238 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42239 values are from Linux 3.7.
42240
42241 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42242 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42243
42244 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42245
42246 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42247 TRUE case.
42248
42249 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42250 (norm): Likewise.
42251 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42252 variables with preprocessor constants.
42253 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42254 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42255 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42256
42257 2012-12-27 Bruno Haible <bruno@clisp.org>
42258
42259 [BZ #14317]
42260 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42261 only if needed.
42262
42263 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42264
42265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42266 and use variable directly.
42267 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42268
42269 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42270 MPONE.
42271 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42272 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42273 variable MPONE.
42274 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42276 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42277 include directive. Remove local variable MPONE.
42278 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42279 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42280 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42281
42282 2012-12-25 David S. Miller <davem@davemloft.net>
42283
42284 * version.h (RELEASE): Set to "development".
42285 (VERSION): Set to "2.17.90".
42286 * NEWS: Add 2.18 section.
42287
42288 2012-12-21 David S. Miller <davem@davemloft.net>
42289
42290 * po/hr.po: Update from translation team.
42291
42292 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42293
42294 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42295
42296 2012-12-19 Steve Ellcey <sellcey@mips.com>
42297
42298 * NEWS: Mention new memcpy for MIPS.
42299
42300 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42301
42302 * manual/contrib.texi (Contributors): Spelling correction.
42303
42304 2012-12-15 David S. Miller <davem@davemloft.net>
42305
42306 * po/ru.po: Update from translation team.
42307
42308 2012-12-13 David S. Miller <davem@davemloft.net>
42309
42310 * NEWS: Mention IFUNC testsuite enhancements.
42311
42312 * po/pl.po: Update from translation team.
42313 * po/bg.po: Likewise.
42314
42315 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42316 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42317
42318 2012-12-11 David S. Miller <davem@davemloft.net>
42319
42320 * po/sv.po: Update from translation team.
42321
42322 * po/vi.po: Update from translation team.
42323
42324 * po/cs.po: Update from translation team.
42325
42326 * po/de.po: Update from translation team.
42327 * po/eo.po: Likewise.
42328 * po/nl.po: Likewise.
42329
42330 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42331
42332 [BZ #14246]
42333 * manual/argp.texi (Argp Helper Functions): Move node to follow
42334 Argp Parsing State.
42335
42336 [BZ #14872]
42337 * manual/conf.texi (Limits on File System Capacity): Mention if
42338 terminating null is included in the max size.
42339
42340 2012-12-10 Andreas Jaeger <aj@suse.de>
42341
42342 * po/cs.po: Update from translation team.
42343
42344 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42345
42346 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42347 void pointer and cast to uintptr_t.
42348 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42349 path.
42350 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42351 * sysdeps/s390/s390-64/memset.S: Likewise.
42352
42353 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42354
42355 [BZ #14833]
42356 * menual/message.texi (Message Translation): Fix typos.
42357 (Helper programs for gettext): Likewise.
42358
42359 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42360
42361 [BZ #14898]
42362 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42363 Change to -1.
42364
42365 2012-12-07 David S. Miller <davem@davemloft.net>
42366
42367 * po/libc.pot: Update.
42368
42369 2012-12-07 Richard Henderson <rth@redhat.com>
42370
42371 [BZ #10114]
42372 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42373 normal/normal case to before the switch.
42374 (_FP_DIV): Likewise.
42375
42376 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42377 Mike Frysinger <vapier@gentoo.org>
42378
42379 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42380 check for __NR_fadvise64_64.
42381
42382 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42383
42384 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42385 0, not just to plain "0" as a statement.
42386 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42387 with cw.
42388
42389 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42390
42391 * NEWS: Use sourceware.org in Bugzilla URL.
42392
42393 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42394
42395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42396 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42397
42398 * stdio-common/tst-put-error.c (do_test): Add newline to the
42399 padded test to ensure flush.
42400
42401 2012-12-05 Jeff Law <law@redhat.com>
42402
42403 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42404
42405 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42406
42407 * README: Don't refer to ports add-on as distributed separately.
42408 Mention AArch64 in list of systems supported in the ports add-on.
42409
42410 * LICENSES: Add more non-FSF copyright and license notices.
42411
42412 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42413 ((unused)).
42414
42415 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42416
42417 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42418 10000 as width of padded output.
42419
42420 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42421
42422 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42423
42424 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42425 variable LX with __attribute__ ((unused)).
42426 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42427 Likewise.
42428 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42431 with __attribute__ ((unused)).
42432
42433 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42434
42435 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42436
42437 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42438
42439 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42440 (CFLAGS-nldbl-acos.c): New variable.
42441 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42442 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42443 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42444 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42445 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42446 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42447 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42448 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42449 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42450 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42451 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42452 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42453 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42454 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42455 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42456 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42457 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42458 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42459 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42460 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42461 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42462 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42463 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42464 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42465 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42466 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42467 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42468 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42469 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42470 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42471 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42472 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42473 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42474 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42475 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42476 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42477 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42478 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42479 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42480 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42481 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42482 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42483 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42484 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42485 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42486 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42487 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42488 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42489 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42490 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42491 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42492 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42493 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42494 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42495 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42496 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42497 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42498 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42499 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42500 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42501 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42502 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42503 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42504 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42505 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42506 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42507 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42508 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42509 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42510 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42511 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42512 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42513 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42514 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42515 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42516 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42517 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42518 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42519 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42520 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42521 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42522 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42523 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42524 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42525 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42526 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42527 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42528 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42529 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42530 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42531 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42532 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42533 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42534 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42535 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42536 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42537 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42538
42539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42540 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42541
42542 [BZ #14914]
42543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42544 whole low double instead of just low 47 bits when splitting values
42545 into two parts.
42546
42547 2012-12-03 Allan McRae <allan@archlinux.org>
42548
42549 * manual/stdio.texi (Predefined Printf Handlers): Remove
42550 @hsep and @vsep usage.
42551
42552 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42553
42554 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42555 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42556
42557 2012-12-03 Jeff Law <law@redhat.com>
42558
42559 * time/sys/time.h (settimeofday): Do not mark TV argument
42560 as __nonnull.
42561
42562 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42563
42564 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42565 when currently writing and seek to current position when not.
42566 * libio/Makefile (tests): Remove bug-fclose1.
42567 * libio/bug-fclose1.c: Delete.
42568
42569 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42570
42571 * manual/arith.texi (feenableexcept): Fix typo.
42572 (fedisableexcept): Likewise.
42573
42574 2012-11-30 Roland McGrath <roland@hack.frob.com>
42575
42576 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42577 second, differently-typed declaration, rather than a cast.
42578
42579 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42580
42581 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42582 * include/rpc/svc.h: ... here.
42583
42584 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42585
42586 [BZ #13013]
42587 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42588 depending n and resplen2 to catch cases where answer
42589 equals answerp2.
42590
42591 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42592
42593 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42594 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42595
42596 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42597
42598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42599
42600 2012-11-29 Roland McGrath <roland@hack.frob.com>
42601
42602 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42603
42604 2012-11-28 Jeff Law <law@redhat.com>
42605
42606 [BZ #13761]
42607 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42608 dataset_temporary. Track alloca usage into alloca_used.
42609 If dataset is large allocate and release it via malloc/free.
42610
42611 2012-06-04 Florian Weimer <fweimer@redhat.com>
42612
42613 [BZ #14197]
42614 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42615
42616 2012-11-28 David S. Miller <davem@davemloft.net>
42617
42618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42619
42620 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42621
42622 [BZ #14803]
42623 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42624 of pi/2 rounded to nearest to 64 bits.
42625 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42626 nearest to 64 bits.
42627 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42628 bits.
42629
42630 2012-11-28 Jeff Law <law@redhat.com>
42631 Martin Osvald <mosvald@redhat.com>
42632
42633 [BZ #14889]
42634 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42635 * sunrpc/svc.c: Include time.h.
42636 (__svc_accept_failed): New function.
42637 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42638 any reason other than EINTR, call __svc_accept_failed.
42639 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42640 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42641
42642 2012-11-28 Andreas Schwab <schwab@suse.de>
42643
42644 * scripts/abilist.awk: Also handle indirect functions in .opd
42645 section.
42646
42647 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42648
42649 [BZ #13881]
42650 * sysdeps/x86/fpu/powl_helper.c: New file.
42651 * sysdeps/x86/fpu/Makefile: Likewise.
42652 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42653 (p3): New object.
42654 (__ieee754_powl): Use __powl_helper for finite arguments except
42655 integer exponents below 8.
42656 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42657 (p3): New object.
42658 (__ieee754_powl): Use __powl_helper for finite arguments except
42659 integer exponents below 8.
42660 * math/libm-test.inc (pow_test): Add more tests and enable some
42661 previously disabled tests.
42662 * sysdeps/i386/fpu/libm-test-ulps: Update.
42663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42664
42665 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42666 Carlos O'Donell <carlos_odonell@mentor.com>
42667
42668 * nss/makedb.c (is_prime): Assert that input is odd and greater
42669 than 4. Note that fact in a comment too.
42670 (next_prime): Add 4 to input.
42671
42672 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42673
42674 [BZ #11741]
42675 * libio/Makefile (tests): Add test case tst-fwrite-error.
42676 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42677 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42678 * libio/tst-fwrite-error.c: New test case.
42679
42680 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42683 before casting to void *.
42684 * include/libc-internal.h (__pointer_type): New macro.
42685 (__integer_if_pointer_type_sub): Likewise.
42686 (__integer_if_pointer_type): Likewise.
42687 (cast_to_integer): Likewise.
42688 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42689 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42690 before casting to atomic64_t.
42691 (atomic_exchange_acq): Likewise.
42692 (__arch_exchange_and_add_body): Likewise.
42693 (__arch_add_body): Likewise.
42694 (atomic_add_negative): Likewise.
42695 (atomic_add_zero): Likewise.
42696
42697 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42698
42699 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42700 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42701 (add_fdes): Likewise.
42702 (linear_search_fdes): Likewise.
42703 (binary_search_unencoded_fdes): Likewise.
42704
42705 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42706
42707 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42708
42709 2012-11-24 Adam Conrad <adconrad@0c3.net>
42710
42711 * configure.in: Autodetect C++ header directories.
42712 * configure: Regenerated.
42713
42714 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42715
42716 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42717
42718 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42719
42720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42721
42722 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42723
42724 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42725 LDBL_MANT_DIG == 106]: Disable some tests.
42726 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42727 Likewise.
42728 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42729 Likewise.
42730
42731 [BZ #14871]
42732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42733 input for small inputs. Return +/- pi/2 for large inputs.
42734 * math/libm-test.inc (atan_test): Add more tests.
42735
42736 * sysdeps/generic/unwind-dw2-fde-glibc.c
42737 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42738 __attribute__ ((unused)).
42739
42740 [BZ #14645]
42741 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42742 x * y if x and y are nonzero and z is zero.
42743
42744 [BZ #14811]
42745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42746 nonzero exponents with absolute value below 0x1p-117 to +/-
42747 0x1p-117.
42748
42749 [BZ #14869]
42750 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42751 up arguments below 2**-450, not just those below 2**-500.
42752 * math/libm-test.inc (hypot_test): Add another test.
42753
42754 [BZ #14868]
42755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42756 Return a+b for ratio over 2**120, not 2**60.
42757 * math/libm-test.inc (hypot_test): Add another test.
42758
42759 * math/libm-test.inc (clog_test): Use
42760 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42761 (clog10_test): Likewise.
42762
42763 [BZ #6778]
42764 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42765
42766 2012-11-22 Andreas Schwab <schwab@suse.de>
42767
42768 * sysdeps/i386/fpu/libm-test-ulps: Update.
42769
42770 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42771
42772 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42773 printf output with newline.
42774
42775 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42776
42777 [BZ #14865]
42778 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42779 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42780 -z nodlopen, -z initfirst and -z execstack support.
42781 * configure: Regenerated.
42782
42783 * elf/elf.h (DF_1_NODIRECT): New macro.
42784 (DF_1_IGNMULDEF): Likewise.
42785 (DF_1_NOKSYMS): Likewise.
42786 (DF_1_NOHDR): Likewise.
42787 (DF_1_EDITED): Likewise.
42788 (DF_1_NORELOC): Likewise.
42789 (DF_1_SYMINTPOSE): Likewise.
42790 (DF_1_GLOBAUDIT): Likewise.
42791 (DF_1_SINGLETON): Likewise.
42792 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42793 DT_1_SUPPORTED_MASK bits.
42794 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42795
42796 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42797
42798 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42799
42800 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42801
42802 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42803 macro.
42804
42805 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42806 (sendmmsg): Move declarations...
42807 * socket/sys/socket.h: ... here.
42808 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42809 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42810 include it from...
42811 * socket/recvmmsg.c: ... this new file.
42812 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42813 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42814 definition of __sendmmsg hidden.
42815 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42816 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42817 Move ENOSYS stub into and include it from...
42818 * socket/sendmmsg.c: ... this new file.
42819 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42820 (sysdep_routines): Move recvmmsg and sendmmsg...
42821 * socket/Makefile (routines): ... here.
42822 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42823 (GLIBC_PRIVATE): Add __sendmmsg.
42824 * include/sys/socket.h (__sendmmsg): Add declarations.
42825 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42826 sendmmsg.
42827
42828 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42829
42830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42831 variable I1 with __attribute__ ((unused)).
42832 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42833
42834 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42835
42836 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42837 DUMMY variables with __attribute__ ((unused)).
42838
42839 * bits/byteswap.h: Include <bits/types.h>.
42840 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42841
42842 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42843
42844 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42845 string_t. Do not manually set errno.
42846 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42847 length with __strnlen. Make sure to both set errno and return it on
42848 failure.
42849
42850 2012-11-19 David S. Miller <davem@davemloft.net>
42851
42852 With help from Joseph Myers.
42853 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42854 very large arguments properly.
42855 * math/libm-test.inc (atan_test): New tests.
42856 (atan2_test): New tests.
42857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42859
42860 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42861
42862 [BZ #14856]
42863 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42864 Define to 3.
42865
42866 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42867 [POSIX] (EADDRNOTAVAIL): Likewise.
42868 [POSIX] (EAFNOSUPPORT): Likewise.
42869 [POSIX] (EALREADY): Likewise.
42870 [POSIX] (ECONNABORTED): Likewise.
42871 [POSIX] (ECONNREFUSED): Likewise.
42872 [POSIX] (ECONNRESET): Likewise.
42873 [POSIX] (EDESTADDRREQ): Likewise.
42874 [POSIX] (EDQUOT): Likewise.
42875 [POSIX] (EHOSTUNREACH): Likewise.
42876 [POSIX] (EIDRM): Likewise.
42877 [POSIX] (EISCONN): Likewise.
42878 [POSIX] (ELOOP): Likewise.
42879 [POSIX] (EMULTIHOP): Likewise.
42880 [POSIX] (ENETDOWN): Likewise.
42881 [POSIX] (ENETUNREACH): Likewise.
42882 [POSIX] (ENOBUFS): Likewise.
42883 [POSIX] (ENODATA): Likewise.
42884 [POSIX] (ENOLINK): Likewise.
42885 [POSIX] (ENOMSG): Likewise.
42886 [POSIX] (ENOPROTOOPT): Likewise.
42887 [POSIX] (ENOSR): Likewise.
42888 [POSIX] (ENOSTR): Likewise.
42889 [POSIX] (ENOTCONN): Likewise.
42890 [POSIX] (ENOTSOCK): Likewise.
42891 [POSIX] (EOPNOTSUPP): Likewise.
42892 [POSIX] (EOVERFLOW): Likewise.
42893 [POSIX] (EPROTO): Likewise.
42894 [POSIX] (EPROTONOSUPPORT): Likewise.
42895 [POSIX] (EPROTOTYPE): Likewise.
42896 [POSIX] (ESTALE): Likewise.
42897 [POSIX] (ETIME): Likewise.
42898 [POSIX] (ETXTBSY): Likewise.
42899 [POSIX] (EWOULDBLOCK): Likewise.
42900 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42901 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42902 [POSIX] (SEEK_CUR): Likewise.
42903 [POSIX] (SEEK_END): Likewise.
42904 [POSIX || UNIX98] (mode_t): Do not require.
42905 [POSIX] (off_t): Likewise.
42906 [POSIX] (pid_t): Likewise.
42907 [POSIX] (sys/stat.h): Do not allow header.
42908 [POSIX] (unistd.h): Likewise.
42909 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42910 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42911 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42912 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42913 require.
42914 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42915 sigevent): Specify elements.
42916 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42917 entry.
42918 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42919 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42920
42921 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42922 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42923 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42924 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42925 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42926 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42927 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42928 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42929 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42930 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42931 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42932 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42933 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42935 Likewise.
42936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42937 Likewise.
42938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42939 Likewise.
42940 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42941 Likewise.
42942 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42943 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42944 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42945 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42946 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42947 Specify lower bound on value.
42948 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42949 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42950 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42951 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42952 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42953 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42954 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42955 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42956 value.
42957 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42958 as optional.
42959 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42960 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42961 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42962 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42963 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42964 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42965 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42966 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42967 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42968 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42969 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42970 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42971 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42972 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42973 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42974 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42975 entry.
42976 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42977 optional.
42978 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42979 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42980 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42981 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42982 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42983 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42984 Likewise.
42985 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42986 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42987 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42988 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42989 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42990 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42992 as optional.
42993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42994 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42995 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42996 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42997 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42998 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42999 specify as optional.
43000 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43001 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43002 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43003 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43004 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43005 [XPG3] (NL_LANGMAX): Likewise.
43006 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43007 [POSIX || XPG3] (NL_NMAX): Likewise.
43008 [POSIX || XPG3] (NL_SETMAX): Likewise.
43009 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43010 [XPG3] (NZERO): Likewise.
43011 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43012 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43013 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43014 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43015 (REG_ERANGE): Expect.
43016 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43017 optional-constant.
43018 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43019 Use (void) in prototype.
43020 [POSIX] (*_t): Allow.
43021 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43022 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43023 (WRDE_BADVAL): Expect.
43024
43025 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43026 expect.
43027 [XPG3 || XPG4] (O_RSYNC): Likewise.
43028 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43029 Likewise.
43030 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43031 [XPG3 || XPG4] (sigqueue): Likewise.
43032 [XPG3 || XPG4] (sigtimedwait): Likewise.
43033 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43034 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43035 [XPG3 || XPG4] (vsnprintf): Likewise.
43036 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43037 Likewise.
43038 [XPG3 || XPG4] (blksize_t): Likewise.
43039 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43040 Likewise.
43041 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43042 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43043 [XPG3 || XPG4] (struct itimerspec): Likewise.
43044 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43045 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43046 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43047 [XPG3 || XPG4] (clockid_t): Likewise.
43048 [XPG3 || XPG4] (timer_t): Likewise.
43049 [XPG3 || XPG4] (clock_getres): Likewise.
43050 [XPG3 || XPG4] (clock_gettime): Likewise.
43051 [XPG3 || XPG4] (clock_settime): Likewise.
43052 [XPG3 || XPG4] (nanosleep): Likewise.
43053 [XPG3 || XPG4] (timer_create): Likewise.
43054 [XPG3 || XPG4] (timer_delete): Likewise.
43055 [XPG3 || XPG4] (timer_gettime): Likewise.
43056 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43057 [XPG3 || XPG4] (timer_settime): Likewise.
43058 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43059 [XPG3 || XPG4] (getlogin_r): Likewise.
43060 [XPG3 || XPG4] (pread): Likewise.
43061 [XPG3 || XPG4] (pthread_atfork): Likewise.
43062 [XPG3 || XPG4] (pwrite): Likewise.
43063
43064 [BZ #14835]
43065 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43066 <bits/siginfo.h>.
43067
43068 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43069
43070 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43071 finalizing MALLSTREAM.
43072
43073 * sysdeps/mach/hurd/syncfs.c: New file.
43074
43075 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43076
43077 [BZ #14719]
43078 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43079 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43081 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43082 (_nss_dns_gethostbyname4_r): Likewise.
43083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43084 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43085
43086 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43087
43088 [BZ #13763]
43089 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43090
43091 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43092
43093 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43094 * elf/cache.c (print_entry): Print ",AArch64" for
43095 FLAG_AARCH64_LIB64
43096
43097 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43098 * elf/cache.c (print_entry): Print ",hard-float" for
43099 FLAG_ARM_LIBHF.
43100
43101 2012-11-18 David S. Miller <davem@davemloft.net>
43102
43103 With help from Joseph Myers.
43104 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43105 cutoff to 2**-13.
43106 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43107 cutoff to 2**-25.
43108 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43109 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43110 small.
43111 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43112 * math/libm-test.inc (y0_test): New tests.
43113 (y1_test): New tests.
43114 * sysdeps/i386/fpu/libm-test-ulps: Update.
43115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43117
43118 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43119
43120 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43121 64-bit targets.
43122 * configure: Regenerated.
43123
43124 2012-11-17 David S. Miller <davem@davemloft.net>
43125
43126 [BZ #14811]
43127 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43128 nonzero exponents with absolute value below 0x1p-128 to +/-
43129 0x1p-128.
43130
43131 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43132
43133 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43134
43135 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43136
43137 * posix/getconf-speclist.c: New file.
43138 * posix/posix-envs.def: Likewise.
43139 * posix/confstr.c (START_ENV_GROUP): New macro.
43140 (END_ENV_GROUP): Likewise.
43141 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43142 (KNOWN_PRESENT_ENV_STRING): Likewise.
43143 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43144 (UNKNOWN_ENVIRONMENT): Likewise.
43145 (confstr): Include posix-envs.def instead of handling
43146 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43147 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43148 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43149 (END_ENV_GROUP): Likewise.
43150 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43151 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43152 (UNKNOWN_ENVIRONMENT): Likewise.
43153 (__sysconf): Include posix-envs.def instead of handling associated
43154 cases directly here.
43155 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43156 preprocessing getconf-speclist.c rather than running getconf or
43157 generating empty file.
43158
43159 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43160
43161 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43162
43163 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43164
43165 [BZ #14672]
43166 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43167
43168 2012-11-16 David S. Miller <davem@davemloft.net>
43169
43170 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43171 smaller than LDBL_EPSILON/2.0L, just return xm1.
43172
43173 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43174
43175 * elf/tst-array1.c (init): Set constructor priority to 1000.
43176 (fini): Set destructor priority to 1000.
43177 * elf/tst-array2dep.c: Likewise.
43178
43179 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43180
43181 [BZ #11741]
43182 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43183 (_IO_new_file_xsputn): Also return EOF if none of the input
43184 data was written when overflow failed.
43185 * libio/iopadn.c (_IO_padn): Likewise.
43186 * libio/iowpadn.c (_IO_wpadn): Likewise.
43187 * stdio-common/tst-put-error.c: Add copyright notice.
43188 (do_test): Add case for printing padded string.
43189 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43190 _IO_padn returned error.
43191 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43192 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43193 return EOF.
43194
43195 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43196
43197 * libio/libioP.h: Add comment note that the references to C++
43198 bits are now obsolete.
43199
43200 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43201
43202 * math/libm-test.inc (check_complex): Use asprintf.
43203
43204 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43205
43206 * debug/pcprofiledump.c (print_version): Update copyright year.
43207 * malloc/memusagestat.c (print_version): Likewise.
43208
43209 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43210
43211 [BZ #14831]
43212 * elf/Makefile (tests): Add tst-audit8.
43213 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43214 ($(objpfx)tst-audit8.out): New target.
43215 (tst-audit8-ENV): New variable.
43216 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43217 audit if l_reloc_result is NULL.
43218 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43219 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43220 * elf/tst-audit8.c: New file.
43221
43222 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43223
43224 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43225 * misc/Makefile (CFLAGS-select.c): Define.
43226 * posix/Makefile (CFLAGS-pause.c): Define.
43227
43228 2012-11-13 David S. Miller <davem@davemloft.net>
43229
43230 * crypt/Makefile: Move test targets after toplevel Rules
43231 inclusion. Grab any necessary sysdep routines when linking.
43232 * crypt/md5.c (md5_process_block): Remove define, we will always
43233 name it __md5_process_block.
43234 (md5_finish_ctx): Update md5_process_block call.
43235 (md5_stream): Likewise.
43236 (md5_process_bytes): Likewise.
43237 (md5_process_block): Rename to __md5_process_block and move to ...
43238 * crypt/md5-block.c: ... here.
43239 * crypt/sha256.c (sha256_process_block): Move to ...
43240 * crypt/sha256-block.c: ... here.
43241 * crypt/sha512.c (sha512_process_block): Move to ...
43242 * crypt/sha512-block.c: ... here.
43243 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43244 path.
43245 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43246 * sysdeps/sparc/sparc64/multiarch/Makefile
43247 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43248 crypt subdir.
43249 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43250 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43251 multiarch changes.
43252 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43253 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43254 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43255 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43256 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43257 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43258 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43259 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43260 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43261 file.
43262 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43264 file.
43265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43266
43267 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43268
43269 * timezone/tzselect.ksh: Update from tzcode git revision
43270 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43271 * timezone/zdump.c: Likewise.
43272 * timezone/zic.c: Likewise.
43273 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43274 in TZVERSION setting, not $(PKGVERSION).
43275 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43276 REPORT_BUGS_TO settings.
43277
43278 [BZ #14838]
43279 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43280 macro.
43281
43282 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43283
43284 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43285 detection to immediately after _FP_ROUND().
43286 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43287 bits are 0.
43288
43289 2012-11-11 David S. Miller <davem@davemloft.net>
43290
43291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43292 inttypes.h
43293 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43294 __close rather than their public counterparts.
43295
43296 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43297
43298 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43299 file.
43300 [UNIX98] (sem_timedwait): Do not expect.
43301 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43302 [XPG4 || UNIX98] (sockatmark): Do not expect.
43303 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43304 (clock_getcpuclockid): Do not expect.
43305 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43306 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43307 Do not expect.
43308 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43309 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43310 [UNIX98] (vwscanf): Likewise.
43311 [UNIX98] (vswscanf): Likewise.
43312
43313 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43314
43315 * timezone/version.h: Remove file.
43316 * timezone/README: Do not refer to version.h.
43317 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43318 $(objpfx)version.h.
43319 ($(objpfx)zdump.o): Likewise.
43320 ($(objpfx)version.h): New target.
43321
43322 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43323 2012i.
43324 * timezone/README: Don't mention modification to tzselect.ksh.
43325 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43326 work on unmodified tzselect.ksh. Substitute version numbers in
43327 tzselect.ksh.
43328
43329 * Makefile (format-me): Remove.
43330 (INSTALL): Adjust indentation. Use commands directly instead of
43331 using $(format-me).
43332
43333 * aclocal.m4 (ACX_PKGVERSION): New macro.
43334 (ACX_BUGURL): Likewise.
43335 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43336 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43337 (REPORT_BUGS_TO): Likewise.
43338 * configure: Regenerated.
43339 * config.h.in (PKGVERSION): New macro.
43340 (REPORT_BUGS_TO): Likewise.
43341 * config.make.in (PKGVERSION): New variable.
43342 (PKGVERSION_TEXI): Likewise.
43343 (REPORT_BUGS_TO): Likewise.
43344 (REPORT_BUGS_TEXI): Likewise.
43345 * Makefile (format-me): Use -I$(common-objpfx)manual.
43346 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43347 ($(common-objpfx)manual/%): New target.
43348 (manual/%): Remove target.
43349 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43350 (print_version): Use PKGVERSION.
43351 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43352 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43353 and REPORT_BUGS_TO.
43354 ($(objpfx)xtrace): Likewise.
43355 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43356 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43357 (print_version): Use PKGVERSION.
43358 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43359 (do_version): Use PKGVERSION.
43360 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43361 REPORT_BUGS_TO.
43362 (common-ldd-rewrite): Likewise.
43363 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43364 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43365 (print_version): Use PKGVERSION.
43366 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43367 * elf/pldd.c (argp_program_bug_address): Remove variable.
43368 (more_help): New function.
43369 (argp): Use more_help.
43370 (print_version): Use PKGVERSION.
43371 * elf/sln.c (main): Use PKGVERSION.
43372 (usage): Use REPORT_BUGS_TO.
43373 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43374 (top level): Use PKGVERSION.
43375 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43376 (print_version): Use PKGVERSION.
43377 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43378 (print_version): Use PKGVERSION.
43379 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43380 (print_version): Use PKGVERSION.
43381 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43382 (print_version): Use PKGVERSION.
43383 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43384 (print_version): Use PKGVERSION.
43385 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43386 (print_version): Use PKGVERSION.
43387 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43388 and BUGURL.
43389 ($(objpfx)memusage): Likewise.
43390 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43391 (do_version): Use PKGVERSION.
43392 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43393 (print_version): Use PKGVERSION.
43394 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43395 ($PKGVERSION): New variable.
43396 ($REPORT_BUGS_TO): Likewise.
43397 (usage): Use $REPORT_BUGS_TO.
43398 (top level): Use $PKGVERSION.
43399 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43400 ($(objpfx)pkgvers.texi): New rule.
43401 ($(objpfx)stamp-pkgvers): Likewise.
43402 * manual/install.texi: Include pkgvers.texi.
43403 (--with-pkgversion): Document new configure option.
43404 (--with-bugurl): Likewise.
43405 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43406 than necessarily for this particular distribution. Use
43407 REPORT_BUGS_TO for where to report bugs.
43408 * INSTALL: Regenerated.
43409 * manual/libc.texinfo: Include pkgvers.texi.
43410 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43411 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43412 (print_version): Use PKGVERSION.
43413 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43414 (print_version): Use PKGVERSION.
43415 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43416 (print_version): Use PKGVERSION.
43417 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43418 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43419 macro.
43420 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43421 (print_version): Use PKGVERSION.
43422 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43423 (print_version): Use PKGVERSION.
43424 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43425 and PKGVERSION.
43426
43427 * timezone/checktab.awk: Update from tzcode 2012i.
43428 * timezone/ialloc.c: Likewise.
43429 * timezone/private.h: Likewise.
43430 * timezone/scheck.c: Likewise.
43431 * timezone/tzfile.h: Likewise.
43432 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43433 (TZVERSION): Hardcode tzcode version number.
43434 * timezone/zdump.c: Update from tzcode 2012i.
43435 * timezone/zic.c: Likewise.
43436 * timezone/version.h: New file.
43437 * timezone/README: Describe version.h. Update upstream location.
43438
43439 [BZ #14824]
43440 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43441 (mktemp): Enable declaration.
43442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43446 Likewise.
43447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43448 Likewise.
43449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43450 Likewise.
43451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43452 Likewise.
43453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43454 Likewise.
43455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43456 Likewise.
43457
43458 [BZ #14821]
43459 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43460 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43461 for copies of such integer values.
43462 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43463 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43464
43465 2012-11-09 Andreas Jaeger <aj@suse.de>
43466
43467 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43468 definitions and declarations that are provided by
43469 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43470
43471 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43472
43473 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43474 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43475 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43476 definition.
43477
43478 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43479
43480 * elf/elf.h: Update comment before AArch64 relocations.
43481
43482 2012-11-07 David S. Miller <davem@davemloft.net>
43483
43484 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43485 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43486 (__start_context): Declare.
43487 (__makecontext_ret): Delete.
43488 (__makecontext): Hook up __start_context instead of
43489 __makecontext_ret.
43490 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43491 (sysdep_routines): Add __start_context when in stdlib.
43492
43493 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43494
43495 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43496 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43497 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43498 hardcoded "nm".
43499 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43500 (READELF): New variable. Use it instead of hardcoded "readelf".
43501
43502 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43503
43504 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43505 * sysdeps/x86/Makefile: Here.
43506 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43507 * sysdeps/x86/tst-xmmymm.sh: This.
43508
43509 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43510
43511 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43512 expectations.
43513 [UNIX98] (pthread_barrier_t): Do not expect.
43514 [UNIX98] (pthread_barrierattr_t): Likewise.
43515 [UNIX98] (pthread_spinlock_t): Likewise.
43516 [UNIX98] (pthread_barrier_destroy): Likewise.
43517 [UNIX98] (pthread_barrier_init): Likewise.
43518 [UNIX98] (pthread_barrier_wait): Likewise.
43519 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43520 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43521 [UNIX98] (pthread_barrierattr_init): Likewise.
43522 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43523 [UNIX98] (pthread_getcpuclockid): Likewise.
43524 [UNIX98] (pthread_mutex_timedlock): Likewise.
43525 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43526 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43527 [UNIX98] (pthread_sigmask): Likewise.
43528 [UNIX98] (pthread_spin_destroy): Likewise.
43529 [UNIX98] (pthread_spin_init): Likewise.
43530 [UNIX98] (pthread_spin_lock): Likewise.
43531 [UNIX98] (pthread_spin_trylock): Likewise.
43532 [UNIX98] (pthread_spin_unlock): Likewise.
43533 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43534 Do not expect.
43535 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43536 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43537 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43538 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43539 [XPG3 || XPG4] (pthread_key_t): Likewise.
43540 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43541 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43542 [XPG3 || XPG4] (pthread_once_t): Likewise.
43543 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43544 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43545 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43546 [XPG3 || XPG4] (pthread_t): Likewise.
43547
43548 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43549 not expect.
43550 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43551
43552 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43553 Change function return type to int.
43554
43555 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43556 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43557 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43558 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43559 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43560 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43561 [!POSIX] (posix_madvise): Likewise.
43562 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43563 && !UNIX98].
43564 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43565 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43566 (mode_t): Likewise.
43567 (posix_mem_offset): Likewise.
43568 (posix_typed_mem_get_info): Likewise.
43569 (posix_typed_mem_open): Likewise.
43570
43571 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43572 Change condition to [XOPEN2K8].
43573
43574 * conform/conformtest.pl: Preprocess allow-header data with -x c
43575 instead of from stdin.
43576 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43577 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43578 [C99-based standards] (cerfc): Likewise.
43579 [C99-based standards] (cexp2): Likewise.
43580 [C99-based standards] (cexpm1): Likewise.
43581 [C99-based standards] (clog10): Likewise.
43582 [C99-based standards] (clog1p): Likewise.
43583 [C99-based standards] (clog2): Likewise.
43584 [C99-based standards] (clgamma): Likewise.
43585 [C99-based standards] (ctgamma): Likewise.
43586 [C99-based standards] (cerff): Likewise.
43587 [C99-based standards] (cerfcf): Likewise.
43588 [C99-based standards] (cexp2f): Likewise.
43589 [C99-based standards] (cexpm1f): Likewise.
43590 [C99-based standards] (clog10f): Likewise.
43591 [C99-based standards] (clog1pf): Likewise.
43592 [C99-based standards] (clog2f): Likewise.
43593 [C99-based standards] (clgammaf): Likewise.
43594 [C99-based standards] (ctgammaf): Likewise.
43595 [C99-based standards] (cerfl): Likewise.
43596 [C99-based standards] (cerfcl): Likewise.
43597 [C99-based standards] (cexp2l): Likewise.
43598 [C99-based standards] (cexpm1l): Likewise.
43599 [C99-based standards] (clog10l): Likewise.
43600 [C99-based standards] (clog1pl): Likewise.
43601 [C99-based standards] (clog2l): Likewise.
43602 [C99-based standards] (clgammal): Likewise.
43603 [C99-based standards] (ctgammal): Likewise.
43604 * conform/data/inttypes.h-data [C99-based standards]: Include
43605 stdint.h-data. Remove all expectations for stdint.h contents.
43606 [C99-based standards] (PRI*): Do not allow.
43607 [C99-based standards] (SCN*): Likewise.
43608 [C99-based standards] (*_t): Likewise.
43609 [C99-based-standards] (PRId8): Expect macro.
43610 [C99-based-standards] (PRIi8): Likewise.
43611 [C99-based-standards] (PRIo8): Likewise.
43612 [C99-based-standards] (PRIu8): Likewise.
43613 [C99-based-standards] (PRIx8): Likewise.
43614 [C99-based-standards] (PRIX8): Likewise.
43615 [C99-based-standards] (SCNd8): Likewise.
43616 [C99-based-standards] (SCNi8): Likewise.
43617 [C99-based-standards] (SCNo8): Likewise.
43618 [C99-based-standards] (SCNu8): Likewise.
43619 [C99-based-standards] (SCNx8): Likewise.
43620 [C99-based-standards] (PRIdLEAST8): Likewise.
43621 [C99-based-standards] (PRIiLEAST8): Likewise.
43622 [C99-based-standards] (PRIoLEAST8): Likewise.
43623 [C99-based-standards] (PRIuLEAST8): Likewise.
43624 [C99-based-standards] (PRIxLEAST8): Likewise.
43625 [C99-based-standards] (PRIXLEAST8): Likewise.
43626 [C99-based-standards] (SCNdLEAST8): Likewise.
43627 [C99-based-standards] (SCNiLEAST8): Likewise.
43628 [C99-based-standards] (SCNoLEAST8): Likewise.
43629 [C99-based-standards] (SCNuLEAST8): Likewise.
43630 [C99-based-standards] (SCNxLEAST8): Likewise.
43631 [C99-based-standards] (PRIdFAST8): Likewise.
43632 [C99-based-standards] (PRIiFAST8): Likewise.
43633 [C99-based-standards] (PRIoFAST8): Likewise.
43634 [C99-based-standards] (PRIuFAST8): Likewise.
43635 [C99-based-standards] (PRIxFAST8): Likewise.
43636 [C99-based-standards] (PRIXFAST8): Likewise.
43637 [C99-based-standards] (SCNdFAST8): Likewise.
43638 [C99-based-standards] (SCNiFAST8): Likewise.
43639 [C99-based-standards] (SCNoFAST8): Likewise.
43640 [C99-based-standards] (SCNuFAST8): Likewise.
43641 [C99-based-standards] (SCNxFAST8): Likewise.
43642 [C99-based-standards] (PRId16): Likewise.
43643 [C99-based-standards] (PRIi16): Likewise.
43644 [C99-based-standards] (PRIo16): Likewise.
43645 [C99-based-standards] (PRIu16): Likewise.
43646 [C99-based-standards] (PRIx16): Likewise.
43647 [C99-based-standards] (PRIX16): Likewise.
43648 [C99-based-standards] (SCNd16): Likewise.
43649 [C99-based-standards] (SCNi16): Likewise.
43650 [C99-based-standards] (SCNo16): Likewise.
43651 [C99-based-standards] (SCNu16): Likewise.
43652 [C99-based-standards] (SCNx16): Likewise.
43653 [C99-based-standards] (PRIdLEAST16): Likewise.
43654 [C99-based-standards] (PRIiLEAST16): Likewise.
43655 [C99-based-standards] (PRIoLEAST16): Likewise.
43656 [C99-based-standards] (PRIuLEAST16): Likewise.
43657 [C99-based-standards] (PRIxLEAST16): Likewise.
43658 [C99-based-standards] (PRIXLEAST16): Likewise.
43659 [C99-based-standards] (SCNdLEAST16): Likewise.
43660 [C99-based-standards] (SCNiLEAST16): Likewise.
43661 [C99-based-standards] (SCNoLEAST16): Likewise.
43662 [C99-based-standards] (SCNuLEAST16): Likewise.
43663 [C99-based-standards] (SCNxLEAST16): Likewise.
43664 [C99-based-standards] (PRIdFAST16): Likewise.
43665 [C99-based-standards] (PRIiFAST16): Likewise.
43666 [C99-based-standards] (PRIoFAST16): Likewise.
43667 [C99-based-standards] (PRIuFAST16): Likewise.
43668 [C99-based-standards] (PRIxFAST16): Likewise.
43669 [C99-based-standards] (PRIXFAST16): Likewise.
43670 [C99-based-standards] (SCNdFAST16): Likewise.
43671 [C99-based-standards] (SCNiFAST16): Likewise.
43672 [C99-based-standards] (SCNoFAST16): Likewise.
43673 [C99-based-standards] (SCNuFAST16): Likewise.
43674 [C99-based-standards] (SCNxFAST16): Likewise.
43675 [C99-based-standards] (PRId32): Likewise.
43676 [C99-based-standards] (PRIi32): Likewise.
43677 [C99-based-standards] (PRIo32): Likewise.
43678 [C99-based-standards] (PRIu32): Likewise.
43679 [C99-based-standards] (PRIx32): Likewise.
43680 [C99-based-standards] (PRIX32): Likewise.
43681 [C99-based-standards] (SCNd32): Likewise.
43682 [C99-based-standards] (SCNi32): Likewise.
43683 [C99-based-standards] (SCNo32): Likewise.
43684 [C99-based-standards] (SCNu32): Likewise.
43685 [C99-based-standards] (SCNx32): Likewise.
43686 [C99-based-standards] (PRIdLEAST32): Likewise.
43687 [C99-based-standards] (PRIiLEAST32): Likewise.
43688 [C99-based-standards] (PRIoLEAST32): Likewise.
43689 [C99-based-standards] (PRIuLEAST32): Likewise.
43690 [C99-based-standards] (PRIxLEAST32): Likewise.
43691 [C99-based-standards] (PRIXLEAST32): Likewise.
43692 [C99-based-standards] (SCNdLEAST32): Likewise.
43693 [C99-based-standards] (SCNiLEAST32): Likewise.
43694 [C99-based-standards] (SCNoLEAST32): Likewise.
43695 [C99-based-standards] (SCNuLEAST32): Likewise.
43696 [C99-based-standards] (SCNxLEAST32): Likewise.
43697 [C99-based-standards] (PRIdFAST32): Likewise.
43698 [C99-based-standards] (PRIiFAST32): Likewise.
43699 [C99-based-standards] (PRIoFAST32): Likewise.
43700 [C99-based-standards] (PRIuFAST32): Likewise.
43701 [C99-based-standards] (PRIxFAST32): Likewise.
43702 [C99-based-standards] (PRIXFAST32): Likewise.
43703 [C99-based-standards] (SCNdFAST32): Likewise.
43704 [C99-based-standards] (SCNiFAST32): Likewise.
43705 [C99-based-standards] (SCNoFAST32): Likewise.
43706 [C99-based-standards] (SCNuFAST32): Likewise.
43707 [C99-based-standards] (SCNxFAST32): Likewise.
43708 [C99-based-standards] (PRId64): Likewise.
43709 [C99-based-standards] (PRIi64): Likewise.
43710 [C99-based-standards] (PRIo64): Likewise.
43711 [C99-based-standards] (PRIu64): Likewise.
43712 [C99-based-standards] (PRIx64): Likewise.
43713 [C99-based-standards] (PRIX64): Likewise.
43714 [C99-based-standards] (SCNd64): Likewise.
43715 [C99-based-standards] (SCNi64): Likewise.
43716 [C99-based-standards] (SCNo64): Likewise.
43717 [C99-based-standards] (SCNu64): Likewise.
43718 [C99-based-standards] (SCNx64): Likewise.
43719 [C99-based-standards] (PRIdLEAST64): Likewise.
43720 [C99-based-standards] (PRIiLEAST64): Likewise.
43721 [C99-based-standards] (PRIoLEAST64): Likewise.
43722 [C99-based-standards] (PRIuLEAST64): Likewise.
43723 [C99-based-standards] (PRIxLEAST64): Likewise.
43724 [C99-based-standards] (PRIXLEAST64): Likewise.
43725 [C99-based-standards] (SCNdLEAST64): Likewise.
43726 [C99-based-standards] (SCNiLEAST64): Likewise.
43727 [C99-based-standards] (SCNoLEAST64): Likewise.
43728 [C99-based-standards] (SCNuLEAST64): Likewise.
43729 [C99-based-standards] (SCNxLEAST64): Likewise.
43730 [C99-based-standards] (PRIdFAST64): Likewise.
43731 [C99-based-standards] (PRIiFAST64): Likewise.
43732 [C99-based-standards] (PRIoFAST64): Likewise.
43733 [C99-based-standards] (PRIuFAST64): Likewise.
43734 [C99-based-standards] (PRIxFAST64): Likewise.
43735 [C99-based-standards] (PRIXFAST64): Likewise.
43736 [C99-based-standards] (SCNdFAST64): Likewise.
43737 [C99-based-standards] (SCNiFAST64): Likewise.
43738 [C99-based-standards] (SCNoFAST64): Likewise.
43739 [C99-based-standards] (SCNuFAST64): Likewise.
43740 [C99-based-standards] (SCNxFAST64): Likewise.
43741 [C99-based-standards] (PRIdMAX): Likewise.
43742 [C99-based-standards] (PRIiMAX): Likewise.
43743 [C99-based-standards] (PRIoMAX): Likewise.
43744 [C99-based-standards] (PRIuMAX): Likewise.
43745 [C99-based-standards] (PRIxMAX): Likewise.
43746 [C99-based-standards] (PRIXMAX): Likewise.
43747 [C99-based-standards] (SCNdMAX): Likewise.
43748 [C99-based-standards] (SCNiMAX): Likewise.
43749 [C99-based-standards] (SCNoMAX): Likewise.
43750 [C99-based-standards] (SCNuMAX): Likewise.
43751 [C99-based-standards] (SCNxMAX): Likewise.
43752 [C99-based-standards] (PRIdPTR): Likewise.
43753 [C99-based-standards] (PRIiPTR): Likewise.
43754 [C99-based-standards] (PRIoPTR): Likewise.
43755 [C99-based-standards] (PRIuPTR): Likewise.
43756 [C99-based-standards] (PRIxPTR): Likewise.
43757 [C99-based-standards] (PRIXPTR): Likewise.
43758 [C99-based-standards] (SCNdPTR): Likewise.
43759 [C99-based-standards] (SCNiPTR): Likewise.
43760 [C99-based-standards] (SCNoPTR): Likewise.
43761 [C99-based-standards] (SCNuPTR): Likewise.
43762 [C99-based-standards] (SCNxPTR): Likewise.
43763 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43764 allow.
43765 * conform/data/stdint.h-data: Update comments to clarify
43766 requirements.
43767 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43768 type.
43769 [C99-based standards] (INT8_MAX): Likewise.
43770 [C99-based standards] (INT16_MIN): Likewise.
43771 [C99-based standards] (INT16_MAX): Likewise.
43772 [C99-based standards] (INT32_MIN): Likewise.
43773 [C99-based standards] (INT32_MAX): Likewise.
43774 [C99-based standards] (INT64_MIN): Likewise.
43775 [C99-based standards] (INT64_MAX): Likewise.
43776 [C99-based standards] (UINT8_MAX): Likewise.
43777 [C99-based standards] (UINT16_MAX): Likewise.
43778 [C99-based standards] (UINT32_MAX): Likewise.
43779 [C99-based standards] (UINT64_MAX): Likewise.
43780 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43781 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43782 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43783 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43784 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43785 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43786 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43787 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43788 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43789 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43790 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43791 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43792 [C99-based standards] (INT_FAST8_MIN): Likewise.
43793 [C99-based standards] (INT_FAST8_MAX): Likewise.
43794 [C99-based standards] (INT_FAST16_MIN): Likewise.
43795 [C99-based standards] (INT_FAST16_MAX): Likewise.
43796 [C99-based standards] (INT_FAST32_MIN): Likewise.
43797 [C99-based standards] (INT_FAST32_MAX): Likewise.
43798 [C99-based standards] (INT_FAST64_MIN): Likewise.
43799 [C99-based standards] (INT_FAST64_MAX): Likewise.
43800 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43801 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43802 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43803 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43804 [C99-based standards] (INTPTR_MIN): Likewise.
43805 [C99-based standards] (INTPTR_MAX): Likewise.
43806 [C99-based standards] (UINTPTR_MAX): Likewise.
43807 [C99-based standards] (INTMAX_MIN): Likewise.
43808 [C99-based standards] (INTMAX_MAX): Likewise.
43809 [C99-based standards] (UINTMAX_MAX): Likewise.
43810 [C99-based standards] (PTRDIFF_MIN): Likewise.
43811 [C99-based standards] (PTRDIFF_MAX): Likewise.
43812 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43813 [C99-based standards] (SIZE_MAX): Likewise.
43814 [C99-based standards] (WCHAR_MAX): Likewise.
43815 [C99-based standards] (WINT_MAX): Likewise.
43816 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43817 constraint on value.
43818 [C99-based standards] (WCHAR_MIN): Likewise.
43819 [C99-based standards] (WINT_MIN): Likewise.
43820 [C99-based standards] (*_t): Allow.
43821 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43822 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43823 Include math.h-data and complex.h-data. Remove all expectations
43824 of math.h and complex.h contents.
43825 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43826 at end of line.
43827 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43828 (struct tm): Expect tag.
43829 [C99-based-standards] (wcstof): Expect function.
43830 [C99-based-standards] (wcstold): Likewise.
43831 [C99-based-standards] (wcstoll): Likewise.
43832 [C99-based-standards] (wcstoull): Likewise.
43833 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43834 macro-int-constant. Specify type.
43835 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43836 constraint on value.
43837 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43838 Specify type.
43839 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43840 Specify value.
43841 [ISO C standards]: Do not allow headers.
43842 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43843 wcs[abcdefghijklmnopqrstuvwxyz]*.
43844 [ISO C standards] (*_t): Do not allow.
43845 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43846 Expect function.
43847 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43848 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43849 Specify type.
43850 [ISO C standards]: Do not allow headers.
43851 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43852 is[abcdefghijklmnopqrstuvwxyz]*.
43853 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43854 to[abcdefghijklmnopqrstuvwxyz]*.
43855 [ISO C standards] (*_t): Do not allow.
43856 * conform/data/stdalign.h-data: New file.
43857 * conform/data/stdbool.h-data: Likewise.
43858 * conform/data/stdnoreturn.h-data: Likewise.
43859
43860 2012-11-07 Roland McGrath <roland@hack.frob.com>
43861
43862 [BZ #14815]
43863 * manual/filesys.texi (Directory Entries): Typo fix.
43864 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43865
43866 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43867
43868 * elf/elf.h (EM_AARCH64): New macro.
43869 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43870 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43871 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43872 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43873 (R_AARCH64_TLSDESC): Likewise.
43874 (NT_ARM_TLS): Likewise.
43875 (NT_ARM_HW_BREAK): Likewise.
43876 (NT_ARM_HW_WATCH): Likewise.
43877
43878 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43879
43880 [BZ #14811]
43881 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43882 (__ieee754_powl): Saturate nonzero exponents with absolute value
43883 below 0x1p-79 to +/- 0x1p-79.
43884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43885 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43886 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43887 nonzero exponents with absolute value below 0x1p-32 to +/-
43888 0x1p-32.
43889 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43890 (__ieee754_powl): Saturate nonzero exponents with absolute value
43891 below 0x1p-79 to +/- 0x1p-79.
43892 * math/libm-test.inc (pow_test): Add more tests.
43893
43894 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43895
43896 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43897 _dl_s390_cap_flags with kernel. Increase string length.
43898 (_dl_s390_platforms): Add z196 and zEC12.
43899
43900 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43901
43902 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43903 Change XOPEN21K to XOPEN2K.
43904
43905 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43906
43907 * string/memmove.c: Use memcpy when possible.
43908
43909 2012-11-06 Andreas Jaeger <aj@suse.de>
43910
43911 * po/eo.po: Update from translation team.
43912
43913 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43914
43915 [BZ #14793]
43916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43917 exponent and small x and y exponents, scale x or y up. Increase
43918 by 2 the exponent used in scaling up.
43919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43921 * math/libm-test.inc (fma_test): Add more tests.
43922 (fma_test_towardzero): Likewise.
43923 (fma_test_downward): Likewise.
43924 (fma_test_upward): Likewise.
43925
43926 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43927
43928 [BZ #14805]
43929 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43930 fenv_t *.
43931
43932 [BZ #14801]
43933 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43934 namespace for names of struct fields.
43935 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43936 fenv_t fields.
43937 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43938 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43939
43940 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43941
43942 [BZ #3665]
43943 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43944
43945 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43946
43947 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43948 PTR_DEMANGLE.
43949
43950 [BZ #5246]
43951 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43952 PTR_DEMANGLE.
43953
43954 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43955
43956 [BZ #14797]
43957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43958 definitely overflow as x * y not x * y + z.
43959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43961 * math/libm-test.inc (fma_test): Add more tests.
43962 (fma_test_towardzero): Likewise.
43963 (fma_test_downward): Likewise.
43964 (fma_test_upward): Likewise.
43965
43966 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43967
43968 [BZ #157]
43969
43970 * include/stub-tag.h: Remove file.
43971 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43972 '#include' of it.
43973 * manual/maint.texi (Porting): Don't reference it.
43974 * Makerules ($(objpfx)stubs): Likewise.
43975 * dirent/closedir.c: Don't include <stub-tag.h>.
43976 * dirent/dirfd.c: Likewise.
43977 * dirent/fdopendir.c: Likewise.
43978 * dirent/getdents.c: Likewise.
43979 * dirent/getdents64.c: Likewise.
43980 * dirent/opendir.c: Likewise.
43981 * dirent/readdir.c: Likewise.
43982 * dirent/readdir64.c: Likewise.
43983 * dirent/readdir64_r.c: Likewise.
43984 * dirent/readdir_r.c: Likewise.
43985 * dirent/rewinddir.c: Likewise.
43986 * dirent/seekdir.c: Likewise.
43987 * dirent/telldir.c: Likewise.
43988 * gmon/profil.c: Likewise.
43989 * grp/setgroups.c: Likewise.
43990 * inet/if_index.c: Likewise.
43991 * io/access.c: Likewise.
43992 * io/chdir.c: Likewise.
43993 * io/chmod.c: Likewise.
43994 * io/chown.c: Likewise.
43995 * io/close.c: Likewise.
43996 * io/dup.c: Likewise.
43997 * io/dup2.c: Likewise.
43998 * io/dup3.c: Likewise.
43999 * io/euidaccess.c: Likewise.
44000 * io/faccessat.c: Likewise.
44001 * io/fchdir.c: Likewise.
44002 * io/fchmod.c: Likewise.
44003 * io/fchmodat.c: Likewise.
44004 * io/fchown.c: Likewise.
44005 * io/fchownat.c: Likewise.
44006 * io/fcntl.c: Likewise.
44007 * io/flock.c: Likewise.
44008 * io/fstatfs.c: Likewise.
44009 * io/fstatfs64.c: Likewise.
44010 * io/fstatvfs.c: Likewise.
44011 * io/fstatvfs64.c: Likewise.
44012 * io/futimens.c: Likewise.
44013 * io/fxstat.c: Likewise.
44014 * io/fxstat64.c: Likewise.
44015 * io/fxstatat.c: Likewise.
44016 * io/fxstatat64.c: Likewise.
44017 * io/getcwd.c: Likewise.
44018 * io/isatty.c: Likewise.
44019 * io/lchmod.c: Likewise.
44020 * io/lchown.c: Likewise.
44021 * io/link.c: Likewise.
44022 * io/linkat.c: Likewise.
44023 * io/lseek.c: Likewise.
44024 * io/lseek64.c: Likewise.
44025 * io/lxstat64.c: Likewise.
44026 * io/mkdir.c: Likewise.
44027 * io/mkdirat.c: Likewise.
44028 * io/mkfifo.c: Likewise.
44029 * io/mkfifoat.c: Likewise.
44030 * io/open.c: Likewise.
44031 * io/open64.c: Likewise.
44032 * io/openat.c: Likewise.
44033 * io/openat64.c: Likewise.
44034 * io/pipe.c: Likewise.
44035 * io/pipe2.c: Likewise.
44036 * io/poll.c: Likewise.
44037 * io/posix_fadvise.c: Likewise.
44038 * io/posix_fadvise64.c: Likewise.
44039 * io/posix_fallocate.c: Likewise.
44040 * io/posix_fallocate64.c: Likewise.
44041 * io/read.c: Likewise.
44042 * io/readlink.c: Likewise.
44043 * io/readlinkat.c: Likewise.
44044 * io/rmdir.c: Likewise.
44045 * io/sendfile.c: Likewise.
44046 * io/sendfile64.c: Likewise.
44047 * io/statfs.c: Likewise.
44048 * io/statfs64.c: Likewise.
44049 * io/statvfs.c: Likewise.
44050 * io/statvfs64.c: Likewise.
44051 * io/symlink.c: Likewise.
44052 * io/symlinkat.c: Likewise.
44053 * io/ttyname.c: Likewise.
44054 * io/ttyname_r.c: Likewise.
44055 * io/umask.c: Likewise.
44056 * io/unlink.c: Likewise.
44057 * io/unlinkat.c: Likewise.
44058 * io/utime.c: Likewise.
44059 * io/utimensat.c: Likewise.
44060 * io/write.c: Likewise.
44061 * io/xmknod.c: Likewise.
44062 * io/xmknodat.c: Likewise.
44063 * io/xstat.c: Likewise.
44064 * io/xstat64.c: Likewise.
44065 * login/getpt.c: Likewise.
44066 * login/grantpt.c: Likewise.
44067 * login/unlockpt.c: Likewise.
44068 * math/e_acoshl.c: Likewise.
44069 * math/e_acosl.c: Likewise.
44070 * math/e_asinl.c: Likewise.
44071 * math/e_atan2l.c: Likewise.
44072 * math/e_atanhl.c: Likewise.
44073 * math/e_coshl.c: Likewise.
44074 * math/e_expl.c: Likewise.
44075 * math/e_fmodl.c: Likewise.
44076 * math/e_gammal_r.c: Likewise.
44077 * math/e_hypotl.c: Likewise.
44078 * math/e_j0l.c: Likewise.
44079 * math/e_j1l.c: Likewise.
44080 * math/e_jnl.c: Likewise.
44081 * math/e_lgammal_r.c: Likewise.
44082 * math/e_log10l.c: Likewise.
44083 * math/e_log2l.c: Likewise.
44084 * math/e_logl.c: Likewise.
44085 * math/e_powl.c: Likewise.
44086 * math/e_rem_pio2l.c: Likewise.
44087 * math/e_sinhl.c: Likewise.
44088 * math/e_sqrtl.c: Likewise.
44089 * math/fclrexcpt.c: Likewise.
44090 * math/fedisblxcpt.c: Likewise.
44091 * math/feenablxcpt.c: Likewise.
44092 * math/fegetenv.c: Likewise.
44093 * math/fegetexcept.c: Likewise.
44094 * math/fegetround.c: Likewise.
44095 * math/feholdexcpt.c: Likewise.
44096 * math/fesetenv.c: Likewise.
44097 * math/fesetround.c: Likewise.
44098 * math/feupdateenv.c: Likewise.
44099 * math/fgetexcptflg.c: Likewise.
44100 * math/fraiseexcpt.c: Likewise.
44101 * math/fsetexcptflg.c: Likewise.
44102 * math/ftestexcept.c: Likewise.
44103 * math/k_cosl.c: Likewise.
44104 * math/k_rem_pio2l.c: Likewise.
44105 * math/k_sinl.c: Likewise.
44106 * math/k_tanl.c: Likewise.
44107 * math/s_asinhl.c: Likewise.
44108 * math/s_atanl.c: Likewise.
44109 * math/s_cbrtl.c: Likewise.
44110 * math/s_erfl.c: Likewise.
44111 * math/s_expm1l.c: Likewise.
44112 * math/s_log1pl.c: Likewise.
44113 * math/s_tanhl.c: Likewise.
44114 * misc/acct.c: Likewise.
44115 * misc/brk.c: Likewise.
44116 * misc/chflags.c: Likewise.
44117 * misc/chroot.c: Likewise.
44118 * misc/fchflags.c: Likewise.
44119 * misc/fgetxattr.c: Likewise.
44120 * misc/flistxattr.c: Likewise.
44121 * misc/fremovexattr.c: Likewise.
44122 * misc/fsetxattr.c: Likewise.
44123 * misc/fsync.c: Likewise.
44124 * misc/ftruncate.c: Likewise.
44125 * misc/futimes.c: Likewise.
44126 * misc/futimesat.c: Likewise.
44127 * misc/getdomain.c: Likewise.
44128 * misc/getdtsz.c: Likewise.
44129 * misc/gethostid.c: Likewise.
44130 * misc/gethostname.c: Likewise.
44131 * misc/getloadavg.c: Likewise.
44132 * misc/getpagesize.c: Likewise.
44133 * misc/getsysstats.c: Likewise.
44134 * misc/getxattr.c: Likewise.
44135 * misc/gtty.c: Likewise.
44136 * misc/ioctl.c: Likewise.
44137 * misc/lgetxattr.c: Likewise.
44138 * misc/listxattr.c: Likewise.
44139 * misc/llistxattr.c: Likewise.
44140 * misc/lremovexattr.c: Likewise.
44141 * misc/lsetxattr.c: Likewise.
44142 * misc/lutimes.c: Likewise.
44143 * misc/madvise.c: Likewise.
44144 * misc/mincore.c: Likewise.
44145 * misc/mlock.c: Likewise.
44146 * misc/mlockall.c: Likewise.
44147 * misc/mmap.c: Likewise.
44148 * misc/mprotect.c: Likewise.
44149 * misc/msync.c: Likewise.
44150 * misc/munlock.c: Likewise.
44151 * misc/munlockall.c: Likewise.
44152 * misc/munmap.c: Likewise.
44153 * misc/preadv.c: Likewise.
44154 * misc/preadv64.c: Likewise.
44155 * misc/ptrace.c: Likewise.
44156 * misc/pwritev.c: Likewise.
44157 * misc/pwritev64.c: Likewise.
44158 * misc/readv.c: Likewise.
44159 * misc/reboot.c: Likewise.
44160 * misc/remap_file_pages.c: Likewise.
44161 * misc/removexattr.c: Likewise.
44162 * misc/revoke.c: Likewise.
44163 * misc/select.c: Likewise.
44164 * misc/setdomain.c: Likewise.
44165 * misc/setegid.c: Likewise.
44166 * misc/seteuid.c: Likewise.
44167 * misc/sethostid.c: Likewise.
44168 * misc/sethostname.c: Likewise.
44169 * misc/setregid.c: Likewise.
44170 * misc/setreuid.c: Likewise.
44171 * misc/setxattr.c: Likewise.
44172 * misc/sstk.c: Likewise.
44173 * misc/stty.c: Likewise.
44174 * misc/swapoff.c: Likewise.
44175 * misc/swapon.c: Likewise.
44176 * misc/sync.c: Likewise.
44177 * misc/syncfs.c: Likewise.
44178 * misc/syscall.c: Likewise.
44179 * misc/truncate.c: Likewise.
44180 * misc/ualarm.c: Likewise.
44181 * misc/usleep.c: Likewise.
44182 * misc/ustat.c: Likewise.
44183 * misc/utimes.c: Likewise.
44184 * misc/vhangup.c: Likewise.
44185 * misc/writev.c: Likewise.
44186 * posix/_exit.c: Likewise.
44187 * posix/alarm.c: Likewise.
44188 * posix/execve.c: Likewise.
44189 * posix/fexecve.c: Likewise.
44190 * posix/fork.c: Likewise.
44191 * posix/fpathconf.c: Likewise.
44192 * posix/getaddrinfo.c: Likewise.
44193 * posix/getegid.c: Likewise.
44194 * posix/geteuid.c: Likewise.
44195 * posix/getgid.c: Likewise.
44196 * posix/getgroups.c: Likewise.
44197 * posix/getlogin.c: Likewise.
44198 * posix/getlogin_r.c: Likewise.
44199 * posix/getpgid.c: Likewise.
44200 * posix/getpid.c: Likewise.
44201 * posix/getppid.c: Likewise.
44202 * posix/getresgid.c: Likewise.
44203 * posix/getresuid.c: Likewise.
44204 * posix/getsid.c: Likewise.
44205 * posix/getuid.c: Likewise.
44206 * posix/glob64.c: Likewise.
44207 * posix/nanosleep.c: Likewise.
44208 * posix/pathconf.c: Likewise.
44209 * posix/pause.c: Likewise.
44210 * posix/posix_madvise.c: Likewise.
44211 * posix/pread.c: Likewise.
44212 * posix/pread64.c: Likewise.
44213 * posix/pwrite.c: Likewise.
44214 * posix/pwrite64.c: Likewise.
44215 * posix/sched_getaffinity.c: Likewise.
44216 * posix/sched_getp.c: Likewise.
44217 * posix/sched_gets.c: Likewise.
44218 * posix/sched_primax.c: Likewise.
44219 * posix/sched_primin.c: Likewise.
44220 * posix/sched_rr_gi.c: Likewise.
44221 * posix/sched_setaffinity.c: Likewise.
44222 * posix/sched_setp.c: Likewise.
44223 * posix/sched_sets.c: Likewise.
44224 * posix/sched_yield.c: Likewise.
44225 * posix/setgid.c: Likewise.
44226 * posix/setlogin.c: Likewise.
44227 * posix/setpgid.c: Likewise.
44228 * posix/setresgid.c: Likewise.
44229 * posix/setresuid.c: Likewise.
44230 * posix/setsid.c: Likewise.
44231 * posix/setuid.c: Likewise.
44232 * posix/sleep.c: Likewise.
44233 * posix/spawni.c: Likewise.
44234 * posix/sysconf.c: Likewise.
44235 * posix/times.c: Likewise.
44236 * posix/wait.c: Likewise.
44237 * posix/wait3.c: Likewise.
44238 * posix/wait4.c: Likewise.
44239 * posix/waitpid.c: Likewise.
44240 * resolv/gai_sigqueue.c: Likewise.
44241 * resource/getpriority.c: Likewise.
44242 * resource/getrlimit.c: Likewise.
44243 * resource/getrusage.c: Likewise.
44244 * resource/nice.c: Likewise.
44245 * resource/setpriority.c: Likewise.
44246 * resource/setrlimit.c: Likewise.
44247 * resource/ulimit.c: Likewise.
44248 * rt/aio_cancel.c: Likewise.
44249 * rt/aio_fsync.c: Likewise.
44250 * rt/aio_read.c: Likewise.
44251 * rt/aio_sigqueue.c: Likewise.
44252 * rt/aio_suspend.c: Likewise.
44253 * rt/aio_write.c: Likewise.
44254 * rt/clock_getres.c: Likewise.
44255 * rt/clock_gettime.c: Likewise.
44256 * rt/clock_nanosleep.c: Likewise.
44257 * rt/clock_settime.c: Likewise.
44258 * rt/lio_listio.c: Likewise.
44259 * rt/mq_close.c: Likewise.
44260 * rt/mq_getattr.c: Likewise.
44261 * rt/mq_notify.c: Likewise.
44262 * rt/mq_open.c: Likewise.
44263 * rt/mq_receive.c: Likewise.
44264 * rt/mq_send.c: Likewise.
44265 * rt/mq_setattr.c: Likewise.
44266 * rt/mq_timedreceive.c: Likewise.
44267 * rt/mq_timedsend.c: Likewise.
44268 * rt/mq_unlink.c: Likewise.
44269 * rt/shm_open.c: Likewise.
44270 * rt/shm_unlink.c: Likewise.
44271 * rt/timer_create.c: Likewise.
44272 * rt/timer_delete.c: Likewise.
44273 * rt/timer_getoverr.c: Likewise.
44274 * rt/timer_gettime.c: Likewise.
44275 * rt/timer_settime.c: Likewise.
44276 * setjmp/__longjmp.c: Likewise.
44277 * setjmp/setjmp.c: Likewise.
44278 * signal/kill.c: Likewise.
44279 * signal/killpg.c: Likewise.
44280 * signal/raise.c: Likewise.
44281 * signal/sigaction.c: Likewise.
44282 * signal/sigaltstack.c: Likewise.
44283 * signal/sigblock.c: Likewise.
44284 * signal/sigignore.c: Likewise.
44285 * signal/sigintr.c: Likewise.
44286 * signal/signal.c: Likewise.
44287 * signal/sigpause.c: Likewise.
44288 * signal/sigpending.c: Likewise.
44289 * signal/sigqueue.c: Likewise.
44290 * signal/sigreturn.c: Likewise.
44291 * signal/sigset.c: Likewise.
44292 * signal/sigsetmask.c: Likewise.
44293 * signal/sigstack.c: Likewise.
44294 * signal/sigsuspend.c: Likewise.
44295 * signal/sigtimedwait.c: Likewise.
44296 * signal/sigvec.c: Likewise.
44297 * signal/sigwait.c: Likewise.
44298 * signal/sigwaitinfo.c: Likewise.
44299 * signal/sysv_signal.c: Likewise.
44300 * socket/accept.c: Likewise.
44301 * socket/accept4.c: Likewise.
44302 * socket/bind.c: Likewise.
44303 * socket/connect.c: Likewise.
44304 * socket/getpeername.c: Likewise.
44305 * socket/getsockname.c: Likewise.
44306 * socket/getsockopt.c: Likewise.
44307 * socket/isfdtype.c: Likewise.
44308 * socket/listen.c: Likewise.
44309 * socket/recv.c: Likewise.
44310 * socket/recvfrom.c: Likewise.
44311 * socket/recvmsg.c: Likewise.
44312 * socket/send.c: Likewise.
44313 * socket/sendmsg.c: Likewise.
44314 * socket/sendto.c: Likewise.
44315 * socket/setsockopt.c: Likewise.
44316 * socket/shutdown.c: Likewise.
44317 * socket/sockatmark.c: Likewise.
44318 * socket/socket.c: Likewise.
44319 * socket/socketpair.c: Likewise.
44320 * stdio-common/ctermid.c: Likewise.
44321 * stdio-common/cuserid.c: Likewise.
44322 * stdio-common/remove.c: Likewise.
44323 * stdio-common/rename.c: Likewise.
44324 * stdio-common/renameat.c: Likewise.
44325 * stdio-common/tempname.c: Likewise.
44326 * stdlib/getcontext.c: Likewise.
44327 * stdlib/makecontext.c: Likewise.
44328 * stdlib/setcontext.c: Likewise.
44329 * stdlib/swapcontext.c: Likewise.
44330 * stdlib/system.c: Likewise.
44331 * streams/fattach.c: Likewise.
44332 * streams/fdetach.c: Likewise.
44333 * streams/getmsg.c: Likewise.
44334 * streams/getpmsg.c: Likewise.
44335 * streams/putmsg.c: Likewise.
44336 * streams/putpmsg.c: Likewise.
44337 * sysdeps/unix/bsd/getpt.c: Likewise.
44338 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44339 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44340 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44342 Likewise.
44343 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44344 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44345 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44346 * sysvipc/msgctl.c: Likewise.
44347 * sysvipc/msgget.c: Likewise.
44348 * sysvipc/msgrcv.c: Likewise.
44349 * sysvipc/msgsnd.c: Likewise.
44350 * sysvipc/semctl.c: Likewise.
44351 * sysvipc/semget.c: Likewise.
44352 * sysvipc/semop.c: Likewise.
44353 * sysvipc/semtimedop.c: Likewise.
44354 * sysvipc/shmat.c: Likewise.
44355 * sysvipc/shmctl.c: Likewise.
44356 * sysvipc/shmdt.c: Likewise.
44357 * sysvipc/shmget.c: Likewise.
44358 * termios/tcdrain.c: Likewise.
44359 * termios/tcflow.c: Likewise.
44360 * termios/tcflush.c: Likewise.
44361 * termios/tcgetattr.c: Likewise.
44362 * termios/tcgetpgrp.c: Likewise.
44363 * termios/tcsendbrk.c: Likewise.
44364 * termios/tcsetattr.c: Likewise.
44365 * termios/tcsetpgrp.c: Likewise.
44366 * time/adjtime.c: Likewise.
44367 * time/clock.c: Likewise.
44368 * time/getitimer.c: Likewise.
44369 * time/gettimeofday.c: Likewise.
44370 * time/setitimer.c: Likewise.
44371 * time/settimeofday.c: Likewise.
44372 * time/stime.c: Likewise.
44373 * time/time.c: Likewise.
44374
44375 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44376
44377 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44378 /usr/old/bin.
44379
44380 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44381 instead of spaces.
44382 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44383
44384 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44385
44386 [BZ #14796]
44387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44388 FE_TONEAREST before applying Dekker multiplication and Knuth
44389 addition. Clear inexact exceptions and check for exact zero
44390 results afterwards.
44391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44392 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44394 * math/libm-test.inc (fma_test): Add more tests.
44395 (fma_test_towardzero): Likewise.
44396 (fma_test_downward): Likewise.
44397 (fma_test_upward): Likewise.
44398 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44399 function.
44400 (libc_fesetround): New macro.
44401 (libc_fesetroundf): Likewise.
44402 (libc_fesetroundl): Likewise.
44403 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44404 function.
44405 (libc_fesetround_387): Likewise.
44406 (libc_fesetroundf): New macro.
44407 (libc_fesetround): Likewise.
44408 (libc_fesetroundl): Likewise.
44409 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44410 function.
44411 (libc_fesetroundf): New macro.
44412 (libc_fesetround): Likewise.
44413 (libc_fesetroundl): Likewise.
44414 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44415 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44416 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44417 libm_hidden_ver.
44418 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44419 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44420 libm_hidden_def.
44421 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44422 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44423 libm_hidden_ver.
44424 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44425 libm_hidden_def.
44426
44427 [BZ #3439]
44428 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44429 integer constant usable in #if and use that to give value to enum
44430 constant.
44431 (FE_DIVBYZERO): Likewise.
44432 (FE_UNDERFLOW): Likewise.
44433 (FE_OVERFLOW): Likewise.
44434 (FE_INVALID): Likewise.
44435 (FE_INVALID_SNAN): Likewise.
44436 (FE_INVALID_ISI): Likewise.
44437 (FE_INVALID_IDI): Likewise.
44438 (FE_INVALID_ZDZ): Likewise.
44439 (FE_INVALID_IMZ): Likewise.
44440 (FE_INVALID_COMPARE): Likewise.
44441 (FE_INVALID_SOFTWARE): Likewise.
44442 (FE_INVALID_SQRT): Likewise.
44443 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44444 (FE_TONEAREST): Likewise.
44445 (FE_TOWARDZERO): Likewise.
44446 (FE_UPWARD): Likewise.
44447 (FE_DOWNWARD): Likewise.
44448 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44449 (FE_DIVBYZERO): Likewise.
44450 (FE_OVERFLOW): Likewise.
44451 (FE_UNDERFLOW): Likewise.
44452 (FE_INEXACT): Likewise.
44453 (FE_TONEAREST): Likewise.
44454 (FE_DOWNWARD): Likewise.
44455 (FE_UPWARD): Likewise.
44456 (FE_TOWARDZERO): Likewise.
44457 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44458 (FE_UNDERFLOW): Likewise.
44459 (FE_OVERFLOW): Likewise.
44460 (FE_DIVBYZERO): Likewise.
44461 (FE_INVALID): Likewise.
44462 (FE_TONEAREST): Likewise.
44463 (FE_TOWARDZERO): Likewise.
44464 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44465 (FE_OVERFLOW): Likewise.
44466 (FE_UNDERFLOW): Likewise.
44467 (FE_DIVBYZERO): Likewise.
44468 (FE_INEXACT): Likewise.
44469 (FE_TONEAREST): Likewise.
44470 (FE_TOWARDZERO): Likewise.
44471 (FE_UPWARD): Likewise.
44472 (FE_DOWNWARD): Likewise.
44473 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44474 (FE_DIVBYZERO): Likewise.
44475 (FE_OVERFLOW): Likewise.
44476 (FE_UNDERFLOW): Likewise.
44477 (FE_INEXACT): Likewise.
44478 (FE_TONEAREST): Likewise.
44479 (FE_DOWNWARD): Likewise.
44480 (FE_UPWARD): Likewise.
44481 (FE_TOWARDZERO): Likewise.
44482
44483 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44484
44485 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44486
44487 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44488
44489 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44490 commands. Quote $PWD.
44491 (blacklist_exports): Don't use remove_newlines. Replace "declare
44492 -x" by "export".
44493 (remove_newlines): Remove.
44494
44495 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44496
44497 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44498 * stdlib/stdlib.h (atof): Moved to ...
44499 * include/bits/stdlib-float.h: Here. New file.
44500 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44501 * stdlib/bits/stdlib-float.h: New file.
44502 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44503 -mno-sse -mno-mmx.
44504 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44505 <xmmintrin.h>.
44506
44507 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44508
44509 * conform/conformtest.pl (@headers): Add fenv.h.
44510 * conform/data/fenv.h-data: New file.
44511 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44512 include of <math/fenv.h>.
44513
44514 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44515 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44516 && !UNIX98]. Enables tests for XOPEN2K8.
44517 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44518 POSIX2008]: Likewise.
44519
44520 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44521 (struct rusage): Do not expect type or its members.
44522
44523 [BZ #3439]
44524 * math/math.h (FP_NAN): Define macro to integer constant usable in
44525 #if and use that to give value to enum constant.
44526 (FP_INFINITE): Likewise.
44527 (FP_ZERO): Likewise.
44528 (FP_SUBNORMAL): Likewise.
44529 (FP_NORMAL): Likewise.
44530
44531 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44532
44533 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44534 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44535 arguments.
44536
44537 2012-11-02 Roland McGrath <roland@hack.frob.com>
44538
44539 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44540 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44541 autoconf-time if not.
44542 * configure.in: Remove AC_PREREQ.
44543
44544 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44545
44546 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44547 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44548 of the internal implementation.
44549
44550 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44551
44552 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44553 except include of <misc/sys/syslog.h>.
44554
44555 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44556
44557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44558 function returns with a NULL context exit with zero.
44559
44560 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44561
44562 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44563
44564 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44565
44566 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44567 (run_program_cmd): This.
44568 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44569 (tst_langinfo): New variable. Use it.
44570
44571 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44572
44573 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44574 floating point opcodes.
44575
44576 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44577
44578 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44579 variable.
44580
44581 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44582
44583 * sysdeps/mach/hurd/powerpc: Remove directory.
44584 * sysdeps/mach/powerpc: Likewise.
44585
44586 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44587
44588 * scripts/check-local-headers.sh: Ignore c++ headers.
44589
44590 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44591
44592 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44593 __libc_cleanup_region_start argument.
44594
44595 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44596
44597 [BZ #14784]
44598 [BZ #14785]
44599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44600 x * y using scaling, not as x * y + z.
44601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44603 * math/libm-test.inc (fma_test): Add more tests.
44604 (fma_test_towardzero): Likewise.
44605 (fma_test_downward): Likewise.
44606 (fma_test_upward): Likewise.
44607
44608 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44609
44610 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44611
44612 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44613
44614 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44615 New variable.
44616
44617 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44618
44619 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44620
44621 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44622
44623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44624 Fix sort order.
44625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44626 Likewise.
44627
44628 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44629
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44631 Fix the order of the list for glibc 2.17.
44632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44633 Likewise.
44634
44635 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44636
44637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44638
44639 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44640
44641 [BZ #14610]
44642 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44643 for low part of x being zero before using __atanl (y).
44644 * math/libm-test.inc (atan2_test): Add another test.
44645
44646 * manual/install.texi (Configuring and compiling): Document
44647 general use of test-wrapper and test-wrapper-env.
44648 * INSTALL: Regenerated.
44649
44650 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44651 (__fma): Do not extract and scale down low bits on after-rounding
44652 systems when result rounded to normal precision would have normal
44653 exponent.
44654 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44655 (__fmal): Do not extract and scale down low bits on after-rounding
44656 systems when result rounded to normal precision would have normal
44657 exponent.
44658 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44659 (__fmal): Do not extract and scale down low bits on after-rounding
44660 systems when result rounded to normal precision would have normal
44661 exponent.
44662 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44663 macro.
44664 (fma_test): Add more tests.
44665 (fma_test_towardzero): Likewise.
44666 (fma_test_downward): Likewise.
44667 (fma_test_upward): Likewise.
44668
44669 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44670
44671 * sysdeps/i386/tininess.h: Renamed to ...
44672 * sysdeps/x86/tininess.h: This.
44673 * sysdeps/x86_64/tininess.h: Removed.
44674
44675 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44676
44677 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44678 input. Use $(build-program-cmd).
44679 ($(objpfx)tst-array1-static.out): Likewise.
44680 ($(objpfx)tst-array2.out): Likewise.
44681 ($(objpfx)tst-array3.out): Likewise.
44682 ($(objpfx)tst-array4.out): Likewise.
44683 ($(objpfx)tst-array5.out): Likewise.
44684 ($(objpfx)tst-array5-static.out): Likewise.
44685
44686 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44687
44688 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44689 if defined.
44690
44691 * nss/nsswitch.h (nss_interface_function): Provide new
44692 macro for use with NSS functions.
44693 * grp/initgroups.c: Use new macro.
44694 * nss/getXXbyYY.c: Likewise.
44695 * nss/getXXbyYY_r.c: Likewise.
44696 * nss/getXXent.c: Likewise.
44697 * nss/getXXent_r.c: Likewise.
44698 * sysdeps/posix/getaddrinfo.c: Likewise.
44699
44700 2012-10-30 Andreas Jaeger <aj@suse.de>
44701
44702 * po/ru.po: Update Russion translation from translation project.
44703
44704 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44705
44706 [BZ #14152]
44707 [BZ #14783]
44708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44709 result and shift together with sticky bit instead of replicating
44710 round-to-nearest rounding.
44711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44713 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44714 missing underflow exceptions.
44715 (fma_test_towardzero): Add more tests.
44716 (fma_test_downward): Likewise.
44717 (fma_test_upward): Likewise.
44718
44719 [BZ #14047]
44720 * sysdeps/generic/tininess.h: New file.
44721 * sysdeps/i386/tininess.h: Likewise.
44722 * sysdeps/sh/tininess.h: Likewise.
44723 * sysdeps/x86_64/tininess.h: Likewise.
44724 * stdlib/tst-strtod-underflow.c: Likewise.
44725 * stdlib/tst-tininess.c: Likewise.
44726 * stdlib/strtod_l.c: Include <tininess.h>.
44727 (round_and_return): Do not set errno for exact underflow cases.
44728 Force an underflow exception when setting errno for underflow.
44729 Determine underflow based on rounding to normal precision if
44730 TININESS_AFTER_ROUNDING.
44731 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44732 ERANGE for exact underflow cases.
44733 * stdlib/Makefile (tests): Add tst-tininess and
44734 tst-strtod-underflow.
44735 ($(objpfx)tst-tininess): Use $(link-libm).
44736 ($(objpfx)tst-strtod-underflow): Likewise.
44737
44738 2012-10-30 Andreas Jaeger <aj@suse.de>
44739
44740 [BZ#14767]
44741 * elf/Makefile (tests): Remove conditional for have-initfini-array
44742 since this is now always required and the variable does not exist
44743 anymore.
44744 (tests-static): Likewise.
44745 (modules-names): Likewise.
44746
44747 * po/eo.po: Add Esperanto translation from translation project.
44748
44749 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44750 merged with constructor/destructor.
44751 (init_array): Likewise.
44752 * elf/tst-array2dep.c (fini_array): Likewise.
44753 (init_array): Likewise.
44754
44755 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44756
44757 * manual/message.texi: Delete @cartouche tags.
44758
44759 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44760
44761 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44762 EOPNOTSUPP.
44763 * sysdeps/mach/hurd/fsync.c: Likewise.
44764
44765 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44766 [_POSIX_REALTIME_SIGNALS]: Change condition to
44767 [_POSIX_REALTIME_SIGNALS > 0].
44768
44769 2012-10-27 Andreas Jaeger <aj@suse.de>
44770
44771 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44772 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44774 [__WORDSIZE != 64]: Likewise.
44775
44776 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44777
44778 * iconvdata/tst-table.sh: Remove ${SHELL}.
44779 * iconvdata/tst-tables.sh: Likewise.
44780
44781 2012-10-25 David S. Miller <davem@davemloft.net>
44782
44783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44784 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44785 of strtoull.
44786
44787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44788 ifunc-impl-list.c
44789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44790 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44791 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44792 file.
44793
44794 2012-10-25 Roland McGrath <roland@hack.frob.com>
44795
44796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44797 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44798 __getdirentries.
44799
44800 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44801 Jim Blandy <jimb@codesourcery.com>
44802
44803 * scripts/cross-test-ssh.sh: New file.
44804 * manual/install.texi (Configuring and compiling): Document use of
44805 cross-test-ssh.sh.
44806 * INSTALL: Regenerated.
44807
44808 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44809
44810 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44811 EOPNOTSUPP.
44812
44813 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44814
44815 * Makeconfig (run-program-prefix): Fix comment.
44816
44817 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44818 Jim Blandy <jimb@codesourcery.com>
44819
44820 * Makeconfig (test-wrapper): New variable,
44821 (test-wrapper-env): Likewise.
44822 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44823 (run-built-tests): Define to yes.
44824 (run-program-prefix): Use $(test-wrapper).
44825 (built-program-cmd): Likewise.
44826 * Rules (make-test-out): Use $(test-wrapper-env) and
44827 $(host-built-program-cmd).
44828 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44829 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44830 tst-pathopt.sh.
44831 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44832 $(test-wrapper-env) to tst-rtld-load-self.sh.
44833 ($(objpfx)order2.out): Use $(test-wrapper).
44834 ($(objpfx)tst-initorder.out): Likewise.
44835 ($(objpfx)tst-initorder2.out): Likewise.
44836 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44837 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44838 (test_wrapper_env): New variable. Use it to run ld.so.
44839 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44840 Use it to run ld.so.
44841 (test_wrapper_env): Likewise.
44842 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44843 $(test-wrapper) to run-iconv-test.sh.
44844 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44845 (ICONV): Use $test_wrapper.
44846 * posix/Makefile ($(objpfx)globtest.out): Pass
44847 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44848 globtest.sh, not $(run-program-prefix).
44849 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44850 (test_wrapper): Likewise.
44851 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44852 set together with run_via_rtld_prefix.
44853 (run_program_prefix): Define in terms of test_wrapper and
44854 run_via_rtld_prefix.
44855
44856 2012-10-24 Roland McGrath <roland@hack.frob.com>
44857
44858 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44859 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44860 Targets removed.
44861
44862 [BZ #14743]
44863 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44864 Declare __clock_getres, __clock_gettime, __clock_settime,
44865 __clock_nanosleep, and __clock_getcpuclockid.
44866 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44867 Remove librt_hidden_def (clock_gettime).
44868 * sysdeps/unix/clock_gettime.c: Likewise.
44869 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44871 * rt/clock_getres.c: Define __clock_getres as an alias.
44872 * sysdeps/posix/clock_getres.c: Likewise.
44873 * rt/clock_settime.c: Define __clock_settime as an alias.
44874 * sysdeps/unix/clock_settime.c: Likewise.
44875 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44876 * sysdeps/unix/clock_nanosleep.c: Likewise.
44877 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44878 * rt/clock-compat.c: New file.
44879 * rt/Makefile (librt-routines): Add clock-compat and move
44880 $(clock-routines) to ...
44881 (routines): ... here, new variable.
44882 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44883 Don't add get_clockfreq here.
44884 * rt/Versions (libc: GLIBC_2.17): New version set.
44885 Add clock_* symbols here.
44886 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44888 (GLIBC_2.17): Add clock_* symbols.
44889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44893 Likewise.
44894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44895 Likewise.
44896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44900 * NEWS: Mention the move.
44901
44902 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44903 Use __open, __read, __close rather than their public counterparts.
44904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44905 (__get_clockfreq_via_cpuinfo): Likewise.
44906 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44907 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44908
44909 * config.h.in (HAVE_IFUNC): New #undef.
44910 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44911 was successful.
44912 * configure: Regenerated.
44913
44914 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44915
44916 * configure.in: Move READELF check to start of file.
44917 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44918 libc_cv_asm_gnu_indirect_function in the process.
44919 * configure: Regenerated.
44920
44921 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44922
44923 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44924 send the output to /dev/null.
44925 (libc_cv_cc_with_libunwind): Likewise.
44926 (libc_cv_as_noexecstack): Likewise.
44927 * configure: Regenerate.
44928
44929 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44930
44931 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44932
44933 * posix/globtest.sh (TMPDIR): Do not set.
44934 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44935 (testout): Likewise.
44936
44937 2012-10-24 Andreas Jaeger <aj@suse.de>
44938
44939 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44940 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44941 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44942 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44943 posix_fadvise64, posix_fallocate64.
44944
44945 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44946 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44947 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44948 Likewise.
44949 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44950 Likewise.
44951 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44952
44953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44954 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44955 <bits/fcntl-linux.h>.
44956 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44957
44958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44959 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44960 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44961 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44962 [__WORDSIZE != 64]: Likewise.
44963
44964 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44965
44966 * Makeconfig (run-built-tests): New variable.
44967 * Rules [$(cross-compiling) = yes]: Change condition to
44968 [$(run-built-tests) = no].
44969 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44970 to [$(run-built-tests) = yes].
44971 * elf/Makefile [$(cross-compiling) = no]: Likewise
44972 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44973 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44974 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44975 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44976 * io/Makefile [$(cross-compiling) = no]: Likewise.
44977 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44978 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44979 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44980 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44981 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44982 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44983 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44984 * string/Makefile [$(cross-compiling) = no]: Likewise.
44985
44986 * posix/Makefile ($(objpfx)globtest.out): Pass
44987 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44988 $(rtld-installed-name).
44989 * posix/globtest.sh (elf_objpfx): Remove variable.
44990 (rtld_installed_name): Likewise.
44991 (library_path): Likewise.
44992 (run_program_prefix): New variable. Use for running globtest
44993 binary.
44994
44995 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44996 Joseph Myers <joseph@codesourcery.com>
44997
44998 * Makeconfig (host-built-program-cmd): New variable.
44999 * elf/Makefile (tst-stackguard1-ARGS): Use
45000 $(host-built-program-cmd).
45001 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45002 (tst-spawn-ARGS): Likewise.
45003 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45004
45005 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45006 Jim Blandy <jimb@codesourcery.com>
45007
45008 * Makeconfig (run-via-rtld-prefix): New variable.
45009 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45010 (built-program-cmd): Likewise.
45011
45012 2012-10-22 Andreas Jaeger <aj@suse.de>
45013
45014 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45015 __O_RSYNC if it exists, otherwise to O_SYNC.
45016
45017 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45018 Joseph Myers <joseph@codesourcery.com>
45019
45020 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45021 /dev/null.
45022 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45023 from /dev/null
45024 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45025 /dev/null.
45026
45027 2012-10-22 Andreas Jaeger <aj@suse.de>
45028
45029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45030 Define always.
45031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45032
45033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45034 bits/fcntl-linux.h.
45035
45036 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45037 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45038
45039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45040 to __O_LARGEFILE.
45041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45042 to __O_LARGEFILE.
45043
45044 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45045 Joseph Myers <joseph@codesourcery.com>
45046
45047 * config.make.in (NM): New variable.
45048
45049 2012-10-21 Andreas Jaeger <aj@suse.de>
45050
45051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45052 definitions and declarations that are provided by
45053 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45054
45055 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45056
45057 [BZ #14683]
45058 * elf/Makefile (tests-static): Add tst-leaks1-static.
45059 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45060 ($(objpfx)tst-leaks1-static): New rule.
45061 ($(objpfx)tst-leaks1-static-mem): Likewise.
45062 (tst-leaks1-static-ENV): New macro.
45063 * elf/dl-open.c (dl_open_worker): Check the main application
45064 only if SHARED is defined.
45065 * elf/tst-leaks1-static.c: New file.
45066
45067 2012-10-20 Andreas Jaeger <aj@suse.de>
45068
45069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45070 generic values for Linux.
45071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45072 and declarations that are provided by <bits/fcntl-linux.h> and
45073 include <bits/fcntl-linux.h>.
45074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45076
45077 2012-10-20 Roland McGrath <roland@hack.frob.com>
45078
45079 * io/fcntl.h: Move include of <bits/types.h> to the top and
45080 include it unconditionally.
45081
45082 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45083
45084 * wcsmbs/Makefile (tests-ifunc): New variable.
45085 (tests): Add $(tests-ifunc).
45086 * wcsmbs/test-wcschr-ifunc.c: New file.
45087 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45088 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45089 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45090 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45091 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45092
45093 * string/Makefile (tests-ifunc): New variable.
45094 (tests): Add $(tests-ifunc).
45095 * string/test-memccpy.c (TEST_NAME): New macro.
45096 * string/test-memchr.c (TEST_NAME): Likewise.
45097 * string/test-memcmp.c (TEST_NAME): Likewise.
45098 * string/test-memcpy.c (TEST_NAME): Likewise.
45099 * string/test-memmem.c (TEST_NAME): Likewise.
45100 * string/test-memmove.c (TEST_NAME): Likewise.
45101 * string/test-memset.c (TEST_NAME): Likewise.
45102 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45103 * string/test-stpcpy.c (TEST_NAME): Likewise.
45104 * string/test-stpncpy.c (TEST_NAME): Likewise.
45105 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45106 * string/test-strcasestr.c (TEST_NAME): Likewise.
45107 * string/test-strcat.c (TEST_NAME): Likewise.
45108 * string/test-strchr.c (TEST_NAME): Likewise.
45109 * string/test-strcmp.c(TEST_NAME): Likewise.
45110 * string/test-strcpy.c (TEST_NAME): Likewise.
45111 * string/test-strcspn.c (TEST_NAME): Likewise.
45112 * string/test-strlen.c (TEST_NAME): Likewise.
45113 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45114 * string/test-strncmp.c (TEST_NAME): Likewise.
45115 * string/test-strncpy.c (TEST_NAME): Likewise.
45116 * string/test-strnlen.c (TEST_NAME): Likewise.
45117 * string/test-strpbrk.c (TEST_NAME): Likewise.
45118 * string/test-strrchr.c (TEST_NAME): Likewise.
45119 * string/test-strspn.c (TEST_NAME): Likewise.
45120 * string/test-strstr.c (TEST_NAME): Likewise.
45121 * string/test-bcopy-ifunc.c: New file.
45122 * string/test-bzero-ifunc.c: Likewise.
45123 * string/test-memccpy-ifunc.c: Likewise.
45124 * string/test-memchr-ifunc.c: Likewise.
45125 * string/test-memcmp-ifunc.c: Likewise.
45126 * string/test-memcpy-ifunc.c: Likewise.
45127 * string/test-memmem-ifunc.c: Likewise.
45128 * string/test-memmove-ifunc.c: Likewise.
45129 * string/test-mempcpy-ifunc.c: Likewise.
45130 * string/test-memset-ifunc.c: Likewise.
45131 * string/test-rawmemchr-ifunc.c: Likewise.
45132 * string/test-stpcpy-ifunc.c: Likewise.
45133 * string/test-stpncpy-ifunc.c: Likewise.
45134 * string/test-strcasecmp-ifunc.c: Likewise.
45135 * string/test-strcasestr-ifunc.c: Likewise.
45136 * string/test-strcat-ifunc.c: Likewise.
45137 * string/test-strchr-ifunc.c: Likewise.
45138 * string/test-strchrnul-ifunc.c: Likewise.
45139 * string/test-strcmp-ifunc.c: Likewise.
45140 * string/test-strcpy-ifunc.c: Likewise.
45141 * string/test-strcspn-ifunc.c: Likewise.
45142 * string/test-strlen-ifunc.c: Likewise.
45143 * string/test-strncasecmp-ifunc.c: Likewise.
45144 * string/test-strncat-ifunc.c: Likewise.
45145 * string/test-strncmp-ifunc.c: Likewise.
45146 * string/test-strncpy-ifunc.c: Likewise.
45147 * string/test-strnlen-ifunc.c: Likewise.
45148 * string/test-strpbrk-ifunc.c: Likewise.
45149 * string/test-strrchr-ifunc.c: Likewise.
45150 * string/test-strspn-ifunc.c: Likewise.
45151 * string/test-strstr-ifunc.c: Likewise.
45152
45153 * debug/Makefile (tests-ifunc): New variable.
45154 (tests): Add $(tests-ifunc).
45155 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45156 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45157 * debug/test-stpcpy_chk-ifunc.c: New file.
45158 * debug/test-strcpy_chk-ifunc.c: Likewise.
45159
45160 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45161
45162 [BZ #13601]
45163 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45164 header is not read in.
45165
45166 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45167
45168 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45169 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45170 directly. Pass built executable to script as
45171 $(built-program-cmd).
45172 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45173 $testprogram without using LD_LIBRARY_PATH and $ldso.
45174
45175 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45176 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45177 $(rtld-installed-name).
45178 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45179 (rtld_installed_name): Likewise.
45180 (library_path): Likewise.
45181 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45182 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45183 $(run-program-prefix) to tst-tables.sh.
45184 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45185 it to run tst-table-from and tst-table-to.
45186 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45187 Pass it to tst-table.sh.
45188 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45189 $(run-program-prefix) to tst-gettext.sh.
45190 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45191 tst-translit.sh.
45192 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45193 tst-gettext2.sh.
45194 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45195 to run tst-gettext.
45196 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45197 to run tst-gettext2.
45198 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45199 to run tst-translit.
45200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45201 $(run-program-prefix) to tst-mtrace.sh.
45202 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45203 to run tst-mtrace.
45204 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45205 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45206 $(rtld-installed-name).
45207 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45208 (rtld_installed_name): Likewise.
45209 (run_program_prefix): New variable. Use it to run wordexp-test.
45210
45211 * Makeconfig (ARCH): Remove all definitions.
45212 (machine): Likewise.
45213 [ARCH]: Remove conditional code.
45214 [!objdir]: Give error.
45215 [!objdir] (objpfx): Remove.
45216 [!objdir] (common-objpfx): Likewise.
45217 [!objdir] (common-objdir): Likewise.
45218 * configure.in (config_makefile): Remove. Hardcode Makefile in
45219 AC_CONFIG_FILES call.
45220 * configure: Regenerated.
45221
45222 [BZ #13888]
45223 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45224 or TMPDIR.
45225 (testout): Likewise.
45226
45227 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45228 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45229 $(rtld-installed-name).
45230 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45231 (rtld_installed_name): Likwise.
45232 (runit): Remove function.
45233 (run_getconf): New variable, Use it for running getconf binary.
45234
45235 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45236
45237 [BZ #14716]
45238 * string/test-memmem.c (check_result): New function.
45239 (do_one_test): Use it.
45240 (check1): New function.
45241 (test_main): Use it.
45242
45243 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45244
45245 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45246
45247 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45248
45249 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45250 (_G_LSEEK64): Likewise.
45251 (_G_MMAP64): Likewise.
45252 (_G_FSTAT64): Likewise.
45253 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45254 (_G_LSEEK64): Likewise.
45255 (_G_MMAP64): Likewise.
45256 (_G_FSTAT64): Likewise.
45257 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45258 unconditional. Call __mmap64 directly.
45259 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45260 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45261 __lseek64 directly.
45262 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45263 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45264 __mmap64 directly.
45265 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45266 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45267 __lseek64 directly.
45268 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45269 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45270 __lseek64 directly.
45271 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45272 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45273 __lseek64 directly.
45274 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45275 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45276 __fxstat64 directly.
45277 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45278 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45279 unconditional.
45280 (freopen64) [!_G_OPEN64]: Remove conditional code.
45281 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45282 unconditional.
45283 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45284 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45285 unconditional.
45286 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45287 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45288 unconditional.
45289 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45290 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45291 unconditional.
45292 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45293 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45294 unconditional.
45295 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45296 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45297 unconditional.
45298 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45299 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45300 unconditional.
45301 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45302
45303 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45304
45305 [BZ #12140]
45306 * manual/memory.texi (Malloc Tunable Parameters): Add note
45307 about free list pointers overwriting some perturb bytes.
45308 Wording suggested by Roland McGrath.
45309
45310 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45311
45312 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45313 (lgamma_test): Likewise.
45314 (tgamma_test): Likewise.
45315
45316 2012-10-16 Florian Weimer <fweimer@redhat.com>
45317
45318 [BZ #14700]
45319 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45320 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45321
45322 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45323
45324 * NEWS: Mention BZ #14716.
45325 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45326 when removing AVAILABLE1_USES_J macro.
45327
45328 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45329
45330 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45331 (__bswap_64): __uint64_t for unsigned 64-bit int.
45332
45333 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45334
45335 * include/string.h (memmem): Declare libc hidden alias.
45336 * string/memmem.c (memmem): Define libc hidden alias.
45337 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45338 __read, __close instead of open, read, close.
45339
45340 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45341
45342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45343 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45344 global and hidden.
45345 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45346 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45347 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45348 Likewise.
45349 (__rawmemchr_sse2): Likewise.
45350 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45351 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45352 (__strchr_sse2): Likewise.
45353 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45354 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45355 (__strcasecmp_sse2): Likewise.
45356 (__strncasecmp_sse2): Likewise.
45357 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45358 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45359 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45360 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45361 (__strrchr_sse2): Likewise.
45362 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45363 ifunc-impl-list.c.
45364 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45365 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45366 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45367 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45368 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45369 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45370 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45371 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45372 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45373 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45374 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45375 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45376 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45377 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45378 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45379 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45380 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45381 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45382 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45383 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45384 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45385 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45386 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45387 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45388 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45389 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45390 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45391 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45392 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45393 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45394
45395 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45396 global and hidden.
45397 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45398 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45399 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45400 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45401 Likewise.
45402 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45403 Likewise.
45404 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45405 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45406 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45407 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45408 ifunc-impl-list.c.
45409 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45410 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45411 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45418 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45419 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45420 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45421 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45422 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45423 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45425 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45426 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45427 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45428 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45429 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45430 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45431 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45432 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45434 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45435 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45436 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45437 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45438 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45439 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45440 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45441 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45442 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45443 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45444 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45445 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45447 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45448 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45449 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45450
45451 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45452 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45453 * include/ifunc-impl-list.h: New file.
45454 * misc/ifunc-impl-list.c: Likewise.
45455 * misc/Makefile (routines): Add ifunc-impl-list.
45456 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45457 * string/test-string.h: Include <ifunc-impl-list.h>.
45458 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45459 TEST_NAME]: New variables.
45460 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45461 are defined.
45462 (test_init): Call __libc_ifunc_impl_list to initialize
45463 func_list if TEST_IFUNC and TEST_NAME are defined.
45464
45465 * string/Makefile (strop-tests): Add bcopy and bzero.
45466 * string/test-bcopy.c: New file.
45467 * string/test-bzero.c: Likewise.
45468 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45469 defined.
45470 * string/test-memset.c: Support bzero test if TEST_BZERO is
45471 defined.
45472 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45473 __libc_memmove.
45474 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45475 __libc_memset.
45476 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45477 of memset.
45478
45479 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45480
45481 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45482 * configure: Regenerated.
45483
45484 * Makeconfig (+link-static-before-libc): Don't include
45485 $(link-static-libc).
45486
45487 * libio/libio.h (_IO_pos_t): Remove.
45488
45489 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45490
45491 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45492 McGrath.
45493
45494 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45495
45496 * crypt/crypt-entry.c: Include fips-private.h.
45497 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45498 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45499 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45500 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45501
45502 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45503
45504 * crypt/crypt-private.h: Include stdbool.h.
45505 (_ufc_setup_salt_r): Return bool.
45506 * crypt/crypt-entry.c: Include errno.h.
45507 (__crypt_r): Return NULL with EINVAL for bad salt.
45508 * crypt/crypt_util.c (bad_for_salt): New.
45509 (_ufc_setup_salt_r): Check that salt is long enough and within
45510 the specified alphabet.
45511 * crypt/badsalttest.c: New file.
45512 * crypt/Makefile (tests): Add it.
45513 ($(objpfx)badsalttest): New.
45514
45515 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45516
45517 * NEWS: Add entry for BZ #14602.
45518
45519 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45520
45521 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45522 type-generic.
45523 * math/libm-test.inc: Update comment listing what functions and
45524 macros are tested.
45525 (isgreater_test): New function.
45526 (isgreaterequal_test): Likewise.
45527 (isless_test): Likewise.
45528 (islessequal_test): Likewise.
45529 (islessgreater_test): Likewise.
45530 (isunordered_test): Likewise.
45531 (main): Call the new functions.
45532
45533 2012-10-09 Roland McGrath <roland@hack.frob.com>
45534
45535 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45536 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45537 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45538 * sysdeps/i386/configure: Regenerated.
45539 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45540 * sysdeps/mach/configure: Regenerated.
45541 * sysdeps/mach/hurd/configure: Regenerated.
45542 * sysdeps/powerpc/configure: Regenerated.
45543 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45544 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45545 * sysdeps/s390/s390-32/configure: Regenerated.
45546 * sysdeps/s390/s390-64/configure: Regenerated.
45547 * sysdeps/sh/configure: Regenerated.
45548 * sysdeps/sparc/configure: Regenerated.
45549 * sysdeps/unix/sysv/linux/configure: Regenerated.
45550 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45551 * sysdeps/x86_64/configure: Regenerated.
45552
45553 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45554 defined. Don't check if MAP is NULL.
45555
45556 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45557
45558 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45559 (_G_stat64): Likewise.
45560 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45561 (_G_stat64): Likewise.
45562 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45563 instead of struct _G_stat64.
45564 * libio/fileops.c (mmap_remap_check): Likewise.
45565 (decide_maybe_mmap): Likewise.
45566 (_IO_new_file_seekoff): Likewise.
45567 (_IO_file_stat): Likewise.
45568 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45569 _G_off64_t.
45570 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45571 instead of struct _G_stat64.
45572 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45573
45574 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45575
45576 [BZ #14602]
45577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45578 Replace with ...
45579 (CHECK_EOL): New macro.
45580 (two_way_short_needle): Check beginning of haystack for EOL. Use
45581 CHECK_EOL.
45582 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45583 Replace with CHECK_EOL.
45584 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45585 Replace with CHECK_EOL.
45586
45587 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45588
45589 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45590 type-generic.
45591 * math/libm-test.inc: Update comment listing what functions and
45592 macros are tested.
45593 (finite_test): New function.
45594 (isinf_test): Likewise.
45595 (isnan_test): Likewise.
45596 (fpclassify_test): Test subnormal input.
45597 (isfinite_test): Likewise.
45598 (isnormal_test): Likewise.
45599 (main): Call the new functions.
45600
45601 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45602
45603 [BZ #14660]
45604 * Makerules (%.dynsym): Force C locale when running
45605 $(OBJDUMP) --dynamic-syms.
45606
45607 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45608
45609 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45610 <stdint.h>.
45611
45612 2012-10-06 David S. Miller <davem@davemloft.net>
45613
45614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45615 upper 32-bits of the length value in %o2 since we use branch-on-register
45616 tests which consider the entire 64-bit register.
45617
45618 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45619
45620 * string/test-strstr.c (check2): Add a test for page boundary.
45621
45622 2012-10-05 David S. Miller <davem@davemloft.net>
45623
45624 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45625 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45626 file.
45627 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45628 sysdep_routines.
45629 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45630 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45631 and bzero when HWCAP_SPARC_CRYPTO is present.
45632
45633 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45634
45635 [BZ #14602]
45636 * string/test-strstr.c (check2): New function.
45637 (test_main): Call check2.
45638
45639 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45640 and bug-strchr1.
45641 * string/bug-strcasestr1.c (do_test): Moved to ...
45642 * string/test-strcasestr.c (check1): Here. New function.
45643 (do_one_test): Break out result checking code into ...
45644 (check_result): This. New function.
45645 (do_one_test): Call check_result.
45646 (test_main): Call check1.
45647 * string/bug-strchr1.c (do_test): Moved to ...
45648 * string/test-strchr.c (check1): Here. New function.
45649 (do_one_test): Break out result checking code into ...
45650 (check_result): This. New function.
45651 (do_one_test): Call check_result.
45652 (test_main): Call check1.
45653 * string/bug-strstr1.c (main): Moved to ...
45654 * string/test-strstr.c (check1): Here. New function.
45655 (do_one_test): Break out result checking code into ...
45656 (check_result): This. New function.
45657 (do_one_test): Call check_result.
45658 (test_main): Call check1.
45659 * string/bug-strcasestr1.c: Removed.
45660 * string/bug-strchr1.c: Likewise.
45661 * string/bug-strstr1.c: Likewise.
45662
45663 * elf/Makefile (dl-routines): Add hwcaps.
45664 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45665 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45666 (_dl_important_hwcaps): Moved to ...
45667 * elf/dl-hwcaps.c: Here. New file.
45668 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45669
45670 [BZ #14557]
45671 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45672 if IS_IN_rtld isn't defined.
45673
45674 * elf/dl-support.c (_dl_sysinfo_map): New.
45675 Include "get-dynamic-info.h" and "setup-vdso.h".
45676 (_dl_non_dynamic_init): Call setup_vdso.
45677 * elf/dynamic-link.h: Don't include <assert.h>.
45678 (elf_get_dynamic_info): Moved to ...
45679 * elf/get-dynamic-info.h: Here. New file.
45680 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45681 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45682 * elf/setup-vdso.h: Here. New file.
45683 * elf/rtld.c: Include "setup-vdso.h".
45684 (dl_main): Call setup_vdso.
45685
45686 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45687
45688 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45689 creal in comment listing functions tested. List finite, isinf,
45690 isnan, isless, islessequal, isgreater, isgreaterequal,
45691 islessgreater, isunordered, lgamma_r and pow10 as functions and
45692 macros not tested. Mention which functions not tested are aliases
45693 for other functions. Fix typo. Note that signs of NaNs are not
45694 tested.
45695
45696 * scripts/config.guess: Update from config.git.
45697 * scripts/config.sub: Likewise.
45698
45699 2012-10-04 Roland McGrath <roland@hack.frob.com>
45700
45701 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45702 * misc/madvise.c (madvise): Renamed to __madvise.
45703 Make madvise a weak alias.
45704 * include/sys/mman.h: Declare __madvise.
45705 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45706 * sysdeps/unix/syscalls.list
45707 (madvise): Make __madvise the strong name, and madvise a weak alias.
45708 * sysdeps/unix/sysv/linux/syscalls.list
45709 (madvise, mmap): Remove redundant entries.
45710 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45711 * malloc/malloc.c (mtrim): Likewise.
45712 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45713
45714 2012-10-03 Roland McGrath <roland@hack.frob.com>
45715
45716 * sysdeps/mach/hurd/dl-cache.c: File removed.
45717 * config.h.in (USE_LDCONFIG): New #undef.
45718 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45719 * configure: Regenerated.
45720 * elf/Makefile (dl-routines): Add dl-cache only under
45721 [$(use-ldconfig) = yes].
45722 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45723 cache on [USE_LDCONFIG].
45724 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45725 [USE_LDCONFIG].
45726 * elf/rtld.c (dl_main): Likewise.
45727
45728 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45729
45730 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45731 _SC_LEVEL4_CACHE_LINESIZE.
45732
45733 2012-10-03 Roland McGrath <roland@hack.frob.com>
45734
45735 * sysdeps/unix/bsd/confstr.h: File removed.
45736
45737 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45738
45739 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45740 sys/sdt-config.h.
45741
45742 2012-10-02 Roland McGrath <roland@hack.frob.com>
45743
45744 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45745 Make 'mapoff' field ElfW(Off) rather than off_t.
45746
45747 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45748
45749 * nscd/Makefile: Remove nscd-cflags and all its users.
45750 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45751 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45752
45753 [BZ #10631]
45754 * malloc.c (malloc_printerr): Clarify error message.
45755
45756 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45757
45758 [BZ #14648]
45759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45760 Set bit_FMA_Usable if FMA is supported.
45761 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45762 macro.
45763 (bit_FMA4_Usable): Updated.
45764 (index_FMA_Usable): New macro.
45765 (CPUID_FMA): Likewise
45766 (HAS_FMA): Defined with bit_FMA_Usable.
45767
45768 2012-10-01 Roland McGrath <roland@hack.frob.com>
45769
45770 * bits/types.h (__swblk_t): Type removed.
45771 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45772 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45774 (__SWBLK_T_TYPE): Likewise.
45775 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45776 (__SWBLK_T_TYPE): Likewise.
45777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45778 (__SWBLK_T_TYPE): Likewise.
45779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45780 (__SWBLK_T_TYPE): Likewise.
45781
45782 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45783 Honza Horak <hhorak@redhat.com>
45784
45785 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45786 (xdr_mapname): Use YPMAXMAP as maxsize.
45787 (xdr_peername): Use YPMAXPEER as maxsize.
45788 (xdr_keydat): Use YPAXRECORD as maxsize.
45789 (xdr_valdat): Use YPMAXRECORD as maxsize.
45790
45791 2012-10-01 Roland McGrath <roland@hack.frob.com>
45792
45793 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45794
45795 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45796 * csu/init-first.c: ... here.
45797 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45798 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45799 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45800 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45801 * sysdeps/i386/init-first.c: File removed.
45802 * sysdeps/sh/init-first.c: File removed.
45803
45804 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45805
45806 [BZ #14645]
45807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45808 if x * y might underflow to zero and z is zero.
45809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45811 * math/libm-test.inc (min_subnorm_value): New variable.
45812 (fma_test): Add more tests.
45813 (fma_test_towardzero): Likewise.
45814 (fma_test_downward): Likewise
45815 (fma_test_upward): Likewise.
45816 (initialize): Set min_subnorm_value.
45817
45818 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45819
45820 [BZ #14638]
45821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45822 0 + 0.
45823 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45824 mode for addition resulting in exact zero.
45825 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45827 exact 0 + 0.
45828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45830 * math/libm-test.inc (fma_test): Add more tests.
45831 (fma_test_towardzero): New function.
45832 (fma_test_downward): Likewise.
45833 (fma_test_upward): Likewise.
45834 (main): Call the new functions.
45835
45836 2012-09-28 David S. Miller <davem@davemloft.net>
45837
45838 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45839
45840 2012-09-28 Roland McGrath <roland@hack.frob.com>
45841
45842 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45843 instead of SIGALRM.
45844
45845 * sysdeps/gnu/_G_config.h: Moved to ...
45846 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45847 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45848 * sysdeps/generic/_G_config.h: ... here.
45849
45850 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45851
45852 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45853
45854 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45855 Conditionalize target on [libnss_test1.so-version].
45856
45857 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45858
45859 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45860 (elfobjdir): Move out of conditionals.
45861
45862 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45863 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45864 (__nss_lookup_function): Conditionalize label remove_from_tree on
45865 [!DO_STATIC_NSS || SHARED], matching its only use.
45866
45867 2012-09-28 David S. Miller <davem@davemloft.net>
45868
45869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45870 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45871 file.
45872 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45873 sysdep_routines.
45874 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45876 when HWCAP_SPARC_CRYPTO is present.
45877
45878 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45879
45880 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45881
45882 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45883
45884 [BZ #6530]
45885 * stdio-common/vfprintf.c (process_string_arg): Revert
45886 2000-07-22 change.
45887
45888 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45889
45890 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45891 for testcase.
45892 * stdio-common/tst-sprintf.c: Include <locale.h>
45893 (main): Test sprintf's handling of incomplete multibyte
45894 characters.
45895
45896 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45897
45898 * elf/dl-runtime.c (VERSYMIDX): Removed.
45899 * elf/dl-version.c (VERSYMIDX): Likewise.
45900 * elf/do-rel.h (VERSYMIDX): Likewise.
45901 (VALIDX): Likewise.
45902 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45903 * elf/rtld.c (VALIDX): Likewise.
45904 (ADDRIDX): Likewise.
45905 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45906 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45907 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45908 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45909 (VALIDX): Likewise.
45910 (ADDRIDX): Likewise.
45911
45912 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45913
45914 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45915
45916 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45917
45918 [BZ #11438]
45919 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45920 to global scope.
45921 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45922 addresses are in the same scope as 192.0.2/24.
45923 * posix/gai.conf: Document new scope table defaults.
45924
45925 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45926
45927 [BZ #5298]
45928 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45929 for ftell. Compute offsets from write pointers instead.
45930 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45931
45932 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45933
45934 [BZ #14543]
45935 * libio/Makefile (tests): New test case tst-fseek.
45936 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45937 combination works in wide mode.
45938 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45939 state when the external buffer state changes.
45940
45941 2012-09-27 David S. Miller <davem@davemloft.net>
45942
45943 [BZ #14376]
45944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45945 pass reloc->r_addend in as the 'high' argument to
45946 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45947
45948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45949
45950 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45951
45952 * rt/tst-aio2.c: Include <pthread.h>.
45953 * rt/tst-aio3.c: Likewise.
45954
45955 2012-09-27 Steve Ellcey <sellcey@mips.com>
45956
45957 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45958
45959 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45960
45961 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45962 contents on [SHARED].
45963
45964 2012-09-26 Marek Polacek <polacek@redhat.com>
45965
45966 [BZ #14530]
45967 [BZ #13741]
45968 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45969 for C++ and GCC <4.3 as well as for non GCC compilers.
45970
45971 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45972
45973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45974
45975 2012-09-25 Roland McGrath <roland@hack.frob.com>
45976
45977 * Makefile.in (all, install): Declare with .PHONY.
45978 Reported by Michael Hope <michael.hope@linaro.org>.
45979
45980 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45981
45982 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45983 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45984 system header.
45985 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45986 Likewise.
45987 (sydep_routines): Add the new and the internal functions.
45988 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45989 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45991 (GLIBC_2.17): Add the new function.
45992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45993 (GLIBC_2.17): Likewise.
45994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45995 (GLIBC_2.17): Likewise.
45996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45997 (GLIBC_2.17): Likewise.
45998 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45999
46000 2012-09-25 Alan Modra <amodra@gmail.com>
46001
46002 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46003 Add release barrier before setting once_control to say
46004 initialisation is done. Add hints on lwarx. Use macro in
46005 place of isync.
46006 (clear_once_control): Add release barrier.
46007
46008 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46009
46010 [BZ #13629]
46011 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46012 specially.
46013 * math/s_clog10.c (__clog10): Likewise.
46014 * math/s_clog10f.c (__clog10f): Likewise.
46015 * math/s_clog10l.c (__clog10l): Likewise.
46016 * math/s_clogf.c (__clogf): Likewise.
46017 * math/s_clogl.c (__clogl): Likewise.
46018 * math/Makefile (libm-calls): Add x2y2m1.
46019 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46020 (__x2y2m1): Likewise.
46021 (__x2y2m1l): Likewise.
46022 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46023 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46026 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46027 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46028 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46029 * sysdeps/i386/fpu/libm-test-ulps: Update.
46030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46031
46032 [BZ #14621]
46033 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46034 int as type of variable DEPTH.
46035 (glob): Use size_t instead of int as type of variables NEWCOUNT
46036 and OLD_PATHC.
46037
46038 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46039
46040 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46041 Add s_sincosf-sse2.
46042 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46043 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46044 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46045 macros for using routine as __sincosf_ia32.
46046 Use macro for function declaration and weak_alias.
46047 * sysdeps/i386/fpu/libm-test-ulps: Update.
46048
46049 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46051
46052 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46053 subnormal argument.
46054 * math/s_cexpf.c (__cexpf): Likewise.
46055 * math/s_csinf.c (__csinf): Likewise.
46056 * math/s_csinhf.c (__csinhf): Likewise.
46057 * math/s_ctanf.c (__ctanf): Likewise.
46058 * math/s_ctanhf.c (__ctanhf): Likewise.
46059 * math/s_ccosh.c (__ccoshf): Likewise.
46060 * math/s_cexp.c (__cexpl): Likewise.
46061 * math/s_csin.c (__csin): Likewise.
46062 * math/s_csinh.c (__csinh): Likewise.
46063 * math/s_ctan.c (__ctan): Likewise.
46064 * math/s_ctanh.c (ctanh): Likewise.
46065 * math/s_ccoshl.c (__ccoshl): Likewise.
46066 * math/s_cexpl.c (__cexpl): Likewise.
46067 * math/s_csinl.c (__csinl): Likewise.
46068 * math/s_csinhl.c (__csinhl): Likewise.
46069 * math/s_ctanl.c (__ctanl): Likewise.
46070 * math/s_ctanhl.c (__ctanhl): Likewise.
46071
46072 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46073
46074 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46075 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46076 (_IO_off_t): Define to __off_t, not _G_off_t.
46077 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46078 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46079 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46080 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46081 type of __dummy and __dummy2 fields.
46082 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46083 (_G_ssize_t): Likewise.
46084 (_G_off_t): Likewise.
46085 (_G_pid_t): Likewise.
46086 (_G_uid_t): Likewise.
46087 (_G_wchar_t): Likewise.
46088 (_G_wint_t): Likewise.
46089 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46090 (_G_ssize_t): Likewise.
46091 (_G_off_t): Likewise.
46092 (_G_pid_t): Likewise.
46093 (_G_uid_t): Likewise.
46094 (_G_wchar_t): Likewise.
46095 (_G_wint_t): Likewise.
46096 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46097 (_G_ssize_t): Likewise.
46098 (_G_off_t): Likewise.
46099 (_G_pid_t): Likewise.
46100 (_G_uid_t): Likewise.
46101 (_G_wchar_t): Likewise.
46102 (_G_wint_t): Likewise.
46103
46104 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46105
46106 * malloc/arena.c: Include malloc-sysdep.h.
46107 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46108 is sufficient to shrink the heap or an unmap is needed.
46109 * sysdeps/generic/malloc-sysdep.h: New file. Define
46110 new function check_may_shrink_heap.
46111 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46112 new function check_may_shrink_heap.
46113
46114 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46115
46116 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46117 comments.
46118
46119 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46120
46121 * catgets/test-gencat.sh: Add "set -e".
46122 * elf/tst-pathopt.sh: Likewise.
46123 * grp/tst_fgetgrent.sh: Likewise.
46124 * iconvdata/run-iconv-test.sh: Likewise.
46125 * intl/tst-gettext.sh: Likewise.
46126 * intl/tst-gettext2.sh: Likewise.
46127 * intl/tst-gettext4.sh: Likewise.
46128 * intl/tst-gettext6.sh: Likewise.
46129 * intl/tst-translit.sh: Likewise.
46130 * io/ftwtest-sh: Likewise.
46131 * libio/test-freopen.sh: Likewise.
46132 * malloc/tst-mtrace.sh: Likewise.
46133 * posix/globtest.sh: Likewise.
46134 * posix/tst-getconf.sh: Likewise.
46135 * posix/wordexp-tst.sh: Likewise.
46136 * stdio-common/tst-printf.sh: Likewise.
46137 * stdio-common/tst-unbputc.sh: Likewise.
46138 * stdlib/tst-fmtmsg.sh: Likewise.
46139 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46140 * catgets/Makefile: Do not specify -e option when running
46141 testsuite shell scripts.
46142 * elf/Makefile: Likewise.
46143 * grp/Makefile: Likewise.
46144 * iconvdata/Makefile: Likewise.
46145 * intl/Makefile: Likewise.
46146 * io/Makefile: Likewise.
46147 * libio/Makefile: Likewise.
46148 * malloc/Makefile: Likewise.
46149 * posix/Makefile: Likewise.
46150 * stdio-common/Makefile: Likewise.
46151 * stdlib/Makefile: Likewise.
46152 * sysdeps/x86_64/Makefile: Likewise.
46153
46154 * io/ftwtest-sh: Add copyright header.
46155 * posix/globtest.sh: Likewise.
46156 * posix/tst-getconf.sh: Likewise.
46157 * posix/wordexp-tst.sh: Likewise.
46158 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46159
46160 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46161
46162 [BZ #13679]
46163 * Makeconfig (+link): Defined as $(+link-static) if
46164 $(build-shared) isn't yes.
46165 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46166 isn't yes.
46167 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46168
46169 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46170
46171 [BZ #14562]
46172 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46173 new chunk size with MALLOC_ALIGN_MASK.
46174
46175 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46176
46177 [BZ #5044]
46178 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46179 <rounding-mode.h>.
46180 (__printf_fphex): Determine rounding using get_rounding_mode and
46181 round_away.
46182 * stdio-common/tst-printf-round.c (struct hex_test): New
46183 structure.
46184 (hex_tests): New variable.
46185 (test_hex_in_one_mode): New function.
46186 (do_test): Also run tests for hex float output.
46187
46188 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46189
46190 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46191 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46192 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46193 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46194 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46195 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46196 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46197 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46198
46199 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46200
46201 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46202 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46203 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46204 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46205
46206 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46207
46208 [BZ #14579]
46209 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46210 mode only.
46211 * elf/tst-rtld-load-self.sh: New test.
46212 * elf/Makefile: Run it.
46213
46214 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46215
46216 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46217 (tst-writev-ENV): Remove.
46218 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46219
46220 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46221
46222 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46223
46224 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46225
46226 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46227 unconditional.
46228 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46229 Likewise.
46230 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46231 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46233 Likewise.
46234
46235 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46236
46237 [BZ #14587]
46238 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46239 * config.make.in (have-cpp-asm-debuginfo): Removed.
46240 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46241 * configure: Regenerated.
46242
46243 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46244
46245 [BZ #5044]
46246 * stdio-common/printf_fp.c: Include <stdbool.h> and
46247 <rounding-mode.h>.
46248 (___printf_fp): Determine rounding using get_rounding_mode and
46249 round_away.
46250 * stdio-common/tst-printf-round.c: New file.
46251 * stdio-common/Makefile (tests): Add tst-printf-round.
46252 (link-libm): New variable.
46253 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46254
46255 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46256
46257 [BZ #14576]
46258 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46259 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46260 Likewise.
46261 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46262 Likewise.
46263
46264 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46265
46266 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46267 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46268 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46270
46271 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46272
46273 [BZ #14518]
46274 * include/rounding-mode.h: New file.
46275 * sysdeps/generic/get-rounding-mode.h: Likewise.
46276 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46277 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46278 (MAX_VALUE): New macro.
46279 (MIN_VALUE): Likewise.
46280 (overflow_value): New function.
46281 (underflow_value): Likewise.
46282 (round_and_return): Use overflow_value and underflow_value to
46283 determine return values in overflow and underflow cases. Use
46284 round_away to determine rounding depending on rounding mode.
46285 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46286 determine return values in overflow and underflow cases.
46287 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46288 (struct test_results): New structure.
46289 (struct test): Use struct test_results to store expected results
46290 for all rounding modes.
46291 (TEST): Include expected results for all rounding modes.
46292 (test_in_one_mode): New function.
46293 (do_test): Use test_in_one_mode to compute and check results.
46294 Check results for all rounding modes.
46295 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46296 $(link-libm).
46297
46298 2012-12-09 Allan McRae <allan@archlinux.org>
46299
46300 * sysdeps/i386/fpu/libm-test-ulps: Update
46301
46302 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46303
46304 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46305 (_G_int32_t): Likewise.
46306 (_G_uint16_t): Likewise.
46307 (_G_uint32_t): Likewise.
46308 (_G_HAVE_BOOL): Likewise.
46309 (_G_HAVE_ATEXIT): Likewise.
46310 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46311 (_G_HAVE_IO_FILE_OPEN): Likewise.
46312 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46313 (_G_int32_t): Likewise.
46314 (_G_uint16_t): Likewise.
46315 (_G_uint32_t): Likewise.
46316 (_G_HAVE_BOOL): Likewise.
46317 (_G_HAVE_ATEXIT): Likewise.
46318 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46319 (_G_HAVE_IO_FILE_OPEN): Likewise.
46320 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46321 (_G_int32_t): Likewise.
46322 (_G_uint16_t): Likewise.
46323 (_G_uint32_t): Likewise.
46324 (_G_HAVE_BOOL): Likewise.
46325 (_G_HAVE_ATEXIT): Likewise.
46326 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46327 (_G_HAVE_IO_FILE_OPEN): Likewise.
46328
46329 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46330
46331 * csu/libc-tls.c: Update copyright years.
46332
46333 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46334
46335 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46336 [!_G_USING_THUNKS]: Remove conditional code.
46337 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46338 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46339
46340 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46341 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46342 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46343 (_G_VTABLE_LABEL_PREFIX): Likewise.
46344 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46345 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46346 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46347 (_G_VTABLE_LABEL_PREFIX): Likewise.
46348 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46349 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46350 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46351 (_G_VTABLE_LABEL_PREFIX): Likewise.
46352 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46353
46354 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46355
46356 * libio/Makefile: Include ../Makeconfig before tests.
46357 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46358 only if $(build-shared) is yes.
46359
46360 * iconv/gconv_db.c: Update copyright years.
46361
46362 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46363
46364 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46365 unwind info if defined PIC. Fix special cases description.
46366 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46367
46368 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46369 DP_HI_MASK entry.
46370 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46371
46372 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46373
46374 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46375
46376 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46377 is NULL.
46378
46379 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46380 (LDLIBS-tst-chk4): This.
46381 (LDFLAGS-tst-chk5): Renamed to ...
46382 (LDLIBS-tst-chk5): This.
46383 (LDFLAGS-tst-chk6): Renamed to ...
46384 (LDLIBS-tst-chk6): This.
46385 (LDFLAGS-tst-lfschk4): Renamed to ...
46386 (LDLIBS-tst-lfschk4): This.
46387 (LDFLAGS-tst-lfschk5): Renamed to ...
46388 (LDLIBS-tst-lfschk5): This.
46389 (LDFLAGS-tst-lfschk6): Renamed to ...
46390 (LDLIBS-tst-lfschk6): This.
46391
46392 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46393 on $(common-objpfx)soversions.mk.
46394
46395 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46396
46397 [BZ #10014]
46398 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46399 example host name.
46400
46401 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46402
46403 * malloc/arena.c (arena_get_retry): New function that gets
46404 another arena for the caller to try its request on.
46405 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46406 current arena cannot fulfill the request.
46407 (__libc_memalign): Likewise.
46408 (__libc_memalign): Likewise.
46409 (__libc_pvalloc): Likewise.
46410 (__libc_calloc): Likewise.
46411
46412 2012-09-05 John Tobey <john.tobey@gmail.com>
46413
46414 [BZ #13542]
46415 * manual/arith.texi (Operations on Complex): Fix description
46416 of carg branch cut.
46417
46418 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46419
46420 [BZ #10014]
46421 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46422 host name.
46423
46424 [BZ #10038]
46425 * manual/memory.texi (Memory): Make order of menu items match
46426 order of sections.
46427
46428 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46429
46430 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46431 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46432 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46433
46434 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46435
46436 * csu/libc-tls.c (static_dtv): Renamed to ...
46437 (_dl_static_dtv): This. Make it global.
46438 (_dl_initial_dtv): Removed.
46439 (__libc_setup_tls): Updated.
46440 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46441 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46442 DL_INITIAL_DTV.
46443
46444 2012-09-06 Petr Machata <pmachata@redhat.com>
46445
46446 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46447 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46448 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46449 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46450
46451 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46452
46453 [BZ #14545]
46454 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46455 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46456 freeing dtv[-1].
46457
46458 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46459
46460 [BZ #14544]
46461 * Makeconfig (link-static-before-libc): Replace $(+prector)
46462 with $(+prectorT).
46463 (link-static-after-libc): Replace $(+postctor) with
46464 $(+postctorT).
46465 (link-bounded): Replace $(+prector)/$(+postctor) with
46466 $(+prectorT)/$(+postctorT).
46467 (+prectorT): New macro.
46468 (+postctorT): Likewise.
46469
46470 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46471
46472 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46473 (round_str): Handle values above the maximum for IBM long double
46474 as inexact.
46475 * stdlib/tst-strtod-round.c (tests): Regenerated.
46476
46477 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46478
46479 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46480 assembler flag.
46481 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46482 zarch_nohighgprs around the zarch optimized routines.
46483 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46484 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46485 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46486 for zarch.
46487
46488 2012-09-05 David S. Miller <davem@davemloft.net>
46489
46490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46491
46492 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46493 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46494 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46495 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46496 entries.
46497
46498 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46499
46500 * malloc/arena.c: Fold copyright years.
46501 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46502
46503 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46504
46505 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46506
46507 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46508
46509 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46510
46511 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46512
46513 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46514 change internal state upon failure.
46515
46516 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46517
46518 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46519 * malloc/memusage.c (mmap): Likewise.
46520 (mmap64, mremap): Likewise. Adjust name in comment.
46521
46522 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46523
46524 * libio/fileops.c: Fix typos in comments.
46525 * libio/oldfileops.c: Likewise.
46526 * libio/wfileops.c: Likewise.
46527
46528 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46529
46530 [BZ #1349]
46531 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46532 (tst-malloc-usable-ENV): Set environment for test case.
46533 * malloc/hooks.c (malloc_check_get_size): New function to get
46534 requested size.
46535 * malloc/malloc.c (musable): Use malloc_check_get_size.
46536 * malloc/tst-malloc-usable.c: New test case.
46537
46538 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46539
46540 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46541
46542 2012-09-05 Allan McRae <allan@archlinux.org>
46543
46544 [BZ #13966]
46545 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46546 determine header location.
46547 * configure: Regenerated.
46548
46549 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46550
46551 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46552 float format.
46553 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46554 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46555 format.
46556 (test): Regenerate.
46557
46558 2012-09-04 David S. Miller <davem@davemloft.net>
46559
46560 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46561 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46563
46564 2012-09-04 Florian Weimer <fweimer@redhat.com>
46565
46566 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46567 failures.
46568
46569 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46570
46571 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46572
46573 [BZ #9914]
46574 * libio/iogetdelim.c: Include <limits.h>.
46575 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46576 + len + 1 would overflow.
46577
46578 2012-09-03 Andreas Jaeger <aj@suse.de>
46579
46580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46581 * sysdeps/i386/fpu/libm-test-ulps: Update.
46582
46583 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46584
46585 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46586 Add s_sinf-sse2, s_conf-sse2.
46587
46588 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46589 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46590 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46591 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46592
46593 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46594 for using routine as __sinf_ia32.
46595 Use macro for function declaration and weak_alias.
46596 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46597 for using routine as __cosf_ia32.
46598 Use macro for function declaration and weak_alias.
46599
46600 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46601 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46602
46603 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46604 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46606
46607 * math/libm-test.inc (cos_test): Add more test cases.
46608 (sin_test): Likewise.
46609 (sincos_test): Likewise.
46610
46611 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46612
46613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46614 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46615 hidden.
46616 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46617
46618 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46619
46620 [BZ #14538]
46621 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46622 first element of the GOT.
46623 (elf_machine_load_address): Return the difference between
46624 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46625
46626 2012-09-01 Allan McRae <allan@archlinux.org>
46627
46628 [BZ #13412]
46629 * configure.in (AWK): Require gawk version 3.0 or later.
46630 * configure: Regenerated.
46631
46632 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46633
46634 * sysdeps/unix/sysv/linux/kernel-features.h
46635 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46637 [__NR_clock_getres]: Make code unconditional.
46638 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46639 (clock_getcpuclockid): Remove code left unreachable by removal of
46640 conditionals.
46641 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46642 code unconditional.
46643 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46644 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46645 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46646 Make code unconditional.
46647 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46648 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46649 * sysdeps/unix/sysv/linux/clock_settime.c
46650 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46651 conditional code.
46652 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46653 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46654
46655 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46656
46657 [BZ #14476]
46658 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46659 scripts/test-installation.pl.
46660
46661 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46662 and $ld_so_version if it is set.
46663
46664 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46665
46666 [BZ #14516]
46667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46668 failure if reading from procfs failed.
46669 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46670
46671 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46672
46673 * sysdeps/unix/sysv/linux/kernel-features.h
46674 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46675 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46676 Remove conditional code.
46677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46678 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46679 Remove conditional code.
46680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46681 * sysdeps/unix/sysv/linux/i386/fxstat.c
46682 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46684 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46685 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46687 * sysdeps/unix/sysv/linux/i386/lxstat.c
46688 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46690 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46691 Remove conditional code.
46692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46693 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46694 Remove conditional code.
46695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46696 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46697 <kernel-features.h>.
46698 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46699 Remove.
46700 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46701 Remove conditional code.
46702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46703 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46704 Remove conditional.
46705
46706 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46707
46708 [BZ #5400]
46709 * NEWS: Add fixed bug number.
46710
46711 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46712
46713 [BZ #14519]
46714 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46715 underflowing exponent in case of negative sign.
46716 * stdlib/tst-strtod-round-data: Add more tests.
46717 * stdlib/tst-strtod-round.c (tests): Regenerated.
46718
46719 [BZ #3479]
46720 * stdlib/strtod_l.c (NDIG): Remove.
46721 (HEXNDIG): Likewise.
46722 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46723 smallest representable value.
46724 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46725 lie within an exact representation of 1/2 ulp of the result.
46726 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46727 unconditionally.
46728 (TENS_P9_IDX): Define unconditionally.
46729 (TENS_P9_SIZE): Likewise.
46730 (TENS_P10_IDX): Likewise.
46731 (TENS_P10_SIZE): Likewise.
46732 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46733 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46734 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46735 entries for 10^2^13 and 10^2^14.
46736 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46737 (TENS_P13_IDX): Define.
46738 (TENS_P13_SIZE): Likewise.
46739 (TENS_P14_IDX): Likewise.
46740 (TENS_P14_SIZE): Likewise.
46741 (_fpioconst_pow10): Change array size to
46742 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46743 unconditional.
46744 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46745 1024]: Add entries for 10^2^13 and 10^2^14.
46746 [LAST_POW10 > _LAST_POW10]: Remove #error.
46747 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46748 (_fpioconst_pow10): Change array size to
46749 FPIOCONST_POW10_ARRAY_SIZE.
46750 * stdlib/gen-fpioconst.c: New file.
46751 * stdlib/gen-tst-strtod-round.c: Likewise.
46752 * stdlib/tst-strtod-round-data: Likewise.
46753 * stdlib/tst-strtod-round.c: Likewise.
46754 * stdlib/Makefile (tests): Add tst-strtod-round.
46755
46756 [BZ #14459]
46757 * stdlib/strtod_l.c: Include <stdint.h>.
46758 (NDEBUG): Do not define.
46759 (round_and_return): Change EXPONENT parameter to type intmax_t.
46760 Rearrange calculations to avoid internal overflow possibilities.
46761 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46762 Rearrange calculations to avoid internal overflow possibilities.
46763 Assert that number fits inside MPNSIZE limbs.
46764 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46765 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46766 calculations and add assertions to avoid internal overflow
46767 possibilities. Add casts to avoid signed/unsigned operations.
46768 * stdlib/tst-strtod-overflow.c: New file.
46769 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46770
46771 2012-08-25 Marek Polacek <polacek@redhat.com>
46772
46773 * time/time.h: Fix some typos in comments.
46774
46775 2012-08-23 Roland McGrath <roland@hack.frob.com>
46776
46777 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46778 * posix/tst-rfc3484-2.c: Likewise.
46779 * posix/tst-rfc3484-3.c: Likewise.
46780
46781 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46782
46783 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46784 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46785
46786 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46787
46788 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46789 #include of fxstatat64.c.
46790
46791 2012-08-22 Roland McGrath <roland@hack.frob.com>
46792
46793 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46794 * shadow/getspent_r.c: Likewise.
46795 * shadow/getspnam.c: Likewise.
46796 * shadow/getspnam_r.c: Likewise.
46797 * gshadow/getsgent.c: Likewise.
46798 * gshadow/getsgent_r.c: Likewise.
46799 * gshadow/getsgnam.c: Likewise.
46800 * gshadow/getsgnam_r.c: Likewise.
46801 * inet/getnetbyad.c: Likewise.
46802 * inet/getnetbyad_r.c: Likewise.
46803 * inet/getnetbynm.c: Likewise.
46804 * inet/getnetbynm_r.c: Likewise.
46805 * inet/getnetent.c: Likewise.
46806 * inet/getnetent_r.c: Likewise.
46807 * inet/getproto.c: Likewise.
46808 * inet/getproto_r.c: Likewise.
46809 * inet/getprtent.c: Likewise.
46810 * inet/getprtent_r.c: Likewise.
46811 * inet/getprtname.c: Likewise.
46812 * inet/getprtname_r.c: Likewise.
46813 * inet/getrpcbyname.c: Likewise.
46814 * inet/getrpcbyname_r.c: Likewise.
46815 * inet/getrpcbynumber.c: Likewise.
46816 * inet/getrpcbynumber_r.c: Likewise.
46817 * inet/getrpcent.c: Likewise.
46818 * inet/getrpcent_r.c: Likewise.
46819 * inet/getaliasent.c: Likewise.
46820 * inet/getaliasent_r.c: Likewise.
46821 * inet/getaliasname.c: Likewise.
46822 * inet/getaliasname_r.c: Likewise.
46823 * nscd/getgrgid_r.c: Likewise.
46824 * nscd/getgrnam_r.c: Likewise.
46825 * nscd/gethstbyad_r.c: Likewise.
46826 * nscd/gethstbynm3_r.c: Likewise.
46827 * nscd/getpwnam_r.c: Likewise.
46828 * nscd/getpwuid_r.c: Likewise.
46829 * nscd/getsrvbynm_r.c: Likewise.
46830 * nscd/getsrvbypt_r.c: Likewise.
46831 * nscd/gai.c: Likewise.
46832
46833 * configure.in (build_nscd): New substituted variable, set
46834 by --disable-build-nscd and defaults to $use_nscd.
46835 * configure: Regenerated.
46836 * config.make.in (build-nscd): New substituted variable.
46837 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46838 Change conditional to require [$(build-nscd) = yes] as well.
46839 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46840
46841 [BZ# 13696]
46842 * configure.in (use_nscd): New substituted variable, set by
46843 --disable-nscd. If enabled, define USE_NSCD.
46844 * configure: Regenerated.
46845 * config.h.in: Add USE_NSCD.
46846 * config.make.in (use-nscd): New substituted variable.
46847 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46848 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46849 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46850 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46851 (CFLAGS-getgrnam_r.c): Likewise.
46852 (CFLAGS-initgroups.c): Likewise.
46853 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46854 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46855 Variables removed.
46856 * inet/getnetgrent_r.c
46857 (nscd_setnetgrent): New function, broken out of ...
46858 (setnetgrent): ... here. Call it.
46859 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46860 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46861 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46862 * nscd/Makefile (routines, aux): Move definitions after include of
46863 Makeconfig. Conditionalize on [$(use-nscd) != no].
46864 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46865 Conditionalize on [USE_NSCD].
46866 (is_nscd, nscd_init_cb): Likewise.
46867 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46868 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46869 * nss/nss_db/db-init.c: Likewise.
46870 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46871 [USE_NSCD].
46872 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46873 (make_request): Use it.
46874 (cache_valid_p): New function.
46875 (__check_pf): Use it.
46876 * NEWS: Add item for --disable-nscd.
46877
46878 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46879
46880 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46881 to support sed >= 4.2.1-20-ga9bf076.
46882 * configure: Regenerated.
46883
46884 2012-08-22 Roland McGrath <roland@hack.frob.com>
46885
46886 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46887 Conditionalize whole body on [IREL].
46888
46889 2012-08-22 Jeff Law <law@redhat.com>
46890
46891 [BZ #14505]
46892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46893 if the family is PF_UNSPEC.
46894
46895 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46896
46897 * Makerules (lib-version): Rename from V.
46898 (install-lib-nosubdir): Change V to lib-version.
46899
46900 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46901
46902 [BZ #14252]
46903 * powerpc32/power6/wcschr.c: New file.
46904 * powerpc32/power6/wcscpy.c: New file.
46905 * powerpc32/power6/wcsrchr.c: New file.
46906 * powerpc64/power6/wcschr.c: New file.
46907 * powerpc64/power6/wcscpy.c: New file.
46908 * powerpc64/power6/wcsrchr.c: New file.
46909
46910 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46911
46912 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46913 (two_way_short_needle): Use it.
46914 * string/strstr.c (AVAILABLE1_USES_J): Define.
46915 * string/strcasestr.c: Likewise.
46916
46917 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46918 array references.
46919 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46920
46921 [BZ #11607]
46922 * NEWS: Add an entry.
46923 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46924 define their defaults.
46925 (two_way_short_needle): Detect end-of-string on-the-fly.
46926 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46927 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46928 * string/bug-strcasestr1.c: New test.
46929 * string/Makefile: Run it.
46930
46931 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46932
46933 [BZ #11607]
46934 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46935 the first character.
46936
46937 2012-08-21 Roland McGrath <roland@hack.frob.com>
46938
46939 * csu/elf-init.c (__libc_csu_irel): Function removed.
46940 * csu/libc-start.c (apply_irel): New function.
46941 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46942
46943 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46944
46945 * sysdeps/unix/sysv/linux/kernel-features.h
46946 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46947 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46948 <kernel-features.h>.
46949 [__NR_fadvise64_64]: Make code unconditional.
46950 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46951 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46952 !__NR_fadvise64_64)]: Likewise.
46953 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46954 !__NR_fadvise64_64))]: Likewise.
46955 [__NR_fadvise64]: Make code unconditional.
46956 [!__NR_fadvise64]: Remove conditional code.
46957 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46958 <kernel-features.h>.
46959 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46960 unconditional.
46961 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46962 conditional code.
46963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46964 not include <kernel-features.h>.
46965 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46966 unconditional.
46967 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46968 conditional code.
46969 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46970 include <kernel-features.h>.
46971 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46972 unconditional.
46973 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46974 conditional code.
46975
46976 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46977
46978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46979 slight instruction rearrangements per scrollpipe analysis.
46980 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46981
46982 2012-08-20 Roland McGrath <roland@hack.frob.com>
46983
46984 * manual/syslog.texi (syslog; vsyslog, closelog):
46985 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46986 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46987
46988 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46989 DSOCAPS to match condition on defining it.
46990
46991 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46992
46993 * sysdeps/unix/sysv/linux/kernel-features.h
46994 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46996 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46997 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46999 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47000 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47002 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47003 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47004
47005 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47006 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47007
47008 * sysdeps/unix/sysv/linux/kernel-features.h
47009 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47010 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47011 unconditional.
47012 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47013 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47014 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47015 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47016 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47017 Make code unconditional.
47018 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47019 (__mmap64) [!__NR_mmap2]: Likewise.
47020 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47021 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47022 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47024 [__NR_mmap2]: Make code unconditional.
47025 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47026 (__mmap64) [!__NR_mmap2]: Likewise.
47027
47028 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47029
47030 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47031
47032 2012-08-18 Andreas Jaeger <aj@suse.de>
47033
47034 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47035
47036 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47037
47038 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47039 * include/unistd.h (__have_sock_cloexec): Likewise.
47040 (__have_pipe2): Likewise.
47041 (__have_dup3): Likewise.
47042
47043 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47044
47045 [BZ #9685]
47046 * include/unistd.h (__have_pipe2): Change define into an extern int.
47047 (__have_dup3): Likewise.
47048 * socket/have_sock_cloexec.c: Include fcntl.h.
47049 (__have_pipe2): New variable.
47050 (__have_dup3): Likewise.
47051
47052 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47053
47054 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47055
47056 2012-08-17 Marek Polacek <polacek@redhat.com>
47057
47058 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47059 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47060
47061 2012-08-17 Roland McGrath <roland@hack.frob.com>
47062
47063 * configure.in: Add AC_SUBST for sysheaders.
47064 * configure: Regenerated.
47065 * config.make.in (sysheaders): New substituted variable.
47066
47067 * sysdeps/unix/mkfifo.c: Moved ...
47068 * sysdeps/posix/mkfifo.c: ... here.
47069 * sysdeps/unix/mkfifoat.c: Moved ...
47070 * sysdeps/posix/mkfifoat.c: ... here.
47071
47072 * sysdeps/unix/utime.c: Moved ...
47073 * sysdeps/posix/utime.c: ... here.
47074
47075 * sysdeps/unix/time.c: Moved ...
47076 * sysdeps/posix/time.c: ... here.
47077 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47078 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47079
47080 * sysdeps/unix/nice.c: Moved ...
47081 * sysdeps/posix/nice.c: ... here.
47082
47083 * sysdeps/unix/alarm.c: Moved ...
47084 * sysdeps/posix/alarm.c: ... here.
47085
47086 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47087
47088 2012-08-17 Jeff Law <law@redhat.com>
47089
47090 * intl/Makefile (codeset_mo): New variable.
47091 ($(codeset_mo)): New target.
47092 (tst-codeset.out): Depend on that. Remove explicit rule.
47093 (tst-gettext3.out, tst-gettext5.out): Likewise.
47094 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47095 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47096 * intl/tst-codeset.sh: Remove.
47097 * intl/tst-gettext3.sh: Likewise.
47098 * intl/tst-gettext5.sh: Likewise.
47099
47100 2012-08-17 Roland McGrath <roland@hack.frob.com>
47101
47102 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47103 * sysdeps/unix/syscalls.list: ... here.
47104
47105 * sysdeps/posix/getaddrinfo.c
47106 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47107 (gaiconf_init, gaiconf_reload): Use them.
47108 [!_STATBUF_ST_NSEC]
47109 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47110 Define using time_t rather than struct timespec.
47111
47112 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47113 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47114 Macros removed.
47115 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47116 [!NO_THREADS].
47117 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47118 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47119 Likewise.
47120
47121 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47122 __libc_cleanup_push argument.
47123
47124 * bits/param.h: New file.
47125 * misc/sys/param.h: New file.
47126 * include/sys/param.h: New file.
47127 * misc/Makefile (headers): Add bits/param.h.
47128 * sysdeps/generic/sys/param.h: File removed.
47129 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47130 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47131 * sysdeps/mach/hurd/bits/param.h: New file.
47132 * sysdeps/mach/hurd/sys/param.h: File removed.
47133
47134 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47135 last change.
47136
47137 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47138 [_IO_MTSAFE_IO].
47139 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47140 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47141 New macros.
47142
47143 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47144 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47145 rather than -D_IO_MTSAFE_IO conditionally.
47146 * stdio-common/Makefile (CPPFLAGS): Likewise.
47147 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47148 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47149 Use $(libio-mtsafe).
47150 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47151 of -D_IO_MTSAFE_IO.
47152 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47153 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47154 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47155 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47156 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47157 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47158 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47159 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47160 (CFLAGS-fread_u_chk.c): Likewise.
47161 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47162 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47163 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47164 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47165 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47166 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47167 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47168 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47169 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47170
47171 * libio/Makefile: Test [$(libc-reentrant) = yes]
47172 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47173
47174 * Makeconfig
47175 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47176 * sysdeps/pthread/configure: File removed.
47177 * sysdeps/pthread/Makeconfig: New file.
47178 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47179 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47180
47181 2012-08-16 Gary Benson <gbenson@redhat.com>
47182
47183 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47184 unmapping the first object in a namespace.
47185
47186 2012-08-16 Roland McGrath <roland@hack.frob.com>
47187
47188 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47189 (__internal_setnetgrent): ... this. Add internal_function to
47190 definition. Add libc_hidden_def.
47191 (setnetgrent): Update caller.
47192 (internal_endnetgrent): Renamed to ...
47193 (__internal_endnetgrent): ... this. Add internal_function to
47194 definition. Add libc_hidden_def.
47195 (endnetgrent): Update caller.
47196 (internal_getnetgrent_r): Renamed to ...
47197 (__internal_getnetgrent_r): ... this. Add internal_function to
47198 definition. Add libc_hidden_def.
47199 (__getnetgrent_r): Update caller.
47200 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47201
47202 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47203
47204 * stdlib/longlong.h: Update from GCC.
47205
47206 2012-08-16 Roland McGrath <roland@hack.frob.com>
47207
47208 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47209 on _QL, which is set by umul_ppmm but never used.
47210 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47211 variables, which are set by GMP macros but never used.
47212 * stdio-common/_itowa.c (_itowa): Likewise.
47213 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47214 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47215
47216 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47217
47218 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47219 struct La_sh_regs is not constant.
47220 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47221 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47222 and struct La_sparc64_regs are not constant.
47223
47224 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47225
47226 * sysdeps/unix/sysv/linux/kernel-features.h
47227 (__ASSUME_POSIX_TIMERS): Remove.
47228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47230 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47231 Make code unconditional.
47232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47233 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47234 Make code unconditional.
47235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47236 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47237 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47239 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47240 Make code unconditional.
47241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47242 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47243 (__libc_missing_posix_timers): Remove.
47244
47245 2012-08-15 Roland McGrath <roland@hack.frob.com>
47246
47247 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47248 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47249
47250 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47251
47252 * elf/dl-sym.c: Include <stdlib.h>.
47253
47254 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47255 constants, which avoids warnings in 32-bit builds.
47256
47257 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47258 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47259
47260 * misc/lseek.c: File moved to ...
47261 * io/lseek.c: ... here.
47262
47263 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47264
47265 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47266 shifting LEN more than 31 bits at once.
47267
47268 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47269
47270 [BZ #14195]
47271 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47272 segmentation fault for a case of two empty input strings.
47273 * string/test-strncasecmp.c (check1): Renamed to...
47274 (bz12205): ...this.
47275 (bz14195): Add new testcase for two empty input strings and N > 0.
47276 (test_main): Call new testcase, adapt for renamed function.
47277
47278 2012-08-15 Andreas Jaeger <aj@suse.de>
47279
47280 [BZ #14090]
47281 * crypt/md5test2.c: New test, based on test supplied by Serge
47282 Belyshev <belyshev@depni.sinp.msu.ru>.
47283 * crypt/Makefile (xtests): Add md5test-giant..
47284 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47285
47286 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47287
47288 [BZ #14090]
47289 * crypt/md5.c (md5_process_block): Don't assume the buffer
47290 length is less than 2**32.
47291 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47292 length is less than 2**64.
47293
47294 2012-08-15 Roland McGrath <roland@hack.frob.com>
47295
47296 * string/str-two-way.h: Include <sys/param.h>.
47297 (MAX): Macro removed.
47298
47299 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47300 Move #define and #undef of memmove to just before and after
47301 including <string.h>.
47302
47303 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47304 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47305 and after including <string.h>. Move declarations of
47306 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47307 to before #include "string/memmove.c".
47308
47309 * include/dirent.h: Declare __getdirentries.
47310
47311 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47312 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47313
47314 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47315
47316 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47317 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47318 * sysdeps/i386/configure: Regenerated.
47319 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47320 STABS_CURRENT_FILE, and STABS_FUN.
47321 (END): Remove call to STABS_FUN_END.
47322 (STABS_CURRENT_FILE1): Delete.
47323 (STABS_CURRENT_FILE): Likewise.
47324 (STABS_FUN): Likewise.
47325 (STABS_FUN_END): Likewise.
47326 (STABS_FUN2): Likewise.
47327 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47328 * sysdeps/x86_64/configure: Regenerated.
47329
47330 2012-08-14 Roland McGrath <roland@hack.frob.com>
47331
47332 * elf/dl-open.c: Include <atomic.h>.
47333 * elf/dl-lookup.c: Likewise.
47334
47335 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47336
47337 * sysdeps/unix/sysv/linux/kernel-features.h
47338 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47339 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47340 unconditionally.
47341 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47342 unconditionally.
47343 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47344 condition on __ASSUME_CLONE_THREAD_FLAGS.
47345
47346 2012-08-14 Andreas Jaeger <aj@suse.de>
47347
47348 * sysdeps/i386/fpu/libm-test-ulps: Update.
47349
47350 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47351
47352 * include/atomic.h (atomic_exchange_and_add): Split into ...
47353 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47354 New atomic macros.
47355
47356 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47357
47358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47359
47360 2012-08-13 Jeff Law <law@redhat.com>
47361
47362 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47363 null byte in the output string.
47364
47365 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47366
47367 * sysdeps/unix/sysv/linux/kernel-features.h
47368 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47369 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47370 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47371 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47372 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47373 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47374 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47375
47376 2012-08-09 Jeff Law <law@redhat.com>
47377
47378 [BZ #13939]
47379 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47380 When avoid_arena is set, don't retry in the that arena. Pick the
47381 next one, whatever it might be.
47382 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47383 (arena_lock): Pass in new parameter to arena_get2.
47384 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47385 arena_get2.
47386 (__libc_malloc): Unify retrying after main arena failure with
47387 __libc_memalign version.
47388 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47389
47390 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47391
47392 [BZ #14166]
47393 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47394 to __redirect_strstr.
47395 (__strstr_sse42): Use typeof __redirect_strstr.
47396 (__strstr_ia32): Likewise.
47397 (__libc_strstr): New prototype.
47398 (strstr): Renamed to ...
47399 (__libc_strstr): This.
47400 (strstr): New strong alias of __libc_strstr.
47401 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47402 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47403 __redirect_time.
47404 Include <time.h>.
47405 (__libc_time): New prototype.
47406 (time_ifunc): Replace time with __libc_time.
47407 (time): New strong alias and hidden definition of __libc_time.
47408 (__GI_time): Remove strong alias.
47409 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47410 Include <stddef.h>.
47411 (memmove): Redefined to __redirect_memmove.
47412 (__memmove_sse2): Use typeof __redirect_memmove.
47413 (__memmove_ssse3): Likewise.
47414 (__memmove_ssse3_back): Likewise.
47415 (__libc_memmove): New prototype.
47416 (memmove): Renamed to ...
47417 (__libc_memmove): This.
47418 (memmove): New strong alias of __libc_memmove.
47419
47420 2012-08-08 Mark Salter <msalter@redhat.com>
47421
47422 * elf/elf.h
47423 (R_MN10300_TLS_GD): Define.
47424 (R_MN10300_TLS_LD): Likewise.
47425 (R_MN10300_TLS_LDO): Likewise.
47426 (R_MN10300_TLS_GOTIE): Likewise.
47427 (R_MN10300_TLS_IE): Likewise.
47428 (R_MN10300_TLS_LE): Likewise.
47429 (R_MN10300_TLS_DTPMOD): Likewise.
47430 (R_MN10300_TLS_DTPOFF): Likewise.
47431 (R_MN10300_TLS_TPOFF): Likewise.
47432 (R_MN10300_SYM_DIFF): Likewise.
47433 (R_MN10300_ALIGN): Likewise.
47434 (R_MN10300_NUM): Update.
47435
47436 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47437
47438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47439 Remove.
47440
47441 2012-08-08 Roland McGrath <roland@hack.frob.com>
47442
47443 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47444
47445 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47446 sysdeps/unix -> sysdeps/posix move.
47447 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47448
47449 2012-08-07 Allan McRae <allan@archlinux.org>
47450
47451 [BZ #14303]
47452 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47453 (SUNOS_CPP): Likewise.
47454 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47455 not found.
47456 (open_input): Call CPP using execvp.
47457
47458 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47459
47460 * sysdeps/unix/sysv/linux/kernel-features.h
47461 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47462 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47463 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47464 (__ASSUME_WAITID_SYSCALL): Likewise.
47465 * sysdeps/unix/sysv/linux/dl-execstack.c
47466 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47467 code unconditional.
47468 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47469 conditional code.
47470 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47471 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47472 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47473 code.
47474 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47475 unconditional.
47476 [__ASSUME_WAITID_SYSCALL]: Likewise.
47477 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47478
47479 2012-08-07 Roland McGrath <roland@hack.frob.com>
47480
47481 * sysdeps/unix/closedir.c: Renamed to ...
47482 * sysdeps/posix/closedir.c: ... here.
47483 * sysdeps/unix/dirfd.c: Renamed to ...
47484 * sysdeps/posix/dirfd.c: ... here.
47485 * sysdeps/unix/dirstream.h: Renamed to ...
47486 * sysdeps/posix/dirstream.h: ... here.
47487 * sysdeps/unix/fdopendir.c: Renamed to ...
47488 * sysdeps/posix/fdopendir.c: ... here.
47489 * sysdeps/unix/opendir.c: Renamed to ...
47490 * sysdeps/posix/opendir.c: ... here.
47491 * sysdeps/unix/readdir.c: Renamed to ...
47492 * sysdeps/posix/readdir.c: ... here.
47493 * sysdeps/unix/readdir_r.c: Renamed to ...
47494 * sysdeps/posix/readdir_r.c: ... here.
47495 * sysdeps/unix/rewinddir.c: Renamed to ...
47496 * sysdeps/posix/rewinddir.c: ... here.
47497 * sysdeps/unix/seekdir.c: Renamed to ...
47498 * sysdeps/posix/seekdir.c: ... here.
47499 * sysdeps/unix/telldir.c: Renamed to ...
47500 * sysdeps/posix/telldir.c: ... here.
47501 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47502 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47503 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47504 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47505
47506 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47507 * bits/fcntl.h: ... here.
47508
47509 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47510 not 0.
47511 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47512 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47513 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47514 (struct flock): Move l_start, l_len to the beginning.
47515 Use __pid_t for l_pid.
47516 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47517 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47518 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47519 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47520 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47521 [__USE_LARGEFILE64] (struct flock64): New type.
47522 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47523
47524 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47525 * bits/dirent.h: ... here.
47526
47527 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47528 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47529
47530 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47531
47532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47533 Change from 2.6.0 to 2.6.16.
47534 * sysdeps/unix/sysv/linux/configure: Regenerated.
47535 * sysdeps/unix/sysv/linux/kernel-features.h
47536 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47537 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47538 version.
47539 (__ASSUME_UTIMES): Likewise.
47540 (__ASSUME_CLONE_STOPPED): Remove.
47541 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47542 architectures, not kernel version.
47543 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47544 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47545 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47546 (__ASSUME_WAITID_SYSCALL): Likewise.
47547 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47548 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47549 * README: State 2.6.16 as minimum Linux kernel version. Do not
47550 refer to older versions.
47551
47552 2012-08-06 Roland McGrath <roland@hack.frob.com>
47553
47554 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47555 Define alphasort64 as an alias.
47556 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47557 Define versionsort64 as an alias.
47558 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47559 Define scandir64 as an alias.
47560 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47561 Define scandirat64 as an alias.
47562 * dirent/alphasort64.c (alphasort64):
47563 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47564 * dirent/versionsort64.c: Likewise.
47565 * dirent/scandir64.c: Likewise.
47566 * dirent/scandirat64.c: Likewise.
47567 * sysdeps/wordsize-64/alphasort.c: File removed.
47568 * sysdeps/wordsize-64/alphasort64.c: File removed.
47569 * sysdeps/wordsize-64/scandir.c: File removed.
47570 * sysdeps/wordsize-64/scandir64.c: File removed.
47571 * sysdeps/wordsize-64/scandirat.c: File removed.
47572 * sysdeps/wordsize-64/scandirat64.c: File removed.
47573 * sysdeps/wordsize-64/versionsort.c: File removed.
47574 * sysdeps/wordsize-64/versionsort64.c: File removed.
47575 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47576 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47577 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47578 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47579 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47580 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47581 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47582 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47583
47584 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47586 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47588 [defined __arch64__ || defined __sparcv9]
47589 (__INO_T_MATCHES_INO64_T): New macro.
47590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47591 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47592 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47593 * sysdeps/unix/sysv/linux/bits/dirent.h
47594 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47595 (_DIRENT_MATCHES_DIRENT64): New macro.
47596
47597 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47598 Define lockf64 as an alias.
47599 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47600 Define fseeko64 as an alias.
47601 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47602 Define ftello64 as an alias.
47603 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47604 Define _IO_fgetpos64 and fgetpos64 as aliases.
47605 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47606 Define _IO_fsetpos64 and fsetpos64 as aliases.
47607 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47608 Conditionalize body on this.
47609 * libio/fseeko64.c: Likewise.
47610 * libio/ftello64.c: Likewise.
47611 * libio/iofgetpos64.c: Likewise.
47612 * libio/iofsetpos64.c: Likewise.
47613 * sysdeps/wordsize-64/lockf.c: File removed.
47614 * sysdeps/wordsize-64/lockf64.c: File removed.
47615 * sysdeps/wordsize-64/fseeko.c: File removed.
47616 * sysdeps/wordsize-64/fseeko64.c: File removed.
47617 * sysdeps/wordsize-64/ftello.c: File removed.
47618 * sysdeps/wordsize-64/ftello64.c: File removed.
47619 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47620 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47621 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47622 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47623 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47625 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47626 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47627 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47628 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47629 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47631 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47632 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47633
47634 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47636 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47638 [defined __arch64__ || defined __sparcv9]
47639 (__OFF_T_MATCHES_OFF64_T): New macro.
47640 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47641 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47643 (__OFF_T_MATCHES_OFF64_T): New macro.
47644
47645 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47646
47647 * stdlib/secure-getenv.c (__secure_getenv): Replace
47648 GLIBC_2_16 with GLIBC_2_17.
47649
47650 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47651
47652 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47653 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47654
47655 2012-08-03 David S. Miller <davem@davemloft.net>
47656
47657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47658
47659 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47660
47661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47662 Remove.
47663 (__ASSUME_CORRECT_SI_PID): Likewise.
47664 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47665 (__ASSUME_TMPFS_NAME): Likewise.
47666 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47667 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47668 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47669 (HAVE_AUX_SECURE): Make definition unconditional.
47670 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47671 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47672
47673 2012-08-03 Roland McGrath <roland@hack.frob.com>
47674
47675 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47676 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47677 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47678 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47679 __eloop_threshold instead of SYMLOOP_MAX.
47680
47681 * sysdeps/generic/eloop-threshold.h: New file.
47682 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47683 of MAXSYMLINKS.
47684 * elf/chroot_canon.c (chroot_canon): Likewise.
47685
47686 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47687
47688 [BZ #13717]
47689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47690 Change to 2.6.0 everywhere.
47691 * sysdeps/unix/sysv/linux/configure: Regenerated.
47692 * sysdeps/unix/sysv/linux/kernel-features.h
47693 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47694 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47695 kernel versions.
47696 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47697 (__ASSUME_FUTEX_REQUEUE): Remove.
47698 (__ASSUME_STATFS64): Define unconditionally.
47699 (__ASSUME_AT_SECURE): Likewise.
47700 (__ASSUME_CORRECT_SI_PID): Likewise.
47701 (__ASSUME_TGKILL): Define without depending on kernel version for
47702 i386.
47703 (__ASSUME_UTIMES): Likewise.
47704 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47705 kernel version.
47706 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47707 (__ASSUME_TMPFS_NAME): Likewise.
47708 * README: Update reference to Linux kernel versions.
47709
47710 2012-08-02 Marek Polacek <polacek@redhat.com>
47711
47712 [BZ# 14150]
47713 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47714 libc_cv_asm_type_prefix with %.
47715 * configure: Regenerated.
47716 * include/libc-symbols.h: Remove comment about
47717 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47718 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47719 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47720 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47721 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47722 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47723 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47724 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47725 * elf/tst-unique2mod1.c: Likewise.
47726 * elf/tst-unique1mod2.c: Likewise.
47727 * elf/tst-unique1mod1.c: Likewise.
47728 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47729 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47730 Replace ASM_TYPE_DIRECTIVE with .type.
47731 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47732 * sysdeps/i386/sysdep.h: Likewise.
47733 * sysdeps/x86_64/sysdep.h: Likewise.
47734 * sysdeps/sh/sysdep.h: Likewise.
47735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47736 Do not define ASM_TYPE_DIRECTIVE.
47737 * sysdeps/powerpc/sysdep.h: Likewise.
47738 * sysdeps/powerpc/powerpc32/sysdep.h:
47739 Replace ASM_TYPE_DIRECTIVE with .type.
47740 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47741 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47742 * sysdeps/i386/fpu/e_powf.S: Likewise.
47743 * sysdeps/i386/fpu/e_expl.S: Likewise.
47744 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47745 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47746 * sysdeps/i386/fpu/e_pow.S: Likewise.
47747 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47749 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47750 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47751 * sysdeps/i386/fpu/e_log2.S: Likewise.
47752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47753 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47754 * sysdeps/i386/fpu/e_powl.S: Likewise.
47755 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47756 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47757 * sysdeps/i386/fpu/e_logl.S: Likewise.
47758 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47759 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47760 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47761 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47762 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47763 * sysdeps/i386/fpu/e_log.S: Likewise.
47764 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47765 * sysdeps/i386/fpu/e_logf.S: Likewise.
47766 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47767 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47768 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47769 * sysdeps/i386/fpu/e_log10.S: Likewise.
47770 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47771 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47772 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47773 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47774 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47775 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47776 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47777 * sysdeps/i386/i686/strtok.S: Likewise.
47778 * sysdeps/i386/i386-mcount.S: Likewise.
47779 * sysdeps/i386/strtok.S: Likewise.
47780 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47781 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47783 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47784 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47786 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47787 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47788 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47789 * sysdeps/x86_64/_mcount.S: Likewise.
47790 * sysdeps/x86_64/strtok.S: Likewise.
47791 * sysdeps/sh/_mcount.S: Likewise.
47792
47793 2012-08-01 Roland McGrath <roland@hack.frob.com>
47794
47795 * libio/iofopen.c: Include <fcntl.h>.
47796 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47797 (_IO_fopen64, fopen64): Define as aliases.
47798 * libio/iofopen64.c: Include <fcntl.h>.
47799 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47800 Conditionalize body on this.
47801 * sysdeps/wordsize-64/iofopen.c: File removed.
47802 * sysdeps/wordsize-64/iofopen64.c: File removed.
47803
47804 2012-08-01 Marek Polacek <polacek@redhat.com>
47805
47806 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47807 Use dlfcn directly instead of a variable.
47808 (binfmt-subdir): Do not define.
47809 (dlfcn): Likewise.
47810
47811 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47812
47813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47814 Remove all definitions.
47815 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47816 <kernel-features.h>.
47817 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47818 (miss_F_GETOWN_EX): Remove all definitions.
47819 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47820 macro definition.
47821 [!__ASSUME_FCNTL64]: Remove conditional code.
47822 [__ASSUME_FCNTL64]: Make code unconditional.
47823 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47824 <kernel-features.h>.
47825 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47826 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47827 (lockf64) [__NR_fcntl64]: Make code unconditional.
47828 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47829
47830 * sysdeps/unix/sysv/linux/kernel-features.h
47831 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47832 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47833 Make code unconditional.
47834 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47835 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47837 [__NR_vfork]: Make code unconditional.
47838 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47839 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47841 [__NR_vfork]: Make code unconditional.
47842 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47843 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47844
47845 2012-08-01 Roland McGrath <roland@hack.frob.com>
47846
47847 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47848 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47849
47850 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47851 Define mkstemp64 as an alias.
47852 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47853 Define mkstemps64 as an alias.
47854 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47855 Define mkostemp64 as an alias.
47856 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47857 Define mkostemps64 as an alias.
47858 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47859 Conditionalize body on this.
47860 * misc/mkostemp64.c: Likewise.
47861 * misc/mkostemps64.c: Likewise.
47862 * misc/mkstemps64.c: Likewise.
47863 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47864 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47865 * sysdeps/wordsize-64/mkostemp.c: File removed.
47866 * sysdeps/wordsize-64/mkstemp.c: File removed.
47867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47869 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47871
47872 [BZ #14138]
47873 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47874 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47875 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47876 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47877
47878 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47879 compat_symbol macros from <shlib-compat.h> rather than the underlying
47880 default_symbol_version and symbol_version macros, so that DEFAULT
47881 lines in shlib-versions are respected.
47882 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47883
47884 2012-08-01 Florian Weimer <fweimer@redhat.com>
47885
47886 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47887 Declare with warn_unused_result.
47888 (setgid, setregid, setegid, setresgid): Likewise.
47889 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47890 Likewise.
47891 * WUR-REPORT: Remove set*id functions.
47892
47893 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47894
47895 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47896
47897 2012-07-31 Roland McGrath <roland@hack.frob.com>
47898
47899 [BZ #10191]
47900 * include/sys/socket.h (__libc_accept, __libc_accept4):
47901 Add attribute_hidden.
47902 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47903
47904 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47905 use of PTR_MANGLE.
47906 * inet/getnetgrent_r.c (setup): Likewise.
47907
47908 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47909
47910 2012-07-31 David S. Miller <davem@davemloft.net>
47911
47912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47913
47914 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47915
47916 [BZ #13629]
47917 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47918 value between 1.0 and 2.0 and smaller part has absolute value less
47919 than 1.0.
47920 * math/s_clog10.c (__clog10): Likewise.
47921 * math/s_clog10f.c (__clog10f): Likewise.
47922 * math/s_clog10l.c (__clog10l): Likewise.
47923 * math/s_clogf.c (__clogf): Likewise.
47924 * math/s_clogl.c (__clogl): Likewise.
47925 * math/libm-test.inc (clog_test): Add more tests.
47926 (clog10_test): Likewise.
47927 * sysdeps/i386/fpu/libm-test-ulps: Update.
47928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47929
47930 2012-07-31 Florian Weimer <fweimer@redhat.com>
47931
47932 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47933 Exit with zero in case no suitable GID is found, and write a
47934 message to standard error.
47935
47936 2012-07-30 Roland McGrath <roland@hack.frob.com>
47937
47938 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47939 rather than to 1.
47940 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47941 (MAXPATHLEN): Removed.
47942 (NOGROUP, NODEV): New macros.
47943 (setbit, clrbit, isset, isclr): New macros.
47944 (howmany, roundup, powerof2): New macros.
47945 (DEV_BSIZE): New macro.
47946
47947 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47948 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47949
47950 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47951 definition on [!__NO_LONG_DOUBLE_MATH].
47952
47953 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47954 PTR_MANGLE and PTR_DEMANGLE.
47955
47956 * socket/accept4.c (accept4): Rename to __libc_accept4.
47957 Define accept4 as a weak alias.
47958
47959 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47960 on [_DIRENT_HAVE_D_TYPE].
47961 * io/ftw.c (ftw_dir): Likewise.
47962
47963 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47964
47965 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47966
47967 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47968 Use the BSD numbers rather than the arbitrary ones we had.
47969 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47970 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47971 (SIGXCPU, SIGXFSZ): New macros.
47972 (_NSIG): Now 32.
47973
47974 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47975 initializer on [_LIBC_REENTRANT].
47976
47977 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47978 definitions inside [_POSIX_MAPPED_FILES].
47979
47980 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47981
47982 * dirent/opendir.c: Include <fcntl.h>.
47983
47984 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47985 (__libc_getspecific): Likewise.
47986 (__libc_key_create): Likewise.
47987
47988 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47989 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47990 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47991 (tmpfile64): Define as alias.
47992 * sysdeps/wordsize-64/tmpfile.c: File removed.
47993 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47994 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47995 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47996
47997 * stdio-common/vfscanf.c: Include <stdbool.h>.
47998 * nss/makedb.c: Likewise.
47999 * stdio-common/_i18n_number.h: Likewise.
48000 * argp/argp-help.c: Likewise.
48001 * posix/wordexp.c: Likewise.
48002 * sysdeps/posix/spawni.c: Likewise.
48003 * nss/nss_files/files-initgroups.c: Likewise.
48004 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48005 * nss/nss_files/files-initgroups.c: Likewise.
48006 * nss/nss_db/db-netgrp.c: Likewise.
48007 * nss/nss_db/db-initgroups.c: Likewise.
48008 * io/fchmodat.c: Include <sys/stat.h>.
48009
48010 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48011 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48012
48013 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48014 [HAVE_MMAP].
48015
48016 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48017 Add multiple inclusion protection.
48018
48019 2012-07-27 David S. Miller <davem@davemloft.net>
48020
48021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48022
48023 2012-07-27 Gary Benson <gbenson@redhat.com>
48024
48025 [BZ #14298]
48026 * elf/rtld.c: Include <stap-probe.h>.
48027 (dl_main): Added static probes "init_start" and "init_complete".
48028 * elf/dl-load.c: Include <stap-probe.h>.
48029 (lose): Take new parameter "nsid".
48030 Added static probe "map_failed".
48031 (_dl_map_object_from_fd): Pass namespace id to lose.
48032 Added static probe "map_start".
48033 (open_verify): Pass namespace id to lose.
48034 * elf/dl-open.c: Include <stap-probe.h>.
48035 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48036 and "reloc_complete".
48037 * elf/dl-close.c: Include <stap-probe.h>.
48038 (_dl_close_worker): Added static probes "unmap_start" and
48039 "unmap_complete".
48040 * elf/rtld-debugger-interface.txt: New file documenting the above.
48041
48042 2012-07-26 Roland McGrath <roland@hack.frob.com>
48043
48044 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48045 rather than a string variable.
48046 * sunrpc/rpc_main.c (h_output): Likewise.
48047 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48048
48049 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48050
48051 * inet/check_native.c: New file.
48052
48053 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48054
48055 [BZ #13629]
48056 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48057 if larger part has absolute value 1.0.
48058 * math/s_clog10.c (__clog10): Likewise.
48059 * math/s_clog10f.c (__clog10f): Likewise.
48060 * math/s_clog10l.c (__clog10l): Likewise.
48061 * math/s_clogf.c (__clogf): Likewise.
48062 * math/s_clogl.c (__clogl): Likewise.
48063 * math/libm-test.inc (clog_test): Add more tests.
48064 (clog10_test): Likewise.
48065 * sysdeps/i386/fpu/libm-test-ulps: Update.
48066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48067
48068 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48069 (pltexit): Likewise.
48070 (La_regs): Likewise.
48071 (La_retval): Likewise.
48072 (int_retval): Likewise.
48073 Update #error for removed macros to refer only to definitions in
48074 tst-audit.h.
48075 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48076 macro.
48077 (pltexit): Likewise.
48078 (La_regs): Likewise.
48079 (La_retval): Likewise.
48080 (int_retval): Likewise.
48081 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48082 macro.
48083 (pltexit): Likewise.
48084 (La_regs): Likewise.
48085 (La_retval): Likewise.
48086 (int_retval): Likewise.
48087 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48088 macro.
48089 (pltexit): Likewise.
48090 (La_regs): Likewise.
48091 (La_retval): Likewise.
48092 (int_retval): Likewise.
48093 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48094 macro.
48095 (pltexit): Likewise.
48096 (La_regs): Likewise.
48097 (La_retval): Likewise.
48098 (int_retval): Likewise.
48099 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48100 macro.
48101 (pltexit): Likewise.
48102 (La_regs): Likewise.
48103 (La_retval): Likewise.
48104 (int_retval): Likewise.
48105 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48106 macro.
48107 (pltexit): Likewise.
48108 (La_regs): Likewise.
48109 (La_retval): Likewise.
48110 (int_retval): Likewise.
48111 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48112 macro definitions in tst-audit.h.
48113 * sysdeps/i386/tst-audit.h: New file.
48114 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48115 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48116 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48117 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48118 * sysdeps/sh/tst-audit.h: Likewise.
48119 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48120 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48121 * sysdeps/x86_64/tst-audit.h: Likewise.
48122
48123 2012-07-26 Andreas Jaeger <aj@suse.de>
48124
48125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48126 ptrace.
48127
48128 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48129 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48130 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48131 PTRACE_O_MASK.
48132 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48133 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48134 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48135
48136 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48137 value.
48138
48139 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48140 _sigsys.
48141 (si_call_addr, si_syscall, si_arch): Define new macro.
48142 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48143 _sigsys.
48144 (si_call_addr, si_syscall, si_arch): Define new marcro.
48145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48146 _sigsys.
48147 (si_call_addr, si_syscall, si_arch): Define new macro.
48148 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48149 _sigsys.
48150 (si_call_addr, si_syscall, si_arch): Define new macro.
48151
48152 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48153
48154 [BZ #13717]
48155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48156 Change to 2.4.21 where previously 2.4.1.
48157 * sysdeps/unix/sysv/linux/configure: Regenerated.
48158 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48159 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48160 Linux kernel version.
48161 (__ASSUME_STD_AUXV): Remove.
48162 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48163 kernel version.
48164 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48165 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48166 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48167 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48168 (__ASSUME_NETLINK_SUPPORT): Likewise.
48169 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48170 (__no_netlink_support): Remove conditional definition.
48171 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48172 Remove.
48173 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48174 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48175 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48176 (if_nameindex_ioctl): Remove.
48177 (if_nameindex_netlink): Do not handle __no_netlink_support.
48178 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48179 code.
48180 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48181 Remove conditional code.
48182 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48183 code.
48184 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48185 unconditional.
48186 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48187 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48188 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48189 Remove.
48190 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48191 [!__ASSUME_STD_AUXV]: Remove conditional code.
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48193 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48194 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48196 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48197 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48198 code.
48199 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48201 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48202 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48203 conditional code.
48204 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48206 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48207 code.
48208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48209 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48210 conditional code.
48211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48212 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48213 code unconditional.
48214 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48215 conditional code.
48216 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48217 unconditional.
48218 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48219 conditional code.
48220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48221 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48222 unconditional.
48223 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48224 conditional code.
48225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48226 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48227 code unconditional.
48228 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48229 conditional code.
48230 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48231 unconditional.
48232 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48233 conditional code.
48234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48235 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48236 code unconditional.
48237 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48238 conditional code.
48239 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48240 unconditional.
48241 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48242 conditional code.
48243
48244 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48245
48246 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48247 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48248 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48249 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48250 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48251 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48252 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48253 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48254 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48255 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48256 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48257 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48258 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48259 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48260 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48261 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48262 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48263 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48264 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48266 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48267 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48268 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48269
48270 2012-07-25 Florian Weimer <fweimer@redhat.com>
48271
48272 * Versions.def: Add GLIBC_2.17.
48273 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48274 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48275 Introduce __libc_secure_getenv.
48276 * stdlib/Versions (2.17): Add secure_getenv
48277 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48278 * stdlib/secure-getenv.c: Rename __secure_getenv to
48279 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48280 symbol __secure_getenv for GLIBC_2.0.
48281 * stdlib/tst-secure-getenv.c: New.
48282 * stdlib/Makefile (tests): Add testcase.
48283 * manual/startup.texi (Environment Access): Document
48284 secure_getenv.
48285 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48286 __libc_secure_getenv.
48287 * inet/ruserpass.c (ruserpass): Likewise.
48288 * malloc/mtrace.c (mtrace): Likewise.
48289 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48290 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48291 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48292 * sysdeps/posix/tempname.c: Likewise. Evaluate
48293 HAVE_SECURE_GETENV.
48294 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48295 __secure_getenv to __libc_secure_getenv.
48296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48298 Likewise.
48299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48300 Likewise.
48301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48308
48309 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48310
48311 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48312 (struct La_i86_retval): Likewise.
48313 (struct La_x86_64_regs): Likewise.
48314 (struct La_x86_64_retval): Likewise.
48315 (struct La_x32_regs): Likewise.
48316 (struct La_x32_retval): Likewise.
48317 (struct La_ppc32_regs): Likewise.
48318 (struct La_ppc32_retval): Likewise.
48319 (struct La_ppc64_regs): Likewise.
48320 (struct La_ppc64_retval): Likewise.
48321 (struct La_sh_regs): Likewise.
48322 (struct La_sh_retval): Likewise.
48323 (struct La_s390_32_regs): Likewise.
48324 (struct La_s390_32_retval): Likewise.
48325 (struct La_s390_64_regs): Likewise.
48326 (struct La_s390_64_retval): Likewise.
48327 (struct La_sparc32_regs): Likewise.
48328 (struct La_sparc32_retval): Likewise.
48329 (struct La_sparc64_regs): Likewise.
48330 (struct La_sparc64_retval): Likewise.
48331 (struct audit_ifaces): Remove architecture-specific pltenter and
48332 pltexit members.
48333 * sysdeps/i386/ldsodefs.h: New file.
48334 * sysdeps/powerpc/ldsodefs.h: Likewise.
48335 * sysdeps/s390/ldsodefs.h: Likewise.
48336 * sysdeps/sh/ldsodefs.h: Likewise.
48337 * sysdeps/sparc/ldsodefs.h: Likewise.
48338 * sysdeps/x86_64/ldsodefs.h: Likewise.
48339
48340 2012-07-25 Marek Polacek <polacek@redhat.com>
48341
48342 [BZ #6808]
48343 * math/libm-test.inc (yn_test): Add another test.
48344 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48345 to ERANGE when the result is +-Inf.
48346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48347 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48348 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48349 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48350
48351 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48352
48353 * conform/data/time.h-data (NULL): Use macro-constant. Require
48354 equal to 0.
48355 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48356 clock_t.
48357 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48358
48359 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48360
48361 * configure.in <sysdeps resolving>: Correct printing
48362 Implies_before.
48363 * configure: Regenerate.
48364
48365 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48366
48367 * math/w_ilogb.c: Include <limits.h>.
48368 * math/w_ilogbl.c: Likewise.
48369
48370 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48371
48372 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48373 va_copy. Document allowing for unavailable va_copy only as
48374 pre-C99 compatibility.
48375 * manual/string.texi (Copying and Concatenation): Use va_copy
48376 instead of __va_copy in concat example.
48377
48378 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48379
48380 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48381 (__sendto): Use create_address_port. Initialize APORT and deallocate
48382 it if not null.
48383
48384 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48385 with O_NOLINK passed to __file_name_lookup.
48386
48387 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48388 with O_NOLINK passed to __file_name_lookup.
48389
48390 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48391 negative N or less than NGIDS.
48392
48393 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48394 type to string_t. Set ERANGE as errno and return it if NAME is not big
48395 enough. Use memcpy instead of strncpy.
48396
48397 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48398
48399 * elf/Makefile (check-data): Remove.
48400 (localplt.data): New vpath directive.
48401 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48402 instead of $(check-data).
48403 * scripts/data/localplt-generic.data: Move to ...
48404 * sysdeps/generic/localplt.data: ... here.
48405 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48406 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48407 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48409 ... here.
48410 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48412 ... here.
48413 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48415 ... here.
48416 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48418 ... here.
48419 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48421 ... here.
48422 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48424 ... here.
48425
48426 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48427
48428 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48429 PPC32 and PPC64 files.
48430 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48431 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48432
48433 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48434
48435 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48436 __makecontext_ret to ...
48437 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48438 ... here and call exit if uc_link is NULL. New file.
48439 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48440 __makecontext_ret.S.
48441 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48442 __makecontext_ret to ...
48443 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48444 ... here and call exit if uc_link is NULL. New file.
48445 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48446 __makecontext_ret.S.
48447
48448 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48449
48450 * elf/elf.h (R_390_IRELATIVE): New definition.
48451 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48452 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48453 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48454 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48455 (elf_machine_lazy_rel): Likewise.
48456 * sysdeps/s390/dl-irel.h: New file.
48457 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48458 * sysdeps/s390/s390-64/memset.S: New asm code.
48459 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48460 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48461 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48462 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48463 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48464 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48465 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48466 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48467 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48468 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48469 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48470 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48471 * sysdeps/s390/s390-32/memset.S: New asm code.
48472 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48473
48474 2012-07-17 Marek Polacek <polacek@redhat.com>
48475
48476 [BZ #14349]
48477 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48478 * sysdeps/s390/s390-64/configure.in: Likewise.
48479 * sysdeps/sparc/configure.in: Likewise.
48480 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48481 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48482 * sysdeps/i386/configure.in: Likewise.
48483 * sysdeps/x86_64/configure.in: Likewise.
48484 * sysdeps/sh/configure.in: Likewise.
48485 * sysdeps/s390/s390-32/configure: Regenerated.
48486 * sysdeps/s390/s390-64/configure: Likewise.
48487 * sysdeps/x86_64/configure: Likewise.
48488 * sysdeps/sh/configure: Likewise.
48489 * sysdeps/powerpc/powerpc64/configure: Likewise.
48490 * sysdeps/powerpc/powerpc32/configure: Likewise.
48491 * sysdeps/sparc/configure: Likwise.
48492 * sysdeps/i386/configure: Likewise.
48493
48494 * elf/dl-open.c: Comment fixes.
48495
48496 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48497
48498 * Makefile [CXX] (check-data): Remove.
48499 [CXX] (c++-types.data): New vpath directive.
48500 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48501 vpath. Do not allow for C++ type data being missing.
48502 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48503 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48504 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48505 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48506 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48507 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48508 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48510 ... here.
48511 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48513 ... here.
48514 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48516 ... here.
48517 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48519 ... here.
48520 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48522 ... here.
48523 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48525 ... here.
48526 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48528 ... here.
48529 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48531
48532 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48533 definitions to architecture-specific files.
48534 (TLS_IE): Likewise.
48535 (TLS_LD): Likewise.
48536 (TLS_GD): Likewise.
48537 * sysdeps/i386/tls-macros.h: New file.
48538 * sysdeps/powerpc/tls-macros.h: Likewise.
48539 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48540 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48541 * sysdeps/sh/tls-macros.h: Likewise.
48542 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48543 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48544 * sysdeps/x86_64/tls-macros.h: Likewise.
48545
48546 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48547
48548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48549 zero value for regular exit case.
48550
48551 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48552 (__start_context): Preserve zero value for regular exit case.
48553
48554 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48555 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48556
48557 * manual/setjmp.texi (setcontext): Clarify normal process
48558 termination when uc_link is the null pointer.
48559 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48560 exit call.
48561
48562 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48563
48564 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48565 preprocessor. Test for each exception mask separately.
48566
48567 2012-07-16 Andreas Jaeger <aj@suse.de>
48568
48569 * po/ru.po: Update from translation team.
48570
48571 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48572
48573 * conform/data/string.h-data (NULL): Use macro-constant. Require
48574 equal to 0.
48575 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48576 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48577 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48578 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48580
48581 2012-07-13 Andreas Jaeger <aj@suse.de>
48582
48583 * po/fr.po: Update from translation team.
48584
48585 2012-07-12 Marek Polacek <polacek@redhat.com>
48586
48587 [BZ #14173]
48588 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48589 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48590 loop condition.
48591
48592 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48593
48594 [BZ #13717]
48595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48596 Change to 2.4.1 where previously 2.4.0.
48597 * sysdeps/unix/sysv/linux/configure: Regenerated.
48598 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48599 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48600 version.
48601 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48602 (__ASSUME_AT_CLKTCK): Remove.
48603 (__ASSUME_AT_PAGESIZE): Likewise.
48604 (__ASSUME_AT_XID): Likewise.
48605 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48606 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48607 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48608 unconditionally.
48609 (HAVE_AUX_PAGESIZE): Likewise.
48610 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48611 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48612 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48613
48614 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48615
48616 [BZ #14307]
48617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48618 the temporary buffer used to invoke __gethostbyname2_r,
48619 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48620 host_data / struct gaih_addrtuple.
48621 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48622 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48623 header file nss/nsswitch.h.
48624 * nss/nsswitch.h (global scope): Add definition of implementation
48625 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48626 resolv/nss_dns/dns-host.c).
48627
48628 2012-07-11 Andreas Jaeger <aj@suse.de>
48629
48630 * po/fr.po: Update from translation team.
48631
48632 * po/sv.po: Update from translation team
48633 * po/fr.po: Another update from translation team.
48634
48635 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48636
48637 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48638 for subnormals or multiply small sinh result by itself.
48639 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48641
48642 2012-07-11 David S. Miller <davem@davemloft.net>
48643
48644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48645
48646 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48647
48648 [BZ #14347]
48649 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48650 (INTERNAL_MARK): Shift it here.
48651
48652 2012-07-10 Marek Polacek <polacek@redhat.com>
48653
48654 [BZ #14151]
48655 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48656 libc_cv_asm_global_directive with .globl.
48657 * configure: Regenerated.
48658 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48659 with .globl.
48660 * sysdeps/i386/configure: Regenerated.
48661 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48662 with .globl.
48663 * sysdeps/x86_64/configure: Regenerated.
48664 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48665 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48666 * elf/tst-unique2mod2.c: Likewise.
48667 * elf/tst-unique2mod1.c: Likewise.
48668 * elf/tst-unique1mod2.c: Likewise.
48669 * elf/tst-unique1mod1.c: Likewise.
48670 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48671 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48673 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48674 * sysdeps/mach/sysdep.h: Likewise.
48675 * sysdeps/i386/sysdep.h: Likewise.
48676 * sysdeps/i386/i386-mcount.S: Likewise.
48677 * sysdeps/x86_64/_mcount.S: Likewise.
48678 * sysdeps/x86_64/sysdep.h: Likewise.
48679 * sysdeps/sh/_mcount.S: Likewise.
48680 * sysdeps/sh/sysdep.h: Likewise.
48681 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48682 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48683 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48684 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48685 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48686 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48687 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48688 * locale/localeinfo.h: Likewise.
48689 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48690 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48691
48692 2012-07-09 Roland McGrath <roland@hack.frob.com>
48693
48694 [BZ #14336]
48695 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48696 system".
48697 * manual/message.texi (The Uniforum approach): Likewise.
48698 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48699 (glibc iconv Implementation): Likewise.
48700
48701 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48702
48703 [BZ #14337]
48704 * math/s_clog.c (__clog): Avoid scaling a value down where that
48705 could result in underflow.
48706 * math/s_clog10.c (__clog10): Likewise.
48707 * math/s_clog10f.c (__clog10f): Likewise.
48708 * math/s_clog10l.c (__clog10l): Likewise.
48709 * math/s_clogf.c (__clogf): Likewise.
48710 * math/s_clogl.c (__clogl): Likewise.
48711 * math/libm-test.inc (clog_test): Add more tests.
48712 (clog10_test): Likewise.
48713 * sysdeps/i386/fpu/libm-test-ulps: Update.
48714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48715
48716 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48717
48718 [BZ #14283]
48719 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48720 by 7 not 8 to examine high bit of fractional part.
48721
48722 [BZ #14042]
48723 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48724 for call to __mcount_internal.
48725 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48726 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48727 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48728
48729 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48730
48731 [BZ #14154]
48732 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48733 approximation for values within 0x1p-13f of an odd multiple of
48734 pi/4.
48735 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48736 exception. Add more tests.
48737 * sysdeps/i386/fpu/libm-test-ulps: Update.
48738
48739 [BZ #6778]
48740 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48741 inputs and return -1 for them. Do not check for +Inf in case not
48742 reachable for +Inf.
48743 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48744 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48745 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48746 and return -1 for them. Do not check for +Inf in case not
48747 reachable for +Inf.
48748 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48749 define.
48750 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48751 and return -1 for them. Do not check for +Inf in case not
48752 reachable for +Inf.
48753 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48754 spurious underflow.
48755 * sysdeps/i386/fpu/libm-test-ulps: Update.
48756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48757
48758 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48759
48760 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48761
48762 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48763
48764 [BZ #14157]
48765 [BZ #14331]
48766 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48767 could result in spurious underflow. Scale down values above
48768 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48769 * math/s_csqrtf.c (__csqrtf): Likewise.
48770 * math/s_csqrtl.c (__csqrtl): Likewise.
48771 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48772 spurious underflow.
48773 * sysdeps/i386/fpu/libm-test-ulps: Update.
48774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48775
48776 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48777
48778 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48779 xopen-msg.sed.
48780 * catgets/xopen-msg.awk: New file.
48781 * catgets/xopen-msg.sed: Removed.
48782
48783 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48784 po2text.sed.
48785 * intl/po2test.awk: New file.
48786 * intl/po2test.sed: Removed.
48787
48788 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48789
48790 [BZ #14328]
48791 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48792 or multiply small sinh result by itself.
48793 * math/s_ctanf.c (__ctanf): Likewise.
48794 * math/s_ctanh.c (__ctanh): Likewise.
48795 * math/s_ctanhf.c (__ctanhf): Likewise.
48796 * math/s_ctanhl.c (__ctanhl): Likewise.
48797 * math/s_ctanl.c (__ctanl): Likewise.
48798 * math/libm-test.inc (ctan_test_tonearest): New function.
48799 (ctan_test_towardzero): Likewise.
48800 (ctan_test_downward): Likewise.
48801 (ctan_test_upward): Likewise.
48802 (ctanh_test_tonearest): Likewise.
48803 (ctanh_test_towardzero): Likewise.
48804 (ctanh_test_downward): Likewise.
48805 (ctanh_test_upward): Likewise.
48806 (main): Call these new functions.
48807 * sysdeps/i386/fpu/libm-test-ulps: Update.
48808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48809
48810 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48811
48812 * .gitignore: Delete /ports entry.
48813
48814 2012-07-03 Andreas Jaeger <aj@suse.de>
48815
48816 * po/bg.po: Update from translation team.
48817 * po/cs.po: Likewise.
48818 * po/de.po: Likewise.
48819 * po/hr.po: Likewise.
48820 * po/nl.pl: Likewise.
48821 * po/pl.po: Likewise.
48822 * po/vi.po: Likewise.
48823
48824 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48825
48826 * Makeconfig [!+link] (+link-before-libc): New variable.
48827 [!+link] (+link-after-libc): Likewise.
48828 [!+link] (+link-tests): Likewise.
48829 [!+link] (+link): Define in terms of $(+link-before-libc) and
48830 $(+link-after-libc).
48831 [!+link-static] (+link-static-before-libc): New variable.
48832 [!+link-static] (+link-static-after-libc): Likewise.
48833 [!+link-static] (+link-static-tests): Likewise.
48834 [!+link-static] (+link-static): Define in terms of
48835 $(+link-static-before-libc) and $(+link-static-after-libc).
48836 [build-shared] (link-libc-before-gnulib): New variable.
48837 [build-shared] (link-libc-tests): Likewise.
48838 [build-shared] (link-libc): Define in terms of
48839 $(link-libc-before-gnulib).
48840 [!build-shared] (link-libc-tests): New variable.
48841 (link-libc-static-tests): New variable.
48842 [!gnulib] (gnulib-arch): New variable.
48843 [!gnulib] (gnulib-tests): Likewise.
48844 [!gnulib] (static-gnulib-arch): Likewise.
48845 [!gnulib] (static-gnulib-tests): Likewise.
48846 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48847 Define with "=" instead of ":=".
48848 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48849 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48850 * Rules (binaries-all-notests): New variable.
48851 (binaries-all-tests): Likewise.
48852 (binaries-static-notests): Likewise.
48853 (binaries-static-tests): Likewise.
48854 (binaries-all): Define using $(binaries-all-notests) and
48855 $(binaries-all-tests).
48856 (binaries-static): Define using $(binaries-static-notests) and
48857 $(binaries-static-tests).
48858 (binaries-shared-tests): New variable.
48859 (binaries-shared-notests): Likewise.
48860 (binaries-shared): Remove variable.
48861 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48862 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48863 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48864 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48865 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48866 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48867 * elf/Makefile (sln-modules): New variable.
48868 (extra-objs): Add $(sln-modules:=.o).
48869 (ldconfig-modules): Add static-stubs.
48870 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48871 * elf/static-stubs.c: New file.
48872
48873 [BZ #14283]
48874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48875 by 7 not 8 to examine high bit of fractional part. Use volatile
48876 variables when splitting into final array of floats if
48877 __FLT_EVAL_METHOD__ != 0.
48878 * math/libm-test.inc (cos_test): Add another test.
48879 (sin_test): Likewise.
48880 * sysdeps/i386/fpu/libm-test-ulps: Update.
48881
48882 [BZ #14273]
48883 * math/libm-test.inc (cosh_test): Add more tests.
48884
48885 * version.h (RELEASE): Set to "development".
48886 (VERSION): Set to "2.16.90".
48887
48888 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48889
48890 * NEWS: Update copyright. Remove last-updated date.
48891 Mention math library bug fixes and timezone data changes.
48892 * README: Mention GNU/Hurd, x32, and HPPA support status.
48893
48894 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48895
48896 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48897
48898 2012-06-27 Andreas Jaeger <aj@suse.de>
48899
48900 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48901
48902 2012-06-25 Andreas Jaeger <aj@suse.de>
48903
48904 * sysdeps/s390/fpu/libm-test-ulps: Update.
48905
48906 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48907 Thomas Schwinge <thomas@codesourcery.com>
48908
48909 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48910 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48912 fanotify_mark.
48913
48914 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48915
48916 * sysdeps/mach/start.c: Remove file.
48917 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48918 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48919 * sysdeps/sh/init-first.c: Likewise.
48920
48921 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48922 registers for frame unwinding purposes, add CFI directives.
48923 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48924 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48925 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48926 Likewise.
48927
48928 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48929 __fortify_fail returning.
48930 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48931
48932 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48933 sysdeps/sh/____longjmp_chk.S.
48934 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48935 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48936 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48937 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48938
48939 * sysdeps/sh/abort-instr.h: New file.
48940 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48941 process in case exit returns.
48942
48943 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48944 initialize the GOT register before use.
48945
48946 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48947 calculation of ARGC > 4.
48948
48949 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48950 meaningful names to some local labels.
48951
48952 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48953 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48954
48955 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48956 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48957 (__arch_compare_and_exchange_val_16_acq): Likewise.
48958 (__arch_compare_and_exchange_val_32_acq): Likewise.
48959 (atomic_exchange_and_add): Fix gUSA sequence.
48960 (atomic_add): Likewise.
48961 (atomic_add_negative): Likewise.
48962 (atomic_add_zero): Likewise.
48963 (atomic_bit_test_set): Likewise.
48964
48965 2012-06-22 Andreas Schwab <schwab@redhat.com>
48966
48967 [BZ #13579]
48968 * include/link.h (struct link_map): Add l_free_initfini.
48969 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48970 l_initfini.
48971 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48972 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48973 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48974 set.
48975
48976 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48977
48978 * configure.in: Use AC_LANG_SOURCE.
48979 * configure: Regenerate.
48980
48981 2012-06-22 Roland McGrath <roland@hack.frob.com>
48982
48983 * configure.in (libc_cv_localstatedir): New substituted variable.
48984 * configure: Regenerated.
48985 * config.make.in (localstatedir): New variable, substituted from
48986 libc_cv_localstatedir.
48987 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48988 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48989 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48990 * sysdeps/gnu/configure: Regenerated.
48991
48992 2012-06-21 Jeff Law <law@redhat.com>
48993
48994 [BZ #14277]
48995 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48996 free. Simplify list management for _LIBC case.
48997
48998 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48999
49000 [BZ #14273]
49001 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49002 Clear sign bit of 64-bit integer value before comparing against
49003 overflow value.
49004
49005 * sysdeps/mach/configure: Regenerated.
49006
49007 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49008
49009 [BZ #14278]
49010 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49011
49012 2012-06-21 Jeff Law <law@redhat.com>
49013
49014 [BZ #13882]
49015 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49016 uint16_t for elements in the "seen" array to avoid char overflows.
49017 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49018 * elf/dl-open.c (dl_open_worker): Likewise.
49019
49020 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49021
49022 * scripts/list-sources.sh: Scan PORTS for translations.
49023 * po/libc.pot: Regenerated.
49024
49025 2012-06-21 Andreas Jaeger <aj@suse.de>
49026
49027 [BZ #12194]
49028 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49029 warning.
49030 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49031 * bits/byteswap-16.h (__bswap_16): Likewise.
49032 * bits/byteswap.h (__bswap_constant_16): Likewise.
49033
49034 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49035
49036 [BZ #14117]
49037 * sysdeps/i386/fpu_control.h: Removed.
49038 * sysdeps/x86_64/fpu_control.h: Moved to ...
49039 * sysdeps/x86/fpu_control.h: Here.
49040
49041 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49042 (_FPU_SETCW): Likewise.
49043
49044 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49045
49046 [BZ #14117]
49047 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49048 * sysdeps/x86/fpu/bits/mathinline.h: This.
49049 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49050
49051 [BZ #14050]
49052 [BZ #14117]
49053 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49054 functions if __x86_64__ is defined.
49055
49056 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49057
49058 * string/endian.h: Add !__ASSEMBLER__ condition for including
49059 conversion interfaces.
49060
49061 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49062
49063 [BZ #14241]
49064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49065 of ABS(x) in calculating zero to negative powers other than odd
49066 integers.
49067 * math/libm-test.inc (pow_test): Add more tests.
49068
49069 2012-06-15 Andreas Jaeger <aj@suse.de>
49070
49071 * manual/contrib.texi (Contributors): Update entry of Liubov
49072 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49073 Machado Filho.
49074
49075 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49076
49077 * string/string.h: Add __wur to GNU version of strerror_r.
49078
49079 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49080
49081 [BZ #14229]
49082 * string/Makefile (tests): Add tst-strtok_r.
49083 * string/tst-strtok_r.c: New file.
49084 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49085 RAX_LP/RDX_LP on SAVE_PTR.
49086
49087 2012-06-14 Roland McGrath <roland@hack.frob.com>
49088
49089 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49090
49091 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49092
49093 * libm_test.inc (csqrt_test): Allow more spurious underflow
49094 exceptions.
49095 (j0_test): Likewise.
49096 (j1_test): Likewise.
49097 (y0_test): Likewise.
49098 (y1_test): Likewise.
49099
49100 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49101
49102 * po/Makefile (libc.pot): Use UTF-8 charset.
49103
49104 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49105
49106 [BZ #14210]
49107 Suppress sign-conversion warning from FD_SET.
49108 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49109 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49110 not unsigned long int.
49111 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49112
49113 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49114
49115 [BZ #14050]
49116 [BZ #14117]
49117 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49118 __extern_always_inline instead of __extern_inline.
49119 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49120 (__signbit): Likewise.
49121 (__signbitl): Support C++ namespace.
49122 (lrintf): New inline function.
49123 (lrint): Likewise.
49124 (llrintf): Likewise.
49125 (llrint): Likewise.
49126 (fmaxf): Likewise.
49127 (fmax): Likewise.
49128 (fminf): Likewise.
49129 (fmin): Likewise.
49130 (rint): Likewise.
49131 (rintf): Likewise.
49132 (ceil): Likewise.
49133 (ceilf): Likewise.
49134 (floor): Likewise.
49135 (floorf): Likewise.
49136 (nearbyint): Likewise.
49137 (nearbyintf): Likewise.
49138
49139 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49140
49141 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49142 non-default versions.
49143
49144 2012-06-11 Roland McGrath <roland@hack.frob.com>
49145
49146 [BZ #14218]
49147 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49148
49149 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49150
49151 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49152 (FE_UPWARD, FE_DOWNWARD): Don't define.
49153 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49154 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49155
49156 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49157 reading it.
49158 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49159 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49160
49161 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49162
49163 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49165 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49166 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49167
49168 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49169
49170 [BZ #14117]
49171 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49172 * sysdeps/i386/fpu/Implies: New file.
49173 * sysdeps/x86_64/fpu/Implies: Likewise.
49174 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49175 * sysdeps/x86/fpu/bits/fenv.h: This.
49176
49177 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49178 __SSE_MATH__.
49179
49180 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49181
49182 [BZ #14134]
49183 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49184 character 0xffff that matches the last element of the
49185 conversion table.
49186
49187 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49188
49189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49190 fmodl commit.
49191
49192 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49193
49194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49195 values higher than 25.6283.
49196
49197 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49198
49199 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49200 subnormal exponent extraction and add some __builtin_expect.
49201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49202 Fix for subnormal mantissa calculation.
49203
49204 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49205
49206 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49207 cpu2 is -1 and errno is not ENOSYS.
49208
49209 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49210
49211 [BZ #14117]
49212 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49213 * sysdeps/x86/bits/string.h: This.
49214 * sysdeps/x86_64/bits/string.h: Removed.
49215
49216 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49217 if not compiling for x86-64, but compiling for >= i486.
49218
49219 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49220 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49221
49222 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49223 New macro from Linux kernel 3.4.0.
49224 (FP_XSTATE_MAGIC2): Likewise.
49225 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49226 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49227 (struct _fpx_sw_bytes): New struct.
49228 (struct _xsave_hdr): Likewise.
49229 (struct _ymmh_state): Likewise.
49230 (struct _xstate): Likewise.
49231
49232 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49233 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49234 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49235 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49236 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49237 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49238
49239 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49240 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49241 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49242 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49243 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49244 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49245
49246 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49247
49248 [BZ #13743]
49249 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49250 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49251 (sysdep_headers): Include sys/platform/ppc.h.
49252 * sysdeps/powerpc/test-gettimebase.c: Test for
49253 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49254 * manual/Makefile (appendices): Include platform.texi.
49255 * manual/contrib.texi (Contributors): Update @node pointers.
49256 * manual/maint.texi (Maintenance): Likewise.
49257 (Platform): New node.
49258 * manual/platform.texi: New file. Document the new features.
49259
49260 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49261 Jakub Jelinek <jakub@redhat.com>
49262
49263 [BZ #14188]
49264 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49265 where __builtin_expect is unavailable.
49266
49267 2012-06-03 David S. Miller <davem@davemloft.net>
49268
49269 * stdlib/longlong.h: Updated from GCC.
49270
49271 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49272
49273 [BZ #14042]
49274 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49275 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49276 __mcount_internal.
49277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49278 (GLIBC_2.16): Likewise.
49279
49280 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49281
49282 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49283
49284 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49285
49286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49287 (default-abi): New variable.
49288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49289 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49290 variable.
49291 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49292 Likewise.
49293 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49294 Likewise.
49295 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49296 Likewise.
49297
49298 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49299 definition. Document in comment.
49300
49301 2012-06-01 David S. Miller <davem@davemloft.net>
49302
49303 * stdlib/longlong.h: Updated from GCC.
49304
49305 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49306
49307 [BZ #14117]
49308 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49309 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49310 sys/debugreg.h sys/io.h here.
49311 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49312 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49313 sys/io.h.
49314 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49315 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49316 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49317 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49318 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49319 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49320
49321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49322 Define only if __x86_64__ is defined.
49323
49324 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49325
49326 [BZ #14048]
49327 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49328 Use int64_t for variable i.
49329 * math/libm-test.inc (fmod_test): Add more tests.
49330
49331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49332 z computation is not scheduled after fetestexcept.
49333 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49334 Use math_force_eval instead of asm to ensure calculation scheduled
49335 before exception test.
49336 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49337 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49338
49339 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49340
49341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49342 computation is not scheduled after fetestexcept.
49343
49344 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49345
49346 [BZ #14117]
49347 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49348 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49349
49350 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49351
49352 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49353 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49354
49355 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49356
49357 [BZ #14117]
49358 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49359 <bits/wordsize.h>.
49360 (__WCHAR_MIN): Support __WORDSIZE == 64.
49361 (__WCHAR_MAX): Likewise.
49362
49363 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49364 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49365
49366 [BZ #14183]
49367 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49368 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49369
49370 [BZ #14117]
49371 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49372 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49373
49374 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49375 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49376
49377 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49378 Defined to 1 if __x86_64__ isn't defined.
49379 (_STAT_VER_LINUX_OLD): New.
49380 (st_atime): Remove duplicate.
49381 (st_mtime): Likewise.
49382 (st_ctime): Likewise.
49383
49384 2012-05-31 David S. Miller <davem@davemloft.net>
49385
49386 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49387 entries.
49388
49389 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49390
49391 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49392 gen-libm-test.pl.
49393
49394 [BZ #14132]
49395 * elf/dl-reloc.c: Include <_itoa.h>.
49396 (_dl_reloc_bad_type): Remove use of INTUSE.
49397 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49398 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49399 * stdio-common/psiginfo.c (psiginfo): Likewise.
49400 * stdio-common/psignal.c (psignal): Likewise.
49401 * string/strsignal.c (strsignal): Likewise.
49402 * include/signal.h (_sys_siglist): Declare hidden proto.
49403 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49404 INTVARDEF with libc_hidden_data_def.
49405 * stdio-common/itoa-udigits.c: Likewise.
49406 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49407 (_itoa_lower_digits_internal): Remove declaration.
49408 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49409 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49410 (_sys_sigabbrev_internal): Remove aliases.
49411 (_sys_siglist): Define hidden alias.
49412
49413 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49414
49415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49416 bits/sysctl.h.
49417
49418 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49419
49420 [BZ #14117]
49421 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49422 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49423
49424 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49425 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49426 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49427 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49429 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49430
49431 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49432 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49433 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49434
49435 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49436 with __addr.
49437 (insw): Likewise.
49438 (insl): Likewise.
49439 (outsb): Likewise.
49440 (outsw): Likewise.
49441 (outsl): Likewise.
49442
49443 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49444 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49445 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49446
49447 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49448 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49449 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49450 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49451 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49452 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49453
49454 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49455 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49456
49457 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49458 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49459
49460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49462 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49463
49464 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49465 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49466 to ...
49467 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49468
49469 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49470 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49471 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49472
49473 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49474 for x86-64.
49475 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49476
49477 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49478
49479 * math/math.h (M_El): Use two more decimal places.
49480 (M_LOG2El): Likewise.
49481 (M_LOG10El): Likewise.
49482 (M_LN2l): Likewise.
49483 (M_LN10l): Likewise.
49484 (M_PIl): Likewise.
49485 (M_PI_2l): Likewise.
49486 (M_PI_4l): Likewise.
49487 (M_1_PIl): Likewise.
49488 (M_2_PIl): Likewise.
49489 (M_2_SQRTPIl): Likewise.
49490 (M_SQRT2l): Likewise.
49491 (M_SQRT1_2l): Likewise.
49492
49493 2012-05-31 David S. Miller <davem@davemloft.net>
49494
49495 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49496 values between float registers.
49497 * sysdeps/sparc/sparc64/memset.S: Likewise.
49498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49499
49500 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49501
49502 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49503 -D_FORTIFY_SOURCE=1.
49504 (CPPFLAGS-tst-longjmp_chk.c): Define.
49505 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49506 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49507 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49508 CFLAGS-tst-wchar-h.c.
49509
49510 2012-05-31 Marek Polacek <polacek@redhat.com>
49511
49512 [BZ #14132]
49513 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49514 __endmntent_internal): Remove declaration.
49515 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49516 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49517 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49518
49519 2012-05-30 David S. Miller <davem@davemloft.net>
49520
49521 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49522 (___Q_simulate_exceptions): Use real FP ops rather than writing
49523 into the %fsr.
49524 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49525 Likewise.
49526
49527 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49528
49529 [BZ #14117]
49530 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49531 * sysdeps/x86/bits/xtitypes.h: This.
49532
49533 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49534 * sysdeps/x86/bits/wordsize.h: This.
49535
49536 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49537 * sysdeps/x86/bits/huge_vall.h: This.
49538
49539 * sysdeps/i386/bits/select.h: Removed.
49540 * sysdeps/x86_64/bits/select.h: Renamed to ...
49541 * sysdeps/x86/bits/select.h: This.
49542
49543 * sysdeps/i386/bits/setjmp.h: Removed.
49544 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49545 * sysdeps/x86/bits/setjmp.h: This.
49546
49547 * sysdeps/i386/bits/mathdef.h: Removed.
49548 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49549 * sysdeps/x86/bits/mathdef.h: This.
49550
49551 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49552
49553 [BZ #14132]
49554 * include/sys/socket.h (__connect_internal)
49555 (__libc_sa_len_internal): Remove declaration.
49556 (__connect, __libc_sa_len): Declare hidden_proto.
49557 (SA_LEN): Remove use of INTUSE.
49558 * socket/connect.c: Add libc_hidden_def.
49559 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49560 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49561 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49562 alias.
49563 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49564 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49565 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49566 of adding _internal alias.
49567
49568 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49569
49570 [BZ #14117]
49571 * sysdeps/i386/bits/link.h: Removed.
49572 * sysdeps/i386/bits/linkmap.h: Likewise.
49573 * sysdeps/x86_64/bits/link.h: Renamed to ...
49574 * sysdeps/x86/bits/link.h: This.
49575 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49576 * sysdeps/x86/bits/linkmap.h: This.
49577
49578 * sysdeps/i386/bits/endian.h: Removed.
49579 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49580 * sysdeps/x86/bits/endian.h: This.
49581
49582 * sysdeps/i386/bits/byteswap.h: Removed.
49583 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49584 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49585 * sysdeps/x86/bits/byteswap.h: This.
49586 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49587 * sysdeps/x86/bits/byteswap-16.h: This.
49588 * sysdeps/i386/Implies: Add x86.
49589 * sysdeps/x86_64/Implies: Likewise.
49590
49591 2012-05-30 David S. Miller <davem@davemloft.net>
49592
49593 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49594 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49595 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49596 (FP_TRAPPING_EXCEPTIONS): Define.
49597 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49598 (FP_TRAPPING_EXCEPTIONS): Define.
49599 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49600 subnormals only when inexact has been signalled or underflow
49601 exceptions are enabled.
49602 (_FP_PACK_CANONICAL): Likewise.
49603
49604 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49605
49606 [BZ #14183]
49607 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49608 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49609
49610 2012-05-30 Richard Henderson <rth@twiddle.net>
49611
49612 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49613 with #ifndef NOT_IN_libc.
49614
49615 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49616 marked to avoid plt entry.
49617
49618 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49619
49620 [BZ #14112]
49621 * Makeconfig (default-abi): New macro.
49622 (abi-includes): Likewise.
49623 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49624 $(abi-$(default-abi)-lib-soname) for soname if defined.
49625 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49626 abi-variants.
49627 * Makefile (installed-stubs): Likewise.
49628 * include/stubs-biarch.h: Removed.
49629 * scripts/lib-names.awk: Only handle one library at a time.
49630 * scripts/soversions.awk: Remove WORDSIZE support.
49631 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49632 entries.
49633 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49634 Removed.
49635 (syscall-list-default-condition): Likewise.
49636 (syscall-list-default-condition): Likewise.
49637 (syscall-list-includes): Likewise.
49638 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49639 syscall-list-* with abi-*. Handle undefined abi-variants.
49640 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49641 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49642 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49643 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49644 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49645 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49646 Removed.
49647 (syscall-list-32-options): Likewise.
49648 (syscall-list-32-condition): Likewise.
49649 (syscall-list-64-options): Likewise.
49650 (syscall-list-64-condition): Likewise.
49651 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49652 macro.
49653 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49654 Renamed to ...
49655 (abi-*): This.
49656 (abi-64-ld-soname): New macro.
49657 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49658 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49659 Renamed to ...
49660 (abi-*): This.
49661 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49662 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49663
49664 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49665
49666 * sysdeps/unix/sysv/linux/kernel-features.h
49667 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49668 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49669 include <kernel-features.h>.
49670 [!__NR_ftruncate64]: Remove conditional code.
49671 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49672 [__NR_ftruncate64]: Make code unconditional.
49673 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49674 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49675 include <kernel-features.h>.
49676 [!__NR_ftruncate64]: Remove conditional code.
49677 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49678 [__NR_ftruncate64]: Make code unconditional.
49679 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49681 include <kernel-features.h>.
49682 [!__NR_ftruncate64]: Remove conditional code.
49683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49684 [__NR_ftruncate64]: Make code unconditional.
49685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49687 include <kernel-features.h>.
49688 [!__NR_ftruncate64]: Remove conditional code.
49689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49690 [__NR_ftruncate64]: Make code unconditional.
49691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49692
49693 * configure.in (libc_cv_fpie): Weaken to a compile test using
49694 LIBC_TRY_CC_OPTION.
49695 * configure: Regenerated.
49696
49697 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49698
49699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49703 Refreshed.
49704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49710 Refreshed.
49711
49712 2012-05-27 David S. Miller <davem@davemloft.net>
49713
49714 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49715 (___Q_zero): New.
49716 (__Q_simulate_exceptions): Return void. Change to simulate
49717 exceptions by writing into the %fsr.
49718 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49719 (__Qp_handle_exceptions): Likewise.
49720 (numbers): Delete.
49721 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49722 __Qp_handle_exceptions.
49723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49724 __Qp_handle_exceptions.
49725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49726 as unused and give dummy FP_RND_NEAREST initializer.
49727 (FP_INHIBIT_RESULTS): Define.
49728 (___Q_simulate_exceptions): Update declaration.
49729 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49730 formatting.
49731 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49732 as unused and give dummy FP_RND_NEAREST initializer.
49733 (__Qp_handle_exceptions): Update declaration.
49734 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49735 formatting.
49736
49737 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49738
49739 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49740 the temporary FPU control word.
49741 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49742 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49743 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49744 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49745 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49746 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49747 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49748 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49749 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49750 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49751 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49752
49753 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49754
49755 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49756 fields.
49757
49758 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49759
49760 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49761 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49762 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49763 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49764 Likewise.
49765 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49766 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49767 Likewise.
49768
49769 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49770
49771 * po/h.po: Update from translation team.
49772
49773 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49774
49775 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49776
49777 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49778 handling of denormals.
49779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49780 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49781 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49782 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49784 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49786 Likewise.
49787
49788 2012-05-26 Marek Polacek <polacek@redhat.com>
49789
49790 [BZ #14152]
49791 * math/libm-test.inc (fma_test): Don't always expect underflow
49792 exception.
49793
49794 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49795
49796 [BZ #12416]
49797 * elf/tst-execstack.c: Include stackinfo.h.
49798 (do_test): Adjust test case to ensure that pthread_getattr_np
49799 behaviour remains the same after marking stack executable.
49800
49801 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49802
49803 * sysdeps/unix/sysv/linux/kernel-features.h
49804 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49805 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49806 kernel-features.h.
49807 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49808 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49809 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49810 kernel-features.h.
49811 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49812 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49813
49814 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49815
49816 * configure.in: Define the default includes to being none.
49817 * configure: Regenerated.
49818
49819 2012-05-25 Roland McGrath <roland@hack.frob.com>
49820
49821 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49822 * sysdeps/x86_64/setjmp.S: Likewise.
49823 * sysdeps/i386/bsd-setjmp.S: Likewise.
49824 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49825 * sysdeps/i386/setjmp.S: Likewise.
49826 * sysdeps/i386/__longjmp.S: Likewise.
49827 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49828 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49829
49830 * include/stap-probe.h: New file.
49831 * configure.in: Handle --enable-systemtap.
49832 * configure: Regenerated.
49833 * config.h.in (USE_STAP_PROBE): New #undef.
49834 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49835 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49836 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49837
49838 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49839
49840 [BZ #13717]
49841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49842 to 2.4.0 where earlier.
49843 * sysdeps/unix/sysv/linux/configure: Regenerated.
49844 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49845 <kernel-features.h>.
49846 [__ASSUME_32BITUIDS]: Make code unconditional.
49847 [!__ASSUME_32BITUIDS]: Remove conditional code.
49848 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49849 <kernel-features.h>.
49850 [__ASSUME_32BITUIDS]: Make code unconditional.
49851 [!__ASSUME_32BITUIDS]: Remove conditional code.
49852 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49853 [__ASSUME_32BITUIDS]: Make code unconditional.
49854 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49855 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49856 <kernel-features.h>.
49857 [__ASSUME_32BITUIDS]: Make code unconditional.
49858 [!__ASSUME_32BITUIDS]: Remove conditional code.
49859 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49860 <kernel-features.h>.
49861 [__ASSUME_32BITUIDS]: Make code unconditional.
49862 [!__ASSUME_32BITUIDS]: Remove conditional code.
49863 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49864 <kernel-features.h>.
49865 [__ASSUME_32BITUIDS]: Make code unconditional.
49866 [!__ASSUME_32BITUIDS]: Remove conditional code.
49867 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49868 <kernel-features.h>.
49869 [__ASSUME_32BITUIDS]: Make code unconditional.
49870 [!__ASSUME_32BITUIDS]: Remove conditional code.
49871 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49872 <kernel-features.h>.
49873 [__ASSUME_32BITUIDS]: Make code unconditional.
49874 [!__ASSUME_32BITUIDS]: Remove conditional code.
49875 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49876 <kernel-features.h>.
49877 [__ASSUME_32BITUIDS]: Make code unconditional.
49878 [!__ASSUME_32BITUIDS]: Remove conditional code.
49879 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49880 <kernel-features.h>.
49881 [__ASSUME_32BITUIDS]: Make code unconditional.
49882 [!__ASSUME_32BITUIDS]: Remove conditional code.
49883 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49884 <kernel-features.h>.
49885 [__ASSUME_32BITUIDS]: Make code unconditional.
49886 [!__ASSUME_32BITUIDS]: Remove conditional code.
49887 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49888 <kernel-features.h>.
49889 [__ASSUME_32BITUIDS]: Make code unconditional.
49890 [!__ASSUME_32BITUIDS]: Remove conditional code.
49891 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49892 <kernel-features.h>.
49893 [__ASSUME_32BITUIDS]: Make code unconditional.
49894 [!__ASSUME_32BITUIDS]: Remove conditional code.
49895 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49896 <kernel-features.h>.
49897 [__NR_setresgid] (__setresgid): Do not declare.
49898 [__ASSUME_32BITUIDS]: Make code unconditional.
49899 [!__ASSUME_32BITUIDS]: Remove conditional code.
49900 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49901 <kernel-features.h>.
49902 [__NR_setresuid] (__setresuid): Do not declare.
49903 [__ASSUME_32BITUIDS]: Make code unconditional.
49904 [!__ASSUME_32BITUIDS]: Remove conditional code.
49905 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49906 <kernel-features.h>.
49907 [__ASSUME_32BITUIDS]: Make code unconditional.
49908 [!__ASSUME_32BITUIDS]: Remove conditional code.
49909 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49910 <kernel-features.h>.
49911 [__ASSUME_32BITUIDS]: Make code unconditional.
49912 [!__ASSUME_32BITUIDS]: Remove conditional code.
49913 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49914 <kernel-features.h>.
49915 [__ASSUME_32BITUIDS]: Make code unconditional.
49916 [!__ASSUME_32BITUIDS]: Remove conditional code.
49917 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49918 <kernel-features.h>.
49919 [__ASSUME_32BITUIDS]: Make code unconditional.
49920 [!__ASSUME_32BITUIDS]: Remove conditional code.
49921 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49922 <kernel-features.h>.
49923 [__ASSUME_32BITUIDS]: Make code unconditional.
49924 [!__ASSUME_32BITUIDS]: Remove conditional code.
49925 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49926 <kernel-features.h>.
49927 [__ASSUME_32BITUIDS]: Make code unconditional.
49928 [!__ASSUME_32BITUIDS]: Remove conditional code.
49929 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49930 <kernel-features.h>.
49931 [__ASSUME_32BITUIDS]: Make code unconditional.
49932 [!__ASSUME_32BITUIDS]: Remove conditional code.
49933 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49934 <kernel-features.h>.
49935 [__ASSUME_32BITUIDS]: Make code unconditional.
49936 [!__ASSUME_32BITUIDS]: Remove conditional code.
49937 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49938 <kernel-features.h>.
49939 [__ASSUME_32BITUIDS]: Make code unconditional.
49940 [!__ASSUME_32BITUIDS]: Remove conditional code.
49941 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49942 <kernel-features.h>.
49943 [__ASSUME_32BITUIDS]: Make code unconditional.
49944 [!__ASSUME_32BITUIDS]: Remove conditional code.
49945 * sysdeps/unix/sysv/linux/kernel-features.h
49946 (__ASSUME_SETRESUID_SYSCALL): Remove.
49947 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49948 (__ASSUME_32BITUIDS): Likewise.
49949 (__ASSUME_LDT_WORKS): Likewise.
49950 (__ASSUME_O_DIRECTORY): Likewise.
49951 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49952 architecture but not kernel version.
49953 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49954 (__ASSUME_MMAP2_SYSCALL): Likewise.
49955 (__ASSUME_STAT64_SYSCALL): Likewise.
49956 (__ASSUME_IPC64): Likewise.
49957 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49958 <kernel-features.h>.
49959 [__ASSUME_32BITUIDS]: Make code unconditional.
49960 [!__ASSUME_32BITUIDS]: Remove conditional code.
49961 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49962 <kernel-features.h>.
49963 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49964 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49965 132096]: Remove conditional code.
49966 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49967 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49968 <kernel-features.h>.
49969 [__ASSUME_32BITUIDS]: Make code unconditional.
49970 [!__ASSUME_32BITUIDS]: Remove conditional code.
49971 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49972 <kernel-features.h>.
49973 [__ASSUME_32BITUIDS]: Make code unconditional.
49974 [!__ASSUME_32BITUIDS]: Remove conditional code.
49975 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49976 <kernel-features.h>.
49977 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49978 unconditional.
49979 (__setresgid): Do not declare.
49980 [__ASSUME_32BITUIDS]: Make code unconditional.
49981 [!__ASSUME_32BITUIDS]: Remove conditional code.
49982 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49983 <kernel-features.h>.
49984 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49985 unconditional.
49986 (__setresuid): Do not declare.
49987 [__ASSUME_32BITUIDS]: Make code unconditional.
49988 [!__ASSUME_32BITUIDS]: Remove conditional code.
49989 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49990 <kernel-features.h>.
49991 [__ASSUME_32BITUIDS]: Make code unconditional.
49992 [!__ASSUME_32BITUIDS]: Remove conditional code.
49993 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49994 <kernel-features.h>.
49995 [__ASSUME_32BITUIDS]: Make code unconditional.
49996 [!__ASSUME_32BITUIDS]: Remove conditional code.
49997
49998 2012-05-25 Richard Henderson <rth@twiddle.net>
49999
50000 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50001 dl_hwcap to ifunc resolver.
50002 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50003 elf_ifunc_invoke.
50004 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50005 dl_hwcap to ifunc resolver.
50006 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50007
50008 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50009
50010 [BZ #14153]
50011 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50012 for |x| <= 2**-26, not 2**-57.
50013 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50014 exception.
50015
50016 2012-05-24 Jeff Law <law@redhat.com>
50017
50018 * stdio-common/Makefile (tests): Add bug25.
50019 * stdio-common/bug25.c: New test.
50020
50021 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50022
50023 [BZ #13576]
50024 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50025 multiple of MALLOC_ALIGNMENT in size.
50026 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50027
50028 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50029
50030 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50031 Require >= 256.
50032 (FILENAME_MAX): Use macro-int-constant.
50033 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50034 (_IOFBF): Use macro-int-constant.
50035 (_IOLBF): Likewise.
50036 (_IONBF): Likewise.
50037 (SEEK_CUR): Likewise.
50038 (SEEK_END): Likewise.
50039 (SEEK_SET): Likewise.
50040 (TMP_MAX): Likewise.
50041 (EOF): Use macro-int-constant. Require < 0.
50042 (NULL): Use macro-constant. Require == 0.
50043 (stdin): Require type to be FILE *.
50044 (stdout): Likewise.
50045 (stderr): Likewise.
50046 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50047 macro-int-constant.
50048 (EXIT_SUCCESS): Likewise.
50049 (NULL): Use macro-constant. Require == 0.
50050 (RAND_MAX): Use macro-int-constant.
50051 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50052 [C99-based standards] (strtof): Require function.
50053 [C99-based standards] (strtold): Likewise.
50054 [C99-based standards] (strtoll): Likewise.
50055 [C99-based standards] (strtoull): Likewise.
50056 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50057 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50058 [ISO || ISO99 || ISO11] (math.h): Likewise.
50059 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50060 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50062
50063 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50064
50065 [BZ #14132]
50066 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50067 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50068 * intl/dgettext.c (DCGETTEXT): Likewise.
50069 * intl/gettext.c (DCGETTEXT): Likewise.
50070 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50071 * posix/regex_internal.h (gettext): Likewise.
50072 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50073 Remove declaration.
50074 * include/argz.h (__argz_count_internal)
50075 (__argz_stringify_internal): Remove declaration.
50076 (__argz_count, __argz_stringify): Declare hidden proto.
50077 * intl/dcgettext.c: Remove use of INTDEF.
50078 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50079 * string/argz-stringify.c: Likewise.
50080 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50081 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50082 Declare hidden proto.
50083 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50084 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50085 Declare hidden proto.
50086 * include/stdio.h (__asprintf_internal): Don't declare.
50087 (__asprintf): Don't define as macro. Declare hidden proto.
50088 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50089 (__fsetlocking): Declare hidden proto.
50090 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50091 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50092 hidden proto.
50093 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50094 (_IO_setlinebuf): Remove use of INTUSE.
50095 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50096 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50097 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50098 Remove declaration.
50099 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50100 (_IO_do_flush): Remove use of INTUSE.
50101 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50102 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50103 (_IO_adjust_column, _IO_least_wmarker)
50104 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50105 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50106 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50107 (_IO_default_doallocate, _IO_wdefault_doallocate)
50108 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50109 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50110 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50111 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50112 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50113 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50114 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50115 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50116 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50117 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50118 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50119 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50120 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50121 proto.
50122 (_IO_flush_all_internal, _IO_adjust_column_internal)
50123 (_IO_default_uflow_internal, _IO_default_finish_internal)
50124 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50125 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50126 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50127 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50128 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50129 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50130 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50131 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50132 (_IO_file_close_internal, _IO_file_close_it_internal)
50133 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50134 (_IO_file_init_internal, _IO_file_attach_internal)
50135 (_IO_file_fopen_internal, _IO_file_read_internal)
50136 (_IO_file_sync_internal, _IO_file_seek_internal)
50137 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50138 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50139 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50140 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50141 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50142 (_IO_list_all_internal, _IO_link_in_internal)
50143 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50144 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50145 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50146 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50147 (_IO_do_write_internal, _IO_padn_internal)
50148 (_IO_getline_info_internal, _IO_getline_internal)
50149 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50150 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50151 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50152 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50153 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50154 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50155 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50156 with libc_hidden_ver, remove use of INTUSE.
50157 * libio/genops.c: Likewise.
50158 * libio/freopen.c: Likewise.
50159 * libio/freopen64.c: Likewise.
50160 * libio/iofclose.c: Likewise.
50161 * libio/iofdopen.c: Likewise.
50162 * libio/iofflush.c: Likewise.
50163 * libio/iofflush_u.c: Likewise.
50164 * libio/iofgets.c: Likewise.
50165 * libio/iofgets_u.c: Likewise.
50166 * libio/iofopen.c: Likewise.
50167 * libio/iofopncook.c: Likewise.
50168 * libio/iofread.c: Likewise.
50169 * libio/iofread_u.c: Likewise.
50170 * libio/ioftell.c: Likewise.
50171 * libio/iofwrite.c: Likewise.
50172 * libio/iogetline.c: Likewise.
50173 * libio/iogets.c: Likewise.
50174 * libio/iogetwline.c: Likewise.
50175 * libio/iopadn.c: Likewise.
50176 * libio/iopopen.c: Likewise.
50177 * libio/ioseekoff.c: Likewise.
50178 * libio/ioseekpos.c: Likewise.
50179 * libio/iosetbuffer.c: Likewise.
50180 * libio/iosetvbuf.c: Likewise.
50181 * libio/ioungetc.c: Likewise.
50182 * libio/ioungetwc.c: Likewise.
50183 * libio/iovdprintf.c: Likewise.
50184 * libio/iovsprintf.c: Likewise.
50185 * libio/iovsscanf.c: Likewise.
50186 * libio/memstream.c: Likewise.
50187 * libio/obprintf.c: Likewise.
50188 * libio/oldfileops.c: Likewise.
50189 * libio/oldiofclose.c: Likewise.
50190 * libio/oldiofdopen.c: Likewise.
50191 * libio/oldiofopen.c: Likewise.
50192 * libio/oldiopopen.c: Likewise.
50193 * libio/oldstdfiles.c: Likewise.
50194 * libio/putc.c: Likewise.
50195 * libio/setbuf.c: Likewise.
50196 * libio/setlinebuf.c: Likewise.
50197 * libio/stdfiles.c: Likewise.
50198 * libio/strops.c: Likewise.
50199 * libio/vasprintf.c: Likewise.
50200 * libio/vscanf.c: Likewise.
50201 * libio/vsnprintf.c: Likewise.
50202 * libio/vswprintf.c: Likewise.
50203 * libio/wfiledoalloc.c: Likewise.
50204 * libio/wfileops.c: Likewise.
50205 * libio/wgenops.c: Likewise.
50206 * libio/wmemstream.c: Likewise.
50207 * libio/wstrops.c: Likewise.
50208 * libio/__fpurge.c: Likewise.
50209 * libio/__fsetlocking.c: Likewise.
50210 * assert/assert.c: Likewise.
50211 * debug/fgets_chk.c: Likewise.
50212 * debug/fgets_u_chk.c: Likewise.
50213 * debug/fread_chk.c: Likewise.
50214 * debug/fread_u_chk.c: Likewise.
50215 * debug/gets_chk.c: Likewise.
50216 * debug/obprintf_chk.c: Likewise.
50217 * debug/vasprintf_chk.c: Likewise.
50218 * debug/vdprintf_chk.c: Likewise.
50219 * debug/vsnprintf_chk.c: Likewise.
50220 * debug/vsprintf_chk.c: Likewise.
50221 * malloc/mtrace.c: Likewise.
50222 * misc/error.c: Likewise.
50223 * misc/syslog.c: Likewise.
50224 * stdio-common/asprintf.c: Likewise.
50225 * stdio-common/fxprintf.c: Likewise.
50226 * stdio-common/getw.c: Likewise.
50227 * stdio-common/isoc99_fscanf.c: Likewise.
50228 * stdio-common/isoc99_scanf.c: Likewise.
50229 * stdio-common/isoc99_vfscanf.c: Likewise.
50230 * stdio-common/isoc99_vscanf.c: Likewise.
50231 * stdio-common/isoc99_vsscanf.c: Likewise.
50232 * stdio-common/printf-prs.c: Likewise.
50233 * stdio-common/printf_fp.c: Likewise.
50234 * stdio-common/printf_fphex.c: Likewise.
50235 * stdio-common/printf_size.c: Likewise.
50236 * stdio-common/putw.c: Likewise.
50237 * stdio-common/scanf.c: Likewise.
50238 * stdio-common/sprintf.c: Likewise.
50239 * stdio-common/tmpfile.c: Likewise.
50240 * stdio-common/vfprintf.c: Likewise.
50241 * stdio-common/vfscanf.c: Likewise.
50242 * stdlib/strfmon_l.c: Likewise.
50243 * sunrpc/openchild.c: Likewise.
50244 * sunrpc/xdr_stdio.c: Likewise.
50245 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50246 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50247
50248 2012-05-24 Roland McGrath <roland@hack.frob.com>
50249
50250 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50251
50252 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50253 in the third column, to generate for the shared library an IFUNC
50254 that uses _dl_vdso_vsym.
50255 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50256 * Makeconfig (object-suffixes-noshared): New variable.
50257
50258 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50259 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50260 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50261 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50262
50263 [BZ #14132]
50264 * include/sys/time.h (__gettimeofday): Remove macro.
50265 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50266 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50267 Remove INTDEF.
50268 (__gettimeofday): Add libc_hidden_def.
50269 (gettimeofday): Add libc_hidden_weak.
50270 * sysdeps/mach/gettimeofday.c: Likewise.
50271 * sysdeps/posix/gettimeofday.c: Likewise.
50272 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50273 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50275 (__gettimeofday_internal): Remove strong_alias.
50276 (__gettimeofday): Add libc_hidden_def.
50277 (gettimeofday): Add libc_hidden_weak.
50278 * sysdeps/unix/syscalls.list (gettimeofday):
50279 Remove __gettimeofday_internal alias.
50280
50281 2012-05-24 Daniel Jacobowitz <drow@false.org>
50282 H.J. Lu <hongjiu.lu@intel.com>
50283
50284 [BZ #12495]
50285 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50286 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50287 (largebin_index_32_big): New.
50288 (largebin_index): Use it for 16-byte alignment.
50289 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50290 correction with front_misalign.
50291
50292 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50293
50294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50296 Likewise.
50297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50298 Likewise.
50299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50300 Likewise.
50301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50302 Likewise.
50303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50304 Likewise.
50305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50306 Likewise.
50307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50308 Likewise.
50309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50310 Likewise.
50311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50312 Likewise.
50313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50314 Likewise.
50315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50316 Likewise.
50317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50318 Likewise.
50319
50320 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50321 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50322
50323 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50324
50325 [BZ #10846]
50326 [BZ #14036]
50327 * math/libm-test.inc (exp_test): Add test from bug 14036.
50328 (pow_test): Add test from bug 10846.
50329
50330 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50331 and other flags.
50332 (special_function): Do not include flags in test name.
50333 (parse_args): Likewise.
50334 * sysdeps/i386/fpu/libm-test-ulps: Update.
50335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50336 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50337 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50339
50340 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50341 exceptions.
50342 * math/libm-test.inc ("Philosophy"): Update comment about
50343 exception testing.
50344 (UNDERFLOW_EXCEPTION): New macro.
50345 (UNDERFLOW_EXCEPTION_OK): Likewise.
50346 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50347 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50348 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50349 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50350 (INVALID_EXCEPTION_OK): Update value.
50351 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50352 (OVERFLOW_EXCEPTION_OK): Likewise.
50353 (IGNORE_ZERO_INF_SIGN): Likewise.
50354 (test_exceptions): Handle underflow exceptions.
50355 (acos_test): Update for underflow exception expectations.
50356 (cexp_test): Likewise.
50357 (clog_test): Likewise.
50358 (clog10_test): Likewise.
50359 (csqrt_test): Likewise.
50360 (ctan_test): Likewise.
50361 (ctanh_test): Likewise.
50362 (exp_test): Likewise.
50363 (exp10_test): Likewise.
50364 (exp2_test): Likewise.
50365 (expm1_test): Likewise.
50366 (fma_test): Likewise.
50367 (j0_test): Likewise.
50368 (jn_test): Likewise.
50369 (nexttoward_test): Likewise.
50370 (pow_test): Likewise.
50371 (scalbn_test): Likewise.
50372 (scalbln_test): Likewise.
50373 (tan_test): Likewise.
50374 (y1_test): Likewise.
50375 * sysdeps/i386/fpu/libm-test-ulps: Update.
50376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50377
50378 2012-05-23 David S. Miller <davem@davemloft.net>
50379
50380 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50381 (__libc_sigaction): Remove unused local variables.
50382
50383 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50384
50385 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50386
50387 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50388
50389 mktime: avoid signed integer overflow
50390 * time/mktime.c (__mktime_internal): Do not mishandle the case
50391 where diff == INT_MIN.
50392
50393 mktime: simplify computation of average
50394 * time/mktime.c (ranged_convert): Use new time_t_avg function
50395 instead of rolling our own (probably-slower) code.
50396
50397 mktime: do not assume signed right shift propagates sign bit
50398 * time/mktime.c (isdst_differ): New static function.
50399 (__mktime_internal): No need to normalize tm_isdst now.
50400 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50401 tm_isdst values.
50402
50403 mktime: merge another wrapv change from gnulib
50404 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50405 from some compilers.
50406
50407 mktime: remove incorrect attempt at unusual arithmetics
50408 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50409 The code didn't really work on such machines anyway.
50410 (TYPE_MINIMUM): Assume two's complement.
50411 (twos_complement_arithmetic): Verify that long_int and time_t
50412 are two's complement (or unsigned, in the latter case).
50413
50414 mktime: check signed shifts on long_int and time_t, too
50415 * time/mktime.c (SHR): Check that shifts work as desired
50416 on the types long_int and time_t too, as SHR is used on
50417 such types.
50418
50419 mktime: do not assume 'long' is wide enough
50420 * time/mktime.c (verify): Move decl up.
50421 (long_int): New type.
50422 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50423 to remove assumption in the code that 'long' is wide enough to
50424 store year values. This assumption is not true on x32 and on
50425 some non-glibc platforms.
50426
50427 mktime: merge wrapv change from gnulib
50428 * time/mktime.c (WRAPV): New macro.
50429 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50430 (guess_time_tm, __mktime_internal): Do not assume that signed
50431 integer overflow wraps around; modern compilers generate code
50432 where this assumption is no longer valid.
50433
50434 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50435
50436 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50437 Replace "jmp L(pseudo_end)" with "ret".
50438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50439 Likewise.
50440
50441 2012-05-23 Andreas Jaeger <aj@suse.de>
50442
50443 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50444 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50445
50446 2012-05-23 Andreas Jaeger <aj@suse.de>
50447 Maximilian Attems <max@stro.at>
50448
50449 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50450 New macros.
50451
50452 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50453
50454 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50455 code so that pseudo_end is just ret and the stack pointer is
50456 correct also for static library in error case.
50457
50458 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50459
50460 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50461 move to syscalls.list.
50462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50466
50467 * manual/install.texi (Running make install): Do not mention Linux
50468 kernel version for which pt_chown is not needed.
50469 (Linux): Do not mention problems with nscd with 2.0 kernels.
50470 * INSTALL: Regenerated.
50471
50472 2012-05-23 Andreas Jaeger <aj@suse.de>
50473
50474 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50475 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50476 macro.
50477 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50479 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50481 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50484 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50485 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50486 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50487 * sysdeps/unix/sysv/linux/bits/in.h
50488 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50489
50490 2012-05-22 Roland McGrath <roland@hack.frob.com>
50491
50492 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50493 (PREPARE_VERSION): Just use assert instead, it will be elided
50494 under [NDEBUG] anyway.
50495
50496 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50497
50498 * sysdeps/unix/sysv/linux/Makefile: Include
50499 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50500 (sysdep_routines): Remove sysctl.
50501 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50502 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50503 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50504 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50505 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50506
50507 2012-05-22 Andreas Jaeger <aj@suse.de>
50508
50509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50510 that pseudo_end is just ret and the stack pointer is correct also
50511 for static library in error case.
50512
50513 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50514
50515 [BZ #14122]
50516 * nss/nsswitch.c (defconfig_entries): New variable.
50517 (__nss_database_lookup): Don't leak defconfig entries.
50518 (nss_parse_service_list): Don't leak on error paths.
50519 (free_database_entries): New function.
50520 (free_defconfig): New function.
50521 (free_mem): Move common code to free_database_entries.
50522
50523 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50524
50525 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50526 Add arch_prctl.
50527 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50528
50529 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50530 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50532 New macro.
50533 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50534 (INTERNAL_SYSCALL_TYPES): Likewise.
50535 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50536 (LOAD_REGS_TYPES_[1-6]): Likewise.
50537 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50538 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50539
50540 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50541
50542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50543 copysignl for GLIBC_2_0.
50544 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50545 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50547 logbl for GLIBC_2_0.
50548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50549 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50550
50551 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50552
50553 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50554 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50555
50556 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50557 Use "neg %eax".
50558
50559 * time/mktime.c: Update copyright years.
50560
50561 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50562
50563 mktime: merge comment-quoting-style change from gnulib
50564 * time/mktime.c: Quote 'like this' in comments.
50565 The GNU coding standards suggest that we no longer quote `like this',
50566 as "`" and "'" are typically rendered asymmetrically nowadays.
50567 The typical gnulib style is to quote 'like this' when quoting
50568 code, and "like this" when quoting English.
50569
50570 * time/mktime.c (compile-command): Add "-I.".
50571
50572 mktime: merge mktime-internal.h change from gnulib
50573 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50574
50575 mktime: merge time_r change from gnulib
50576 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50577
50578 mktime: merge DEBUG change from gnulib
50579 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50580 case system <time.h> has a #define.
50581
50582 mktime: merge <sys/types.h> change from gnulib
50583 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50584 since <time.t> is now guaranteed to define time_t.
50585
50586 mktime: merge HAVE_CONFIG_H change from gnulib
50587 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50588
50589 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50590
50591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50592 Use "neg %eax".
50593
50594 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50595 __rlim_t cast.
50596 (struct rusage): Use anonymous union to pad each field to
50597 __syscall_slong_t.
50598
50599 2012-05-21 David S. Miller <davem@davemloft.net>
50600
50601 * Makefules (o-iterator): Remove .s cases.
50602 (compile-command.s): Delete.
50603 (COMPILE.s): Delete.
50604 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50605
50606 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50607
50608 * configure.in (libc_cv_predef_stack_protector): Only consider
50609 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50610 * configure: Regenerated.
50611
50612 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50613
50614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50615 New macro. Use R*LP on int and pointer.
50616 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50617 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50618 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50619 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50620
50621 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50622 [__WORDSIZE_TIME64_COMPAT32] instead of
50623 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50624 (struct utmp): Likewise.
50625 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50626 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50627 Renamed to ...
50628 (__WORDSIZE_TIME64_COMPAT32): This.
50629 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50630 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50631 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50632 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50634 (__WORDSIZE_TIME64_COMPAT32): New macro.
50635
50636 2012-05-21 Andreas Jaeger <aj@suse.de>
50637
50638 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50639 only if [SHARED]. Add prototype for __wcschr_ia32.
50640
50641 2012-05-21 Roland McGrath <roland@hack.frob.com>
50642
50643 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50644 of %rbp unmolested in the jmp_buf while mangling the low bits.
50645 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50646 unmolested high bits of %rbp while demangling the low bits.
50647 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50648
50649 2012-05-21 Andreas Jaeger <aj@suse.de>
50650
50651 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50652 * sunrpc/svc_simple.c: Use it for registerrpc.
50653 * sunrpc/xcrypt.c: Use it for passwd2des.
50654
50655 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50656
50657 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50658
50659 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50660 Don't define if [__SYSCALL_WORDSIZE != 32].
50661 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50662 New macro.
50663
50664 2012-05-21 Bruno Haible <bruno@clisp.org>
50665 Andreas Jaeger <aj@suse.de>
50666
50667 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50668 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50669 inptr and inend for must_buffer_ch.
50670 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50671 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50672 * stdio-common/Makefile (tests): Remove bug15.
50673 (bug15-ENV): Remove macro.
50674 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50675 anymore.
50676
50677 2012-05-19 Andreas Jaeger <aj@suse.de>
50678 Roland McGrath <roland@hack.frob.com>
50679
50680 * manual/contrib.texi: Completely rewritten. It contains now an
50681 alphabetical list of contributors and their contributions.
50682
50683 2012-05-21 Richard Henderson <rth@twiddle.net>
50684
50685 * misc/getauxval.c (__getauxval): Use unsigned long int.
50686 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50687 (getauxval): Use unsigned long int.
50688
50689 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50690
50691 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50692
50693 2012-05-21 Roland McGrath <roland@hack.frob.com>
50694
50695 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50696 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50697 __alignof__ (long double).
50698
50699 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50700
50701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50702
50703 2012-05-20 Richard Henderson <rth@twiddle.net>
50704
50705 * misc/getauxval.c: New file.
50706 * misc/sys/auxv.h: New file.
50707 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50708 (routines): Add getauxval.
50709 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50710 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50711 * elf/dl-sysdep.c (_dl_auxv): Remove.
50712 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50713 * elf/dl-support.c (_dl_auxv): New variable.
50714 (_dl_aux_init): Initialize it.
50715 * manual/startup.texi (Auxiliary Vector): New node.
50716 * sysdeps/generic/bits/hwcap.h: New file.
50717 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50718 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50719 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50720 * sysdeps/sparc/sysdep.h: ... here. Include it.
50721 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50724 Update.
50725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50733
50734 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50735
50736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50737
50738 2012-05-19 David S. Miller <davem@davemloft.net>
50739
50740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50741
50742 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50743
50744 [BZ #14123]
50745 * math/s_ccosh.c: Include <float.h>
50746 (__ccosh): Avoid internal overflow calculating sinh and cosh
50747 values before multiplying by sin and cos values.
50748 * math/s_ccoshf.c: Likewise.
50749 * math/s_ccoshl.c: Likewise.
50750 * math/s_csin.c: Likewise.
50751 * math/s_csinf.c: Likewise.
50752 * math/s_csinl.c: Likewise.
50753 * math/s_csinh.c: Likewise.
50754 * math/s_csinhf.c: Likewise.
50755 * math/s_csinhl.c: Likewise.
50756 * math/libm-test.inc (ccos_test): Add more tests.
50757 (ccosh_test): Likewise.
50758 (csin_test): Likewise.
50759 (csinh_test): Likewise.
50760 * sysdeps/i386/fpu/libm-test-ulps: Update.
50761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50762
50763 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50764
50765 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50766 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50767
50768 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50769
50770 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50771
50772 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50773 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50774 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50775 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50776 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50777 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50778 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50779 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50780 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50781 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50782 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50783 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50784 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50785 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50786 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50787 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50788 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50789 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50790 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50791 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50792 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50793 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50794 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50795 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50796 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50797 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50798 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50799 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50800 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50801 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50802 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50803
50804 2012-05-18 Andreas Jaeger <aj@suse.de>
50805
50806 * csu/.gitignore: Delete.
50807
50808 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50809
50810 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50811 (timex): Use __syscall_slong_t.
50812
50813 2012-05-18 Andreas Jaeger <aj@suse.de>
50814 Carlos O'Donell <carlos_odonell@mentor.com>
50815
50816 * manual/install.texi (Configuring and compiling): Update
50817 description about files modified in the source directory.
50818 * INSTALL: Regenerated.
50819
50820 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50821
50822 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50823 value. Use "or" to set return value to -1.
50824 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50825 negate return value.
50826
50827 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50828
50829 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50830 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50831 failure if the compiler has Graphite support disabled.
50832 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50833 Likewise.
50834 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50835 (CFLAGS-memmove.c): Likewise.
50836 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50837 Likewise.
50838
50839 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50840
50841 * sysdeps/x86_64/x32/_itoa.h: New file.
50842
50843 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50844 getdents system call only if kernel and user dirents have the
50845 same d_ino and d_off.
50846
50847 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50848 LLONG_MAX != LONG_MAX.
50849 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50850 (_fitoa_word): Likewise.
50851
50852 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50853 years.
50854 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50855 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50856 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50857
50858 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50859 include <bits/wordsize.h>. Check __x86_64__ instead of
50860 __WORDSIZE.
50861 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50862 if __x86_64__ is defined. Use anonymous union on fpstate.
50863
50864 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50865 anonymous union.
50866
50867 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50868
50869 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50870 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50871 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50872 Refer to _rtld_local_ro instead of _rtld_global_ro.
50873 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50874 Likewise.
50875 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50876 Likewise.
50877 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50878 Likewise.
50879 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50880 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50881 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50882
50883 [BZ #10882]
50884 * sysdeps/powerpc/powerpc32/dl-machine.c
50885 (__elf_machine_runtime_setup) [PROF]: Don't reference
50886 _dl_prof_resolve.
50887
50888 2012-05-18 Andreas Jaeger <aj@suse.de>
50889
50890 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50891 function only available for GCCs before 3.4 since GCC 3.4
50892 introduced a builtin.
50893 (lrint): Likewise.
50894 (llrintf): Likewise.
50895 (llrint): Likewise.
50896 (fmaxf): Likewise.
50897 (fmax): Likewise.
50898 (fminf): Likewise.
50899 (fmin): Likewise.
50900 (rint): Likewise.
50901 (rintf): Likewise.
50902 (nearbyint): Likewise.
50903 (nearbyintf): Likewise.
50904 (ceil): Likewise.
50905 (ceilf): Likewise.
50906 (floor): Likewise.
50907 (floorf): Likewise.
50908
50909 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50910
50911 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50912 on both fields and cast pointer to __syscall_ulong_t.
50913
50914 * bits/types.h (__fsword_t): New type.
50915 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50916 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50918 (__FSWORD_T_TYPE): Likewise.
50919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50920 (__FSWORD_T_TYPE): Likewise.
50921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50922 (__FSWORD_T_TYPE): Likewise.
50923 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50924 (__FSWORD_T_TYPE): Likewise.
50925 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50926 __SWORD_TYPE with __fsword_t.
50927 (statfs64): Likewise.
50928
50929 2012-05-17 David S. Miller <davem@davemloft.net>
50930
50931 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50932
50933 2012-05-17 Andreas Jaeger <aj@suse.de>
50934
50935 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50936 warning.
50937
50938 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50939
50940 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50941
50942 2012-05-17 Andreas Jaeger <aj@suse.de>
50943
50944 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50945 when it is used.
50946
50947 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50948
50949 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50950
50951 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50952
50953 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50954 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50955
50956 2012-05-17 Andreas Jaeger <aj@suse.de>
50957 Carlos O'Donell <carlos_odonell@mentor.com>
50958
50959 [BZ #14059]
50960 * sysdeps/x86_64/multiarch/init-arch.h
50961 (bit_YMM_Usable): Rename to...
50962 (bit_AVX_Usable): ... this.
50963 (bit_FMA4_Usable): New macro.
50964 (bit_XMM_state): New macro.
50965 (bit_YMM_state): New macro.
50966 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50967 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50968 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50969 (CPUID_OSXSAVE): New macro.
50970 (CPUID_AVX): New macro.
50971 (CPUID_FMA4): New macro.
50972 (index_YMM_Usable): Rename to...
50973 (index_AVX_Usable): ... this.
50974 (HAS_AVX): Use HAS_ARCH_FEATURE.
50975 (HAS_FMA4): Likewise.
50976 (HAS_YMM_USABLE): Remove.
50977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50978 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50979 are present.
50980 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50981 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50982 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50983 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50984 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50985
50986 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50987
50988 * math/libm-test.c: Support platforms without multiple rounding modes.
50989 * math/bug-nextafter.c: Support platforms without FP exceptions.
50990 * math/bug-nexttoward.c: Likewise.
50991 * math/test-fenv.c: Likewise.
50992 * math/test-misc.c: Likewise.
50993 * stdlib/bug-getcontext.c: Likewise.
50994
50995 2012-05-17 Andreas Jaeger <aj@suse.de>
50996
50997 * manual/examples/search.c (critter_cmp): Change signature to
50998 avoid warnings.
50999 * manual/string.texi (Collation Functions): Likewise.
51000
51001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51002
51003 * bits/types.h: Fold copyright years.
51004 * bits/typesizes.h: Likewise.
51005 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51009 * time/time.h: Likewise.
51010
51011 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51012
51013 [BZ #208]
51014 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51015 in instead of returning them. Return void.
51016 (__libc_mallinfo): Accumulate over all arenas.
51017 (__malloc_stats): Adjust for change in int_mallinfo interface.
51018
51019 2012-05-16 Roland McGrath <roland@hack.frob.com>
51020
51021 [BZ #10375]
51022 * configure.in (NM): Add AC_CHECK_TOOL for it.
51023 (libc_extra_cflags): New substituted variable.
51024 Check for -fstack-protector being used implicitly.
51025 * configure: Regenerated.
51026 * config.make.in (config-extra-cflags): New variable,
51027 gets @libc_extra_cflags@.
51028 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51029
51030 [BZ #10375]
51031 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51032 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51033 * configure: Regenerated.
51034 * config.make.in (CPPUNDEFS): New substituted variable.
51035 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51036 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51037 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51038
51039 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51040
51041 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51042 (mq_attr): Use __syscall_slong_t.
51043
51044 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51045
51046 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51047 Check __x86_64__ instead of __WORDSIZE.
51048 (_STAT_VER_LINUX): Likewise.
51049 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51050 __syscall_ulong_t and __syscall_slong_t.
51051 (stat64): Likewise.
51052
51053 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51054
51055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51056
51057 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51058
51059 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51060
51061 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51062
51063 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51064 __syscall_ulong_t.
51065
51066 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51067 include <bits/wordsize.h>. Check __x86_64__ instead of
51068 __WORDSIZE.
51069 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51070 defined.
51071 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51072
51073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51074 include <bits/wordsize.h>. Check __x86_64__ instead of
51075 __WORDSIZE.
51076 (user_regs_struct): Use "__extension__ unsigned long long"
51077 instead of "unsigned long" if __x86_64__ is defined.
51078 (user): Likewise. Pad after pointer field if __ILP32__ is
51079 defined.
51080
51081 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51082
51083 * configure.in (makeinfo): Require version 4.5 or later. Allow
51084 versions 5 to 9.
51085 * configure: Regenerated.
51086 * manual/install.texi (texinfo): Increase version requirement to
51087 4.5 or later.
51088 * INSTALL: Regenerated.
51089
51090 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51091
51092 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51093
51094 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51095
51096 * sysdeps/x86_64/x32/ffs.c: New file.
51097
51098 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51099 __syscall_ulong_t.
51100 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51101 defined. Use __syscall_ulong_t.
51102 (shminfo): Use __syscall_ulong_t.
51103 (shm_info): Likewise.
51104
51105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51106 __syscall_ulong_t.
51107
51108 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51109 <bits/wordsize.h>.
51110 (msgqnum_t): Use __syscall_ulong_t.
51111 (msglen_t): Likewise.
51112 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51113 __syscall_ulong_t.
51114
51115 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51116 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51117
51118 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51119
51120 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51121 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51122
51123 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51124 __syscall_slong_t.
51125
51126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51127 include <bits/wordsize.h>. Check __x86_64__ instead of
51128 __WORDSIZE.
51129
51130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51131 "unsigned long long int" if __x86_64__ is defined.
51132 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51133
51134 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51135 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51136 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51137
51138 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51139 <stdint.h>.
51140 (GET_PC): Cast to uintptr_t first.
51141 (GET_FRAME): Likewise.
51142 (GET_STACK): Likewise.
51143
51144 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51150 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51151 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51152 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51153 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51154 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51155 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51157 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51159 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51161 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51162 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51163 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51164 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51165 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51167 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51169 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51170 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51171 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51172 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51173
51174 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51175
51176 * Makerules (+depfiles): Also collect depfiles from .oS in
51177 $(extra-objs).
51178 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51179 .oS, $(libnldbl-routines)).
51180
51181 * Makerules (native-compile-mkdep-flags): Define.
51182 * sunrpc/Makefile (extra-objs): Add $(addprefix
51183 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51184 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51185 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51186 calling $(make-target-directory).
51187
51188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51189
51190 * bits/types.h (__snseconds_t): Removed.
51191 * time/time.h (struct timespec): Replace __snseconds_t with
51192 __syscall_slong_t.
51193 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51194 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51195 Likewise.
51196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51197 (__SNSECONDS_T_TYPE): Likewise.
51198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51199 (__SNSECONDS_T_TYPE): Likewise.
51200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51201 (__SNSECONDS_T_TYPE): Likewise.
51202
51203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51204
51205 * sysdeps/mach/hurd/bits/typesizes.h
51206 (__SYSCALL_SLONG_TYPE): New macro.
51207 (__SYSCALL_ULONG_TYPE): Likewise.
51208
51209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51210
51211 * bits/types.h (__syscall_slong_t): New type.
51212 (__syscall_ulong_t): Likewise.
51213
51214 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51215 (__SYSCALL_ULONG_TYPE): Likewise.
51216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51217 (__SYSCALL_SLONG_TYPE): Likewise.
51218 (__SYSCALL_ULONG_TYPE): Likewise.
51219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51220 (__SYSCALL_SLONG_TYPE): Likewise.
51221 (__SYSCALL_ULONG_TYPE): Likewise.
51222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51223 (__SYSCALL_SLONG_TYPE): Likewise.
51224 (__SYSCALL_ULONG_TYPE): Likewise.
51225
51226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51227
51228 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51229 Add sigaltstack-offsets.sym.
51230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51231 <sigaltstack-offsets.h>.
51232 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51233 longjmp_msg pointer.
51234 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51235 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51236 signal stack.
51237 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51238
51239 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51240
51241 * elf/stackguard-macros.h: Remove file.
51242 * sysdeps/generic/stackguard-macros.h: New file.
51243 * sysdeps/i386/stackguard-macros.h: Likewise.
51244 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51245 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51246 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51247 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51248 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51249 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51250 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51251 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51252 <elf/stackguard-macros.h>.
51253
51254 [BZ #14109]
51255 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51256 __aligned__ in attribute.
51257 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51258 (gregset_t): Likewise.
51259
51260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51261
51262 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51263 * sysdeps/x86_64/64/Implies-after: Here. New file.
51264 * sysdeps/x86_64/x32/Implies-after: New file.
51265
51266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51267
51268 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51269 and access return value for _dl_profile_fixup. Use R10_LP to
51270 load frame size.
51271
51272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51273
51274 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51275
51276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51277
51278 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51279 * sysdeps/x86_64/x32/sysdep.h: New file.
51280
51281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51282
51283 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51284 * sysdeps/x86_64/setjmp.S: Likewise.
51285
51286 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51287
51288 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51290 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51292 remove unused global constant.
51293
51294 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51295
51296 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51297 include of <not-cancel.h>.
51298
51299 2012-05-15 Roland McGrath <roland@hack.frob.com>
51300
51301 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51302
51303 2012-05-15 Jeff Law <law@redhat.com>
51304 Andreas Jaeger <aj@suse.de>
51305
51306 [BZ #13594]
51307 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51308 out from...
51309 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51310 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51311 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51312 code changing __hst_map_handle.map.
51313
51314 2012-05-15 Roland McGrath <roland@hack.frob.com>
51315
51316 * configure.in (sysnames): Look for Implies-before and Implies-after
51317 files.
51318 * configure: Regenerated.
51319
51320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51321
51322 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51323 8-byte data alignment with LP_SIZE alignment.
51324
51325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51326
51327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51328 into R10_LP.
51329
51330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51331
51332 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51333
51334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51335
51336 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51337 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51339 Likewise.
51340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51341
51342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51343
51344 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51345 (stackinfo_sub_sp): Likewise.
51346
51347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51348
51349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51350 RAX_LP.
51351
51352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51353
51354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51355 into R*_LP.
51356
51357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51358
51359 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51360 sizes into R*_LP.
51361
51362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51363
51364 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51365
51366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51367
51368 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51369 into R11_LP and load __x86_64_shared_cache_size_half into
51370 R8_LP.
51371
51372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51373
51374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51375 R8_LP.
51376
51377 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51378
51379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51380 logb for POWER7.
51381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51382 logbf for POWER7.
51383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51384 logbl for POWER7.
51385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51386 powerpc32/power7/fpu/s_logb.c via #include.
51387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51388 powerpc32/power7/fpu/s_logbf.c via #include.
51389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51390 powerpc32/power7/fpu/s_logbl.c via #include.
51391
51392 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51393
51394 * README.libm: Remove file.
51395
51396 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51397
51398 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51399 count for x32. Use R*_LP and omit operand-size suffix.
51400
51401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51402
51403 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51404 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51405 * sysdeps/x86_64/x32/shlib-versions: New file.
51406
51407 2012-05-14 Roland McGrath <roland@hack.frob.com>
51408
51409 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51410 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51411 Use _dl_fatal_printf instead.
51412
51413 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51414
51415 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51416 set if not set by the user. Do not allow for being unset.
51417 * sysdeps/unix/sysv/linux/configure: Regenerated.
51418
51419 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51420
51421 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51422 the `q' suffix from lea and replace .quad with ASM_ADDR.
51423
51424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51425
51426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51427 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51428 instead of $17.
51429 (PTR_DEMANGLE): Likewise.
51430
51431 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51432
51433 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51434 (LP_OP): Likewise.
51435 (ASM_ADDR): Likewise.
51436 (RAX_LP): Likewise.
51437 (RBP_LP): Likewise.
51438 (RBX_LP): Likewise.
51439 (RCX_LP): Likewise.
51440 (RDI_LP): Likewise.
51441 (RSI_LP): Likewise.
51442 (RSP_LP): Likewise.
51443 (R8_LP): Likewise.
51444 (R9_LP): Likewise.
51445 (R10_LP): Likewise.
51446 (R10_LP): Likewise.
51447 (R11_LP): Likewise.
51448 (R12_LP): Likewise.
51449 (R13_LP): Likewise.
51450 (R14_LP): Likewise.
51451 (R15_LP): Likewise.
51452
51453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51454
51455 * sysdeps/x86_64/x32/dl-machine.h: New file.
51456
51457 2012-05-14 Andreas Jaeger <aj@suse.de>
51458
51459 * manual/Makefile (subdir): Remove export of subdir.
51460 (all): Remove target.
51461 (.PHONY): Remove all from list.
51462 (mkinstalldirs): Remove.
51463 (.PHONY): Remove installdirs from list.
51464 ($(inst_infodir)/libc.info): Use make-target-directory.
51465 (installdirs): Remove.
51466 (subdir_%): Remove.
51467 (glibc-targets): Remove.
51468 (lib): Remove.
51469 (stubs): Remove.
51470 ($(objpfx)stubs ../po/manual.pot): Remove.
51471 ($(objpfx)stamp%): Remove.
51472 (make-target-directory): Remove.
51473 (subdir_install): Remove.
51474 (routines): Remove.
51475 (aux): Remove.
51476 (sources): Remove.
51477 (objects): Remove.
51478 (headers): Remove.
51479
51480 [BZ #13750]
51481 * manual/.gitignore: Remove, it's not needed anymore.
51482 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51483 all files in it.
51484 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51485 directory.
51486 (texis): Renamed to $(objpfx)texis.
51487 (texis-path): New, contains path to generated files.
51488 (chapters.%): Use texis-path for complete path, add extra argument
51489 libc-texinfo.sh.
51490 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51491 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51492 (summary,texi, stamp-summary): Use complete path of
51493 files. Generate files in build dir.
51494 (dir-add.texi): Build in build dir.
51495 (libm-err.texi,stamp-libm-err): Likewise.
51496 (version.texi, stamp-version): Likewise.
51497 (.%c.texi): Likewise.
51498 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51499 (mostlyclean): Remove target.
51500 (realclean): Remove target.
51501 (generated): Add new variable with contents from mostlyclean and
51502 realclean, remove entries duplicated in common-mostlyclean, add
51503 stamp-libm-err and stamp-version.
51504 (generated-dirs): Add libc directory.
51505 ($(inst_infodir)/libc.info): Install files from build dir.
51506
51507 * manual/install.texi (Configuring and compiling): Adjust since
51508 the info files are not part of the tar ball anymore.
51509
51510 2012-05-14 Andreas Jaeger <aj@suse.de>
51511
51512 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51513 variable.
51514
51515 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51516
51517 [BZ #13717]
51518 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51519 to 2.2.0 where earlier.
51520 * sysdeps/unix/sysv/linux/configure: Regenerated.
51521 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51522 Remove conditional code.
51523 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51524 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51525 Remove conditional code.
51526 [!__NR_lchown]: Likewise.
51527 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51528 [__NR_lchown]: Likewise.
51529 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51530 comment referencing __ASSUME_LCHOWN_SYSCALL.
51531 * sysdeps/unix/sysv/linux/i386/sigaction.c
51532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51534 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51535 Remove conditional code.
51536 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51537 (__protocol_available): Remove #if 0 code.
51538 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51539 conditional code.
51540 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51541 * sysdeps/unix/sysv/linux/kernel-features.h
51542 (__ASSUME_GETCWD_SYSCALL): Don't define.
51543 (__ASSUME_REALTIME_SIGNALS): Likewise.
51544 (__ASSUME_PREAD_SYSCALL): Likewise.
51545 (__ASSUME_PWRITE_SYSCALL): Likewise.
51546 (__ASSUME_POLL_SYSCALL): Likewise.
51547 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51548 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51549 non-SPARC.
51550 (__ASSUME_SIOCGIFNAME): Don't define.
51551 (__ASSUME_MSG_NOSIGNAL): Likewise.
51552 (__ASSUME_SENDFILE): Define unconditionally.
51553 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51554 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51555 conditional code.
51556 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51557 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51558 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51559 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51560 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51561 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51562 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51567 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51587 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51588 Remove conditional code.
51589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51590 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51591 Remove conditional code.
51592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51593 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51594 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51595 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51596 Remove conditional code.
51597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51598 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51599 Remove conditional code.
51600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51601 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51602 Remove conditional code.
51603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51604 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51605 Remove conditional code.
51606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51607 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51608 Remove conditional code.
51609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51610 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51613 * sysdeps/unix/sysv/linux/sigaction.c
51614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51616 * sysdeps/unix/sysv/linux/sigpending.c
51617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51619 * sysdeps/unix/sysv/linux/sigprocmask.c
51620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51622 * sysdeps/unix/sysv/linux/sigsuspend.c
51623 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51624 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51626 (__libc_missing_rt_sigs): Remove.
51627 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51628 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51629 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51630 Remove conditional code.
51631 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51632 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51633 return 1.
51634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51635 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51637 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51638
51639 2012-05-14 Andreas Jaeger <aj@suse.de>
51640
51641 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51642 it's not used in glibc.
51643 (__coshm1): Likewise.
51644 (__acosh1p): Likewise.
51645 (__sgn): Likewise.
51646
51647 * manual/string.texi (Copying and Concatenation): Add missing
51648 variable in concat example.
51649 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51650
51651 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51652
51653 [BZ #14103]
51654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51655 __builtin_clzl with __builtin_clzll.
51656
51657 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51658
51659 [BZ #14104]
51660 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51661 libc_freeres_ptr.
51662
51663 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51664
51665 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51666 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51667 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51668 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51669
51670 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51671
51672 * NEWS: Update ia64 info.
51673
51674 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51675
51676 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51677 used as bcopy.
51678
51679 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51680
51681 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51682 * sysdeps/unix/syscalls.list (dup3): Likewise.
51683 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51684 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51685
51686 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51687
51688 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51689 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51690
51691 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51692
51693 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51694 thread pointer.
51695 (TLS_IE): Use mov/add instead of movq/addq to load thread
51696 pointer.
51697 (TLS_GD_PREFIX): New.
51698 (TLS_GD): Use it.
51699
51700 2012-05-11 David S. Miller <davem@davemloft.net>
51701
51702 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51703 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51704 (_FPU_SETCW): Likewise.
51705
51706 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51707
51708 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51709 is 32-byte aligned.
51710
51711 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51712
51713 [BZ #11837]
51714 * iconvdata/gb18030.c: Update tables.
51715 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51716 characters specially.
51717 (BODY for TO_LOOP): Add encoding of missing ranges.
51718
51719 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51720
51721 [BZ #13673]
51722 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51723 * sysdeps/mach/hurd/dup3.c: Likewise.
51724 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51725 * sysdeps/powerpc/memmove.c:: Likewise.
51726
51727 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51728
51729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51730 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51731
51732 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51733
51734 * elf/elf.h (R_X86_64_RELATIVE64): New.
51735 (R_X86_64_NUM): Updated.
51736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51737 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51738 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51739 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51740 tst-quad1pie tst-quad2pie
51741 (modules-names): Add tst-quadmod1 tst-quadmod2.
51742 ($(objpfx)tst-quad1): New dependency.
51743 ($(objpfx)tst-quad2): Likewise.
51744 ($(objpfx)tst-quad1pie): Likewise.
51745 ($(objpfx)tst-quad2pie): Likewise.
51746 * sysdeps/x86_64/tst-quad1.c: New file.
51747 * sysdeps/x86_64/tst-quad1pie.c: New file.
51748 * sysdeps/x86_64/tst-quad2.c: Likewise.
51749 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51750 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51751 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51752 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51753 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51754
51755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51756
51757 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51758 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51759 * streams/stropts.h (t_scalar_t): Define type.
51760
51761 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51762 (_PATH_PRESERVE): Set to "/var/lib".
51763 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51764
51765 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51766 instead of int.
51767
51768 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51769 if __dir_mkfile succeeded.
51770
51771 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51772 checking for _hurd_dtablesize. Unlock it right after having
51773 finished _hurd_dtable allocation.
51774
51775 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51776
51777 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51778 * sysdeps/mach/hurd/configure: Regenerated.
51779 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51780 special-casing to...
51781 * sysdeps/gnu/configure.in: ... this new file.
51782 * sysdeps/unix/sysv/linux/configure: Regenerated.
51783 * sysdeps/gnu/configure: New generated file.
51784
51785 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51786 for Linux: use nsec instead of usec, as well as:
51787 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51788 members of type struct timespec.
51789 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51790 New macros.
51791 (struct stat64): Likewise.
51792 (_STATBUF_ST_NSEC): New macro.
51793 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51794
51795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51796 __strtoul_internal rather than strtoul.
51797
51798 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51799
51800 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51801 and reject them.
51802
51803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51804
51805 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51806 which preserves existing values.
51807 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51808
51809 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51810
51811 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51812 TIMEOUT values. Return EINVAL for NFDS values either negative or
51813 greater than FD_SETSIZE.
51814
51815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51816
51817 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51818 allocated, call __vm_protect to finish enabling the existing space, and
51819 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51820 allocate the remainder.
51821
51822 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51823
51824 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51825 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51826
51827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51828
51829 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51830 sysdeps/mach/hurd/readlink.c.
51831
51832 * posix/tst-sysconf.c (posix_options): Only use
51833 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51834 _POSIX_SYNCHRONIZED_IO when they are defined
51835 * sysdeps/mach/hurd/bits/posix_opt.h:
51836 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51837 (_XOPEN_REALTIME): Undefine macro.
51838 (_XOPEN_REALTIME_THREADS): Undefine macro.
51839 (_XOPEN_SHM): Undefine macro.
51840 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51841 macro to -1.
51842 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51843 macro to -1.
51844 (_POSIX_ASYNC_IO): Undefine macro.
51845 (_POSIX_PRIORITIZED_IO): Undefine macro.
51846 (_POSIX_SPIN_LOCKS): Define macro to -1.
51847
51848 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51849 SA_NODEFER, SA_RESETHAND.
51850 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51851 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51852 F_DUPFD_CLOEXEC.
51853
51854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51855
51856 * elf/Makefile (pldd-modules): Define unconditionally.
51857
51858 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51859
51860 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51861
51862 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51863
51864 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51865 Return ENOENT when name is empty.
51866 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51867
51868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51869
51870 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51871
51872 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51873
51874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51875
51876 Fix mlock in all cases except non-readable pages.
51877 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51878 instead of VM_PROT_ALL as parameter to __vm_wire function.
51879
51880 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51881 (__mkdir): When path is `/', just fail with EEXIST.
51882 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51883
51884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51885
51886 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51887 <sys/uio.h> (for writev).
51888 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51889 and <sys/param.h> (for MIN).
51890
51891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51892
51893 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51894 REQUESTED_TIME. Properly set the remaining time and return EINTR
51895 if interrupted.
51896
51897 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51898
51899 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51900 Depend on against $(link-rpcuserlibs).
51901
51902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51903
51904 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51905 (__libc_stack_end): Do not use attribute_relro.
51906 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51907 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51908 to libthread-provided value.
51909 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51910 attribute_relro.
51911
51912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51913
51914 [BZ #3748]
51915 * bits/libc-lock.h (__libc_once_get): New macro.
51916 * sysdeps/mach/bits/libc-lock.h: Likewise.
51917 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51919 instead of using implementation details.
51920
51921 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51922 * libio/freopen.c: Likewise.
51923 * libio/freopen64.c: Likewise.
51924 * misc/syslog.c: Likewise.
51925 * nscd/connections.c: Likewise.
51926 * nscd/netgroupcache.c: Likewise.
51927 * sysdeps/posix/getcwd.c: Likewise.
51928
51929 2012-05-10 Roland McGrath <roland@hack.frob.com>
51930
51931 * math/w_ilogbf.c: Add #include <limits.h>.
51932
51933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51934
51935 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51936 path instead of returning without unlocking.
51937
51938 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51939 immediate-write ioctls.
51940 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51941
51942 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51943
51944 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51945 __builtin_frame_address instead of making assumptions about the
51946 location of the return address relative to DATA. Force early load of
51947 the return address.
51948 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51949 __builtin_frame_address.
51950
51951 dup3 for GNU Hurd.
51952 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51953 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51954 implement dup3 and do some further code clean-ups.
51955 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51956 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51957
51958 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51959
51960 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51961
51962 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51963 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51964 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51965 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51966 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51967 d->port.lock.
51968
51969 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51970 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51971 when handler == SIG_ERR, not when handler != SIG_ERR.
51972
51973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51974
51975 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51976 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51977 definitions.
51978
51979 accept4 for GNU Hurd.
51980 * include/sys/socket.h (__libc_accept4): New prototype.
51981 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51982 to implement __libc_accept4.
51983 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51984 __libc_accept4.
51985 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51986
51987 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51988 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51989 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51990 signal-defines.sym.
51991
51992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51993
51994 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51995
51996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51997
51998 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51999 assertion on O_CLOEXEC flag.
52000 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52001 * hurd/intern-fd.c: Likewise.
52002 * hurd/port2fd.c: Likewise.
52003
52004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52005
52006 [BZ #3906]
52007 * bits/in.h (IPV6_PKTINFO): Define new macro.
52008 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52009
52010 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52011
52012 [BZ #13954]
52013 [BZ #13955]
52014 [BZ #13956]
52015 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52017 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52018 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52020 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52021 * math/libm-test.inc (logb_test) : Additional logb tests.
52022
52023 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52024 Andreas Jaeger <aj@suse.de>
52025
52026 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52027 * configure: Regenerated.
52028 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52029 * config.make.in (link-obsolete-rpc): New substituted variable.
52030 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52031 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52032 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52033 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52034 so that libc.a contains the symbols.
52035 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52036 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52037 * sunrpc/auth_none.c: Likewise.
52038 * sunrpc/auth_unix.c: Likewise.
52039 * sunrpc/authdes_prot.c: Likewise.
52040 * sunrpc/authuxprot.c: Likewise.
52041 * sunrpc/clnt_gen.c: Likewise.
52042 * sunrpc/clnt_perr.c: Likewise.
52043 * sunrpc/clnt_raw.c: Likewise.
52044 * sunrpc/clnt_simp.c: Likewise.
52045 * sunrpc/clnt_tcp.c: Likewise.
52046 * sunrpc/clnt_udp.c: Likewise.
52047 * sunrpc/clnt_unix.c: Likewise.
52048 * sunrpc/des_crypt.c: Likewise.
52049 * sunrpc/des_soft.c: Likewise.
52050 * sunrpc/get_myaddr.c: Likewise.
52051 * sunrpc/key_call.c: Likewise.
52052 * sunrpc/key_prot.c: Likewise.
52053 * sunrpc/netname.c: Likewise.
52054 * sunrpc/pm_getmaps.c: Likewise.
52055 * sunrpc/pm_getport.c: Likewise.
52056 * sunrpc/pmap_clnt.c: Likewise.
52057 * sunrpc/pmap_prot.c: Likewise.
52058 * sunrpc/pmap_prot2.c: Likewise.
52059 * sunrpc/pmap_rmt.c: Likewise.
52060 * sunrpc/publickey.c: Likewise.
52061 * sunrpc/rpc_cmsg.c: Likewise.
52062 * sunrpc/rpc_common.c: Likewise.
52063 * sunrpc/rpc_dtable.c: Likewise.
52064 * sunrpc/rpc_prot.c: Likewise.
52065 * sunrpc/rpc_thread.c: Likewise.
52066 * sunrpc/rtime.c: Likewise.
52067 * sunrpc/svc.c: Likewise.
52068 * sunrpc/svc_auth.c: Likewise.
52069 * sunrpc/svc_raw.c: Likewise.
52070 * sunrpc/svc_run.c: Likewise.
52071 * sunrpc/svc_tcp.c: Likewise.
52072 * sunrpc/svc_udp.c: Likewise.
52073 * sunrpc/svc_unix.c: Likewise.
52074 * sunrpc/svcauth_des.c: Likewise.
52075 * sunrpc/xcrypt.c: Likewise.
52076 * sunrpc/xdr.c: Likewise.
52077 * sunrpc/xdr_array.c: Likewise.
52078 * sunrpc/xdr_float.c: Likewise.
52079 * sunrpc/xdr_intXX_t.c: Likewise.
52080 * sunrpc/xdr_mem.c: Likewise.
52081 * sunrpc/xdr_rec.c: Likewise.
52082 * sunrpc/xdr_ref.c: Likewise.
52083 * sunrpc/xdr_sizeof.c: Likewise.
52084 * sunrpc/xdr_stdio.c: Likewise.
52085
52086 2012-05-10 Roland McGrath <roland@hack.frob.com>
52087
52088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52089 change. Update copyright years.
52090
52091 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52092
52093 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52094
52095 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52096 Joseph Myers <joseph@codesourcery.com>
52097 Paul Pluzhnikov <ppluzhnikov@google.com>
52098
52099 [BZ #14012]
52100 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52101 requiring rpcgen.
52102 [cross-compiling] (extra-libs): Likewise.
52103 [cross-compiling] (extra-libs-others): Likewise.
52104 [cross-compiling] (librpcsvc-routines): Likewise.
52105 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52106 [cross-compiling] (omit-deps): Likewise.
52107 (sunrpc-CPPFLAGS): New variable.
52108 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52109 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52110 (cross-rpcgen-objs): New variable.
52111 (extra-objs): Append $(cross-rpcgen-objs).
52112 ($(cross-rpcgen-objs)): New rule.
52113 ($(objpfx)cross-rpcgen): Likewise.
52114 (rpcgen-cmd): Define to use $(built-program-file). Expand
52115 comment.
52116 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52117 ($(objpfx)x%.stmp): Likewise.
52118 * sunrpc/proto.h [IS_IN_build] (_): Define.
52119 [IS_IN_build] (_libc_intl_domainname): Likewise.
52120
52121 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52122
52123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52124 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52125 and R_X86_64_TPOFF64.
52126
52127 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52128
52129 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52130 sysdeps/unix/sysv/syscalls.list.
52131 (stime): Likewise.
52132 (utime): Likewise.
52133 * sysdeps/unix/sysv/syscalls.list: Remove file.
52134
52135 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52136
52137 [BZ #3440]
52138 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52139 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52140 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52141 (__LC_IDENTIFICATION): Make these macros useful in #if
52142 expressions, as required by C99.
52143
52144 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52145
52146 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52147 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52148 after this.
52149
52150 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52151
52152 * stdlib/longlong.h: Updated from GCC.
52153
52154 2012-05-09 Andreas Jaeger <aj@suse.de>
52155
52156 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52157 default is first entry.
52158 (run_mode): Set type.
52159 (main): Remove informal message about syslog.
52160 (options): Fix typo.
52161
52162 [BZ #14053]
52163 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52164 to asm.
52165 (lrint): Likewise.
52166 (llrintf): Likewise.
52167 (llrint): Likewise.
52168 (rint): Likewise.
52169 (rintf): Likewise.
52170 (nearbyint): Likewise.
52171 (nearbyintf): Likewise.
52172
52173 2012-05-09 Andreas Jaeger <aj@suse.de>
52174 Pedro Alves <palves@redhat.com>
52175
52176 * nscd/nscd.c (run_mode): Use enum.
52177 (main): Cleanup coding style issue.
52178
52179 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52180 Andreas Jaeger <aj@suse.de>
52181
52182 * nscd/nscd.c (go_background): Replaced with...
52183 (run_mode): ... this.
52184 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52185 (options): Add -F --foreground.
52186 (main): Implement it.
52187 (parse_opt): Parse it.
52188
52189 2012-05-09 Andreas Jaeger <aj@suse.de>
52190
52191 [BZ #14083]
52192 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52193 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52194 -Wconversion warning.
52195 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52196 Likewise.
52197
52198 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52199
52200 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52201 == 0.
52202 (LC_ALL): Use macro-int-constant.
52203 (LC_COLLATE): Likewise.
52204 (LC_CTYPE): Likewise.
52205 (LC_MESSAGES): Likewise.
52206 (LC_MONETARY): Likewise.
52207 (LC_NUMERIC): Likewise.
52208 (LC_TIME): Likewise.
52209 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52210 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52212 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52213 Specify type.
52214 [C99-based standards] (float_t): Expect type.
52215 [C99-based standards] (double_t): Expect type.
52216 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52217 type.
52218 [C99-based standards] (HUGE_VALL): Likewise.
52219 [C99-based standards] (INFINITY): Likewise.
52220 [C99-based standards] (NAN): Likewise.
52221 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52222 [C99-based standards] (FP_NAN): Likewise.
52223 [C99-based standards] (FP_NORMAL): Likewise.
52224 [C99-based standards] (FP_SUBNORMAL): Likewise.
52225 [C99-based standards] (FP_ZERO): Likewise.
52226 [C99-based standards] (FP_FAST_FMA): Use
52227 optional-macro-int-constant. Specify type. Require == 1.
52228 [C99-based standards] (FP_FAST_FMAF): Likewise.
52229 [C99-based standards] (FP_FAST_FMAL): Likewise.
52230 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52231 [C99-based standards] (FP_ILOGBNAN): Likewise.
52232 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52233 Specify type.
52234 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52235 [C99-based standards] (math_errhandling): Specify type.
52236 [ISO99 || ISO11] (signgam): Do not allow.
52237 [non-C99-based standards] (copysignf): Do not allow.
52238 [non-C99-based standards] (exp2f): Likewise.
52239 [non-C99-based standards] (log2f): Likewise.
52240 [non-C99-based standards] (modff): Allow.
52241 [non-C99-based standards] (erff): Do not allow.
52242 [non-C99-based standards] (erfcf): Likewise.
52243 [non-C99-based standards] (gammaf): Likewise.
52244 [non-C99-based standards] (hypotf): Likewise.
52245 [non-C99-based standards] (j0f): Likewise.
52246 [non-C99-based standards] (j1f): Likewise.
52247 [non-C99-based standards] (jnf): Likewise.
52248 [non-C99-based standards] (lgammaf): Likewise.
52249 [non-C99-based standards] (tgammaf): Likewise.
52250 [non-C99-based standards] (y0f): Likewise.
52251 [non-C99-based standards] (y1f): Likewise.
52252 [non-C99-based standards] (ynf): Likewise.
52253 [non-C99-based standards] (isnanf): Likewise.
52254 [non-C99-based standards] (acoshf): Likewise.
52255 [non-C99-based standards] (asinhf): Likewise.
52256 [non-C99-based standards] (atanhf): Likewise.
52257 [non-C99-based standards] (cbrtf): Likewise.
52258 [non-C99-based standards] (expm1f): Likewise.
52259 [non-C99-based standards] (ilogbf): Likewise.
52260 [non-C99-based standards] (log1pf): Likewise.
52261 [non-C99-based standards] (logbf): Likewise.
52262 [non-C99-based standards] (nextafterf): Likewise.
52263 [non-C99-based standards] (remainderf): Likewise.
52264 [non-C99-based standards] (rintf): Likewise.
52265 [non-C99-based standards] (scalbf): Likewise.
52266 [non-C99-based standards] (copysignl): Likewise.
52267 [non-C99-based standards] (exp2l): Likewise.
52268 [non-C99-based standards] (log2l): Likewise.
52269 [non-C99-based standards] (modfl): Allow.
52270 [non-C99-based standards] (erfl): Do not allow.
52271 [non-C99-based standards] (erfcl): Likewise.
52272 [non-C99-based standards] (gammal): Likewise.
52273 [non-C99-based standards] (hypotl): Likewise.
52274 [non-C99-based standards] (j0l): Likewise.
52275 [non-C99-based standards] (j1l): Likewise.
52276 [non-C99-based standards] (jnl): Likewise.
52277 [non-C99-based standards] (lgammal): Likewise.
52278 [non-C99-based standards] (tgammal): Likewise.
52279 [non-C99-based standards] (y0l): Likewise.
52280 [non-C99-based standards] (y1l): Likewise.
52281 [non-C99-based standards] (ynl): Likewise.
52282 [non-C99-based standards] (isnanl): Likewise.
52283 [non-C99-based standards] (acoshl): Likewise.
52284 [non-C99-based standards] (asinhl): Likewise.
52285 [non-C99-based standards] (atanhl): Likewise.
52286 [non-C99-based standards] (cbrtl): Likewise.
52287 [non-C99-based standards] (expm1l): Likewise.
52288 [non-C99-based standards] (ilogbl): Likewise.
52289 [non-C99-based standards] (log1pl): Likewise.
52290 [non-C99-based standards] (logbl): Likewise.
52291 [non-C99-based standards] (nextafterl): Likewise.
52292 [non-C99-based standards] (remainderl): Likewise.
52293 [non-C99-based standards] (rintl): Likewise.
52294 [non-C99-based standards] (scalbl): Likewise.
52295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52296 [non-C99-based standards] (FP_*): Do not allow.
52297 [C99-based standards] (FP_*): Change to
52298 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52299 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52300 allow.
52301 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52302 (SIG_ERR): Likewise.
52303 [X/Open-based standards] (SIG_HOLD): Likewise.
52304 (SIG_IGN): Likewise.
52305 (SIGABRT): Use macro-int-constant. Specify type. Require
52306 positive value.
52307 (SIGFPE): Likewise.
52308 (SIGILL): Likewise.
52309 (SIGINT): Likewise.
52310 (SIGSEGV): Likewise.
52311 (SIGTER): Likewise.
52312 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52313 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52314 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52315 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52316 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52317 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52318 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52319 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52320 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52321 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52322 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52323 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52324 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52325 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52326 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52327 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52328 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52329 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52330 [X/Open-based standards] (SIGTRAP): Likewise.
52331 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52332 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52333 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52334 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52335 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52336 allow.
52337
52338 2012-05-08 Ian Wienand <ianw@vmware.com>
52339
52340 [BZ #14080]
52341 * time/tzset.c (__tzset_parse_tz): Update default rules for
52342 daylight time changes in the Energy Policy Act of 2005.
52343
52344 2012-05-09 Andreas Jaeger <aj@suse.de>
52345
52346 [BZ #13983]
52347 * elf/ldconfig.c (parse_conf): Change string to make clear that
52348 ldconfig only issued a warning if ld.so.conf does not exist.
52349
52350 2012-05-08 David S. Miller <davem@davemloft.net>
52351
52352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52353 movxtod instead of popping the value on the stack.
52354
52355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52356
52357 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52358
52359 * config.h.in: Add HAVE_ARM_PCS_VFP.
52360
52361 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52362
52363 [BZ #13979]
52364 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52365 checking but the checks are disabled for any reason.
52366
52367 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52368
52369 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52370 and ELF64_R_TYPE with ELFW(R_TYPE).
52371
52372 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52373
52374 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52375 (ulimit): Likewise.
52376
52377 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52378 (settimeofday): Likewise.
52379
52380 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52381
52382 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52383 a struct th_u2 inside the union, and move tu_block/tu_code into
52384 a new th_u3 union of tu_block/tu_code inside of that. Move
52385 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52386 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52387 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52388 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52389 (th_stuff): Change to th_u1.tu_stuff.
52390 (th_data): Define.
52391 (th_msg): Change to th_u1.th_u2.tu_data.
52392
52393 2012-05-07 David S. Miller <davem@davemloft.net>
52394
52395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52396
52397 [BZ #14074]
52398 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52399 (SETUP_PIC_REG): Use it.
52400 (SETUP_PIC_REG_LEAF): Use it.
52401
52402 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52403
52404 [BZ #13885]
52405 [BZ #13923]
52406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52407 USE_AS_EXPM1L.
52408 (EXPL_FINITE): Likewise.
52409 (FLDLOG): Likewise.
52410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52411 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52412 e_expl.S.
52413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52414 USE_AS_EXPM1L.
52415 (EXPL_FINITE): Likewise.
52416 (FLDLOG): Likewise.
52417 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52418 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52419 e_expl.S.
52420 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52421 test of -max_value argument for long double.
52422 * sysdeps/i386/fpu/libm-test-ulps: Update.
52423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52424
52425 2012-05-06 David S. Miller <davem@davemloft.net>
52426
52427 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52428 quad soft-float symbols whose references which are compiler
52429 generated.
52430 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52431
52432 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52433
52434 [BZ #13884]
52435 [BZ #13914]
52436 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52437 USE_AS_EXP10L.
52438 (EXPL_FINITE): Likewise.
52439 (FLDLOG): Likewise.
52440 (c0): Likewise.
52441 (c1): Likewise.
52442 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52443 Adjust comments for base varying.
52444 (__expl_finite): Change alias to EXPL_FINITE.
52445 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52446 e_expl.S.
52447 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52448 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52449 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52450 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52451 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52452 USE_AS_EXP10L.
52453 (EXPL_FINITE): Likewise.
52454 (FLDLOG): Likewise.
52455 (c0): Likewise.
52456 (c1): Likewise.
52457 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52458 Adjust comments for base varying.
52459 (__expl_finite): Change alias to EXPL_FINITE.
52460 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52461 tests for bugs.
52462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52463
52464 [BZ #14064]
52465 * math/libm-test.inc (check_float_internal): Correct ulp
52466 calculation for subnormal expected results.
52467
52468 2012-05-06 Andreas Jaeger <aj@suse.de>
52469
52470 * Makeconfig (+math-flags): New, set to -frounding-math.
52471 (+cflags): Add +math-flags so that all of glibc gets compiled with
52472 it.
52473
52474 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52475
52476 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52477
52478 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52479 Disable one test.
52480
52481 [BZ #13787]
52482 [BZ #13922]
52483 [BZ #14036]
52484 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52485 (__ieee754_expl): Allow for and saturate large arguments.
52486 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52487 (u_threshold): Likewise.
52488 (__exp): Call __ieee754_exp before checking for overflow and
52489 underflow.
52490 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52491 (u_threshold): Likewise.
52492 (__expf): Call __ieee754_expf before checking for overflow and
52493 underflow.
52494 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52495 (u_threshold): Likewise.
52496 (__expl): Call __ieee754_expl before checking for overflow and
52497 underflow.
52498 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52499 (__ieee754_expl): Allow for and saturate large arguments.
52500 * math/libm-test.inc (exp_test): Add another test. Do not allow
52501 missing overflow exception on overflow.
52502 (expm1_test): Do not allow missing overflow exception on overflow.
52503
52504 * sysdeps/i386/fpu/e_expl.c: Move to ...
52505 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52506 rather than using inline asm.
52507 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52508 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52509 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52510
52511 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52512 (nice): Likewise.
52513 (poll): Likewise.
52514 (signal): Likewise.
52515 (time): Likewise.
52516 (times): Likewise.
52517
52518 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52519
52520 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52521 sysdeps/unix/common/syscalls.list.
52522 (fchmod): Likewise.
52523 (fchown): Likewise.
52524 (ftruncate): Likewise.
52525 (getrusage): Likewise.
52526 (gettimeofday): Likewise.
52527 (setpgid): Likewise.
52528 (setregid): Likewise.
52529 (setreuid): Likewise.
52530 (sigaction): Likewise.
52531 (truncate): Likewise.
52532 (vhangup): Likewise.
52533 * sysdeps/unix/common/syscalls.list: Remove file.
52534 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52535 * sysdeps/unix/sysv/linux/Implies: Likewise.
52536
52537 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52538
52539 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52541 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52542 Moved to ...
52543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52544 Here.
52545 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52546 to ...
52547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52548 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52549 to ...
52550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52551 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52552 to ...
52553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52554 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52555 to ...
52556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52557 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52558 to ...
52559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52560 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52561 to ...
52562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52563 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52564 to ...
52565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52566 Here.
52567 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52568 to ...
52569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52570 Here.
52571 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52572 to ...
52573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52574 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52575 Moved to ...
52576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52577 Here.
52578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52579 to ...
52580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52581
52582 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52583
52584 * sysdeps/unix/common/bits/dirent.h: Remove file.
52585 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52586
52587 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52588 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52589 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52590 * sysdeps/unix/bsd/isatty.c: Likewise.
52591 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52592 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52593 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52594
52595 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52596
52597 [BZ #13563]
52598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52599 long double comparison inaccuracies.
52600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52602
52603 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52604
52605 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52606 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52607
52608 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52609
52610 [BZ #14049]
52611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52612 nonzero digits before rounding a hex value.
52613 * stdlib/tst-strtod.c (tests): Add another test.
52614
52615 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52616
52617 * sysdeps/s390/fpu/libm-test-ulps: Update.
52618
52619 2012-05-03 Andreas Jaeger <aj@suse.de>
52620
52621 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52622 does not get optimized out.
52623 (malloc_opt_barrier): New.
52624
52625 2012-05-03 Andreas Jaeger <aj@suse.de>
52626 Roland McGrath <roland@hack.frob.com>
52627
52628 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52629 intermediate file deletion.
52630 (generated): Add .symlist files.
52631
52632 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52633
52634 [BZ #13775]
52635 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52636 Redirect under this condition.
52637 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52638 [__USE_GNU] (__dprintf_chk): Not under this condition.
52639 [__USE_GNU] (__vdprintf_chk): Likewise.
52640 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52641 under this condition.
52642 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52643 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52644 [__USE_XOPEN2K8] (vdprintf): Likewise.
52645 [__USE_GNU] (__dprintf_chk): Not under this condition.
52646 [__USE_GNU] (__vdprintf_chk): Likewise.
52647 [__USE_GNU] (dprintf): Likewise.
52648 [__USE_GNU] (vdprintf): Likewise.
52649
52650 2012-05-03 Roland McGrath <roland@hack.frob.com>
52651
52652 * elf/Makefile (common-generated): Set this instead of generated for
52653 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52654 $(all-built-dso)-derived lists.
52655
52656 2012-05-03 Andreas Jaeger <aj@suse.de>
52657
52658 * sysdeps/i386/fpu/libm-test-ulps: Update.
52659
52660 * FAQ: Removed.
52661 * FAQ.in: Likewise.
52662 * scripts/gen-FAQ.pl: Likewise.
52663 * manual/install.texi (Installation): Point to online location of
52664 FAQ.
52665 * Makefile (files-for-dist): Remove FAQ.
52666 (FAQ): Remove.
52667
52668 2012-05-02 Allan McRae <allan@archlinux.org>
52669
52670 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52671 (LDFLAGS-reldepmod5.so): Likewise.
52672 (LDFLAGS-reldep6mod1.so): Likewise.
52673 (LDFLAGS-reldep6mod4.so): Likewise.
52674 (LDFLAGS-reldep8mod3.so): Likewise.
52675 (LDFLAGS-unload4mod1.so): Likewise.
52676 (LDFLAGS-unload4mod2.so): Likewise.
52677 (LDFLAGS-tst-initorder): Likewise.
52678 (LDFLAGS-tst-initordera2.so): Likewise.
52679 (LDFLAGS-tst-initordera3.so): Likewise.
52680 (LDFLAGS-tst-initordera4.so): Likewise.
52681 (LDFLAGS-tst-initorderb2.so): Likewise.
52682 (LDFLAGS-noload): Likewise.
52683 (LDFLAGS-next): Likewise.
52684 (LDFLAGS-order2mod1.so): Likewise.
52685 (LDFLAGS-order2mod2.so): Likewise.
52686 (LDFLAGS-tst-initorder2): Likewise.
52687 (LDFLAGS-tst-initorder2a.so): Likewise.
52688 (LDFLAGS-tst-initorder2b.so): Likewise.
52689 (LDFLAGS-tst-initorder2c.so): Likewise.
52690 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52691
52692 2012-05-02 David S. Miller <davem@davemloft.net>
52693
52694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52695
52696 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52697
52698 [BZ #14055]
52699 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52700
52701 2012-05-02 Andreas Jaeger <aj@suse.de>
52702
52703 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52704 since we manipulate rounding mode.
52705 (CPPFLAGS-test-idouble.c): Likewise.
52706 (CPPFLAGS-test-ifloat.c): Likewise.
52707 (CFLAGS-test-ldouble.c): Likewise.
52708 (CFLAGS-test-double.c): Likewise.
52709 (CFLAGS-test-float.c): Likewise.
52710 (CFLAGS-test-misc.c): Likewise.
52711 (CFLAGS-test-test-fenv.c): Likewise.
52712
52713 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52714
52715 [BZ #2550]
52716 [BZ #2570]
52717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52718 comparisons to determine direction to adjust input.
52719
52720 2012-05-01 Roland McGrath <roland@hack.frob.com>
52721
52722 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52723 output to the target.
52724
52725 * scripts/localplt.awk: New file.
52726 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52727 (check-localplt-CFLAGS): Variable removed.
52728 ($(all-built-dso:=.jmprel)): New static pattern rule.
52729 (generated): Add those targets.
52730 (localplt-built-dso): New variable.
52731 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52732
52733 * elf/check-localplt.c: File removed.
52734
52735 * scripts/check-execstack.awk: New file.
52736 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52737 (check-execstack-CFLAGS): Variable removed.
52738 ($(objpfx)check-execstack.h): Target removed.
52739 ($(objpfx)execstack-default): New target.
52740 (generated): Add that instead of check-execstack.h.
52741 ($(all-built-dso:=.phdr)): New static pattern rule.
52742 (generated): Add those targets.
52743 * elf/check-execstack.c: File removed.
52744
52745 * scripts/check-textrel.awk: New file.
52746 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52747 (check-textrel-CFLAGS): Variable removed.
52748 (all-built-dso): Use := to define.o
52749 ($(all-built-dso:=.dyn)): New static pattern rule.
52750 (generated): Add those targets.
52751 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52752 * config.make.in (READELF): New substituted variable.
52753 * elf/check-textrel.c: File removed.
52754
52755 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52756
52757 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52758 allow.
52759 * conform/data/ctype.h-data [C99-based standards] (isblank):
52760 Expect function.
52761 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52762 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52764 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52765 Specify type. Require positive value.
52766 (EILSEQ): Likewise.
52767 (ERANGE): Likewise.
52768 [ISO || POSIX] (EILSEQ): Do not expect.
52769 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52770 Specify type. Require positive value.
52771 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52772 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52773 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52774 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52775 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52776 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52777 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52778 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52779 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52780 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52781 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52782 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52783 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52784 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52785 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52786 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52787 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52788 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52789 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52790 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52791 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52792 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52793 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52794 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52795 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52796 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52797 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52798 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52799 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52800 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52801 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52802 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52803 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52804 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52805 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52806 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52807 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52808 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52809 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52810 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52811 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52812 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52813 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52814 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52815 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52816 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52817 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52818 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52819 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52820 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52821 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52822 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52823 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52824 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52825 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52826 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52827 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52828 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52829 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52830 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52831 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52832 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52833 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52834 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52835 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52836 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52837 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52838 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52839 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52840 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52841 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52842 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52843 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52844 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52845 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52846 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52847 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52848 Require >= 2.
52849 (FLT_ROUNDS): Expect as macro, not constant.
52850 (FLT_MANT_DIG): Use macro-int-constant.
52851 (DBL_MANT_DIG): Likewise.
52852 (LDBL_MANT_DIG): Likewise.
52853 (FLT_DIG): Likewise.
52854 (DBL_DIG): Likewise.
52855 (LDBL_DIG): Likewise.
52856 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52857 (DBL_MIN_EXP): Likewise.
52858 (LDBL_MIN_EXP): Likewise.
52859 (FLT_MAX_EXP): Use macro-int-constant.
52860 (DBL_MAX_EXP): Likewise.
52861 (LDBL_MAX_EXP): Likewise.
52862 (FLT_MAX_10_EXP): Likewise.
52863 (DBL_MAX_10_EXP): Likewise.
52864 (LDBL_MAX_10_EXP): Likewise.
52865 (FLT_MAX): Use macro-constant.
52866 (DBL_MAX): Likewise.
52867 (LDBL_MAX): Likewise.
52868 (FLT_EPSILON): Use macro-constant. Give upper bound.
52869 (DBL_EPSILON): Likewise.
52870 (LDBL_EPSILON): Likewise.
52871 (FLT_MIN): Likewise.
52872 (DBL_MIN): Likewise.
52873 (LDBL_MIN): Likewise.
52874 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52875 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52876 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52877 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52878 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52879 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52880 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52881 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52882 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52883 [ISO11] (FLT_TRUE_MIN): Likewise.
52884 [ISO11] (LDBL_TRUE_MIN): Likewise.
52885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52886 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52887 (SCHAR_MIN): Use macro-int-constant. Specify type.
52888 (SCHAR_MAX): Likewise.
52889 (UCHAR_MAX): Likewise.
52890 (CHAR_MIN): Likewise.
52891 (CHAR_MAX): Likewise.
52892 (MB_LEN_MAX): Use macro-int-constant.
52893 (SHRT_MIN): Use macro-int-constant. Specify type.
52894 (SHRT_MAX): Likewise.
52895 (USHRT_MAX): Likewise.
52896 (INT_MAX): Likewise.
52897 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52898 bound negative.
52899 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52900 bound with "U".
52901 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52902 bound with "L".
52903 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52904 bound negative. Suffix upper bound with "L".
52905 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52906 bound with "UL".
52907 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52908 Specify type.
52909 [C99-based standards] (LLONG_MAX): Likewise.
52910 [C99-based standards] (ULLONG_MAX): Likewise.
52911 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52912 == 0.
52913 [ISO11] (max_align_t): Require type.
52914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52915
52916 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52917 from $CFLAGS, without defining away __attribute__ calls.
52918 (checknamespace): Use $CFLAGS_namespace.
52919
52920 * conform/conformtest.pl (@keywords): Only include C99 keywords
52921 for standards based on C99 or C11.
52922
52923 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52924 Disable tests.
52925 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52926 UNIX98]: Likewise.
52927
52928 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52929 usability of symbols in #if.
52930
52931 * conform/conformtest.pl: If macro or constant types start
52932 "promoted:", expect the symbol to be of the following type
52933 promoted by the integer promotions.
52934
52935 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52936 in one place. Also handle "macro-constant".
52937
52938 * conform/conformtest.pl: Only accept expected macro values with
52939 "==". Parse all "macro" lines in one place.
52940 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52941
52942 * conform/conformtest.pl: Handle braced types on "constant" lines
52943 instead of handling "typed-constant".
52944 * conform/data/signal.h-data: Use "constant" instead of
52945 "typed-constant".
52946
52947 * conform/conformtest.pl: Handle "optional-" at start of lines in
52948 one place rather than duplicating several cases. Handle each
52949 format of "macro" line with initial "optional-".
52950
52951 * conform/conformtest.pl: Only accept expected constant or
52952 optional-constant values with "==". Parse all "constant" lines in
52953 one place. Parse all "optional-constant" lines in one place.
52954 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52955 * conform/data/fmtmsg.h-data: Likewise.
52956 * conform/data/netinet/in.h-data: Likewise.
52957 * conform/data/tar.h-data: Likewise.
52958 * conform/data/limits.h-data: Use "==" form on "constant" and
52959 "optional-constant" lines.
52960
52961 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52962 Use -std=c99 for XOPEN2K.
52963 (@knownproblems): Remove.
52964 (newtoken): Don't check %isknown.
52965
52966 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52967 Do not expect macro.
52968 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52969 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52970 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52971 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52972 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52973 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52974 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52975 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52976 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52977 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52978 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52979 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52980 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52981 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52982 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52983 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52984 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52985 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52986 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52987 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52988 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52989 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52990 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52992 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52993 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52994 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52995 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52996 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52997 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52998 [XPG3] (acosh): Likewise.
52999 [XPG3] (asinh): Likewise.
53000 [XPG3] (atanh): Likewise.
53001 [XPG3] (cbrt): Likewise.
53002 [XPG3] (expm1): Likewise.
53003 [XPG3] (ilogb): Likewise.
53004 [XPG3] (log1p): Likewise.
53005 [XPG3] (logb): Likewise.
53006 [XPG3] (nextafter): Likewise.
53007 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53008 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53009 [XPG3] (remainder): Likewise.
53010 [XPG3] (rint): Likewise.
53011 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53012 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53013 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53014 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53015 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53016 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53017 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53018 [UNIX98 || XOPEN2K] (scalb): Expect.
53019 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53020 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53021 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53022 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53023 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53024 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53025 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53026 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53027 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53028 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53029 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53030 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53031 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53032 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53033 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53034 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53035 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53036 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53037 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53038 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53039 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53040 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53041 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53042 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53043 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53044 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53045 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53046 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53047 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53048 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53049 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53050 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53051 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53052 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53053 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53054 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53055 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53056 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53057 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53058 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53059 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53060 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53061 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53062 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53063 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53064 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53065 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53066 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53067 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53068 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53069 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53070 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53071 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53072 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53073 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53074 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53075 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53076 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53077 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53078 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53079 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53080 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53081 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53082 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53083 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53084 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53085 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53086 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53087 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53088 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53089 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53090 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53091 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53092 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53093 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53094 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53095 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53096 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53097 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53098 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53099 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53100 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53101 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53102 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53103 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53104 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53105 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53106 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53107 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53108 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53109 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53110 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53111 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53112 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53113 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53114 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53115 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53116 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53117 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53118 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53119 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53120 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53121 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53122 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53123 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53124 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53125 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53126 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53127 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53128 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53129 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53130 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53131 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53132 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53133 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53134 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53135 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53136 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53137 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53138 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53139 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53140 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53141 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53142 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53143 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53144 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53145 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53146 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53147 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53148 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53149 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53150 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53151 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53152 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53153 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53154 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53155 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53156
53157 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53158 _XOPEN_SOURCE_EXTENDED for XPG4.
53159
53160 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53161
53162 * Makeconfig (localtime): Remove variable.
53163 (inst_localtime-file): Likewise.
53164
53165 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53166
53167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53168 Update.
53169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53170 Update.
53171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53172 Update.
53173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53174 Update.
53175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53176 Update.
53177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53178 Update.
53179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53180 Update.
53181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53182 Update.
53183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53184 Update.
53185
53186 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53187
53188 [BZ #2550]
53189 [BZ #2570]
53190 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53191 comparisons to determine direction to adjust input.
53192 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53193 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53195 Likewise.
53196 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53197 Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53199 Likewise.
53200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53201 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53202 Likewise.
53203 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53204 Likewise.
53205 * math/libm-test.inc (nexttoward_test): Add more tests.
53206
53207 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53208
53209 [BZ #14040]
53210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53211 in version GLIBC_2.1, not GLIBC_2.0.
53212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53213 Likewise.
53214
53215 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53216
53217 [BZ #13942]
53218 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53219 (1 - x) * (1 + x).
53220 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53221 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53222 * math/libm-test.inc (acos_test): Add more tests.
53223 (asin_test): Likewise.
53224 * sysdeps/i386/fpu/libm-test-ulps: Update.
53225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53226
53227 [BZ #14034]
53228 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53229 of square root.
53230 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53231 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53232 * math/libm-test.inc (acos_test_tonearest): New function.
53233 (acos_test_towardzero): Likewise.
53234 (acos_test_downward): Likewise.
53235 (acos_test_upward): Likewise.
53236 (asin_test_tonearest): Likewise.
53237 (asin_test_towardzero): Likewise.
53238 (asin_test_downward): Likewise.
53239 (asin_test_upward): Likewise.
53240 (main): Call the new functions.
53241 * sysdeps/i386/fpu/libm-test-ulps: Update.
53242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53243
53244 [BZ #13884]
53245 [BZ #13924]
53246 * math/e_exp10.c: Include <float.h>.
53247 (__ieee754_exp10): Handle underflow here rather than multiplying
53248 large negative argument by M_LN10.
53249 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53250 of __ieee754_expf.
53251 * math/e_exp10l.c: Include <float.h>.
53252 (__ieee754_exp10l): Handle underflow here rather than multiplying
53253 large negative argument by M_LN10l.
53254 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53255 spurious overflow exception on underflow.
53256
53257 2012-04-29 Marek Polacek <polacek@redhat.com>
53258
53259 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53260 (__fortify_function): New macro.
53261 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53262 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53263 __extern_always_inline.
53264 * libio/bits/stdio2.h: Likewise.
53265 * libio/bits/stdio.h: Likewise.
53266 * string/string.h: Likewise.
53267 * string/bits/string3.h: Likewise.
53268 * include/stdio.h: Likewise.
53269 * stdlib/bits/stdlib.h: Likewise.
53270 * stdlib/stdlib.h: Likewise.
53271 * rt/bits/mqueue2.h: Likewise.
53272 * rt/mqueue.h: Likewise.
53273 * posix/bits/unistd.h: Likewise.
53274 * posix/unistd.h: Likewise.
53275 * io/bits/poll2.h: Likewise.
53276 * io/bits/fcntl2.h: Likewise.
53277 * io/fcntl.h: Likewise.
53278 * io/sys/poll.h: Likewise.
53279 * misc/bits/syslog.h: Likewise.
53280 * misc/bits/syslog-ldbl.h: Likewise.
53281 * misc/sys/syslog.h: Likewise.
53282 * socket/bits/socket2.h: Likewise.
53283 * socket/sys/socket.h: Likewise.
53284 * debug/tst-chk1.c: Likewise.
53285 * wcsmbs/bits/wchar2.h: Likewise.
53286 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53287 * wcsmbs/wchar.h: Likewise.
53288
53289 2012-04-29 Andreas Jaeger <aj@suse.de>
53290
53291 * Makerules (tests): Remove enable-check-abi protection.
53292 (check-abi-warn): Remove.
53293 (check-abi-%): Remove check-abi-warn usage.
53294
53295 * configure.in: Remove check-abi configure option.
53296 * configure: Regenerated.
53297 * config.make.in (enable-check-abi): Remove.
53298
53299 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53300
53301 [BZ #14033]
53302 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53303 double functions to double *_finite functions.
53304
53305 [BZ #13941]
53306 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53307 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53308 LDBL_MIN_EXP.
53309 * stdio-common/Makefile (tests): Add tst-sprintf3.
53310 * stdio-common/tst-sprintf3.c: New file.
53311
53312 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53313 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53314
53315 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53316
53317 * conform/conformtest.pl: Remove duplicate typed-constant
53318 handling.
53319
53320 2012-04-28 David S. Miller <davem@davemloft.net>
53321
53322 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53323 (check-abi-%): Remove AWK script prerequisite and explicit
53324 abilist directory.
53325 (check-abi): Rewrite to just diff the symlist with the abilist.
53326 (config-tls, config-abi-config): Delete, no longer used.
53327 (update-abi-%): Remove AWK script and explicit abilist directory.
53328 (update-abi): Rewrite to simply compare and conditionally copy the
53329 symlist and the sysdep abilist file. Remove update-abi-config
53330 checks.
53331 * abilist/ld.abilist: Remove.
53332 * abilist/libBrokenLocale.abilist: Remove.
53333 * abilist/libanl.abilist: Remove.
53334 * abilist/libcrypt.abilist: Remove.
53335 * abilist/libdl.abilist: Remove.
53336 * abilist/librt.abilist: Remove.
53337 * abilist/libthread_db.abilist: Remove.
53338 * abilist/libutil.abilist: Remove.
53339 * scripts/extract-abilist.awk: Remove.
53340 * scripts/merge-abilist.awk: Remove.
53341 * sysdeps/generic/libcidn.abilist: New file.
53342 * sysdeps/generic/libnss_compat.abilist: New file.
53343 * sysdeps/generic/libnss_db.abilist: New file.
53344 * sysdeps/generic/libnss_dns.abilist: New file.
53345 * sysdeps/generic/libnss_files.abilist: New file.
53346 * sysdeps/generic/libnss_hesiod.abilist: New file.
53347 * sysdeps/generic/libnss_nis.abilist: New file.
53348 * sysdeps/generic/libnss_nisplus.abilist: New file.
53349 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53350 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53351 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53352 file.
53353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53354 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53355 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53356 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53357 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53358 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53359 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53360 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53361 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53362 file.
53363 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53364 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53365 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53366 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53367 file.
53368 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53369 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53370 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53371 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53372 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53373 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53374 file.
53375 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53376 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53377 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53378 file.
53379 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53381 New file.
53382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53383 New file.
53384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53385 New file.
53386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53387 New file.
53388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53389 New file.
53390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53391 New file.
53392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53393 New file.
53394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53395 New file.
53396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53397 New file.
53398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53399 New file.
53400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53401 New file.
53402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53403 New file.
53404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53405 New file.
53406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53407 file.
53408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53409 New file.
53410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53411 New file.
53412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53413 file.
53414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53415 New file.
53416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53417 New file.
53418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53419 file.
53420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53421 New file.
53422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53423 New file.
53424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53425 New file.
53426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53427 New file.
53428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53429 New file.
53430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53431 New file.
53432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53434 file.
53435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53436 New file.
53437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53438 file.
53439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53440 file.
53441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53442 file.
53443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53444 file.
53445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53446 file.
53447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53448 New file.
53449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53450 file.
53451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53452 file.
53453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53454 New file.
53455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53456 file.
53457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53459 file.
53460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53461 New file.
53462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53463 file.
53464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53465 file.
53466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53467 file.
53468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53469 file.
53470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53471 file.
53472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53473 New file.
53474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53475 file.
53476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53477 file.
53478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53479 New file.
53480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53481 file.
53482 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53483 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53484 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53485 file.
53486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53487 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53488 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53489 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53490 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53491 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53492 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53493 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53494 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53495 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53498 file.
53499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53500 New file.
53501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53502 file.
53503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53504 file.
53505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53506 file.
53507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53508 file.
53509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53510 file.
53511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53512 New file.
53513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53514 New file.
53515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53516 file.
53517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53518 New file.
53519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53520 file.
53521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53523 file.
53524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53525 New file.
53526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53527 file.
53528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53529 file.
53530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53531 file.
53532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53533 file.
53534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53535 file.
53536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53537 New file.
53538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53539 New file.
53540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53541 file.
53542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53543 New file.
53544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53545 file.
53546
53547 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53548
53549 * conform/conformtest.pl: Fix typo in handling typed-constant from
53550 allow-header.
53551
53552 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53553
53554 * README: Cut down references to pre-2.6 Linux kernels and
53555 Linuxthreads. Update lists of configurations in libc and ports
53556 and sort alphabetically. Say "or newer" with Linux kernel version
53557 requirements.
53558
53559 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53560
53561 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53562
53563 [BZ #887]
53564 * math/libm-test.inc (logb_test_downward): New test to expose
53565 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53566 rounding mode.
53567
53568 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53569
53570 [BZ #14027]
53571 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53572 to be done.
53573 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53574 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53575
53576 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53577
53578 * sysdeps/unix/i386/brk.S: Remove file.
53579 * sysdeps/unix/i386/dl-brk.S: Likewise.
53580 * sysdeps/unix/i386/pipe.S: Likewise.
53581 * sysdeps/unix/i386/sigreturn.S: Likewise.
53582 * sysdeps/unix/i386/syscall.S: Likewise.
53583 * sysdeps/unix/i386/vfork.S: Likewise.
53584 * sysdeps/unix/i386/wait.S: Likewise.
53585
53586 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53587 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53588
53589 * configure.in (arm*-none*): Do not allow without
53590 --enable-hacker-mode.
53591 (netbsd*): Remove case setting base_os.
53592 (386bsd*): Likewise.
53593 (freebsd*): Likewise.
53594 (bsdi*): Likewise.
53595 (osf*): Likewise.
53596 (sunos*): Likewise.
53597 (ultrix*): Likewise.
53598 (newsos*): Likewise.
53599 (dynix*): Likewise.
53600 (*bsd*): Likewise.
53601 (sysv*): Likewise.
53602 (isc*): Likewise.
53603 (esix*): Likewise.
53604 (sco*): Likewise.
53605 (minix*): Likewise.
53606 (irix4*): Likewise.
53607 (irix6*): Likewise.
53608 (solaris[2-9]*): Likewise.
53609 (none): Likewise.
53610 * configure: Regenerated.
53611
53612 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53613
53614 [BZ #11521]
53615 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53616 overflow or cancellation in calculating denominator.
53617 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53618 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53619 down expression to avoid unexpected rounding in newer GCCs.
53620 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53621
53622 2012-04-26 David S. Miller <davem@davemloft.net>
53623
53624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53625 long-double compat symbols.
53626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53639
53640 2012-04-25 David S. Miller <davem@davemloft.net>
53641
53642 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53643 HWCAP_* values only after the memory barriers have been defined.
53644 (atomic_full_barrier): Define.
53645 (atomic_read_barrier): Define.
53646 (atomic_write_barrier): Define.
53647
53648 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53649
53650 * shlib-versions: Add libgcc_s version information.
53651 * sysdeps/generic/libgcc_s.h: Remove.
53652 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53653 libgcc_s.h.
53654 * sysdeps/gnu/unwind-resume.c: Likewise.
53655 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53656
53657 2012-04-25 David S. Miller <davem@davemloft.net>
53658
53659 * sysdeps/unix/sparc/brk.S: Delete.
53660 * sysdeps/unix/sparc/dl-brk.S: Delete.
53661 * sysdeps/unix/sparc/pipe.S: Delete.
53662 * sysdeps/unix/sparc/sysdep.S: Delete.
53663 * sysdeps/unix/sparc/sysdep.h: Delete.
53664 * sysdeps/unix/sparc/vfork.S: Delete.
53665 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53666 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53667 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53668 (ret_ERRVAL, r0, r1, MOVE): Define.
53669 (JUMPTARGET): Remove.
53670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53671 sysdeps/unix/sparc/sysdep.h
53672 (ENTRY, END): Remove.
53673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53674
53675 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53676
53677 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53678 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53679 -DIS_IN_build.
53680
53681 * timezone/README: Update upstream location and email address for
53682 tzcode and tzdata.
53683 * timezone/zdump.c: Update from tzcode 2012b.
53684 * timezone/zic.c: Likewise.
53685
53686 * configure.in (libc_cv_as_needed): Remove test.
53687 * configure: Regenerated.
53688 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53689 conditional definition.
53690 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53691 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53692 * config.make.in (have-as-needed): Remove variable.
53693
53694 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53695 Paul Pluzhnikov <ppluzhnikov@google.com>
53696
53697 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53698 strings correctly.
53699
53700 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53701
53702 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53703 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53704 * sysdeps/sh/strlen.S: Likewise.
53705
53706 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53707
53708 * sysdeps/unix/fork.S: Remove file.
53709 * sysdeps/unix/i386/fork.S: Likewise.
53710 * sysdeps/unix/sparc/fork.S: Likewise.
53711
53712 * sysdeps/unix/system.c: Remove file.
53713 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53714
53715 * sysdeps/unix/getegid.S: Remove file.
53716 * sysdeps/unix/geteuid.S: Likewise.
53717
53718 2012-04-24 Roland McGrath <roland@hack.frob.com>
53719
53720 * scripts/check-localplt.awk: New file.
53721 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53722 of diff.
53723 * scripts/data/localplt-generic.data: Add a comment.
53724
53725 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53726 NODE when __dir_mkfile failed.
53727 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53728 Reported by Ludovic Courtès <ludo@gnu.org>.
53729
53730 2012-04-24 Andreas Jaeger <aj@suse.de>
53731
53732 * Makerules (common-clean): Also remove gen-as-const-headers
53733 files.
53734
53735 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53736
53737 * Makerules (native-compile): Do not change working directory for
53738 build. Use $(OUTPUT_OPTION) in command.
53739 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53740
53741 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53742
53743 [BZ #13886]
53744 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53745 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53746 * math/libm-test.inc (floor_test): Add more tests.
53747 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53748
53749 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53750
53751 * sysdeps/unix/getdents.c: Remove file.
53752 * sysdeps/unix/sysv/getdents.c: Likewise.
53753 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53754
53755 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53756 sysdeps/unix/mman/syscalls.list.
53757 (mmap): Likewise.
53758 (mprotect): Likewise.
53759 (msync): Likewise.
53760 (munmap): Likewise.
53761 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53762 * sysdeps/unix/mman/syscalls.list: Remove.
53763 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53764
53765 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53766 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53767 * configure: Regenerated.
53768 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53769 $(libgcc_s_suffix).
53770 * config.make.in (libgcc_s_suffix): Remove variable.
53771
53772 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53773
53774 * sysdeps/unix/sysv/gethostname.c: Move to ...
53775 * sysdeps/posix/gethostname.c: ... here.
53776
53777 * sysdeps/unix/execve.S: Remove file.
53778
53779 * sysdeps/unix/_exit.S: Remove file.
53780
53781 2012-04-23 Andreas Jaeger <aj@suse.de>
53782
53783 [BZ #13739]
53784 * manual/Makefile: Remove make dist support, there's no
53785 need for a stand-alone documentation tar ball.
53786 (TEXI2DVI): Define always, it's not in Makeconfig.
53787 (dist): Removed.
53788 (tar-it): Removed.
53789 (edition): Removed.
53790 (glibc-doc-$(edition).tar): Removed
53791 (%.Z): Removed.
53792 (%.gz): Removed.
53793 (%.uu): Removed.
53794 (ETAGS): Remove, it's in Makeconfig.
53795 (move-if-change): Remove, it's in Makeconfig.
53796
53797 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53798
53799 [BZ #13970]
53800 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53801 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53802 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53803 (strtod_l, strtof_l, strtold_l): Remove __wur.
53804 It is not necessarily an error to ignore strtol's return value.
53805 One can reliably look at the stored endptr to decide whether
53806 the number had valid syntax.
53807
53808 2012-04-21 Andreas Jaeger <aj@suse.de>
53809
53810 [BZ #13739]
53811 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53812
53813 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53814
53815 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53816 * sysdeps/unix/sysv/Versions: Remove file.
53817
53818 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53819
53820 [BZ #13927]
53821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53822
53823 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53824
53825 [BZ #7064]
53826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53827 version from __vm86.
53828
53829 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53830
53831 * sysdeps/unix/common/lxstat.c: Remove file.
53832 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53833
53834 * sysdeps/unix/sysv/Makefile: Remove file.
53835
53836 * sysdeps/unix/sysv/direct.h: Remove file.
53837
53838 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53839 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53840 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53841 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53842 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53843 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53844 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53845
53846 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53847
53848 * sysdeps/unix/xmknod.c: Remove file.
53849 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53850
53851 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53852
53853 * sysdeps/unix/sysv/i386/time.S: Remove file.
53854
53855 * sysdeps/unix/fxstat.c: Remove file.
53856 * sysdeps/unix/xstat.c: Likewise.
53857 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53858
53859 * sysdeps/unix/sysv/sigaction.c: Remove file.
53860
53861 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53862 (sysdep_headers): Remove variable.
53863 [termio.h not in sysdep_headers] (generated): Likewise.
53864 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53865 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53866 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53867 * sysdeps/unix/sysv/tcflow.c: Likewise.
53868 * sysdeps/unix/sysv/tcflush.c: Likewise.
53869 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53870 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53871 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53872 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53873 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53874
53875 * sysdeps/unix/siglist.c: Remove file.
53876
53877 * sysdeps/unix/getppid.S: Remove file.
53878
53879 * sysdeps/unix/mkdir.c: Remove file.
53880 * sysdeps/unix/rmdir.c: Likewise.
53881
53882 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53883
53884 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53885 ERR_MAX value.
53886 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53887 errlist-compat value.
53888
53889 2012-04-18 David S. Miller <davem@davemloft.net>
53890
53891 * sysdeps/generic/memcopy.h (reg_char): Delete.
53892 * debug/strcat_chk.c: Use char, not reg_char.
53893 * debug/strcpy_chk.c: Likewise.
53894 * debug/strncat_chk.c: Likewise.
53895 * debug/strncpy_chk.c: Likewise.
53896 * string/memchr.c: Likewise.
53897 * string/memrchr.c: Likewise.
53898 * string/rawmemchr.c: Likewise.
53899 * string/strcat.c: Likewise.
53900 * string/strchr.c: Likewise.
53901 * string/strchrnul.c: Likewise.
53902 * string/strcmp.c: Likewise.
53903 * string/strcpy.c: Likewise.
53904 * string/strncat.c: Likewise.
53905 * string/strncmp.c: Likewise.
53906 * string/strncpy.c: Likewise.
53907
53908 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53909
53910 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53911 __builtin_memcopy is called when src and dest ranges are known to not
53912 overlap.
53913
53914 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53915
53916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53917 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53918 fwd_align_merge macro call.
53919 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53920 bwd_align_merge macro call.
53921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53922
53923 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53924
53925 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53926 bwd_align_merge macros.
53927 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53928 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53930
53931 2012-04-18 David S. Miller <davem@davemloft.net>
53932
53933 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53934
53935 2012-04-18 Andreas Jaeger <aj@suse.de>
53936
53937 [BZ# 6794]
53938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53939 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53940 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53941
53942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53943 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53944 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53945
53946 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53947 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53948 Adjust for changed ldbl-128 files.
53949
53950 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53951 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53952 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53953
53954 2012-04-17 David S. Miller <davem@davemloft.net>
53955
53956 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53957
53958 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53959
53960 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53961 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53962 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53963 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53964 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53965 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53966
53967 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53968
53969 [BZ #6794]
53970 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53971 * math/libm-test.inc: Add ilogb errno and exception tests.
53972 * math/w_ilogb.c: New file: ilogb wrapper.
53973 * math/w_ilogbf.c: New file: ilogbf wrapper.
53974 * math/w_ilogbl.c: New file: ilogbl wrapper.
53975 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53976 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53977 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53978 exception being thrown with 0.0 as argument.
53979 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53980 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53981 exception being thrown with 0.0 as argument.
53982 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53983 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53984 exception being thrown with 0.0 as argument.
53985 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53986 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53987 exception being thrown with 0.0 as argument.
53988 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53989 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53990 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53991 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53992 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53993 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53994 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53995 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53996 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53997
53998 2012-04-17 Petr Baudis <pasky@ucw.cz>
53999
54000 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54001 with altivec.
54002
54003 2012-04-16 Marek Polacek <polacek@redhat.com>
54004
54005 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54006
54007 2012-04-16 Marek Polacek <polacek@redhat.com>
54008
54009 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54010 operands of fdivp instruction.
54011
54012 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54013
54014 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54015 * elf/tst-auditmod3b.c: Likewise.
54016 * elf/tst-auditmod4b.c: Likewise.
54017 * elf/tst-auditmod5b.c: Likewise.
54018 * elf/tst-auditmod6b.c: Likewise.
54019 * elf/tst-auditmod6c.c: Likewise.
54020 * elf/tst-auditmod7b.c: Likewise.
54021 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54022 * sysdeps/x86_64/preconfigure.in: Likewise.
54023 * sysdeps/x86_64/preconfigure: Regenerated.
54024
54025 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54026
54027 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54028 __ILP32__.
54029
54030 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54031
54032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54033 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54034
54035 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54036
54037 [BZ #13973]
54038 * locale/iso-639.def: Fix gl language name. Spotted by
54039 Yaron Shahrabani.
54040
54041 2012-04-12 Roland McGrath <roland@hack.frob.com>
54042
54043 [BZ #2074]
54044 * libio/libio.h (__io_write_fn): Update comment.
54045
54046 2012-04-12 Petr Baudis <pasky@ucw.cz>
54047
54048 [BZ #2074]
54049 * stdio.texi (Hook Functions): The user provided writer function
54050 is not allowed to return -1.
54051
54052 2012-04-11 David S. Miller <davem@davemloft.net>
54053
54054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54055
54056 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54057
54058 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54059 Add a leading slash to rtkaio.
54060
54061 2012-04-11 Jim Meyering <meyering@redhat.com>
54062
54063 [BZ #11959]
54064 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54065 It is not necessarily an error to ignore fwrite's return
54066 value. One can reliably use ferror to test for errors after
54067 the fact.
54068
54069 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54070
54071 * bits/types.h (__snseconds_t): New type.
54072 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54073
54074 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54076 (__SNSECONDS_T_TYPE): Likewise.
54077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54078 (__SNSECONDS_T_TYPE): Likewise.
54079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54080 (__SNSECONDS_T_TYPE): Likewise.
54081
54082 2012-04-10 Andreas Jaeger <aj@suse.de>
54083
54084 [BZ #2636]
54085 * manual/time.texi (Processor Time): Return type of times is
54086 elapsed real time since an arbitrary point in the past.
54087 (CPU Time): Move CLK_TCK from here...
54088 (Processor Time): ...to here. Correct description.
54089 * manual/conf.texi (Constants for Sysconf): Correct description of
54090 _SC_CLK_TCK.
54091
54092 2012-04-10 David S. Miller <davem@davemloft.net>
54093
54094 [BZ #13967]
54095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54096 where the is a gap between DT_REL(A) and DT_JMPREL.
54097
54098 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54099
54100 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54101 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54102 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54103
54104 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54105
54106 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54107 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54108 (dl_main): Handle --inhibit-cache.
54109 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54110 _dl_inhibit_cache.
54111 * elf/dl-load.c (_dl_map_object): Use it.
54112 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54113
54114 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54115
54116 [BZ #13872]
54117 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54118 (__ieee754_powl): Saturate large exponents rather than testing for
54119 overflow of y*log2(x).
54120 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54121 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54122 exceptions.
54123
54124 [BZ #11521]
54125 * math/s_ctan.c: Include <float.h>.
54126 (__ctan): Avoid internal overflow or cancellation in calculating
54127 denominator.
54128 * math/s_ctanf.c: Likewise.
54129 * math/s_ctanl.c: Likewise.
54130 * math/s_ctanh.c: Likewise.
54131 * math/s_ctanhf.c: Likewise.
54132 * math/s_ctanhl.c: Likewise.
54133 * math/libm-test.inc (ctan_test): Add more tests.
54134 (ctanh_test): Likewise.
54135 * sysdeps/i386/fpu/libm-test-ulps: Update.
54136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54137
54138 2012-04-09 Andreas Jaeger <aj@suse.de>
54139
54140 [BZ #6894]
54141 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54142 is an optional BSD extension.
54143
54144 [BZ #10254]
54145 * manual/stdio.texi (Opening Streams): Document additional fopen
54146 parameters.
54147
54148 2012-04-09 Roland McGrath <roland@hack.frob.com>
54149
54150 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54151 %eax without telling the compiler.
54152
54153 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54154
54155 [BZ # 13963]
54156 * manual/install.texi: Use sourceware.org.
54157
54158 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54159
54160 [BZ #13873]
54161 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54162 (__ieee754_pow): Generate overflow and underflow using huge*huge
54163 and tiny*tiny rather than just returning constant infinity or zero
54164 for large exponents.
54165 * math/libm-test.inc (pow_test): Require overflow exceptions for
54166 applicable cases of large exponents.
54167
54168 [BZ #706]
54169 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54170 (__ieee754_pow): Use iterative multiplication algorithm only for
54171 integer exponents with absolute value below 1024. Check for odd
54172 integer exponents when using algorithm for real exponents.
54173 * math/libm-test.inc (pow_test): Add more tests.
54174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54175
54176 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54177
54178 [BZ #13705]
54179 * math/libm-test.inc (exp_test): Do not allow overflow exception
54180 on underflow test.
54181
54182 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54183
54184 [BZ #13705]
54185 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54186 instead of __kernel_standard_f.
54187
54188 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54189
54190 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54191 * sysdeps/x86_64/memset_chk.S: Likewise.
54192
54193 2012-04-08 Andreas Jaeger <aj@suse.de>
54194
54195 [BZ #10153]
54196 * manual/startup.texi (Environment Access): Describe return value
54197 for putenv and setenv.
54198
54199 [BZ #6895]
54200 * manual/filesys.texi (Directory Entries): Add description for
54201 DT_LNK.
54202
54203 [BZ #6890]
54204 * manual/filesys.texi (Directory Entries): Clarify that it's file
54205 system not operating system in the description of DT_UNKNOWN.
54206
54207 [BZ #6578]
54208 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54209
54210 2012-04-08 Stephen Compall <s11@member.fsf.org>
54211
54212 [BZ #6649]
54213 * manual/llio.texi (Opening and Closing Files): Add cross
54214 reference to explain mode argument.
54215
54216 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54217
54218 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54219 * sysdeps/x86_64/memset_chk.S: Likewise.
54220
54221 2012-04-07 David S. Miller <davem@davemloft.net>
54222
54223 * elf/elf.h (R_SPARC_WDISP10): Define.
54224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54225 R_SPARC_SIZE32.
54226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54227 R_SPARC_SIZE64 and R_SPARC_H34.
54228
54229 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54230
54231 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54232 conditions and remove no longer applicable assertion.
54233
54234 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54235
54236 * bits/byteswap.h: Include <features.h>.
54237 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54238 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54239
54240 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54241
54242 * bits/byteswap.h (__bswap_16): Removed.
54243 Include <bits/byteswap-16.h> to get __bswap_16.
54244 * sysdeps/i386/bits/byteswap.h: Likewise.
54245 * sysdeps/s390/bits/byteswap.h: Likewise.
54246 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54247 * bits/byteswap-16.h: New file.
54248 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54249 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54250 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54251 * string/Makefile (headers): Add bits/byteswap-16.h.
54252
54253 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54254
54255 [BZ #13895]
54256 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54257 extra indirection.
54258 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54259 * nss/tst-nss-static.c: New.
54260
54261 2012-04-06 Robert Millan <rmh@gnu.org>
54262
54263 [BZ #6486]
54264 * manual/llio.texi (File Position Primitive): lseek
54265 refers to WHENCE when it really means OFFSET.
54266
54267 2012-04-06 Andreas Jaeger <aj@suse.de>
54268
54269 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54270 strncmp declarations.
54271
54272 * abilist/libc.abilist: Add __poll and __ppoll.
54273
54274 2012-04-05 David S. Miller <davem@davemloft.net>
54275
54276 * scripts/check-local-headers.sh: Accept a host triplet in the
54277 path matched by the exclude regexp.
54278
54279 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54280 definition.
54281 * sysdeps/powerpc/powerpc32/dl-machine.h
54282 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54283 * sysdeps/s390/s390-32/dl-machine.h
54284 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54285 * sysdeps/sparc/sparc32/dl-machine.h
54286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54287 * sysdeps/sparc/sparc64/dl-machine.h
54288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54289
54290 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54291 lazy binding.
54292 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54293 undefined symbol errors.
54294
54295 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54296 DT_NEEDED entries.
54297
54298 2012-04-05 Michael Matz <matz@suse.de>
54299
54300 [BZ #13592]
54301 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54302
54303 2012-04-05 Andreas Jaeger <aj@suse.de>
54304
54305 [BZ #13908]
54306 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54307 comment.
54308
54309 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54310
54311 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54312 which ROUND is no valid rounding mode.
54313
54314 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54315
54316 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54317 read again.
54318 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54319
54320 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54321
54322 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54323 an exception using FPU order intentionally.
54324
54325 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54326
54327 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54328 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54329 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54330 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54331
54332 2012-04-05 Simon Josefsson <simon@josefsson.org>
54333
54334 [BZ #12340]
54335 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54336 EINVAL when BUFLEN is too smal.
54337
54338 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54339
54340 [BZ #13553]
54341 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54342 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54343
54344 2012-04-03 Andreas Jaeger <aj@suse.de>
54345
54346 [BZ #13938]
54347 * manual/setjmp.texi (System V contexts): Fix sentence.
54348
54349 [BZ #13926]
54350 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54351 New macro for this case.
54352 [!__GNUC__] (__bswap_64): New inline function for this case.
54353 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54354 * bits/byteswap.h: Likewise.
54355 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54356 ull, guard with __GLIBC_HAVE_LONG_LONG.
54357
54358 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54359 __GLIBC_HAVE_LONG_LONG.
54360
54361 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54362 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54363
54364 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54365
54366 [BZ #13691]
54367 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54368 inptr and inend, rather than using last_ch.
54369
54370 2012-04-02 David S. Miller <davem@davemloft.net>
54371
54372 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54373 * stdio-common/printf-parse.h (read_int): Change return type to
54374 'int', return -1 on INT_MAX overflow.
54375 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54376 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54377 overflows INT_MAX. Check for overflow of in-format-string precision
54378 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54379 SIZE_MAX not INT_MAX for integer overflow test.
54380 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54381 skip the construct in the format string but do not record anything.
54382 * stdio-common/bug22.c: Adjust to test both width/prevision
54383 INT_MAX overflow as well as total length INT_MAX overflow. Check
54384 explicitly for proper errno values.
54385
54386 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54387
54388 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54389 CHAR_MAX.
54390 * string/test-strcmp.c [! WIDE]: Likewise.
54391 * time/tst-mktime2.c: Likewise for INT_MAX.
54392 * string/test-string.h: #include <sys/param.h> for MIN.
54393
54394 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54395 * sysdeps/i386/init-first.c (init): Likewise.
54396 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54397 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54398 * sysdeps/sh/init-first.c (init): Likewise.
54399
54400 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54401
54402 * po/ru.po: Update from translation team.
54403 * po/vi.po: Likewise.
54404
54405 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54406
54407 * resolv/nss_dns/dns-host.c: Merge copyright years.
54408
54409 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54410
54411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54412 Optimize memcpy with prefetch if
54413 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54414 src, dst pointers have unequal 16 byte alignments.
54415
54416 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54417
54418 [BZ #13928]
54419 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54420 from a CNAME entry and return the minimum ttl for the query.
54421 (gaih_getanswer_slice): Likewise.
54422
54423 2012-03-30 Jeff Law <law@redhat.com>
54424
54425 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54426 due to long keys.
54427 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54428 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54429
54430 * resolv/nss_dns/dns-host.c: Update copyright year.
54431
54432 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54433
54434 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54435 requests to save a system call. Fix check that all bytes are sent.
54436
54437 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54438 comments for sendmmsg.
54439
54440 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54441
54442 [BZ #13691]
54443 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54444 with only 1 character between 0x0041 and 0x01b0.
54445 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54446 * wcsmbs/tst-mbsnrtowcs.c: New file.
54447
54448 2012-03-29 David S. Miller <davem@davemloft.net>
54449
54450 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54451 small copies by hand.
54452
54453 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54454
54455 [BZ #13761]
54456 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54457 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54458 group memberships.
54459
54460 2012-03-28 David S. Miller <davem@davemloft.net>
54461
54462 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54463 that branches into memcpy.
54464 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54465 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54467 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54469 bits.
54470 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54471 implementation too.
54472 * sysdeps/sparc/mempcpy.S: New file.
54473
54474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54475 the IFUNC routine in the libc case.
54476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54477
54478 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54479 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54480 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54481 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54482 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54483 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54484 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54485 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54486
54487 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54488 loop to 256 bytes instead of 64 bytes and fix test signedness.
54489
54490 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54491 * sysdeps/sparc/sparc32/Makefile: rather than here...
54492 * sysdeps/sparc/sparc64/Makefile: and here.
54493
54494 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54495
54496 * malloc/mallocbug.c: Avoid warnings about unused variables.
54497
54498 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54499
54500 [BZ #13760]
54501 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54502 in the right place. Discard and retry query if response is
54503 larger than input buffer size.
54504
54505 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54506
54507 [BZ #369]
54508 [BZ #2678]
54509 [BZ #3866]
54510 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54511 x for large integer exponent.
54512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54514 sign of result as needed afterwards.
54515 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54516 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54517 result for underflowing pow the same as for overflow.
54518 (__kernel_standard_l): Handle powl overflow and underflow here
54519 rather than calling __kernel_standard.
54520 * math/libm-test.inc (pow_test): Add more tests.
54521
54522 [BZ #3868]
54523 [BZ #13879]
54524 [BZ #13910]
54525 [BZ #13911]
54526 [BZ #13912]
54527 [BZ #13913]
54528 [BZ #13915]
54529 [BZ #13916]
54530 [BZ #13917]
54531 [BZ #13918]
54532 [BZ #13919]
54533 [BZ #13920]
54534 [BZ #13921]
54535 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54536 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54537 (__kernel_standard_l): New function.
54538 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54539 __kernel_standard.
54540 * math/w_acosl.c (__acosl): Likewise.
54541 * math/w_asinl.c (__asinl): Likewise.
54542 * math/w_atan2l.c (__atan2l): Likewise.
54543 * math/w_atanhl.c (__atanhl): Likewise.
54544 * math/w_coshl.c (__coshl): Likewise.
54545 * math/w_exp10l.c (__exp10l): Likewise.
54546 * math/w_exp2l.c (__exp2l): Likewise.
54547 * math/w_fmodl.c (__fmodl): Likewise.
54548 * math/w_hypotl.c (__hypotl): Likewise.
54549 * math/w_j0l.c (__j0l, __y0l): Likewise.
54550 * math/w_j1l.c (__j1l, __y1l): Likewise.
54551 * math/w_jnl.c (__jnl, __ynl): Likewise.
54552 * math/w_lgammal.c (__lgammal): Likewise.
54553 * math/w_log10l.c (__log10l): Likewise.
54554 * math/w_log2l.c (__log2l): Likewise.
54555 * math/w_logl.c (__logl): Likewise.
54556 * math/w_powl.c (__powl): Likewise.
54557 * math/w_remainderl.c (__remainderl): Likewise.
54558 * math/w_scalbl.c (sysv_scalbl): Likewise.
54559 * math/w_sinhl.c (__sinhl): Likewise.
54560 * math/w_sqrtl.c (__sqrtl): Likewise.
54561 * math/w_tgammal.c (__tgammal): Likewise.
54562 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54563 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54564 * math/libm-test.inc (acos_test): Add more tests.
54565 (acosh_test): Likewise.
54566 (asin_test): Likewise.
54567 (atanh_test): Likewise.
54568 (exp_test): Likewise.
54569 (exp10_test): Likewise.
54570 (exp2_test): Likewise.
54571 (expm1_test): Likewise.
54572 (lgamma_test): Likewise.
54573 (log_test): Likewise.
54574 (log10_test): Likewise.
54575 (log1p_test): Likewise.
54576 (log2_test): Likewise.
54577 (pow_test): Do not allow some spurious overflow exceptions.
54578 (sqrt_test): Add more tests.
54579 (tgamma_test): Likewise.
54580 (y0_test): Likewise.
54581 (y1_test): Likewise.
54582 (yn_test): Likewise.
54583
54584 2012-03-27 Anton Blanchard <anton@samba.org>
54585
54586 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54587 MAP_HUGETLB.
54588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54591
54592 2012-03-27 David S. Miller <davem@davemloft.net>
54593
54594 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54595
54596 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54597 have-as-vis3 check.
54598
54599 2012-03-27 Andreas Jaeger <aj@suse.de>
54600
54601 * sysdeps/x86_64/elf/configure.in: Moved to ...
54602 * sysdeps/x86_64/configure.in: ... here.
54603 * sysdeps/x86_64/elf/start.S: Moved to ...
54604 * sysdeps/x86_64/start.S: ... here.
54605 * sysdeps/x86_64/elf/configure: Delete.
54606
54607 * sysdeps/x86_64/configure.in: Merge contents from
54608 sysdeps/i386/configure.in (without i686 check).
54609
54610 * sysdeps/i386/elf/Versions: Merge into ...
54611 * sysdeps/i386/Versions: ... this.
54612 * sysdeps/i386/elf/Versions: Delete file.
54613 * sysdeps/i386/elf/start.S: Moved to ...
54614 * sysdeps/i386/start.S: ...here.
54615 * sysdeps/i386/elf/configure.in: Merge into...
54616 * sysdeps/i386/configure.in: ...here.
54617 * sysdeps/i386/elf/configure.in: Delete file.
54618 * sysdeps/i386/elf/configure: Delete file.
54619
54620 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54621 * debug/backtracesyms.c: ... here.
54622 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54623 * debug/backtracesymsfd.c: ... here.
54624 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54625 * sysdeps/generic/ifunc-sel.h: ... here.
54626
54627 * sysdeps/unix/i386/start.c: Delete file.
54628 * sysdeps/unix/sparc/start.c: Delete file.
54629 * sysdeps/unix/start.c: Delete file.
54630
54631 * sysdeps/sh/elf/configure.in: Moved to ...
54632 * sysdeps/sh/configure.in: ... here.
54633 * sysdeps/sh/elf/start.S: Moved to ...
54634 * sysdeps/sh/start.S: ... here.
54635 * sysdeps/sh/elf/configure: Delete file.
54636
54637 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54638 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54639 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54640 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54641 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54642 * sysdeps/powerpc/powerpc64/start.S: here.
54643 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54644 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54645 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54646 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54647 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54648
54649 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54650 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54651 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54652 * sysdeps/powerpc/powerpc32/start.S: ... here.
54653 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54654 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54655 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54656
54657 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54658 * sysdeps/powerpc/ifunc-sel.h: ... here.
54659 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54660 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54661
54662 * sysdeps/sparc/elf/configure.in: Moved to ...
54663 * sysdeps/sparc/configure.in: ... here.
54664 * sysdeps/sparc/elf/configure: Delete file.
54665 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54666 * sysdeps/sparc/sparc32/start.S: ... here.
54667 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54668 * sysdeps/sparc/sparc64/start.S: ... here.
54669 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54670 * sysdeps/sparc/sparc32/Makefile: ... this.
54671 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54672 * sysdeps/sparc/sparc64/Makefile: ... this.
54673
54674 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54675 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54676 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54677 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54678 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54679 * sysdeps/s390/s390-32/setjmp.S: ... here.
54680 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54681 * sysdeps/s390/s390-32/configure.in: ... here.
54682 * sysdeps/s390/s390-32/elf/configure: Delete file.
54683 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54684 * sysdeps/s390/s390-32/start.S: ... here.
54685
54686 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54687 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54688 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54689 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54690 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54691 * sysdeps/s390/s390-64/setjmp.S: ... here.
54692 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54693 * sysdeps/s390/s390-64/configure.in: ... here
54694 * sysdeps/s390/s390-64/elf/configure: Delete file.
54695 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54696 * sysdeps/s390/s390-64/start.S: ... here.
54697 * sysdeps/s390/s390-64/elf/configure: Delete.
54698
54699 * configure.in: Remove support for elf directories in sysdeps.
54700
54701 * configure: Regenerated.
54702 * sysdeps/i386/configure: Regenerated.
54703 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54704 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54705 * sysdeps/s390/s390-32/configure: Regenerated.
54706 * sysdeps/s390/s390-64/configure: Regenerated.
54707 * sysdeps/sh/configure: Regenerated.
54708 * sysdeps/sparc/configure: Regenerated.
54709 * sysdeps/x86_64/configure: Regenerated.
54710
54711 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54712
54713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54714
54715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54716 denormal result into account.
54717
54718 2012-03-25 Roland McGrath <roland@hack.frob.com>
54719
54720 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54721 Reported by Allan McRae <allan@archlinux.org>.
54722
54723 2012-03-23 Jeff Law <law@redhat.com>
54724
54725 * nss/getnssent.c (__nss_getent): Fix typo.
54726
54727 2012-03-23 David S. Miller <davem@davemloft.net>
54728
54729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54730
54731 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54732
54733 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54734 to pad to uint64_t for each field.
54735 (dl_tls_index): Replace unsigned long with uint64_t.
54736
54737 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54738 Paul Pluzhnikov <ppluzhnikov@google.com>
54739
54740 [BZ #6528]
54741 * grp/Makefile (otherlibs): Don't set it.
54742 * inet/Makefile (otherlibs): Likewise.
54743 * login/Makefile (otherlibs): Likewise.
54744 * nscd/Makefile (otherlibs): Likewise.
54745 * posix/Makefile (otherlibs): Likewise.
54746 * pwd/Makefile (otherlibs): Likewise.
54747 * rt/Makefile (otherlibs): Likewise.
54748 * sunrpc/Makefile (otherlibs): Likewise.
54749 * nss/Makefile (otherlibs): Likewise.
54750 Add libnss_files to routines and static-only-routines.
54751 ($(objpfx)getent): Remove rule.
54752 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54753 static-only-routines.
54754
54755 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54756
54757 [BZ #13892]
54758 * math/s_cexp.c: Include <float.h>.
54759 (__cexp): Handle exp result overflowing not necessarily
54760 overflowing both real and imaginary parts of result.
54761 * math/s_cexpf.c: Likewise.
54762 * math/s_cexpl.c: Likewise.
54763 * math/libm-test.inc (cexp_test): Add more tests.
54764 * sysdeps/i386/fpu/libm-test-ulps: Update.
54765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54766
54767 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54768
54769 * include/link.h (ELFW): New macro.
54770 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54771 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54772
54773 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54774
54775 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54776 with uint64_t.
54777
54778 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54779
54780 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54781 declaration.
54782 (struct La_x32_retval): Likewise.
54783
54784 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54785
54786 * sysdeps/x86_64/preconfigure.in: New file.
54787 * sysdeps/x86_64/preconfigure: New generated file.
54788
54789 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54790
54791 [BZ #13824]
54792 * math/e_exp2l.c: Include <float.h>.
54793 (__ieee754_exp2l): Handle overflow and underflow cases
54794 separately. Only pass fractional part of argument to
54795 __ieee754_expl.
54796 * math/libm-test.inc (exp2_test): Add more tests.
54797
54798 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54799 negating x to take absolute value.
54800 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54801 Likewise.
54802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54804 Likewise.
54805 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54806 computing low part if x was negated.
54807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54808
54809 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54810
54811 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54812 la_x32_gnu_pltexit.
54813 (pltexit): Cast int_retval to ptrdiff_t.
54814 * elf/tst-auditmod3b.c: Likewise.
54815 * elf/tst-auditmod4b.c: Likewise.
54816 * elf/tst-auditmod5b.c: Likewise.
54817 * elf/tst-auditmod6b.c: Likewise.
54818 * elf/tst-auditmod6c.c: Likewise.
54819 * elf/tst-auditmod7b.c: Likewise.
54820
54821 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54822 and x32_gnu_pltexit.
54823
54824 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54825 __ELF_NATIVE_CLASS.
54826 (La_x32_regs): New macro.
54827 (La_x32_retval): Likewise.
54828 (la_x32_gnu_pltenter): New function prototype.
54829 (la_x32_gnu_pltexit): Likewise.
54830
54831 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54832
54833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54834 exponent.
54835
54836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54837
54838 * configure.in (libc_cv_cc_nofma): Check for option to disable
54839 generation of FMA instructions.
54840 * configure: Regenerate.
54841 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54842 * sysdeps/ieee754/dbl-64/Makefile: New file.
54843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54844 Remove brandred-fma4.
54845 (CFLAGS-brandred-fma4.c): Remove.
54846 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54847 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54848 define.
54849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54850 define.
54851
54852 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54853
54854 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54855 LLONG_MAX != LONG_MAX.
54856 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54857 (_fitoa_word): Likewise.
54858 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54859 LLONG_MAX != LONG_MAX.
54860 * stdio-common/_itowa.h: Include <_itoa.h>.
54861 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54862 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54863 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54864 only if not defined.
54865 (_ITOA_WORD_TYPE): Likewise.
54866 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54867 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54868
54869 2012-03-21 David S. Miller <davem@davemloft.net>
54870
54871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54872
54873 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54874
54875 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54876 of x86_64 when setting libc_cv_slibdir, libdir and
54877 libc_cv_localedir.
54878 * sysdeps/unix/sysv/linux/configure: Regenerated.
54879
54880 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54881
54882 * manual/lang.texi (Old Varargs): Remove section.
54883 (How Variadic): Update menu.
54884 (va_start): Do not mention varargs.h.
54885
54886 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54887 Joseph Myers <joseph@codesourcery.com>
54888
54889 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54890 link test.
54891 * configure: Regenerated.
54892
54893 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54894
54895 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54896 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54897 conformtest.pl
54898
54899 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54900
54901 * NOTES: Remove.
54902 * Makefile (files-for-dist): Remove NOTES.
54903 (NOTES): Remove rule.
54904 * README: Don't refer to NOTES.
54905 * manual/creature.texi: Don't include macros.texi.
54906 * manual/intro.texi (creature.texi): Remove comment referring to
54907 NOTES.
54908
54909 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54910 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54911 * configure: Regenerated.
54912 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54913 LIBC_TRY_CC_OPTION.
54914 (libc_cv_as_i686): Likewise.
54915 (libc_cv_cc_avx): Likewise.
54916 (libc_cv_cc_sse2avx): Likewise.
54917 (libc_cv_cc_fma4): Likewise.
54918 (libc_cv_cc_novzeroupper): Likewise.
54919 * sysdeps/i386/configure: Regenerated.
54920
54921 [BZ #13883]
54922 * sysdeps/i386/fpu/s_cexp.S: Remove.
54923 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54924 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54925 * math/libm-test.inc (cexp_test): Add more tests.
54926 * sysdeps/i386/fpu/libm-test-ulps: Update.
54927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54928
54929 2012-03-21 Allan McRae <allan@archlinux.org>
54930
54931 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54932
54933 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54934
54935 [BZ #13871]
54936 * math/w_exp2.c: Do not include <float.h>.
54937 (o_threshold, u_threshold): Remove.
54938 (__exp2): Calculate result before checking finiteness and calling
54939 __kernel_standard.
54940 * math/w_exp2f.c: Likewise.
54941 * math/w_exp2l.c: Likewise.
54942 * math/libm-test.inc (exp2_test): Require overflow exception for
54943 1e6 input.
54944
54945 [BZ #3866]
54946 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54947 range of signed 64-bit integers before using fistpll. Remove
54948 checks for whether integers fit in mantissa bits.
54949 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54950 the range of signed 32-bit integers before using fistpl. Remove
54951 checks for whether integers fit in mantissa bits.
54952 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54953 (__ieee754_powl): Test for y outside the range of signed 64-bit
54954 integers before using fistpll. Reduce 64-bit values to 63-bit
54955 ones as needed.
54956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54957 divide-by-zero is raised for zero to large negative powers.
54958 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54959 (__ieee754_powl): Test for y outside the range of signed 64-bit
54960 integers before using fistpll. Reduce 64-bit values to 63-bit
54961 ones as needed.
54962 * math/libm-test.inc (pow_test): Add more tests.
54963
54964 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54965
54966 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54967 <stdio-common/_itoa.h>.
54968 * debug/segfault.c: Likewise.
54969 * elf/dl-cache.c: Likewise.
54970 * elf/dl-minimal.c: Likewise.
54971 * elf/dl-misc.c: Likewise.
54972 * elf/dl-sysdep.c: Likewise.
54973 * elf/dl-version.c: Likewise.
54974 * elf/rtld.c: Likewise.
54975 * hurd/hurdsock.c: Likewise.
54976 * hurd/lookup-retry.c: Likewise.
54977 * malloc/malloc.c: Likewise.
54978 * malloc/mtrace.c: Likewise.
54979 * nscd/nscd_getgr_r.c: Likewise.
54980 * nscd/nscd_getpw_r.c: Likewise.
54981 * nscd/nscd_getserv_r.c: Likewise.
54982 * posix/getopt_init.c: Likewise.
54983 * posix/wordexp.c: Likewise.
54984 * stdio-common/_itoa.c: Likewise.
54985 * stdio-common/printf_fphex.c: Likewise.
54986 * stdio-common/vfprintf.c: Likewise.
54987 * string/_strerror.c: Likewise.
54988 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54989 * sysdeps/i386/i686/hp-timing.h: Likewise.
54990 * sysdeps/mach/_strerror.c: Likewise.
54991 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54992 * sysdeps/mach/hurd/sethostid.c: Likewise.
54993 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54994 * sysdeps/mach/xpg-strerror.c: Likewise.
54995 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54997 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54998 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54999 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55000 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55002 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55003 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55004 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55005 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55006 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55007 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55008 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55009 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55010 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55011 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55012 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55013 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55014 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55015 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55016
55017 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55018
55019 * stdio-common/_itoa.h: Moved to ...
55020 * sysdeps/generic/_itoa.h: Here.
55021
55022 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55023
55024 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55025 instead of "_itoa.h" and "_itowa.h".
55026 * stdio-common/vfprintf.: Likewise.
55027
55028 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55029
55030 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55031 <bits/wordsize.h>.
55032 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55033 (__signbit): Likwise.
55034 (llrintf): Likwise.
55035 (llrint): Likwise.
55036
55037 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55038
55039 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55040 __WORDSIZE != 64.
55041
55042 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55043
55044 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55045 OVERFLOW_EXCEPTION_OK.
55046 * math/libm-test.inc ("Philosophy"): Update comment about
55047 exception testing.
55048 (OVERFLOW_EXCEPTION): Define.
55049 (OVERFLOW_EXCEPTION_OK): Likewise.
55050 (INVALID_EXCEPTION_OK): Renumber.
55051 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55052 (IGNORE_ZERO_INF_SIGN): Likewise.
55053 (test_exceptions): Handle FE_OVERFLOW.
55054 (exp10_test): Expect overflow exceptions.
55055 (exp2_test): Likewise.
55056 (expm1_test): Likewise.
55057 (nextafter_test): Likewise.
55058 (pow_test): Likewise.
55059 (scalbn_test): Likewise.
55060 (scalbln_test): Likewise.
55061
55062 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55063
55064 * sysdeps/x86_64/bits/atomic.h
55065 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55066 64bit integer.
55067 (atomic_exchange_acq): Likewise.
55068 (__arch_exchange_and_add_body): Likewise.
55069 (__arch_add_body): Likewise.
55070 (atomic_add_negative): Likewise.
55071 (atomic_add_zero): Likewise.
55072
55073 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55074
55075 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55076 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55077
55078 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55079
55080 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55081 Check __x86_64__ instead of __WORDSIZE.
55082
55083 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55084
55085 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55086
55087 2012-03-19 David S. Miller <davem@davemloft.net>
55088
55089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55090
55091 * sysdeps/sparc/fpu/fenv_private.h: New file.
55092 * sysdeps/sparc/fpu/math_private.h: Use it.
55093 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55094 Remove.
55095 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55096 (libc_feholdexcept_setroundl): Remove.
55097 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55098 Remove.
55099 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55100 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55101
55102 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55103
55104 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55105 int64_t instead of long int.
55106 (INSERT_WORDS64): Likwise.
55107
55108 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55109
55110 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55111 _Unwind_GetCFA return to _Unwind_Ptr first.
55112
55113 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55114
55115 [BZ #13629]
55116 * math/s_clog.c: Include <float.h>.
55117 (__clog): Scale large or subnormal inputs.
55118 * math/s_clogf.c: Likewise.
55119 * math/s_clogl.c: Likewise.
55120 * math/s_clog10.c: Include <float.h>.
55121 (M_LOG10_2): Define.
55122 (__clog10): Scale large or subnormal inputs.
55123 * math/s_clog10f.c: Likewise.
55124 * math/s_clog10l.c: Likewise.
55125 * math/libm-test.inc (clog_test): Add more tests.
55126 (clog10_test): Likewise.
55127 * sysdeps/i386/fpu/libm-test-ulps: Update.
55128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55129
55130 [BZ #11451]
55131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55132 x and y.
55133 * math/libm-test.inc (atan2_test): Add another test.
55134
55135 * Makerules (common-objdir-compile): Remove.
55136 * sysdeps/unix/Makefile (config-generated): Do not add
55137 $(unix-generated) to variable.
55138 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55139 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55140 Remove rule.
55141 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55142 Likewise.
55143 [generic bits/local_lim.h] (before-compile): Do not append to
55144 variable.
55145 [generic bits/local_lim.h] (common-generated): Likewise.
55146 [generic sys/param.h] (before-compile): Do not append to variable.
55147 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55148 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55149 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55150 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55151 include.
55152 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55153 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55154 [generic sys/param.h] ($(addprefix
55155 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55156 [generic sys/param.h] (common-generated): Do not append to
55157 variable.
55158 [generic sys/param.h] (sysdep_headers): Likewise.
55159 [generic bits/errno.h] (before-compile): Do not append to
55160 variable.
55161 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55162 rule.
55163 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55164 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55165 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55166 [generic bits/errno.h] (common-generated): Do not append to
55167 variable.
55168 [generic bits/ioctls.h] (before-compile): Do not append to
55169 variable.
55170 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55171 rule.
55172 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55173 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55174 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55175 rule.
55176 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55177 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55178 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55179 [generic bits/ioctls.h] (common-generated): Do not append to
55180 variable.
55181 [generic sys/syscall.h] (syscall.h): Remove variable.
55182 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55183 rule.
55184 [generic sys/syscall.h] (before-compile): Do not append to
55185 variable.
55186 [generic sys/syscall.h] (common-generated): Likewise.
55187 * sysdeps/unix/errnos-tmpl.c: Remove file.
55188 * sysdeps/unix/errnos.awk: Likewise.
55189 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55190 * sysdeps/unix/ioctls.awk: Likewise.
55191 * sysdeps/unix/mk-local_lim.c: Likewise.
55192 * sysdeps/unix/snarf-ioctls: Likewise.
55193
55194 2012-03-19 Richard Henderson <rth@twiddle.net>
55195
55196 * sysdeps/i386/fpu/fenv_private.h: New file.
55197 * sysdeps/i386/fpu/math_private.h: Use it.
55198 (math_opt_barrier, math_force_eval): Remove.
55199 (libc_feholdexcept_setround_53bit): Remove.
55200 (libc_feupdateenv_53bit): Remove.
55201 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55202 (math_opt_barrier, math_force_eval): Remove.
55203 (libc_feholdexcept): Remove.
55204 (libc_feholdexcept_setround): Remove.
55205 (libc_fetestexcept, libc_fesetenv): Remove.
55206 (libc_feupdateenv_test): Remove.
55207 (libc_feupdateenv, libc_feholdsetround): Remove.
55208 (libc_feresetround): Remove.
55209
55210 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55211 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55212
55213 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55214 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55215 (libc_feupdateenv_testl): New.
55216 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55217 (libc_feupdateenv_testf): New.
55218 (libc_feupdateenv): Use libc_feupdateenv_test.
55219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55221
55222 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55223 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55224 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55225 (libc_feresetround_noex): New.
55226 (libc_feresetround_noexf): New.
55227 (libc_feresetround_noexl): New.
55228 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55229 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55230 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55231 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55232 SET_RESTORE_ROUND.
55233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55235 (__cos): Likewise.
55236 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55237 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55238 SET_RESTORE_ROUND_NOEX.
55239 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55240 SET_RESTORE_ROUND_NOEXF.
55241 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55242 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55243 (libc_feholdsetroundf): New.
55244 (libc_feresetround, libc_feresetroundf): New.
55245
55246 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55247 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55248 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55249
55250 * sysdeps/generic/math_private.h: Include <fenv.h>.
55251 (default_libc_feholdexcept): New.
55252 (default_libc_feholdexcept_setround): New.
55253 (default_libc_fesetenv, default_libc_feupdateenv): New.
55254 (libc_feholdexcept): Only define if undefined.
55255 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55257 (libc_feholdexcept_setroundl): Likewise.
55258 (libc_feholdexcept_setround_53bit): Likewise.
55259 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55262 (libc_feupdateenv_53bit): Likewise.
55263 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55264 (libc_feholdexcept): Convert from macro to inline function.
55265 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55266 (libc_fesetenv, libc_feupdateenv): Likewise.
55267
55268 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55269 not previously defined.
55270 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55271 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55272 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55273 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55274 * sysdeps/ieee754/flt-32/math_private.h: New file.
55275 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55276 math_private.h below SET_FLOAT_WORD.
55277 (__isnan, __isinf_ns, __finite): Remove.
55278 (__isnanf, __isinf_nsf, __finitef): Remove.
55279
55280 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55281
55282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55283
55284 2012-03-17 David S. Miller <davem@davemloft.net>
55285
55286 [BZ #6471]
55287 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55288 for 2.16.
55289
55290 2012-03-16 David S. Miller <davem@davemloft.net>
55291
55292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55293 warnings.
55294
55295 [BZ #6471]
55296 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55297 properly.
55298 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55299 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55300 sysdep_routines when subdir is sysvipc.
55301 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55302 __getshmlba helper.
55303
55304 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55305
55306 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55307
55308 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55309 [__LP64__].
55310
55311 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55312
55313 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55314 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55315 (__lround): Renamed to ...
55316 (__llround): This. Replace long int with long long int.
55317 Define lround functions as aliases of llround functions.
55318 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55319
55320 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55321
55322 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55323 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55324 adresses to uintptr_t. Replace "long int" and "unsigned long
55325 int" with "greg_t" on va_arg.
55326
55327 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55328
55329 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55330 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55331
55332 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55333 Move e_machine check before EI_CLASS check. Handle x32
55334 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55335 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55336 SKIP_EM_IA_64 and include
55337 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55338
55339 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55340 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55341 (add_system_dir): New macro.
55342
55343 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55344 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55345
55346 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55347
55348 [BZ #2551]
55349 [BZ #2552]
55350 [BZ #2553]
55351 [BZ #2554]
55352 [BZ #2562]
55353 [BZ #2563]
55354 [BZ #2565]
55355 [BZ #2566]
55356 [BZ #2576]
55357 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55358 (y0): Likewise.
55359 * math/w_j0f.c (j0f): Likewise.
55360 (y0f): Likewise.
55361 * math/w_j0l.c (__j0l): Likewise.
55362 (__y0l): Likewise.
55363 * math/w_j1.c (j1): Likewise.
55364 (y1): Likewise.
55365 * math/w_j1f.c (j1f): Likewise.
55366 (y1f): Likewise.
55367 * math/w_j1l.c (__j1l): Likewise.
55368 (__y1l): Likewise.
55369 * math/w_jn.c (jn): Likewise.
55370 (yn): Likewise.
55371 * math/w_jnf.c (jnf): Likewise.
55372 (ynf): Likewise.
55373 * math/w_jnl.c (__jnl): Likewise.
55374 (__ynl): Likewise.
55375 * math/libm-test.inc (j0_test): Add more tests.
55376 (j1_test): Likewise.
55377 (jn_test): Likewise. Add trailing semicolon to existing test.
55378 (y0_test): Likewise.
55379 (y1_test): Likewise.
55380 * sysdeps/i386/fpu/libm-test-ulps: Update.
55381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55382
55383 [BZ #13851]
55384 [BZ #13854]
55385 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55386 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55387 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55389 (__tanl): Set errno for infinite argument.
55390 * sysdeps/i386/fpu/mptan.c: Remove.
55391 * sysdeps/i386/fpu/s_tan.S: Likewise.
55392 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55393 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55394 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55395 * math/libm-test.inc (tan_test): Add more tests and enable more
55396 tests for double and long double.
55397 * sysdeps/i386/fpu/libm-test-ulps: Update.
55398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55399
55400 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55401
55402 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55403 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55404
55405 2012-03-16 Roland McGrath <roland@hack.frob.com>
55406
55407 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55408 * configure.in: Use it for both main tree and add-ons.
55409 * configure: Regenerated.
55410
55411 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55412
55413 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55414
55415 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55416
55417 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55418 in comment.
55419
55420 [BZ #13851]
55421 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55422 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55423 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55424 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55425 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55426 infinite argument.
55427 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55429 != 0 for prec == 2.
55430 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55431 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55432 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55433 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55434 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55435 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55436 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55437 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55438 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55439 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55440 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55441 * math/libm-test.inc (cos_test): Add more tests and enable more
55442 tests for long double.
55443 (sin_test): Likewise.
55444 (sincos_test): Likewise.
55445 * sysdeps/i386/fpu/libm-test-ulps: Update.
55446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55447
55448 2012-03-16 David S. Miller <davem@davemloft.net>
55449
55450 * sysdeps/sparc/fpu/math_private.h: New file.
55451
55452 2012-03-15 David S. Miller <davem@davemloft.net>
55453
55454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55455 file.
55456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55458 file.
55459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55465 sysdep routines.
55466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55467
55468 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55469 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55470
55471 * sysdeps/sparc/sparc-ifunc.h: New file.
55472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55473 sparc-ifunc.h
55474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55476 Likewise.
55477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55478 Likewise.
55479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55483 Likewise.
55484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55489 Likewise.
55490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55491 Likewise.
55492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55516
55517 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55518
55519 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55520 scaling.
55521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55522
55523 2012-03-15 Andreas Jaeger <aj@suse.de>
55524
55525 [BZ #13852]
55526 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55527 ieee754/flt-32 implementation for sin, cos and sincos.
55528 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55529 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55530 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55531 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55532 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55533 ieee754/flt-32 implementation for tan.
55534
55535 * math/libm-test.inc (cos_test): Enable some large input tests for
55536 float as well
55537 (sin_test): Likewise.
55538 (sincos_test): Likewise.
55539 (tan_test): Add tests for large input.
55540
55541 * sysdeps/i386/fpu/libm-test-ulps: Update.
55542
55543 2012-03-15 Andreas Jaeger <aj@suse.de>
55544
55545 [BZ #13658]
55546 * math/libm-test.inc (cos_test): Add more test cases.
55547 (sin_test): Likewise.
55548 (sincos_test): Likewise.
55549
55550 2012-03-15 Andreas Jaeger <aj@suse.de>
55551
55552 [BZ #13837]
55553 * math/libm-test.inc (cos_test): Add a test case for large input
55554 value.
55555 (sin_test): Likewise.
55556 (sincos_test): Likewise.
55557
55558 2012-03-15 Andreas Jaeger <aj@suse.de>
55559 Joseph Myers <joseph@codesourcery.com>
55560
55561 [BZ #13658]
55562 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55563 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55564 * sysdeps/i386/fpu/branred.c: Likewise.
55565 * sysdeps/i386/fpu/dosincos.c: Likewise.
55566 * sysdeps/i386/fpu/mpa.c: Likewise.
55567 * sysdeps/i386/fpu/s_cos.S: Likewise.
55568 * sysdeps/i386/fpu/s_sin.S: Likewise.
55569 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55570 * sysdeps/i386/fpu/sincos32.c: Likewise.
55571
55572 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55573 Define.
55574 (libc_feupdateenv_53bit): Define.
55575 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55576 Define.
55577 (libc_feupdateenv_53bit): Define.
55578
55579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55580 53 bit (without extend i386 double precision).
55581
55582 * math/libm-test.inc (sincos_test): Add tests for large input.
55583 (sin): Likewise.
55584 (cos): Likewise.
55585
55586 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55587
55588 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55589
55590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55591
55592 2012-03-15 David S. Miller <davem@davemloft.net>
55593
55594 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55595 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55596 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55597 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55610 file.
55611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55613 file.
55614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55616 file.
55617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55619 file.
55620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55622 fmin/fmax sysdep routines.
55623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55624
55625 2012-03-14 David S. Miller <davem@davemloft.net>
55626
55627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55656 routines.
55657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55658 file.
55659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55661 file.
55662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55664 file.
55665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55667 file.
55668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55670 file.
55671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55673 file.
55674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55675 file.
55676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55677 file.
55678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55679 file.
55680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55681 New file.
55682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55683 file.
55684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55685 file.
55686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55688 file.
55689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55691 file.
55692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55694 file.
55695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55697 VIS3 routines.
55698
55699 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55700 New file.
55701
55702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55703
55704 * sysdeps/sparc/configure.in: New file.
55705 * sysdeps/sparc/configure: Generate.
55706 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55707 * configure: Regenerate.
55708 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55709 * config.make.in (have-as-vis3): New.
55710 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55711 available use -Av9d instead of -Av9a.
55712 * sysdeps/sparc/sparc64/Makefile: Likewise.
55713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55715 New file.
55716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55717 file.
55718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55719 New file.
55720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55721 file.
55722 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55727
55728 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55729 fzeros/fnegs to load 0x80000000 into a float register instead of
55730 using the stack.
55731 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55732
55733 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55734
55735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55736 bits/syscall.h.
55737 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55738 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55739 ($(inst_includedir)/bits/syscall.h): Remove rule.
55740 ($(objpfx)bits/syscall.d): Include instead of
55741 $(objpfx)syscall-list.d.
55742 (generated): Change syscall-list.h and syscall-list.d to
55743 bits/syscall.h and bits/syscall.d.
55744
55745 2012-03-14 Roland McGrath <roland@hack.frob.com>
55746
55747 [BZ #13846]
55748 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55749
55750 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55751
55752 [BZ #13841]
55753 * math/s_csqrt.c: Include <float.h>.
55754 (__csqrt): Scale large or subnormal inputs.
55755 * math/s_csqrtf.c: Likewise.
55756 * math/s_csqrtl.c: Likewise.
55757 * math/libm-test.inc (csqrt_test): Add more tests.
55758 * sysdeps/i386/fpu/libm-test-ulps: Update.
55759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55760
55761 [BZ #13840]
55762 * math/libm-test.inc (hypot_test): Add more tests.
55763
55764 2012-03-13 David S. Miller <davem@davemloft.net>
55765
55766 [BZ #13840]
55767 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55768 double-precision for the calculation instead of scaling.
55769
55770 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55771
55772 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55773 manipulate bits before adding and subtracting TWO52[sx].
55774 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55775 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55776 Likewise.
55777 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55778
55779 2012-03-13 David S. Miller <davem@davemloft.net>
55780
55781 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55782 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55784 rtld-global-offsets.h
55785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55786
55787 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55788 large parameters.
55789
55790 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55791
55792 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55793 'err' in the ifdef scope in which it is actually used.
55794
55795 * nss/nss_db/db-init.c: Include string.h
55796
55797 2012-03-12 David S. Miller <davem@davemloft.net>
55798
55799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55800 masking out of the most significant byte of random value used.
55801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55802 Fix coding style in previous change.
55803
55804 * sysdeps/unix/sysv/linux/kernel-features.h
55805 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55806 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55807 expression.
55808 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55809 later.
55810
55811 2012-03-11 David S. Miller <davem@davemloft.net>
55812
55813 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55814 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55815 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55816 for 'resultvar' otherwise things get truncated on 64-bit.
55817
55818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55819 Fix masking out of the most significant byte of random value used.
55820
55821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55822
55823 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55824
55825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55826
55827 2012-03-09 David S. Miller <davem@davemloft.net>
55828
55829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55830 variables with appropriate CPP guards.
55831 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55832 from the frame pointer, not the stack pointer. Correct layout
55833 comments. Fix test on resulting framesize and the management of
55834 the outregs buffer for pltexit. Preserve floating point return
55835 values across _dl_call_pltexit call.
55836 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55837 framesize and the management of the outregs buffer for pltexit.
55838 Preserve floating point return values across _dl_call_pltexit
55839 call.
55840 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55841 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55842 (la_sparc64_gnu_pltexit): New functions.
55843 (print_exit): Fix format string for return register value.
55844
55845 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55846
55847 * sunrpc/Makefile (others): Add rpcgen.
55848 ($(objpfx)rpcgen): Remove special build rule and dependency on
55849 libc.
55850 * sunrpc/rpcgen.c: New file.
55851
55852 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55853
55854 [BZ #13673]
55855 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55856 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55857 * sysdeps/i386/crti.S: Likewise.
55858 * sysdeps/i386/crtn.S: Likewise.
55859 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55860 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55861 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55862 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55863 * sysdeps/sh/crti.S: Likewise.
55864 * sysdeps/sh/crtn.S: Likewise.
55865 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55866
55867 [BZ #13673]
55868 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55869 with URL.
55870 * locale/programs/locfile-kw.gperf: Likewise.
55871 * locale/programs/charmap-kw.h: Regenerated.
55872 * locale/programs/locfile-kw.h: Likewise.
55873
55874 [BZ #13673]
55875 * intl/plural.y: Replace FSF snail mail address with URL.
55876 * intl/plural.c: Regenerated.
55877
55878 2012-03-09 Richard Henderson <rth@twiddle.net>
55879
55880 * include/math_private.h: Remove file.
55881 * math/math_private.h: Move file ...
55882 * sysdeps/generic/math_private.h: ... here.
55883
55884 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55885 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55886 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55887
55888 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55889 and <math_private.h>.
55890 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55891 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55892 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55893 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55894 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55895 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55898 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55899 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55902 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55904 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55905 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55907 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55908 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55909 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55911 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55912 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55914 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55915 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55916 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55919 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55920 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55922 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55923 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55924 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55925 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55926 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55927 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55928 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55930 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55931 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55932 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55933 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55934 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55936 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55937 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55940 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55941 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55942 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55943 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55944 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55947 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55948 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55949 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55951 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55958 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55959 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55961 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55964 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55970 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55971 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55973 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55977 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55978 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55981 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55983 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55984 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55985 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55986 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55987 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55988 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55989 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55990 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55991 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55992 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55993 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55994 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55995 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55996 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55997 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55998 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56000 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56001 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56002 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56003 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56004 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56005 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56006 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56007 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56008 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56009 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56010 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56011 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56013 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56015 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56016 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56017 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56018 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56019 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56020 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56021 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56022 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56023 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56024 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56025 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56026 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56028 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56029 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56030 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56031 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56032 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56033 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56034 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56035 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56036 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56037 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56038 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56039 * sysdeps/ieee754/k_standard.c: Likewise.
56040 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56041 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56043 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56044 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56045 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56046 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56047 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56048 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56049 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56051 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56052 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56053 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56054 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56055 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56057 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56058 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56059 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56060 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56061 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56062 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56063 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56064 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56065 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56066 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56067 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56068 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56070 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56071 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56072 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56073 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56074 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56075 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56076 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56077 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56078 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56079 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56080 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56081 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56082 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56083 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56084 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56085 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56086 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56087 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56088 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56091 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56093 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56094 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56095 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56096 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56097 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56098 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56099 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56100 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56101 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56102 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56109 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56110 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56112 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56117 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56119 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56120 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56121 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56122 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56123 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56124 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56125 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56126 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56127 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56128 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56131 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56132 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56133 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56137 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56138 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56139 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56144 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56147 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56148 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56149 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56150 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56151 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56153 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56156 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56158 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56159 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56161 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56162 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56163 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56164 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56165 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56166 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56167 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56168 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56169 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56170 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56171 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56172 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56173 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56174 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56175 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56176 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56177 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56178 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56179 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56180 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56181 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56182 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56183 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56184 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56185 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56186 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56189 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56190 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56191 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56194 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56195 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56196 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56197 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56198 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56199 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56200 * sysdeps/ieee754/s_lib_version.c: Likewise.
56201 * sysdeps/ieee754/s_matherr.c: Likewise.
56202 * sysdeps/ieee754/s_signgam.c: Likewise.
56203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56205 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56206 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56207 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56208 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56209 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56210 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56211 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56212 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56213 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56214 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56215 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56216 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56217 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56218 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56219 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56220 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56221 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56224
56225 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56226
56227 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56228 * sunrpc/rpc_main.c: Likewise.
56229 * sunrpc/rpc_svcout.c: Likewise.
56230
56231 2012-03-09 David S. Miller <davem@davemloft.net>
56232
56233 * include/math_private.h: New file.
56234
56235 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56236
56237 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56238 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56239 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56240 from <bits/socket_type.h>.
56241 (enum __socket_type): Don't define here.
56242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56244 bits/socket_type.h.
56245
56246 [BZ #13566]
56247 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56248 checking __USE_GNU.
56249
56250 * Makerules ($(inst_includedir)/%.h): New rule.
56251 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56252 (install-others): Remove variable setting.
56253 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56254
56255 2012-03-08 Richard Henderson <rth@twiddle.net>
56256
56257 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56258 from macro to inline function; merge with the
56259 !__LIBC_INTERNAL_MATH_INLINES version.
56260 (__ieee754_sqrtf): Likewise.
56261
56262 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56263 to inline function.
56264 (__rintf, __floor, __floorf): Likewise.
56265
56266 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56267 macro to inline function.
56268 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56269
56270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56271 not <math/math_private.h>.
56272
56273 2012-03-08 David S. Miller <davem@davemloft.net>
56274
56275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56276 copyright year.
56277 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56278
56279 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56280
56281 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56282 normalization.
56283 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56284 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56285
56286 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56287
56288 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56289 be defined individually, they must be defined as a block. Define
56290 S for printing a string instead of hidint the different by using a
56291 macro for adding the 'l'.
56292 * stdio-common/tst-fphex-wide.c: Adjust.
56293
56294 2012-03-07 Marek Polacek <polacek@redhat.com>
56295
56296 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56297
56298 2012-03-08 Marek Polacek <polacek@redhat.com>
56299
56300 [BZ #13806]
56301 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56302 * stdio-common/tst-fphex.c: Define a few macros to make the
56303 test reusable. Use them.
56304 * stdio-common/tst-fphex-wide.c: New file.
56305
56306 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56307
56308 [BZ #6911]
56309 * manual/macros.texi (gnusystems): New macro.
56310 (nongnusystems): Likewise.
56311 (gnulinuxhurdsystems): Likewise.
56312 (gnuhurdsystems): Likewise..
56313 (gnulinuxsystems): Likewise.
56314 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56315 variants of the GNU system, not "GNU system".
56316 * manual/conf.texi: Likewise.
56317 * manual/errno.texi: Likewise. Update example of errno macro
56318 expansion.
56319 * manual/filesys.texi: Likewise.
56320 (getumask): Document as specific to GNU/Hurd.
56321 * manual/install.texi: Likewise. Reword some references to
56322 GNU/Linux.
56323 * manual/intro.texi: Likewise.
56324 * manual/io.texi: Likewise.
56325 (File Name Portability): Detail which constraints are inapplicable
56326 to all GNU systems and which are only inapplicable to GNU/Hurd.
56327 * manual/job.texi: Likewise.
56328 * manual/llio.texi: Likewise.
56329 (O_NOCTTY): Document as present on GNU/Linux.
56330 * manual/maint.texi: Likewise.
56331 * manual/memory.texi: Likewise.
56332 * manual/pattern.texi: Likewise.
56333 * manual/pipe.texi: Likewise.
56334 * manual/process.texi: Likewise.
56335 * manual/resource.texi: Likewise.
56336 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56337 child on GNU/Hurd.
56338 * manual/setjmp.texi: Likewise.
56339 * manual/signal.texi: Likewise.
56340 * manual/startup.texi: Likewise.
56341 * manual/stdio.texi: Likewise.
56342 * manual/terminal.texi: Likewise.
56343 (ONLCR): Document as POSIX.
56344 (OXTABS): Document availability on GNU/Linux as XTABS.
56345 (ONOEOT): Document availability separately from other bits.
56346 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56347 * manual/time.texi: Likewise.
56348 * manual/users.texi: Likewise.
56349 * INSTALL: Regenerated.
56350 * sysdeps/gnu/errlist.c: Regenerated.
56351
56352 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56353 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56354 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56355 puts.
56356 * configure: Regenerated.
56357
56358 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56359
56360 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56361 default includes instead of AC_HEADER_CHECK.
56362 * sysdeps/i386/configure: Regenerated.
56363
56364 [BZ #10716]
56365 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56366 * math/s_cacoshf.c (__cacoshf): Likewise.
56367 * math/s_cacoshl.c (__cacoshl): Likewise.
56368 * math/s_casinh.c (__casinh): Set signs of result from argument.
56369 * math/s_casinhf.c (__casinhf): Likewise.
56370 * math/s_casinhl.c (__casinhl): Likewise.
56371 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56372 (casinh_test): Add more tests.
56373 * sysdeps/i386/fpu/libm-test-ulps: Update.
56374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56375
56376 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56377
56378 * po/zh_TW.po: Update from translation team.
56379
56380 * login/Makefile (distribute): Remove variable.
56381 * catgets/Makefile: Likewise.
56382 * mach/Makefile: Likewise.
56383 * malloc/Makefile: Likewise.
56384 * misc/Makefile: Likewise.
56385 * iconv/Makefile: Likewise.
56386 * nscd/Makefile: Likewise.
56387 * hurd/Makefile: Likewise.
56388 * manual/Makefile: Likewise.
56389 * locale/Makefile: Likewise.
56390 * intl/Makefile: Likewise.
56391 * conform/Makefile: Likewise.
56392 * nss/Makefile: Likewise.
56393 * time/Makefile: Likewise.
56394 * soft-fp/Makefile: Likewise.
56395 * dirent/Makefile: Likewise.
56396 * gmon/Makefile: Likewise.
56397 * po/Makefile: Likewise.
56398 * rt/Makefile: Likewise.
56399 * socket/Makefile: Likewise.
56400 * math/Makefile: Likewise.
56401 * signal/Makefile: Likewise.
56402 * debug/Makefile: Likewise.
56403 * elf/Makefile: Likewise.
56404 * timezone/Makefile: Likewise.
56405 * stdlib/Makefile: Likewise.
56406 * iconvdata/Makefile: Likewise.
56407 * sunrpc/Makefile: Likewise.
56408 * io/Makefile: Likewise.
56409 * argp/Makefile: Likewise.
56410 * inet/Makefile: Likewise.
56411 * hesiod/Makefile: Likewise.
56412 * grp/Makefile: Likewise.
56413 * csu/Makefile: Likewise.
56414 * wctype/Makefile: Likewise.
56415 * crypt/Makefile: Likewise.
56416 * libio/Makefile: Likewise.
56417 * string/Makefile: Likewise.
56418 * nis/Makefile: Likewise.
56419 * resolv/Makefile: Likewise.
56420 * stdio-common/Makefile: Likewise.
56421 * wcsmbs/Makefile: Likewise.
56422 * dlfcn/Makefile: Likewise.
56423 * posix/Makefile: Likewise.
56424
56425 [BZ #6959]
56426 * timezone/Makefile: Don't install timezone files, just the programs
56427 and scripts.
56428
56429 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56430
56431 * nss/databases.def: Add missing gshadow entry.
56432
56433 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56434
56435 2012-03-06 Marek Polacek <polacek@redhat.com>
56436
56437 [BZ #13726]
56438 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56439 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56440 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56441 * stdio-common/tst-long-dbl-fphex.c: New file.
56442
56443 2012-03-06 David S. Miller <davem@davemloft.net>
56444
56445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56446 (set_obp_int): New function.
56447 (get_obp_int): New function.
56448 (__get_clockfreq_via_dev_openprom): Likewise.
56449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56450 Avoid unused variable warnings on 'val' and use builtin_expect.
56451 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56452 __builtin_expect.
56453 (INLINE_CLONE_SYSCALL): Likewise.
56454
56455 2012-03-05 David S. Miller <davem@davemloft.net>
56456
56457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56458
56459 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56460
56461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56462
56463 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56464 only for |x| >= 40.
56465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56466
56467 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56468
56469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56470 Replace gettimeofday with __vdso_gettimeofday.
56471
56472 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56473 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56474 __vdso_clock_gettime and __vdso_getcpu.
56475
56476 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56477 time with __vdso_time.
56478
56479 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56480
56481 * manual/lang.texi (size_t): Note types to which size_t may be
56482 equivalent with the GNU C Library, but do not describe when
56483 differences between them are significant.
56484
56485 2012-03-05 Andreas Jaeger <aj@suse.de>
56486
56487 * sysdeps/i386/fpu/libm-test-ulps: Update.
56488
56489 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56490
56491 [BZ #3976]
56492 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56493 (__ieee754_pow): Save and restore rounding mode and use
56494 round-to-nearest for main computations.
56495 * math/libm-test.inc (pow_test_tonearest): New function.
56496 (pow_test_towardzero): Likewise.
56497 (pow_test_downward): Likewise.
56498 (pow_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 [BZ #3976]
56504 * math/libm-test.inc (cosh_test_tonearest): New function.
56505 (cosh_test_towardzero): Likewise.
56506 (cosh_test_downward): Likewise.
56507 (cosh_test_upward): Likewise.
56508 (sinh_test_tonearest): Likewise.
56509 (sinh_test_towardzero): Likewise.
56510 (sinh_test_downward): Likewise.
56511 (sinh_test_upward): Likewise.
56512 (main): Call the new functions.
56513 * sysdeps/i386/fpu/libm-test-ulps: Update.
56514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56515
56516 2012-03-05 Tom de Vries <tom@codesourcery.com>
56517
56518 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56519 default stack guard is set in last bytes.
56520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56521
56522 2012-03-05 Kees Cook <keescook@chromium.org>
56523
56524 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56525
56526 [BZ #13656]
56527 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56528 possibly allocate from heap instead of stack.
56529 * stdio-common/bug-vfprintf-nargs.c: New file.
56530 * stdio-common/Makefile (tests): Add nargs overflow test.
56531
56532 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56533
56534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56535
56536 2012-03-03 Marek Polacek <polacek@redhat.com>
56537
56538 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56539 * math/math_private.h: Likewise.
56540 * stdlib/tst-strtod.c: Likewise.
56541 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56542 * sysdeps/x86_64/bits/atomic.h: Likewise.
56543
56544 2012-03-02 David S. Miller <davem@davemloft.net>
56545
56546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56550 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56551 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56552 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56553 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56554
56555 2012-03-02 Roland McGrath <roland@hack.frob.com>
56556
56557 [BZ #13792]
56558 * manual/examples/README: New file, says the example source files
56559 can be used under GPL>=2.
56560 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56561 line containing just "*/".
56562 * manual/examples/add.c: Add copyright header (GPL>=2).
56563 * manual/examples/argp-ex1.c: Likewise.
56564 * manual/examples/argp-ex2.c: Likewise.
56565 * manual/examples/argp-ex3.c: Likewise.
56566 * manual/examples/argp-ex4.c: Likewise.
56567 * manual/examples/atexit.c: Likewise.
56568 * manual/examples/db.c: Likewise.
56569 * manual/examples/dir.c: Likewise.
56570 * manual/examples/dir2.c: Likewise.
56571 * manual/examples/execinfo.c: Likewise.
56572 * manual/examples/filecli.c: Likewise.
56573 * manual/examples/filesrv.c: Likewise.
56574 * manual/examples/fmtmsgexpl.c: Likewise.
56575 * manual/examples/genpass.c: Likewise.
56576 * manual/examples/inetcli.c: Likewise.
56577 * manual/examples/inetsrv.c: Likewise.
56578 * manual/examples/isockad.c: Likewise.
56579 * manual/examples/longopt.c: Likewise.
56580 * manual/examples/memopen.c: Likewise.
56581 * manual/examples/memstrm.c: Likewise.
56582 * manual/examples/mkfsock.c: Likewise.
56583 * manual/examples/mkisock.c: Likewise.
56584 * manual/examples/mygetpass.c: Likewise.
56585 * manual/examples/pipe.c: Likewise.
56586 * manual/examples/popen.c: Likewise.
56587 * manual/examples/rprintf.c: Likewise.
56588 * manual/examples/search.c: Likewise.
56589 * manual/examples/select.c: Likewise.
56590 * manual/examples/setjmp.c: Likewise.
56591 * manual/examples/sigh1.c: Likewise.
56592 * manual/examples/sigusr.c: Likewise.
56593 * manual/examples/stpcpy.c: Likewise.
56594 * manual/examples/strdupa.c: Likewise.
56595 * manual/examples/strftim.c: Likewise.
56596 * manual/examples/strncat.c: Likewise.
56597 * manual/examples/subopt.c: Likewise.
56598 * manual/examples/swapcontext.c: Likewise.
56599 * manual/examples/termios.c: Likewise.
56600 * manual/examples/testopt.c: Likewise.
56601 * manual/examples/testpass.c: Likewise.
56602 * manual/examples/timeval_subtract.c: Likewise.
56603
56604 [BZ #13792]
56605 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56606 function to ...
56607 * manual/timeval_subtract.c.texi: ... here, new file.
56608
56609 2012-03-02 David S. Miller <davem@davemloft.net>
56610
56611 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56612
56613 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56614
56615 [BZ #3976]
56616 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56617 (__sin): Save and restore rounding mode and use round-to-nearest
56618 for all computations.
56619 (__cos): Save and restore rounding mode and use round-to-nearest
56620 for all computations.
56621 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56622 <fenv.h>.
56623 (tan): Save and restore rounding mode and use round-to-nearest for
56624 all computations.
56625 * math/libm-test.inc (cos_test_tonearest): New function.
56626 (cos_test_towardzero): Likewise.
56627 (cos_test_downward): Likewise.
56628 (cos_test_upward): Likewise.
56629 (sin_test_tonearest): Likewise.
56630 (sin_test_towardzero): Likewise.
56631 (sin_test_downward): Likewise.
56632 (sin_test_upward): Likewise.
56633 (tan_test_tonearest): Likewise.
56634 (tan_test_towardzero): Likewise.
56635 (tan_test_downward): Likewise.
56636 (tan_test_upward): Likewise.
56637 (main): Call the new functions.
56638 * sysdeps/i386/fpu/libm-test-ulps: Update.
56639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56640
56641 [BZ #10135]
56642 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56643 small n, then large n, before computing and testing k+n.
56644 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56646 Likewise.
56647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56648 Likewise.
56649 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56650 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56657 * math/libm-test.inc (scalbn_test): Add more tests.
56658 (scalbln_test): Likewise.
56659
56660 * manual/filesys.texi (mode_t): Describe constraints on size and
56661 signedness, not exact equivalence to a particular type.
56662 (ino_t): Likewise.
56663 (ino64_t): Likewise.
56664 (dev_t): Likewise.
56665 (nlink_t): Likewise.
56666 (blkcnt_t): Likewise.
56667 (blkcnt64_t): Likewise.
56668 * manual/llio.texi (off_t): Likewise.
56669
56670 [BZ #3976]
56671 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56672 (__ieee754_exp): Save and restore rounding mode and use
56673 round-to-nearest for all computations.
56674 * math/libm-test.inc (exp_test_tonearest): New function.
56675 (exp_test_towardzero): Likewise.
56676 (exp_test_downward): Likewise.
56677 (exp_test_upward): Likewise.
56678 (main): Call the new functions.
56679 * sysdeps/i386/fpu/libm-test-ulps: Update.
56680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56681
56682 2012-03-01 Chris Demetriou <cgd@google.com>
56683
56684 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56685 have predictable order.
56686
56687 2012-03-01 David S. Miller <davem@davemloft.net>
56688
56689 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56690
56691 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56692 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56693 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56694 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56695
56696 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56697 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56698 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56700 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56701 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56702 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56703 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56704 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56705
56706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56707
56708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56709 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56711
56712 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56713 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56714 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56715 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56716 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56719 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56720 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56721 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56722 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56726 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56728 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56729 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56730 * sysdeps/sparc/elf/configure: Regenerated.
56731
56732 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56733
56734 * configure.in (AS, LD): Require binutils 2.20 or later.
56735 * configure: Regenerated.
56736 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56737 as required minimum version.
56738 * INSTALL: Regenerated.
56739
56740 [BZ #2541]
56741 [BZ #4108]
56742 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56743 before squaring exponent.
56744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56745 bottom long double and 27 bits of top long double before squaring
56746 exponent.
56747 * math/libm-test.inc (erfc_test): Add more tests.
56748 * sysdeps/i386/fpu/libm-test-ulps: Update.
56749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56751
56752 2012-03-01 Kai Tietz <ktietz@redhat.com>
56753
56754 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56755 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56756 containing bit-fields.
56757 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56758 * soft-fp/single.h (_FP_UNION_S): Likewise.
56759 * soft-fp/double.h (_FP_UNION_D): Likewise.
56760
56761 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56762
56763 [BZ #13786]
56764 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56765 not include ../strcmp.S.
56766 [USE_AS_STRNCASECMP_L]: Likewise.
56767 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56768 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56769 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56770 (__strncasecmp_l_ia32): Define as alias to
56771 __strncasecmp_l_nonascii.
56772
56773 [BZ #5794]
56774 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56775 * sysdeps/i386/fpu/libm-test-ulps: Update.
56776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56777
56778 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56780
56781 2012-02-29 Jeff Law <law@redhat.com>
56782
56783 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56784 out of bounds read.
56785
56786 2012-02-29 Marek Polacek <polacek@redhat.com>
56787
56788 [BZ #13706]
56789 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56790 * elf/Makefile: Add rules to run tst-unused-dep.out.
56791
56792 2012-02-28 David S. Miller <davem@davemloft.net>
56793
56794 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56795 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56798 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56799 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56800
56801 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56802
56803 * math/libm-test.inc (llround_test): Move one test from
56804 lround_test. Use TEST_f_L in moved test.
56805 (lround_test): Move misplaced test to llround_test. Add testcase
56806 from bug 2561.
56807
56808 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56809
56810 * sysdeps/x86_64/fpu/e_expf.S: New file.
56811 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56812
56813 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56814
56815 [BZ #13637]
56816 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56817 of remain_len that may cause incomplete multi-byte character and
56818 false match.
56819 * posix/bug-regex33.c: New file.
56820 * posix/Makefile (tests): Add bug-regex33.
56821
56822 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56823
56824 * manual/macros.texi: New file.
56825 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56826 * manual/libc.texinfo: Include macros.texi.
56827 * manual/creatute.texi: Likewise.
56828 * manual/install.texi: Likewise.
56829 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56830 @glibcadj{} in references to the GNU C Library.
56831 * manual/charset.texi: Likewise.
56832 * manual/conf.texi: Likewise.
56833 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56834 when not using those macros.
56835 * manual/creature.texi: Likewise.
56836 * manual/crypt.texi: Likewise.
56837 * manual/errno.texi: Likewise.
56838 * manual/filesys.texi: Likewise.
56839 * manual/header.texi: Likewise.
56840 * manual/install.texi: Likewise.
56841 * manual/intro.texi: Likewise.
56842 * manual/io.texi: Likewise.
56843 * manual/job.texi: Likewise.
56844 * manual/lang.texi: Likewise.
56845 * manual/libc.texiinfo: Likewise.
56846 * manual/llio.texi: Likewise.
56847 * manual/locale.texi: Likewise.
56848 * manual/maint.texi: Likewise.
56849 * manual/math.texi: Likewise.
56850 * manual/memory.texi: Likewise.
56851 * manual/message.texi: Likewise.
56852 * manual/nss.texi: Likewise.
56853 * manual/pattern.texi: Likewise.
56854 * manual/process.texi: Likewise.
56855 * manual/resource.texi: Likewise.
56856 * manual/search.texi: Likewise.
56857 * manual/setjmp.texi: Likewise.
56858 * manual/signal.texi: Likewise.
56859 * manual/socket.texi: Likewise.
56860 * manual/startup.texi: Likewise.
56861 * manual/stdio.texi: Likewise.
56862 * manual/string.texi: Likewise.
56863 * manual/sysinfo.texi: Likewise.
56864 * manual/syslog.texi: Likewise.
56865 * manual/terminal.texi: Likewise.
56866 * manual/time.texi: Likewise.
56867 * manual/users.texi: Likewise.
56868 * INSTALL: Regenerated.
56869 * NOTES: Regenerated.
56870 * sysdeps/gnu/errlist.c: Regenerated.
56871
56872 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56873
56874 * include/dirent.h: Include <dirstream.h> before
56875 <dirent/dirent.h>.
56876
56877 2012-02-28 David S. Miller <davem@davemloft.net>
56878
56879 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56880 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56881 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56882 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56883
56884 2012-02-27 David S. Miller <davem@davemloft.net>
56885
56886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56888 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56889 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56890
56891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56892 frame pointer instead of stack pointer relative arg slot.
56893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56896
56897 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56898
56899 [BZ #3992]
56900 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56901
56902 2012-02-27 David S. Miller <davem@davemloft.net>
56903
56904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56908 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56909 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56910 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56911 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56912
56913 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56914
56915 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56916 later. Allow versions 5-9.
56917 * configure: Regenerated.
56918 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56919 required minimum version and 4.6 as recommended version. Do not
56920 mention bugs in GCC 2.7 and 2.8.
56921 * INSTALL: Regenerated.
56922
56923 2012-02-27 David S. Miller <davem@davemloft.net>
56924
56925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56931 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56932 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56933
56934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56935 manipulate bits before adding and subtracting TWO112[sx].
56936 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56937
56938 2012-02-27 Roland McGrath <roland@hack.frob.com>
56939
56940 [BZ #13775]
56941 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56942 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56943 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56944 being in POSIX, because they are in 1003.1-2008.
56945
56946 * rt/tst-aio.c: Include <fcntl.h>.
56947 * rt/tst-aio7.c: Likewise.
56948 * rt/tst-aio64.c: Likewise.
56949
56950 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56951
56952 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56953
56954 * manual/install.texi (--with-headers): Describe headers as
56955 interface headers, not private headers.
56956 (Specific advice for GNU/Linux systems): Describe use of headers
56957 from "make headers_install", not private headers from older
56958 kernels.
56959 * INSTALL: Regenerated.
56960 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56961 Change to 2.6.19.
56962 * sysdeps/unix/sysv/linux/configure: Regenerated.
56963
56964 * manual/llio.texi (fclean): Remove documentation.
56965
56966 * manual/Makefile (libc-texi-generated): New variable. Include
56967 version.texi.
56968 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56969 $(libc-texi-generated), not duplicated list of files.
56970 (version.texi, stamp-version): New rules.
56971 (realclean): Remove $(libc-texi-generated), not individual files
56972 from that list. Do not remove dir-add.texinfo.
56973 * manual/libc.texinfo: Comment out uses of edition numbers and
56974 references to printed manual. Remove last-updated dates.
56975 (EDITION): Comment out.
56976 (ISBN): Likewise.
56977 (VERSION, UPDATED): Remove.
56978 (version.texi): Include.
56979
56980 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56981
56982 * sysdeps/posix/spawni.c: Include <signal.h>.
56983 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56984 * sysdeps/pthread/aio_fsync.c: Likewise.
56985
56986 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56987
56988 * conform/Makefile (tests): Run only when not cross-compiling and
56989 when fast-check is not defined.
56990
56991 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56992 * conform/data/limits.h-data: Fixes for POSIX2008.
56993 * conform/run-conformtest.sh: Run all tests.
56994 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56995 headers.
56996 * include/bits/dlfcn.h: Likewise.
56997 * include/langinfo.h: Likewise.
56998 * include/monetary.h: Likewise.
56999 * include/sys/poll.h: Likewise.
57000
57001 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57002 for __USE_GNU.
57003 * posix/spawn.h: Define __need_sigset_t.
57004 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57005 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57006 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57007 to get sigevent_t only.
57008 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57009 only for __USE_GNU.
57010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57011 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57012 process_vm_writev only for __USE_GNU.
57013 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57014
57015 * conform/Makefile: For now ignore errors from run-conformtest.
57016 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57017 POSIX to avoid namespace pollution. Don't prepend headers.
57018 * conform/data/aio.h-data: Fixes for POSIX testing.
57019 * conform/data/fcntl.h-data: Likewise.
57020 * conform/data/glob.h-data: Likewise.
57021 * conform/data/grp.h-data: Likewise.
57022 * conform/data/pthread.h-data: Likewise.
57023 * conform/data/pwd.h-data: Likewise.
57024 * conform/data/signal.h-data: Likewise.
57025 * conform/data/spawn.h-data: Likewise.
57026 * conform/data/stdio.h-data: Likewise.
57027 * conform/data/stdlib.h-data: Likewise.
57028 * conform/data/stropts.h-data: Likewise.
57029 * conform/data/sys/mman.h-data: Likewise.
57030 * conform/data/sys/stat.h-data: Likewise.
57031 * conform/data/sys/types.h-data: Likewise.
57032 * conform/data/sys/wait.h-data: Likewise.
57033 * conform/data/time.h-data: Likewise.
57034 * conform/data/unistd.h-data: Likewise.
57035 * conform/data/utime.h-data: Likewise.
57036
57037 * io/sys/stat.h: fchmod was always in POSIX.
57038 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57039 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57040 * rt/aio.h: Define __need_timespec before including <time.h>.
57041 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57042 struct. Add forward declaration of pthread_attr_t and use it in
57043 sigevent.
57044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57046 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57047 always remove CLK_TCK definition.
57048
57049 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57050
57051 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57052
57053 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57054
57055 * conform/run-conformtest.sh: New file.
57056 * conform/Makefile: Run run-conformtest for tests.
57057 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57058 support.
57059
57060 * conform/data/uchar.h-data: New file.
57061 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57062 * conform/data/arpa/inet.h-data: Likewise.
57063 * conform/data/assert.h-data: Likewise.
57064 * conform/data/complex.h-data: Likewise.
57065 * conform/data/cpio.h-data: Likewise.
57066 * conform/data/ctype.h-data: Likewise.
57067 * conform/data/dirent.h-data: Likewise.
57068 * conform/data/dlfcn.h-data: Likewise.
57069 * conform/data/errno.h-data: Likewise.
57070 * conform/data/fcntl.h-data: Likewise.
57071 * conform/data/float.h-data: Likewise.
57072 * conform/data/fmtmsg.h-data: Likewise.
57073 * conform/data/fnmatch.h-data: Likewise.
57074 * conform/data/ftw.h-data: Likewise.
57075 * conform/data/glob.h-data: Likewise.
57076 * conform/data/grp.h-data: Likewise.
57077 * conform/data/iconv.h-data: Likewise.
57078 * conform/data/inttypes.h-data: Likewise.
57079 * conform/data/langinfo.h-data: Likewise.
57080 * conform/data/libgen.h-data: Likewise.
57081 * conform/data/limits.h-data: Likewise.
57082 * conform/data/locale.h-data: Likewise.
57083 * conform/data/math.h-data: Likewise.
57084 * conform/data/monetary.h-data: Likewise.
57085 * conform/data/mqueue.h-data: Likewise.
57086 * conform/data/ndbm.h-data: Likewise.
57087 * conform/data/net/if.h-data: Likewise.
57088 * conform/data/netdb.h-data: Likewise.
57089 * conform/data/netinet/in.h-data: Likewise.
57090 * conform/data/nl_types.h-data: Likewise.
57091 * conform/data/poll.h-data: Likewise.
57092 * conform/data/pthread.h-data: Likewise.
57093 * conform/data/pwd.h-data: Likewise.
57094 * conform/data/regex.h-data: Likewise.
57095 * conform/data/sched.h-data: Likewise.
57096 * conform/data/search.h-data: Likewise.
57097 * conform/data/semaphore.h-data: Likewise.
57098 * conform/data/setjmp.h-data: Likewise.
57099 * conform/data/signal.h-data: Likewise.
57100 * conform/data/spawn.h-data: Likewise.
57101 * conform/data/stdarg.h-data: Likewise.
57102 * conform/data/stdio.h-data: Likewise.
57103 * conform/data/stdlib.h-data: Likewise.
57104 * conform/data/string.h-data: Likewise.
57105 * conform/data/strings.h-data: Likewise.
57106 * conform/data/stropts.h-data: Likewise.
57107 * conform/data/sys/ipc.h-data: Likewise.
57108 * conform/data/sys/mman.h-data: Likewise.
57109 * conform/data/sys/msg.h-data: Likewise.
57110 * conform/data/sys/resource.h-data: Likewise.
57111 * conform/data/sys/select.h-data: Likewise.
57112 * conform/data/sys/sem.h-data: Likewise.
57113 * conform/data/sys/shm.h-data: Likewise.
57114 * conform/data/sys/socket.h-data: Likewise.
57115 * conform/data/sys/stat.h-data: Likewise.
57116 * conform/data/sys/statvfs.h-data: Likewise.
57117 * conform/data/sys/time.h-data: Likewise.
57118 * conform/data/sys/timeb.h-data: Likewise.
57119 * conform/data/sys/times.h-data: Likewise.
57120 * conform/data/sys/types.h-data: Likewise.
57121 * conform/data/sys/uio.h-data: Likewise.
57122 * conform/data/sys/un.h-data: Likewise.
57123 * conform/data/sys/utsname.h-data: Likewise.
57124 * conform/data/sys/wait.h-data: Likewise.
57125 * conform/data/syslog.h-data: Likewise.
57126 * conform/data/tar.h-data: Likewise.
57127 * conform/data/termios.h-data: Likewise.
57128 * conform/data/utime.h-data: Likewise.
57129 * conform/data/utmpx.h-data: Likewise.
57130 * conform/data/varargs.h-data: Likewise.
57131 * conform/data/wchar.h-data: Likewise.
57132 * conform/data/wctype.h-data: Likewise.
57133 * conform/data/wordexp.h-data: Likewise.
57134
57135 * include/stropts.h: New file.
57136 * include/uchar.h: New file.
57137 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57138 * include/assert.h: Likewise.
57139 * include/ctype.h: Likewise.
57140 * include/dirent.h: Likewise.
57141 * include/dlfcn.h: Likewise.
57142 * include/fcntl.h: Likewise.
57143 * include/fnmatch.h: Likewise.
57144 * include/glob.h: Likewise.
57145 * include/grp.h: Likewise.
57146 * include/libio.h: Likewise.
57147 * include/locale.h: Likewise.
57148 * include/math.h: Likewise.
57149 * include/net/if.h: Likewise.
57150 * include/netdb.h: Likewise.
57151 * include/netinet/in.h: Likewise.
57152 * include/pthread.h: Likewise.
57153 * include/pwd.h: Likewise.
57154 * include/regex.h: Likewise.
57155 * include/sched.h: Likewise.
57156 * include/search.h: Likewise.
57157 * include/setjmp.h: Likewise.
57158 * include/signal.h: Likewise.
57159 * include/stdio.h: Likewise.
57160 * include/stdlib.h: Likewise.
57161 * include/string.h: Likewise.
57162 * include/sys/cdefs.h: Likewise.
57163 * include/sys/mman.h: Likewise.
57164 * include/sys/msg.h: Likewise.
57165 * include/sys/resource.h: Likewise.
57166 * include/sys/select.h: Likewise.
57167 * include/sys/socket.h: Likewise.
57168 * include/sys/stat.h: Likewise.
57169 * include/sys/statvfs.h: Likewise.
57170 * include/sys/time.h: Likewise.
57171 * include/sys/times.h: Likewise.
57172 * include/sys/uio.h: Likewise.
57173 * include/sys/utsname.h: Likewise.
57174 * include/sys/wait.h: Likewise.
57175 * include/termios.h: Likewise.
57176 * include/time.h: Likewise.
57177 * include/ulimit.h: Likewise.
57178 * include/unistd.h: Likewise.
57179 * include/utime.h: Likewise.
57180 * include/wchar.h: Likewise.
57181 * include/wctype.h: Likewise.
57182 * include/wordexp.h: Likewise.
57183
57184 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57185
57186 * time/time.h: TIME_UTC must be a macro.
57187 Make timespec_get available for ISO C11 only as well.
57188
57189 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57190
57191 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57192 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57193
57194 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57195
57196 * configure.in: Use -o not -a in test for unsupported multi-arch.
57197
57198 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57199
57200 * manual/texinfo.tex: Update to version 2012-01-19.16.
57201
57202 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57203
57204 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57205
57206 2012-02-24 Roland McGrath <roland@hack.frob.com>
57207
57208 [BZ #13738]
57209 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57210 * manual/fdl-1.3.texi: New file.
57211 * manual/fdl-1.1.texi: File removed.
57212
57213 [BZ #13738]
57214 * manual/libc.texinfo (FDL_VERSION): New @set.
57215 Use it for mention of FDL in cover text.
57216 (Documentation License): Use it in @include file name.
57217
57218 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57219 Roland McGrath <roland@hack.frob.com>
57220
57221 [BZ #5461]
57222 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57223 (not LONG_LONG_MAX and LONG_LONG_MIN.
57224 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57225 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57226 name.
57227 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57228
57229 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57230
57231 [BZ #2547]
57232 [BZ #11365]
57233 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57234 manipulate bits before adding and subtracting TWO23[sx].
57235 * math/libm-test.inc (nearbyint_test): Add more tests.
57236
57237 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57238
57239 [BZ #2548]
57240 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57241 bits before adding and subtracting TWO23[sx].
57242 * math/libm-test.inc (rint_test): Add more tests.
57243 (rint_test_tonearest): Likewise.
57244 (rint_test_towardzero): Likewise.
57245 (rint_test_downward): Likewise.
57246 (rint_test_upward: Likewise.
57247
57248 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57249
57250 [BZ #10110]
57251 * include/stdc-predef.h: New file. Extracted from features.h.
57252 * include/features.h: Include stdc-predef.h.
57253 * Makefile (headers): Add stdc-predef.h.
57254 * CONFORMANCE (Compiler limitations): Update.
57255
57256 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57257
57258 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57259
57260 2012-02-21 David S. Miller <davem@davemloft.net>
57261
57262 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57263 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57264
57265 2012-02-20 David S. Miller <davem@davemloft.net>
57266
57267 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57268 using a normal save/restore sequence, rather than allocating a
57269 dummy stack frame just to store a frame pointer and restore.
57270 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57271
57272 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57273
57274 * manual/install.texi: Fix stray word in line-wrapped comment.
57275
57276 2012-02-20 David S. Miller <davem@davemloft.net>
57277
57278 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57279 both binutils and gcc support GOTDATA.
57280
57281 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57282 "rd %pc" in the PIC register setup sequences.
57283
57284 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57285 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57286 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57287 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57288 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57293 (SYSCALL_ERROR_HANDLER): Likewise.
57294 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57295 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57297 (SYSCALL_ERROR_HANDLER): Likewise.
57298
57299 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57300 (HAVE_GCC_GOTDATA): New.
57301 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57302 relocation support in both binutils and gcc.
57303 * sysdeps/sparc/elf/configure: Regenerate.
57304
57305 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57306 * sysdeps/sparc/sparc32/elf/configure: Delete.
57307 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57308 * sysdeps/sparc/sparc64/elf/configure: Delete.
57309 * sysdeps/sparc/elf/configure.in: New file.
57310 * sysdeps/sparc/elf/configure: Generate.
57311
57312 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57313 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57314 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57315 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57316 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57317
57318 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57319
57320 * manual/install.texi: Do not mention specific glibc version
57321 numbers.
57322 * manual/libc.texinfo (VERSION, UPDATED): Update.
57323 (@copying): Use @copyright{} and range of years.
57324
57325 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57326
57327 [BZ #13695]
57328 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57329 [crti.S not in sysdirs] (generated): Do not append.
57330 [crti.S not in sysdirs] (omit-deps): Likewise.
57331 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57332 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57333 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57334 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57335 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57336 Likewise.
57337 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57338 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57339 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57340 * csu/defs.awk: Remove file.
57341 * sysdeps/generic/initfini.c: Likewise.
57342 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57343 variable.
57344 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57345 Likewise.
57346
57347 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57348
57349 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57350 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57351 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57353 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57354 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57355 <bits/epoll.h>.
57356 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57357 (__EPOLL_PACKED): Define to empty if not defined by
57358 <bits/epoll.h>.
57359 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57361 bits/epoll.h.
57362
57363 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57364
57365 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57366 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57367 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57368 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57369 <bits/timerfd.h>.
57370 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57372 bits/timerfd.h.
57373
57374 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57375
57376 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57377 in C locale.
57378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57382
57383 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57384
57385 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57386 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57387
57388 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57389
57390 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57391 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57392 defined.
57393 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57394 Likewise.
57395 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57396 entry for 2.16.
57397
57398 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57399
57400 * math/w_acos.c: Use non-signaling floating-point comparisons.
57401 * math/w_acosf.c: Likewise.
57402 * math/w_acosh.c: Likewise.
57403 * math/w_acoshf.c: Likewise.
57404 * math/w_acoshl.c: Likewise.
57405 * math/w_acosl.c: Likewise.
57406 * math/w_asin.c: Likewise.
57407 * math/w_asinf.c: Likewise.
57408 * math/w_asinl.c: Likewise.
57409 * math/w_atanh.c: Likewise.
57410 * math/w_atanhf.c: Likewise.
57411 * math/w_atanhl.c: Likewise.
57412 * math/w_exp2.c: Likewise.
57413 * math/w_exp2f.c: Likewise.
57414 * math/w_exp2l.c: Likewise.
57415 * math/w_j0.c: Likewise.
57416 * math/w_j0f.c: Likewise.
57417 * math/w_j0l.c: Likewise.
57418 * math/w_j1.c: Likewise.
57419 * math/w_j1f.c: Likewise.
57420 * math/w_j1l.c: Likewise.
57421 * math/w_jn.c: Likewise.
57422 * math/w_jnf.c: Likewise.
57423 * math/w_log.c: Likewise.
57424 * math/w_log10.c: Likewise.
57425 * math/w_log10f.c: Likewise.
57426 * math/w_log10l.c: Likewise.
57427 * math/w_log2.c: Likewise.
57428 * math/w_log2f.c: Likewise.
57429 * math/w_log2l.c: Likewise.
57430 * math/w_logf.c: Likewise.
57431 * math/w_logl.c: Likewise.
57432 * math/w_sqrt.c: Likewise.
57433 * math/w_sqrtf.c: Likewise.
57434 * math/w_sqrtl.c: Likewise.
57435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57436 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57437 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57438 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57439 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57440
57441 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57442
57443 [BZ #9739]
57444 * manual/string.texi (strnlen): Use correct parameter name in
57445 equivalent expression.
57446
57447 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57448
57449 [BZ #11174]
57450 * manual/users.texi (seteuid): Consistently use neweuid for
57451 argument name.
57452
57453 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57454
57455 [BZ #13704]
57456 * manual/nss.texi (Services in the NSS configuration): Correct
57457 list of services in example configuration file.
57458
57459 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57460
57461 [BZ #11322]
57462 * manual/arith.texi: Remove statements about negative zero
57463 behaving identically to zero.
57464
57465 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57466
57467 [BZ #5993]
57468 * manual/install.texi: Do not document upgrading from libc5.
57469
57470 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57471
57472 [BZ #4596]
57473 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57474
57475 2012-02-18 David S. Miller <davem@davemloft.net>
57476
57477 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57478 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57479 %o7 across the call.
57480 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57481 instead.
57482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57483 SETUP_PIC_REG_LEAF.
57484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57485 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57486 * sysdeps/sparc/crtn.S: Likewise.
57487
57488 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57489
57490 * aout/Makefile: Remove.
57491
57492 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57493
57494 [BZ #13058]
57495 * manual/examples/argp-ex1.c (main): Format definition in GNU
57496 style.
57497 * manual/examples/argp-ex2.c (main): Likewise.
57498 * manual/examples/argp-ex3.c (main): Likewise.
57499 * manual/examples/argp-ex4.c (main): Likewise.
57500 * manual/examples/longopt.c (main): Use new-style prototype
57501 definition.
57502 * manual/examples/strncat.c (main): Specify return type and use
57503 (void) for arguments.
57504 * manual/examples/subopt.c (main): Use char **argv argument.
57505
57506 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57507
57508 [BZ #5077]
57509 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57510 rounding modes.
57511
57512 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57513
57514 [BZ #6907]
57515 * manual/string.texi (strchr): Change when strchrnul is
57516 recommended.
57517
57518 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57519
57520 [BZ #174]
57521 * manual/locale.texi (setlocale): Document LOCPATH.
57522
57523 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57524
57525 [BZ #10210]
57526 * manual/process.texi (execle): Move @dots{} before last argument.
57527
57528 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57529
57530 [BZ #12047]
57531 * manual/charset.texi (Generic Charset Conversion): Fix typo
57532 (LC_TYPE -> LC_CTYPE).
57533
57534 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57535
57536 [BZ #5805]
57537 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57538 (scalbnf): Likewise.
57539 (scalbnl): Likewise.
57540 (scalbln): Likewise.
57541 (scalblnf): Likewise.
57542 (scalblnl): Likewise.
57543 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57544 (vwarnx): Likewise.
57545 (verr): Likewise.
57546 (verrx): Likewise.
57547 * manual/filesys.texi (telldir): Use braces around return type.
57548 * manual/llio.texi (mmap): Add space after comma.
57549 (mmap64): Likewise.
57550 * manual/math.texi (jn): Use @var{} on parameter names.
57551 (jnf): Likewise.
57552 (jnl): Likewise.
57553 (yn): Likewise.
57554 (ynf): Likewise.
57555 (ynl): Likewise.
57556 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57557 line.
57558 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57559 "...".
57560 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57561 (sched_get_priority_max): Likewise.
57562 * manual/signal.texi (sigvec): Add space after comma.
57563 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57564 names.
57565 (if_indextoname): Likewise.
57566 (if_freenameindex): Likewise.
57567 (sendto): Use ',' instead of '.' in prototype.
57568 * manual/startup.texi (syscall): Use @dots{} instead of literal
57569 "...".
57570 * manual/stdio.texi (__fpending): Separate initial words of
57571 paragraph from @deftypefun line.
57572 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57573 "...".
57574 (vsyslog): Use @var{} on parameter names.
57575 * manual/terminal.texi (stty): Use @var{} on parameter names.
57576 * manual/users.texi (getutmp): Use @var{} on parameter names.
57577 (getutmpx): Likewise.
57578
57579 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57580
57581 [BZ #6884]
57582 * manual/stdio.texi (fopen): Fix typos in description of
57583 ",ccs=STRING".
57584
57585 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57586
57587 [BZ #4026]
57588 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57589 get clock_id definition.
57590
57591 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57592
57593 [BZ #4822]
57594 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57595 (madvise): Cast every argument to void on its own.
57596
57597 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57598
57599 [BZ #9902]
57600 * manual/startup.texi (Exit Status): Fix typo.
57601
57602 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57603
57604 [BZ #10140]
57605 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57606 * manual/examples/argp-ex2.c: Likewise.
57607 * manual/examples/argp-ex3.c: Likewise.
57608
57609 2012-02-16 Richard Henderson <rth@redhat.com>
57610
57611 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57612 * sysdeps/s390/s390-32/initfini.c: Remove.
57613 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57614 * sysdeps/s390/s390-64/initfini.c: Remove.
57615
57616 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57617
57618 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57619 compiler output for sysdeps/generic/initfini.c.
57620 * sysdeps/sh/elf/initfini.c: Remove file.
57621
57622 2012-02-16 David S. Miller <davem@davemloft.net>
57623
57624 [BZ #11494]
57625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57626
57627 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57628 * sysdeps/sparc/crti.S: New file.
57629 * sysdeps/sparc/crtn.S: New file.
57630 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57631 * sysdeps/sparc/sparc64/Makefile: Likewise.
57632
57633 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57634
57635 [BZ #3335]
57636 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57637
57638 2012-02-15 Roland McGrath <roland@hack.frob.com>
57639
57640 [BZ #4822]
57641 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57642
57643 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57644 (write, read, close): Likewise.
57645 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57646
57647 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57648
57649 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57650 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57651 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57652 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57653 <bits/signalfd.h>.
57654 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57656 bits/signalfd.h.
57657
57658 2012-02-14 Marek Polacek <polacek@redhat.com>
57659
57660 * sysdeps/x86_64/crti.S: New file.
57661 * sysdeps/x86_64/crtn.S: New file.
57662 * sysdeps/x86_64/elf/initfini.c: Remove file.
57663
57664 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57665
57666 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57667 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57668 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57669 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57670 <bits/inotify.h>.
57671 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57673 bits/inotify.h.
57674
57675 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57676
57677 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57678 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57679 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57680 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57681 <bits/eventfd.h>.
57682 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57684 bits/eventfd.h.
57685
57686 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57687
57688 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57689 __feraiseexcept instead of feraiseexcept.
57690
57691 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57692 nanosleep invocations.
57693 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57694 strings, and add error checking for a nanosleep invocations.
57695
57696 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57697
57698 Replace FSF snail mail address with URLs, as per GNU coding standards.
57699 Most of the snail mail addresses were wrong anyway, and omitting
57700 them makes the source code easier to maintain. Almost all of the
57701 changes are to license notices and to locale LC_IDENTIFICATION
57702 addresses, except for this one:
57703 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57704 not its snail mail address.
57705
57706 2012-02-09 Richard Henderson <rth@twiddle.net>
57707
57708 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57709 of kernel-features.h.
57710
57711 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57712
57713 2012-02-08 Marek Polacek <polacek@redhat.com>
57714
57715 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57716 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57717 * sysdeps/gnu/_G_config.h: Likewise.
57718 * sysdeps/generic/_G_config.h: Likewise.
57719
57720 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57721
57722 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57723 tests.
57724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57725
57726 * sysdeps/powerpc/powerpc32/crti.S: New file.
57727 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57728 * sysdeps/powerpc/powerpc64/crti.S: New file.
57729 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57730
57731 * Makeconfig (have-initfini): Don't set.
57732 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57733 * configure.in (nopic_initfini): Don't substitute.
57734 * config.h.in (HAVE_INITFINI): Don't #undef.
57735 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57736 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57737
57738 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57739
57740 Support crti.S and crtn.S provided directly by architectures.
57741 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57742 [crti.S in sysdirs] (omit-deps): Likewise.
57743 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57744 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57745 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57746 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57747 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57748 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57749 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57750 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57751 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57752 compiler output for sysdeps/generic/initfini.c.
57753 * sysdeps/i386/elf/Makefile: Remove file.
57754 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57755
57756 2012-02-07 Marek Polacek <polacek@redhat.com>
57757
57758 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57759 * sysdeps/gnu/_G_config.h: Likewise.
57760 * sysdeps/mach/hurd/_G_config.h: Likewise.
57761
57762 2012-02-07 Marek Polacek <polacek@redhat.com>
57763
57764 * math/Makefile (tests): Add tst-CMPLX2.
57765 * math/tst-CMPLX2.c: New file.
57766
57767 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57768
57769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57770
57771 * math/libm-test.inc (jn_test): Add missing L suffix.
57772
57773 2012-02-06 Marek Polacek <polacek@redhat.com>
57774
57775 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57776 * sysdeps/i386/fpu/e_powf.S: Likewise.
57777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57778 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57780 * sysdeps/i386/fpu/e_pow.S: Likewise.
57781 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57782 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57783 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57784 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57785 * sysdeps/i386/fpu/e_log2.S: Likewise.
57786 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57787 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57788 * sysdeps/i386/fpu/e_powl.S: Likewise.
57789 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57790 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57791 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57792 * sysdeps/i386/fpu/e_logl.S: Likewise.
57793 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57794 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57795 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57796 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57797 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57799 * sysdeps/i386/fpu/e_log.S: Likewise.
57800 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57802 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57803 * sysdeps/i386/fpu/e_logf.S: Likewise.
57804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57806 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57807 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57808 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57809 * sysdeps/i386/fpu/e_log10.S: Likewise.
57810 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57811 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57812 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57813 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57814 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57815 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57816 * sysdeps/i386/asm-syntax.h: Likewise.
57817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57818 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57820 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57821 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57826 * sysdeps/powerpc/sysdep.h: Likewise.
57827 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57829
57830 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57831
57832 [BZ #411]
57833 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57834
57835 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57836
57837 * sysdeps/i386/sysdep.h: Include <features.h>.
57838 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57839 version.
57840
57841 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57842
57843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57844 Define.
57845 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57846 LOAD_PIC_REG_STR.
57847
57848 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57849
57850 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57851 (SETUP_PIC_REG): Use GET_PC_THUNK.
57852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57853 macro.
57854
57855 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57856
57857 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57858 for non-PIC compilation.
57859 (SETUP_PIC_REG): Add .p2align directive.
57860 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57861 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57862 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57863 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57865 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57866 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57867 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57868 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57869 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57870 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57871 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57872 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57873 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57874 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57876 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57877 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57878 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57879 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57880 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57888 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57889 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57890 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57891 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57892 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57893 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57894 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57895 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57896 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57897 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57898 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57899 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57900 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57901
57902 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57903
57904 * math/tst-CMPLX.c: Include <stdio.h>.
57905
57906 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57907
57908 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57909 float.
57910 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57911 * sysdeps/sparc/bits/mathdef.h: Likewise.
57912
57913 2012-01-31 Marek Polacek <polacek@redhat.com>
57914
57915 * libio/libio.h: Don't define _PARAMS.
57916 * locale/programs/config.h: Don't define PARAMS.
57917 * stdlib/strtol_l.c: Likewise.
57918 (__strtol_l): Remove PARAMS from the prototype.
57919
57920 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57921
57922 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57923 names. Just use the correct names. Remove unnecessary wrapper
57924 functions.
57925 * malloc/arena.c: Likewise.
57926 * malloc/hooks.c: Likewise.
57927
57928 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57929 ARENA_TEST says not to. Simplify test for creation of a new arena.
57930 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57931
57932 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57933
57934 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57935 into tail calls.
57936 (update_get_addr): New function.
57937 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57938 GET_ADDR_MODULE parameter.
57939
57940 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57941
57942 * crypt/cert.c: Remove __STDC__ conditionals.
57943 * crypt/crypt-entry.c: Likewise.
57944 * crypt/crypt_util.c: Likewise.
57945 * libio/filedoalloc.c: Likewise.
57946 * libio/fileops.c: Likewise.
57947 * libio/genops.c: Likewise.
57948 * libio/iofclose.c: Likewise.
57949 * libio/iofdopen.c: Likewise.
57950 * libio/iofopen.c: Likewise.
57951 * libio/iofopen64.c: Likewise.
57952 * libio/iogetdelim.c: Likewise.
57953 * libio/iopopen.c: Likewise.
57954 * libio/obprintf.c: Likewise.
57955 * libio/oldfileops.c: Likewise.
57956 * libio/oldiofclose.c: Likewise.
57957 * libio/oldiofdopen.c: Likewise.
57958 * libio/oldiofopen.c: Likewise.
57959 * libio/oldiopopen.c: Likewise.
57960 * libio/wfiledoalloc.c: Likewise.
57961 * libio/wgenops.c: Likewise.
57962 * locale/programs/xmalloc.c: Likewise.
57963 * misc/syslog.c: Likewise.
57964 * stdio-common/xbug.c: Likewise.
57965 * string/memchr.c: Likewise.
57966 * string/memcmp.c: Likewise.
57967 * string/memrchr.c: Likewise.
57968 * string/rawmemchr.c: Likewise.
57969 * sysdeps/posix/getcwd.c: Likewise.
57970 * time/strftime_l.c: Likewise.
57971
57972 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57973
57974 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57975 * config.make.in (config-cflags-sse2avx): Define.
57976 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57977 Fix typo.
57978
57979 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57980
57981 * scripts/config.guess: Update from upstream config git repository.
57982 * scripts/config.sub: Likewise.
57983
57984 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57985
57986 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57987 (EM_NUM): Update.
57988 (R_TILEPRO_*, R_TILEGX_*): New macros.
57989
57990 * scripts/firstversions.awk: Fix bug in version range handling.
57991
57992 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57993
57994 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57995
57996 * include/sys/epoll.h: New file.
57997 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57998 libc_hidden_def.
57999
58000 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58001
58002 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58003 Avoid unnecessary __WORDSIZE == 64 test.
58004 (fmaxf): Use VEX format if possible.
58005 (fmax): Likewise.
58006 (fminf): Likewise.
58007 (fmin): Likewise.
58008
58009 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58010 * math/math_private.h: Remove libc_fegetround* and
58011 libc_fesetround*.
58012 * sysdeps/i386/configure.in: Check for -msse2avx.
58013 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58014 also if SSE2AVX is defined.
58015 Remove libc_fegetround* and libc_fesetround*.
58016 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58017 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58019 of HAS_YMM_USABLE.
58020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58021 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58022 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58023 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58024 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58025
58026 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58027
58028 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58029
58030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58031 size is not set.
58032 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58033
58034 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58035
58036 [BZ #13618]
58037 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58038 relocation.
58039 * Makeconfig (libm): Define.
58040 * elf/Makefile: Add rules to build and run tst-relsort1.
58041 * elf/tst-relsort1.c: New file.
58042 * elf/tst-relsort1mod1.c: New file.
58043 * elf/tst-relsort1mod2.c: New file.
58044
58045 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58046
58047 * math/s_ldexp.c: Remove __STDC__ conditionals.
58048 * math/s_ldexpf.c: Likewise.
58049 * math/s_ldexpl.c: Likewise.
58050 * math/s_nextafter.c: Likewise.
58051 * math/s_nexttowardf.c: Likewise.
58052 * math/s_significand.c: Likewise.
58053 * math/s_significandf.c: Likewise.
58054 * math/s_significandl.c: Likewise.
58055 * math/w_jnl.c: Likewise.
58056 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58057 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58058 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58059 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58060 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58062 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58063 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58064 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58065 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58066 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58069 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58070 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58071 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58072 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58073 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58075 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58076 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58077 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58082 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58084 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58088 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58089 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58090 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58091 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58092 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58093 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58094 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58095 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58096 * sysdeps/ieee754/k_standard.c: Likewise.
58097 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58098 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58100 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58101 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58102 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58104 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58105 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58106 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58109 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58110 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58111 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58113 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58114 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58115 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58116 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58120 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58122 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58126 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58127 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58128 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58129 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58130 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58132 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58133 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58136 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58137 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58139 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58140 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58142 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58146 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58147 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58150 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58152 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58153 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58154 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58155 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58156 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58158 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58159 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58160 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58161 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58162 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58163 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58164 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58166 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58167 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58168 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58169 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58172 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58173 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58174 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58175 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58176 * sysdeps/ieee754/s_matherr.c: Likewise.
58177 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58181
58182 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58183
58184 * crypt/md5.h: Remove __STDC__ conditionals.
58185 * libio/libioP.h: Likewise.
58186 * locale/programs/config.h: Likewise.
58187 * sysdeps/generic/sysdep.h: Likewise.
58188 * sysdeps/i386/asm-syntax.h: Likewise.
58189 * sysdeps/s390/asm-syntax.h: Likewise.
58190 * sysdeps/unix/sysdep.h: Likewise.
58191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58193
58194 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58195
58196 * libio/libio.h: Remove __STDC__ conditionals.
58197 * malloc/obstack.h: Likewise.
58198 * math/complex.h: Likewise.
58199 * math/math.h: Likewise.
58200 * sysdeps/generic/_G_config.h: Likewise.
58201 * sysdeps/gnu/_G_config.h: Likewise.
58202 * sysdeps/mach/hurd/_G_config.h: Likewise.
58203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58204 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58205 * sysdeps/sparc/bits/mathdef.h: Likewise.
58206
58207 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58208
58209 [BZ #13583]
58210 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58211 Clean up HAS_* macros.
58212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58213 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58214 possible.
58215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58216 HAS_AVX.
58217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58218 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58219 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58220 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58222
58223 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58224
58225 * elf/tst-unique3.cc (gets): Remove declaration.
58226 * elf/tst-unique3lib.cc (gets): Likewise.
58227 * elf/tst-unique3lib2.cc (gets): Likewise.
58228 * elf/tst-unique4.cc (gets): Likewise.
58229
58230 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58231
58232 * include/stdio.h: Add C++ protection. Add gets declarations and
58233 definitions.
58234 * debug/tst-chk1.c: Don't declare gets here.
58235 * stdio-common/tst-gets.c: Likewise.
58236
58237 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58238
58239 * posix/glob: Remove directory.
58240
58241 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58242
58243 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58244
58245 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58246
58247 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58248 of the non-standard EPFNOSUPPORT.
58249
58250 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58251
58252 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58253 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58254 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58255
58256 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58257
58258 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58259
58260 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58261
58262 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58263 transient errors.
58264 * nscd/grpcache.c (cache_addgr): Likewise.
58265 * nscd/hstcache.c (cache_addhst): Likewise.
58266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58267 * nscd/pwdcache.c (cache_addpw): Likewise.
58268 * nscd/servicescache.c (cache_addserv): Likewise.
58269
58270 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58271
58272 * malloc/malloc.c: Various cleanups.
58273 * malloc/hooks.c: Likewise.
58274
58275 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58276 * stdlib/bug-fmtmsg1.c: New file.
58277
58278 * stdlib/fmtmsg.c (init): Add missing unlock.
58279 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58280
58281 2012-01-12 Marek Polacek <polacek@redhat.com>
58282
58283 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58284 and _GNU_SOURCE.
58285
58286 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58287
58288 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58289 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58290 macro to ensure uniqueness of label name.
58291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58293
58294 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58295
58296 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58297
58298 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58299 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58302
58303 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58304
58305 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58306
58307 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58308 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58310
58311 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58312
58313 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58314 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58317
58318 * math/bits/math-finite.h: Add ldexp support.
58319
58320 2012-01-10 Marek Polacek <polacek@redhat.com>
58321
58322 * locale/programs/localedef.h (show_archive_content): Add noreturn
58323 attribute.
58324
58325 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58326
58327 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58328
58329 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58330
58331 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58332
58333 * io/Makefile (headers): Add bits/poll2.h.
58334
58335 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58336
58337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58338 typo #include statement.
58339
58340 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58341
58342 * include/sys/cdefs.h: Define __attribute_alloc_size.
58343 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58344 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58345 * elf/pldd.c: Likewise.
58346 * iconv/iconv_charmap.c: Likewise.
58347 * iconv/iconvconfig.c: Likewise.
58348 * iconv/strtab.c: Likewise.
58349 * locale/programs/locale.c: Likewise.
58350 * locale/programs/localedef.h: Likewise.
58351 * locale/programs/simple-hash.c: Likewise.
58352 * nscd/nscd.h: Likewise.
58353 * nss/makedb.c: Likewise.
58354 * sysdeps/generic/ldconfig.h: Likewise.
58355 * locale/programs/localedef.c: Remove xmalloc prototype.
58356 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58357
58358 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58359
58360 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58361 appropriate.
58362
58363 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58364
58365 * math/Makefile (tests): Add tst-CMPLX.
58366 * math/tst-CMPLX.c: New file.
58367
58368 * math/complex.h (CMPLXL): Fix typo.
58369
58370 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58371 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58372 GLIBC_2.16.
58373 * debug/tst-chk1.c: Add poll and ppoll tests.
58374 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58375 * include/sys/poll.h: Add hidden proto for ppoll.
58376 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58377 * sysdeps/mach/hurd/ppoll.c: Likewise.
58378 * io/ppoll.c: Likewise.
58379 * debug/poll_chk.c: New file.
58380 * debug/ppoll_chk.c: New file.
58381 * include/bits/poll2.h: New file.
58382 * io/bits/poll2.h: New file.
58383
58384 [BZ #1350]
58385 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58386
58387 * configure.in: static is always set to yes. Remove.
58388 * config.make.in: Don't set build-static.
58389 * Makeconfig: Remove use of build-static.
58390 * dlfcn/Makefile: Likewise.
58391 * elf/Makefile: Likewise.
58392 * math/Makefile: Likewise.
58393 * misc/Makefile: Likewise.
58394 * nptl/Makefile: Likewise.
58395 * sysdeps/mach/hurd/Makefile: Likewise.
58396
58397 * configure.in: PWD_P is not used anymore.
58398 * config.make.in: Remove PWD_P entry.
58399
58400 * configure.in: Remove last remnants of RANLIB.
58401 No need to check for signed size_t anymore.
58402 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58403 and IA-64.
58404 Remove __builtin_expect test because we require at least gcc 3.4.
58405 * aclocal.m4: Likewise.
58406
58407 * wcsmbs/mbrtoc16.c: Implement using towc function.
58408 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58409 * wcsmbs/wcsmbsload.c: Likewise.
58410 * iconv/gconv_simple.c: Likewise.
58411 * iconv/gconv_int.h: Likewise.
58412 * iconv/gconv_builtin.h: Likewise.
58413 * iconv/iconv_prog.c: Remove CHAR16 handling.
58414
58415 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58416
58417 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58418
58419 * configure.in: Remove --with-elf and --enable-bounded options.
58420 Dont set base_machine for ia64. More non-ELF conditions removed.
58421 Remove testing and setting of leading underscore information.
58422 * config.make.in (build-bounded): Set to no.
58423 * config.h.in: Remove NO_UNDERSCORES entry.
58424 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58425 them.
58426 * csu/start.c: Remove !NO_UNDERSCORE code.
58427 * locale/localeinfo.h: Likewise.
58428 * sysdeps/generic/machine-gmon.h: Likewise.
58429 * sysdeps/generic/sysdep.h: Likewise.
58430 * sysdeps/i386/sysdep.h: Likewise.
58431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58432 * sysdeps/mach/sysdep.h: Likewise.
58433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58435 * sysdeps/sh/sysdep.h: Likewise.
58436 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58437 * sysdeps/unix/i386/sysdep.S: Likewise.
58438 * sysdeps/unix/sparc/start.c: Likewise.
58439 * sysdeps/unix/sparc/sysdep.S: Likewise.
58440 * sysdeps/unix/sparc/sysdep.h: Likewise.
58441 * sysdeps/unix/start.c: Likewise.
58442 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58443 * sysdeps/x86_64/sysdep.h: Likewise.
58444
58445 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58446
58447 [BZ #13553]
58448 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58449 for non-gcc.
58450 * argp/argp-fmtstream.h: Use const instead __const.
58451 * argp/argp.h: Likewise.
58452 * assert/assert.h: Likewise.
58453 * bits/fenv.h: Likewise.
58454 * bits/sched.h: Likewise.
58455 * bits/sigset.h: Likewise.
58456 * bits/sigthread.h: Likewise.
58457 * catgets/nl_types.h: Likewise.
58458 * conform/data/pthread.h-data: Likewise.
58459 * crypt/crypt-private.h: Likewise.
58460 * crypt/crypt.h: Likewise.
58461 * crypt/crypt_util.c: Likewise.
58462 * ctype/ctype.h: Likewise.
58463 * debug/execinfo.h: Likewise.
58464 * debug/mbsnrtowcs_chk.c: Likewise.
58465 * debug/mbsrtowcs_chk.c: Likewise.
58466 * debug/wcsnrtombs_chk.c: Likewise.
58467 * debug/wcsrtombs_chk.c: Likewise.
58468 * debug/wcstombs_chk.c: Likewise.
58469 * dirent/dirent.h: Likewise.
58470 * dlfcn/dlfcn.h: Likewise.
58471 * elf/neededtest4.c: Likewise.
58472 * grp/grp.h: Likewise.
58473 * gshadow/gshadow.h: Likewise.
58474 * iconv/gconv.h: Likewise.
58475 * iconv/gconv_int.h: Likewise.
58476 * iconv/gconv_simple.c: Likewise.
58477 * iconv/iconv.h: Likewise.
58478 * iconv/loop.c: Likewise.
58479 * iconv/skeleton.c: Likewise.
58480 * include/aio.h: Likewise.
58481 * include/aliases.h: Likewise.
58482 * include/argz.h: Likewise.
58483 * include/arpa/inet.h: Likewise.
58484 * include/assert.h: Likewise.
58485 * include/dirent.h: Likewise.
58486 * include/dlfcn.h: Likewise.
58487 * include/execinfo.h: Likewise.
58488 * include/fcntl.h: Likewise.
58489 * include/fenv.h: Likewise.
58490 * include/glob.h: Likewise.
58491 * include/grp.h: Likewise.
58492 * include/libintl.h: Likewise.
58493 * include/mntent.h: Likewise.
58494 * include/netdb.h: Likewise.
58495 * include/pwd.h: Likewise.
58496 * include/rpc/netdb.h: Likewise.
58497 * include/sched.h: Likewise.
58498 * include/search.h: Likewise.
58499 * include/shadow.h: Likewise.
58500 * include/signal.h: Likewise.
58501 * include/stdio.h: Likewise.
58502 * include/stdlib.h: Likewise.
58503 * include/string.h: Likewise.
58504 * include/sys/socket.h: Likewise.
58505 * include/sys/stat.h: Likewise.
58506 * include/sys/statfs.h: Likewise.
58507 * include/sys/statvfs.h: Likewise.
58508 * include/sys/syslog.h: Likewise.
58509 * include/sys/time.h: Likewise.
58510 * include/sys/uio.h: Likewise.
58511 * include/time.h: Likewise.
58512 * include/unistd.h: Likewise.
58513 * include/utmp.h: Likewise.
58514 * include/wchar.h: Likewise.
58515 * include/wctype.h: Likewise.
58516 * inet/aliases.h: Likewise.
58517 * inet/arpa/inet.h: Likewise.
58518 * inet/netinet/ether.h: Likewise.
58519 * inet/netinet/in.h: Likewise.
58520 * intl/libintl.h: Likewise.
58521 * io/bits/fcntl2.h: Likewise.
58522 * io/fcntl.h: Likewise.
58523 * io/ftw.h: Likewise.
58524 * io/sys/poll.h: Likewise.
58525 * io/sys/stat.h: Likewise.
58526 * io/sys/statfs.h: Likewise.
58527 * io/sys/statvfs.h: Likewise.
58528 * io/utime.h: Likewise.
58529 * libio/bits/stdio.h: Likewise.
58530 * libio/bits/stdio2.h: Likewise.
58531 * libio/libio.h: Likewise.
58532 * libio/libioP.h: Likewise.
58533 * libio/stdio.h: Likewise.
58534 * locale/lc-ctype.c: Likewise.
58535 * locale/locale.h: Likewise.
58536 * login/utmp.h: Likewise.
58537 * malloc/arena.c: Likewise.
58538 * malloc/malloc.c: Likewise.
58539 * malloc/malloc.h: Likewise.
58540 * malloc/mcheck.c: Likewise.
58541 * malloc/mtrace.c: Likewise.
58542 * math/bits/mathcalls.h: Likewise.
58543 * math/fenv.h: Likewise.
58544 * math/math_private.h: Likewise.
58545 * misc/bits/error.h: Likewise.
58546 * misc/bits/syslog.h: Likewise.
58547 * misc/err.h: Likewise.
58548 * misc/error.h: Likewise.
58549 * misc/fstab.h: Likewise.
58550 * misc/mntent.h: Likewise.
58551 * misc/regexp.h: Likewise.
58552 * misc/search.h: Likewise.
58553 * misc/sgtty.h: Likewise.
58554 * misc/sys/mman.h: Likewise.
58555 * misc/sys/syslog.h: Likewise.
58556 * misc/sys/uio.h: Likewise.
58557 * misc/sys/xattr.h: Likewise.
58558 * misc/ttyent.h: Likewise.
58559 * nis/rpcsvc/ypclnt.h: Likewise.
58560 * nss/nss.h: Likewise.
58561 * posix/bits/unistd.h: Likewise.
58562 * posix/fnmatch.h: Likewise.
58563 * posix/glob.h: Likewise.
58564 * posix/sched.h: Likewise.
58565 * posix/spawn.h: Likewise.
58566 * posix/sys/wait.h: Likewise.
58567 * posix/unistd.h: Likewise.
58568 * posix/wordexp.h: Likewise.
58569 * pwd/pwd.h: Likewise.
58570 * resolv/netdb.h: Likewise.
58571 * resource/sys/resource.h: Likewise.
58572 * rt/aio.h: Likewise.
58573 * rt/bits/mqueue2.h: Likewise.
58574 * rt/mqueue.h: Likewise.
58575 * shadow/shadow.h: Likewise.
58576 * signal/signal.h: Likewise.
58577 * socket/send.c: Likewise.
58578 * socket/sendto.c: Likewise.
58579 * socket/sys/socket.h: Likewise.
58580 * stdio-common/printf.h: Likewise.
58581 * stdlib/bits/stdlib.h: Likewise.
58582 * stdlib/fmtmsg.h: Likewise.
58583 * stdlib/monetary.h: Likewise.
58584 * stdlib/stdlib.h: Likewise.
58585 * stdlib/ucontext.h: Likewise.
58586 * streams/stropts.h: Likewise.
58587 * string/argz.h: Likewise.
58588 * string/bits/string2.h: Likewise.
58589 * string/string.h: Likewise.
58590 * string/strings.h: Likewise.
58591 * sunrpc/rpc/auth.h: Likewise.
58592 * sunrpc/rpc/auth_des.h: Likewise.
58593 * sunrpc/rpc/clnt.h: Likewise.
58594 * sunrpc/rpc/netdb.h: Likewise.
58595 * sunrpc/rpc/pmap_clnt.h: Likewise.
58596 * sunrpc/rpc/xdr.h: Likewise.
58597 * sysdeps/generic/inttypes.h: Likewise.
58598 * sysdeps/generic/net/if.h: Likewise.
58599 * sysdeps/generic/sys/swap.h: Likewise.
58600 * sysdeps/gnu/net/if.h: Likewise.
58601 * sysdeps/gnu/utmpx.h: Likewise.
58602 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58603 * sysdeps/i386/i486/bits/string.h: Likewise.
58604 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58605 * sysdeps/s390/bits/string.h: Likewise.
58606 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58607 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58608 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58609 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58610 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58611 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58612 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58613 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58614 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58615 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58616 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58617 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58618 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58619 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58620 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58621 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58622 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58624 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58627 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58628 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58629 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58630 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58631 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58632 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58634 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58636 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58637 * sysvipc/sys/ipc.h: Likewise.
58638 * sysvipc/sys/msg.h: Likewise.
58639 * sysvipc/sys/sem.h: Likewise.
58640 * sysvipc/sys/shm.h: Likewise.
58641 * termios/termios.h: Likewise.
58642 * time/sys/time.h: Likewise.
58643 * time/time.h: Likewise.
58644 * wcsmbs/bits/wchar2.h: Likewise.
58645 * wcsmbs/uchar.h: Likewise.
58646 * wcsmbs/wchar.h: Likewise.
58647 * wctype/wctype.h: Likewise.
58648
58649 [BZ #13551]
58650 * Makeconfig: Remove all but ELF support including AIX support.
58651 * Makerules: Likewise.
58652 * config.h.in: Likewise.
58653 * config.make.in: Likewise.
58654 * configure: Likewise.
58655 * configure.in: Likewise.
58656 * csu/Makefile: Likewise.
58657 * csu/version.c: Likewise.
58658 * debug/Makefile: Likewise.
58659 * dlfcn/Makefile: Likewise.
58660 * elf/Makefile: Likewise.
58661 * extra-lib.mk: Likewise.
58662 * iconv/Makefile: Likewise.
58663 * include/libc-symbols.h: Likewise.
58664 * include/shlib-compat.h: Likewise.
58665 * resolv/Makefile: Likewise.
58666 * resolv/res_libc.c: Likewise.
58667 * rt/Makefile: Likewise.
58668 * sysdeps/i386/asm-syntax.h: Likewise.
58669 * sysdeps/i386/sysdep.h: Likewise.
58670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58671 * sysdeps/mach/sysdep.h: Likewise.
58672 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58673 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58674 * sysdeps/s390/asm-syntax.h: Likewise.
58675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58677 * sysdeps/sh/sysdep.h: Likewise.
58678 * sysdeps/unix/sparc/sysdep.h: Likewise.
58679 * sysdeps/wordsize-32/divdi3.c: Likewise.
58680 * sysdeps/x86_64/sysdep.h: Likewise.
58681
58682 * argp/Versions: Remove _argp_unlock_xxx.
58683
58684 [BZ #13559]
58685 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58686 * abilist/libBrokenLocale.abilist: Likewise.
58687 * abilist/libanl.abilist: Likewise.
58688 * abilist/libc.abilist: Likewise.
58689 * abilist/libcrypt.abilist: Likewise.
58690 * abilist/libdl.abilist: Likewise.
58691 * abilist/libm.abilist: Likewise.
58692 * abilist/libnsl.abilist: Likewise.
58693 * abilist/libpthread.abilist: Likewise.
58694 * abilist/libresolv.abilist: Likewise.
58695 * abilist/librt.abilist: Likewise.
58696 * abilist/libthread_db.abilist: Likewise.
58697 * abilist/libutil.abilist: Likewise.
58698 * abilist/libnss_db.abilist: New file.
58699
58700 * scripts/abilist.awk: Add support for indirect functions.
58701
58702 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58703
58704 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58705
58706 * shlib-versions: Remove entries for ports architectures.
58707
58708 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58709 files in ports.
58710 * elf/stackguard-macros.h: Remove support for IA-64.
58711 * elf/tst-auditmod1.c: Likewise.
58712 * sysdeps/generic/ldsodefs.h: Likewise.
58713
58714 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58715 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58716 configure files.
58717
58718 [BZ #13552]
58719 * configure.in: Remove --enable-omitfp support.
58720 * FAQ.in: Adjust.
58721 * config.make.in: Likewise.
58722 * Makeconfig: Likewise.
58723 * manual/install.texi: Likewise.
58724
58725 In case anyone cares, the IA-64 architecture could move to ports.
58726 * sysdeps/ia64/*: Removed.
58727 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58728 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58729
58730 [BZ #13555]
58731 * configure.in: Remove entries for unsupported architectures.
58732
58733 [BZ #13533]
58734 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58735 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58736 routines.
58737 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58738 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58739 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58740 fall back to using wcrtomb.
58741 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58742 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58743 renaming.
58744 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58745 * wcsmbs/tst-c16c32-1.c: New file.
58746
58747 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58748 local variable.
58749
58750 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58751
58752 * elf/tst-unique3.cc: Add explicit declaration of gets.
58753 * elf/tst-unique3lib.cc: Likewise.
58754 * elf/tst-unique3lib2.cc: Likewise.
58755 * elf/tst-unique4.cc: Likewise.
58756
58757 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58758
58759 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58760
58761 [BZ #13566]
58762 * assert/assert.h (static_assert): Don't define for C++.
58763 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58764 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58765
58766 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58767
58768 * iconv/loop.c (single loop): Fix assertion in storing of
58769 remaining bytes.
58770
58771 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58772
58773 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58774
58775 * posix/getconf.c: Update copyright year.
58776 * nss/getent.c: Likewise.
58777 * nss/makedb.c: Likewise.
58778 * iconv/iconvconfig.c: Likewise.
58779 * iconv/iconv_prog.c: Likewise.
58780 * elf/ldconfig.c: Likewise.
58781 * elf/pldd.c: Likewise.
58782 * elf/sotruss.ksh: Likewise.
58783 * catgets/gencat.c: Likewise.
58784 * csu/version.c: Likewise.
58785 * elf/ldd.bash.in: Likewise.
58786 * elf/sprof.c (print_version): Likewise.
58787 * locale/programs/locale.c: Likewise.
58788 * locale/programs/localedef.c: Likewise.
58789 * login/programs/pt_chown.c: Likewise.
58790 * nscd/nscd.c (print_version): Likewise.
58791 * debug/xtrace.sh: Likewise.
58792 * malloc/memusage.sh: Likewise.
58793 * malloc/mtrace.pl: Likewise.
58794 * debug/catchsegv.sh: Likewise.
58795
58796 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58797
58798 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58799 pure attribute.
58800
58801 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58802
58803 [BZ #13533]
58804 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58805 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58806 transformations.
58807 * iconv/gconv_int.h: Likewise.
58808 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58809 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58810 from libc for GLIBC_2.16.
58811 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58812 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58813 * wcsmbs/uchar.h: Really define mbstate_t.
58814 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58815 * wcsmbs/c16rtomb.c: New file.
58816 * wcsmbs/mbrtoc16.c: New file.
58817 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58818 for C/POSIX locale.
58819 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58820 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58821
58822 * wcsmbs/wchar.h: Add missing __restrict.
58823
58824 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58825
58826 [BZ #13532]
58827 * time/Makefile (routines): Add timespec_get.
58828 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58829 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58830 timespec for ISO C11.
58831 * time/timespec_get.c: New file.
58832 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58833 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58834
58835 [BZ #13531]
58836 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58837 * stdlib/stdlib.h: Declare aligned_alloc.
58838 * Versions.def: Add GLIBC_2.16 for libc.
58839 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58840
58841 [BZ 13527]
58842 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58843 ISO C11.
58844
58845 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58846 code.
58847
58848 [BZ #13528]
58849 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58850
58851 [BZ #13529]
58852 * assert/assert.h (static_assert): Define.
58853
58854 * version.h: Update for 2.16 development version.
58855
58856 [BZ #13526]
58857 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58858 _ISOC11_SOURCE.
58859
58860 * version.h (RELEASE): Bump for 2.15 release.
58861 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58862
58863 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58864 Patch by Marek Polacek <mpolacek@redhat.com>.
58865
58866 * bits/byteswap.h: Protect long long constants with __extension__.
58867 * sysdeps/i386/bits/byteswap.h: Likewise.
58868 * sysdeps/ia64/bits/byteswap.h: Likewise.
58869 * sysdeps/s390/bits/byteswap.h: Likewise.
58870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58871
58872 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58873
58874 [BZ #13540]
58875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58876 destination buffer.
58877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58878
58879 2011-12-23 Marek Polacek <polacek@redhat.com>
58880
58881 * elf/dl-addr.c (determine_info): Add inline keyword.
58882 * elf/tst-auditmod4b.c (check_avx): Likewise.
58883 * elf/tst-auditmod6b.c (check_avx): Likewise.
58884 * elf/tst-auditmod6c.c (check_avx): Likewise.
58885 * elf/tst-auditmod7b.c (check_avx): Likewise.
58886
58887 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58888
58889 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58890 !__SSE_MATH__.
58891
58892 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58893
58894 [BZ #13540]
58895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58896 processing for last bytes.
58897
58898 2011-08-06 Bruno Haible <bruno@clisp.org>
58899
58900 [BZ #13061]
58901 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58902 U+0385, not to U+1FEE.
58903
58904 [BZ #13062]
58905 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58906 entry for U+00A5 U+0301.
58907
58908 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58909
58910 [BZ #13166]
58911 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58912 buffer for the output is too small.
58913
58914 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58915 optimization.
58916
58917 [BZ #13185]
58918 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58919 SSE flags if possible.
58920
58921 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58922
58923 [BZ #13540]
58924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58925 processing for last bytes.
58926
58927 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58928
58929 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58930 (syscall-list-default-options, syscall-list-default-condition)
58931 (syscall-list-includes): Define.
58932 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58933 list of ABIs and options and #if conditions for each ABI. Do not
58934 handle common syscalls between ABIs specially.
58935 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58936 Remove.
58937 (syscall-list-variants, syscall-list-32bit-options)
58938 (syscall-list-32bit-condition, syscall-list-64bit-options)
58939 (syscall-list-64bit-condition): Define.
58940 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58941 (syscall-list-variants, syscall-list-32bit-options)
58942 (syscall-list-32bit-condition, syscall-list-64bit-options)
58943 (syscall-list-64bit-condition): Define.
58944 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58945 Remove.
58946 (syscall-list-variants, syscall-list-32bit-options)
58947 (syscall-list-32bit-condition, syscall-list-64bit-options)
58948 (syscall-list-64bit-condition): Define.
58949 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58950 Remove.
58951 (syscall-list-variants, syscall-list-32bit-options)
58952 (syscall-list-32bit-condition, syscall-list-64bit-options)
58953 (syscall-list-64bit-condition): Define.
58954
58955 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58956
58957 * locale/iso-639.def: Add brx entry.
58958
58959 [BZ #13328]
58960 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58961 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58962
58963 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58964 __feraiseexcept_renamed.
58965
58966 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58967
58968 [BZ #13538]
58969 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58970 EPOLLET with unsigned values.
58971 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58973
58974 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58975 to large cancellation.
58976 * math/s_cacoshf.c: Likewise.
58977 * math/s_cacoshl.c: Likewise.
58978
58979 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58980
58981 [BZ #13305]
58982 [BZ #12786]
58983 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58984 * math/s_cacoshf.c: Likewise.
58985 * math/s_cacoshl.c: Likewise.
58986
58987 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58988
58989 [BZ #13439]
58990 * iconv/gconv.h: Define __GCONV_SWAP.
58991 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58992 * iconvdata/utf-16.c: Likewise.
58993 * iconvdata/utf-32.c: Likewise.
58994
58995 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58996
58997 [BZ #13524]
58998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58999 numerator after shifting it by one limb.
59000
59001 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59002
59003 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59004 under [__USE_EXTERN_INLINES].
59005
59006 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59007
59008 [BZ #13446]
59009 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59010
59011 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59012
59013 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59014 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59015 optimized code.
59016 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59017 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59018 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59019 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59020 for strncasecmp/strncasecmp_l compilation.
59021 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59022 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59023
59024 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59025
59026 [BZ #13484]
59027 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59028 of __asm__.
59029
59030 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59031
59032 [BZ #13506]
59033 * time/tzfile.c (__tzfile_read): Check values from file header.
59034
59035 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59036
59037 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59038 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59039 * powerpc/powerpc32/dl-start.S: Likewise.
59040 * powerpc/powerpc32/elf/start.S: Likewise.
59041 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59042 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59043 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59044 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59045 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59046 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59047 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59048 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59049 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59050 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59051 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59052 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59053 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59054 * powerpc/powerpc32/memset.S: Likewise.
59055 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59056 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59057 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59058 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59059 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59060 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59061 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59062 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59063 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59064 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59065 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59066 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59067 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59068
59069 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59070
59071 * math/libm-test.inc: Added more nearbyint tests.
59072 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59073 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59075 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59076
59077 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59078
59079 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59080 FD_CLOEXEC.
59081
59082 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59083
59084 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59085 Add wcscpy-ssse3 wcscpy-c.
59086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59087 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59088 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59089 * sysdeps/x86_64/wcschr.S: New file.
59090 * sysdeps/x86_64/wcsrchr.S: New file.
59091 * string/test-strcmp.c: Remove checking of wcscmp function for
59092 wrong alignments.
59093 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59094 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59095 wcsrchr-sse2 wcsrchr-c.
59096 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59097 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59098 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59099 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59100 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59101 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59102 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59103 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59105 * wcsmbc/wcschr.c (WCSCHR): New macro.
59106
59107 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59108
59109 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59110 * wcsmbs/test-wcsrchr.c: New file.
59111 * string/test-strrchr.c: Add wcsrchr support.
59112 (WIDE): New macro.
59113 * wcsmbs/test-wcscpy.c: New file.
59114 * string/test-strcpy.c: Add wcscpy support.
59115 (WIDE): New macro.
59116
59117 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59118
59119 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59120 the inner loop.
59121
59122 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59123
59124 [BZ #13472]
59125 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59126
59127 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59128
59129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59130 Minor optimizations.
59131
59132 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59133 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59134 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59135
59136 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59137
59138 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59139 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59140 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59141 for gcc to avoid warnings.
59142 * inet/Makefile (tests): Add tst-checks.
59143 * inet/tst-checks.c: New file.
59144
59145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59146 warning.
59147
59148 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59149 __wmemcmp_sse2.
59150
59151 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59152 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59153
59154 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59155
59156 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59157
59158 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59159 problem.
59160
59161 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59162
59163 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59164
59165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59166 conditional on GCC version.
59167 (__arch_compare_and_exchange_val_8_acq)
59168 (__arch_compare_and_exchange_val_16_acq)
59169 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59170 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59171 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59172
59173 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59174
59175 * sysdeps/sh/backtrace.c: New file.
59176
59177 2011-12-02 Andreas Schwab <schwab@redhat.com>
59178
59179 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59180 parenthesis.
59181
59182 2011-12-01 Andreas Schwab <schwab@redhat.com>
59183
59184 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59185 falling back to utime.
59186
59187 2011-11-30 Andreas Schwab <schwab@redhat.com>
59188
59189 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59190 expectations for float.
59191
59192 2011-11-29 Andreas Schwab <schwab@redhat.com>
59193
59194 * locale/weight.h (findidx): Add parameter len.
59195 * locale/weightwc.h (findidx): Likewise.
59196 * posix/fnmatch_loop.c (FCT): Adjust caller.
59197 * posix/regcomp.c (build_equiv_class): Likewise.
59198 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59199 * posix/regexec.c (check_node_accept_bytes): Likewise.
59200 * string/strcoll_l.c (STRCOLL): Likewise.
59201 * string/strxfrm_l.c (STRXFRM): Likewise.
59202
59203 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59204
59205 * Makefile.in: Remove CVSOPT handling.
59206 * configure.in: Remove use of AC_REVISION.
59207 * iconvdata/Makefile (distribute): No need to filter out CVS.
59208 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59209 handling.
59210
59211 2011-11-16 Andreas Schwab <schwab@redhat.com>
59212
59213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59214 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59215 [USE_AS_STRNCASECMP_L]: Likewise.
59216 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59217 NO_TLS_DIRECT_SEG_REFS.
59218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59219 Fix argument offsets for non-PIC.
59220 [USE_AS_STRNCASECMP_L]: Likewise.
59221 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59222 NO_TLS_DIRECT_SEG_REFS.
59223
59224 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59225
59226 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59227 O_CLOEXEC.
59228 * locale/loadlocale.c (_nl_load_locale): Likewise.
59229
59230 2011-11-15 Andreas Schwab <schwab@redhat.com>
59231
59232 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59233 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59235 (SYSCALL_GETTIME): Set errno on error.
59236
59237 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59238 count references to noai6ai_cached.
59239
59240 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59241
59242 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59243
59244 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59245 FD_CLOEXEC for /proc/self/maps.
59246
59247 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59248 FD_CLOEXEC for /proc/meminfo.
59249
59250 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59251 gai.conf.
59252
59253 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59254 FD_CLOEXEC for given file.
59255
59256 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59257
59258 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59259 FD_CLOEXEC for /etc/hosts.
59260 (_gethtent): Likewise.
59261
59262 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59263
59264 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59265 cancellation and set FD_CLOEXEC for /etc/netgroup.
59266
59267 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59268 reading /etc/publickey.
59269
59270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59271 allow cancellation when reading /etc/group.
59272
59273 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59274 cancellation.
59275 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59276
59277 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59278 when using data file.
59279
59280 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59281
59282 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59283 (write_nis_obj): Use "c" and "e" in fopen.
59284
59285 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59286
59287 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59288
59289 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59290
59291 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59292
59293 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59294 locale.alias.
59295
59296 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59297
59298 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59299
59300 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59301
59302 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59303 file parsing and set FD_CLOEXEC.
59304
59305 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59306
59307 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59308
59309 2011-11-14 Andreas Schwab <schwab@redhat.com>
59310
59311 * malloc/arena.c (arena_get2): Don't call reused_arena when
59312 _int_new_arena failed.
59313
59314 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59315
59316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59317 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59321 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59322 to compile strcasecmp and strncasecmp.
59323 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59324 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59325
59326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59327
59328 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59329
59330 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59331 locale-defines.sym to gen-as-const-headers.
59332 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59333 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59335 to compile strcasecmp and strncasecmp.
59336 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59337 strcasecmp_l and strncasecmp_l.
59338 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59339 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59340 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59341 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59342 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59343 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59344 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59345 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59346 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59347 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59348 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59349
59350 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59351
59352 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59353 result of SYSDEP_GETTIME_CPU to retval.
59354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59355 parameter list to macro. Remove trailing semicolon. Adjust users.
59356
59357 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59358 variable.
59359
59360 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59361 mantissa words.
59362 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59363
59364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59365 from unused variable.
59366
59367 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59368 DWARF definitions.
59369 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59370 for assembling.
59371
59372 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59373 over namespaces.
59374
59375 * sunrpc/rpc_prot.c (rejected): Fix case value.
59376
59377 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59378 unsigned long long int to avoid warnings in shift.
59379
59380 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59381 of use of trans.
59382 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59383 variable tmp.
59384
59385 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59386 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59387 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59388
59389 * nis/nis_table.c (nis_list): Use variable of correct type for
59390 result of __follow_path call.
59391
59392 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59393
59394 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59395 of math functions ceil, trunc, floor, round, and sqrt, when
59396 avaliable on the platform.
59397 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59398 name clash.
59399 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59400 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59401 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59402
59403 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59404
59405 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59406 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59407
59408 2011-11-11 Roland McGrath <roland@hack.frob.com>
59409
59410 * include/unistd.h: Fix __readlink return type.
59411 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59412
59413 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59414
59415 * stdlib/ucontext.h: Undo last change for makecontext.
59416
59417 2011-11-11 Andreas Schwab <schwab@redhat.com>
59418
59419 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59420
59421 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59422 * setjmp/setjmp.h: Mark functions as non-leaf.
59423 * setjmp/bits/setjmp2.h: Likewise.
59424 * stdlib/ucontext.h: Likewise.
59425
59426 2011-11-10 Andreas Schwab <schwab@redhat.com>
59427
59428 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59429 (reused_arena): Don't check arena limit.
59430 (arena_get2): Atomically check arena limit.
59431
59432 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59433
59434 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59435 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59436
59437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59438 instructions.
59439
59440 2011-11-07 Andreas Schwab <schwab@redhat.com>
59441
59442 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59443 handler when locking.
59444
59445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59446 Fix size of allocated buffer.
59447
59448 2011-11-04 Andreas Schwab <schwab@redhat.com>
59449
59450 [BZ #10103]
59451 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59452 declarations for long double functions.
59453 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59454
59455 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59456
59457 2011-11-03 Andreas Schwab <schwab@redhat.com>
59458
59459 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59460 installed.
59461
59462 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59463 is disabled.
59464
59465 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59466
59467 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59468
59469 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59470
59471 * include/alloca.h (stackinfo_alloca_round): Define.
59472 (extend_alloca): Use it.
59473 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59474 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59475 here.
59476
59477 * scripts/check-local-headers.sh: Ignore libaudit.h.
59478
59479 * nscd/Makefile (extra-objs): Make recursively expanded.
59480
59481 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59482
59483 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59484 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59485
59486 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59487 * posix/tst-rfc3484-2.c: Likewise.
59488 * posix/tst-rfc3484-3.c: Likewise.
59489
59490 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59491 process_vm_writev.
59492 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59493 process_vm_writev.
59494 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59495 process_vm_writev from libc using GLIBC_2.15 version.
59496
59497 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59498
59499 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59500
59501 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59502 stack usage.
59503
59504 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59505
59506 [BZ #13367]
59507 * nss/getent.c (initgroups_keys): Show error message in case no group
59508 names are given.
59509
59510 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59511 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59512 __bump_nl_timestamp.
59513 * nscd/connections (nscd_init): When host database is served open
59514 netlink socket and request notification about configuration changes.
59515 (main_loop_poll): Track netlink file descriptor and bump timestamp
59516 in case data becomes available.
59517 (main_loop_epoll): Likewise.
59518 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59519 (database_pers_head): Add extra_data fileds.
59520 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59521 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59522 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59523 Adjust caller.
59524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59525 in6ai data, call __free_in6ai.
59526 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59527 Add -DHAVE_NETLINK.
59528 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59529 interface information. Reuse previous data if netlink timestamp
59530 is not changed.
59531 (__bump_nl_timestamp): New function.
59532 (__free_in6ai): New function.
59533
59534 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59535
59536 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59537 close_not_cancel_no_status here.
59538 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59539
59540 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59541
59542 [BZ #13276]
59543 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59544 return value.
59545
59546 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59547 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59548 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59549
59550 2011-07-03 Andreas Jaeger <aj@suse.de>
59551
59552 [BZ #10709]
59553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59554 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59555 * math/libm-test.inc (sin_test): Add test case.
59556
59557 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59558
59559 [BZ #13337]
59560 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59561 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59562
59563 * elf/chroot_canon.c (chroot_canon): Cleanups.
59564
59565 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59566
59567 [BZ #13335]
59568 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59569 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59570
59571 * string/test-strchr.c: Make usable for strchrnul testing.
59572 * string/test-strchrnul.c: New file.
59573 * string/Makefile (strop-tests): Add strchrnul.
59574
59575 * po/it.po: Update from translation team.
59576 * po/es.po: Likewise.
59577
59578 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59579
59580 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59581 the three constants needed as parameters. Drop the others.
59582 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59583 __m128i_strloadu_tolower.
59584 Create and initialize variable zero and use it in all the places
59585 where _mm_setzero_si128 was used.
59586
59587 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59588 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59589 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59590 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59591 anymore.
59592 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59593 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59594 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59595 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59597 __mpranred, __mptan.
59598 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59599 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59600 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59601 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59602 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59603 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59606 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59607
59608 2011-10-28 Andreas Schwab <schwab@redhat.com>
59609
59610 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59611 redefine if SHARED.
59612 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59613
59614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59615 wide char related routines to wcsmbs subdir.
59616
59617 2011-10-27 Andreas Schwab <schwab@redhat.com>
59618
59619 [BZ #13344]
59620 * misc/sys/cdefs.h (__THROWNL): Define.
59621 * posix/unistd.h: Use __THREADNL instead of __THREAD
59622 for memory synchronization functions.
59623
59624 2011-10-26 Roland McGrath <roland@hack.frob.com>
59625
59626 [BZ #13349]
59627 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59628 doesn't exist.
59629 * manual/stdio.texi (Obstack Streams): Node removed.
59630
59631 2011-10-26 Andreas Schwab <schwab@redhat.com>
59632
59633 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59635 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59636
59637 * math/math_private.h (math_force_eval): Allow non-addressable
59638 arguments.
59639 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59640
59641 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59642
59643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59644 file is not needed.
59645
59646 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59653 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59654 Add AVX variants.
59655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59659 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59660 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59661 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59663 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59664 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59665 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59666 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59668 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59673 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59674
59675 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59676 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59677
59678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59679 place. Use VEX encoding when compiling for AVX.
59680
59681 2011-10-25 Andreas Schwab <schwab@redhat.com>
59682
59683 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59684 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59685
59686 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59687
59688 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59689
59690 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59691 useless if() expression.
59692 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59693 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59694 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59698 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59699 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59703 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59705 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59706 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59708 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59709 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59710 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59711
59712 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59713
59714 2011-10-25 Andreas Schwab <schwab@redhat.com>
59715
59716 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59717 condition.
59718 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59719
59720 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59721
59722 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59723 .text section. Avoid duplicate constants.
59724 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59726 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59732 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59733 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59734 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59736 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59737 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59738 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59740 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59741 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59744 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59745 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59747 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59748 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59749 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59750 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59751 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59752 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59753 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59754 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59755 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59756 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59757 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59758 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59759 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59760 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59762 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59763 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59764 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59766 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59767 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59768 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59769
59770 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59771
59772 * sysdeps/x86_64/dla.h: Move to ...
59773 * sysdeps/x86_64/fpu/dla.h: ...here.
59774 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59775 situations. Use __builtin_fma only for gcc 4.6 and up.
59776
59777 * config.make.in: Add have-mfma4 entry.
59778 * configure.in: Substitute libc_cv_cc_fma4.
59779 * math/Makefile (dbl-only-routines): Add sincostab.
59780 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59781 Use __sincostab not sincos.
59782 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59783 name is a macro.
59784 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59788 using __copysign.
59789 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59790 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59791 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59792 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59793 and __inv.
59794 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59795 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59796 __copysign.
59797 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59798 define aliases when function name is a macro.
59799 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59800 sysdeps/ieee754/dbl-64/sincos.tbl.
59801 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59802 fma4-enabled routines.
59803 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59804 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59805 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59806 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59810 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59812 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59813 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59814 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59815 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59816 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59818 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59819 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59820 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59821 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59822 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59823 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59824 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59829 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59830 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59831 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59832 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59833
59834 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59835 rename.
59836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59844
59845 2011-10-24 Andreas Schwab <schwab@redhat.com>
59846
59847 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59848
59849 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59850
59851 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59852
59853 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59854 prediction.
59855 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59856
59857 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59858 Remove unused variable magic_bits.
59859 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59860
59861 * string/strnlen.c: Define and use STRNLEN macro.
59862 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59863 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59865 * wcsmbs/wcslen.c: Define and use WCSLEN.
59866 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59867 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59868 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59869 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59870 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59871 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59872 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59873
59874 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59875
59876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59877 strnlen-sse2-no-bsf.
59878 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59880 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59881 Add strnlen support.
59882 (USE_AS_STRNLEN): New macro.
59883 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59884 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59885 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59886 * sysdeps/x86_64/wcslen.S: New file.
59887
59888 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59889
59890 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59891 XMM-moves are used for copying on small sizes.
59892
59893 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59894
59895 * wcsmbs/Makefile (strop-tests): Add wcschr.
59896 * wcsmbs/test-wcschr.c: New file.
59897 * string/test-strchr.c: Update.
59898 Add wcschr support.
59899 (WIDE): New macro.
59900
59901 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59902
59903 * wcsmbs/Makefile (strop-tests): Add wcslen.
59904 * wcsmbs/test-wcslen.c: New file.
59905 * string/test-strlen.c: Update.
59906 Add wcslen support.
59907 (WIDE): New macro.
59908
59909 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59910
59911 * po/it.po: Update from translation team.
59912
59913 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59914
59915 * sysdeps/x86_64/wcscmp.S: Update.
59916 Fix wrong comparison semantics.
59917 wcscmp shall use signed comparison not unsigned.
59918 Don't use substraction to avoid overflow bug.
59919 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59920 * wcsmbc/wcscmp.c: Likewise.
59921 * string/test-strcmp.c: Likewise.
59922 Add new tests to check cases with negative values.
59923
59924 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59925
59926 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59927 * sysdeps/x86_64/dla.h: ...here. New file.
59928 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59937
59938 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59939
59940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59941 __ynl_finite aliases.
59942
59943 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59944
59945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59946
59947 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59948 define DLA_FMA.
59949 [DLA_FMA] (EMULV): Use DLA_FMA.
59950 [DLA_FMA] (MUL12): Use EMULV.
59951 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59952 that are not needed.
59953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59960
59961 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59962
59963 * math/s_nan.c: Undef __nan.
59964 * math/s_nanf.c: Undef __nanf.
59965 * math/s_nanl.c: Undef __nanl.
59966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59967 "math_private.h".
59968
59969 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59970
59971 * math/s_catan.c: Add branch predictions.
59972 * math/s_catanf.c: Likewise.
59973 * math/s_catanh.c: Likewise.
59974 * math/s_catanhf.c: Likewise.
59975 * math/s_catanhl.c: Likewise.
59976 * math/s_catanl.c: Likewise.
59977 * math/s_cexp.c: Likewise.
59978 * math/s_cexpf.c: Likewise.
59979 * math/s_cexpl.c: Likewise.
59980 * math/s_clog.c: Likewise.
59981 * math/s_clog10.c: Likewise.
59982 * math/s_clog10f.c: Likewise.
59983 * math/s_clog10l.c: Likewise.
59984 * math/s_clogf.c: Likewise.
59985 * math/s_clogl.c: Likewise.
59986 * math/s_csqrt.c: Likewise.
59987 * math/s_csqrtf.c: Likewise.
59988 * math/s_csqrtl.c: Likewise.
59989 * math/s_ctanf.c: Likewise.
59990 * math/s_ctanh.c: Likewise.
59991 * math/s_ctanhf.c: Likewise.
59992 * math/s_ctanhl.c: Likewise.
59993 * math/s_ctanl.c: Likewise.
59994
59995 * math/math_private.h: Define __nan, __nanf, __nanl.
59996 * math/s_cacosh.c: Include <math_private.h>.
59997 * math/s_cacoshl.c: Likewise.
59998 * math/s_casinh.c: Likewise.
59999 * math/s_casinhf.c: Likewise.
60000 * math/s_casinhl.c: Likewise.
60001 * math/s_ccos.c: Rely entire on ccosh.
60002 * math/s_ccosf.c: Rely entire on ccoshf.
60003 * math/s_ccosl.c: Rely entirely on ccoshl.
60004 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60005 Remove tests for FE_INVALID.
60006 * math/s_ccoshf.c: Likewise.
60007 * math/s_ccoshl.c: Likewise.
60008 * math/s_csin.c: Likewise.
60009 * math/s_csinf.c: Likewise.
60010 * math/s_csinh.c Likewise.
60011 * math/s_csinhf.c: Likewise.
60012 * math/s_csinhl.c: Likewise.
60013 * math/s_csinl.c: Likewise.
60014 * math/s_ctan.c: Likewise.
60015 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60016 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60018
60019 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60020
60021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60022 compilation problems.
60023
60024 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60025 __builtin_expect.
60026
60027 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60028
60029 * sysdeps/i386/configure.in: Test for -mfma4 option.
60030 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60031 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60032 COMMON_CPUID_INDEX_80000001.
60033 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60034 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60035 use it if FMA3 is not supported.
60036 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60037
60038 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60039 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60040
60041 2011-10-20 Andreas Schwab <schwab@redhat.com>
60042
60043 [BZ #12892]
60044 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60045 it would create a cycle with a link time dependency.
60046
60047 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60048
60049 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60050 instruction.
60051 * string/Makefile (strop-tests): Add rawmemchr.
60052 * string/test-rawmemchr.c: New file.
60053
60054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60056 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60057 when compiling str{,n}casecmp and when AVX is available. Hook up
60058 new optimized code in initializers.
60059
60060 2011-10-19 Andreas Schwab <schwab@redhat.com>
60061
60062 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60063 __feraiseexcept instead of feraiseexcept.
60064
60065 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60066
60067 * math/math_private.h: Define defaults for libc_fetestexcept and
60068 libc_feupdateenv.
60069 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60070 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60071 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60072 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60073 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60074 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60075 libc_fetestexcept and libc_feupdateenv.
60076
60077 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60078 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60079 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60080 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60081 libc_feholdexcept_setround.
60082
60083 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60084 Add s_nearbyint-c and s_nearbyintf-c.
60085 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60086 nearbyintf inlines.
60087 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60089 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60090 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60091
60092 * math/math_private.h: Define defaults for libc_fegetround,
60093 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60094 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60095 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60097 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60098 standard functions.
60099 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60100 Remove comments and hacks for old compiler versions.
60101 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60102 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60103 libc_feholdexceptl.
60104
60105 2011-10-18 Andreas Schwab <schwab@redhat.com>
60106
60107 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60108 (__feraiseexcept_renamed): Add __NTH.
60109 (feraiseexcept): Add __NTH. Rename local variables to fix
60110 namespace violations.
60111
60112 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60113
60114 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60115
60116 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60117
60118 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60119 recently added interfaces.
60120 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60121
60122 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60123 about macro parameter expansion.
60124
60125 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60126 __NO_MATH_INLINES is defined. Cleanups.
60127
60128 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60129 and __floorf is target has SSE4.1.
60130 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60131 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60132 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60133 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60134
60135 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60136 name.
60137 (floorf): Likewise.
60138
60139 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60140
60141 2011-10-17 Andreas Schwab <schwab@redhat.com>
60142
60143 * misc/sys/cdefs.h: Fix last change.
60144
60145 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60146 database lookup.
60147
60148 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60149
60150 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60151
60152 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60155 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60157 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60158 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60159 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60160 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60161 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60162 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60163 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60164 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60165 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60166 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60167 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60168 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60169 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60170 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60171 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60172 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60173 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60174
60175 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60176 ceil, ceilf, floor, floorf.
60177
60178 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60179 Perform IRELATIVE relocations last.
60180
60181 * elf/do-rel.h: Add another parameter nrelative, replacing the
60182 local variable with the same name. Change name of the function
60183 to end in Rel or Rela (uppercase).
60184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60185 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60186 elf_dynamic_do_##reloc function.
60187
60188 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60189
60190 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60191 is sufficient, at least on modern CPUs.
60192
60193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60194
60195 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60197
60198 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60199 __expl_finite.
60200 * math/bits/math-finite.h: Add entries for exp.
60201 * math/e_expl.c: Add __*_finite alias.
60202 * sysdeps/i386/fpu/e_exp.S: Likewise.
60203 * sysdeps/i386/fpu/e_expf.S: Likewise.
60204 * sysdeps/i386/fpu/e_expl.c: Likewise.
60205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60206 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60209 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60210 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60211 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60212
60213 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60214 is sufficient, at least on modern CPUs.
60215
60216 * ctype/ctype-info.c (__ctype_init): Define.
60217 * include/ctype.h (__ctype_init): Declare.
60218 (__ctype_b_loc): The variable is always initialized.
60219 (__ctype_toupper_loc): Likewise.
60220 (__ctype_tolower_loc): Likewise.
60221 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60222 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60223
60224 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60225
60226 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60227
60228 * configure.in: Also look in $cxxmachine/include for C++ system
60229 headers.
60230
60231 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60232
60233 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60234 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60235 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60236 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60237 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60238 (USE_AS_WMEMCMP): New macro.
60239 Fixing indents.
60240 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60241 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60242 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60243 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60245 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60246 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60248 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60249 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60251 (USE_AS_WMEMCMP): New macro.
60252 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60253 * sysdeps/string/test-memcmp.c: Update.
60254 Fix simple_wmemcmp.
60255 Add new tests.
60256 * wcsmbs/wmemcmp.c: Update.
60257 (WMEMCMP): New macro.
60258 Fix overflow bug.
60259
60260 2011-10-12 Andreas Jaeger <aj@suse.de>
60261
60262 [BZ #13268]
60263 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60264
60265 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60266
60267 * libio/iofwide.c (do_length): Avoid warning.
60268
60269 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60270
60271 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60272
60273 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60274
60275 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60276 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60277 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60278 * sysdeps/i386/i686/fpu/e_log.S: New file.
60279 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60280 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60281
60282 * ctype/ctype.h: Add support for inlined isXXX functions when
60283 compiling C++ code.
60284
60285 2011-10-14 Andreas Schwab <schwab@redhat.com>
60286
60287 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60288
60289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60290
60291 2011-10-13 Roland McGrath <roland@hack.frob.com>
60292
60293 [BZ #13291]
60294 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60295
60296 2011-10-13 Andreas Schwab <schwab@redhat.com>
60297
60298 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60299 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60300 feraiseexcept.
60301
60302 * sysdeps/x86_64/memrchr.S: Check for zero size.
60303
60304 * string/stratcliff.c: Add memrchr tests.
60305
60306 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60307
60308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60309 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60310 rawmemchr-sse2 rawmemchr-sse2-bsf.
60311 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60312 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60313 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60314 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60315 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60316 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60317 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60318 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60319 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60320 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60321 * string/memrchr.c (MEMRCHR): New macro.
60322
60323 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60324
60325 Add integration with gcc's -ffinite-math-only and optimize wrapper
60326 functions in libm.
60327 * Versions.def: Define GLIBC_2.15 version for libm.
60328 * math/Makefile (headers): Add bits/math-finite.h.
60329 * math/bits/math-finite.h: New file.
60330 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60331 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60332 * math/e_acoshl.c: Add __*_finite alias.
60333 * math/e_acosl.c: Likewise.
60334 * math/e_asinl.c: Likewise.
60335 * math/e_atan2l.c: Likewise.
60336 * math/e_atanhl.c: Likewise.
60337 * math/e_coshl.c: Likewise.
60338 * math/e_exp10.c: Likewise.
60339 * math/e_exp10f.c: Likewise.
60340 * math/e_exp10l.c: Likewise.
60341 * math/e_exp2l.c: Likewise.
60342 * math/e_fmodl.c: Likewise.
60343 * math/e_gammal_r.c: Likewise.
60344 * math/e_hypotl.c: Likewise.
60345 * math/e_j0l.c: Likewise.
60346 * math/e_j1l.c: Likewise.
60347 * math/e_jnl.c: Likewise.
60348 * math/e_lgammal_r.c: Likewise.
60349 * math/e_log10l.c: Likewise.
60350 * math/e_log2l.c: Likewise.
60351 * math/e_logl.c: Likewise.
60352 * math/e_powl.c: Likewise.
60353 * math/e_sinhl.c: Likewise.
60354 * math/e_sqrtl.c: Likewise.
60355 * math/e_scalb.c: Completely rewritten and optimized.
60356 * math/e_scalbf.c: Likewise.
60357 * math/e_scalbl.c: Likewise.
60358 * math/w_acos.c: Likewise.
60359 * math/w_acosf.c: Likewise.
60360 * math/w_acosl.c: Likewise.
60361 * math/w_acosh.c: Likewise.
60362 * math/w_acoshf.c: Likewise.
60363 * math/w_acoshl.c: Likewise.
60364 * math/w_asin.c: Likewise.
60365 * math/w_asinf.c: Likewise.
60366 * math/w_asinl.c: Likewise.
60367 * math/w_atan2.c: Likewise.
60368 * math/w_atan2f.c: Likewise.
60369 * math/w_atan2l.c: Likewise.
60370 * math/w_atanh.c: Likewise.
60371 * math/w_atanhf.c: Likewise.
60372 * math/w_atanhl.c: Likewise.
60373 * math/w_exp10.c: Likewise.
60374 * math/w_exp10f.c: Likewise.
60375 * math/w_exp10l.c: Likewise.
60376 * math/w_fmod.c: Likewise.
60377 * math/w_fmodf.c: Likewise.
60378 * math/w_fmodl.c: Likewise.
60379 * math/w_j0.c: Likewise.
60380 * math/w_j0f.c: Likewise.
60381 * math/w_j0l.c: Likewise.
60382 * math/w_j1.c: Likewise.
60383 * math/w_j1f.c: Likewise.
60384 * math/w_j1l.c: Likewise.
60385 * math/w_jn.c: Likewise.
60386 * math/w_jnf.c: Likewise.
60387 * math/w_log.c: Likewise.
60388 * math/w_logf.c: Likewise.
60389 * math/w_logl.c: Likewise.
60390 * math/w_log10.c: Likewise.
60391 * math/w_log10f.c: Likewise.
60392 * math/w_log10l.c: Likewise.
60393 * math/w_log2.c: Likewise.
60394 * math/w_log2f.c: Likewise.
60395 * math/w_log2l.c: Likewise.
60396 * math/w_pow.c: Likewise.
60397 * math/w_powf.c: Likewise.
60398 * math/w_powl.c: Likewise.
60399 * math/w_remainder.c: Likewise.
60400 * math/w_remainderf.c: Likewise.
60401 * math/w_remainderl.c: Likewise.
60402 * math/w_scalb.c: Likewise.
60403 * math/w_scalbf.c: Likewise.
60404 * math/w_scalbl.c: Likewise.
60405 * math/w_sqrt.c: Likewise.
60406 * math/w_sqrtf.c: Likewise.
60407 * math/w_sqrtl.c: Likewise.
60408 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60409 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60410 used.
60411 * math/math_private.h: Declare __kernel_standard_f.
60412 * math/w_cosh.c: Remove cruft and optimize a bit.
60413 * math/w_coshf.c: Likewise.
60414 * math/w_coshl.c: Likewise.
60415 * math/w_exp2.c: Likewise.
60416 * math/w_exp2f.c: Likewise.
60417 * math/w_exp2l.c: Likewise.
60418 * math/w_hypot.c: Likewise.
60419 * math/w_hypotf.c: Likewise.
60420 * math/w_hypotl.c: Likewise.
60421 * math/w_lgamma.c: Likewise.
60422 * math/w_lgamma_r.c: Likewise.
60423 * math/w_lgammaf.c: Likewise.
60424 * math/w_lgammaf_r.c: Likewise.
60425 * math/w_lgammal.c: Likewise.
60426 * math/w_lgammal_r.c: Likewise.
60427 * math/w_sinh.c: Likewise.
60428 * math/w_sinhf.c: Likewise.
60429 * math/w_sinhl.c: Likewise.
60430 * math/w_tgamma.c: Likewise.
60431 * math/w_tgammaf.c: Likewise.
60432 * math/w_tgammal.c: Likewise.
60433 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60435 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60436 Minor optimizations. Pretty printing. Remove cruft.
60437 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60438 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60439 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60441 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60442 * sysdeps/i386/fpu/e_asin.S: Likewise.
60443 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60444 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60445 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60446 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60450 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60451 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60452 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60453 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60454 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60455 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60456 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60457 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60458 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60459 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60460 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60461 * sysdeps/i386/fpu/e_log.S: Likewise.
60462 * sysdeps/i386/fpu/e_log10.S: Likewise.
60463 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60464 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60465 * sysdeps/i386/fpu/e_log2.S: Likewise.
60466 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60467 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60468 * sysdeps/i386/fpu/e_logf.S: Likewise.
60469 * sysdeps/i386/fpu/e_logl.S: Likewise.
60470 * sysdeps/i386/fpu/e_pow.S: Likewise.
60471 * sysdeps/i386/fpu/e_powf.S: Likewise.
60472 * sysdeps/i386/fpu/e_powl.S: Likewise.
60473 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60474 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60475 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60477 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60479 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60480 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60481 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60482 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60485 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60486 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60487 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60488 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60489 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60492 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60493 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60496 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60498 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60499 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60500 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60502 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60503 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60504 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60505 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60506 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60507 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60508 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60509 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60510 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60520 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60521 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60522 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60523 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60524 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60525 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60527 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60528 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60529 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60530 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60531 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60532 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60533 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60535 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60537 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60538 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60539 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60540 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60541 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60542 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60543 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60546 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60547 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60550 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60552 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60553 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60556 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60561 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60562 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60563 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60565 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60566 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60567 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60569 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60570 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60571 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60572 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60573 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60574 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60575 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60576 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60577 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60578 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60579 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60580 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60581 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60582 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60583 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60584 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60585 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60586 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60587 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60588 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60589 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60590 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60592 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60593 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60594 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60595 (__isnanf): Likewise.
60596 (__isinf_ns): Likewise.
60597 (__isinf_nsf): Likewise.
60598 (__finite): Likewise.
60599 (__finitef): Likewise.
60600 (__ieee754_sqrt): Define as macro.
60601 (__ieee754_sqrtf): Define as macro.
60602 (__ieee754_sqrtl): Define as macro.
60603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60604 inlined copy.
60605 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60606 __FINITE_MATH_ONLY__ consistent.
60607 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60608
60609 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60610
60611 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60612 of rawmemchr.
60613
60614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60615
60616 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60617
60618 * po/ja.po: Update from translation team.
60619
60620 2011-10-08 Roland McGrath <roland@hack.frob.com>
60621
60622 * locale/programs/locarchive.c (prepare_address_space): New function.
60623 (create_archive, enlarge_archive, open_archive): Use it.
60624
60625 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60626 inside [SHARED], where it is used.
60627
60628 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60629
60630 * nss/getent.c (netgroup_keys): Remove unused variable.
60631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60632
60633 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60634
60635 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60636 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60639 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60640 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60641 * math/Makefile (libm-calls): Add s_isinf_ns.
60642 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60643 * math/multc3.c: Likewise.
60644 * math/s_casin.c: Likewise.
60645 * math/s_casinf.c: Likewise.
60646 * math/s_casinl.c: Likewise.
60647 * math/s_ccos.c: Likewise.
60648 * math/s_ccosf.c: Likewise.
60649 * math/s_ccosl.c: Likewise.
60650 * math/s_ctan.c: Likewise.
60651 * math/s_ctanf.c: Likewise.
60652 * math/s_ctanh.c: Likewise.
60653 * math/s_ctanhf.c: Likewise.
60654 * math/s_ctanhl.c: Likewise.
60655 * math/s_ctanl.c: Likewise.
60656 * math/w_fmod.c: Likewise.
60657 * math/w_fmodf.c: Likewise.
60658 * math/w_fmodl.c: Likewise.
60659 * math/w_remainder.c: Likewise.
60660 * math/w_remainderf.c: Likewise.
60661 * math/w_remainderl.c: Likewise.
60662 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60663 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60666 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60667 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60668 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60669 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60670
60671 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60672 of the number.
60673 * stdio-common/printf_fphex.c: Likewise.
60674 * stdio-common/printf_size.c: Likewise.
60675
60676 * math/e_exp10.c: Include math_private.h using <...> not "...".
60677 * math/e_exp10f.c: Likewise.
60678 * math/e_exp10l.c: Likewise.
60679 * math/e_exp2l.c: Likewise.
60680 * math/e_j0l.c: Likewise.
60681 * math/e_j1l.c: Likewise.
60682 * math/e_jnl.c: Likewise.
60683 * math/e_lgammal_r.c: Likewise.
60684 * math/e_rem_pio2l.c: Likewise.
60685 * math/e_scalb.c: Likewise.
60686 * math/e_scalbf.c: Likewise.
60687 * math/e_scalbl.c: Likewise.
60688 * math/k_cosl.c: Likewise.
60689 * math/k_sinl.c: Likewise.
60690 * math/k_tanl.c: Likewise.
60691 * math/s_cacoshf.c: Likewise.
60692 * math/s_catan.c: Likewise.
60693 * math/s_catanf.c: Likewise.
60694 * math/s_catanh.c: Likewise.
60695 * math/s_catanhf.c: Likewise.
60696 * math/s_catanhl.c: Likewise.
60697 * math/s_catanl.c: Likewise.
60698 * math/s_ccosh.c: Likewise.
60699 * math/s_ccoshf.c: Likewise.
60700 * math/s_ccoshl.c: Likewise.
60701 * math/s_cexp.c: Likewise.
60702 * math/s_cexpf.c: Likewise.
60703 * math/s_cexpl.c: Likewise.
60704 * math/s_clog.c: Likewise.
60705 * math/s_clog10.c: Likewise.
60706 * math/s_clog10f.c: Likewise.
60707 * math/s_clog10l.c: Likewise.
60708 * math/s_clogf.c: Likewise.
60709 * math/s_clogl.c: Likewise.
60710 * math/s_csin.c: Likewise.
60711 * math/s_csinf.c: Likewise.
60712 * math/s_csinh.c: Likewise.
60713 * math/s_csinhf.c: Likewise.
60714 * math/s_csinhl.c: Likewise.
60715 * math/s_csinl.c: Likewise.
60716 * math/s_csqrt.c: Likewise.
60717 * math/s_csqrtf.c: Likewise.
60718 * math/s_csqrtl.c: Likewise.
60719 * math/s_ctan.c: Likewise.
60720 * math/s_ctanf.c: Likewise.
60721 * math/s_ctanh.c: Likewise.
60722 * math/s_ctanhf.c: Likewise.
60723 * math/s_ctanhl.c: Likewise.
60724 * math/s_ctanl.c: Likewise.
60725 * math/s_ldexp.c: Likewise.
60726 * math/s_ldexpf.c: Likewise.
60727 * math/s_ldexpl.c: Likewise.
60728 * math/s_significand.c: Likewise.
60729 * math/s_significandf.c: Likewise.
60730 * math/s_significandl.c: Likewise.
60731 * math/w_acos.c: Likewise.
60732 * math/w_acosf.c: Likewise.
60733 * math/w_acosh.c: Likewise.
60734 * math/w_acoshf.c: Likewise.
60735 * math/w_acoshl.c: Likewise.
60736 * math/w_acosl.c: Likewise.
60737 * math/w_asin.c: Likewise.
60738 * math/w_asinf.c: Likewise.
60739 * math/w_asinl.c: Likewise.
60740 * math/w_atan2.c: Likewise.
60741 * math/w_atan2f.c: Likewise.
60742 * math/w_atan2l.c: Likewise.
60743 * math/w_atanh.c: Likewise.
60744 * math/w_atanhf.c: Likewise.
60745 * math/w_atanhl.c: Likewise.
60746 * math/w_cosh.c: Likewise.
60747 * math/w_coshf.c: Likewise.
60748 * math/w_coshl.c: Likewise.
60749 * math/w_dremf.c: Likewise.
60750 * math/w_exp10.c: Likewise.
60751 * math/w_exp10f.c: Likewise.
60752 * math/w_exp10l.c: Likewise.
60753 * math/w_exp2.c: Likewise.
60754 * math/w_exp2f.c: Likewise.
60755 * math/w_fmod.c: Likewise.
60756 * math/w_fmodf.c: Likewise.
60757 * math/w_fmodl.c: Likewise.
60758 * math/w_hypot.c: Likewise.
60759 * math/w_hypotf.c: Likewise.
60760 * math/w_hypotl.c: Likewise.
60761 * math/w_j0.c: Likewise.
60762 * math/w_j0f.c: Likewise.
60763 * math/w_j0l.c: Likewise.
60764 * math/w_j1.c: Likewise.
60765 * math/w_j1f.c: Likewise.
60766 * math/w_j1l.c: Likewise.
60767 * math/w_jn.c: Likewise.
60768 * math/w_jnf.c: Likewise.
60769 * math/w_jnl.c: Likewise.
60770 * math/w_lgamma.c: Likewise.
60771 * math/w_lgamma_r.c: Likewise.
60772 * math/w_lgammaf.c: Likewise.
60773 * math/w_lgammaf_r.c: Likewise.
60774 * math/w_lgammal.c: Likewise.
60775 * math/w_lgammal_r.c: Likewise.
60776 * math/w_log.c: Likewise.
60777 * math/w_log10.c: Likewise.
60778 * math/w_log10f.c: Likewise.
60779 * math/w_log10l.c: Likewise.
60780 * math/w_log2.c: Likewise.
60781 * math/w_log2f.c: Likewise.
60782 * math/w_log2l.c: Likewise.
60783 * math/w_logf.c: Likewise.
60784 * math/w_logl.c: Likewise.
60785 * math/w_pow.c: Likewise.
60786 * math/w_powf.c: Likewise.
60787 * math/w_powl.c: Likewise.
60788 * math/w_remainder.c: Likewise.
60789 * math/w_remainderf.c: Likewise.
60790 * math/w_remainderl.c: Likewise.
60791 * math/w_scalb.c: Likewise.
60792 * math/w_scalbf.c: Likewise.
60793 * math/w_scalbl.c: Likewise.
60794 * math/w_sinh.c: Likewise.
60795 * math/w_sinhf.c: Likewise.
60796 * math/w_sinhl.c: Likewise.
60797 * math/w_sqrt.c: Likewise.
60798 * math/w_sqrtf.c: Likewise.
60799 * math/w_sqrtl.c: Likewise.
60800 * math/w_tgamma.c: Likewise.
60801 * math/w_tgammaf.c: Likewise.
60802 * math/w_tgammal.c: Likewise.
60803
60804 * po/ja.po: Update from translation team.
60805
60806 2011-09-29 Andreas Jaeger <aj@suse.de>
60807
60808 [BZ #13179]
60809 * sunrpc/netname.c (netname2host): Fix logic.
60810
60811 [BZ #6779]
60812 [BZ #6783]
60813 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60814 correctly.
60815 * math/w_remainder.c (__remainder): Likewise.
60816 * math/w_remainderf.c (__remainderf): Likewise.
60817 * math/libm-test.inc (remainder_test): Add test cases.
60818
60819 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60820
60821 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60822 sdiv_qrnnd.
60823
60824 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60825
60826 * string/test-memcmp.c: Avoid unncessary #defines.
60827 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60828
60829 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60830
60831 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60832 Use new sse2 version for core i3 - i7 as it's faster
60833 than sse42 version.
60834 (bit_Prefer_PMINUB_for_stringop): New.
60835 * sysdeps/x86_64/rawmemchr.S: Update.
60836 Replace with faster SSE2 version.
60837 * sysdeps/x86_64/memrchr.S: New file.
60838 * sysdeps/x86_64/memchr.S: Update.
60839 Replace with faster SSE2 version.
60840
60841 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60842
60843 * elf/dl-load.c (lose): Add cast to avoid warning.
60844
60845 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60846
60847 * po/ca.po: Update from translation team.
60848
60849 * inet/getnetgrent_r.c: Hook up nscd.
60850 * nscd/Makefile (routines): Add nscd_netgroup.
60851 (nscd-modules): Add netgroupcache.
60852 (CFLAGS-netgroupcache.c): Define.
60853 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60854 (cache_search): Add const to second parameter.
60855 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60856 INNETGR.
60857 (dbs): Add netgrdb entry.
60858 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60859 (verify_persistent_db): Handle netgrdb.
60860 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60861 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60862 GETFDNETGR.
60863 (netgroup_response_header): Define.
60864 (innetgroup_response_header): Define.
60865 (datahead): Add netgroup_response_header and innetgroup_response_header
60866 elements.
60867 * nscd/nscd.conf: Add entries for netgroup cache.
60868 * nscd/nscd.h (dbtype): Add netgrdb.
60869 (_PATH_NSCD_NETGROUP_DB): Define.
60870 (netgroup_iov_disabled): Declare.
60871 (xmalloc, xcalloc, xrealloc): Move declarations here.
60872 (cache_search): Adjust prototype.
60873 Add netgroup-related prototypes.
60874 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60875 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60876 (__nscd_innetgr): Declare.
60877 * nscd/selinux.c (perms): Use access_vector_t as element type and
60878 add netgroup-related initializers.
60879 * nscd/netgroupcache.c: New file.
60880 * nscd/nscd_netgroup.c: New file.
60881 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60882 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60883 For four parameters use innetgr.
60884 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60885 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60886 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60887 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60888
60889 * nscd/connections.c (register_traced_file): Don't register file
60890 for disabled databases.
60891
60892 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60893
60894 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60895
60896 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60897 from tree and freeing node.
60898
60899 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60900
60901 * nss/nsswitch.c (__nss_database_lookup): Handle
60902 nss_parse_service_list out of memory case.
60903
60904 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60905
60906 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60907 out of memory case.
60908
60909 2011-10-04 Andreas Schwab <schwab@redhat.com>
60910
60911 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60912 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60913 pass it down.
60914 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60915 elf_machine_rela, elf_machine_lazy_rel.
60916 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60917 (ELF_DYNAMIC_DO_REL): Likewise.
60918 (ELF_DYNAMIC_DO_RELA): Likewise.
60919 (ELF_DYNAMIC_RELOCATE): Likewise.
60920 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60921 to ELF_DYNAMIC_DO_REL.
60922 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60923 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60924 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60925 elf_machine_rela.
60926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60927 skip_ifunc, don't call ifunc function if non-zero.
60928 (elf_machine_rela): Likewise.
60929 (elf_machine_lazy_rel): Likewise.
60930 (elf_machine_lazy_rela): Likewise.
60931 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60932 (elf_machine_lazy_rel): Likewise.
60933 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60934 Likewise.
60935 (elf_machine_lazy_rel): Likewise.
60936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60937 Likewise.
60938 (elf_machine_lazy_rel): Likewise.
60939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60940 (elf_machine_lazy_rel): Likewise.
60941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60942 (elf_machine_lazy_rel): Likewise.
60943 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60944 (elf_machine_lazy_rel): Likewise.
60945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60946 (elf_machine_lazy_rel): Likewise.
60947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60948 (elf_machine_lazy_rel): Likewise.
60949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60950 (elf_machine_lazy_rel): Likewise.
60951
60952 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60953
60954 * nss/nss_files/files-init.c (_nss_files_init): Use static
60955 initialization for all the *_traced_file variables.
60956
60957 2011-09-28 Andreas Schwab <schwab@redhat.com>
60958
60959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60960
60961 2011-09-27 Roland McGrath <roland@hack.frob.com>
60962
60963 [BZ #13226]
60964 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60965
60966 2011-09-27 Andreas Schwab <schwab@redhat.com>
60967
60968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60969 Reread the line before reparsing it.
60970
60971 2011-09-26 Andreas Schwab <schwab@redhat.com>
60972
60973 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60974
60975 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60976 Maxim Kuvyrkov <maxim@codesourcery.com>
60977 Joseph Myers <joseph@codesourcery.com>
60978
60979 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60980 if needed for __stack_chk_guard.
60981
60982 2011-09-19 Roland McGrath <roland@hack.frob.com>
60983
60984 * sysdeps/posix/spawni.c (script_execute): Always define it.
60985 It will be optimized away if unused.
60986 (maybe_script_execute): New function.
60987 (__spawni): Call it.
60988
60989 * Makerules: Don't include tls.make.
60990 (config-tls): Always set to thread.
60991 * tls.make.c: File removed.
60992
60993 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60994
60995 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60996 * config.make.in (CPPFLAGS-config): New substituted variable.
60997
60998 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60999
61000 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61001
61002 [BZ #13192]
61003 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61004 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61005
61006 2011-09-15 Roland McGrath <roland@hack.frob.com>
61007
61008 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61009 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61010 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61011 (CALL_FAIL): Likewise.
61012 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61013 (CALL_FAIL): Macro removed.
61014 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61015
61016 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61017
61018 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61019 for __FINITE_MATH_ONLY__ == 1.
61020
61021 2011-09-15 Andreas Schwab <schwab@redhat.com>
61022
61023 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61024 __ieee754_sqrt instead of sqrt.
61025 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61026 __ieee754_sqrtf instead of sqrtf.
61027 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61028 __floorf instead of floorf.
61029 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61030 __floorf, __truncf instead of floorf, truncf.
61031
61032 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61033
61034 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61035
61036 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61037 __extern_always_inline.
61038 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61039 32-bit.
61040
61041 2011-09-14 Andreas Schwab <schwab@redhat.com>
61042
61043 * elf/rtld.c (dl_main): Also relocate in dependency order when
61044 doing symbol dependency testing.
61045
61046 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61047
61048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61049 Always define `refsym'.
61050
61051 2011-09-13 Andreas Schwab <schwab@redhat.com>
61052
61053 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61054 (__FD_ELT): Renamed from __FDELT.
61055 * misc/bits/select2.h (__FD_ELT): Likewise.
61056 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61057 __FD_MASK instead of __FDELT, __FDMASK.
61058 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61059 Likewise.
61060 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61061 Likewise.
61062
61063 * elf/Makefile (gen-ldd): Fix pattern.
61064
61065 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61066 (init_tls): Likewise.
61067
61068 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61069
61070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61071
61072 2011-09-12 Andreas Schwab <schwab@redhat.com>
61073
61074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61075 `struct cmsghdr *' instead of `void *'.
61076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61077 Likewise.
61078
61079 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61080
61081 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61082 if non-absolute.
61083 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61084 ldd_rewrite_script.
61085
61086 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61087
61088 * configure.in: Remove --with-tls option.
61089 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61090 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61091 out in case it is missing.
61092 * sysdeps/ia64/elf/configure.in: Likewise.
61093 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61094 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61095 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61096 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61097 * sysdeps/sh/elf/configure.in: Likewise.
61098 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61099 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61100 * sysdeps/x86_64/elf/configure.in: Likewise.
61101 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61102 * sysdeps/mach/hurd/tls.h: Likewise.
61103
61104 [BZ #13067]
61105 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61106
61107 [BZ #13090]
61108 * configure.in: Fix use of AC_INIT.
61109
61110 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61111
61112 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61113
61114 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61115 __set_errno.
61116 * malloc/hooks.c: Likewise.
61117
61118 [BZ #11929]
61119 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61120 variables statically.
61121 (narenas): Initialize.
61122 (list_lock): Initialize.
61123 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61124 initializtion of main_arena and list_lock. Small cleanups.
61125 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61126 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61127 Add initializers to main_arena and mp_.
61128 (malloc_state): Remove pagesize member. Change all users to use
61129 GLRO(dl_pagesize).
61130
61131 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61132 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61133 is always initialized.
61134
61135 * malloc/malloc.c: Removed unused configurations and dead code.
61136 * malloc/arena.c: Likewise.
61137 * malloc/hooks.c: Likewise.
61138 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61139
61140 * include/tls.h: Removed. USE___THREAD must always be defined.
61141 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61142 * elf/dl-libc.c: Likewise.
61143 * elf/dl-tsd.c: Likewise.
61144 * include/errno.h: Likewise.
61145 * include/netdb.h: Likewise.
61146 * include/resolv.h: Likewise.
61147 * inet/herrno-loc.c: Likewise.
61148 * inet/herrno.c: Likewise.
61149 * malloc/arena.c: Likewise.
61150 * malloc/hooks.c: Likewise.
61151 * malloc/malloc.c: Likewise.
61152 * resolv/res-state.c: Likewise.
61153 * resolv/res_libc.c: Likewise.
61154 * sysdeps/i386/dl-machine.h: Likewise.
61155 * sysdeps/ia64/dl-machine.h: Likewise.
61156 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61157 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61158 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61159 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61160 * sysdeps/sh/dl-machine.h: Likewise.
61161 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61162 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61163 * sysdeps/unix/i386/sysdep.S: Likewise.
61164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61165 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61166 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61170 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61175 * sysdeps/x86_64/dl-machine.h: Likewise.
61176 * tls.make.c: Likewise.
61177
61178 * configure.in: Remove --with-__thread option. Make tests for
61179 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61180 tls_model attribute fail if no support is available. Remove
61181 USE_IN_LIBIO.
61182 * Makeconfig: Adjust for dropped configure option. All features are
61183 now mandatory.
61184 * Makerules: Likewise.
61185 * Versions.def: Likewise.
61186 * argp/argp-fmtstream.c: Likewise.
61187 * argp/argp-fmtstream.h: Likewise.
61188 * argp/argp-help.c: Likewise.
61189 * assert/assert.c: Likewise.
61190 * config.h.in: Likewise.
61191 * config.make.in: Likewise.
61192 * configure: Likewise.
61193 * configure.in: Likewise.
61194 * csu/Versions: Likewise.
61195 * csu/init.c: Likewise.
61196 * elf/tst-audit2.c: Likewise.
61197 * elf/tst-tls10.c: Likewise.
61198 * elf/tst-tls10.h: Likewise.
61199 * elf/tst-tls11.c: Likewise.
61200 * elf/tst-tls12.c: Likewise.
61201 * elf/tst-tls14.c: Likewise.
61202 * elf/tst-tlsmod11.c: Likewise.
61203 * elf/tst-tlsmod12.c: Likewise.
61204 * elf/tst-tlsmod13.c: Likewise.
61205 * elf/tst-tlsmod13a.c: Likewise.
61206 * elf/tst-tlsmod14a.c: Likewise.
61207 * elf/tst-tlsmod15b.c: Likewise.
61208 * elf/tst-tlsmod16a.c: Likewise.
61209 * elf/tst-tlsmod16b.c: Likewise.
61210 * elf/tst-tlsmod7.c: Likewise.
61211 * elf/tst-tlsmod8.c: Likewise.
61212 * elf/tst-tlsmod9.c: Likewise.
61213 * gmon/gmon.c: Likewise.
61214 * grp/fgetgrent_r.c: Likewise.
61215 * grp/putgrent.c: Likewise.
61216 * hurd/fopenport.c: Likewise.
61217 * include/libc-symbols.h: Likewise.
61218 * include/tls.h: Likewise.
61219 * intl/gettextP.h: Likewise.
61220 * intl/loadinfo.h: Likewise.
61221 * locale/global-locale.c: Likewise.
61222 * locale/localeinfo.h: Likewise.
61223 * mach/devstream.c: Likewise.
61224 * malloc/arena.c: Likewise.
61225 * malloc/set-freeres.c: Likewise.
61226 * misc/err.c: Likewise.
61227 * misc/getttyent.c: Likewise.
61228 * misc/mntent_r.c: Likewise.
61229 * posix/getopt.c: Likewise.
61230 * posix/wordexp.c: Likewise.
61231 * pwd/fgetpwent_r.c: Likewise.
61232 * resolv/Versions: Likewise.
61233 * resolv/res_hconf.c: Likewise.
61234 * shadow/fgetspent_r.c: Likewise.
61235 * shadow/putspent.c: Likewise.
61236 * stdio-common/printf_fphex.c: Likewise.
61237 * stdio-common/tmpfile.c: Likewise.
61238 * stdlib/abort.c: Likewise.
61239 * stdlib/fmtmsg.c: Likewise.
61240 * sunrpc/auth_unix.c: Likewise.
61241 * sunrpc/clnt_perr.c: Likewise.
61242 * sunrpc/clnt_tcp.c: Likewise.
61243 * sunrpc/clnt_udp.c: Likewise.
61244 * sunrpc/clnt_unix.c: Likewise.
61245 * sunrpc/openchild.c: Likewise.
61246 * sunrpc/svc_simple.c: Likewise.
61247 * sunrpc/svc_tcp.c: Likewise.
61248 * sunrpc/svc_udp.c: Likewise.
61249 * sunrpc/svc_unix.c: Likewise.
61250 * sunrpc/xdr.c: Likewise.
61251 * sunrpc/xdr_array.c: Likewise.
61252 * sunrpc/xdr_rec.c: Likewise.
61253 * sunrpc/xdr_ref.c: Likewise.
61254 * sunrpc/xdr_stdio.c: Likewise.
61255
61256 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61257
61258 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61259
61260 2011-07-03 Andreas Jaeger <aj@suse.de>
61261
61262 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61263 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61264 regenerate with gen-libm-tests.pl.
61265
61266 2010-05-12 Petr Baudis <pasky@suse.cz>
61267
61268 [BZ #11589]
61269 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61270 around j0() zero points by switching to j1().
61271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61275
61276 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61277
61278 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61279 instead of 0.
61280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61281 instead of 0.
61282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61283 Patch in part by Pavel Roskin <proski@gnu.org>.
61284
61285 [BZ #13138]
61286 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61287 realloc.
61288 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61289 Free memory block if necessary.
61290
61291 [BZ #12847]
61292 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61293 be NULL. Don't lock in this case.
61294
61295 2011-09-09 Roland McGrath <roland@hack.frob.com>
61296
61297 * elf/elf.h (ELFOSABI_GNU): New macro.
61298 (ELFOSABI_LINUX): Define to that.
61299
61300 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61301
61302 * string/strncat.c (strncat): Undef the symbol in case it has been
61303 defined in bits/string.h.
61304
61305 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61306
61307 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61308
61309 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61310 link map.
61311
61312 2011-08-17 Andreas Jaeger <aj@suse.de>
61313
61314 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61315
61316 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61317 Ian Lance Taylor <iant@google.com>
61318
61319 * math/libm-test.inc (lround_test): New testcase.
61320 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61321
61322 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61323
61324 * Makefile: Remove support for automatic cvs check-ins.
61325 * Makerules: Likewise.
61326 * config.make.in: Likewise.
61327 * configure.in: Likewise.
61328 * intl/Makefile: Likewise.
61329 * locale/Makefile: Likewise.
61330 * po/Makefile: Likewise.
61331 * posix/Makefile: Likewise.
61332 * sysdeps/gnu/Makefile: Likewise.
61333 * sysdeps/mach/hurd/Makefile: Likewise.
61334 * sysdeps/sparc/sparc32/Makefile: Likewise.
61335
61336 [BZ #13118]
61337 * posix/Makefile (bug-regex32-ENV): Define.
61338 Patch by John Stanley <jpsinthemix@verizon.net>.
61339
61340 * misc/Makefile (headers): Add bits/select2.h.
61341 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61342 * misc/bits/select2.h: New file.
61343 * include/bits/select2.h: New file.
61344 * debug/Makefile (routines): Add fdelt_chk.
61345 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61346 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61347 FD_ISSET.
61348 * debug/fdelt_chk.c: New file.
61349
61350 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61351 * wcsmbs/test-wmemcmp.c: Likewise.
61352 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61353 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61354
61355 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61356
61357 * string/Makefile (strop-tests): Add memcmp.
61358 * string/test-wmemcmp.c: New file.
61359 * string/test-memcmp.c: Add wmemcmp support.
61360
61361 2011-09-08 Roland McGrath <roland@hack.frob.com>
61362
61363 [BZ #13153]
61364 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61365 2011-07-19 change.
61366
61367 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61368 garbage value in a __mach_port_mod_refs call in the cases of the
61369 task-self and thread-self ports.
61370
61371 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61372
61373 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61374
61375 2011-09-08 Andreas Schwab <schwab@redhat.com>
61376
61377 * elf/dl-load.c (lose): Check for non-null L.
61378
61379 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61380
61381 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61382
61383 * elf/dl-libc.c (dlerror_run): Pass back error code from
61384 dl_catch_error.
61385
61386 [BZ #13123]
61387 * elf/dl-load.c (lose): Free l_origin if it is valid.
61388
61389 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61390 names.
61391 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61392 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61396 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61397
61398 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61399
61400 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61401 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61402 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61403 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61404 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61405 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61406 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61407 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61408 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61409 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61410
61411 2011-08-15 Alan Modra <amodra@gmail.com>
61412
61413 [BZ #13092]
61414 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61415 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61416 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61417 ppc_mcount to static-only-routines.
61418 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61419 __mcount_internal.
61420 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61421 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61422
61423 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61424
61425 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61426 for finite and infinity parameters.
61427
61428 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61429
61430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61431 and add nop instructions for throughput optimization.
61432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61433
61434 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61435
61436 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61437 aligned copy for power7 with vector-scalar instructions.
61438 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61439
61440 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61441
61442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61443 AVX check.
61444
61445 2011-09-07 Andreas Schwab <schwab@redhat.com>
61446
61447 [BZ #13144]
61448 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61449 last change.
61450
61451 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61452
61453 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61454 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61455 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61456 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61457 clock_gettime.
61458
61459 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61460
61461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61462 Forgot to demangle the pointer.
61463
61464 * sysdeps/i386/sysdep.h: Define atom_text_section.
61465 * sysdeps/x86_64/sysdep.h: Likewise.
61466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61467 section with atom_text_section.
61468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61470 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61472 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61473
61474 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61475 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61476 already be defined. Change to take two parameters and don't assign
61477 result to variable. Adjust all users.
61478 Define INTERNAL_GETTIME if not already defined.
61479 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61480 call.
61481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61482 HAVE_CLOCK_GETTIME_VSYSCALL.
61483 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61484
61485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61486 gettimeofday vsyscall, just use time.
61487
61488 2011-09-06 Andreas Schwab <schwab@redhat.com>
61489
61490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61491 <errno.h>.
61492
61493 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61494
61495 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61496 syscall on x86-64.
61497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61498 syscall.
61499 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61501 syscall if possible.
61502
61503 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61504
61505 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61506 e_ident. Don't pass to find_mapsXX.
61507 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61508
61509 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61510
61511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61512 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61513 * sysdeps/x86_64/multiarch/strchr.S: Update.
61514 Check bit_slow_BSF bit.
61515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61516 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61517 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61518
61519 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61520
61521 [BZ #13134]
61522 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61523 before glibc 2.15.
61524 (tryshell): Define.
61525 (__spawni): Change last parameter to be flag. Test
61526 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61527 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61528 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61529 * posix/spawni.c: Likewise.
61530 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61531 * posix/spawnp.c: Likewise. Change normal version to use
61532 SPAWN_XFLAGS_USE_PATH.
61533 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61534 SPAWN_XFLAGS_TRY_SHELL.
61535
61536 [BZ #13150]
61537 * posix/glob.h: Remove gcc 1.x support.
61538
61539 [BZ #13068]
61540 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61541
61542 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61543
61544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61545 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61546 strrchr-sse2-bsf
61547 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61548 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61549 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61551 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61552 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61553
61554 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61555
61556 * sysdeps/x86_64/wcscmp.S: New file.
61557
61558 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61559 wcscmp-c wcscmp-sse2
61560 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61561 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61563 * wcsmbs/wcscmp.c: Allow renaming.
61564
61565 2011-09-05 David S. Miller <davem@davemloft.net>
61566
61567 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61568 stack slot, rather than the struct return pointer slot.
61569 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61570 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61572 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61573
61574 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61575
61576 * po/ja.po: Update from translation team.
61577
61578 [BZ #13144]
61579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61580 kernel in 64-bit binaries.
61581
61582 2011-09-01 David S. Miller <davem@davemloft.net>
61583
61584 * elf/elf.h (HWCAP_SPARC_*): Move to..
61585 * sysdeps/sparc/sysdep.h: this new file and add new values.
61586 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61587 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61588 _DL_HWCAP_COUNT to 24.
61589 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61590 entries.
61591 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61592 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61593 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61595 instead of magic constants.
61596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61597
61598 2011-08-31 David S. Miller <davem@davemloft.net>
61599
61600 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61602 Reimplement to do errno handling inline.
61603 (SYSCALL_ERROR_HANDLER): New macro.
61604 (__SYSCALL_STRING): Do not do errno handling in asm.
61605 (__CLONE_SYSCALL_STRING): Delete.
61606 (__INTERNAL_SYSCALL_STRING): Delete.
61607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61608 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61609 (PSEUDO): Reimplement to do errno handling inline.
61610 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61611 (SYSCALL_ERROR_HANDLER): New macro.
61612 (__SYSCALL_STRING): Do not do errno handling in asm.
61613 (__CLONE_SYSCALL_STRING): Delete.
61614 (__INTERNAL_SYSCALL_STRING): Delete.
61615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61616 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61617 i386.
61618 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61619 (inline_syscall*): Add 'err' argument.
61620 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61621 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61622 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61623 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61624
61625 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61626 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61627
61628 2011-08-30 Andreas Schwab <schwab@redhat.com>
61629
61630 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61631
61632 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61633
61634 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61635 directive.
61636
61637 2011-08-24 David S. Miller <davem@davemloft.net>
61638
61639 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61640
61641 2011-08-24 Andreas Schwab <schwab@redhat.com>
61642
61643 * elf/Makefile: Add rules to build and run unload8 test.
61644 * elf/unload8.c: New file.
61645 * elf/unload8mod1.c: New file.
61646 * elf/unload8mod1x.c: New file.
61647 * elf/unload8mod2.c: New file.
61648 * elf/unload8mod3.c: New file.
61649
61650 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61651 it wasn't used.
61652
61653 2011-08-23 David S. Miller <davem@davemloft.net>
61654
61655 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61656 subtract stack bias.
61657 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61658 %sp not %fp in calculations.
61659 (_JMPBUF_UNWINDS_ADJ): Likewise.
61660
61661 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61662 (aio_suspend): Call it to force an exception region around the
61663 AIO_MISC_WAIT() invocation.
61664
61665 2011-08-23 Andreas Schwab <schwab@redhat.com>
61666
61667 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61668 backslash.
61669
61670 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61671
61672 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61673 protection macro.
61674 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61675 and <dl-machine.h>.
61676 (Elf64_FuncDesc): Remove.
61677
61678 2011-08-22 David S. Miller <davem@davemloft.net>
61679
61680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61681 sigaltstack check, add missing cfi directives.
61682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61683 missing cfi directives, and sigaltstack handling.
61684
61685 2011-08-16 Andreas Schwab <schwab@redhat.com>
61686
61687 [BZ #11724]
61688 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61689 object is seen twice.
61690 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61691
61692 * elf/Makefile (distribute): Add tst-initorder2.c.
61693 (tests): Add tst-initorder2.
61694 (modules-names): Add tst-initorder2a tst-initorder2b
61695 tst-initorder2c tst-initorder2d. Add rules to build them.
61696 ($(objpfx)tst-initorder2.out): New rule.
61697 * elf/tst-initorder2.c: New file.
61698 * elf/tst-initorder2.exp: New file.
61699
61700 2011-08-22 Andreas Schwab <schwab@redhat.com>
61701
61702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61703
61704 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61705 dependencies back to end of function.
61706
61707 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61708 $(elfobjdir)/ld.so.
61709
61710 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61711
61712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61713 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61715 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61716 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61717 of __vdso_gettimeofday.
61718 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61719 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61720 attribute_hidden.
61721 (_libc_vdso_platform_setup): Remove initialization of
61722 __vdso_gettimeofday and __vdso_time.
61723
61724 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61725
61726 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61727 and fgetc_unlocked.
61728 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61729 getc_unlocked.
61730
61731 * elf/dl-open.c (add_to_global): Report additions to the global scope
61732 for LD_DEBUG=scopes.
61733 (dl_open_worker): Also print scope of newly loaded dependencies.
61734 (_dl_show_scope): Indicate if there is no scope.
61735
61736 [BZ #13114]
61737 * stdio-common/Makefile (tests): Add bug24.
61738 * stdio-common/bug24.c: New file.
61739
61740 2011-08-19 Andreas Jaeger <aj@suse.de>
61741
61742 [BZ #13114]
61743 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61744 non-existant file when using close-on-exec mode.
61745
61746 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61747
61748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61749 the very first instruction.
61750
61751 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61752 the CFI state in the end.
61753 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61754 inclusion of dl-trampoline.h.
61755 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61756
61757 2011-08-19 Andreas Schwab <schwab@redhat.com>
61758
61759 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61760 expectations for long double.
61761
61762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61763 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61764
61765 2011-08-14 David S. Miller <davem@davemloft.net>
61766
61767 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61768 artificual limit depends upon the system page size.
61769
61770 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61771
61772 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61773 * resolv/Makefile: Define CFLAGS-libresolv.
61774
61775 2011-08-17 Andreas Schwab <schwab@redhat.com>
61776
61777 * nss/makedb.c (compute_tables): Make variables used in nested
61778 function static.
61779
61780 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61781
61782 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61783 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61784 if buffer was too small.
61785
61786 * elf/pldd.c (main): Attach to all threads in the process.
61787 Rewrite /proc handling to use *at functions.
61788
61789 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61790
61791 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61792 specifies first scope to show.
61793 (dl_open_worker): Update callers. Move printing scope of new
61794 object to before the relocation.
61795 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61796 * sysdeps/generic/ldsodefs.h: Update declaration.
61797
61798 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61799 string for the scope number.
61800
61801 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61802
61803 * nscd/servicescache.c (cache_addserv): Make sure written is always
61804 initialized.
61805
61806 2011-08-14 Roland McGrath <roland@hack.frob.com>
61807
61808 * sysdeps/i386/i486/bits/atomic.h
61809 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61810 statement expression, so as to suppress "set but not used" warning.
61811 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61812
61813 * string/strncat.c (STRNCAT): Use prototype definition.
61814
61815 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61816 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61817 -Iprograms here.
61818 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61819 (localedef-modules): Add localedef.
61820 (locale-modules): Add locale.
61821
61822 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61823 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61824 to avoid a warning.
61825
61826 2011-08-14 David S. Miller <davem@davemloft.net>
61827
61828 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61829 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61830
61831 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61832
61833 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61834 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61835 * elf/rtld.c (dl_main): Set l_name of vDSO.
61836 Call _dl_show_scope when DL_DEBUG_SCOPES.
61837 (process_dl_debug): Recognize scopes flag and also set it for all.
61838 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61839 Declare _dl_show_scope.
61840
61841 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61842 (do_dlopen): Pass caller_dlopen to dl_open.
61843 (__libc_dlopen_mode): Initialize caller_dlopen.
61844
61845 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61846 of libc. Make tolower call locale-independent. Optimize a bit by
61847 using isdigit instead of isalnum.
61848 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61849
61850 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61851
61852 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61853 was a dependency or dynamically loaded.
61854
61855 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61856
61857 * intl/l10nflist.c: Allow architecture-specific pop function.
61858 * sysdeps/x86_64/l10nflist.c: New file.
61859
61860 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61861 classification.
61862
61863 2011-08-10 Andreas Schwab <schwab@redhat.com>
61864
61865 * include/dirent.h: Add libc_hidden_proto for scandirat and
61866 scandirat64. Don't declare __scandirat64.
61867 * dirent/scandirat.c: Add libc_hidden_def.
61868 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61869 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61870
61871 2011-08-10 David S. Miller <davem@davemloft.net>
61872
61873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61874 enum.
61875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61877 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61878
61879 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61880
61881 * Versions.def [libc]: Add GLIBC_2.15.
61882 * dirent/Makefile (routines): Add scandirat and scandirat64.
61883 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61884 GLIBC_2.15.
61885 * dirent/dirent.h: Declare scandirat and scandirat64.
61886 * dirent/scandirat.c: New file.
61887 * dirent/scandirat64.c: New file.
61888 * sysdeps/wordsize-64/scandirat.c: New file.
61889 * sysdeps/wordsize-64/scandirat64.c: New file.
61890 * dirent/opendir.c: Define opendirat.
61891 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61892 using scandirat.
61893 * dirent/scandir64.c: Adjust for scandir.c change.
61894 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61895 __scandirat64, and __scandir_cancel_handler.
61896 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61897 additional parameter and use openat instead of open (outside of ld.so).
61898 Add new __opendir as wrapper around __opendirat.
61899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61900 here without requiring old scandirat implementation.
61901
61902 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61903
61904 * dirent/scandir.c (cancel_handler): Renamed to
61905 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61906 defined. Adjust users.
61907 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61909
61910 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61911
61912 * string/test-string.h (IMPL): Use __STRING to expand name and then
61913 stringify it.
61914
61915 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61916 of cleanups.
61917
61918 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61919
61920 * string/Makefile: Update.
61921 (strop-tests): Append strncat.
61922 * string/test-wcscmp.c: New file.
61923 New comprehensive test for wcscmp.
61924 * string/test-strcmp.c: Update.
61925 (WIDE): New define.
61926
61927 2011-07-22 Andreas Schwab <schwab@redhat.com>
61928
61929 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61930 line.
61931
61932 2011-07-26 Andreas Schwab <schwab@redhat.com>
61933
61934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61935 encoding to ACE if AI_IDN.
61936
61937 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61938
61939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61940 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61941
61942 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61943
61944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61945 Fix overflow bug in strncat.
61946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61947
61948 * string/test-strncat.c: Update.
61949 Add new tests for checking overflow bugs.
61950
61951 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61952
61953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61954 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61955 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61956 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61958 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61959 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61960 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61961 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61962
61963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61964 (USE_AS_STRCAT): Define.
61965 Add strcat and strncat support.
61966 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61967
61968 2011-07-25 Andreas Schwab <schwab@redhat.com>
61969
61970 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61971 __n bigger than INT_MAX+1.
61972 (__strncmp_g): Likewise.
61973
61974 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61975
61976 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61977 * libio/stido.h: Likewise.
61978
61979 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61980 (AF_NFC): Define.
61981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61982 (AF_NFC): Define.
61983
61984 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61987 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61989
61990 [BZ #13021]
61991 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61992 installed.
61993
61994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61995 typo.
61996 (_dl_x86_64_save_sse): Likewise.
61997
61998 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61999
62000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62001 OSXSAVE.
62002 (_dl_x86_64_save_sse): Likewise.
62003
62004 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62005
62006 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62007
62008 2011-07-21 Andreas Schwab <schwab@redhat.com>
62009
62010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62011 change.
62012 (_dl_x86_64_save_sse): Use correct AVX check.
62013
62014 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62015
62016 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62017 bug in strncpy/strncat.
62018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62019
62020 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62021
62022 * string/tester.c (test_strcat): Add tests for different alignments
62023 of source and destination.
62024 (test_strncat): Likewise.
62025
62026 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62027
62028 [BZ #12852]
62029 * posix/glob.c (glob): Check passed in values before using them in
62030 expressions to avoid some overflows.
62031 (glob_in_dir): Likewise.
62032
62033 [BZ #13007]
62034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62035 check for AVX enablement so that we don't crash with old kernels and
62036 new hardware.
62037 * elf/tst-audit4.c: Add same checks here.
62038 * elf/tst-audit6.c: Likewise.
62039
62040 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62041
62042 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62043
62044 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62045
62046 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62047
62048 * po/cs.po: Update from translation team.
62049 * po/bg.po: Likewise.
62050
62051 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62052
62053 * misc/sys/cdefs.h: Add support for const attribute.
62054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62055 to gnu_dev_{major,minor,makedev} functions.
62056
62057 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62058
62059 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62060
62061 2011-07-20 Andreas Schwab <schwab@redhat.com>
62062
62063 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62064 strlen results.
62065
62066 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62067
62068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62069 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62070 register in order to avoid conflicts with the soft frame pointer
62071 being held in r11 when necessary.
62072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62073 (INTERNAL_VSYSCALL_NCS): Likewise.
62074
62075 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62076
62077 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62078 * elf/dl-fini.c (_dl_fini): Adjust caller.
62079 * elf/dl-close.c (_dl_close_worker): Likewise.
62080 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62081
62082 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62083
62084 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62085 "aux_cache->nlibs < 0".
62086
62087 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62088 in the reload-count case.
62089
62090 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62091
62092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62093 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62094 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62095 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62096 * sysdeps/x86_64/multiarch/strcat.S: New file.
62097 * sysdeps/x86_64/multiarch/strncat.S: New file.
62098 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62099 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62100 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62101 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62103 (USE_AS_STRCAT): Define.
62104 Add strcat and strncat support.
62105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62107 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62108 * string/strncat.c: Update.
62109 (USE_AS_STRNCAT): Define.
62110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62111 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62112 and i7.
62113 * sysdeps/x86_64/multiarch/init-arch.h
62114 (bit_Prefer_PMINUB_for_stringop): New.
62115 (index_Prefer_PMINUB_for_stringop): Likewise.
62116 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62117 bit_Prefer_PMINUB_for_stringop.
62118
62119 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62120
62121 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62122 buffer64.
62123 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62124 of casting of buffer.
62125 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62126 buffer32 and buffer64.
62127 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62128 writes instead of casting of buffer.
62129 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62130 buffer32.
62131 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62132 casting of buffer.
62133
62134 2011-07-19 Andreas Schwab <schwab@redhat.com>
62135
62136 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62137
62138 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62139
62140 * nscd/nscd.c (termination_handler): Don't do anything for a database
62141 if it has not yet been initialized.
62142
62143 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62144
62145 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62146
62147 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62148
62149 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62150
62151 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62152
62153 * po/nl.po: Update from translation team.
62154 * po/sv.po: Likewise.
62155
62156 2011-07-16 Roland McGrath <roland@hack.frob.com>
62157
62158 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62159 now disallowed by GCC.
62160
62161 * configure.in (use-default-link): Default to yes if a test -shared
62162 link meets our qualifications.
62163 * configure: Regenerated.
62164
62165 * config.make.in (output-format): New variable.
62166 * configure.in: Check for ld --print-output-format support.
62167 * configure: Regenerated.
62168 * Makerules ($(common-objpfx)format.lds)
62169 [$(output-format) != unknown]: Just use $(output-format),
62170 instead of the linker-script munging.
62171
62172 2011-07-14 Roland McGrath <roland@hack.frob.com>
62173
62174 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62175 of $(common-objpfx)shlib.lds.
62176 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62177
62178 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62179 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62180
62181 * configure.in (-z relro check): Adjust test code to add a large
62182 writable data section after it.
62183 * configure: Regenerated.
62184
62185 2011-07-11 Roland McGrath <roland@hack.frob.com>
62186
62187 * configure.in (-z relro check): Fix test code to make the variable
62188 truly const.
62189 * configure: Regenerated.
62190
62191 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62192
62193 * nscd/nscd.h (struct traced_file): Define.
62194 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62195 elements. Add traced_files.
62196 (inotify_fd): Declare.
62197 (register_traced_file): Declare.
62198 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62199 (inotify_fd): Export.
62200 (resolv_conf_descr): Remove.
62201 (nscd_init): Move inotify descriptor creation to main.
62202 Don't register files for notification here.
62203 (register_traced_file): New function.
62204 (invalidate_cache): Don't use reset_res to determine whether to call
62205 res_init, go through the list of registered files.
62206 (main_loop_poll): The inotify descriptors are now stored in the
62207 structures for the traced files.
62208 (main_loop_epoll): Likewise
62209 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62210 to __nss_disable_nscd.
62211 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62212 for a database anymore. Check the records for all the registered
62213 files instead.
62214 * nss/Makefile (libnss_files-routines): Add files-init.
62215 (libnss_db-routines): Add db-init.
62216 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62217 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62218 * nss/nss_db/db-init.c: New file.
62219 * nss/nss_files/files-init.c: New file.
62220 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62221 __nss_lookup_function.
62222 (__nss_lookup_function): Call nss_load_library.
62223 (nss_load_all_libraries): New function.
62224 (__nss_disable_nscd): Take parameter with callback function for files
62225 to register. Set is_nscd. Load all the DSOs for the NSS modules
62226 used for the cached services.
62227 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62228 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62229 options for features to all the files in nscd.
62230
62231 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62232
62233 2011-07-10 Roland McGrath <roland@hack.frob.com>
62234
62235 * csu/elf-init.c (__libc_csu_init): Comment typo.
62236
62237 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62238
62239 * po/pl.po: Update from translation team.
62240 * po/ja.po: Likewise.
62241 * po/ru.po: Likewise.
62242 * po/ko.po: Likewise.
62243 * po/fr.po: Likewise.
62244
62245 2011-07-09 Roland McGrath <roland@hack.frob.com>
62246
62247 * configure.in (.ctors/.dtors header and trailer check):
62248 Use an empirical test on a built program.
62249 * configure: Regenerated.
62250
62251 * configure.in (-z relro check): Use an empirical test on a built DSO.
62252 Detect, but do not require, on ia64.
62253 * configure: Regenerated.
62254
62255 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62256 Update tests that use readelf to use $READELF instead.
62257 * configure: Regenerated.
62258
62259 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62260
62261 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62262 if the result is not used.
62263
62264 2011-07-05 Andreas Jaeger <aj@suse.de>
62265
62266 [BZ#9696]
62267 * stdlib/tst-strtod.c: Add testcase.
62268
62269 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62270
62271 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62272 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62273 The latter has a higher limit. Take additional parameter to pass to
62274 the new function.
62275 (__pathconf): Pass file to __statfs_link_max.
62276 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62277 __statfs_link_max.
62278 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62279 __statfs_link_max.
62280
62281 [BZ #12868]
62282 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62284 Handle Lustre.
62285 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62286 (__statfs_filesize_max): Likewise.
62287 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62288
62289 2011-07-05 Andreas Jaeger <aj@suse.de>
62290
62291 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62292
62293 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62294
62295 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62296 `status' variable.
62297 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62298 Likewise.
62299
62300 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62301
62302 * Makefile (strop-tests): Add strncat.
62303 * string/test-strncat.c: New file.
62304
62305 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62306
62307 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62308
62309 2011-06-21 Andreas Jaeger <aj@suse.de>
62310
62311 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62312 Copy rule from iconvdata/Makefile.
62313
62314 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62315
62316 [BZ #12922]
62317 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62318 but no long options are defined, just return 'W'.
62319
62320 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62321
62322 [BZ #9696]
62323 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62324
62325 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62326
62327 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62328 netgroups to read.
62329 (innetgr): Likewise.
62330
62331 2011-07-05 Roland McGrath <roland@hack.frob.com>
62332
62333 * config.make.in (install_root): Default to $(DESTDIR).
62334
62335 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62336
62337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62338
62339 2011-07-02 Roland McGrath <roland@hack.frob.com>
62340
62341 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62342
62343 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62344 containing directory rather than embedding absolute directory names.
62345
62346 * scripts/check-local-headers.sh: Rewritten using awk.
62347 Match by word, not by line. Print error messages for matches.
62348 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62349
62350 * Makerules [shlib-lds-flags empty]:
62351 ($(common-objpfx)libc_pic.opts): New target.
62352 ($(common-objpfx)libc_pic.os.clean): New target.
62353 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62354
62355 * config.make.in (OBJCOPY): New variable.
62356 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62357 * configure: Regenerated.
62358
62359 * config.make.in (use-default-link): New variable.
62360 * configure.in (use_default_link): Grok --with-default-link to set it.
62361 * configure: Regenerated.
62362 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62363 (shlib-lds, shlib-lds-flags): Define to empty.
62364
62365 * Makerules (shlib-lds): New variable.
62366 (shlib-lds-flags): New variable.
62367 (build-shlib, build-moduile, build-module-asneeded): Use it.
62368 ($(common-objpfx)libc.so): Use $(shlib-lds).
62369 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62370 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62371
62372 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62373 DT_FLAGS/DT_FLAGS_1 with zero flags.
62374
62375 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62376 linker script munging.
62377
62378 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62379
62380 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62381 as 128-bit value.
62382 * crypt/sha512.c (sha512_process_block): Perform total addition using
62383 128-bit if possible.
62384 (__sha512_finish_ctx): Likewise.
62385 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62386 as 64-bit value.
62387 * crypt/sha256.c (SWAP64): Define.
62388 (sha256_process_block): Perform total addition using 64-bit if
62389 possible.
62390 (__sha256_finish_ctx): Likewise.
62391
62392 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62393
62394 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62396 * nscd/hstcache.c (cache_addhst): Likewise.
62397 * nscd/grpcache.c (cache_addgr): Likewise.
62398 * nscd/aicache.c (addhstaiX): Likewise
62399 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62400
62401 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62402
62403 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62405 * nscd/hstcache.c (cache_addhst): Likewise.
62406 * nscd/grpcache.c (cache_addgr): Likewise.
62407 * nscd/aicache.c (addhstaiX): Likewise
62408
62409 2011-07-01 Andreas Schwab <schwab@redhat.com>
62410
62411 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62412 domain only when needed.
62413
62414 2011-06-30 Andreas Schwab <schwab@redhat.com>
62415
62416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62417 is always restored.
62418
62419 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62420
62421 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62422 are re-adding the entry.
62423 * nscd/servicescache.c (cache_addserv): Likewise.
62424
62425 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62426
62427 * sysdeps/generic/dl-irel.h: fix protection against multiple
62428 inclusions.
62429 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62430
62431 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62432
62433 [BZ #12935]
62434 * malloc/memusage.sh: Fix quoting in message.
62435 * debug/xtrace.sh: Likewise.
62436
62437 * configure.in: Remove support for --experimental-malloc option, make
62438 it the default.
62439 * config.make.in: Likewise.
62440 * malloc/Makefile: Likewise.
62441
62442 2011-06-27 Andreas Schwab <schwab@redhat.com>
62443
62444 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62445 two-byte characters.
62446
62447 2011-06-27 Roland McGrath <roland@hack.frob.com>
62448
62449 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62450 AC_CACHE_CHECK invocation.
62451 * configure: Regenerated.
62452
62453 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62454
62455 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62456
62457 [BZ #12350]
62458 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62459 bit from old_res_options.
62460
62461 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62462
62463 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62464 value type for setfct.
62465
62466 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62467
62468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62469 __gettimeofday instead of gettimeofday.
62470
62471 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62472
62473 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62474
62475 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62476
62477 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62478
62479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62480 info.
62481
62482 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62483
62484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62485 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62486 strcpy-sse2-unaligned strncpy-sse2-unaligned
62487 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62488 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62489 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62490 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62491 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62493 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62494 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62495 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62496 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62497 (STRCPY): Support SSE2 and SSSE3 versions.
62498
62499 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62500
62501 [BZ #12874]
62502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62503 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62504 kernels which artificially limit size of requests.
62505
62506 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62507
62508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62509 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62510 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62511 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62512 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62513 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62514 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62515 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62516 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62518 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62519 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62520 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62521 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62522 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62524 Enable unaligned load optimization for Intel Core i3, i5 and i7
62525 processors.
62526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62527 Define.
62528 (index_Fast_Unaligned_Load): Define.
62529 (HAS_FAST_UNALIGNED_LOAD): Define.
62530
62531 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62532
62533 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62534
62535 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62536
62537 [BZ #12907]
62538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62539 until it is clear that the information is realy needed.
62540 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62541
62542 2011-06-22 Andreas Schwab <schwab@redhat.com>
62543
62544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62545
62546 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62547
62548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62549 /sys/devices/system/cpu/online if it is usable.
62550
62551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62552 reading the information from the /proc filesystem to once a second.
62553
62554 2011-06-21 Andreas Jaeger <aj@suse.de>
62555
62556 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62557 NULL after inclusion of kernel headers.
62558
62559 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62560
62561 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62562 calls to internal_setent.
62563
62564 [BZ #12885]
62565 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62566 addresses using gethostbyname4_r ignore IPv4 addresses.
62567
62568 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62569 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62570
62571 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62572
62573 2011-06-20 David S. Miller <davem@davemloft.net>
62574
62575 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62576 inclusions.
62577 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62578
62579 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62580 (elf_irel): Use it.
62581 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62582 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62583 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62584 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62585 * sysdeps/x86_64/dl-irel.h: Likewise.
62586
62587 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62588 * elf/dl-sym.c: Likewise.
62589
62590 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62591
62592 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62593 need to dereference resplen2.
62594
62595 2011-06-14 Andreas Schwab <schwab@redhat.com>
62596
62597 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62598
62599 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62600
62601 * Makeconfig: Define vardbdir and inst_vardbdir.
62602 * nss/Makefile: Add rules to install db-Makefile.
62603
62604 * nss/nss_db/db-XXX.c: Cleanup.
62605
62606 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62607 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62608 GLIBC_PRIVATE.
62609 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62610 * nss/makedb.c: Implement -g option to specify that value strings
62611 are generated and should not be added to table iterated over for
62612 get*ent calls.
62613 * nss/nss_db/db-initgroups.c: New file.
62614
62615 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62616 interface.
62617
62618 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62619 (internal_getgrouplist): Adjust to name change.
62620 Update use_initgroups_entry if this is not the first call.
62621 * nss/databases.def: Add initgroups entry.
62622
62623 * nss/makedb.c (compute_tables): Check result of multiple hash table
62624 sizes to minimize maximum chain length.
62625
62626 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62627
62628 * Versions.def: Add entry for libnss_db.
62629 * shlib-versions: Likewise.
62630 * nss/Makefile: Add rules to build libnss_db.
62631 * nss/Versions: Add libnss_db information. Organize libnss_files
62632 entries better.
62633 * nss/db-Makefile: Add gshadow support. Change rules for the new
62634 makedb progra. Some minor improvements to generate smaller files.
62635 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62636 here from...
62637 * nss/makedb.c: ...here.
62638 Improve database format to be smaller and require less memory at
62639 runtime.
62640 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62641 db anymore.
62642 * nss/nss_db/db-netgrp.c: Likewise.
62643 * nss/nss_db/db-open.c: Likewise.
62644 * nss/nss_files/flies-XXX.x: Adjust comments.
62645 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62646 * nss/nss_files/files-grp.c: Likewise.
62647 * nss/nss_files/files-hosts.c: Likewise.
62648 * nss/nss_files/files-network.c: Likewise.
62649 * nss/nss_files/files-proto.c: Likewise.
62650 * nss/nss_files/files-pwd.c: Likewise.
62651 * nss/nss_files/files-rpc.c: Likewise.
62652 * nss/nss_files/files-service.c: Likewise.
62653 * nss/nss_files/files-sgrp.c: Likewise.
62654 * nss/nss_files/files-spwd.c: Likewise.
62655 * nss/nss_db/db-alias.c: Removed.
62656 * nss/nss_db/dummy-db.h: Removed.
62657
62658 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62659
62660 * nss/makedb.c: Rewritten to not use database library.
62661 * nss/Makefile: Update to build new makedb program.
62662
62663 2011-06-14 Andreas Jaeger <aj@suse.de>
62664
62665 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62666 memset declaration.
62667
62668 2011-06-10 Andreas Schwab <schwab@redhat.com>
62669
62670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62671 tmpbuf.
62672
62673 2011-06-10 Roland McGrath <roland@hack.frob.com>
62674
62675 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62676 * elf/Makefile ($(objpfx)ld.so): Likewise.
62677
62678 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62679 Don't list ld.so twice in dependencies.
62680
62681 * posix/bug-regex31.c: Include <stdlib.h>.
62682
62683 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62684
62685 * nis/nss_compat/compat-spwd.c
62686 (getspent_next_nss_netgr): Remove unused variable.
62687 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62688
62689 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62690 nonmembers" output to use the right array.
62691
62692 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62693
62694 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62695
62696 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62697 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62698 * catgets/gencat.c (read_input_file): Likewise.
62699 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62700
62701 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62702 variable definition inside #if's controlling its use.
62703
62704 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62705
62706 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62707
62708 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62709
62710 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62711 unreachable code.
62712
62713 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62714
62715 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62716 * configure: Regenerated.
62717
62718 * Makerules: Revert last change.
62719 * elf/Makefile: Likewise.
62720
62721 2011-06-09 Roland McGrath <roland@hack.frob.com>
62722
62723 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62724 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62725 (reloc-link): Likewise.
62726
62727 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62728
62729 * elf/Makefile: Add rules to build pldd.
62730 * elf/pldd.c: New file.
62731 * elf/pldd-xx.c: New file.
62732
62733 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62734
62735 * version.h: Update for 2.15 development version.
62736
62737 2011-06-07 David S. Miller <davem@davemloft.net>
62738
62739 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62740 ifuncs.
62741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62742 elf_machine_lazy_rel): Likewise.
62743 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62745 elf_machine_lazy_rel): Likewise.
62746 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62747 dl_hwcap via passed in argument.
62748 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62749 Likewise.
62750
62751 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62752
62753 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62754
62755 2011-06-06 Roland McGrath <roland@hack.frob.com>
62756
62757 [BZ #12849]
62758 * manual/fdl-1.1.texi: New file, verbatim from:
62759 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62760 * manual/lgpl-2.1.texi: New file, verbatim from:
62761 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62762 * manual/Makefile (licenses): New variable, list those new file names.
62763 (texis): Use it.
62764 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62765
62766 * manual/fdl.texi: File removed.
62767 * manual/lesser.texi: File removed.
62768 * manual/libc.texinfo (Copying, Documentation License):
62769 Use new @include file names, put @appendix directive before @include.
62770
62771 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62772
62773 [BZ #12841]
62774 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62775 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62776 (mq_open): Add __NTH.
62777
62778 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62779
62780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62781 Assume Intel Core i3/i5/i7 processor if AVX is available.
62782
62783 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62784
62785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62786 typo.
62787
62788 2011-05-31 Andreas Schwab <schwab@redhat.com>
62789
62790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62791 memory. Use alloca_account. Fix memory leak when retrying.
62792
62793 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62794
62795 * version.h (RELEASE): Bump for 2.14 release.
62796 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62797
62798 * config.make.in (RANLIB): Remove entry.
62799
62800 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62801
62802 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62803 (libc.pot): Work around missing support for .ksh extension in xgettext.
62804
62805 [BZ #12684]
62806 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62807 if both request failed.
62808 (send_dg): In case of server errors clear resplen or *resplen2.
62809
62810 [BZ #12454]
62811 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62812 when there are multiple maps.
62813 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62814 (_dl_fini): Remove test here.
62815
62816 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62817
62818 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62819
62820 [BZ #12350]
62821 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62822 bit from old_res_options.
62823 (gaih_inet): Likewise.
62824
62825 [BZ #11099]
62826 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62827 as signed.
62828
62829 * resolv/res_init.c (res_setoptions): Make the code more compact.
62830
62831 [BZ #11558]
62832 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62833 set RES_USEVC.
62834
62835 [BZ #11634]
62836 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62837
62838 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62839
62840 [BZ #11781]
62841 * malloc/malloc.h: Declare malloc hook variables as volatile.
62842
62843 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62844 in last patch.
62845
62846 [BZ #11799]
62847 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62848 raise in the comment.
62849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62850 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62851 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62852
62853 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62854
62855 [BZ #12811]
62856 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62857 grow the buffers more if it already has to be sufficient.
62858 (build_wcs_upper_buffer): Likewise.
62859 * posix/regexec.c (check_matching): Likewise.
62860 (clean_state_log_if_needed): Likewise.
62861 (extend_buffers): Don't enlarge buffers beyond size of the input
62862 buffer.
62863 Patches mostly by Emil Wojak <emil@wojak.eu>.
62864 * posix/bug-regex32.c: New file.
62865 * posix/Makefile (tests): Add bug-regex32.
62866
62867 * locale/findlocale.c (_nl_find_locale): Return right away if
62868 _nl_explode_name failed.
62869 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62870
62871 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62872
62873 * debug/xtrace.sh: Unify messages.
62874 * malloc/memusage.sh: Likewise.
62875
62876 [BZ #12813]
62877 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62878 time symbol from vDSO. Substitute with vsyscall if not available.
62879 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62880 __vdso_time.
62881
62882 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62883 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62884 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62885 Add sendmmsg and internal_sendmmsg.
62886 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62887 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62888 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62889
62890 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62891 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62893
62894 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62895
62896 [BZ #12813]
62897 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62898 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62899 available.
62900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62901 __vdso_getcpu.
62902
62903 [BZ #12814]
62904 * iconvdata/Makefile (tests): Add bug-iconv9.
62905 * iconvdata/bug-iconv9.c: New file.
62906
62907 2011-05-27 Andreas Schwab <schwab@redhat.com>
62908
62909 [BZ #12814]
62910 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62911
62912 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62913
62914 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62915 (struct user_regs_struct): Change intcs field back to cs.
62916
62917 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62918
62919 * po/ja.po: Update from translation team.
62920
62921 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62922
62923 [BZ #12795]
62924 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62925 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62926
62927 2011-05-20 Andreas Schwab <schwab@redhat.com>
62928
62929 * stdlib/longlong.h: Update from GCC.
62930
62931 2011-05-23 Andreas Schwab <schwab@redhat.com>
62932
62933 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62934 parameter name.
62935 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62936 Add parameter name.
62937 (__sysconf): Pass it down.
62938
62939 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62940
62941 [BZ #12671]
62942 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62943 some situations.
62944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62945 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62946 add in in __libc_use_alloca calls. Adjust callers.
62947 (glob): Use malloc in some situations.
62948
62949 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62950 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62951 pltexit.
62952
62953 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62954
62955 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62956 and CLOCK_BOOTTIME_ALARM.
62957
62958 [BZ #12782]
62959 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62960 is returned.
62961
62962 * string/_strerror.c (__strerror_r): Print negative errors as signed
62963 numbers.
62964
62965 [BZ #12777]
62966 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62967 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62968 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62969
62970 * configure.in: Fix typo in redirection and correct removal of test
62971 files in two cases.
62972
62973 [BZ #12788]
62974 * locale/setlocale.c (new_composite_name): Fix test to check for
62975 identical name of all categories.
62976
62977 [BZ #12792]
62978 * libio/filedoalloc.c (local_isatty): New function.
62979 (_IO_file_doallocate): Use local_isatty.
62980 * stdio-common/perror.c (perror): In case a new stream is used
62981 forward the stream error.
62982 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62983 error flag.
62984
62985 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62986
62987 [BZ #11869]
62988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62989 alloca.
62990 * include/alloca.h (extend_alloca_account): Define.
62991
62992 [BZ #11857]
62993 * posix/regex.h: Fix comments with documentation of user-accessible
62994 fields after compilation and describe correct free'ing of pattern
62995 after re_compile_pattern.
62996 Patch by Reuben Thomas <rrt@sc3d.org>.
62997
62998 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62999
63000 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63001 and -mno-altivec to prevent the compiler from using Altivec and/or
63002 VSX instructions when the corresponding registers are not available.
63003
63004 2011-05-19 Andreas Schwab <schwab@redhat.com>
63005
63006 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63007
63008 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63009
63010 * libio/freopen.c (freopen): Use __dup2, not dup2.
63011 * libio/freopen64.c (freopen64): Likewise.
63012
63013 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63014
63015 [BZ #12775]
63016 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63017 * math/Makefile (tests): Add test-powl.
63018 (CFLAGS-test-powl.c): Define.
63019 * math/test-powl.c: New file.
63020
63021 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63022
63023 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63024
63025 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63026
63027 [BZ #11837]
63028 * iconvdata/gb18030.c: Update to GB18020-2005.
63029
63030 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63031
63032 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63033 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63034 Patch by Aharon Robbins <arnold@skeeve.com>.
63035
63036 [BZ #11892]
63037 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63038 on the stack.
63039
63040 [BZ #11895]
63041 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63042 through underflows.
63043
63044 [BZ #12766]
63045 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63046 point to strings before performing equality test for error_one_per_line
63047 mode.
63048
63049 [BZ #11697]
63050 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63051
63052 [BZ #11820]
63053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63054 (struct user_fpregs_struct): Avoid __uint*_t types.
63055
63056 [BZ #6420]
63057 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63058 symbol info. Use it instead of calling _dl_addr locally.
63059 (lock_and_info): New function.
63060 (tr_freehook): Call lock_and_info and pass symbol info as additional
63061 parameter to tr_where.
63062 (tr_mallochook): Likewise.
63063 (tr_reallochook): Likewise.
63064 (tr_memalignhook): Likewise.
63065
63066 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63067 used and couldn't be at all thread-safe.
63068
63069 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63070
63071 * libio/freopen.c (freopen): Don't close old file descriptor
63072 before the new one is opened. Instead dup the new file descriptor
63073 to the old one after the new stream is created.
63074 * libio/freopen64.c (freopen64): Likewise.
63075 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63076 * libio/fileops.c (_IO_new_file_close_it): Handle new
63077 _IO_FLAGS2_NOCLOSE flag.
63078 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63079 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63080 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63081 _IO_FLAGS2_NOCLOSE flag.
63082 * include/unistd.h: Add hidden_proto for dup3.
63083 Define __have_dup3.
63084 * io/dup3.c: Define hidden symbol.
63085 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63086
63087 [BZ #7101]
63088 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63089 when an incomplete long option is used.
63090 * posix/tst-getopt_long1.c: New file.
63091 * posix/Makefile (tests): Add tst-getopt_long1.
63092
63093 [BZ #10138]
63094 * scripts/config.guess: Update from autoconf-2.68.
63095 * scripts/config.sub: Likewise.
63096
63097 [BZ #10157]
63098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63099 tests into ...
63100 (has_cpuclock): ...this. New function.
63101 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63102 macro here based on has_cpuclock code.
63103
63104 [BZ #10149]
63105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63106 First byte (not low byte) is now always NUL.
63107 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63108
63109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63110 Use non-cancelable interfaces.
63111
63112 [BZ #9809]
63113 * locale/iso-639.def: Add entry for Sorani.
63114
63115 [BZ #11901]
63116 * include/stdlib.h: Move include protection to the right place.
63117 Define abort_msg_s. Declare __abort_msg with it.
63118 * stdlib/abort.c (__abort_msg): Adjust type.
63119 * assert/assert.c (__assert_fail_base): New function. Majority
63120 of code from __assert_fail. Allocate memory for __abort_msg with
63121 mmap.
63122 (__assert_fail): Now call __assert_fail_base.
63123 * assert/assert-perr.c: Remove bulk of implementation. Use
63124 __assert_fail_base.
63125 * include/assert.hL Declare __assert_fail_base.
63126 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63127 mmap.
63128 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63129
63130 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63131
63132 [BZ #11952]
63133 [BZ #12453]
63134 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63135 until all modules are registered in the DTV.
63136 * elf/Makefile: Add rules to build and run tst-tls19.
63137 * elf/tst-tls19.c: New file.
63138 * elf/tst-tls19mod1.c: New file.
63139 * elf/tst-tls19mod2.c: New file.
63140 * elf/tst-tls19mod3.c: New file.
63141 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63142
63143 [BZ #12083]
63144 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63145 correctly.
63146
63147 [BZ #12601]
63148 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63149 two-byte sequence errors.
63150 * iconvdata/Makefile (tests): Add bug-iconv8.
63151 * iconvdata/bug-iconv8.c: New file.
63152
63153 [BZ #12626]
63154 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63155 buf2 definition.
63156
63157 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63158
63159 [BZ #12432]
63160 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63161 (dummy_getcfa): New function.
63162 (init): Get _Unwind_GetCFA address, use dummy if not found.
63163 (backtrace_helper): In recursion check, also check whether CFA changes.
63164 (__backtrace): Completely initialize arg.
63165
63166 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63167 storing incomplete byte sequence in state object. Avoid testing for
63168 guaranteed too small input if we know there is enough data available.
63169
63170 2011-05-11 Andreas Schwab <schwab@redhat.com>
63171
63172 * Makeconfig (+link-pie): Indent.
63173 * Rules (binaries-pie): Define if $(have-fpie) and
63174 $(build-shared).
63175 (binaries-shared): Also filter out $(binaries-pie).
63176 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63177 * nscd/Makefile (others-pie): Add nscd.
63178 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63179 ($(objpfx)nscd): Remove command override.
63180 * login/Makefile (others-pie): Add pt_chown.
63181 ($(objpfx)pt_chown): Remove command override.
63182 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63183 remove command overrides.
63184
63185 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63186
63187 * libio/tst_putwc.c: Fix error messages.
63188
63189 [BZ #12724]
63190 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63191 currently writing and seek to current position when not.
63192 * libio/Makefile (tests): Add bug-fclose1.
63193 * libio/bug-fclose1.c: New file.
63194
63195 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63196
63197 [BZ #12511]
63198 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63199 don't set DF_1_NODELETE here.
63200 (do_lookup_x): When entering new entry test for copy relocation
63201 and if necessary set DF_1_NODELETE flag.
63202 * elf/tst-unique4.cc: New file.
63203 * elf/tst-unique4.h: New file.
63204 * elf/tst-unique4lib.cc: New file.
63205 * elf/Makefile: Add rules to build and run tst-unique4.
63206 Patch by Piotr Bury <pbury@goahead.com>.
63207
63208 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63209
63210 [BZ #12052]
63211 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63212
63213 [BZ #12625]
63214 * misc/mntent_r.c (addmntent): Flush the stream after the output
63215
63216 [BZ #12393]
63217 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63218 (is_trusted_path_normalize): Skip initial colon. Append slash
63219 to empty buffer. Duplicate is_trusted_path code but allow
63220 constructed patch to be prefix.
63221 (is_dst): Allow $ORIGIN followed by /.
63222 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63223 Correct testing of result of is_trusted_path_normalize
63224 (decompose_rpath): Fix warning.
63225
63226 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63227
63228 [BZ #11257]
63229 * grp/initgroups.c (internal_getgrouplist): When we found the service
63230 list through the initgroups entry in nsswitch.conf do not always
63231 continue on a successful lookup. Don't always use the
63232 __nss_group_database value if it is set.
63233 * nss/nsswitch.conf (initgroups): Change action for successful db
63234 lookup to continue for compatibility.
63235
63236 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63237
63238 [BZ #11532]
63239 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63240 and CP774 modules.
63241 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63242 and CP774 modules.
63243 * iconvdata/tst-tables.sh: Likewise.
63244 * iconvdata/cp770.c: New file.
63245 * iconvdata/cp771.c: New file.
63246 * iconvdata/cp772.c: New file.
63247 * iconvdata/cp773.c: New file.
63248 * iconvdata/cp774.c: New file.
63249 * iconvdata/testdata/CP770: New file.
63250 * iconvdata/testdata/CP770..UTF8: New file.
63251 * iconvdata/testdata/CP771: New file.
63252 * iconvdata/testdata/CP771..UTF8: New file.
63253 * iconvdata/testdata/CP772: New file.
63254 * iconvdata/testdata/CP772..UTF8: New file.
63255 * iconvdata/testdata/CP773: New file.
63256 * iconvdata/testdata/CP773..UTF8: New file.
63257 * iconvdata/testdata/CP774: New file.
63258 * iconvdata/testdata/CP774..UTF8: New file.
63259
63260 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63261 END CHARMAP line.
63262 * iconvdata/gen-8bit-gap.sh: Likewise.
63263 * iconvdata/gen-8bit.sh: Likewise.
63264
63265 * locale/iso-639.def: Add ary entry.
63266
63267 [BZ #11258]
63268 * locale/C-translit.h.in: Add U20A1 transliteration.
63269
63270 [BZ #12178]
63271 * locale/iso-639.def: Add wae entry.
63272 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63273
63274 [BZ #12545]
63275 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63276 for n.
63277
63278 [BZ #12711]
63279 * locale/C-translit.h.in: Add entry for U20B9.
63280 Patch by pravin.d.s@gmail.com.
63281
63282 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63283
63284 [BZ #12713]
63285 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63286 ENAMETOOLONG use generic getcwd.
63287 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63288 in rtld. Use *stat64.
63289 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63290 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63291 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63292 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63293 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63294 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63295 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63296 __fstatat64 macros.
63297 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63298 * dirent/rewinddir.c: Add libc_hidden_def.
63299 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63300 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63301
63302 * include/dirent.h (__alloc_dir): Add flags parameter.
63303 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63304 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63305 __alloc_dir.
63306 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63307 from fdopendir if O_CLOEXEC is already set.
63308
63309 2011-03-15 Alan Modra <amodra@gmail.com>
63310
63311 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63312 l_tls_firstbyte_offset non-zero. Save padding offset in
63313 l_tls_firstbyte_offset for later use.
63314 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63315 freeing static tls block.
63316
63317 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63318
63319 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63320 where #ifdef was intended. The intent is to prevent ARG_MAX from
63321 being defined by the kernel headers.
63322
63323 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63324
63325 [BZ #12734]
63326 * resolv/resolv.h: Define RES_NOTLDQUERY.
63327 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63328 no-tld-query and set RES_NOTLDQUERY.
63329 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63330 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63331 modern BIND to search name as TLD unless forbidden.
63332
63333 2011-05-07 Petr Baudis <pasky@suse.cz>
63334 Ulrich Drepper <drepper@gmail.com>
63335
63336 [BZ #12393]
63337 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63338 (is_trusted_path): ...to here.
63339 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63340 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63341 using is_trusted_path_normalize() in setuid scripts.
63342
63343 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63344
63345 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63346 __BEGIN/__END_DECLS.
63347
63348 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63349
63350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63351 NSS_STATUS_NOTFOUND if no record was found.
63352
63353 2011-05-05 Andreas Schwab <schwab@redhat.com>
63354
63355 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63356 (headers-not-in-tirpc): Remove rpc/netdb.h
63357 * resolv/netdb.h: Revert last change.
63358
63359 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63360
63361 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63362 circular dependency between libgcc.a and libc.a.
63363
63364 2011-05-05 Andreas Schwab <schwab@redhat.com>
63365
63366 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63367 * nis/Makefile: Don't install rpcsvc/*.
63368 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63369 instead of <rpc/types.h>.
63370 (MAXHOSTNAMELEN): Define.
63371
63372 2011-05-03 Andreas Schwab <schwab@redhat.com>
63373
63374 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63375
63376 2011-04-28 Maciej Babinski <mbabinski@google.com>
63377
63378 [BZ #12714]
63379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63380 gethostbyname4_r when IPv6 results are possible.
63381
63382 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63383
63384 [BZ #12723]
63385 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63386 _PC_PIPE_BUF handling.
63387
63388 2011-04-30 Bruno Haible <bruno@clisp.org>
63389
63390 [BZ #12717]
63391 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63392 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63393 to 'int'.
63394 * inet/getnameinfo.c (getnameinfo): Likewise.
63395
63396 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63397
63398 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63399 to groups setting in database lookup.
63400 * nss/nsswitch.conf: Add initgroups entry.
63401
63402 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63403
63404 [BZ #12685]
63405 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63406 mode string.
63407 Patch by Eric Blake <eblake@redhat.com>.
63408
63409 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63410
63411 * sunrpc/Makefile (need-export-routines): Add svc_run.
63412 (routines): Remove svc_run.
63413 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63414 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63415 * sunrpc/svc_run.c (svc_run): Likewise.
63416 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63417
63418 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63419
63420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63421 problem in reallocation in last patch.
63422
63423 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63424
63425 * sunrpc/Makefile: Move inclusion of Rules.
63426
63427 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63428
63429 * nss/nss_files/files-initgroups.c: New file.
63430 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63431 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63432 _nss_files_initgroups_dyn.
63433
63434 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63435
63436 * elf/elf.h (R_ARM_IRELATIVE): Define.
63437
63438 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63439
63440 * po/ru.po: Update from translation team.
63441
63442 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63443
63444 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63445 dependencies.
63446
63447 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63448
63449 [BZ #12653]
63450 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63451 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63453 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63455
63456 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63457
63458 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63459 differing bytes.
63460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63463
63464 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63465
63466 [BZ #12420]
63467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63468 storing it.
63469 * stdlib/bug-getcontext.c: New file.
63470 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63471
63472 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63473
63474 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63475 instructions into .machine "z9-109".
63476 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63477 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63478
63479 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63480
63481 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63482 between environment variables and auxiliary vector.
63483
63484 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63485
63486 * Makefile: Add rules to build linkobj/libc.so.
63487 * include/libc-symbols.h: Define libc_hidden_nolink.
63488 * include/rpc/auth.h: Mark functions which are to be hidden.
63489 * include/rpc/auth_des.h: Likewise.
63490 * include/rpc/auth_unix.h: Likewise.
63491 * include/rpc/clnt.h: Likewise.
63492 * include/rpc/des_crypt.h: Likewise.
63493 * include/rpc/key_prot.h: Likewise.
63494 * include/rpc/pmap_clnt.h: Likewise.
63495 * include/rpc/pmap_prot.h: Likewise.
63496 * include/rpc/pmap_rmt.h: Likewise.
63497 * include/rpc/rpc_msg.h: Likewise.
63498 * include/rpc/svc.h: Likewise.
63499 * include/rpc/svc_auth.h: Likewise.
63500 * include/rpc/xdr.h: Likewise.
63501 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63502 * nss/Makefile: Likewise.
63503 * sunrpc/Makefile: Don't install headers. Build library with normal
63504 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63505 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63506 for the compat linking library. Remove use of INTDEF/INTUSE.
63507 * sunrpc/auth_none.c: Likewise.
63508 * sunrpc/auth_unix.c: Likewise.
63509 * sunrpc/authdes_prot.c: Likewise.
63510 * sunrpc/authuxprot.c: Likewise.
63511 * sunrpc/clnt_gen.c: Likewise.
63512 * sunrpc/clnt_perr.c: Likewise.
63513 * sunrpc/clnt_raw.c: Likewise.
63514 * sunrpc/clnt_simp.c: Likewise.
63515 * sunrpc/clnt_tcp.c: Likewise.
63516 * sunrpc/clnt_udp.c: Likewise.
63517 * sunrpc/clnt_unix.c: Likewise.
63518 * sunrpc/des_crypt.c: Likewise.
63519 * sunrpc/des_soft.c: Likewise.
63520 * sunrpc/get_myaddr.c: Likewise.
63521 * sunrpc/key_call.c: Likewise.
63522 * sunrpc/key_prot.c: Likewise.
63523 * sunrpc/netname.c: Likewise.
63524 * sunrpc/pm_getmaps.c: Likewise.
63525 * sunrpc/pm_getport.c: Likewise.
63526 * sunrpc/pmap_clnt.c: Likewise.
63527 * sunrpc/pmap_prot.c: Likewise.
63528 * sunrpc/pmap_prot2.c: Likewise.
63529 * sunrpc/pmap_rmt.c: Likewise.
63530 * sunrpc/publickey.c: Likewise.
63531 * sunrpc/rpc_cmsg.c: Likewise.
63532 * sunrpc/rpc_common.c: Likewise.
63533 * sunrpc/rpc_dtable.c: Likewise.
63534 * sunrpc/rpc_prot.c: Likewise.
63535 * sunrpc/rpc_thread.c: Likewise.
63536 * sunrpc/rtime.c: Likewise.
63537 * sunrpc/svc.c: Likewise.
63538 * sunrpc/svc_auth.c: Likewise.
63539 * sunrpc/svc_authux.c: Likewise.
63540 * sunrpc/svc_raw.c: Likewise.
63541 * sunrpc/svc_run.c: Likewise.
63542 * sunrpc/svc_simple.c: Likewise.
63543 * sunrpc/svc_tcp.c: Likewise.
63544 * sunrpc/svc_udp.c: Likewise.
63545 * sunrpc/svc_unix.c: Likewise.
63546 * sunrpc/svcauth_des.c: Likewise.
63547 * sunrpc/xcrypt.c: Likewise.
63548 * sunrpc/xdr.c: Likewise.
63549 * sunrpc/xdr_array.c: Likewise.
63550 * sunrpc/xdr_float.c: Likewise.
63551 * sunrpc/xdr_intXX_t.c: Likewise.
63552 * sunrpc/xdr_mem.c: Likewise.
63553 * sunrpc/xdr_rec.c: Likewise.
63554 * sunrpc/xdr_ref.c: Likewise.
63555 * sunrpc/xdr_sizeof.c: Likewise.
63556 * sunrpc/xdr_stdio.c: Likewise.
63557
63558 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63559
63560 [BZ #12650]
63561 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63562 * sysdeps/ia64/dl-tls.h: Likewise.
63563 * sysdeps/powerpc/dl-tls.h: Likewise.
63564 * sysdeps/s390/dl-tls.h: Likewise.
63565 * sysdeps/sh/dl-tls.h: Likewise.
63566 * sysdeps/sparc/dl-tls.h: Likewise.
63567 * sysdeps/x86_64/dl-tls.h: Likewise.
63568 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63569
63570 2011-03-14 Andreas Schwab <schwab@redhat.com>
63571
63572 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63573 rpath element also skip the following colon.
63574 (expand_dynamic_string_token): Add is_path parameter and pass
63575 down to DL_DST_REQUIRED and _dl_dst_substitute.
63576 (decompose_rpath): Call expand_dynamic_string_token with
63577 non-zero is_path. Ignore empty rpaths.
63578 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63579 with zero is_path.
63580
63581 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63582
63583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63584 Make cancelable.
63585
63586 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63587
63588 [BZ #12655]
63589 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63590 Patch by Filipe David Manana <fdmanana@apache.org>.
63591
63592 2011-04-07 Andreas Schwab <schwab@redhat.com>
63593
63594 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63595 Maintain aligned stack.
63596 (CHECK_RSP): Remove unused macro.
63597
63598 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63599
63600 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63602
63603 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63604
63605 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63606
63607 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63608
63609 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63610
63611 [BZ #12518]
63612 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63613 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63614 * sysdeps/x86_64/memmove.c: New file.
63615 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63616 (memcpy): Renamed to ...
63617 (__new_memcpy): This.
63618 (memcpy): Provide GLIBC_2_14 memcpy.
63619 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63620 (memcpy): Provide GLIBC_2_2_5 memcpy.
63621
63622 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63623
63624 [BZ #12631]
63625 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63626
63627 2011-03-30 Andreas Schwab <schwab@redhat.com>
63628
63629 * misc/syncfs.c: New file.
63630 * misc/Makefile (routines): Add syncfs.
63631 * posix/unistd.h: Declare syncfs.
63632 * sysdeps/unix/syscalls.list: Add syncfs.
63633
63634 2011-04-01 Andreas Schwab <schwab@redhat.com>
63635
63636 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63637 open_by_handle_at.
63638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63643 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63645
63646 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63647
63648 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63652 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63655
63656 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63657 sync_file_range.c with -fexceptions.
63658 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63659 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63660 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63661 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63662 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63663 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63665 sync_file_range as cancellation point
63666 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63667 now a wrapper around __call_sync_file_range with cancellation handling.
63668 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63669 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63670 function name to __call_sync_file_range.
63671 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63672 Add call_sync_file_range.
63673
63674 2011-04-01 Andreas Schwab <schwab@redhat.com>
63675
63676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63677 bits/timex.h.
63678
63679 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63680
63681 * iconv/iconv.h: Fix typo in comment.
63682 * io/fcntl.h: Likewise.
63683 * libio/stdio.h: Likewise.
63684 * posix/spawn.h: Likewise.
63685 * posix/unistd.h: Likewise.
63686 * stdlib/stdlib.h: Likewise.
63687 * time/time.h: Likewise.
63688 * wcsmbs/wchar.h: Likewise.
63689
63690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63691 open_by_handle): Add.
63692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63693 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63694 Augment a few comments.
63695 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63699 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63700 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63701 open_by_handle.
63702
63703 * io/fcntl.h (AT_EMPTY_PATH): Define.
63704
63705 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63706
63707 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63708 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63709 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63710 to...
63711 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63712 * Versions.def: Add GLIBC_2.14.
63713 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63714 Export.
63715
63716 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63717
63718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63719 round counter.
63720 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63721
63722 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63723
63724 [BZ #12597]
63725 * string/test-strncmp.c (do_page_test): New function.
63726 (check2): Likewise.
63727 (test_main): Call check2.
63728 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63729
63730 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63731
63732 [BZ #12587]
63733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63734 Handle cache information in CPU leaf 4.
63735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63736
63737 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63738
63739 [BZ #12583]
63740 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63741 character representation.
63742 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63743
63744 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63745
63746 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63747 END(__isnan) to END(__isnanf) to match function entry point/label
63748 EALIGN(__isnanf,...).
63749
63750 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63751
63752 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63753
63754 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63755
63756 [BZ #12510]
63757 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63758 copy from the symbol referenced in the relocation to initialize the
63759 used variable.
63760 Patch by Piotr Bury <pbury@goahead.com>.
63761 * elf/Makefile: Add rules to build and tst-unique3.
63762 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63763 * elf/tst-unique3.cc: New file.
63764 * elf/tst-unique3.h: New file.
63765 * elf/tst-unique3lib.cc: New file.
63766 * elf/tst-unique3lib2.cc: New file.
63767
63768 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63769
63770 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63771
63772 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63773 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63774 to _start.
63775
63776 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63777
63778 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63779 to-be-loaded object along a path to loader is ld.so.
63780
63781 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63782 Ulrich Drepper <drepper@gmail.com>
63783
63784 * sysdeps/x86_64/memset.S: After aligning destination, code
63785 branches to different locations depending on the value of
63786 misalignment, when multiarch is enabled. Fix this.
63787
63788 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63789
63790 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63791 Set _x86_64_preferred_memory_instruction for AMD processsors.
63792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63793 Set bit_Prefer_SSE_for_memop for AMD processors.
63794
63795 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63796
63797 * libio/fmemopen.c (fmemopen): Optimize a bit.
63798
63799 2011-03-03 Andreas Schwab <schwab@redhat.com>
63800
63801 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63802
63803 2011-03-03 Roland McGrath <roland@redhat.com>
63804
63805 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63806
63807 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63808
63809 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63810 __bzero_ultra1 instead of __memset_ultra1.
63811
63812 2011-02-23 Andreas Schwab <schwab@redhat.com>
63813 Ulrich Drepper <drepper@gmail.com>
63814
63815 [BZ #12509]
63816 * include/link.h (struct link_map): Add l_orig_initfini.
63817 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63818 returning unsuccessfully.
63819 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63820 close of a file loaded at startup, restore the original l_initfini
63821 list.
63822 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63823 list, store the pointer.
63824 * elf/Makefile ($(objpfx)noload-mem): New rule.
63825 (noload-ENV): Define.
63826 (tests): Add $(objpfx)noload-mem.
63827 * elf/noload.c: Include <memcheck.h>.
63828 (main): Call mtrace. Close all opened handles.
63829
63830 2011-02-17 Andreas Schwab <schwab@redhat.com>
63831
63832 [BZ #12454]
63833 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63834 dependencies are missing.
63835
63836 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63837
63838 Fix __if_freereq crash: Unlike the generic version which uses free,
63839 Hurd needs munmap.
63840 * sysdeps/mach/hurd/ifreq.h: New file.
63841
63842 2011-01-27 Petr Baudis <pasky@suse.cz>
63843 Ulrich Drepper <drepper@gmail.com>
63844
63845 [BZ 12445]#
63846 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63847 to extend_alloca().
63848 * stdio-common/bug23.c: New file.
63849 * stdio-common/Makefile (tests): Add bug23.
63850
63851 2010-09-28 Andreas Schwab <schwab@redhat.com>
63852 Ulrich Drepper <drepper@gmail.com>
63853
63854 [BZ #12489]
63855 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63856 before performing relro protection. At old place add assertion
63857 to make sure nothing changed.
63858
63859 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63860 Glauber de Oliveira Costa <glommer@gmail.com>
63861
63862 * elf/elf.h: Add new ARM TLS relocs.
63863
63864 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63865
63866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63867 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63868 cast from r3.
63869 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63870 'tests' variable.
63871 * sysdeps/wordsize-64/tst-writev.c: New file.
63872
63873 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63874
63875 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63876 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63877 insns in _dl_start to prevent a TOC reference before relocs are
63878 resolved.
63879
63880 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63881
63882 [BZ #12469]
63883 * Makeconfig: Remove RANLIB definition.
63884 * Makerules: Don't use RANLIB.
63885 * aclocal.m4: Remove ranlib test.
63886 * configure.in: No need to check for ranlib.
63887 * elf/rtld-Rules: Don't use RANLIB.
63888
63889 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63890
63891 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63892 protection macro.
63893 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63894 inclusion protection macro.
63895
63896 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63897 SIGRTMIN and SIGRTMAX and print information in that case only when
63898 SIGRTMIN is defined.
63899
63900 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63901
63902 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63903 arginfo fn returning -1.
63904
63905 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63906 and thousands string is zero terminated.
63907
63908 2011-02-03 Andreas Schwab <schwab@redhat.com>
63909
63910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63911 sysdeps/unix/sysv/linux/bits/socket.h.
63912
63913 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63914
63915 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63916 (__CPU_COUNT): Remove old macros.
63917 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63918 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63919 (__CPU_ALLOC, __CPU_FREE): Add macros.
63920 (__sched_cpualloc, __sched_cpufree): Add declarations.
63921
63922 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63923
63924 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63925 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63926 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63927 (readdhstai): Return value of addhstaiX call.
63928 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63929 (addgrbyX): Return value returned by cache_addgr.
63930 (readdgrbyname): Return value returned by addgrbyX.
63931 (readdgrbygid): Likewise.
63932 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63933 (addpwbyX): Return value returned by cache_addpw.
63934 (readdpwbyname): Return value returned by addhstbyX.
63935 (readdpwbyuid): Likewise.
63936 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63937 (addservbyX): Return value returned by cache_addserv.
63938 (readdservbyname): Return value returned by addservbyX:
63939 (readdservbyport): Likewise.
63940 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63941 (addhstbyX): Return value returned by cache_addhst.
63942 (readdhstbyname): Return value returned by addhstbyX.
63943 (readdhstbyaddr): Likewise.
63944 (readdhstbynamev6): Likewise.
63945 (readdhstbyaddrv6): Likewise.
63946 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63947 (readdinitgroups): Return value returned by addinitgroupsX.
63948 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63949 (prune_cache): Keep track of timeout value of re-added entries.
63950 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63951 * nscd/nscd.h: Adjust prototypes of readd* functions.
63952
63953 2011-02-04 Roland McGrath <roland@redhat.com>
63954
63955 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63956 (nis_stats): Likewise.
63957 * nis/nis_modify.c (nis_modify): Likewise.
63958 * nis/nis_remove.c (nis_remove): Likewise.
63959 * nis/nis_add.c (nis_add): Likewise.
63960
63961 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63962
63963 * posix/fnmatch_loop.c: Add some consts.
63964
63965 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63966
63967 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63968
63969 [BZ #12460]
63970 * config.make.in (config-cflags-novzeroupper): Define.
63971 * configure.in: Substitute libc_cv_cc_novzeroupper.
63972 * elf/Makefile (AVX-CFLAGS): Define.
63973 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63974 (CFLAGS-tst-auditmod4a.c): Likewise.
63975 (CFLAGS-tst-auditmod4b.c): Likewise.
63976 (CFLAGS-tst-auditmod6b.c): Likewise.
63977 (CFLAGS-tst-auditmod6c.c): Likewise.
63978 (CFLAGS-tst-auditmod7b.c): Likewise.
63979 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63980
63981 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63982
63983 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63984 function to the callback.
63985 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63986
63987 2011-02-02 Andreas Schwab <schwab@redhat.com>
63988
63989 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63990 of errno.
63991
63992 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63993
63994 [BZ #11724]
63995 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63996 of constructors.
63997 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63998 of destructors.
63999 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64000
64001 [BZ #11724]
64002 * elf/Makefile: Add rules to build and run new test.
64003 * elf/tst-initorder.c: New file.
64004 * elf/tst-initorder.exp: New file.
64005 * elf/tst-initordera1.c: New file.
64006 * elf/tst-initordera2.c: New file.
64007 * elf/tst-initordera3.c: New file.
64008 * elf/tst-initordera4.c: New file.
64009 * elf/tst-initorderb1.c: New file.
64010 * elf/tst-initorderb2.c: New file.
64011 * elf/tst-order-a1.c: New file.
64012 * elf/tst-order-a2.c: New file.
64013 * elf/tst-order-a3.c: New file.
64014 * elf/tst-order-a4.c: New file.
64015 * elf/tst-order-b1.c: New file.
64016 * elf/tst-order-b2.c: New file.
64017 * elf/tst-order-main.c: New file.
64018 New test case by George Gensure <werkt0@gmail.com>.
64019
64020 2010-10-01 Andreas Schwab <schwab@redhat.com>
64021
64022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64023 decoding ACE if AI_CANONIDN.
64024
64025 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64026
64027 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64028
64029 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64030
64031 * version.h (RELEASE): Bump for 2.13 release.
64032 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64033
64034 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64035
64036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64037 MADV_NOHUGEPAGE.
64038 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64039 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64040 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64041 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64042 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64044
64045 * posix/getconf.c: Update copyright year.
64046 * catgets/gencat.c: Likewise.
64047 * csu/version.c: Likewise.
64048 * debug/catchsegv.sh: Likewise.
64049 * debug/xtrace.sh: Likewise.
64050 * elf/ldconfig.c: Likewise.
64051 * elf/ldd.bash.in: Likewise.
64052 * elf/sprof.c (print_version): Likewise.
64053 * iconv/iconv_prog.c: Likewise.
64054 * iconv/iconvconfig.c: Likewise.
64055 * locale/programs/locale.c: Likewise.
64056 * locale/programs/localedef.c: Likewise.
64057 * malloc/memusage.sh: Likewise.
64058 * malloc/mtrace.pl: Likewise.
64059 * nscd/nscd.c (print_version): Likewise.
64060 * nss/getent.c: Likewise.
64061
64062 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64063 PF_CAIF, and PF_ALG.
64064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64065
64066 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64067
64068 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64069 (modules-names): Use them.
64070 (ifunc-test-modules, ifunc-pie-tests): Define.
64071 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64072 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64073 (test-extras): Likewise.
64074 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64075 $(compile-command.c).
64076 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64077 (all-built-dso): Define.
64078 (check-textrel.out, check-execstack.out): Depend on it.
64079
64080 * configure.in: Don't override --enable-multi-arch.
64081
64082 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64083
64084 [BZ #6812]
64085 * nscd/hstcache.c (tryagain): Define.
64086 (cache_addhst): Return tryagain not notfound for temporary errors.
64087 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64088 failed.
64089
64090 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64091
64092 [BZ #10563]
64093 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64094 to make the syscall.
64095 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64096
64097 [BZ #12378]
64098 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64099 and fall back to matching as normal character if the string ends before
64100 the matching ']' is found. This is what POSIX requires.
64101 * posix/testfnm.c: Adjust test result.
64102 * posix/globtest.sh: Adjust test result. Add new test.
64103 * posix/tst-fnmatch.input: Likewise.
64104 * posix/tst-fnmatch2.c: Add new test.
64105
64106 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64107
64108 * elf/Makefile (check-execstack): Revert last change. Depend on
64109 check-execstack.h.
64110 (check-execstack.h): New target.
64111 (generated): Add check-execstack.h.
64112 * elf/check-execstack.c: Include "check-execstack.h".
64113 (main): Revert last change.
64114 (handle_file): Return zero if GNU_STACK is absent and
64115 DEFAULT_STACK_PERMS doesn't include PF_X.
64116
64117 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64118
64119 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64120 in child fails because the descriptor is already closed.
64121 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64122 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64123 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64124
64125 [BZ #12397]
64126 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64127 syscall.
64128
64129 [BZ #10484]
64130 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64131 temporary buffer used to handle multi lookups locally.
64132 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64133
64134 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64135
64136 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64137 loader is ld.so.
64138
64139 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64140
64141 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64142 alignment for SSE2.
64143
64144 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64145
64146 [BZ #12394]
64147 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64148 characters. When rounding increased number of integer digits recompute
64149 number of groups.
64150 * stdio-common/tst-grouping.c: New file.
64151 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64152
64153 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64154
64155 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64156 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64157
64158 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64159 void.
64160 * bits/select.h: Likewise.
64161
64162 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64163
64164 * po/ja.po: Update from translation team.
64165
64166 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64167
64168 [BZ #11155]
64169 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64170 implementation just like for lxstat, fxstatat, et al.
64171
64172 2010-12-27 Jim Meyering <meyering@redhat.com>
64173
64174 [BZ #12348]
64175 * posix/regexec.c (build_trtable): Return failure indication upon
64176 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64177
64178 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64179
64180 [BZ #12201]
64181 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64182 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64184 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64185
64186 [BZ #12207]
64187 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64188
64189 [BZ #12204]
64190 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64191 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64192
64193 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64194
64195 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64196 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64197 script has SORT_BY_INIT_PRIORITY.
64198 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64199 NO_CTORS_DTORS_SECTIONS is defined.
64200 * elf/soinit.c: Likewise.
64201 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64202 NO_CTORS_DTORS_SECTIONS is defined.
64203 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64204 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64205 * sysdeps/sh/init-first.c: Likewise.
64206 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64207
64208 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64209
64210 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64211 always use the slow path.
64212
64213 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64214
64215 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64216 similar rule which adds the sysdep directories to the header search in
64217 order to pick up the correct platform stackinfo.h.
64218 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64219 perform test if it is, otherwise return successfully without testing.
64220 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64221 DEFAULT_STACK_PERMS define in stackinfo.h.
64222 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64223 defined in stackinfo.h.
64224 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64225 DEFAULT_STACK_PERMS defined in stackinfo.h.
64226 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64227 * sysdeps/ia64/stackinfo.h: Likewise.
64228 * sysdeps/s390/stackinfo.h: Likewise.
64229 * sysdeps/sh/stackinfo.h: Likewise.
64230 * sysdeps/sparc/stackinfo.h: Likewise.
64231 * sysdeps/x86_64/stackinfo.h: Likewise.
64232 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64233 PF_X for powerpc64. Retain PF_X for powerpc32.
64234
64235 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64236
64237 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64238 accurately.
64239 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64240 GETDENTS_64BIT_ALIGNED.
64241
64242 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64243
64244 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64245
64246 2010-12-10 Andreas Schwab <schwab@redhat.com>
64247
64248 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64249 _GNU_SOURCE.
64250
64251 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64252 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64253 Remove __restrict.
64254 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64255 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64256
64257 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64258
64259 [BZ #11655]
64260 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64261 are initialized.
64262
64263 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64264
64265 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64266
64267 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64268
64269 * po/it.po: Update from translation team.
64270
64271 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64272
64273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64274 unused codes.
64275
64276 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64277
64278 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64279
64280 2010-11-24 Andreas Schwab <schwab@redhat.com>
64281
64282 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64283 specially.
64284 (gaih_getanswer_slice): Likewise.
64285
64286 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64287
64288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64289
64290 2010-05-31 Petr Baudis <pasky@suse.cz>
64291
64292 [BZ #11149]
64293 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64294 silently even in the chroot mode.
64295
64296 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64297
64298 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64299 last patch a bit. Pretty printing
64300
64301 2010-05-31 Petr Baudis <pasky@suse.cz>
64302
64303 [BZ #10085]
64304 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64305 initialization of skip_initgroups_dyn.
64306
64307 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64308
64309 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64311
64312 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64313
64314 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64315
64316 2010-11-11 Andreas Schwab <schwab@redhat.com>
64317
64318 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64319 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64320 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64321 ($(objpfx)tst-fnmatch-mem): New rule.
64322 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64323 * posix/tst-fnmatch.c (main): Call mtrace.
64324
64325 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64326
64327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64328 Support Intel processor model 6 and model 0x2c.
64329
64330 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64331
64332 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64333 signed comparison.
64334
64335 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64336
64337 [BZ #12205]
64338 * string/test-strncasecmp.c (check_result): New function.
64339 (do_one_test): Use it.
64340 (check1): New function.
64341 (test_main): Use it.
64342 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64343 Support strcasecmp and strncasecmp.
64344
64345 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64346
64347 [BZ #12194]
64348 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64350
64351 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64352
64353 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64354 IFUNC support.
64355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64356 memset-x86-64.
64357 * sysdeps/x86_64/multiarch/bzero.S: New file.
64358 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64359 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64360 * sysdeps/x86_64/multiarch/memset.S: New file.
64361 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64363 Set bit_Prefer_SSE_for_memop for Intel processors.
64364 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64365 Define.
64366 (index_Prefer_SSE_for_memop): Define.
64367 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64368
64369 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64370
64371 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64372 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64373
64374 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64375
64376 [BZ #12191]
64377 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64378 (__x86_64_raw_data_cache_size_half): Likewise.
64379 (__x86_64_raw_shared_cache_size): Likewise.
64380 (__x86_64_raw_shared_cache_size_half): Likewise.
64381
64382 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64383 (__x86_64_raw_data_cache_size_half): Likewise.
64384 (__x86_64_raw_shared_cache_size): Likewise.
64385 (__x86_64_raw_shared_cache_size_half): Likewise.
64386 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64387 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64388 and __x86_64_raw_shared_cache_size_half. Round
64389 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64390 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64391 to multiple of 256 bytes.
64392
64393 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64394
64395 [BZ #12167]
64396 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64397 of inacessible symlinks. Verify result of symlink before returning it.
64398 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64399 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64400
64401 2010-10-28 Erich Ritz <erichritz@gmail.com>
64402
64403 * math/math.h (isinf): Fix typo in comment.
64404
64405 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64406
64407 * po/da.po: Update from translation team.
64408
64409 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64410
64411 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64412 is added to the list.
64413
64414 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64415 Ulrich Drepper <drepper@gmail.com>
64416
64417 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64418 the global list here. Move code to...
64419 (_dl_add_to_namespace_list): ...here. New function.
64420 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64421 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64422 * elf/dl-load.c (lose): Don't remove the element from the list.
64423 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64424 (_dl_map_object): Likewise.
64425
64426 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64427
64428 [BZ #12159]
64429 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64430 into all bytes of SSE register.
64431 Patch by Richard Li <richardpku@gmail.com>.
64432
64433 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64434
64435 [BZ #12140]
64436 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64437 perturbing.
64438
64439 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64440
64441 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64442 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64443 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64444 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64446 submachine.
64447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64448
64449 2010-10-22 Andreas Schwab <schwab@redhat.com>
64450
64451 * include/dlfcn.h (__RTLD_SECURE): Define.
64452 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64453 mode & __RTLD_SECURE instead.
64454 (open_path): Rename preloaded parameter to secure.
64455 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64456 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64457 * elf/dl-deps.c (openaux): Likewise.
64458 * elf/rtld.c (struct map_args): Remove is_preloaded.
64459 (map_doit): Don't use it.
64460 (dl_main): Likewise.
64461 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64462 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64463
64464 2010-09-09 Andreas Schwab <schwab@redhat.com>
64465
64466 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64467 (sysd-rules-targets): Remove duplicates.
64468 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64469 rtld-%.$o dependency.
64470
64471 2010-10-18 Andreas Schwab <schwab@redhat.com>
64472
64473 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64474 _dl_map_object do it.
64475
64476 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64477
64478 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64479 fast fma builtins, define the macros in the C99 standard.
64480 (FP_FAST_FMAF): Likewise.
64481 (FP_FAST_FMAL): Likewise.
64482 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64483
64484 * bits/mathdef.h: Update copyright year.
64485 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64486
64487 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64488
64489 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64490 builtins, define the macros in the C99 standard.
64491 (FP_FAST_FMAF): Likewise.
64492 (FP_FAST_FMAL): Likewise.
64493 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64494 multiply/add.
64495 (FP_FAST_FMAF): Likewise.
64496
64497 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64498
64499 [BZ #3268]
64500 * math/libm-test.inc (fma_test): Some new testcases.
64501 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64503 y and infinite z. Do multiplication by C already in long double.
64504 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64506 y and infinite z. Do bitwise or of inexact bit into u.d.
64507 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64508 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64509 * sysdeps/i386/fpu/s_fma.S: Removed.
64510 * sysdeps/i386/fpu/s_fmal.S: Removed.
64511
64512 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64513
64514 [BZ #3268]
64515 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64517 computation is not scheduled after fetestexcept. Fix value
64518 of minimum denormal long double.
64519
64520 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64521
64522 [BZ #3268]
64523 * math/libm-test.inc (fma_test): Add some more tests.
64524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64525 correctly.
64526
64527 2010-10-15 Andreas Schwab <schwab@redhat.com>
64528
64529 * scripts/data/localplt-s390-linux-gnu.data: New file.
64530 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64531
64532 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64533
64534 [BZ #3268]
64535 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64536 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64537 instead of dbl-64.
64538 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64539 inlines.
64540 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64542 if one of x and y is very large and the other is subnormal.
64543 * sysdeps/s390/fpu/s_fmaf.c: New file.
64544 * sysdeps/s390/fpu/s_fma.c: New file.
64545 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64546 * sysdeps/powerpc/fpu/s_fma.S: New file.
64547 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64548 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64549 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64550
64551 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64552
64553 [BZ #3268]
64554 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64555 fma tests.
64556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64557 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64558 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64559 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64560 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64561 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64562 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64563
64564 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64565
64566 [BZ #12078]
64567 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64568 * posix/bug-regex31.input: Add test case.
64569
64570 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64571
64572 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64573 * posix/bug-regex31.input: New file.
64574
64575 [BZ #12078]
64576 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64577 (parse_sub_exp): Fix last change, use postorder.
64578
64579 * posix/bug-regex31.c: New file.
64580 * posix/Makefile: Add rules to build and run bug-regex31.
64581
64582 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64583
64584 [BZ #12078]
64585 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64586
64587 [BZ #12108]
64588 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64589 to have entries in sys_siglist.
64590
64591 [BZ #12093]
64592 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64593 be NULL.
64594
64595 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64596
64597 [BZ #3268]
64598 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64599 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64600 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64601 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64602 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64603 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64604 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64605 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64606 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64607 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64608 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64609 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64610 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64611 * math/ftestexcept.c (fetestexcept): Likewise.
64612 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64613 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64614 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64615 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64616 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64617 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64618 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64619
64620 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64621
64622 [BZ #12107]
64623 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64624 newline.
64625
64626 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64627
64628 * string/bug-strstr1.c: New file.
64629 * string/Makefile: Add rules to build and run bug-strstr1.
64630
64631 2010-10-05 Eric Blake <eblake@redhat.com>
64632
64633 [BZ #12092]
64634 * string/str-two-way.h (two_way_long_needle): Always clear memory
64635 when skipping input due to the shift table.
64636
64637 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64638
64639 [BZ #12005]
64640 * malloc/mcheck.c: Handle large requests.
64641
64642 [BZ #12077]
64643 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64644 for strncmp and strncasecmp.
64645 * string/stratcliff.c: Add tests for strcmp and strncmp.
64646 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64647
64648 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64649
64650 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64651 __set_fpscr.
64652
64653 2010-09-30 Andreas Jaeger <aj@suse.de>
64654
64655 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64656 (CGROUP_SUPER_MAGIC): Define.
64657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64658 Handle btrfs and cgroup file systems.
64659 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64660 Likewise.
64661
64662 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64663
64664 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64665 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64666
64667 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64668
64669 [BZ #12067]
64670 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64671 trying to locate the ELF header.
64672
64673 2010-09-27 Andreas Schwab <schwab@redhat.com>
64674
64675 [BZ #11611]
64676 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64677 Mask out sign-bit copies when constructing f_fsid.
64678
64679 2010-09-24 Petr Baudis <pasky@suse.cz>
64680
64681 * debug/stack_chk_fail_local.c: Add missing licence exception.
64682 * debug/warning-nop.c: Likewise.
64683
64684 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64685
64686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64687 implementing getdents64 using getdents syscall, set d_type if
64688 __ASSUME_GETDENTS32_D_TYPE.
64689
64690 2010-09-16 Andreas Schwab <schwab@redhat.com>
64691
64692 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64693 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64694
64695 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64696
64697 [BZ #12037]
64698 * posix/unistd.h: Undo change of feature selection for ftruncate from
64699 2010-01-11.
64700
64701 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64702
64703 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64704 detection.
64705
64706 2010-09-20 Andreas Schwab <schwab@redhat.com>
64707
64708 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64709 fanotify_mark.
64710 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64711
64712 2010-09-14 Andreas Schwab <schwab@redhat.com>
64713
64714 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64715 variables after CHECK_SP call.
64716 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64717
64718 2010-09-13 Andreas Schwab <schwab@redhat.com>
64719 Ulrich Drepper <drepper@redhat.com>
64720
64721 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64722 re-relocationg ld.so.
64723 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64724 _dl_init_paths call.
64725 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64726 here anymore.
64727
64728 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64729
64730 * resolv/res_init.c (__res_vinit): Count the default server we added.
64731
64732 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64733 Ulrich Drepper <drepper@redhat.com>
64734
64735 [BZ #11968]
64736 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64737 (____longjmp_chk): Use %ebx for saving value across system call.
64738 Add unwind info.
64739
64740 2010-09-06 Andreas Schwab <schwab@redhat.com>
64741
64742 * manual/Makefile: Don't mix pattern rules with normal rules.
64743
64744 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64745
64746 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64747 operation.
64748 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64749 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64750 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64751 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64753 Likewise.
64754
64755 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64756
64757 [BZ #11979]
64758 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64759 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64760
64761 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64762
64763 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64764 * sysdeps/x86_64/addmul_1.S: Likewise.
64765 * sysdeps/x86_64/lshift.S: Likewise.
64766 * sysdeps/x86_64/mul_1.S: Likewise.
64767 * sysdeps/x86_64/rshift.S: Likewise.
64768 * sysdeps/x86_64/sub_n.S: Likewise.
64769 * sysdeps/x86_64/submul_1.S: Likewise.
64770
64771 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64772
64773 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64774 Define __sched_param instead of SCHED_* and sched_param when
64775 <bits/sched.h> is included with __need_schedparam defined.
64776 * bits/sched.h [__need_schedparam]
64777 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64778 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64779 (__defined_schedparam): Define to 1.
64780 (__sched_param): New structure, identical to sched_param.
64781 (__need_schedparam): Undefine.
64782
64783 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64784
64785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64786 (epoll_create1): Declare.
64787
64788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64789
64790 2010-08-31 Andreas Schwab <schwab@redhat.com>
64791
64792 [BZ #7066]
64793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64794 shifting retval into place.
64795
64796 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64797
64798 * nis/rpcsvc/nis.h: Update copyright notice.
64799 * nis/rpcsvc/nis.x: Likewise.
64800 * nis/rpcsvc/nis_callback.h: Likewise.
64801 * nis/rpcsvc/nis_callback.x: Likewise.
64802 * nis/rpcsvc/nis_object.x: Likewise.
64803 * nis/rpcsvc/nis_tags.h: Likewise.
64804 * nis/rpcsvc/yp.h: Likewise.
64805 * nis/rpcsvc/yp.x: Likewise.
64806 * nis/rpcsvc/ypupd.h: Likewise.
64807 * nis/yp_xdr.c: Likewise.
64808 * nis/ypupdate_xdr.c: Likewise.
64809
64810 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64811 mainly the body of pmap_getport. Add parameters to specify timeouts.
64812 (pmap_getport): Use __libc_rpc_getport.
64813 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64814 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64815 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64816
64817 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64818
64819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64820 fanotify_mark.
64821
64822 2010-08-27 Roland McGrath <roland@redhat.com>
64823
64824 * sysdeps/i386/i686/multiarch/Makefile
64825 (CFLAGS-varshift.c): New variable.
64826
64827 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64828
64829 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64830 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64831
64832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64833
64834 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64835
64836 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64837
64838 * sysdeps/x86_64/strlen.S: Unroll the loop.
64839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64840 strlen-sse2 strlen-sse2-bsf.
64841 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64842 __strlen_no_bsf if bit_Slow_BSF is set.
64843 (__strlen_sse42): Removed.
64844 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64845 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64846
64847 2010-08-25 Roland McGrath <roland@redhat.com>
64848
64849 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64850 * sysdeps/x86_64/multiarch/varshift.c: New file.
64851 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64852 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64853 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64854 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64855
64856 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64857
64858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64859 strlen-sse2 strlen-sse2-bsf.
64860 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64861 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64862 (__strlen_sse2): Removed.
64863 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64866 bit_Slow_BSF for Atom.
64867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64868 (index_Slow_BSF): Define.
64869 (HAS_SLOW_BSF): Define.
64870
64871 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64872
64873 [BZ #10851]
64874 * resolv/res_init.c (__res_vinit): When no server address at all
64875 is given default to loopback.
64876
64877 2010-08-24 Roland McGrath <roland@redhat.com>
64878
64879 * configure.in: Remove config-name.h generation.
64880 * configure: Regenerated.
64881 * config-name.in: File removed.
64882 * scripts/config-uname.sh: New file.
64883 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64884 ($(objdir)config-name.h): New target.
64885
64886 * sunrpc/rpc_parse.h: Avoid nested comment.
64887
64888 2010-08-24 Richard Henderson <rth@redhat.com>
64889 Ulrich Drepper <drepper@redhat.com>
64890 H.J. Lu <hongjiu.lu@intel.com>
64891
64892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64894 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64895 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64896 _mm_alignr_epi8 with _mm_loadu_si128.
64897 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64898 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64899 (__m128i_shift_right): Removed.
64900 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64901 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64902 * sysdeps/x86_64/multiarch/varshift.h: New file.
64903 * sysdeps/x86_64/multiarch/varshift.S: New file.
64904
64905 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64906
64907 * configure.in: Move assembler checks to before sysdep dir checking.
64908
64909 2010-08-20 Petr Baudis <pasky@suse.cz>
64910
64911 * LICENSES: Sync the sunrpc license.
64912
64913 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64914
64915 * sunrpc/auth_des.c: Update copyright notice once again.
64916 * sunrpc/auth_none.c: Likewise.
64917 * sunrpc/auth_unix.c: Likewise.
64918 * sunrpc/authdes_prot.c: Likewise.
64919 * sunrpc/authuxprot.c: Likewise.
64920 * sunrpc/bindrsvprt.c: Likewise.
64921 * sunrpc/clnt_gen.c: Likewise.
64922 * sunrpc/clnt_perr.c: Likewise.
64923 * sunrpc/clnt_raw.c: Likewise.
64924 * sunrpc/clnt_simp.c: Likewise.
64925 * sunrpc/clnt_tcp.c: Likewise.
64926 * sunrpc/clnt_udp.c: Likewise.
64927 * sunrpc/clnt_unix.c: Likewise.
64928 * sunrpc/des_crypt.c: Likewise.
64929 * sunrpc/des_soft.c: Likewise.
64930 * sunrpc/get_myaddr.c: Likewise.
64931 * sunrpc/getrpcport.c: Likewise.
64932 * sunrpc/key_call.c: Likewise.
64933 * sunrpc/key_prot.c: Likewise.
64934 * sunrpc/openchild.c: Likewise.
64935 * sunrpc/pm_getmaps.c: Likewise.
64936 * sunrpc/pm_getport.c: Likewise.
64937 * sunrpc/pmap_clnt.c: Likewise.
64938 * sunrpc/pmap_prot.c: Likewise.
64939 * sunrpc/pmap_prot2.c: Likewise.
64940 * sunrpc/pmap_rmt.c: Likewise.
64941 * sunrpc/rpc/auth.h: Likewise.
64942 * sunrpc/rpc/auth_unix.h: Likewise.
64943 * sunrpc/rpc/clnt.h: Likewise.
64944 * sunrpc/rpc/des_crypt.h: Likewise.
64945 * sunrpc/rpc/key_prot.h: Likewise.
64946 * sunrpc/rpc/netdb.h: Likewise.
64947 * sunrpc/rpc/pmap_clnt.h: Likewise.
64948 * sunrpc/rpc/pmap_prot.h: Likewise.
64949 * sunrpc/rpc/pmap_rmt.h: Likewise.
64950 * sunrpc/rpc/rpc.h: Likewise.
64951 * sunrpc/rpc/rpc_des.h: Likewise.
64952 * sunrpc/rpc/rpc_msg.h: Likewise.
64953 * sunrpc/rpc/svc.h: Likewise.
64954 * sunrpc/rpc/svc_auth.h: Likewise.
64955 * sunrpc/rpc/types.h: Likewise.
64956 * sunrpc/rpc/xdr.h: Likewise.
64957 * sunrpc/rpc_clntout.c: Likewise.
64958 * sunrpc/rpc_cmsg.c: Likewise.
64959 * sunrpc/rpc_common.c: Likewise.
64960 * sunrpc/rpc_cout.c: Likewise.
64961 * sunrpc/rpc_dtable.c: Likewise.
64962 * sunrpc/rpc_hout.c: Likewise.
64963 * sunrpc/rpc_main.c: Likewise.
64964 * sunrpc/rpc_parse.c: Likewise.
64965 * sunrpc/rpc_parse.h: Likewise.
64966 * sunrpc/rpc_prot.c: Likewise.
64967 * sunrpc/rpc_sample.c: Likewise.
64968 * sunrpc/rpc_scan.c: Likewise.
64969 * sunrpc/rpc_scan.h: Likewise.
64970 * sunrpc/rpc_svcout.c: Likewise.
64971 * sunrpc/rpc_tblout.c: Likewise.
64972 * sunrpc/rpc_util.c: Likewise.
64973 * sunrpc/rpc_util.h: Likewise.
64974 * sunrpc/rpcinfo.c: Likewise.
64975 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64976 * sunrpc/rpcsvc/key_prot.x: Likewise.
64977 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64978 * sunrpc/rpcsvc/mount.x: Likewise.
64979 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64980 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64981 * sunrpc/rpcsvc/rex.x: Likewise.
64982 * sunrpc/rpcsvc/rstat.x: Likewise.
64983 * sunrpc/rpcsvc/rusers.x: Likewise.
64984 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64985 * sunrpc/rpcsvc/spray.x: Likewise.
64986 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64987 * sunrpc/rtime.c: Likewise.
64988 * sunrpc/svc.c: Likewise.
64989 * sunrpc/svc_auth.c: Likewise.
64990 * sunrpc/svc_authux.c: Likewise.
64991 * sunrpc/svc_raw.c: Likewise.
64992 * sunrpc/svc_run.c: Likewise.
64993 * sunrpc/svc_simple.c: Likewise.
64994 * sunrpc/svc_tcp.c: Likewise.
64995 * sunrpc/svc_udp.c: Likewise.
64996 * sunrpc/svc_unix.c: Likewise.
64997 * sunrpc/svcauth_des.c: Likewise.
64998 * sunrpc/xcrypt.c: Likewise.
64999 * sunrpc/xdr.c: Likewise.
65000 * sunrpc/xdr_array.c: Likewise.
65001 * sunrpc/xdr_float.c: Likewise.
65002 * sunrpc/xdr_mem.c: Likewise.
65003 * sunrpc/xdr_rec.c: Likewise.
65004 * sunrpc/xdr_ref.c: Likewise.
65005 * sunrpc/xdr_sizeof.c: Likewise.
65006 * sunrpc/xdr_stdio.c: Likewise.
65007
65008 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65009 handling.
65010
65011 2010-08-19 Andreas Schwab <schwab@redhat.com>
65012
65013 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65014
65015 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65016
65017 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65018 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65020 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65021 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65022 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65023 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65024 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65026 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65027 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65028 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65029 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65030 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65031
65032 2010-07-26 Anton Blanchard <anton@samba.org>
65033
65034 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65035 * malloc/arena.c (heap_trim): Likewise.
65036
65037 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65038
65039 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65040 here. Not...
65041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65042 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65043
65044 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65045
65046 * sysdeps/i386/elf/Makefile: New file.
65047
65048 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65049
65050 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65051 from fanotify_init.
65052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65054
65055 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65056
65057 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65058 of strncasecmp_l.
65059 * sysdeps/multiarch/strcmp.S: Likewise.
65060
65061 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65062
65063 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65064 strncase_l-nonascii.
65065 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65066 Add strncase_l-ssse3.
65067 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65068 * sysdeps/x86_64/strcmp.S: Likewise.
65069 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65070 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65071 * sysdeps/x86_64/strncase.S: New file.
65072 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65073 * sysdeps/x86_64/strncase_l.S: New file.
65074 * string/Makefile (strop-tests): Add strncasecmp.
65075 * string/test-strncasecmp.c: New file.
65076
65077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65078 warning.
65079
65080 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65081 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65082
65083 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65084
65085 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65086
65087 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65088
65089 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65090 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65091 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65092
65093 2010-05-01 Alan Modra <amodra@gmail.com>
65094
65095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65096 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65097 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65098 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65099 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65100 tidying. Don't tail-call __sigjmp_save for static lib.
65101 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65102 save location.
65103 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65104 (CALL_MCOUNT): Add eh info, and nop after bl.
65105 (TAIL_CALL_SYSCALL_ERROR): New macro.
65106 (PSEUDO_RET): Use it.
65107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65108 Correct save location of integer regs and cr.
65109 (_dl_profile_resolve): Correct cr save location. Delete nops
65110 after bl when SHARED. Reduce cfi size a little by better
65111 placement of cfi directives.
65112 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65113 make a stack frame. Instead use parm save area as a temp.
65114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65115 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65117 Don't make a stack frame for parent, use parm save area.
65118 Increase child stack frame to 112 bytes. Don't save unused reg,
65119 and adjust reg usage. Set up cfi on error recovery and
65120 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65122 (__makecontext): Add dummy nop after jump to exit.
65123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65124 Use correct parm save area and cr save, reduce stack frame.
65125 Correct cfi for possible PSEUDO_RET frame setup.
65126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65127 Branch to local label emitted by PSEUDO_RET rather than
65128 __syscall_error.
65129
65130 2010-08-12 Andreas Schwab <schwab@redhat.com>
65131
65132 [BZ #11904]
65133 * locale/programs/locale.c (print_assignment): New function.
65134 (show_locale_vars): Use it.
65135
65136 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65137
65138 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65139 field.
65140 (struct statfs64): Likewise.
65141 (_STATFS_F_FLAGS): Define.
65142 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65144 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65145 (ST_VALID): Define locally.
65146 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65147 __statvfs_getflags, use the provided value.
65148 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65149 __ASSUME_STATFS_F_FLAGS.
65150
65151 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65152
65153 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65154 Add sys/fanotify.h.
65155 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65156 fanotify_mask for GLIBC_2.13.
65157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65158 fanotify_init and fanotify_mark.
65159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65160 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65161
65162 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65163 Add prlimit.
65164 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65165 prlimit64 for GLIBC_2.13.
65166 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65167 prlimit64.
65168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65169 syscall.
65170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65175 add prlimit alias.
65176 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65177
65178 [BZ #11903]
65179 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65180 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65181
65182 * nss/Makefile: Add rules to build and run tst-nss-test1.
65183 * shlib-versions: Add entry for libnss_test1.
65184 * nss/nss_test1.c: New file.
65185 * nss/tst-nss-test1.c: New file.
65186
65187 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65188 (__nss_configure_lookup): Set appropriate entry in
65189 __nss_configure_lookup to true.
65190 * nss/nsswitch.h: Define enum with indeces of databases in
65191 databases and __nss_database_custom arrays. Declare
65192 __nss_database_custom.
65193 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65194 to avoid using nscd when custom rules are installed.
65195 * nss/getXXbyYY_r.c: Likewise.
65196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65197
65198 * nss/nss_files/files-parse.c: Whitespace fixes.
65199
65200 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65201
65202 [BZ #11883]
65203 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65204 * posix/fnmatch_loop.c: Likewise.
65205
65206 2010-07-17 Andi Kleen <ak@linux.intel.com>
65207
65208 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65209 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65210 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65211 * Versions.def [GLIBC_2.13]: Add.
65212
65213 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65214
65215 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65216 Also fail if tpwd after pwuid call is NULL.
65217
65218 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65219
65220 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65221 when converting to ms.
65222
65223 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65224
65225 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65226 EOPNOTSUPP errors with ENOTTY.
65227 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65228 EOPNOTSUPP errors with ENOTTY.
65229
65230 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65231
65232 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65233 Add strcasecmp_l-ssse3.
65234 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65235 strcasecmp.
65236 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65237 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65238 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65239
65240 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65241
65242 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65243
65244 * string/Makefile (strop-tests): Add strcasecmp.
65245 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65246 strcasecmp_l-nonascii.
65247 (gen-as-const-headers): Add locale-defines.sym.
65248 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65249 * sysdeps/x86_64/strcasecmp.S: New file.
65250 * sysdeps/x86_64/strcasecmp_l.S: New file.
65251 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65252 * sysdeps/x86_64/locale-defines.sym: New file.
65253 * string/test-strcasecmp.c: New file.
65254
65255 * string/test-strcasestr.c: Test both ends of the range of characters.
65256 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65257
65258 2010-07-29 Roland McGrath <roland@redhat.com>
65259
65260 [BZ #11856]
65261 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65262
65263 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65264
65265 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65266 for ld.so.
65267
65268 2010-07-27 Andreas Schwab <schwab@redhat.com>
65269
65270 * manual/memory.texi (Malloc Tunable Parameters): Document
65271 M_PERTURB.
65272
65273 2010-07-26 Roland McGrath <roland@redhat.com>
65274
65275 [BZ #11840]
65276 * configure.in (-fgnu89-inline check): Set and substitute
65277 gnu89_inline, not libc_cv_gnu89_inline.
65278 * configure: Regenerated.
65279 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65280
65281 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65282
65283 * string/test-strnlen.c: New file.
65284 * string/Makefile (strop-tests): Add strnlen.
65285 * string/tester.c (test_strnlen): Add a few more test cases.
65286 * string/tst-strlen.c: Better error reporting.
65287
65288 * sysdeps/x86_64/strnlen.S: New file.
65289
65290 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65291
65292 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65293 lower-latency instructions.
65294
65295 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65296
65297 * string/test-strcasestr.c: New file.
65298 * string/test-strstr.c: New file.
65299 * string/Makefile (strop-tests): Add strstr and strcasestr.
65300 * string/str-two-way.h: Don't undefine MAX.
65301 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65302
65303 2010-07-21 Andreas Schwab <schwab@redhat.com>
65304
65305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65306 strcasestr-nonascii.
65307 (CFLAGS-strcasestr-nonascii.c): Define.
65308 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65310 Remove unused attribute.
65311
65312 2010-07-20 Roland McGrath <roland@redhat.com>
65313
65314 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65315 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65316 ld.so.cache was broken. With it, there is no way to disable dsocaps
65317 like LD_HWCAP_MASK can disable hwcaps.
65318
65319 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65320
65321 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65322
65323 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65324
65325 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65326 call in strcasestr.
65327 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65328 __strcasestr_sse42_nonascii.
65329 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65330 strcasestr-nonascii.c.
65331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65332
65333 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65334
65335 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65337 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65339
65340 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65341
65342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65343 fcntl.
65344
65345 2010-07-06 Andreas Schwab <schwab@redhat.com>
65346
65347 [BZ #11577]
65348 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65349 dl_signal_cerror.
65350
65351 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65352
65353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65354 _PC_PIPE_BUF using F_GETPIPE_SZ.
65355
65356 2010-07-05 Roland McGrath <roland@redhat.com>
65357
65358 * manual/arith.texi (Rounding Functions): Fix rint description
65359 implicit in round description.
65360
65361 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65362
65363 * elf/Makefile: Fix linking for a few tests to make recent linker
65364 happy.
65365
65366 2010-06-30 Andreas Schwab <schwab@redhat.com>
65367
65368 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65369 $(common-objpfx)libc_nonshared.a.
65370
65371 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65372
65373 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65374 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65375 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65376 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65377 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65378 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65379 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65380 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65395 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65396 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65397 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65398 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65399 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65400 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65401 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65402 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65403 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65404 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65405 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65406 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65421
65422 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65423
65424 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65425 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65426 * string/memmove.c (memmove): Renamed to ...
65427 (MEMMOVE): ...this. Default to memmove.
65428 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65429 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65430 (END_CHK): Define.
65431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65432 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65433 mempcpy-ssse3-back memmove-ssse3-back.
65434 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65437 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65438 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65439 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65440 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65441 * sysdeps/x86_64/multiarch/memmove.c: New file.
65442 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65443 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65444 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65445 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65446 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65448 Define.
65449 (index_Fast_Copy_Backward): Define.
65450 (HAS_ARCH_FEATURE): Define.
65451 (HAS_FAST_REP_STRING): Define.
65452 (HAS_FAST_COPY_BACKWARD): Define.
65453
65454 2010-06-21 Andreas Schwab <schwab@redhat.com>
65455
65456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65457 Restore proper fallback handling.
65458
65459 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65460
65461 [BZ #11701]
65462 * posix/group_member.c (__group_member): Correct checking loop.
65463
65464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65465 OOM in getpwuid_r correctly. Return error number when the caller
65466 should return, otherwise -1.
65467 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65468 call returning > 0 value.
65469 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65470
65471 2010-06-07 Andreas Schwab <schwab@redhat.com>
65472
65473 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65474 libc_nonshared.a from targets in modules-names.
65475
65476 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65477
65478 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65479 requires it.
65480
65481 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65482
65483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65487
65488 2010-06-02 Andreas Schwab <schwab@redhat.com>
65489
65490 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65491
65492 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65493
65494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65495 and F_GETPIPE_SZ.
65496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65501 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65502
65503 2010-06-14 Roland McGrath <roland@redhat.com>
65504
65505 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65506
65507 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65508
65509 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65510 __REDIRECT followed by __THROW.
65511 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65512 * posix/getopt.h (getopt): Likewise.
65513
65514 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65515
65516 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65517 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65518 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65519 in AT_FLAGS.
65520 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65521 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65522
65523 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65524
65525 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65526
65527 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65528
65529 [BZ #11640]
65530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65531 Properly check family and model.
65532
65533 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65534
65535 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65536
65537 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65538
65539 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65540
65541 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65542
65543 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65544 symbol reference.
65545
65546 2010-05-19 Andreas Schwab <schwab@redhat.com>
65547
65548 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65549 symbol reference.
65550
65551 2010-05-21 Andreas Schwab <schwab@redhat.com>
65552
65553 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65554 and internal_recvmmsg.
65555 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65556 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65557 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65558 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65559
65560 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65561 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65562 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65563
65564 2010-05-20 Andreas Schwab <schwab@redhat.com>
65565
65566 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65567
65568 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65569
65570 POWER7 optimizations.
65571 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65572 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65573
65574 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65575
65576 * version.h: Update for 2.13 development version.
65577
65578 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65579
65580 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65581 exceptions. Return 0.
65582
65583 2010-05-07 Roland McGrath <roland@redhat.com>
65584
65585 * elf/ldconfig.c (main): Add a const.
65586
65587 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65588
65589 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65590 (args_options): Add no-idn option.
65591 (ahosts_keys_int): Add idn_flags to ai_flags.
65592 (parse_option): Handle 'i' option to clear idn_flags.
65593
65594 * malloc/malloc.c (_int_free): Possible race in the most recently
65595 added check. Only act on the data if no current modification
65596 happened.
65597
65598 See ChangeLog.17 for earlier changes.